{"$message_type":"diagnostic","message":"file not found for module `atomic`","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":"src/lib.rs","byte_start":208,"byte_end":230,"line_start":7,"line_end":7,"column_start":1,"column_end":23,"is_primary":true,"text":[{"text":"pub(crate) mod atomic;","highlight_start":1,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"to create the module `atomic`, create file \"src/atomic.rs\" or \"src/atomic/mod.rs\"","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"if there is a `mod atomic` 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 `atomic`\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0msrc/lib.rs:7:1\n  \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m7\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub(crate) mod atomic;\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 `atomic`, create file \"src/atomic.rs\" or \"src/atomic/mod.rs\"\n  \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: if there is a `mod atomic` elsewhere in the crate already, import it with `use crate::...` instead\n\n"}
{"$message_type":"diagnostic","message":"file not found for module `doc`","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":"src/lib.rs","byte_start":254,"byte_end":266,"line_start":9,"line_end":9,"column_start":1,"column_end":13,"is_primary":true,"text":[{"text":"pub mod doc;","highlight_start":1,"highlight_end":13}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"to create the module `doc`, create file \"src/doc.rs\" or \"src/doc/mod.rs\"","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"if there is a `mod doc` 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 `doc`\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0msrc/lib.rs:9:1\n  \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m9\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub mod doc;\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 `doc`, create file \"src/doc.rs\" or \"src/doc/mod.rs\"\n  \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: if there is a `mod doc` elsewhere in the crate already, import it with `use crate::...` instead\n\n"}
{"$message_type":"diagnostic","message":"file not found for module `document_file`","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":"src/lib.rs","byte_start":267,"byte_end":289,"line_start":10,"line_end":10,"column_start":1,"column_end":23,"is_primary":true,"text":[{"text":"pub mod document_file;","highlight_start":1,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"to create the module `document_file`, create file \"src/document_file.rs\" or \"src/document_file/mod.rs\"","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"if there is a `mod document_file` 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 `document_file`\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0msrc/lib.rs:10:1\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m10\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub mod document_file;\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 `document_file`, create file \"src/document_file.rs\" or \"src/document_file/mod.rs\"\n   \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: if there is a `mod document_file` elsewhere in the crate already, import it with `use crate::...` instead\n\n"}
{"$message_type":"diagnostic","message":"file not found for module `naming`","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":"src/lib.rs","byte_start":569,"byte_end":584,"line_start":22,"line_end":22,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub mod naming;","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"to create the module `naming`, create file \"src/naming.rs\" or \"src/naming/mod.rs\"","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"if there is a `mod naming` 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 `naming`\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0msrc/lib.rs:22:1\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m22\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub mod naming;\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 `naming`, create file \"src/naming.rs\" or \"src/naming/mod.rs\"\n   \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: if there is a `mod naming` elsewhere in the crate already, import it with `use crate::...` instead\n\n"}
{"$message_type":"diagnostic","message":"file not found for module `store`","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":"src/lib.rs","byte_start":859,"byte_end":873,"line_start":34,"line_end":34,"column_start":1,"column_end":15,"is_primary":true,"text":[{"text":"pub mod store;","highlight_start":1,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"to create the module `store`, create file \"src/store.rs\" or \"src/store/mod.rs\"","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"if there is a `mod store` 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 `store`\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0msrc/lib.rs:34:1\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m34\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub mod store;\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 `store`, create file \"src/store.rs\" or \"src/store/mod.rs\"\n   \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: if there is a `mod store` elsewhere in the crate already, import it with `use crate::...` instead\n\n"}
{"$message_type":"diagnostic","message":"cannot find module or crate `blockworx_store` 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":"src/file.rs","byte_start":449,"byte_end":464,"line_start":14,"line_end":14,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"use blockworx_store::doc::Viewing;","highlight_start":5,"highlight_end":20}],"label":"use of unresolved module or unlinked crate `blockworx_store`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"there is a crate or module with a similar name","code":null,"level":"help","spans":[{"file_name":"src/file.rs","byte_start":449,"byte_end":464,"line_start":14,"line_end":14,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"use blockworx_store::doc::Viewing;","highlight_start":5,"highlight_end":20}],"label":null,"suggested_replacement":"blockworx_geom","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find module or crate `blockworx_store` in this scope\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0msrc/file.rs:14:5\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m14\u001b[0m \u001b[1m\u001b[94m|\u001b[0m use blockworx_store::doc::Viewing;\n   \u001b[1m\u001b[94m|\u001b[0m     \u001b[1m\u001b[91m^^^^^^^^^^^^^^^\u001b[0m \u001b[1m\u001b[91muse of unresolved module or unlinked crate `blockworx_store`\u001b[0m\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a crate or module with a similar name\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m14\u001b[0m \u001b[91m- \u001b[0muse \u001b[91mblockworx_store\u001b[0m::doc::Viewing;\n\u001b[1m\u001b[94m14\u001b[0m \u001b[92m+ \u001b[0muse \u001b[92mblockworx_geom\u001b[0m::doc::Viewing;\n   \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find module or crate `blockworx_store` 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":"src/file.rs","byte_start":489,"byte_end":504,"line_start":16,"line_end":16,"column_start":9,"column_end":24,"is_primary":true,"text":[{"text":"pub use blockworx_store::file::{","highlight_start":9,"highlight_end":24}],"label":"use of unresolved module or unlinked crate `blockworx_store`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"there is a crate or module with a similar name","code":null,"level":"help","spans":[{"file_name":"src/file.rs","byte_start":489,"byte_end":504,"line_start":16,"line_end":16,"column_start":9,"column_end":24,"is_primary":true,"text":[{"text":"pub use blockworx_store::file::{","highlight_start":9,"highlight_end":24}],"label":null,"suggested_replacement":"blockworx_geom","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find module or crate `blockworx_store` in this scope\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0msrc/file.rs:16:9\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m16\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub use blockworx_store::file::{\n   \u001b[1m\u001b[94m|\u001b[0m         \u001b[1m\u001b[91m^^^^^^^^^^^^^^^\u001b[0m \u001b[1m\u001b[91muse of unresolved module or unlinked crate `blockworx_store`\u001b[0m\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: there is a crate or module with a similar name\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m16\u001b[0m \u001b[91m- \u001b[0mpub use \u001b[91mblockworx_store\u001b[0m::file::{\n\u001b[1m\u001b[94m16\u001b[0m \u001b[92m+ \u001b[0mpub use \u001b[92mblockworx_geom\u001b[0m::file::{\n   \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"mismatched types","code":{"code":"E0308","explanation":"Expected type did not match the received type.\n\nErroneous code examples:\n\n```compile_fail,E0308\nfn plus_one(x: i32) -> i32 {\n    x + 1\n}\n\nplus_one(\"Not a number\");\n//       ^^^^^^^^^^^^^^ expected `i32`, found `&str`\n\nif \"Not a bool\" {\n// ^^^^^^^^^^^^ expected `bool`, found `&str`\n}\n\nlet x: f32 = \"Not a float\";\n//     ---   ^^^^^^^^^^^^^ expected `f32`, found `&str`\n//     |\n//     expected due to this\n```\n\nThis error occurs when an expression was used in a place where the compiler\nexpected an expression of a different type. It can occur in several cases, the\nmost common being when calling a function and passing an argument which has a\ndifferent type than the matching type in the function declaration.\n"},"level":"error","spans":[{"file_name":"src/tools/history_panel.rs","byte_start":17708,"byte_end":17719,"line_start":478,"line_end":478,"column_start":43,"column_end":54,"is_primary":true,"text":[{"text":"                picked = Some(Picked::Tag(tag.clone()));","highlight_start":43,"highlight_end":54}],"label":"expected `String`, found `&str`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/tools/history_panel.rs","byte_start":17696,"byte_end":17707,"line_start":478,"line_end":478,"column_start":31,"column_end":42,"is_primary":false,"text":[{"text":"                picked = Some(Picked::Tag(tag.clone()));","highlight_start":31,"highlight_end":42}],"label":"arguments to this enum variant are incorrect","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"tuple variant defined here","code":null,"level":"note","spans":[{"file_name":"src/tools/history_panel.rs","byte_start":4424,"byte_end":4427,"line_start":103,"line_end":103,"column_start":5,"column_end":8,"is_primary":true,"text":[{"text":"    Tag(String),","highlight_start":5,"highlight_end":8}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"try using a conversion method","code":null,"level":"help","spans":[{"file_name":"src/tools/history_panel.rs","byte_start":17712,"byte_end":17717,"line_start":478,"line_end":478,"column_start":47,"column_end":52,"is_primary":true,"text":[{"text":"                picked = Some(Picked::Tag(tag.clone()));","highlight_start":47,"highlight_end":52}],"label":null,"suggested_replacement":"to_string","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0308]\u001b[0m\u001b[1m: mismatched types\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0msrc/tools/history_panel.rs:478:43\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m478\u001b[0m \u001b[1m\u001b[94m|\u001b[0m                 picked = Some(Picked::Tag(tag.clone()));\n    \u001b[1m\u001b[94m|\u001b[0m                               \u001b[1m\u001b[94m-----------\u001b[0m \u001b[1m\u001b[91m^^^^^^^^^^^\u001b[0m \u001b[1m\u001b[91mexpected `String`, found `&str`\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m                               \u001b[1m\u001b[94m|\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m                               \u001b[1m\u001b[94marguments to this enum variant are incorrect\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[92mnote\u001b[0m: tuple variant defined here\n   \u001b[1m\u001b[94m--> \u001b[0msrc/tools/history_panel.rs:103:5\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m103\u001b[0m \u001b[1m\u001b[94m|\u001b[0m     Tag(String),\n    \u001b[1m\u001b[94m|\u001b[0m     \u001b[1m\u001b[92m^^^\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: try using a conversion method\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m478\u001b[0m \u001b[91m- \u001b[0m                picked = Some(Picked::Tag(tag.\u001b[91mclone\u001b[0m()));\n\u001b[1m\u001b[94m478\u001b[0m \u001b[92m+ \u001b[0m                picked = Some(Picked::Tag(tag.\u001b[92mto_string\u001b[0m()));\n    \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"mismatched types","code":{"code":"E0308","explanation":"Expected type did not match the received type.\n\nErroneous code examples:\n\n```compile_fail,E0308\nfn plus_one(x: i32) -> i32 {\n    x + 1\n}\n\nplus_one(\"Not a number\");\n//       ^^^^^^^^^^^^^^ expected `i32`, found `&str`\n\nif \"Not a bool\" {\n// ^^^^^^^^^^^^ expected `bool`, found `&str`\n}\n\nlet x: f32 = \"Not a float\";\n//     ---   ^^^^^^^^^^^^^ expected `f32`, found `&str`\n//     |\n//     expected due to this\n```\n\nThis error occurs when an expression was used in a place where the compiler\nexpected an expression of a different type. It can occur in several cases, the\nmost common being when calling a function and passing an argument which has a\ndifferent type than the matching type in the function declaration.\n"},"level":"error","spans":[{"file_name":"src/tools/history_panel.rs","byte_start":19005,"byte_end":19016,"line_start":517,"line_end":517,"column_start":43,"column_end":54,"is_primary":true,"text":[{"text":"                picked = Some(Picked::Tag(tag.clone()));","highlight_start":43,"highlight_end":54}],"label":"expected `String`, found `&str`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/tools/history_panel.rs","byte_start":18993,"byte_end":19004,"line_start":517,"line_end":517,"column_start":31,"column_end":42,"is_primary":false,"text":[{"text":"                picked = Some(Picked::Tag(tag.clone()));","highlight_start":31,"highlight_end":42}],"label":"arguments to this enum variant are incorrect","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"tuple variant defined here","code":null,"level":"note","spans":[{"file_name":"src/tools/history_panel.rs","byte_start":4424,"byte_end":4427,"line_start":103,"line_end":103,"column_start":5,"column_end":8,"is_primary":true,"text":[{"text":"    Tag(String),","highlight_start":5,"highlight_end":8}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"try using a conversion method","code":null,"level":"help","spans":[{"file_name":"src/tools/history_panel.rs","byte_start":19009,"byte_end":19014,"line_start":517,"line_end":517,"column_start":47,"column_end":52,"is_primary":true,"text":[{"text":"                picked = Some(Picked::Tag(tag.clone()));","highlight_start":47,"highlight_end":52}],"label":null,"suggested_replacement":"to_string","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0308]\u001b[0m\u001b[1m: mismatched types\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0msrc/tools/history_panel.rs:517:43\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m517\u001b[0m \u001b[1m\u001b[94m|\u001b[0m                 picked = Some(Picked::Tag(tag.clone()));\n    \u001b[1m\u001b[94m|\u001b[0m                               \u001b[1m\u001b[94m-----------\u001b[0m \u001b[1m\u001b[91m^^^^^^^^^^^\u001b[0m \u001b[1m\u001b[91mexpected `String`, found `&str`\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m                               \u001b[1m\u001b[94m|\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m                               \u001b[1m\u001b[94marguments to this enum variant are incorrect\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[92mnote\u001b[0m: tuple variant defined here\n   \u001b[1m\u001b[94m--> \u001b[0msrc/tools/history_panel.rs:103:5\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m103\u001b[0m \u001b[1m\u001b[94m|\u001b[0m     Tag(String),\n    \u001b[1m\u001b[94m|\u001b[0m     \u001b[1m\u001b[92m^^^\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: try using a conversion method\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m517\u001b[0m \u001b[91m- \u001b[0m                picked = Some(Picked::Tag(tag.\u001b[91mclone\u001b[0m()));\n\u001b[1m\u001b[94m517\u001b[0m \u001b[92m+ \u001b[0m                picked = Some(Picked::Tag(tag.\u001b[92mto_string\u001b[0m()));\n    \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"mismatched types","code":{"code":"E0308","explanation":"Expected type did not match the received type.\n\nErroneous code examples:\n\n```compile_fail,E0308\nfn plus_one(x: i32) -> i32 {\n    x + 1\n}\n\nplus_one(\"Not a number\");\n//       ^^^^^^^^^^^^^^ expected `i32`, found `&str`\n\nif \"Not a bool\" {\n// ^^^^^^^^^^^^ expected `bool`, found `&str`\n}\n\nlet x: f32 = \"Not a float\";\n//     ---   ^^^^^^^^^^^^^ expected `f32`, found `&str`\n//     |\n//     expected due to this\n```\n\nThis error occurs when an expression was used in a place where the compiler\nexpected an expression of a different type. It can occur in several cases, the\nmost common being when calling a function and passing an argument which has a\ndifferent type than the matching type in the function declaration.\n"},"level":"error","spans":[{"file_name":"src/tools/history_panel.rs","byte_start":19324,"byte_end":19335,"line_start":526,"line_end":526,"column_start":27,"column_end":38,"is_primary":true,"text":[{"text":"                    name: tag.clone(),","highlight_start":27,"highlight_end":38}],"label":"expected `String`, found `&str`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"try using a conversion method","code":null,"level":"help","spans":[{"file_name":"src/tools/history_panel.rs","byte_start":19328,"byte_end":19333,"line_start":526,"line_end":526,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"                    name: tag.clone(),","highlight_start":31,"highlight_end":36}],"label":null,"suggested_replacement":"to_string","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0308]\u001b[0m\u001b[1m: mismatched types\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0msrc/tools/history_panel.rs:526:27\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m526\u001b[0m \u001b[1m\u001b[94m|\u001b[0m                     name: tag.clone(),\n    \u001b[1m\u001b[94m|\u001b[0m                           \u001b[1m\u001b[91m^^^^^^^^^^^\u001b[0m \u001b[1m\u001b[91mexpected `String`, found `&str`\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: try using a conversion method\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m526\u001b[0m \u001b[91m- \u001b[0m                    name: tag.\u001b[91mclone\u001b[0m(),\n\u001b[1m\u001b[94m526\u001b[0m \u001b[92m+ \u001b[0m                    name: tag.\u001b[92mto_string\u001b[0m(),\n    \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"aborting due to 10 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"\u001b[1m\u001b[91merror\u001b[0m\u001b[1m: aborting due to 10 previous errors\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0308, E0433, E0583.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"\u001b[1mSome errors have detailed explanations: E0308, E0433, E0583.\u001b[0m\n"}
{"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0308`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"\u001b[1mFor more information about an error, try `rustc --explain E0308`.\u001b[0m\n"}
