{"$message_type":"diagnostic","message":"file not found for module `io_pin_picker`","code":{"code":"E0583","explanation":"A file wasn't found for an out-of-line module.\n\nErroneous code example:\n\n```compile_fail,E0583\nmod file_that_doesnt_exist; // error: file not found for module\n\nfn main() {}\n```\n\nPlease be sure that a file corresponding to the module exists. If you\nwant to use a module named `file_that_doesnt_exist`, you need to have a file\nnamed `file_that_doesnt_exist.rs` or `file_that_doesnt_exist/mod.rs` in the\nsame directory.\n"},"level":"error","spans":[{"file_name":"crates/editor/src/widget/mod.rs","byte_start":126,"byte_end":148,"line_start":8,"line_end":8,"column_start":1,"column_end":23,"is_primary":true,"text":[{"text":"pub mod io_pin_picker;","highlight_start":1,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"to create the module `io_pin_picker`, create file \"crates/editor/src/widget/io_pin_picker.rs\" or \"crates/editor/src/widget/io_pin_picker/mod.rs\"","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"if there is a `mod io_pin_picker` elsewhere in the crate already, import it with `use crate::...` instead","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0583]\u001b[0m\u001b[1m: file not found for module `io_pin_picker`\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0mcrates/editor/src/widget/mod.rs:8:1\n  \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m8\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub mod io_pin_picker;\n  \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\n  \u001b[1m\u001b[94m|\u001b[0m\n  \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: to create the module `io_pin_picker`, create file \"crates/editor/src/widget/io_pin_picker.rs\" or \"crates/editor/src/widget/io_pin_picker/mod.rs\"\n  \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: if there is a `mod io_pin_picker` elsewhere in the crate already, import it with `use crate::...` instead\n\n"}
{"$message_type":"diagnostic","message":"couldn't read `crates/editor/src/render/../../icons/icon-lock.svg`: No such file or directory (os error 2)","code":null,"level":"error","spans":[{"file_name":"crates/editor/src/render/selection.rs","byte_start":538,"byte_end":579,"line_start":15,"line_end":15,"column_start":29,"column_end":70,"is_primary":true,"text":[{"text":"const LOCK_HINT_SVG: &str = include_str!(\"../../icons/icon-lock.svg\");","highlight_start":29,"highlight_end":70}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"crates/editor/src/render/selection.rs","byte_start":538,"byte_end":579,"line_start":15,"line_end":15,"column_start":29,"column_end":70,"is_primary":false,"text":[{"text":"const LOCK_HINT_SVG: &str = include_str!(\"../../icons/icon-lock.svg\");","highlight_start":29,"highlight_end":70}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"include_str!","def_site_span":{"file_name":"/home/samitbasu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/macros/mod.rs","byte_start":47195,"byte_end":47219,"line_start":1318,"line_end":1318,"column_start":5,"column_end":29,"is_primary":false,"text":[{"text":"    macro_rules! include_str {","highlight_start":5,"highlight_end":29}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}}],"children":[{"message":"there is a file with the same name in a different directory","code":null,"level":"help","spans":[{"file_name":"crates/editor/src/render/selection.rs","byte_start":551,"byte_end":578,"line_start":15,"line_end":15,"column_start":42,"column_end":69,"is_primary":true,"text":[{"text":"const LOCK_HINT_SVG: &str = include_str!(\"../../icons/icon-lock.svg\");","highlight_start":42,"highlight_end":69}],"label":null,"suggested_replacement":"\"../../../../icons/icon-lock.svg\"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror\u001b[0m\u001b[1m: couldn't read `crates/editor/src/render/../../icons/icon-lock.svg`: No such file or directory (os error 2)\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0mcrates/editor/src/render/selection.rs:15:29\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m15\u001b[0m \u001b[1m\u001b[94m|\u001b[0m const LOCK_HINT_SVG: &str = include_str!(\"../../icons/icon-lock.svg\");\n   \u001b[1m\u001b[94m|\u001b[0m                             \u001b[1m\u001b[91m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a file with the same name in a different directory\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m15\u001b[0m \u001b[1m\u001b[94m| \u001b[0mconst LOCK_HINT_SVG: &str = include_str!(\"../../\u001b[92m../../\u001b[0micons/icon-lock.svg\");\n   \u001b[1m\u001b[94m|\u001b[0m                                                 \u001b[92m++++++\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find `tools` in `crate`","code":{"code":"E0433","explanation":"An undeclared crate, module, or type was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n\nIf you've expected to use a crate name:\n\n```compile_fail\nuse ferris_wheel::BigO;\n// error: failed to resolve: use of undeclared module or unlinked crate\n```\n\nMake sure the crate has been added as a dependency in `Cargo.toml`.\n\nTo use a module from your current crate, add the `crate::` prefix to the path.\n"},"level":"error","spans":[{"file_name":"crates/editor/src/render/selection.rs","byte_start":272,"byte_end":277,"line_start":10,"line_end":10,"column_start":5,"column_end":10,"is_primary":true,"text":[{"text":"    tools::new_pin::{NEW_PIN_ANIM_TIME, NEW_PIN_GROW_RANGE, NEW_PIN_INACTIVE_SCALE},","highlight_start":5,"highlight_end":10}],"label":"could not find `tools` in the crate root","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find `tools` in `crate`\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0mcrates/editor/src/render/selection.rs:10:5\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m10\u001b[0m \u001b[1m\u001b[94m|\u001b[0m     tools::new_pin::{NEW_PIN_ANIM_TIME, NEW_PIN_GROW_RANGE, NEW_PIN_INACTIVE_SCALE},\n   \u001b[1m\u001b[94m|\u001b[0m     \u001b[1m\u001b[91m^^^^^\u001b[0m \u001b[1m\u001b[91mcould not find `tools` in the crate root\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find `tools` in `crate`","code":{"code":"E0433","explanation":"An undeclared crate, module, or type was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n\nIf you've expected to use a crate name:\n\n```compile_fail\nuse ferris_wheel::BigO;\n// error: failed to resolve: use of undeclared module or unlinked crate\n```\n\nMake sure the crate has been added as a dependency in `Cargo.toml`.\n\nTo use a module from your current crate, add the `crate::` prefix to the path.\n"},"level":"error","spans":[{"file_name":"crates/editor/src/widget/drawing.rs","byte_start":3067,"byte_end":3072,"line_start":77,"line_end":77,"column_start":5,"column_end":10,"is_primary":true,"text":[{"text":"    tools::tool::{Deletable, RoleTarget},","highlight_start":5,"highlight_end":10}],"label":"could not find `tools` in the crate root","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find `tools` in `crate`\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0mcrates/editor/src/widget/drawing.rs:77:5\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m77\u001b[0m \u001b[1m\u001b[94m|\u001b[0m     tools::tool::{Deletable, RoleTarget},\n   \u001b[1m\u001b[94m|\u001b[0m     \u001b[1m\u001b[91m^^^^^\u001b[0m \u001b[1m\u001b[91mcould not find `tools` in the crate root\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"unresolved import `crate::tools`","code":{"code":"E0432","explanation":"An import was unresolved.\n\nErroneous code example:\n\n```compile_fail,E0432\nuse something::Foo; // error: unresolved import `something::Foo`.\n```\n\nIn Rust 2015, paths in `use` statements are relative to the crate root. To\nimport items relative to the current and parent modules, use the `self::` and\n`super::` prefixes, respectively.\n\nIn Rust 2018 or later, paths in `use` statements are relative to the current\nmodule unless they begin with the name of a crate or a literal `crate::`, in\nwhich case they start from the crate root. As in Rust 2015 code, the `self::`\nand `super::` prefixes refer to the current and parent modules respectively.\n\nAlso verify that you didn't misspell the import name and that the import exists\nin the module from where you tried to import it. Example:\n\n```\nuse self::something::Foo; // Ok.\n\nmod something {\n    pub struct Foo;\n}\n# fn main() {}\n```\n\nIf you tried to use a module from an external crate and are using Rust 2015,\nyou may have missed the `extern crate` declaration (which is usually placed in\nthe crate root):\n\n```edition2015\nextern crate core; // Required to use the `core` crate in Rust 2015.\n\nuse core::any;\n# fn main() {}\n```\n\nSince Rust 2018 the `extern crate` declaration is not required and\nyou can instead just `use` it:\n\n```edition2018\nuse core::any; // No extern crate required in Rust 2018.\n# fn main() {}\n```\n"},"level":"error","spans":[{"file_name":"crates/editor/src/title_block.rs","byte_start":871,"byte_end":876,"line_start":19,"line_end":19,"column_start":27,"column_end":32,"is_primary":true,"text":[{"text":"use crate::{theme::Theme, tools::content_path};","highlight_start":27,"highlight_end":32}],"label":"could not find `tools` in the crate root","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0432]\u001b[0m\u001b[1m: unresolved import `crate::tools`\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0mcrates/editor/src/title_block.rs:19:27\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m19\u001b[0m \u001b[1m\u001b[94m|\u001b[0m use crate::{theme::Theme, tools::content_path};\n   \u001b[1m\u001b[94m|\u001b[0m                           \u001b[1m\u001b[91m^^^^^\u001b[0m \u001b[1m\u001b[91mcould not find `tools` in the crate root\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find module or crate `rfd` in this scope","code":{"code":"E0433","explanation":"An undeclared crate, module, or type was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n\nIf you've expected to use a crate name:\n\n```compile_fail\nuse ferris_wheel::BigO;\n// error: failed to resolve: use of undeclared module or unlinked crate\n```\n\nMake sure the crate has been added as a dependency in `Cargo.toml`.\n\nTo use a module from your current crate, add the `crate::` prefix to the path.\n"},"level":"error","spans":[{"file_name":"crates/editor/src/import.rs","byte_start":6754,"byte_end":6757,"line_start":174,"line_end":174,"column_start":22,"column_end":25,"is_primary":true,"text":[{"text":"        let picked = rfd::FileDialog::new()","highlight_start":22,"highlight_end":25}],"label":"use of unresolved module or unlinked crate `rfd`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"if you wanted to use a crate named `rfd`, use `cargo add rfd` to add it to your `Cargo.toml`","code":null,"level":"help","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find module or crate `rfd` in this scope\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0mcrates/editor/src/import.rs:174:22\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m174\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         let picked = rfd::FileDialog::new()\n    \u001b[1m\u001b[94m|\u001b[0m                      \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91muse of unresolved module or unlinked crate `rfd`\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n    \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: if you wanted to use a crate named `rfd`, use `cargo add rfd` to add it to your `Cargo.toml`\n\n"}
{"$message_type":"diagnostic","message":"cannot find `export` in `crate`","code":{"code":"E0433","explanation":"An undeclared crate, module, or type was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n\nIf you've expected to use a crate name:\n\n```compile_fail\nuse ferris_wheel::BigO;\n// error: failed to resolve: use of undeclared module or unlinked crate\n```\n\nMake sure the crate has been added as a dependency in `Cargo.toml`.\n\nTo use a module from your current crate, add the `crate::` prefix to the path.\n"},"level":"error","spans":[{"file_name":"crates/editor/src/widget/display.rs","byte_start":2397,"byte_end":2403,"line_start":59,"line_end":59,"column_start":26,"column_end":32,"is_primary":true,"text":[{"text":"    let mut svg = crate::export::svg::SvgRenderer::new(theme.palette().clone(), font);","highlight_start":26,"highlight_end":32}],"label":"could not find `export` in the crate root","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find `export` in `crate`\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0mcrates/editor/src/widget/display.rs:59:26\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m59\u001b[0m \u001b[1m\u001b[94m|\u001b[0m     let mut svg = crate::export::svg::SvgRenderer::new(theme.palette().clone(), font);\n   \u001b[1m\u001b[94m|\u001b[0m                          \u001b[1m\u001b[91m^^^^^^\u001b[0m \u001b[1m\u001b[91mcould not find `export` in the crate root\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find `tools` in `crate`","code":{"code":"E0433","explanation":"An undeclared crate, module, or type was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n\nIf you've expected to use a crate name:\n\n```compile_fail\nuse ferris_wheel::BigO;\n// error: failed to resolve: use of undeclared module or unlinked crate\n```\n\nMake sure the crate has been added as a dependency in `Cargo.toml`.\n\nTo use a module from your current crate, add the `crate::` prefix to the path.\n"},"level":"error","spans":[{"file_name":"crates/editor/src/widget/routing.rs","byte_start":10852,"byte_end":10857,"line_start":270,"line_end":270,"column_start":25,"column_end":30,"is_primary":true,"text":[{"text":"        _phase: &crate::tools::tool::Supposing,","highlight_start":25,"highlight_end":30}],"label":"could not find `tools` in the crate root","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find `tools` in `crate`\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0mcrates/editor/src/widget/routing.rs:270:25\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m270\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         _phase: &crate::tools::tool::Supposing,\n    \u001b[1m\u001b[94m|\u001b[0m                         \u001b[1m\u001b[91m^^^^^\u001b[0m \u001b[1m\u001b[91mcould not find `tools` in the crate root\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find `tools` in `crate`","code":{"code":"E0433","explanation":"An undeclared crate, module, or type was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n\nIf you've expected to use a crate name:\n\n```compile_fail\nuse ferris_wheel::BigO;\n// error: failed to resolve: use of undeclared module or unlinked crate\n```\n\nMake sure the crate has been added as a dependency in `Cargo.toml`.\n\nTo use a module from your current crate, add the `crate::` prefix to the path.\n"},"level":"error","spans":[{"file_name":"crates/editor/src/widget/routing.rs","byte_start":13012,"byte_end":13017,"line_start":316,"line_end":316,"column_start":25,"column_end":30,"is_primary":true,"text":[{"text":"        _phase: &crate::tools::tool::Supposing,","highlight_start":25,"highlight_end":30}],"label":"could not find `tools` in the crate root","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find `tools` in `crate`\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0mcrates/editor/src/widget/routing.rs:316:25\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m316\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         _phase: &crate::tools::tool::Supposing,\n    \u001b[1m\u001b[94m|\u001b[0m                         \u001b[1m\u001b[91m^^^^^\u001b[0m \u001b[1m\u001b[91mcould not find `tools` in the crate root\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find `tools` in `crate`","code":{"code":"E0433","explanation":"An undeclared crate, module, or type was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n\nIf you've expected to use a crate name:\n\n```compile_fail\nuse ferris_wheel::BigO;\n// error: failed to resolve: use of undeclared module or unlinked crate\n```\n\nMake sure the crate has been added as a dependency in `Cargo.toml`.\n\nTo use a module from your current crate, add the `crate::` prefix to the path.\n"},"level":"error","spans":[{"file_name":"crates/editor/src/widget/routing.rs","byte_start":14010,"byte_end":14015,"line_start":343,"line_end":343,"column_start":25,"column_end":30,"is_primary":true,"text":[{"text":"        _phase: &crate::tools::tool::Supposing,","highlight_start":25,"highlight_end":30}],"label":"could not find `tools` in the crate root","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find `tools` in `crate`\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0mcrates/editor/src/widget/routing.rs:343:25\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m343\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         _phase: &crate::tools::tool::Supposing,\n    \u001b[1m\u001b[94m|\u001b[0m                         \u001b[1m\u001b[91m^^^^^\u001b[0m \u001b[1m\u001b[91mcould not find `tools` in the crate root\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find `tools` in `crate`","code":{"code":"E0433","explanation":"An undeclared crate, module, or type was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n\nIf you've expected to use a crate name:\n\n```compile_fail\nuse ferris_wheel::BigO;\n// error: failed to resolve: use of undeclared module or unlinked crate\n```\n\nMake sure the crate has been added as a dependency in `Cargo.toml`.\n\nTo use a module from your current crate, add the `crate::` prefix to the path.\n"},"level":"error","spans":[{"file_name":"crates/editor/src/widget/routing.rs","byte_start":15010,"byte_end":15015,"line_start":369,"line_end":369,"column_start":57,"column_end":62,"is_primary":true,"text":[{"text":"    pub fn suppose_pin_drags(&mut self, _phase: &crate::tools::tool::Supposing, moves: &[PinMove]) {","highlight_start":57,"highlight_end":62}],"label":"could not find `tools` in the crate root","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find `tools` in `crate`\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0mcrates/editor/src/widget/routing.rs:369:57\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m369\u001b[0m \u001b[1m\u001b[94m|\u001b[0m     pub fn suppose_pin_drags(&mut self, _phase: &crate::tools::tool::Supposing, moves: &[PinMove]) {\n    \u001b[1m\u001b[94m|\u001b[0m                                                         \u001b[1m\u001b[91m^^^^^\u001b[0m \u001b[1m\u001b[91mcould not find `tools` in the crate root\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find `tools` in `crate`","code":{"code":"E0433","explanation":"An undeclared crate, module, or type was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n\nIf you've expected to use a crate name:\n\n```compile_fail\nuse ferris_wheel::BigO;\n// error: failed to resolve: use of undeclared module or unlinked crate\n```\n\nMake sure the crate has been added as a dependency in `Cargo.toml`.\n\nTo use a module from your current crate, add the `crate::` prefix to the path.\n"},"level":"error","spans":[{"file_name":"crates/editor/src/widget/routing.rs","byte_start":41485,"byte_end":41490,"line_start":920,"line_end":920,"column_start":25,"column_end":30,"is_primary":true,"text":[{"text":"        _phase: &crate::tools::tool::Supposing,","highlight_start":25,"highlight_end":30}],"label":"could not find `tools` in the crate root","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find `tools` in `crate`\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0mcrates/editor/src/widget/routing.rs:920:25\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m920\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         _phase: &crate::tools::tool::Supposing,\n    \u001b[1m\u001b[94m|\u001b[0m                         \u001b[1m\u001b[91m^^^^^\u001b[0m \u001b[1m\u001b[91mcould not find `tools` in the crate root\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find module or crate `egui` in this scope","code":{"code":"E0433","explanation":"An undeclared crate, module, or type was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n\nIf you've expected to use a crate name:\n\n```compile_fail\nuse ferris_wheel::BigO;\n// error: failed to resolve: use of undeclared module or unlinked crate\n```\n\nMake sure the crate has been added as a dependency in `Cargo.toml`.\n\nTo use a module from your current crate, add the `crate::` prefix to the path.\n"},"level":"error","spans":[{"file_name":"crates/editor/src/import.rs","byte_start":6563,"byte_end":6567,"line_start":170,"line_end":170,"column_start":34,"column_end":38,"is_primary":true,"text":[{"text":"pub fn spawn_import_dialog(ctx: &egui::Context) -> Receiver<Option<(String, Vec<u8>)>> {","highlight_start":34,"highlight_end":38}],"label":"use of unresolved module or unlinked crate `egui`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"if you wanted to use a crate named `egui`, use `cargo add egui` to add it to your `Cargo.toml`","code":null,"level":"help","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find module or crate `egui` in this scope\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0mcrates/editor/src/import.rs:170:34\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m170\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub fn spawn_import_dialog(ctx: &egui::Context) -> Receiver<Option<(String, Vec<u8>)>> {\n    \u001b[1m\u001b[94m|\u001b[0m                                  \u001b[1m\u001b[91m^^^^\u001b[0m \u001b[1m\u001b[91muse of unresolved module or unlinked crate `egui`\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n    \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: if you wanted to use a crate named `egui`, use `cargo add egui` to add it to your `Cargo.toml`\n\n"}
{"$message_type":"diagnostic","message":"aborting due to 13 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"\u001b[1m\u001b[91merror\u001b[0m\u001b[1m: aborting due to 13 previous errors\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0432, E0433, E0583.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"\u001b[1mSome errors have detailed explanations: E0432, E0433, E0583.\u001b[0m\n"}
{"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0432`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"\u001b[1mFor more information about an error, try `rustc --explain E0432`.\u001b[0m\n"}
