{"$message_type":"diagnostic","message":"cannot find module or crate `usvg` 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/export/pdf.rs","byte_start":9428,"byte_end":9432,"line_start":283,"line_end":283,"column_start":16,"column_end":20,"is_primary":true,"text":[{"text":"    let tree = usvg::Tree::from_str(&level.svg, &usvg::Options::default())?;","highlight_start":16,"highlight_end":20}],"label":"use of unresolved module or unlinked crate `usvg`","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/export/pdf.rs","byte_start":9428,"byte_end":9432,"line_start":283,"line_end":283,"column_start":16,"column_end":20,"is_primary":true,"text":[{"text":"    let tree = usvg::Tree::from_str(&level.svg, &usvg::Options::default())?;","highlight_start":16,"highlight_end":20}],"label":null,"suggested_replacement":"svg","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find module or crate `usvg` in this scope\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0msrc/export/pdf.rs:283:16\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m283\u001b[0m \u001b[1m\u001b[94m|\u001b[0m     let tree = usvg::Tree::from_str(&level.svg, &usvg::Options::default())?;\n    \u001b[1m\u001b[94m|\u001b[0m                \u001b[1m\u001b[91m^^^^\u001b[0m \u001b[1m\u001b[91muse of unresolved module or unlinked crate `usvg`\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[94m283\u001b[0m \u001b[91m- \u001b[0m    let tree = \u001b[91musvg\u001b[0m::Tree::from_str(&level.svg, &usvg::Options::default())?;\n\u001b[1m\u001b[94m283\u001b[0m \u001b[92m+ \u001b[0m    let tree = \u001b[92msvg\u001b[0m::Tree::from_str(&level.svg, &usvg::Options::default())?;\n    \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find module or crate `usvg` 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/export/pdf.rs","byte_start":9462,"byte_end":9466,"line_start":283,"line_end":283,"column_start":50,"column_end":54,"is_primary":true,"text":[{"text":"    let tree = usvg::Tree::from_str(&level.svg, &usvg::Options::default())?;","highlight_start":50,"highlight_end":54}],"label":"use of unresolved module or unlinked crate `usvg`","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/export/pdf.rs","byte_start":9462,"byte_end":9466,"line_start":283,"line_end":283,"column_start":50,"column_end":54,"is_primary":true,"text":[{"text":"    let tree = usvg::Tree::from_str(&level.svg, &usvg::Options::default())?;","highlight_start":50,"highlight_end":54}],"label":null,"suggested_replacement":"svg","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find module or crate `usvg` in this scope\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0msrc/export/pdf.rs:283:50\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m283\u001b[0m \u001b[1m\u001b[94m|\u001b[0m     let tree = usvg::Tree::from_str(&level.svg, &usvg::Options::default())?;\n    \u001b[1m\u001b[94m|\u001b[0m                                                  \u001b[1m\u001b[91m^^^^\u001b[0m \u001b[1m\u001b[91muse of unresolved module or unlinked crate `usvg`\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[94m283\u001b[0m \u001b[91m- \u001b[0m    let tree = usvg::Tree::from_str(&level.svg, &\u001b[91musvg\u001b[0m::Options::default())?;\n\u001b[1m\u001b[94m283\u001b[0m \u001b[92m+ \u001b[0m    let tree = usvg::Tree::from_str(&level.svg, &\u001b[92msvg\u001b[0m::Options::default())?;\n    \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"module `interactive` is private","code":{"code":"E0603","explanation":"A private item was used outside its scope.\n\nErroneous code example:\n\n```compile_fail,E0603\nmod foo {\n    const PRIVATE: u32 = 0x_a_bad_1dea_u32; // This const is private, so we\n                                            // can't use it outside of the\n                                            // `foo` module.\n}\n\nprintln!(\"const value: {}\", foo::PRIVATE); // error: constant `PRIVATE`\n                                                  //        is private\n```\n\nIn order to fix this error, you need to make the item public by using the `pub`\nkeyword. Example:\n\n```\nmod foo {\n    pub const PRIVATE: u32 = 0x_a_bad_1dea_u32; // We set it public by using the\n                                                // `pub` keyword.\n}\n\nprintln!(\"const value: {}\", foo::PRIVATE); // ok!\n```\n"},"level":"error","spans":[{"file_name":"src/export/pdf.rs","byte_start":836,"byte_end":847,"line_start":19,"line_end":19,"column_start":5,"column_end":16,"is_primary":true,"text":[{"text":"    interactive::{","highlight_start":5,"highlight_end":16}],"label":"private module","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/export/pdf.rs","byte_start":859,"byte_end":869,"line_start":20,"line_end":20,"column_start":9,"column_end":19,"is_primary":false,"text":[{"text":"        annotation::{Annotation, LinkAnnotation, Target},","highlight_start":9,"highlight_end":19}],"label":"module `annotation` is not publicly re-exported","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the module `interactive` is defined here","code":null,"level":"note","spans":[{"file_name":"/home/samitbasu/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/krilla-0.8.2/src/lib.rs","byte_start":4162,"byte_end":4177,"line_start":153,"line_end":153,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"mod interactive;","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0603]\u001b[0m\u001b[1m: module `interactive` is private\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0msrc/export/pdf.rs:19:5\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 19\u001b[0m \u001b[1m\u001b[94m|\u001b[0m     interactive::{\n    \u001b[1m\u001b[94m|\u001b[0m     \u001b[1m\u001b[91m^^^^^^^^^^^\u001b[0m \u001b[1m\u001b[91mprivate module\u001b[0m\n\u001b[1m\u001b[94m 20\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         annotation::{Annotation, LinkAnnotation, Target},\n    \u001b[1m\u001b[94m|\u001b[0m         \u001b[1m\u001b[94m----------\u001b[0m \u001b[1m\u001b[94mmodule `annotation` is not publicly re-exported\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[92mnote\u001b[0m: the module `interactive` is defined here\n   \u001b[1m\u001b[94m--> \u001b[0m/home/samitbasu/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/krilla-0.8.2/src/lib.rs:153:1\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m153\u001b[0m \u001b[1m\u001b[94m|\u001b[0m mod interactive;\n    \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[92m^^^^^^^^^^^^^^^\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"module `interactive` is private","code":{"code":"E0603","explanation":"A private item was used outside its scope.\n\nErroneous code example:\n\n```compile_fail,E0603\nmod foo {\n    const PRIVATE: u32 = 0x_a_bad_1dea_u32; // This const is private, so we\n                                            // can't use it outside of the\n                                            // `foo` module.\n}\n\nprintln!(\"const value: {}\", foo::PRIVATE); // error: constant `PRIVATE`\n                                                  //        is private\n```\n\nIn order to fix this error, you need to make the item public by using the `pub`\nkeyword. Example:\n\n```\nmod foo {\n    pub const PRIVATE: u32 = 0x_a_bad_1dea_u32; // We set it public by using the\n                                                // `pub` keyword.\n}\n\nprintln!(\"const value: {}\", foo::PRIVATE); // ok!\n```\n"},"level":"error","spans":[{"file_name":"src/export/pdf.rs","byte_start":836,"byte_end":847,"line_start":19,"line_end":19,"column_start":5,"column_end":16,"is_primary":true,"text":[{"text":"    interactive::{","highlight_start":5,"highlight_end":16}],"label":"private module","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/export/pdf.rs","byte_start":900,"byte_end":906,"line_start":20,"line_end":20,"column_start":50,"column_end":56,"is_primary":false,"text":[{"text":"        annotation::{Annotation, LinkAnnotation, Target},","highlight_start":50,"highlight_end":56}],"label":"enum `Target` is not publicly re-exported","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the module `interactive` is defined here","code":null,"level":"note","spans":[{"file_name":"/home/samitbasu/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/krilla-0.8.2/src/lib.rs","byte_start":4162,"byte_end":4177,"line_start":153,"line_end":153,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"mod interactive;","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0603]\u001b[0m\u001b[1m: module `interactive` is private\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0msrc/export/pdf.rs:19:5\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 19\u001b[0m \u001b[1m\u001b[94m|\u001b[0m     interactive::{\n    \u001b[1m\u001b[94m|\u001b[0m     \u001b[1m\u001b[91m^^^^^^^^^^^\u001b[0m \u001b[1m\u001b[91mprivate module\u001b[0m\n\u001b[1m\u001b[94m 20\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         annotation::{Annotation, LinkAnnotation, Target},\n    \u001b[1m\u001b[94m|\u001b[0m                                                  \u001b[1m\u001b[94m------\u001b[0m \u001b[1m\u001b[94menum `Target` is not publicly re-exported\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[92mnote\u001b[0m: the module `interactive` is defined here\n   \u001b[1m\u001b[94m--> \u001b[0m/home/samitbasu/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/krilla-0.8.2/src/lib.rs:153:1\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m153\u001b[0m \u001b[1m\u001b[94m|\u001b[0m mod interactive;\n    \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[92m^^^^^^^^^^^^^^^\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"module `interactive` is private","code":{"code":"E0603","explanation":"A private item was used outside its scope.\n\nErroneous code example:\n\n```compile_fail,E0603\nmod foo {\n    const PRIVATE: u32 = 0x_a_bad_1dea_u32; // This const is private, so we\n                                            // can't use it outside of the\n                                            // `foo` module.\n}\n\nprintln!(\"const value: {}\", foo::PRIVATE); // error: constant `PRIVATE`\n                                                  //        is private\n```\n\nIn order to fix this error, you need to make the item public by using the `pub`\nkeyword. Example:\n\n```\nmod foo {\n    pub const PRIVATE: u32 = 0x_a_bad_1dea_u32; // We set it public by using the\n                                                // `pub` keyword.\n}\n\nprintln!(\"const value: {}\", foo::PRIVATE); // ok!\n```\n"},"level":"error","spans":[{"file_name":"src/export/pdf.rs","byte_start":836,"byte_end":847,"line_start":19,"line_end":19,"column_start":5,"column_end":16,"is_primary":true,"text":[{"text":"    interactive::{","highlight_start":5,"highlight_end":16}],"label":"private module","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/export/pdf.rs","byte_start":917,"byte_end":928,"line_start":21,"line_end":21,"column_start":9,"column_end":20,"is_primary":false,"text":[{"text":"        destination::XyzDestination,","highlight_start":9,"highlight_end":20}],"label":"module `destination` is not publicly re-exported","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the module `interactive` is defined here","code":null,"level":"note","spans":[{"file_name":"/home/samitbasu/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/krilla-0.8.2/src/lib.rs","byte_start":4162,"byte_end":4177,"line_start":153,"line_end":153,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"mod interactive;","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0603]\u001b[0m\u001b[1m: module `interactive` is private\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0msrc/export/pdf.rs:19:5\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 19\u001b[0m \u001b[1m\u001b[94m|\u001b[0m     interactive::{\n    \u001b[1m\u001b[94m|\u001b[0m     \u001b[1m\u001b[91m^^^^^^^^^^^\u001b[0m \u001b[1m\u001b[91mprivate module\u001b[0m\n\u001b[1m\u001b[94m 20\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         annotation::{Annotation, LinkAnnotation, Target},\n\u001b[1m\u001b[94m 21\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         destination::XyzDestination,\n    \u001b[1m\u001b[94m|\u001b[0m         \u001b[1m\u001b[94m-----------\u001b[0m \u001b[1m\u001b[94mmodule `destination` is not publicly re-exported\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[92mnote\u001b[0m: the module `interactive` is defined here\n   \u001b[1m\u001b[94m--> \u001b[0m/home/samitbasu/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/krilla-0.8.2/src/lib.rs:153:1\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m153\u001b[0m \u001b[1m\u001b[94m|\u001b[0m mod interactive;\n    \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[92m^^^^^^^^^^^^^^^\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"module `interchange` is private","code":{"code":"E0603","explanation":"A private item was used outside its scope.\n\nErroneous code example:\n\n```compile_fail,E0603\nmod foo {\n    const PRIVATE: u32 = 0x_a_bad_1dea_u32; // This const is private, so we\n                                            // can't use it outside of the\n                                            // `foo` module.\n}\n\nprintln!(\"const value: {}\", foo::PRIVATE); // error: constant `PRIVATE`\n                                                  //        is private\n```\n\nIn order to fix this error, you need to make the item public by using the `pub`\nkeyword. Example:\n\n```\nmod foo {\n    pub const PRIVATE: u32 = 0x_a_bad_1dea_u32; // We set it public by using the\n                                                // `pub` keyword.\n}\n\nprintln!(\"const value: {}\", foo::PRIVATE); // ok!\n```\n"},"level":"error","spans":[{"file_name":"src/export/pdf.rs","byte_start":957,"byte_end":968,"line_start":23,"line_end":23,"column_start":5,"column_end":16,"is_primary":true,"text":[{"text":"    interchange::{","highlight_start":5,"highlight_end":16}],"label":"private module","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/export/pdf.rs","byte_start":980,"byte_end":988,"line_start":24,"line_end":24,"column_start":9,"column_end":17,"is_primary":false,"text":[{"text":"        metadata::Metadata,","highlight_start":9,"highlight_end":17}],"label":"module `metadata` is not publicly re-exported","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the module `interchange` is defined here","code":null,"level":"note","spans":[{"file_name":"/home/samitbasu/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/krilla-0.8.2/src/lib.rs","byte_start":4179,"byte_end":4194,"line_start":154,"line_end":154,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"mod interchange;","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0603]\u001b[0m\u001b[1m: module `interchange` is private\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0msrc/export/pdf.rs:23:5\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 23\u001b[0m \u001b[1m\u001b[94m|\u001b[0m     interchange::{\n    \u001b[1m\u001b[94m|\u001b[0m     \u001b[1m\u001b[91m^^^^^^^^^^^\u001b[0m \u001b[1m\u001b[91mprivate module\u001b[0m\n\u001b[1m\u001b[94m 24\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         metadata::Metadata,\n    \u001b[1m\u001b[94m|\u001b[0m         \u001b[1m\u001b[94m--------\u001b[0m \u001b[1m\u001b[94mmodule `metadata` is not publicly re-exported\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[92mnote\u001b[0m: the module `interchange` is defined here\n   \u001b[1m\u001b[94m--> \u001b[0m/home/samitbasu/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/krilla-0.8.2/src/lib.rs:154:1\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m154\u001b[0m \u001b[1m\u001b[94m|\u001b[0m mod interchange;\n    \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[92m^^^^^^^^^^^^^^^\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"module `interchange` is private","code":{"code":"E0603","explanation":"A private item was used outside its scope.\n\nErroneous code example:\n\n```compile_fail,E0603\nmod foo {\n    const PRIVATE: u32 = 0x_a_bad_1dea_u32; // This const is private, so we\n                                            // can't use it outside of the\n                                            // `foo` module.\n}\n\nprintln!(\"const value: {}\", foo::PRIVATE); // error: constant `PRIVATE`\n                                                  //        is private\n```\n\nIn order to fix this error, you need to make the item public by using the `pub`\nkeyword. Example:\n\n```\nmod foo {\n    pub const PRIVATE: u32 = 0x_a_bad_1dea_u32; // We set it public by using the\n                                                // `pub` keyword.\n}\n\nprintln!(\"const value: {}\", foo::PRIVATE); // ok!\n```\n"},"level":"error","spans":[{"file_name":"src/export/pdf.rs","byte_start":957,"byte_end":968,"line_start":23,"line_end":23,"column_start":5,"column_end":16,"is_primary":true,"text":[{"text":"    interchange::{","highlight_start":5,"highlight_end":16}],"label":"private module","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/export/pdf.rs","byte_start":1008,"byte_end":1015,"line_start":25,"line_end":25,"column_start":9,"column_end":16,"is_primary":false,"text":[{"text":"        outline::{Outline, OutlineNode},","highlight_start":9,"highlight_end":16}],"label":"module `outline` is not publicly re-exported","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the module `interchange` is defined here","code":null,"level":"note","spans":[{"file_name":"/home/samitbasu/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/krilla-0.8.2/src/lib.rs","byte_start":4179,"byte_end":4194,"line_start":154,"line_end":154,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"mod interchange;","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0603]\u001b[0m\u001b[1m: module `interchange` is private\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0msrc/export/pdf.rs:23:5\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 23\u001b[0m \u001b[1m\u001b[94m|\u001b[0m     interchange::{\n    \u001b[1m\u001b[94m|\u001b[0m     \u001b[1m\u001b[91m^^^^^^^^^^^\u001b[0m \u001b[1m\u001b[91mprivate module\u001b[0m\n\u001b[1m\u001b[94m 24\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         metadata::Metadata,\n\u001b[1m\u001b[94m 25\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         outline::{Outline, OutlineNode},\n    \u001b[1m\u001b[94m|\u001b[0m         \u001b[1m\u001b[94m-------\u001b[0m \u001b[1m\u001b[94mmodule `outline` is not publicly re-exported\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[92mnote\u001b[0m: the module `interchange` is defined here\n   \u001b[1m\u001b[94m--> \u001b[0m/home/samitbasu/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/krilla-0.8.2/src/lib.rs:154:1\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m154\u001b[0m \u001b[1m\u001b[94m|\u001b[0m mod interchange;\n    \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[92m^^^^^^^^^^^^^^^\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"struct `ExportPayload` has no field named `format`","code":{"code":"E0560","explanation":"An unknown field was specified into a structure.\n\nErroneous code example:\n\n```compile_fail,E0560\nstruct Simba {\n    mother: u32,\n}\n\nlet s = Simba { mother: 1, father: 0 };\n// error: structure `Simba` has no field named `father`\n```\n\nVerify you didn't misspell the field's name or that the field exists. Example:\n\n```\nstruct Simba {\n    mother: u32,\n    father: u32,\n}\n\nlet s = Simba { mother: 1, father: 0 }; // ok!\n```\n"},"level":"error","spans":[{"file_name":"src/app.rs","byte_start":70624,"byte_end":70630,"line_start":1726,"line_end":1726,"column_start":17,"column_end":23,"is_primary":true,"text":[{"text":"                format,","highlight_start":17,"highlight_end":23}],"label":"`ExportPayload` does not have this field","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"all struct fields are already assigned","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0560]\u001b[0m\u001b[1m: struct `ExportPayload` has no field named `format`\u001b[0m\n    \u001b[1m\u001b[94m--> \u001b[0msrc/app.rs:1726:17\n     \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m1726\u001b[0m \u001b[1m\u001b[94m|\u001b[0m                 format,\n     \u001b[1m\u001b[94m|\u001b[0m                 \u001b[1m\u001b[91m^^^^^^\u001b[0m \u001b[1m\u001b[91m`ExportPayload` does not have this field\u001b[0m\n     \u001b[1m\u001b[94m|\u001b[0m\n     \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: all struct fields are already assigned\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/app.rs","byte_start":70670,"byte_end":70677,"line_start":1728,"line_end":1728,"column_start":17,"column_end":24,"is_primary":true,"text":[{"text":"                content,","highlight_start":17,"highlight_end":24}],"label":"expected `ExportContent`, found `String`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"try wrapping the expression in a variant of `ExportContent`","code":null,"level":"help","spans":[{"file_name":"src/app.rs","byte_start":70670,"byte_end":70670,"line_start":1728,"line_end":1728,"column_start":17,"column_end":17,"is_primary":true,"text":[{"text":"                content,","highlight_start":17,"highlight_end":17}],"label":null,"suggested_replacement":"content: export::ExportContent::Svg(","suggestion_applicability":"MaybeIncorrect","expansion":null},{"file_name":"src/app.rs","byte_start":70677,"byte_end":70677,"line_start":1728,"line_end":1728,"column_start":24,"column_end":24,"is_primary":true,"text":[{"text":"                content,","highlight_start":24,"highlight_end":24}],"label":null,"suggested_replacement":")","suggestion_applicability":"MaybeIncorrect","expansion":null},{"file_name":"src/app.rs","byte_start":70670,"byte_end":70670,"line_start":1728,"line_end":1728,"column_start":17,"column_end":17,"is_primary":true,"text":[{"text":"                content,","highlight_start":17,"highlight_end":17}],"label":null,"suggested_replacement":"content: export::ExportContent::Png(","suggestion_applicability":"MaybeIncorrect","expansion":null},{"file_name":"src/app.rs","byte_start":70677,"byte_end":70677,"line_start":1728,"line_end":1728,"column_start":24,"column_end":24,"is_primary":true,"text":[{"text":"                content,","highlight_start":24,"highlight_end":24}],"label":null,"suggested_replacement":")","suggestion_applicability":"MaybeIncorrect","expansion":null},{"file_name":"src/app.rs","byte_start":70670,"byte_end":70670,"line_start":1728,"line_end":1728,"column_start":17,"column_end":17,"is_primary":true,"text":[{"text":"                content,","highlight_start":17,"highlight_end":17}],"label":null,"suggested_replacement":"content: export::ExportContent::Json(","suggestion_applicability":"MaybeIncorrect","expansion":null},{"file_name":"src/app.rs","byte_start":70677,"byte_end":70677,"line_start":1728,"line_end":1728,"column_start":24,"column_end":24,"is_primary":true,"text":[{"text":"                content,","highlight_start":24,"highlight_end":24}],"label":null,"suggested_replacement":")","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/app.rs:1728:17\n     \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m1728\u001b[0m \u001b[1m\u001b[94m|\u001b[0m                 content,\n     \u001b[1m\u001b[94m|\u001b[0m                 \u001b[1m\u001b[91m^^^^^^^\u001b[0m \u001b[1m\u001b[91mexpected `ExportContent`, found `String`\u001b[0m\n     \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: try wrapping the expression in a variant of `ExportContent`\n     \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m1728\u001b[0m \u001b[1m\u001b[94m| \u001b[0m                \u001b[92mcontent: export::ExportContent::Svg(\u001b[0mcontent\u001b[92m)\u001b[0m,\n     \u001b[1m\u001b[94m|\u001b[0m                 \u001b[92m++++++++++++++++++++++++++++++++++++\u001b[0m       \u001b[92m+\u001b[0m\n\u001b[1m\u001b[94m1728\u001b[0m \u001b[1m\u001b[94m| \u001b[0m                \u001b[92mcontent: export::ExportContent::Png(\u001b[0mcontent\u001b[92m)\u001b[0m,\n     \u001b[1m\u001b[94m|\u001b[0m                 \u001b[92m++++++++++++++++++++++++++++++++++++\u001b[0m       \u001b[92m+\u001b[0m\n\u001b[1m\u001b[94m1728\u001b[0m \u001b[1m\u001b[94m| \u001b[0m                \u001b[92mcontent: export::ExportContent::Json(\u001b[0mcontent\u001b[92m)\u001b[0m,\n     \u001b[1m\u001b[94m|\u001b[0m                 \u001b[92m+++++++++++++++++++++++++++++++++++++\u001b[0m       \u001b[92m+\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"struct `ExportPayload` has no field named `format`","code":{"code":"E0560","explanation":"An unknown field was specified into a structure.\n\nErroneous code example:\n\n```compile_fail,E0560\nstruct Simba {\n    mother: u32,\n}\n\nlet s = Simba { mother: 1, father: 0 };\n// error: structure `Simba` has no field named `father`\n```\n\nVerify you didn't misspell the field's name or that the field exists. Example:\n\n```\nstruct Simba {\n    mother: u32,\n    father: u32,\n}\n\nlet s = Simba { mother: 1, father: 0 }; // ok!\n```\n"},"level":"error","spans":[{"file_name":"src/app.rs","byte_start":71701,"byte_end":71707,"line_start":1752,"line_end":1752,"column_start":21,"column_end":27,"is_primary":true,"text":[{"text":"                    format: crate::export::ExportFormat::Json,","highlight_start":21,"highlight_end":27}],"label":"`ExportPayload` does not have this field","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"all struct fields are already assigned","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0560]\u001b[0m\u001b[1m: struct `ExportPayload` has no field named `format`\u001b[0m\n    \u001b[1m\u001b[94m--> \u001b[0msrc/app.rs:1752:21\n     \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m1752\u001b[0m \u001b[1m\u001b[94m|\u001b[0m                     format: crate::export::ExportFormat::Json,\n     \u001b[1m\u001b[94m|\u001b[0m                     \u001b[1m\u001b[91m^^^^^^\u001b[0m \u001b[1m\u001b[91m`ExportPayload` does not have this field\u001b[0m\n     \u001b[1m\u001b[94m|\u001b[0m\n     \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: all struct fields are already assigned\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/app.rs","byte_start":71841,"byte_end":71848,"line_start":1754,"line_end":1754,"column_start":21,"column_end":28,"is_primary":true,"text":[{"text":"                    content,","highlight_start":21,"highlight_end":28}],"label":"expected `ExportContent`, found `String`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"try wrapping the expression in a variant of `ExportContent`","code":null,"level":"help","spans":[{"file_name":"src/app.rs","byte_start":71841,"byte_end":71841,"line_start":1754,"line_end":1754,"column_start":21,"column_end":21,"is_primary":true,"text":[{"text":"                    content,","highlight_start":21,"highlight_end":21}],"label":null,"suggested_replacement":"content: export::ExportContent::Svg(","suggestion_applicability":"MaybeIncorrect","expansion":null},{"file_name":"src/app.rs","byte_start":71848,"byte_end":71848,"line_start":1754,"line_end":1754,"column_start":28,"column_end":28,"is_primary":true,"text":[{"text":"                    content,","highlight_start":28,"highlight_end":28}],"label":null,"suggested_replacement":")","suggestion_applicability":"MaybeIncorrect","expansion":null},{"file_name":"src/app.rs","byte_start":71841,"byte_end":71841,"line_start":1754,"line_end":1754,"column_start":21,"column_end":21,"is_primary":true,"text":[{"text":"                    content,","highlight_start":21,"highlight_end":21}],"label":null,"suggested_replacement":"content: export::ExportContent::Png(","suggestion_applicability":"MaybeIncorrect","expansion":null},{"file_name":"src/app.rs","byte_start":71848,"byte_end":71848,"line_start":1754,"line_end":1754,"column_start":28,"column_end":28,"is_primary":true,"text":[{"text":"                    content,","highlight_start":28,"highlight_end":28}],"label":null,"suggested_replacement":")","suggestion_applicability":"MaybeIncorrect","expansion":null},{"file_name":"src/app.rs","byte_start":71841,"byte_end":71841,"line_start":1754,"line_end":1754,"column_start":21,"column_end":21,"is_primary":true,"text":[{"text":"                    content,","highlight_start":21,"highlight_end":21}],"label":null,"suggested_replacement":"content: export::ExportContent::Json(","suggestion_applicability":"MaybeIncorrect","expansion":null},{"file_name":"src/app.rs","byte_start":71848,"byte_end":71848,"line_start":1754,"line_end":1754,"column_start":28,"column_end":28,"is_primary":true,"text":[{"text":"                    content,","highlight_start":28,"highlight_end":28}],"label":null,"suggested_replacement":")","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/app.rs:1754:21\n     \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m1754\u001b[0m \u001b[1m\u001b[94m|\u001b[0m                     content,\n     \u001b[1m\u001b[94m|\u001b[0m                     \u001b[1m\u001b[91m^^^^^^^\u001b[0m \u001b[1m\u001b[91mexpected `ExportContent`, found `String`\u001b[0m\n     \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: try wrapping the expression in a variant of `ExportContent`\n     \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m1754\u001b[0m \u001b[1m\u001b[94m| \u001b[0m                    \u001b[92mcontent: export::ExportContent::Svg(\u001b[0mcontent\u001b[92m)\u001b[0m,\n     \u001b[1m\u001b[94m|\u001b[0m                     \u001b[92m++++++++++++++++++++++++++++++++++++\u001b[0m       \u001b[92m+\u001b[0m\n\u001b[1m\u001b[94m1754\u001b[0m \u001b[1m\u001b[94m| \u001b[0m                    \u001b[92mcontent: export::ExportContent::Png(\u001b[0mcontent\u001b[92m)\u001b[0m,\n     \u001b[1m\u001b[94m|\u001b[0m                     \u001b[92m++++++++++++++++++++++++++++++++++++\u001b[0m       \u001b[92m+\u001b[0m\n\u001b[1m\u001b[94m1754\u001b[0m \u001b[1m\u001b[94m| \u001b[0m                    \u001b[92mcontent: export::ExportContent::Json(\u001b[0mcontent\u001b[92m)\u001b[0m,\n     \u001b[1m\u001b[94m|\u001b[0m                     \u001b[92m+++++++++++++++++++++++++++++++++++++\u001b[0m       \u001b[92m+\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no variant, associated function, or constant named `ALL` found for enum `ExportFormat` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n               //        in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n    fn chocolate(&self) { // We implement the `chocolate` method here.\n        println!(\"Hmmm! I love chocolate!\");\n    }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"src/tools/commands.rs","byte_start":15407,"byte_end":15410,"line_start":383,"line_end":383,"column_start":37,"column_end":40,"is_primary":true,"text":[{"text":"        for format in ExportFormat::ALL {","highlight_start":37,"highlight_end":40}],"label":"variant, associated function, or constant not found in `ExportFormat`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/export/mod.rs","byte_start":1214,"byte_end":1235,"line_start":24,"line_end":24,"column_start":1,"column_end":22,"is_primary":false,"text":[{"text":"pub enum ExportFormat {","highlight_start":1,"highlight_end":22}],"label":"variant, associated function, or constant `ALL` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"the following trait defines an item `ALL`, perhaps you need to implement it:\ncandidate #1: `bitflags::traits::Bits`","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no variant, associated function, or constant named `ALL` found for enum `ExportFormat` in the current scope\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0msrc/tools/commands.rs:383:37\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m383\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         for format in ExportFormat::ALL {\n    \u001b[1m\u001b[94m|\u001b[0m                                     \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mvariant, associated function, or constant not found in `ExportFormat`\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n   \u001b[1m\u001b[94m::: \u001b[0msrc/export/mod.rs:24:1\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 24\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub enum ExportFormat {\n    \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---------------------\u001b[0m \u001b[1m\u001b[94mvariant, associated function, or constant `ALL` not found for this enum\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n    \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is implemented and in scope\n    \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: the following trait defines an item `ALL`, perhaps you need to implement it:\n            candidate #1: `bitflags::traits::Bits`\n\n"}
{"$message_type":"diagnostic","message":"no variant, associated function, or constant named `ALL` found for enum `ExportFormat` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n               //        in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n    fn chocolate(&self) { // We implement the `chocolate` method here.\n        println!(\"Hmmm! I love chocolate!\");\n    }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"src/tools/commands.rs","byte_start":18092,"byte_end":18095,"line_start":445,"line_end":445,"column_start":45,"column_end":48,"is_primary":true,"text":[{"text":"                for format in ExportFormat::ALL {","highlight_start":45,"highlight_end":48}],"label":"variant, associated function, or constant not found in `ExportFormat`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/export/mod.rs","byte_start":1214,"byte_end":1235,"line_start":24,"line_end":24,"column_start":1,"column_end":22,"is_primary":false,"text":[{"text":"pub enum ExportFormat {","highlight_start":1,"highlight_end":22}],"label":"variant, associated function, or constant `ALL` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"the following trait defines an item `ALL`, perhaps you need to implement it:\ncandidate #1: `bitflags::traits::Bits`","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no variant, associated function, or constant named `ALL` found for enum `ExportFormat` in the current scope\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0msrc/tools/commands.rs:445:45\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m445\u001b[0m \u001b[1m\u001b[94m|\u001b[0m                 for format in ExportFormat::ALL {\n    \u001b[1m\u001b[94m|\u001b[0m                                             \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mvariant, associated function, or constant not found in `ExportFormat`\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n   \u001b[1m\u001b[94m::: \u001b[0msrc/export/mod.rs:24:1\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 24\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub enum ExportFormat {\n    \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---------------------\u001b[0m \u001b[1m\u001b[94mvariant, associated function, or constant `ALL` not found for this enum\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n    \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is implemented and in scope\n    \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: the following trait defines an item `ALL`, perhaps you need to implement it:\n            candidate #1: `bitflags::traits::Bits`\n\n"}
{"$message_type":"diagnostic","message":"no variant, associated function, or constant named `ALL` found for enum `ExportFormat` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n               //        in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n    fn chocolate(&self) { // We implement the `chocolate` method here.\n        println!(\"Hmmm! I love chocolate!\");\n    }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"src/tools/toolbar.rs","byte_start":29274,"byte_end":29277,"line_start":691,"line_end":691,"column_start":34,"column_end":37,"is_primary":true,"text":[{"text":"    crate::export::ExportFormat::ALL","highlight_start":34,"highlight_end":37}],"label":"variant, associated function, or constant not found in `ExportFormat`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/export/mod.rs","byte_start":1214,"byte_end":1235,"line_start":24,"line_end":24,"column_start":1,"column_end":22,"is_primary":false,"text":[{"text":"pub enum ExportFormat {","highlight_start":1,"highlight_end":22}],"label":"variant, associated function, or constant `ALL` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"the following trait defines an item `ALL`, perhaps you need to implement it:\ncandidate #1: `bitflags::traits::Bits`","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no variant, associated function, or constant named `ALL` found for enum `ExportFormat` in the current scope\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0msrc/tools/toolbar.rs:691:34\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m691\u001b[0m \u001b[1m\u001b[94m|\u001b[0m     crate::export::ExportFormat::ALL\n    \u001b[1m\u001b[94m|\u001b[0m                                  \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mvariant, associated function, or constant not found in `ExportFormat`\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n   \u001b[1m\u001b[94m::: \u001b[0msrc/export/mod.rs:24:1\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 24\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub enum ExportFormat {\n    \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---------------------\u001b[0m \u001b[1m\u001b[94mvariant, associated function, or constant `ALL` not found for this enum\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n    \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is implemented and in scope\n    \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: the following trait defines an item `ALL`, perhaps you need to implement it:\n            candidate #1: `bitflags::traits::Bits`\n\n"}
{"$message_type":"diagnostic","message":"no variant, associated function, or constant named `ALL` found for enum `ExportFormat` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n               //        in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n    fn chocolate(&self) { // We implement the `chocolate` method here.\n        println!(\"Hmmm! I love chocolate!\");\n    }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"src/tools/toolbar.rs","byte_start":36305,"byte_end":36308,"line_start":853,"line_end":853,"column_start":71,"column_end":74,"is_primary":true,"text":[{"text":"        CommandId::ExportSelection(format) => format == ExportFormat::ALL[0],","highlight_start":71,"highlight_end":74}],"label":"variant, associated function, or constant not found in `ExportFormat`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/export/mod.rs","byte_start":1214,"byte_end":1235,"line_start":24,"line_end":24,"column_start":1,"column_end":22,"is_primary":false,"text":[{"text":"pub enum ExportFormat {","highlight_start":1,"highlight_end":22}],"label":"variant, associated function, or constant `ALL` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"the following trait defines an item `ALL`, perhaps you need to implement it:\ncandidate #1: `bitflags::traits::Bits`","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no variant, associated function, or constant named `ALL` found for enum `ExportFormat` in the current scope\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0msrc/tools/toolbar.rs:853:71\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m853\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         CommandId::ExportSelection(format) => format == ExportFormat::ALL[0],\n    \u001b[1m\u001b[94m|\u001b[0m                                                                       \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mvariant, associated function, or constant not found in `ExportFormat`\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n   \u001b[1m\u001b[94m::: \u001b[0msrc/export/mod.rs:24:1\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 24\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub enum ExportFormat {\n    \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---------------------\u001b[0m \u001b[1m\u001b[94mvariant, associated function, or constant `ALL` not found for this enum\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n    \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: items from traits can only be used if the trait is implemented and in scope\n    \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: the following trait defines an item `ALL`, perhaps you need to implement it:\n            candidate #1: `bitflags::traits::Bits`\n\n"}
{"$message_type":"diagnostic","message":"non-exhaustive patterns: `ExportFormat::Pdf` not covered","code":{"code":"E0004","explanation":"This error indicates that the compiler cannot guarantee a matching pattern for\none or more possible inputs to a match expression. Guaranteed matches are\nrequired in order to assign values to match expressions, or alternatively,\ndetermine the flow of execution.\n\nErroneous code example:\n\n```compile_fail,E0004\nenum Terminator {\n    HastaLaVistaBaby,\n    TalkToMyHand,\n}\n\nlet x = Terminator::HastaLaVistaBaby;\n\nmatch x { // error: non-exhaustive patterns: `HastaLaVistaBaby` not covered\n    Terminator::TalkToMyHand => {}\n}\n```\n\nIf you encounter this error you must alter your patterns so that every possible\nvalue of the input type is matched. For types with a small number of variants\n(like enums) you should probably cover all cases explicitly. Alternatively, the\nunderscore `_` wildcard pattern can be added after all other patterns to match\n\"anything else\". Example:\n\n```\nenum Terminator {\n    HastaLaVistaBaby,\n    TalkToMyHand,\n}\n\nlet x = Terminator::HastaLaVistaBaby;\n\nmatch x {\n    Terminator::TalkToMyHand => {}\n    Terminator::HastaLaVistaBaby => {}\n}\n\n// or:\n\nmatch x {\n    Terminator::TalkToMyHand => {}\n    _ => {}\n}\n```\n"},"level":"error","spans":[{"file_name":"src/tools/commands.rs","byte_start":3786,"byte_end":3792,"line_start":110,"line_end":110,"column_start":57,"column_end":63,"is_primary":true,"text":[{"text":"            CommandId::ExportSelection(format) => match format {","highlight_start":57,"highlight_end":63}],"label":"pattern `ExportFormat::Pdf` not covered","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`ExportFormat` defined here","code":null,"level":"note","spans":[{"file_name":"src/export/mod.rs","byte_start":1223,"byte_end":1235,"line_start":24,"line_end":24,"column_start":10,"column_end":22,"is_primary":true,"text":[{"text":"pub enum ExportFormat {","highlight_start":10,"highlight_end":22}],"label":"","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/export/mod.rs","byte_start":1270,"byte_end":1273,"line_start":28,"line_end":28,"column_start":5,"column_end":8,"is_primary":false,"text":[{"text":"    Pdf,","highlight_start":5,"highlight_end":8}],"label":"not covered","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"the matched value is of type `ExportFormat`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown","code":null,"level":"help","spans":[{"file_name":"src/tools/commands.rs","byte_start":3978,"byte_end":3978,"line_start":113,"line_end":113,"column_start":62,"column_end":62,"is_primary":true,"text":[{"text":"                ExportFormat::Json => \"export-selection-json\",","highlight_start":62,"highlight_end":62}],"label":null,"suggested_replacement":",\n                ExportFormat::Pdf => todo!()","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0004]\u001b[0m\u001b[1m: non-exhaustive patterns: `ExportFormat::Pdf` not covered\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0msrc/tools/commands.rs:110:57\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m110\u001b[0m \u001b[1m\u001b[94m|\u001b[0m             CommandId::ExportSelection(format) => match format {\n    \u001b[1m\u001b[94m|\u001b[0m                                                         \u001b[1m\u001b[91m^^^^^^\u001b[0m \u001b[1m\u001b[91mpattern `ExportFormat::Pdf` not covered\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[92mnote\u001b[0m: `ExportFormat` defined here\n   \u001b[1m\u001b[94m--> \u001b[0msrc/export/mod.rs:24:10\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 24\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub enum ExportFormat {\n    \u001b[1m\u001b[94m|\u001b[0m          \u001b[1m\u001b[92m^^^^^^^^^^^^\u001b[0m\n\u001b[1m\u001b[94m...\u001b[0m\n\u001b[1m\u001b[94m 28\u001b[0m \u001b[1m\u001b[94m|\u001b[0m     Pdf,\n    \u001b[1m\u001b[94m|\u001b[0m     \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mnot covered\u001b[0m\n    \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: the matched value is of type `ExportFormat`\n\u001b[1m\u001b[96mhelp\u001b[0m: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m113\u001b[0m \u001b[92m~ \u001b[0m                ExportFormat::Json => \"export-selection-json\"\u001b[92m,\u001b[0m\n\u001b[1m\u001b[94m114\u001b[0m \u001b[92m~                 ExportFormat::Pdf => todo!()\u001b[0m,\n    \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"non-exhaustive patterns: `ExportFormat::Pdf` not covered","code":{"code":"E0004","explanation":"This error indicates that the compiler cannot guarantee a matching pattern for\none or more possible inputs to a match expression. Guaranteed matches are\nrequired in order to assign values to match expressions, or alternatively,\ndetermine the flow of execution.\n\nErroneous code example:\n\n```compile_fail,E0004\nenum Terminator {\n    HastaLaVistaBaby,\n    TalkToMyHand,\n}\n\nlet x = Terminator::HastaLaVistaBaby;\n\nmatch x { // error: non-exhaustive patterns: `HastaLaVistaBaby` not covered\n    Terminator::TalkToMyHand => {}\n}\n```\n\nIf you encounter this error you must alter your patterns so that every possible\nvalue of the input type is matched. For types with a small number of variants\n(like enums) you should probably cover all cases explicitly. Alternatively, the\nunderscore `_` wildcard pattern can be added after all other patterns to match\n\"anything else\". Example:\n\n```\nenum Terminator {\n    HastaLaVistaBaby,\n    TalkToMyHand,\n}\n\nlet x = Terminator::HastaLaVistaBaby;\n\nmatch x {\n    Terminator::TalkToMyHand => {}\n    Terminator::HastaLaVistaBaby => {}\n}\n\n// or:\n\nmatch x {\n    Terminator::TalkToMyHand => {}\n    _ => {}\n}\n```\n"},"level":"error","spans":[{"file_name":"src/tools/commands.rs","byte_start":5086,"byte_end":5092,"line_start":138,"line_end":138,"column_start":48,"column_end":54,"is_primary":true,"text":[{"text":"            CommandId::Export(format) => match format {","highlight_start":48,"highlight_end":54}],"label":"pattern `ExportFormat::Pdf` not covered","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`ExportFormat` defined here","code":null,"level":"note","spans":[{"file_name":"src/export/mod.rs","byte_start":1223,"byte_end":1235,"line_start":24,"line_end":24,"column_start":10,"column_end":22,"is_primary":true,"text":[{"text":"pub enum ExportFormat {","highlight_start":10,"highlight_end":22}],"label":"","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/export/mod.rs","byte_start":1270,"byte_end":1273,"line_start":28,"line_end":28,"column_start":5,"column_end":8,"is_primary":false,"text":[{"text":"    Pdf,","highlight_start":5,"highlight_end":8}],"label":"not covered","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"the matched value is of type `ExportFormat`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown","code":null,"level":"help","spans":[{"file_name":"src/tools/commands.rs","byte_start":5248,"byte_end":5248,"line_start":141,"line_end":141,"column_start":52,"column_end":52,"is_primary":true,"text":[{"text":"                ExportFormat::Json => \"export-json\",","highlight_start":52,"highlight_end":52}],"label":null,"suggested_replacement":",\n                ExportFormat::Pdf => todo!()","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0004]\u001b[0m\u001b[1m: non-exhaustive patterns: `ExportFormat::Pdf` not covered\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0msrc/tools/commands.rs:138:48\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m138\u001b[0m \u001b[1m\u001b[94m|\u001b[0m             CommandId::Export(format) => match format {\n    \u001b[1m\u001b[94m|\u001b[0m                                                \u001b[1m\u001b[91m^^^^^^\u001b[0m \u001b[1m\u001b[91mpattern `ExportFormat::Pdf` not covered\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[92mnote\u001b[0m: `ExportFormat` defined here\n   \u001b[1m\u001b[94m--> \u001b[0msrc/export/mod.rs:24:10\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 24\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub enum ExportFormat {\n    \u001b[1m\u001b[94m|\u001b[0m          \u001b[1m\u001b[92m^^^^^^^^^^^^\u001b[0m\n\u001b[1m\u001b[94m...\u001b[0m\n\u001b[1m\u001b[94m 28\u001b[0m \u001b[1m\u001b[94m|\u001b[0m     Pdf,\n    \u001b[1m\u001b[94m|\u001b[0m     \u001b[1m\u001b[94m---\u001b[0m \u001b[1m\u001b[94mnot covered\u001b[0m\n    \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: the matched value is of type `ExportFormat`\n\u001b[1m\u001b[96mhelp\u001b[0m: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m141\u001b[0m \u001b[92m~ \u001b[0m                ExportFormat::Json => \"export-json\"\u001b[92m,\u001b[0m\n\u001b[1m\u001b[94m142\u001b[0m \u001b[92m~                 ExportFormat::Pdf => todo!()\u001b[0m,\n    \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"aborting due to 17 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"\u001b[1m\u001b[91merror\u001b[0m\u001b[1m: aborting due to 17 previous errors\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0004, E0308, E0433, E0560, E0599, E0603.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"\u001b[1mSome errors have detailed explanations: E0004, E0308, E0433, E0560, E0599, E0603.\u001b[0m\n"}
{"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0004`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"\u001b[1mFor more information about an error, try `rustc --explain E0004`.\u001b[0m\n"}
