{"$message_type":"diagnostic","message":"This wasm target is unsupported by mio. If using Tokio, disable the net feature.","code":null,"level":"error","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/lib.rs","byte_start":1270,"byte_end":1368,"line_start":44,"line_end":44,"column_start":1,"column_end":99,"is_primary":true,"text":[{"text":"compile_error!(\"This wasm target is unsupported by mio. If using Tokio, disable the net feature.\");","highlight_start":1,"highlight_end":99}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror\u001b[0m\u001b[1m: This wasm target is unsupported by mio. If using Tokio, disable the net feature.\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/lib.rs:44:1\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m44\u001b[0m \u001b[1m\u001b[94m|\u001b[0m compile_error!(\"This wasm target is unsupported by mio. If using Tokio, disable the net feature.\");\n   \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"unresolved import `crate::sys::IoSourceState`","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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/io_source.rs","byte_start":446,"byte_end":471,"line_start":14,"line_end":14,"column_start":5,"column_end":30,"is_primary":true,"text":[{"text":"use crate::sys::IoSourceState;","highlight_start":5,"highlight_end":30}],"label":"no `IoSourceState` in `sys`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0432]\u001b[0m\u001b[1m: unresolved import `crate::sys::IoSourceState`\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/io_source.rs:14:5\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m14\u001b[0m \u001b[1m\u001b[94m|\u001b[0m use crate::sys::IoSourceState;\n   \u001b[1m\u001b[94m|\u001b[0m     \u001b[1m\u001b[91m^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m \u001b[1m\u001b[91mno `IoSourceState` in `sys`\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"unresolved import `crate::sys::tcp`","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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/listener.rs","byte_start":764,"byte_end":767,"line_start":20,"line_end":20,"column_start":5,"column_end":8,"is_primary":true,"text":[{"text":"    tcp::{bind, listen, new_for_addr},","highlight_start":5,"highlight_end":8}],"label":"could not find `tcp` in `sys`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0432]\u001b[0m\u001b[1m: unresolved import `crate::sys::tcp`\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/listener.rs:20:5\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m20\u001b[0m \u001b[1m\u001b[94m|\u001b[0m     tcp::{bind, listen, new_for_addr},\n   \u001b[1m\u001b[94m|\u001b[0m     \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mcould not find `tcp` in `sys`\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"unresolved import `crate::sys::tcp`","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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/stream.rs","byte_start":714,"byte_end":717,"line_start":17,"line_end":17,"column_start":17,"column_end":20,"is_primary":true,"text":[{"text":"use crate::sys::tcp::{connect, new_for_addr};","highlight_start":17,"highlight_end":20}],"label":"could not find `tcp` in `sys`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0432]\u001b[0m\u001b[1m: unresolved import `crate::sys::tcp`\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/stream.rs:17:17\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m17\u001b[0m \u001b[1m\u001b[94m|\u001b[0m use crate::sys::tcp::{connect, new_for_addr};\n   \u001b[1m\u001b[94m|\u001b[0m                 \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mcould not find `tcp` in `sys`\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find `Selector` in `sys`","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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/poll.rs","byte_start":13524,"byte_end":13532,"line_start":323,"line_end":323,"column_start":18,"column_end":26,"is_primary":true,"text":[{"text":"            sys::Selector::new().map(|selector| Poll {","highlight_start":18,"highlight_end":26}],"label":"could not find `Selector` in `sys`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find `Selector` in `sys`\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/poll.rs:323:18\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m323\u001b[0m \u001b[1m\u001b[94m|\u001b[0m             sys::Selector::new().map(|selector| Poll {\n    \u001b[1m\u001b[94m|\u001b[0m                  \u001b[1m\u001b[91m^^^^^^^^\u001b[0m \u001b[1m\u001b[91mcould not find `Selector` in `sys`\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find `event` in `sys`","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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs","byte_start":537,"byte_end":542,"line_start":24,"line_end":24,"column_start":14,"column_end":19,"is_primary":true,"text":[{"text":"        sys::event::token(&self.inner)","highlight_start":14,"highlight_end":19}],"label":"could not find `event` in `sys`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find `event` in `sys`\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs:24:14\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m24\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         sys::event::token(&self.inner)\n   \u001b[1m\u001b[94m|\u001b[0m              \u001b[1m\u001b[91m^^^^^\u001b[0m \u001b[1m\u001b[91mcould not find `event` in `sys`\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find `event` in `sys`","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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs","byte_start":1200,"byte_end":1205,"line_start":38,"line_end":38,"column_start":14,"column_end":19,"is_primary":true,"text":[{"text":"        sys::event::is_readable(&self.inner)","highlight_start":14,"highlight_end":19}],"label":"could not find `event` in `sys`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find `event` in `sys`\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs:38:14\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m38\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         sys::event::is_readable(&self.inner)\n   \u001b[1m\u001b[94m|\u001b[0m              \u001b[1m\u001b[91m^^^^^\u001b[0m \u001b[1m\u001b[91mcould not find `event` in `sys`\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find `event` in `sys`","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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs","byte_start":1355,"byte_end":1360,"line_start":43,"line_end":43,"column_start":14,"column_end":19,"is_primary":true,"text":[{"text":"        sys::event::is_writable(&self.inner)","highlight_start":14,"highlight_end":19}],"label":"could not find `event` in `sys`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find `event` in `sys`\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs:43:14\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m43\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         sys::event::is_writable(&self.inner)\n   \u001b[1m\u001b[94m|\u001b[0m              \u001b[1m\u001b[91m^^^^^\u001b[0m \u001b[1m\u001b[91mcould not find `event` in `sys`\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find `event` in `sys`","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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs","byte_start":2366,"byte_end":2371,"line_start":68,"line_end":68,"column_start":14,"column_end":19,"is_primary":true,"text":[{"text":"        sys::event::is_error(&self.inner)","highlight_start":14,"highlight_end":19}],"label":"could not find `event` in `sys`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find `event` in `sys`\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs:68:14\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m68\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         sys::event::is_error(&self.inner)\n   \u001b[1m\u001b[94m|\u001b[0m              \u001b[1m\u001b[91m^^^^^\u001b[0m \u001b[1m\u001b[91mcould not find `event` in `sys`\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find `event` in `sys`","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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs","byte_start":3694,"byte_end":3699,"line_start":99,"line_end":99,"column_start":14,"column_end":19,"is_primary":true,"text":[{"text":"        sys::event::is_read_closed(&self.inner)","highlight_start":14,"highlight_end":19}],"label":"could not find `event` in `sys`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find `event` in `sys`\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs:99:14\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m99\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         sys::event::is_read_closed(&self.inner)\n   \u001b[1m\u001b[94m|\u001b[0m              \u001b[1m\u001b[91m^^^^^\u001b[0m \u001b[1m\u001b[91mcould not find `event` in `sys`\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find `event` in `sys`","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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs","byte_start":4941,"byte_end":4946,"line_start":129,"line_end":129,"column_start":14,"column_end":19,"is_primary":true,"text":[{"text":"        sys::event::is_write_closed(&self.inner)","highlight_start":14,"highlight_end":19}],"label":"could not find `event` in `sys`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find `event` in `sys`\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs:129:14\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m129\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         sys::event::is_write_closed(&self.inner)\n    \u001b[1m\u001b[94m|\u001b[0m              \u001b[1m\u001b[91m^^^^^\u001b[0m \u001b[1m\u001b[91mcould not find `event` in `sys`\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find `event` in `sys`","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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs","byte_start":5724,"byte_end":5729,"line_start":151,"line_end":151,"column_start":14,"column_end":19,"is_primary":true,"text":[{"text":"        sys::event::is_priority(&self.inner)","highlight_start":14,"highlight_end":19}],"label":"could not find `event` in `sys`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find `event` in `sys`\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs:151:14\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m151\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         sys::event::is_priority(&self.inner)\n    \u001b[1m\u001b[94m|\u001b[0m              \u001b[1m\u001b[91m^^^^^\u001b[0m \u001b[1m\u001b[91mcould not find `event` in `sys`\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find `event` in `sys`","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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs","byte_start":6536,"byte_end":6541,"line_start":173,"line_end":173,"column_start":14,"column_end":19,"is_primary":true,"text":[{"text":"        sys::event::is_aio(&self.inner)","highlight_start":14,"highlight_end":19}],"label":"could not find `event` in `sys`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find `event` in `sys`\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs:173:14\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m173\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         sys::event::is_aio(&self.inner)\n    \u001b[1m\u001b[94m|\u001b[0m              \u001b[1m\u001b[91m^^^^^\u001b[0m \u001b[1m\u001b[91mcould not find `event` in `sys`\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find `event` in `sys`","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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs","byte_start":6846,"byte_end":6851,"line_start":183,"line_end":183,"column_start":14,"column_end":19,"is_primary":true,"text":[{"text":"        sys::event::is_lio(&self.inner)","highlight_start":14,"highlight_end":19}],"label":"could not find `event` in `sys`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find `event` in `sys`\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs:183:14\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m183\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         sys::event::is_lio(&self.inner)\n    \u001b[1m\u001b[94m|\u001b[0m              \u001b[1m\u001b[91m^^^^^\u001b[0m \u001b[1m\u001b[91mcould not find `event` in `sys`\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find `event` in `sys`","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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs","byte_start":8449,"byte_end":8454,"line_start":221,"line_end":221,"column_start":26,"column_end":31,"is_primary":true,"text":[{"text":"                    sys::event::debug_details(f, self.0)","highlight_start":26,"highlight_end":31}],"label":"could not find `event` in `sys`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find `event` in `sys`\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs:221:26\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m221\u001b[0m \u001b[1m\u001b[94m|\u001b[0m                     sys::event::debug_details(f, self.0)\n    \u001b[1m\u001b[94m|\u001b[0m                          \u001b[1m\u001b[91m^^^^^\u001b[0m \u001b[1m\u001b[91mcould not find `event` in `sys`\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find `tcp` in `sys`","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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/listener.rs","byte_start":4180,"byte_end":4183,"line_start":110,"line_end":110,"column_start":18,"column_end":21,"is_primary":true,"text":[{"text":"            sys::tcp::accept(inner).map(|(stream, addr)| (TcpStream::from_std(stream), addr))","highlight_start":18,"highlight_end":21}],"label":"could not find `tcp` in `sys`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find `tcp` in `sys`\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/listener.rs:110:18\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m110\u001b[0m \u001b[1m\u001b[94m|\u001b[0m             sys::tcp::accept(inner).map(|(stream, addr)| (TcpStream::from_std(stream), addr))\n    \u001b[1m\u001b[94m|\u001b[0m                  \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mcould not find `tcp` in `sys`\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find `udp` in `sys`","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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/udp.rs","byte_start":4733,"byte_end":4736,"line_start":126,"line_end":126,"column_start":14,"column_end":17,"is_primary":true,"text":[{"text":"        sys::udp::bind(addr).map(UdpSocket::from_std)","highlight_start":14,"highlight_end":17}],"label":"could not find `udp` in `sys`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find `udp` in `sys`\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/udp.rs:126:14\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m126\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         sys::udp::bind(addr).map(UdpSocket::from_std)\n    \u001b[1m\u001b[94m|\u001b[0m              \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mcould not find `udp` in `sys`\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find `udp` in `sys`","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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/udp.rs","byte_start":20051,"byte_end":20054,"line_start":548,"line_end":548,"column_start":14,"column_end":17,"is_primary":true,"text":[{"text":"        sys::udp::only_v6(&self.inner)","highlight_start":14,"highlight_end":17}],"label":"could not find `udp` in `sys`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find `udp` in `sys`\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/udp.rs:548:14\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m548\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         sys::udp::only_v6(&self.inner)\n    \u001b[1m\u001b[94m|\u001b[0m              \u001b[1m\u001b[91m^^^\u001b[0m \u001b[1m\u001b[91mcould not find `udp` in `sys`\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find type `Selector` in module `sys`","code":{"code":"E0425","explanation":"An unresolved name was used.\n\nErroneous code examples:\n\n```compile_fail,E0425\nsomething_that_doesnt_exist::foo;\n// error: unresolved name `something_that_doesnt_exist::foo`\n\n// or:\n\ntrait Foo {\n    fn bar() {\n        Self; // error: unresolved name `Self`\n    }\n}\n\n// or:\n\nlet x = unknown_variable;  // error: unresolved name `unknown_variable`\n```\n\nPlease verify that the name wasn't misspelled and ensure that the\nidentifier being referred to is valid for the given situation. Example:\n\n```\nenum something_that_does_exist {\n    Foo,\n}\n```\n\nOr:\n\n```\nmod something_that_does_exist {\n    pub static foo : i32 = 0i32;\n}\n\nsomething_that_does_exist::foo; // ok!\n```\n\nOr:\n\n```\nlet unknown_variable = 12u32;\nlet x = unknown_variable; // ok!\n```\n\nIf the item is not defined in the current module, it must be imported using a\n`use` statement, like so:\n\n```\n# mod foo { pub fn bar() {} }\n# fn main() {\nuse foo::bar;\nbar();\n# }\n```\n\nIf the item you are importing is not defined in some super-module of the\ncurrent module, then it must also be declared as public (e.g., `pub fn`).\n"},"level":"error","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/poll.rs","byte_start":11548,"byte_end":11556,"line_start":274,"line_end":274,"column_start":20,"column_end":28,"is_primary":true,"text":[{"text":"    selector: sys::Selector,","highlight_start":20,"highlight_end":28}],"label":"not found in `sys`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0425]\u001b[0m\u001b[1m: cannot find type `Selector` in module `sys`\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/poll.rs:274:20\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m274\u001b[0m \u001b[1m\u001b[94m|\u001b[0m     selector: sys::Selector,\n    \u001b[1m\u001b[94m|\u001b[0m                    \u001b[1m\u001b[91m^^^^^^^^\u001b[0m \u001b[1m\u001b[91mnot found in `sys`\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find type `Selector` in module `sys`","code":{"code":"E0425","explanation":"An unresolved name was used.\n\nErroneous code examples:\n\n```compile_fail,E0425\nsomething_that_doesnt_exist::foo;\n// error: unresolved name `something_that_doesnt_exist::foo`\n\n// or:\n\ntrait Foo {\n    fn bar() {\n        Self; // error: unresolved name `Self`\n    }\n}\n\n// or:\n\nlet x = unknown_variable;  // error: unresolved name `unknown_variable`\n```\n\nPlease verify that the name wasn't misspelled and ensure that the\nidentifier being referred to is valid for the given situation. Example:\n\n```\nenum something_that_does_exist {\n    Foo,\n}\n```\n\nOr:\n\n```\nmod something_that_does_exist {\n    pub static foo : i32 = 0i32;\n}\n\nsomething_that_does_exist::foo; // ok!\n```\n\nOr:\n\n```\nlet unknown_variable = 12u32;\nlet x = unknown_variable; // ok!\n```\n\nIf the item is not defined in the current module, it must be imported using a\n`use` statement, like so:\n\n```\n# mod foo { pub fn bar() {} }\n# fn main() {\nuse foo::bar;\nbar();\n# }\n```\n\nIf the item you are importing is not defined in some super-module of the\ncurrent module, then it must also be declared as public (e.g., `pub fn`).\n"},"level":"error","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/poll.rs","byte_start":29175,"byte_end":29183,"line_start":732,"line_end":732,"column_start":44,"column_end":52,"is_primary":true,"text":[{"text":"    pub(crate) fn selector(&self) -> &sys::Selector {","highlight_start":44,"highlight_end":52}],"label":"not found in `sys`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0425]\u001b[0m\u001b[1m: cannot find type `Selector` in module `sys`\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/poll.rs:732:44\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m732\u001b[0m \u001b[1m\u001b[94m|\u001b[0m     pub(crate) fn selector(&self) -> &sys::Selector {\n    \u001b[1m\u001b[94m|\u001b[0m                                            \u001b[1m\u001b[91m^^^^^^^^\u001b[0m \u001b[1m\u001b[91mnot found in `sys`\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find type `Waker` in module `sys`","code":{"code":"E0425","explanation":"An unresolved name was used.\n\nErroneous code examples:\n\n```compile_fail,E0425\nsomething_that_doesnt_exist::foo;\n// error: unresolved name `something_that_doesnt_exist::foo`\n\n// or:\n\ntrait Foo {\n    fn bar() {\n        Self; // error: unresolved name `Self`\n    }\n}\n\n// or:\n\nlet x = unknown_variable;  // error: unresolved name `unknown_variable`\n```\n\nPlease verify that the name wasn't misspelled and ensure that the\nidentifier being referred to is valid for the given situation. Example:\n\n```\nenum something_that_does_exist {\n    Foo,\n}\n```\n\nOr:\n\n```\nmod something_that_does_exist {\n    pub static foo : i32 = 0i32;\n}\n\nsomething_that_does_exist::foo; // ok!\n```\n\nOr:\n\n```\nlet unknown_variable = 12u32;\nlet x = unknown_variable; // ok!\n```\n\nIf the item is not defined in the current module, it must be imported using a\n`use` statement, like so:\n\n```\n# mod foo { pub fn bar() {} }\n# fn main() {\nuse foo::bar;\nbar();\n# }\n```\n\nIf the item you are importing is not defined in some super-module of the\ncurrent module, then it must also be declared as public (e.g., `pub fn`).\n"},"level":"error","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/waker.rs","byte_start":2595,"byte_end":2600,"line_start":79,"line_end":79,"column_start":17,"column_end":22,"is_primary":true,"text":[{"text":"    inner: sys::Waker,","highlight_start":17,"highlight_end":22}],"label":"not found in `sys`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing one of these structs","code":null,"level":"help","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/waker.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use crate::{sys, Registry, Token};","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use crate::Waker;\n","suggestion_applicability":"MaybeIncorrect","expansion":null},{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/waker.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use crate::{sys, Registry, Token};","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use std::task::Waker;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"if you import `Waker`, refer to it directly","code":null,"level":"help","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/waker.rs","byte_start":2590,"byte_end":2595,"line_start":79,"line_end":79,"column_start":12,"column_end":17,"is_primary":true,"text":[{"text":"    inner: sys::Waker,","highlight_start":12,"highlight_end":17}],"label":null,"suggested_replacement":"","suggestion_applicability":"Unspecified","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0425]\u001b[0m\u001b[1m: cannot find type `Waker` in module `sys`\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/waker.rs:79:17\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m79\u001b[0m \u001b[1m\u001b[94m|\u001b[0m     inner: sys::Waker,\n   \u001b[1m\u001b[94m|\u001b[0m                 \u001b[1m\u001b[91m^^^^^\u001b[0m \u001b[1m\u001b[91mnot found in `sys`\u001b[0m\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: consider importing one of these structs\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use crate::Waker;\u001b[0m\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use std::task::Waker;\u001b[0m\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: if you import `Waker`, refer to it directly\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m79\u001b[0m \u001b[91m- \u001b[0m    inner: \u001b[91msys::\u001b[0mWaker,\n\u001b[1m\u001b[94m79\u001b[0m \u001b[92m+ \u001b[0m    inner: Waker,\n   \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find `Waker` in `sys`","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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/waker.rs","byte_start":2802,"byte_end":2807,"line_start":87,"line_end":87,"column_start":14,"column_end":19,"is_primary":true,"text":[{"text":"        sys::Waker::new(registry.selector(), token).map(|inner| Waker { inner })","highlight_start":14,"highlight_end":19}],"label":"could not find `Waker` in `sys`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing one of these structs","code":null,"level":"help","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/waker.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use crate::{sys, Registry, Token};","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use crate::Waker;\n","suggestion_applicability":"MaybeIncorrect","expansion":null},{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/waker.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use crate::{sys, Registry, Token};","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use std::task::Waker;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"if you import `Waker`, refer to it directly","code":null,"level":"help","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/waker.rs","byte_start":2797,"byte_end":2802,"line_start":87,"line_end":87,"column_start":9,"column_end":14,"is_primary":true,"text":[{"text":"        sys::Waker::new(registry.selector(), token).map(|inner| Waker { inner })","highlight_start":9,"highlight_end":14}],"label":null,"suggested_replacement":"","suggestion_applicability":"Unspecified","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find `Waker` in `sys`\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/waker.rs:87:14\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m87\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         sys::Waker::new(registry.selector(), token).map(|inner| Waker { inner })\n   \u001b[1m\u001b[94m|\u001b[0m              \u001b[1m\u001b[91m^^^^^\u001b[0m \u001b[1m\u001b[91mcould not find `Waker` in `sys`\u001b[0m\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: consider importing one of these structs\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use crate::Waker;\u001b[0m\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use std::task::Waker;\u001b[0m\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: if you import `Waker`, refer to it directly\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m87\u001b[0m \u001b[91m- \u001b[0m        \u001b[91msys::\u001b[0mWaker::new(registry.selector(), token).map(|inner| Waker { inner })\n\u001b[1m\u001b[94m87\u001b[0m \u001b[92m+ \u001b[0m        Waker::new(registry.selector(), token).map(|inner| Waker { inner })\n   \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find type `Event` in module `sys`","code":{"code":"E0425","explanation":"An unresolved name was used.\n\nErroneous code examples:\n\n```compile_fail,E0425\nsomething_that_doesnt_exist::foo;\n// error: unresolved name `something_that_doesnt_exist::foo`\n\n// or:\n\ntrait Foo {\n    fn bar() {\n        Self; // error: unresolved name `Self`\n    }\n}\n\n// or:\n\nlet x = unknown_variable;  // error: unresolved name `unknown_variable`\n```\n\nPlease verify that the name wasn't misspelled and ensure that the\nidentifier being referred to is valid for the given situation. Example:\n\n```\nenum something_that_does_exist {\n    Foo,\n}\n```\n\nOr:\n\n```\nmod something_that_does_exist {\n    pub static foo : i32 = 0i32;\n}\n\nsomething_that_does_exist::foo; // ok!\n```\n\nOr:\n\n```\nlet unknown_variable = 12u32;\nlet x = unknown_variable; // ok!\n```\n\nIf the item is not defined in the current module, it must be imported using a\n`use` statement, like so:\n\n```\n# mod foo { pub fn bar() {} }\n# fn main() {\nuse foo::bar;\nbar();\n# }\n```\n\nIf the item you are importing is not defined in some super-module of the\ncurrent module, then it must also be declared as public (e.g., `pub fn`).\n"},"level":"error","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs","byte_start":431,"byte_end":436,"line_start":18,"line_end":18,"column_start":17,"column_end":22,"is_primary":true,"text":[{"text":"    inner: sys::Event,","highlight_start":17,"highlight_end":22}],"label":"not found in `sys`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this struct through its public re-export","code":null,"level":"help","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use crate::{sys, Token};","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use crate::event::Event;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"if you import `Event`, refer to it directly","code":null,"level":"help","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs","byte_start":426,"byte_end":431,"line_start":18,"line_end":18,"column_start":12,"column_end":17,"is_primary":true,"text":[{"text":"    inner: sys::Event,","highlight_start":12,"highlight_end":17}],"label":null,"suggested_replacement":"","suggestion_applicability":"Unspecified","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0425]\u001b[0m\u001b[1m: cannot find type `Event` in module `sys`\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs:18:17\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m18\u001b[0m \u001b[1m\u001b[94m|\u001b[0m     inner: sys::Event,\n   \u001b[1m\u001b[94m|\u001b[0m                 \u001b[1m\u001b[91m^^^^^\u001b[0m \u001b[1m\u001b[91mnot found in `sys`\u001b[0m\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: consider importing this struct through its public re-export\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use crate::event::Event;\u001b[0m\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: if you import `Event`, refer to it directly\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m18\u001b[0m \u001b[91m- \u001b[0m    inner: \u001b[91msys::\u001b[0mEvent,\n\u001b[1m\u001b[94m18\u001b[0m \u001b[92m+ \u001b[0m    inner: Event,\n   \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find type `Event` in module `sys`","code":{"code":"E0425","explanation":"An unresolved name was used.\n\nErroneous code examples:\n\n```compile_fail,E0425\nsomething_that_doesnt_exist::foo;\n// error: unresolved name `something_that_doesnt_exist::foo`\n\n// or:\n\ntrait Foo {\n    fn bar() {\n        Self; // error: unresolved name `Self`\n    }\n}\n\n// or:\n\nlet x = unknown_variable;  // error: unresolved name `unknown_variable`\n```\n\nPlease verify that the name wasn't misspelled and ensure that the\nidentifier being referred to is valid for the given situation. Example:\n\n```\nenum something_that_does_exist {\n    Foo,\n}\n```\n\nOr:\n\n```\nmod something_that_does_exist {\n    pub static foo : i32 = 0i32;\n}\n\nsomething_that_does_exist::foo; // ok!\n```\n\nOr:\n\n```\nlet unknown_variable = 12u32;\nlet x = unknown_variable; // ok!\n```\n\nIf the item is not defined in the current module, it must be imported using a\n`use` statement, like so:\n\n```\n# mod foo { pub fn bar() {} }\n# fn main() {\nuse foo::bar;\nbar();\n# }\n```\n\nIf the item you are importing is not defined in some super-module of the\ncurrent module, then it must also be declared as public (e.g., `pub fn`).\n"},"level":"error","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs","byte_start":7007,"byte_end":7012,"line_start":187,"line_end":187,"column_start":55,"column_end":60,"is_primary":true,"text":[{"text":"    pub(crate) fn from_sys_event_ref(sys_event: &sys::Event) -> &Event {","highlight_start":55,"highlight_end":60}],"label":"not found in `sys`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this struct through its public re-export","code":null,"level":"help","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use crate::{sys, Token};","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use crate::event::Event;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"if you import `Event`, refer to it directly","code":null,"level":"help","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs","byte_start":7002,"byte_end":7007,"line_start":187,"line_end":187,"column_start":50,"column_end":55,"is_primary":true,"text":[{"text":"    pub(crate) fn from_sys_event_ref(sys_event: &sys::Event) -> &Event {","highlight_start":50,"highlight_end":55}],"label":null,"suggested_replacement":"","suggestion_applicability":"Unspecified","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0425]\u001b[0m\u001b[1m: cannot find type `Event` in module `sys`\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs:187:55\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m187\u001b[0m \u001b[1m\u001b[94m|\u001b[0m     pub(crate) fn from_sys_event_ref(sys_event: &sys::Event) -> &Event {\n    \u001b[1m\u001b[94m|\u001b[0m                                                       \u001b[1m\u001b[91m^^^^^\u001b[0m \u001b[1m\u001b[91mnot found in `sys`\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: consider importing this struct through its public re-export\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m  1\u001b[0m \u001b[92m+ use crate::event::Event;\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: if you import `Event`, refer to it directly\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m187\u001b[0m \u001b[91m- \u001b[0m    pub(crate) fn from_sys_event_ref(sys_event: &\u001b[91msys::\u001b[0mEvent) -> &Event {\n\u001b[1m\u001b[94m187\u001b[0m \u001b[92m+ \u001b[0m    pub(crate) fn from_sys_event_ref(sys_event: &Event) -> &Event {\n    \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find type `Event` in module `sys`","code":{"code":"E0425","explanation":"An unresolved name was used.\n\nErroneous code examples:\n\n```compile_fail,E0425\nsomething_that_doesnt_exist::foo;\n// error: unresolved name `something_that_doesnt_exist::foo`\n\n// or:\n\ntrait Foo {\n    fn bar() {\n        Self; // error: unresolved name `Self`\n    }\n}\n\n// or:\n\nlet x = unknown_variable;  // error: unresolved name `unknown_variable`\n```\n\nPlease verify that the name wasn't misspelled and ensure that the\nidentifier being referred to is valid for the given situation. Example:\n\n```\nenum something_that_does_exist {\n    Foo,\n}\n```\n\nOr:\n\n```\nmod something_that_does_exist {\n    pub static foo : i32 = 0i32;\n}\n\nsomething_that_does_exist::foo; // ok!\n```\n\nOr:\n\n```\nlet unknown_variable = 12u32;\nlet x = unknown_variable; // ok!\n```\n\nIf the item is not defined in the current module, it must be imported using a\n`use` statement, like so:\n\n```\n# mod foo { pub fn bar() {} }\n# fn main() {\nuse foo::bar;\nbar();\n# }\n```\n\nIf the item you are importing is not defined in some super-module of the\ncurrent module, then it must also be declared as public (e.g., `pub fn`).\n"},"level":"error","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs","byte_start":7233,"byte_end":7238,"line_start":191,"line_end":191,"column_start":41,"column_end":46,"is_primary":true,"text":[{"text":"            &*(sys_event as *const sys::Event as *const Event)","highlight_start":41,"highlight_end":46}],"label":"not found in `sys`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this struct through its public re-export","code":null,"level":"help","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use crate::{sys, Token};","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use crate::event::Event;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"if you import `Event`, refer to it directly","code":null,"level":"help","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs","byte_start":7228,"byte_end":7233,"line_start":191,"line_end":191,"column_start":36,"column_end":41,"is_primary":true,"text":[{"text":"            &*(sys_event as *const sys::Event as *const Event)","highlight_start":36,"highlight_end":41}],"label":null,"suggested_replacement":"","suggestion_applicability":"Unspecified","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0425]\u001b[0m\u001b[1m: cannot find type `Event` in module `sys`\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs:191:41\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m191\u001b[0m \u001b[1m\u001b[94m|\u001b[0m             &*(sys_event as *const sys::Event as *const Event)\n    \u001b[1m\u001b[94m|\u001b[0m                                         \u001b[1m\u001b[91m^^^^^\u001b[0m \u001b[1m\u001b[91mnot found in `sys`\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: consider importing this struct through its public re-export\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m  1\u001b[0m \u001b[92m+ use crate::event::Event;\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: if you import `Event`, refer to it directly\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m191\u001b[0m \u001b[91m- \u001b[0m            &*(sys_event as *const \u001b[91msys::\u001b[0mEvent as *const Event)\n\u001b[1m\u001b[94m191\u001b[0m \u001b[92m+ \u001b[0m            &*(sys_event as *const Event as *const Event)\n    \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find type `Event` in module `sys`","code":{"code":"E0425","explanation":"An unresolved name was used.\n\nErroneous code examples:\n\n```compile_fail,E0425\nsomething_that_doesnt_exist::foo;\n// error: unresolved name `something_that_doesnt_exist::foo`\n\n// or:\n\ntrait Foo {\n    fn bar() {\n        Self; // error: unresolved name `Self`\n    }\n}\n\n// or:\n\nlet x = unknown_variable;  // error: unresolved name `unknown_variable`\n```\n\nPlease verify that the name wasn't misspelled and ensure that the\nidentifier being referred to is valid for the given situation. Example:\n\n```\nenum something_that_does_exist {\n    Foo,\n}\n```\n\nOr:\n\n```\nmod something_that_does_exist {\n    pub static foo : i32 = 0i32;\n}\n\nsomething_that_does_exist::foo; // ok!\n```\n\nOr:\n\n```\nlet unknown_variable = 12u32;\nlet x = unknown_variable; // ok!\n```\n\nIf the item is not defined in the current module, it must be imported using a\n`use` statement, like so:\n\n```\n# mod foo { pub fn bar() {} }\n# fn main() {\nuse foo::bar;\nbar();\n# }\n```\n\nIf the item you are importing is not defined in some super-module of the\ncurrent module, then it must also be declared as public (e.g., `pub fn`).\n"},"level":"error","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs","byte_start":8289,"byte_end":8294,"line_start":217,"line_end":217,"column_start":46,"column_end":51,"is_primary":true,"text":[{"text":"            struct EventDetails<'a>(&'a sys::Event);","highlight_start":46,"highlight_end":51}],"label":"not found in `sys`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this struct through its public re-export","code":null,"level":"help","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use crate::{sys, Token};","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use crate::event::Event;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"if you import `Event`, refer to it directly","code":null,"level":"help","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs","byte_start":8284,"byte_end":8289,"line_start":217,"line_end":217,"column_start":41,"column_end":46,"is_primary":true,"text":[{"text":"            struct EventDetails<'a>(&'a sys::Event);","highlight_start":41,"highlight_end":46}],"label":null,"suggested_replacement":"","suggestion_applicability":"Unspecified","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0425]\u001b[0m\u001b[1m: cannot find type `Event` in module `sys`\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/event.rs:217:46\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m217\u001b[0m \u001b[1m\u001b[94m|\u001b[0m             struct EventDetails<'a>(&'a sys::Event);\n    \u001b[1m\u001b[94m|\u001b[0m                                              \u001b[1m\u001b[91m^^^^^\u001b[0m \u001b[1m\u001b[91mnot found in `sys`\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: consider importing this struct through its public re-export\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m  1\u001b[0m \u001b[92m+ use crate::event::Event;\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: if you import `Event`, refer to it directly\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m217\u001b[0m \u001b[91m- \u001b[0m            struct EventDetails<'a>(&'a \u001b[91msys::\u001b[0mEvent);\n\u001b[1m\u001b[94m217\u001b[0m \u001b[92m+ \u001b[0m            struct EventDetails<'a>(&'a Event);\n    \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find type `Events` in module `sys`","code":{"code":"E0425","explanation":"An unresolved name was used.\n\nErroneous code examples:\n\n```compile_fail,E0425\nsomething_that_doesnt_exist::foo;\n// error: unresolved name `something_that_doesnt_exist::foo`\n\n// or:\n\ntrait Foo {\n    fn bar() {\n        Self; // error: unresolved name `Self`\n    }\n}\n\n// or:\n\nlet x = unknown_variable;  // error: unresolved name `unknown_variable`\n```\n\nPlease verify that the name wasn't misspelled and ensure that the\nidentifier being referred to is valid for the given situation. Example:\n\n```\nenum something_that_does_exist {\n    Foo,\n}\n```\n\nOr:\n\n```\nmod something_that_does_exist {\n    pub static foo : i32 = 0i32;\n}\n\nsomething_that_does_exist::foo; // ok!\n```\n\nOr:\n\n```\nlet unknown_variable = 12u32;\nlet x = unknown_variable; // ok!\n```\n\nIf the item is not defined in the current module, it must be imported using a\n`use` statement, like so:\n\n```\n# mod foo { pub fn bar() {} }\n# fn main() {\nuse foo::bar;\nbar();\n# }\n```\n\nIf the item you are importing is not defined in some super-module of the\ncurrent module, then it must also be declared as public (e.g., `pub fn`).\n"},"level":"error","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/events.rs","byte_start":1192,"byte_end":1198,"line_start":43,"line_end":43,"column_start":17,"column_end":23,"is_primary":true,"text":[{"text":"    inner: sys::Events,","highlight_start":17,"highlight_end":23}],"label":"not found in `sys`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this struct through its public re-export","code":null,"level":"help","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/events.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use crate::event::Event;","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use crate::Events;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"if you import `Events`, refer to it directly","code":null,"level":"help","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/events.rs","byte_start":1187,"byte_end":1192,"line_start":43,"line_end":43,"column_start":12,"column_end":17,"is_primary":true,"text":[{"text":"    inner: sys::Events,","highlight_start":12,"highlight_end":17}],"label":null,"suggested_replacement":"","suggestion_applicability":"Unspecified","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0425]\u001b[0m\u001b[1m: cannot find type `Events` in module `sys`\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/events.rs:43:17\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m43\u001b[0m \u001b[1m\u001b[94m|\u001b[0m     inner: sys::Events,\n   \u001b[1m\u001b[94m|\u001b[0m                 \u001b[1m\u001b[91m^^^^^^\u001b[0m \u001b[1m\u001b[91mnot found in `sys`\u001b[0m\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: consider importing this struct through its public re-export\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use crate::Events;\u001b[0m\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: if you import `Events`, refer to it directly\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m43\u001b[0m \u001b[91m- \u001b[0m    inner: \u001b[91msys::\u001b[0mEvents,\n\u001b[1m\u001b[94m43\u001b[0m \u001b[92m+ \u001b[0m    inner: Events,\n   \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find `Events` in `sys`","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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/events.rs","byte_start":2429,"byte_end":2435,"line_start":94,"line_end":94,"column_start":25,"column_end":31,"is_primary":true,"text":[{"text":"            inner: sys::Events::with_capacity(capacity),","highlight_start":25,"highlight_end":31}],"label":"could not find `Events` in `sys`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this struct through its public re-export","code":null,"level":"help","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/events.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use crate::event::Event;","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use crate::Events;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"if you import `Events`, refer to it directly","code":null,"level":"help","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/events.rs","byte_start":2424,"byte_end":2429,"line_start":94,"line_end":94,"column_start":20,"column_end":25,"is_primary":true,"text":[{"text":"            inner: sys::Events::with_capacity(capacity),","highlight_start":20,"highlight_end":25}],"label":null,"suggested_replacement":"","suggestion_applicability":"Unspecified","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find `Events` in `sys`\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/events.rs:94:25\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m94\u001b[0m \u001b[1m\u001b[94m|\u001b[0m             inner: sys::Events::with_capacity(capacity),\n   \u001b[1m\u001b[94m|\u001b[0m                         \u001b[1m\u001b[91m^^^^^^\u001b[0m \u001b[1m\u001b[91mcould not find `Events` in `sys`\u001b[0m\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: consider importing this struct through its public re-export\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 1\u001b[0m \u001b[92m+ use crate::Events;\u001b[0m\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: if you import `Events`, refer to it directly\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m94\u001b[0m \u001b[91m- \u001b[0m            inner: \u001b[91msys::\u001b[0mEvents::with_capacity(capacity),\n\u001b[1m\u001b[94m94\u001b[0m \u001b[92m+ \u001b[0m            inner: Events::with_capacity(capacity),\n   \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find type `Events` in module `sys`","code":{"code":"E0425","explanation":"An unresolved name was used.\n\nErroneous code examples:\n\n```compile_fail,E0425\nsomething_that_doesnt_exist::foo;\n// error: unresolved name `something_that_doesnt_exist::foo`\n\n// or:\n\ntrait Foo {\n    fn bar() {\n        Self; // error: unresolved name `Self`\n    }\n}\n\n// or:\n\nlet x = unknown_variable;  // error: unresolved name `unknown_variable`\n```\n\nPlease verify that the name wasn't misspelled and ensure that the\nidentifier being referred to is valid for the given situation. Example:\n\n```\nenum something_that_does_exist {\n    Foo,\n}\n```\n\nOr:\n\n```\nmod something_that_does_exist {\n    pub static foo : i32 = 0i32;\n}\n\nsomething_that_does_exist::foo; // ok!\n```\n\nOr:\n\n```\nlet unknown_variable = 12u32;\nlet x = unknown_variable; // ok!\n```\n\nIf the item is not defined in the current module, it must be imported using a\n`use` statement, like so:\n\n```\n# mod foo { pub fn bar() {} }\n# fn main() {\nuse foo::bar;\nbar();\n# }\n```\n\nIf the item you are importing is not defined in some super-module of the\ncurrent module, then it must also be declared as public (e.g., `pub fn`).\n"},"level":"error","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/events.rs","byte_start":4953,"byte_end":4959,"line_start":189,"line_end":189,"column_start":47,"column_end":53,"is_primary":true,"text":[{"text":"    pub(crate) fn sys(&mut self) -> &mut sys::Events {","highlight_start":47,"highlight_end":53}],"label":"not found in `sys`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this struct through its public re-export","code":null,"level":"help","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/events.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use crate::event::Event;","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"use crate::Events;\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"if you import `Events`, refer to it directly","code":null,"level":"help","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/events.rs","byte_start":4948,"byte_end":4953,"line_start":189,"line_end":189,"column_start":42,"column_end":47,"is_primary":true,"text":[{"text":"    pub(crate) fn sys(&mut self) -> &mut sys::Events {","highlight_start":42,"highlight_end":47}],"label":null,"suggested_replacement":"","suggestion_applicability":"Unspecified","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0425]\u001b[0m\u001b[1m: cannot find type `Events` in module `sys`\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/events.rs:189:47\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m189\u001b[0m \u001b[1m\u001b[94m|\u001b[0m     pub(crate) fn sys(&mut self) -> &mut sys::Events {\n    \u001b[1m\u001b[94m|\u001b[0m                                               \u001b[1m\u001b[91m^^^^^^\u001b[0m \u001b[1m\u001b[91mnot found in `sys`\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: consider importing this struct through its public re-export\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m  1\u001b[0m \u001b[92m+ use crate::Events;\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: if you import `Events`, refer to it directly\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m189\u001b[0m \u001b[91m- \u001b[0m    pub(crate) fn sys(&mut self) -> &mut \u001b[91msys::\u001b[0mEvents {\n\u001b[1m\u001b[94m189\u001b[0m \u001b[92m+ \u001b[0m    pub(crate) fn sys(&mut self) -> &mut Events {\n    \u001b[1m\u001b[94m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find value `listener` in this scope","code":{"code":"E0425","explanation":"An unresolved name was used.\n\nErroneous code examples:\n\n```compile_fail,E0425\nsomething_that_doesnt_exist::foo;\n// error: unresolved name `something_that_doesnt_exist::foo`\n\n// or:\n\ntrait Foo {\n    fn bar() {\n        Self; // error: unresolved name `Self`\n    }\n}\n\n// or:\n\nlet x = unknown_variable;  // error: unresolved name `unknown_variable`\n```\n\nPlease verify that the name wasn't misspelled and ensure that the\nidentifier being referred to is valid for the given situation. Example:\n\n```\nenum something_that_does_exist {\n    Foo,\n}\n```\n\nOr:\n\n```\nmod something_that_does_exist {\n    pub static foo : i32 = 0i32;\n}\n\nsomething_that_does_exist::foo; // ok!\n```\n\nOr:\n\n```\nlet unknown_variable = 12u32;\nlet x = unknown_variable; // ok!\n```\n\nIf the item is not defined in the current module, it must be imported using a\n`use` statement, like so:\n\n```\n# mod foo { pub fn bar() {} }\n# fn main() {\nuse foo::bar;\nbar();\n# }\n```\n\nIf the item you are importing is not defined in some super-module of the\ncurrent module, then it must also be declared as public (e.g., `pub fn`).\n"},"level":"error","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/listener.rs","byte_start":3050,"byte_end":3058,"line_start":81,"line_end":81,"column_start":24,"column_end":32,"is_primary":true,"text":[{"text":"        set_reuseaddr(&listener.inner, true)?;","highlight_start":24,"highlight_end":32}],"label":"not found in this scope","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0425]\u001b[0m\u001b[1m: cannot find value `listener` in this scope\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/listener.rs:81:24\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m81\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         set_reuseaddr(&listener.inner, true)?;\n   \u001b[1m\u001b[94m|\u001b[0m                        \u001b[1m\u001b[91m^^^^^^^^\u001b[0m \u001b[1m\u001b[91mnot found in this scope\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find value `listener` in this scope","code":{"code":"E0425","explanation":"An unresolved name was used.\n\nErroneous code examples:\n\n```compile_fail,E0425\nsomething_that_doesnt_exist::foo;\n// error: unresolved name `something_that_doesnt_exist::foo`\n\n// or:\n\ntrait Foo {\n    fn bar() {\n        Self; // error: unresolved name `Self`\n    }\n}\n\n// or:\n\nlet x = unknown_variable;  // error: unresolved name `unknown_variable`\n```\n\nPlease verify that the name wasn't misspelled and ensure that the\nidentifier being referred to is valid for the given situation. Example:\n\n```\nenum something_that_does_exist {\n    Foo,\n}\n```\n\nOr:\n\n```\nmod something_that_does_exist {\n    pub static foo : i32 = 0i32;\n}\n\nsomething_that_does_exist::foo; // ok!\n```\n\nOr:\n\n```\nlet unknown_variable = 12u32;\nlet x = unknown_variable; // ok!\n```\n\nIf the item is not defined in the current module, it must be imported using a\n`use` statement, like so:\n\n```\n# mod foo { pub fn bar() {} }\n# fn main() {\nuse foo::bar;\nbar();\n# }\n```\n\nIf the item you are importing is not defined in some super-module of the\ncurrent module, then it must also be declared as public (e.g., `pub fn`).\n"},"level":"error","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/listener.rs","byte_start":3089,"byte_end":3097,"line_start":83,"line_end":83,"column_start":15,"column_end":23,"is_primary":true,"text":[{"text":"        bind(&listener.inner, addr)?;","highlight_start":15,"highlight_end":23}],"label":"not found in this scope","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0425]\u001b[0m\u001b[1m: cannot find value `listener` in this scope\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/listener.rs:83:15\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m83\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         bind(&listener.inner, addr)?;\n   \u001b[1m\u001b[94m|\u001b[0m               \u001b[1m\u001b[91m^^^^^^^^\u001b[0m \u001b[1m\u001b[91mnot found in this scope\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find value `listener` in this scope","code":{"code":"E0425","explanation":"An unresolved name was used.\n\nErroneous code examples:\n\n```compile_fail,E0425\nsomething_that_doesnt_exist::foo;\n// error: unresolved name `something_that_doesnt_exist::foo`\n\n// or:\n\ntrait Foo {\n    fn bar() {\n        Self; // error: unresolved name `Self`\n    }\n}\n\n// or:\n\nlet x = unknown_variable;  // error: unresolved name `unknown_variable`\n```\n\nPlease verify that the name wasn't misspelled and ensure that the\nidentifier being referred to is valid for the given situation. Example:\n\n```\nenum something_that_does_exist {\n    Foo,\n}\n```\n\nOr:\n\n```\nmod something_that_does_exist {\n    pub static foo : i32 = 0i32;\n}\n\nsomething_that_does_exist::foo; // ok!\n```\n\nOr:\n\n```\nlet unknown_variable = 12u32;\nlet x = unknown_variable; // ok!\n```\n\nIf the item is not defined in the current module, it must be imported using a\n`use` statement, like so:\n\n```\n# mod foo { pub fn bar() {} }\n# fn main() {\nuse foo::bar;\nbar();\n# }\n```\n\nIf the item you are importing is not defined in some super-module of the\ncurrent module, then it must also be declared as public (e.g., `pub fn`).\n"},"level":"error","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/listener.rs","byte_start":3129,"byte_end":3137,"line_start":84,"line_end":84,"column_start":17,"column_end":25,"is_primary":true,"text":[{"text":"        listen(&listener.inner, LISTEN_BACKLOG_SIZE)?;","highlight_start":17,"highlight_end":25}],"label":"not found in this scope","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0425]\u001b[0m\u001b[1m: cannot find value `listener` in this scope\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/listener.rs:84:17\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m84\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         listen(&listener.inner, LISTEN_BACKLOG_SIZE)?;\n   \u001b[1m\u001b[94m|\u001b[0m                 \u001b[1m\u001b[91m^^^^^^^^\u001b[0m \u001b[1m\u001b[91mnot found in this scope\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find value `listener` in this scope","code":{"code":"E0425","explanation":"An unresolved name was used.\n\nErroneous code examples:\n\n```compile_fail,E0425\nsomething_that_doesnt_exist::foo;\n// error: unresolved name `something_that_doesnt_exist::foo`\n\n// or:\n\ntrait Foo {\n    fn bar() {\n        Self; // error: unresolved name `Self`\n    }\n}\n\n// or:\n\nlet x = unknown_variable;  // error: unresolved name `unknown_variable`\n```\n\nPlease verify that the name wasn't misspelled and ensure that the\nidentifier being referred to is valid for the given situation. Example:\n\n```\nenum something_that_does_exist {\n    Foo,\n}\n```\n\nOr:\n\n```\nmod something_that_does_exist {\n    pub static foo : i32 = 0i32;\n}\n\nsomething_that_does_exist::foo; // ok!\n```\n\nOr:\n\n```\nlet unknown_variable = 12u32;\nlet x = unknown_variable; // ok!\n```\n\nIf the item is not defined in the current module, it must be imported using a\n`use` statement, like so:\n\n```\n# mod foo { pub fn bar() {} }\n# fn main() {\nuse foo::bar;\nbar();\n# }\n```\n\nIf the item you are importing is not defined in some super-module of the\ncurrent module, then it must also be declared as public (e.g., `pub fn`).\n"},"level":"error","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/listener.rs","byte_start":3179,"byte_end":3187,"line_start":85,"line_end":85,"column_start":12,"column_end":20,"is_primary":true,"text":[{"text":"        Ok(listener)","highlight_start":12,"highlight_end":20}],"label":"not found in this scope","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0425]\u001b[0m\u001b[1m: cannot find value `listener` in this scope\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/listener.rs:85:12\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m85\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         Ok(listener)\n   \u001b[1m\u001b[94m|\u001b[0m            \u001b[1m\u001b[91m^^^^^^^^\u001b[0m \u001b[1m\u001b[91mnot found in this scope\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find value `stream` in this scope","code":{"code":"E0425","explanation":"An unresolved name was used.\n\nErroneous code examples:\n\n```compile_fail,E0425\nsomething_that_doesnt_exist::foo;\n// error: unresolved name `something_that_doesnt_exist::foo`\n\n// or:\n\ntrait Foo {\n    fn bar() {\n        Self; // error: unresolved name `Self`\n    }\n}\n\n// or:\n\nlet x = unknown_variable;  // error: unresolved name `unknown_variable`\n```\n\nPlease verify that the name wasn't misspelled and ensure that the\nidentifier being referred to is valid for the given situation. Example:\n\n```\nenum something_that_does_exist {\n    Foo,\n}\n```\n\nOr:\n\n```\nmod something_that_does_exist {\n    pub static foo : i32 = 0i32;\n}\n\nsomething_that_does_exist::foo; // ok!\n```\n\nOr:\n\n```\nlet unknown_variable = 12u32;\nlet x = unknown_variable; // ok!\n```\n\nIf the item is not defined in the current module, it must be imported using a\n`use` statement, like so:\n\n```\n# mod foo { pub fn bar() {} }\n# fn main() {\nuse foo::bar;\nbar();\n# }\n```\n\nIf the item you are importing is not defined in some super-module of the\ncurrent module, then it must also be declared as public (e.g., `pub fn`).\n"},"level":"error","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/stream.rs","byte_start":3979,"byte_end":3985,"line_start":97,"line_end":97,"column_start":18,"column_end":24,"is_primary":true,"text":[{"text":"        connect(&stream.inner, addr)?;","highlight_start":18,"highlight_end":24}],"label":"not found in this scope","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0425]\u001b[0m\u001b[1m: cannot find value `stream` in this scope\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/stream.rs:97:18\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m97\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         connect(&stream.inner, addr)?;\n   \u001b[1m\u001b[94m|\u001b[0m                  \u001b[1m\u001b[91m^^^^^^\u001b[0m \u001b[1m\u001b[91mnot found in this scope\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find value `stream` in this scope","code":{"code":"E0425","explanation":"An unresolved name was used.\n\nErroneous code examples:\n\n```compile_fail,E0425\nsomething_that_doesnt_exist::foo;\n// error: unresolved name `something_that_doesnt_exist::foo`\n\n// or:\n\ntrait Foo {\n    fn bar() {\n        Self; // error: unresolved name `Self`\n    }\n}\n\n// or:\n\nlet x = unknown_variable;  // error: unresolved name `unknown_variable`\n```\n\nPlease verify that the name wasn't misspelled and ensure that the\nidentifier being referred to is valid for the given situation. Example:\n\n```\nenum something_that_does_exist {\n    Foo,\n}\n```\n\nOr:\n\n```\nmod something_that_does_exist {\n    pub static foo : i32 = 0i32;\n}\n\nsomething_that_does_exist::foo; // ok!\n```\n\nOr:\n\n```\nlet unknown_variable = 12u32;\nlet x = unknown_variable; // ok!\n```\n\nIf the item is not defined in the current module, it must be imported using a\n`use` statement, like so:\n\n```\n# mod foo { pub fn bar() {} }\n# fn main() {\nuse foo::bar;\nbar();\n# }\n```\n\nIf the item you are importing is not defined in some super-module of the\ncurrent module, then it must also be declared as public (e.g., `pub fn`).\n"},"level":"error","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/stream.rs","byte_start":4012,"byte_end":4018,"line_start":98,"line_end":98,"column_start":12,"column_end":18,"is_primary":true,"text":[{"text":"        Ok(stream)","highlight_start":12,"highlight_end":18}],"label":"not found in this scope","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0425]\u001b[0m\u001b[1m: cannot find value `stream` in this scope\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/stream.rs:98:12\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m98\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         Ok(stream)\n   \u001b[1m\u001b[94m|\u001b[0m            \u001b[1m\u001b[91m^^^^^^\u001b[0m \u001b[1m\u001b[91mnot found in this scope\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"cannot find module or crate `libc` 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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/sys/mod.rs","byte_start":4785,"byte_end":4789,"line_start":147,"line_end":147,"column_start":45,"column_end":49,"is_primary":true,"text":[{"text":"pub(crate) const LISTEN_BACKLOG_SIZE: i32 = libc::SOMAXCONN;","highlight_start":45,"highlight_end":49}],"label":"use of unresolved module or unlinked crate `libc`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"if you wanted to use a crate named `libc`, use `cargo add libc` 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 `libc` in this scope\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/sys/mod.rs:147:45\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m147\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub(crate) const LISTEN_BACKLOG_SIZE: i32 = libc::SOMAXCONN;\n    \u001b[1m\u001b[94m|\u001b[0m                                             \u001b[1m\u001b[91m^^^^\u001b[0m \u001b[1m\u001b[91muse of unresolved module or unlinked crate `libc`\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 `libc`, use `cargo add libc` to add it to your `Cargo.toml`\n\n"}
{"$message_type":"diagnostic","message":"cannot find function `set_reuseaddr` in this scope","code":{"code":"E0425","explanation":"An unresolved name was used.\n\nErroneous code examples:\n\n```compile_fail,E0425\nsomething_that_doesnt_exist::foo;\n// error: unresolved name `something_that_doesnt_exist::foo`\n\n// or:\n\ntrait Foo {\n    fn bar() {\n        Self; // error: unresolved name `Self`\n    }\n}\n\n// or:\n\nlet x = unknown_variable;  // error: unresolved name `unknown_variable`\n```\n\nPlease verify that the name wasn't misspelled and ensure that the\nidentifier being referred to is valid for the given situation. Example:\n\n```\nenum something_that_does_exist {\n    Foo,\n}\n```\n\nOr:\n\n```\nmod something_that_does_exist {\n    pub static foo : i32 = 0i32;\n}\n\nsomething_that_does_exist::foo; // ok!\n```\n\nOr:\n\n```\nlet unknown_variable = 12u32;\nlet x = unknown_variable; // ok!\n```\n\nIf the item is not defined in the current module, it must be imported using a\n`use` statement, like so:\n\n```\n# mod foo { pub fn bar() {} }\n# fn main() {\nuse foo::bar;\nbar();\n# }\n```\n\nIf the item you are importing is not defined in some super-module of the\ncurrent module, then it must also be declared as public (e.g., `pub fn`).\n"},"level":"error","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/listener.rs","byte_start":3035,"byte_end":3048,"line_start":81,"line_end":81,"column_start":9,"column_end":22,"is_primary":true,"text":[{"text":"        set_reuseaddr(&listener.inner, true)?;","highlight_start":9,"highlight_end":22}],"label":"not found in this scope","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0425]\u001b[0m\u001b[1m: cannot find function `set_reuseaddr` in this scope\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/listener.rs:81:9\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m81\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         set_reuseaddr(&listener.inner, true)?;\n   \u001b[1m\u001b[94m|\u001b[0m         \u001b[1m\u001b[91m^^^^^^^^^^^^^\u001b[0m \u001b[1m\u001b[91mnot found in this scope\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `register` found for struct `IoSource<std::net::TcpListener>` 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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/listener.rs","byte_start":5509,"byte_end":5517,"line_start":153,"line_end":153,"column_start":20,"column_end":28,"is_primary":true,"text":[{"text":"        self.inner.register(registry, token, interests)","highlight_start":20,"highlight_end":28}],"label":"method not found in `IoSource<std::net::TcpListener>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/io_source.rs","byte_start":1302,"byte_end":1324,"line_start":37,"line_end":37,"column_start":1,"column_end":23,"is_primary":false,"text":[{"text":"pub struct IoSource<T> {","highlight_start":1,"highlight_end":23}],"label":"method `register` not found for this struct","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":"`Source` defines an item `register`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/source.rs","byte_start":2592,"byte_end":2608,"line_start":75,"line_end":75,"column_start":1,"column_end":17,"is_primary":true,"text":[{"text":"pub trait Source {","highlight_start":1,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `register` found for struct `IoSource<std::net::TcpListener>` in the current scope\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/listener.rs:153:20\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m153\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         self.inner.register(registry, token, interests)\n    \u001b[1m\u001b[94m|\u001b[0m                    \u001b[1m\u001b[91m^^^^^^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `IoSource<std::net::TcpListener>`\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n   \u001b[1m\u001b[94m::: \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/io_source.rs:37:1\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 37\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub struct IoSource<T> {\n    \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m----------------------\u001b[0m \u001b[1m\u001b[94mmethod `register` not found for this struct\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[92mnote\u001b[0m: `Source` defines an item `register`, perhaps you need to implement it\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/source.rs:75:1\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 75\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub trait Source {\n    \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[92m^^^^^^^^^^^^^^^^\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `reregister` found for struct `IoSource<std::net::TcpListener>` 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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/listener.rs","byte_start":5716,"byte_end":5726,"line_start":162,"line_end":162,"column_start":20,"column_end":30,"is_primary":true,"text":[{"text":"        self.inner.reregister(registry, token, interests)","highlight_start":20,"highlight_end":30}],"label":"method not found in `IoSource<std::net::TcpListener>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/io_source.rs","byte_start":1302,"byte_end":1324,"line_start":37,"line_end":37,"column_start":1,"column_end":23,"is_primary":false,"text":[{"text":"pub struct IoSource<T> {","highlight_start":1,"highlight_end":23}],"label":"method `reregister` not found for this struct","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":"`Source` defines an item `reregister`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/source.rs","byte_start":2592,"byte_end":2608,"line_start":75,"line_end":75,"column_start":1,"column_end":17,"is_primary":true,"text":[{"text":"pub trait Source {","highlight_start":1,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `reregister` found for struct `IoSource<std::net::TcpListener>` in the current scope\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/listener.rs:162:20\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m162\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         self.inner.reregister(registry, token, interests)\n    \u001b[1m\u001b[94m|\u001b[0m                    \u001b[1m\u001b[91m^^^^^^^^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `IoSource<std::net::TcpListener>`\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n   \u001b[1m\u001b[94m::: \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/io_source.rs:37:1\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 37\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub struct IoSource<T> {\n    \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m----------------------\u001b[0m \u001b[1m\u001b[94mmethod `reregister` not found for this struct\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[92mnote\u001b[0m: `Source` defines an item `reregister`, perhaps you need to implement it\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/source.rs:75:1\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 75\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub trait Source {\n    \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[92m^^^^^^^^^^^^^^^^\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `deregister` found for struct `IoSource<std::net::TcpListener>` 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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/listener.rs","byte_start":5851,"byte_end":5861,"line_start":166,"line_end":166,"column_start":20,"column_end":30,"is_primary":true,"text":[{"text":"        self.inner.deregister(registry)","highlight_start":20,"highlight_end":30}],"label":"method not found in `IoSource<std::net::TcpListener>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/io_source.rs","byte_start":1302,"byte_end":1324,"line_start":37,"line_end":37,"column_start":1,"column_end":23,"is_primary":false,"text":[{"text":"pub struct IoSource<T> {","highlight_start":1,"highlight_end":23}],"label":"method `deregister` not found for this struct","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":"`Source` defines an item `deregister`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/source.rs","byte_start":2592,"byte_end":2608,"line_start":75,"line_end":75,"column_start":1,"column_end":17,"is_primary":true,"text":[{"text":"pub trait Source {","highlight_start":1,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `deregister` found for struct `IoSource<std::net::TcpListener>` in the current scope\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/listener.rs:166:20\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m166\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         self.inner.deregister(registry)\n    \u001b[1m\u001b[94m|\u001b[0m                    \u001b[1m\u001b[91m^^^^^^^^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `IoSource<std::net::TcpListener>`\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n   \u001b[1m\u001b[94m::: \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/io_source.rs:37:1\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 37\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub struct IoSource<T> {\n    \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m----------------------\u001b[0m \u001b[1m\u001b[94mmethod `deregister` not found for this struct\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[92mnote\u001b[0m: `Source` defines an item `deregister`, perhaps you need to implement it\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/source.rs:75:1\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 75\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub trait Source {\n    \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[92m^^^^^^^^^^^^^^^^\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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/listener.rs","byte_start":9091,"byte_end":9413,"line_start":289,"line_end":298,"column_start":9,"column_end":10,"is_primary":true,"text":[{"text":"        unsafe {","highlight_start":9,"highlight_end":17},{"text":"            #[cfg(any(unix, target_os = \"hermit\", target_os = \"wasi\"))]","highlight_start":1,"highlight_end":72},{"text":"            {","highlight_start":1,"highlight_end":14},{"text":"                net::TcpListener::from_raw_fd(listener.into_raw_fd())","highlight_start":1,"highlight_end":70},{"text":"            }","highlight_start":1,"highlight_end":14},{"text":"            #[cfg(windows)]","highlight_start":1,"highlight_end":28},{"text":"            {","highlight_start":1,"highlight_end":14},{"text":"                net::TcpListener::from_raw_socket(listener.into_raw_socket())","highlight_start":1,"highlight_end":78},{"text":"            }","highlight_start":1,"highlight_end":14},{"text":"        }","highlight_start":1,"highlight_end":10}],"label":"expected `TcpListener`, found `()`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0308]\u001b[0m\u001b[1m: mismatched types\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/listener.rs:289:9\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m289\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m/\u001b[0m         unsafe {\n\u001b[1m\u001b[94m290\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m             #[cfg(any(unix, target_os = \"hermit\", target_os = \"wasi\"))]\n\u001b[1m\u001b[94m291\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m             {\n\u001b[1m\u001b[94m292\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m                 net::TcpListener::from_raw_fd(listener.into_raw_fd())\n\u001b[1m\u001b[94m...\u001b[0m   \u001b[1m\u001b[91m|\u001b[0m\n\u001b[1m\u001b[94m298\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m         }\n    \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|_________^\u001b[0m \u001b[1m\u001b[91mexpected `TcpListener`, found `()`\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `register` found for struct `IoSource<std::net::TcpStream>` 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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/stream.rs","byte_start":12371,"byte_end":12379,"line_start":334,"line_end":334,"column_start":20,"column_end":28,"is_primary":true,"text":[{"text":"        self.inner.register(registry, token, interests)","highlight_start":20,"highlight_end":28}],"label":"method not found in `IoSource<std::net::TcpStream>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/io_source.rs","byte_start":1302,"byte_end":1324,"line_start":37,"line_end":37,"column_start":1,"column_end":23,"is_primary":false,"text":[{"text":"pub struct IoSource<T> {","highlight_start":1,"highlight_end":23}],"label":"method `register` not found for this struct","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":"`Source` defines an item `register`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/source.rs","byte_start":2592,"byte_end":2608,"line_start":75,"line_end":75,"column_start":1,"column_end":17,"is_primary":true,"text":[{"text":"pub trait Source {","highlight_start":1,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `register` found for struct `IoSource<std::net::TcpStream>` in the current scope\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/stream.rs:334:20\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m334\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         self.inner.register(registry, token, interests)\n    \u001b[1m\u001b[94m|\u001b[0m                    \u001b[1m\u001b[91m^^^^^^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `IoSource<std::net::TcpStream>`\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n   \u001b[1m\u001b[94m::: \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/io_source.rs:37:1\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 37\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub struct IoSource<T> {\n    \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m----------------------\u001b[0m \u001b[1m\u001b[94mmethod `register` not found for this struct\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[92mnote\u001b[0m: `Source` defines an item `register`, perhaps you need to implement it\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/source.rs:75:1\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 75\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub trait Source {\n    \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[92m^^^^^^^^^^^^^^^^\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `reregister` found for struct `IoSource<std::net::TcpStream>` 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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/stream.rs","byte_start":12578,"byte_end":12588,"line_start":343,"line_end":343,"column_start":20,"column_end":30,"is_primary":true,"text":[{"text":"        self.inner.reregister(registry, token, interests)","highlight_start":20,"highlight_end":30}],"label":"method not found in `IoSource<std::net::TcpStream>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/io_source.rs","byte_start":1302,"byte_end":1324,"line_start":37,"line_end":37,"column_start":1,"column_end":23,"is_primary":false,"text":[{"text":"pub struct IoSource<T> {","highlight_start":1,"highlight_end":23}],"label":"method `reregister` not found for this struct","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":"`Source` defines an item `reregister`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/source.rs","byte_start":2592,"byte_end":2608,"line_start":75,"line_end":75,"column_start":1,"column_end":17,"is_primary":true,"text":[{"text":"pub trait Source {","highlight_start":1,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `reregister` found for struct `IoSource<std::net::TcpStream>` in the current scope\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/stream.rs:343:20\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m343\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         self.inner.reregister(registry, token, interests)\n    \u001b[1m\u001b[94m|\u001b[0m                    \u001b[1m\u001b[91m^^^^^^^^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `IoSource<std::net::TcpStream>`\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n   \u001b[1m\u001b[94m::: \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/io_source.rs:37:1\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 37\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub struct IoSource<T> {\n    \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m----------------------\u001b[0m \u001b[1m\u001b[94mmethod `reregister` not found for this struct\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[92mnote\u001b[0m: `Source` defines an item `reregister`, perhaps you need to implement it\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/source.rs:75:1\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 75\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub trait Source {\n    \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[92m^^^^^^^^^^^^^^^^\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `deregister` found for struct `IoSource<std::net::TcpStream>` 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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/stream.rs","byte_start":12713,"byte_end":12723,"line_start":347,"line_end":347,"column_start":20,"column_end":30,"is_primary":true,"text":[{"text":"        self.inner.deregister(registry)","highlight_start":20,"highlight_end":30}],"label":"method not found in `IoSource<std::net::TcpStream>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/io_source.rs","byte_start":1302,"byte_end":1324,"line_start":37,"line_end":37,"column_start":1,"column_end":23,"is_primary":false,"text":[{"text":"pub struct IoSource<T> {","highlight_start":1,"highlight_end":23}],"label":"method `deregister` not found for this struct","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":"`Source` defines an item `deregister`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/source.rs","byte_start":2592,"byte_end":2608,"line_start":75,"line_end":75,"column_start":1,"column_end":17,"is_primary":true,"text":[{"text":"pub trait Source {","highlight_start":1,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `deregister` found for struct `IoSource<std::net::TcpStream>` in the current scope\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/stream.rs:347:20\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m347\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         self.inner.deregister(registry)\n    \u001b[1m\u001b[94m|\u001b[0m                    \u001b[1m\u001b[91m^^^^^^^^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `IoSource<std::net::TcpStream>`\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n   \u001b[1m\u001b[94m::: \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/io_source.rs:37:1\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 37\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub struct IoSource<T> {\n    \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m----------------------\u001b[0m \u001b[1m\u001b[94mmethod `deregister` not found for this struct\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[92mnote\u001b[0m: `Source` defines an item `deregister`, perhaps you need to implement it\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/source.rs:75:1\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 75\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub trait Source {\n    \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[92m^^^^^^^^^^^^^^^^\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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/stream.rs","byte_start":15885,"byte_end":16199,"line_start":470,"line_end":479,"column_start":9,"column_end":10,"is_primary":true,"text":[{"text":"        unsafe {","highlight_start":9,"highlight_end":17},{"text":"            #[cfg(any(unix, target_os = \"hermit\", target_os = \"wasi\"))]","highlight_start":1,"highlight_end":72},{"text":"            {","highlight_start":1,"highlight_end":14},{"text":"                net::TcpStream::from_raw_fd(stream.into_raw_fd())","highlight_start":1,"highlight_end":66},{"text":"            }","highlight_start":1,"highlight_end":14},{"text":"            #[cfg(windows)]","highlight_start":1,"highlight_end":28},{"text":"            {","highlight_start":1,"highlight_end":14},{"text":"                net::TcpStream::from_raw_socket(stream.into_raw_socket())","highlight_start":1,"highlight_end":74},{"text":"            }","highlight_start":1,"highlight_end":14},{"text":"        }","highlight_start":1,"highlight_end":10}],"label":"expected `TcpStream`, found `()`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0308]\u001b[0m\u001b[1m: mismatched types\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/tcp/stream.rs:470:9\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m470\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m/\u001b[0m         unsafe {\n\u001b[1m\u001b[94m471\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m             #[cfg(any(unix, target_os = \"hermit\", target_os = \"wasi\"))]\n\u001b[1m\u001b[94m472\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m             {\n\u001b[1m\u001b[94m473\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m                 net::TcpStream::from_raw_fd(stream.into_raw_fd())\n\u001b[1m\u001b[94m...\u001b[0m   \u001b[1m\u001b[91m|\u001b[0m\n\u001b[1m\u001b[94m479\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m         }\n    \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|_________^\u001b[0m \u001b[1m\u001b[91mexpected `TcpStream`, found `()`\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `register` found for struct `IoSource<std::net::UdpSocket>` 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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/udp.rs","byte_start":22701,"byte_end":22709,"line_start":626,"line_end":626,"column_start":20,"column_end":28,"is_primary":true,"text":[{"text":"        self.inner.register(registry, token, interests)","highlight_start":20,"highlight_end":28}],"label":"method not found in `IoSource<std::net::UdpSocket>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/io_source.rs","byte_start":1302,"byte_end":1324,"line_start":37,"line_end":37,"column_start":1,"column_end":23,"is_primary":false,"text":[{"text":"pub struct IoSource<T> {","highlight_start":1,"highlight_end":23}],"label":"method `register` not found for this struct","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":"`Source` defines an item `register`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/source.rs","byte_start":2592,"byte_end":2608,"line_start":75,"line_end":75,"column_start":1,"column_end":17,"is_primary":true,"text":[{"text":"pub trait Source {","highlight_start":1,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `register` found for struct `IoSource<std::net::UdpSocket>` in the current scope\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/udp.rs:626:20\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m626\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         self.inner.register(registry, token, interests)\n    \u001b[1m\u001b[94m|\u001b[0m                    \u001b[1m\u001b[91m^^^^^^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `IoSource<std::net::UdpSocket>`\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n   \u001b[1m\u001b[94m::: \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/io_source.rs:37:1\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 37\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub struct IoSource<T> {\n    \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m----------------------\u001b[0m \u001b[1m\u001b[94mmethod `register` not found for this struct\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[92mnote\u001b[0m: `Source` defines an item `register`, perhaps you need to implement it\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/source.rs:75:1\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 75\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub trait Source {\n    \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[92m^^^^^^^^^^^^^^^^\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `reregister` found for struct `IoSource<std::net::UdpSocket>` 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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/udp.rs","byte_start":22908,"byte_end":22918,"line_start":635,"line_end":635,"column_start":20,"column_end":30,"is_primary":true,"text":[{"text":"        self.inner.reregister(registry, token, interests)","highlight_start":20,"highlight_end":30}],"label":"method not found in `IoSource<std::net::UdpSocket>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/io_source.rs","byte_start":1302,"byte_end":1324,"line_start":37,"line_end":37,"column_start":1,"column_end":23,"is_primary":false,"text":[{"text":"pub struct IoSource<T> {","highlight_start":1,"highlight_end":23}],"label":"method `reregister` not found for this struct","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":"`Source` defines an item `reregister`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/source.rs","byte_start":2592,"byte_end":2608,"line_start":75,"line_end":75,"column_start":1,"column_end":17,"is_primary":true,"text":[{"text":"pub trait Source {","highlight_start":1,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `reregister` found for struct `IoSource<std::net::UdpSocket>` in the current scope\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/udp.rs:635:20\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m635\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         self.inner.reregister(registry, token, interests)\n    \u001b[1m\u001b[94m|\u001b[0m                    \u001b[1m\u001b[91m^^^^^^^^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `IoSource<std::net::UdpSocket>`\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n   \u001b[1m\u001b[94m::: \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/io_source.rs:37:1\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 37\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub struct IoSource<T> {\n    \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m----------------------\u001b[0m \u001b[1m\u001b[94mmethod `reregister` not found for this struct\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[92mnote\u001b[0m: `Source` defines an item `reregister`, perhaps you need to implement it\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/source.rs:75:1\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 75\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub trait Source {\n    \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[92m^^^^^^^^^^^^^^^^\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"no method named `deregister` found for struct `IoSource<std::net::UdpSocket>` 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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/udp.rs","byte_start":23043,"byte_end":23053,"line_start":639,"line_end":639,"column_start":20,"column_end":30,"is_primary":true,"text":[{"text":"        self.inner.deregister(registry)","highlight_start":20,"highlight_end":30}],"label":"method not found in `IoSource<std::net::UdpSocket>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/io_source.rs","byte_start":1302,"byte_end":1324,"line_start":37,"line_end":37,"column_start":1,"column_end":23,"is_primary":false,"text":[{"text":"pub struct IoSource<T> {","highlight_start":1,"highlight_end":23}],"label":"method `deregister` not found for this struct","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":"`Source` defines an item `deregister`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/source.rs","byte_start":2592,"byte_end":2608,"line_start":75,"line_end":75,"column_start":1,"column_end":17,"is_primary":true,"text":[{"text":"pub trait Source {","highlight_start":1,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0599]\u001b[0m\u001b[1m: no method named `deregister` found for struct `IoSource<std::net::UdpSocket>` in the current scope\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/udp.rs:639:20\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m639\u001b[0m \u001b[1m\u001b[94m|\u001b[0m         self.inner.deregister(registry)\n    \u001b[1m\u001b[94m|\u001b[0m                    \u001b[1m\u001b[91m^^^^^^^^^^\u001b[0m \u001b[1m\u001b[91mmethod not found in `IoSource<std::net::UdpSocket>`\u001b[0m\n    \u001b[1m\u001b[94m|\u001b[0m\n   \u001b[1m\u001b[94m::: \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/io_source.rs:37:1\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 37\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub struct IoSource<T> {\n    \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m----------------------\u001b[0m \u001b[1m\u001b[94mmethod `deregister` not found for this struct\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[92mnote\u001b[0m: `Source` defines an item `deregister`, perhaps you need to implement it\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/event/source.rs:75:1\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m 75\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub trait Source {\n    \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[92m^^^^^^^^^^^^^^^^\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":"/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/udp.rs","byte_start":26215,"byte_end":26529,"line_start":762,"line_end":771,"column_start":9,"column_end":10,"is_primary":true,"text":[{"text":"        unsafe {","highlight_start":9,"highlight_end":17},{"text":"            #[cfg(any(unix, target_os = \"hermit\", target_os = \"wasi\"))]","highlight_start":1,"highlight_end":72},{"text":"            {","highlight_start":1,"highlight_end":14},{"text":"                net::UdpSocket::from_raw_fd(socket.into_raw_fd())","highlight_start":1,"highlight_end":66},{"text":"            }","highlight_start":1,"highlight_end":14},{"text":"            #[cfg(windows)]","highlight_start":1,"highlight_end":28},{"text":"            {","highlight_start":1,"highlight_end":14},{"text":"                net::UdpSocket::from_raw_socket(socket.into_raw_socket())","highlight_start":1,"highlight_end":74},{"text":"            }","highlight_start":1,"highlight_end":14},{"text":"        }","highlight_start":1,"highlight_end":10}],"label":"expected `UdpSocket`, found `()`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[91merror[E0308]\u001b[0m\u001b[1m: mismatched types\u001b[0m\n   \u001b[1m\u001b[94m--> \u001b[0m/home/wbterminal/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.1.1/src/net/udp.rs:762:9\n    \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m762\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m/\u001b[0m         unsafe {\n\u001b[1m\u001b[94m763\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m             #[cfg(any(unix, target_os = \"hermit\", target_os = \"wasi\"))]\n\u001b[1m\u001b[94m764\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m             {\n\u001b[1m\u001b[94m765\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m                 net::UdpSocket::from_raw_fd(socket.into_raw_fd())\n\u001b[1m\u001b[94m...\u001b[0m   \u001b[1m\u001b[91m|\u001b[0m\n\u001b[1m\u001b[94m771\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|\u001b[0m         }\n    \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m|_________^\u001b[0m \u001b[1m\u001b[91mexpected `UdpSocket`, found `()`\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"aborting due to 49 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"\u001b[1m\u001b[91merror\u001b[0m\u001b[1m: aborting due to 49 previous errors\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0308, E0425, E0432, E0433, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"\u001b[1mSome errors have detailed explanations: E0308, E0425, E0432, E0433, E0599.\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"}
