[INFO] fetching crate efi 0.3.1... [INFO] testing efi-0.3.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate efi 0.3.1 into /workspace/builds/worker-5-tc1/source [INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate efi 0.3.1 [INFO] finished tweaking crates.io crate efi 0.3.1 [INFO] tweaked toml for crates.io crate efi 0.3.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate efi 0.3.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate efi 0.3.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded utf8-width v0.1.6 [INFO] [stderr] Downloaded proc-macro2 v1.0.68 [INFO] [stderr] Downloaded efi_ffi v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1835f591f469d78f2c0fc1e9cb0dbea640ac2ae84a33d4603654c7cf4cc8ab0 [INFO] running `Command { std: "docker" "start" "-a" "f1835f591f469d78f2c0fc1e9cb0dbea640ac2ae84a33d4603654c7cf4cc8ab0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1835f591f469d78f2c0fc1e9cb0dbea640ac2ae84a33d4603654c7cf4cc8ab0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1835f591f469d78f2c0fc1e9cb0dbea640ac2ae84a33d4603654c7cf4cc8ab0", kill_on_drop: false }` [INFO] [stdout] f1835f591f469d78f2c0fc1e9cb0dbea640ac2ae84a33d4603654c7cf4cc8ab0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e8f7c646564d4591774c1b5d28e3fd62098065b9d518fa751f558988bc364c3e [INFO] running `Command { std: "docker" "start" "-a" "e8f7c646564d4591774c1b5d28e3fd62098065b9d518fa751f558988bc364c3e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.68 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling rlibc v1.0.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling utf8-width v0.1.6 [INFO] [stderr] Compiling efi_ffi v0.1.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling efi v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `ptr_internals` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(ptr_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::option` [INFO] [stdout] --> src/lib.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | pub use core::option; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> src/lib.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | pub use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | #[derive(Debug, Fail, Copy, Clone, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_EfiErrorKind` [INFO] [stdout] 139 | #[repr(usize)] [INFO] [stdout] 140 | pub enum EfiErrorKind { [INFO] [stdout] | ------------ `EfiErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | #[derive(Debug, Fail, Copy, Clone, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_EfiErrorKind` [INFO] [stdout] 139 | #[repr(usize)] [INFO] [stdout] 140 | pub enum EfiErrorKind { [INFO] [stdout] | ------------ `EfiErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_GeneralError` [INFO] [stdout] 255 | pub enum GeneralError { [INFO] [stdout] | ------------ `GeneralError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_GeneralError` [INFO] [stdout] 255 | pub enum GeneralError { [INFO] [stdout] | ------------ `GeneralError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/utils.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new(buffer: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new(buffer: &[u8]) -> Result, EfiError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/net/dns/parser.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn parse(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 14 | pub fn parse(data: &[u8]) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/net/pxebc.rs:943:38 [INFO] [stdout] | [INFO] [stdout] 943 | pub fn new(code: u8, val: Option<&[u8]>) -> DhcpOption { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 943 | pub fn new(code: u8, val: Option<&[u8]>) -> DhcpOption<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/net/pxebc.rs:1027:32 [INFO] [stdout] | [INFO] [stdout] 1027 | pub fn from(dhcpv4_packet: &Dhcpv4Packet) -> DhcpPacketBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^ ----------------- [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1027 | pub fn from(dhcpv4_packet: &Dhcpv4Packet) -> DhcpPacketBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/net/pxebc.rs:1085:14 [INFO] [stdout] | [INFO] [stdout] 1085 | unsafe { mem::transmute(x) } [INFO] [stdout] | --------------^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/net/pxebc.rs:1089:14 [INFO] [stdout] | [INFO] [stdout] 1089 | unsafe { mem::transmute(x) } [INFO] [stdout] | --------------^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/net/ifconfig.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn routes_ipv4(&self) -> Ipv4RouteTable { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 33 | pub fn routes_ipv4(&self) -> Ipv4RouteTable<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `alloc::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/device_path.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | unsafe { Box::from_raw(text_ptr) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 166 | unsafe { let _ = Box::from_raw(text_ptr); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.05s [INFO] running `Command { std: "docker" "inspect" "e8f7c646564d4591774c1b5d28e3fd62098065b9d518fa751f558988bc364c3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8f7c646564d4591774c1b5d28e3fd62098065b9d518fa751f558988bc364c3e", kill_on_drop: false }` [INFO] [stdout] e8f7c646564d4591774c1b5d28e3fd62098065b9d518fa751f558988bc364c3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 395c6027502a68f8c8fea7f1ba7df35ec1b66cc070dea73eddfbcbf45dff491d [INFO] running `Command { std: "docker" "start" "-a" "395c6027502a68f8c8fea7f1ba7df35ec1b66cc070dea73eddfbcbf45dff491d", kill_on_drop: false }` [INFO] [stderr] Compiling efi v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `ptr_internals` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(ptr_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::option` [INFO] [stdout] --> src/lib.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | pub use core::option; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> src/lib.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | pub use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | #[derive(Debug, Fail, Copy, Clone, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_EfiErrorKind` [INFO] [stdout] 139 | #[repr(usize)] [INFO] [stdout] 140 | pub enum EfiErrorKind { [INFO] [stdout] | ------------ `EfiErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | #[derive(Debug, Fail, Copy, Clone, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_EfiErrorKind` [INFO] [stdout] 139 | #[repr(usize)] [INFO] [stdout] 140 | pub enum EfiErrorKind { [INFO] [stdout] | ------------ `EfiErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_GeneralError` [INFO] [stdout] 255 | pub enum GeneralError { [INFO] [stdout] | ------------ `GeneralError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_GeneralError` [INFO] [stdout] 255 | pub enum GeneralError { [INFO] [stdout] | ------------ `GeneralError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/utils.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new(buffer: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new(buffer: &[u8]) -> Result, EfiError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/net/dns/parser.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn parse(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 14 | pub fn parse(data: &[u8]) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/net/pxebc.rs:943:38 [INFO] [stdout] | [INFO] [stdout] 943 | pub fn new(code: u8, val: Option<&[u8]>) -> DhcpOption { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 943 | pub fn new(code: u8, val: Option<&[u8]>) -> DhcpOption<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/net/pxebc.rs:1027:32 [INFO] [stdout] | [INFO] [stdout] 1027 | pub fn from(dhcpv4_packet: &Dhcpv4Packet) -> DhcpPacketBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^ ----------------- [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1027 | pub fn from(dhcpv4_packet: &Dhcpv4Packet) -> DhcpPacketBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/net/pxebc.rs:1085:14 [INFO] [stdout] | [INFO] [stdout] 1085 | unsafe { mem::transmute(x) } [INFO] [stdout] | --------------^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/net/pxebc.rs:1089:14 [INFO] [stdout] | [INFO] [stdout] 1089 | unsafe { mem::transmute(x) } [INFO] [stdout] | --------------^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/net/ifconfig.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn routes_ipv4(&self) -> Ipv4RouteTable { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 33 | pub fn routes_ipv4(&self) -> Ipv4RouteTable<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `alloc::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/device_path.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | unsafe { Box::from_raw(text_ptr) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 166 | unsafe { let _ = Box::from_raw(text_ptr); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `efi` (example "sample_efi_app") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0463]: can't find crate for `matches` [INFO] [stdout] --> src/net/dns/mod.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(test)] #[macro_use] extern crate matches; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/io/buffered.rs:1231:7 [INFO] [stdout] | [INFO] [stdout] 1231 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/io/buffered.rs:1238:7 [INFO] [stdout] | [INFO] [stdout] 1238 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/io/impls.rs:273:7 [INFO] [stdout] | [INFO] [stdout] 273 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/io/impls.rs:287:7 [INFO] [stdout] | [INFO] [stdout] 287 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/io/impls.rs:301:7 [INFO] [stdout] | [INFO] [stdout] 301 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/io/impls.rs:315:7 [INFO] [stdout] | [INFO] [stdout] 315 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/io/mod.rs:2276:7 [INFO] [stdout] | [INFO] [stdout] 2276 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `io` [INFO] [stdout] --> src/io/buffered.rs:870:9 [INFO] [stdout] | [INFO] [stdout] 870 | use io::prelude::*; [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `io` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `io`, use `cargo add io` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `io` [INFO] [stdout] --> src/io/cursor.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | use io::prelude::*; [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `io` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `io`, use `cargo add io` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `error` [INFO] [stdout] --> src/io/error.rs:500:9 [INFO] [stdout] | [INFO] [stdout] 500 | use error; [INFO] [stdout] | ^^^^^ no external crate `error` [INFO] [stdout] | [INFO] [stdout] note: module `crate::net::dns::error` exists but is inaccessible [INFO] [stdout] --> src/net/dns/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | mod error; [INFO] [stdout] | ^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing one of these modules instead [INFO] [stdout] | [INFO] [stdout] 500 | use crate::io::error; [INFO] [stdout] | +++++++++++ [INFO] [stdout] 500 | use core::error; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sys` [INFO] [stdout] --> src/io/error.rs:502:9 [INFO] [stdout] | [INFO] [stdout] 502 | use sys::os::error_string; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sys`, use `cargo add sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fmt` [INFO] [stdout] --> src/io/error.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 501 | use fmt; [INFO] [stdout] | ^^^ no external crate `fmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules instead [INFO] [stdout] | [INFO] [stdout] 501 | use crate::std::fmt; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] 501 | use core::fmt; [INFO] [stdout] | ++++++ [INFO] [stdout] 501 | use alloc::fmt; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `io` [INFO] [stdout] --> src/io/impls.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | use io::prelude::*; [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `io` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `io`, use `cargo add io` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `io` [INFO] [stdout] --> src/io/util.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | use io::prelude::*; [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `io` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `io`, use `cargo add io` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `io` [INFO] [stdout] --> src/io/mod.rs:2059:9 [INFO] [stdout] | [INFO] [stdout] 2059 | use io::prelude::*; [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `io` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `io`, use `cargo add io` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sys` [INFO] [stdout] --> src/io/error.rs:503:9 [INFO] [stdout] | [INFO] [stdout] 503 | use sys::decode_error_kind; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sys`, use `cargo add sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Error` [INFO] [stdout] --> src/net/dns/name.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | use Error; [INFO] [stdout] | ^^^^^ no external crate `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 140 | use crate::io::Error; [INFO] [stdout] | +++++++++++ [INFO] [stdout] 140 | use crate::net::dns::Error; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 140 | use crate::std::fmt::Error; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] 140 | use core::error::Error; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Name` [INFO] [stdout] --> src/net/dns/name.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | use Name; [INFO] [stdout] | ^^^^ no external crate `Name` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 141 | use crate::net::dns::Name; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Opcode` [INFO] [stdout] --> src/net/dns/parser.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | use Opcode::*; [INFO] [stdout] | ^^^^^^ use of undeclared type `Opcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Opcode` [INFO] [stdout] --> src/net/dns/header.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | use Opcode::*; [INFO] [stdout] | ^^^^^^ help: a similar path exists: `super::Opcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `QueryType` [INFO] [stdout] --> src/net/dns/builder.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | use QueryType as QT; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `QueryType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 117 | use crate::net::dns::QueryType as QT; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `QueryClass` [INFO] [stdout] --> src/net/dns/builder.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | use QueryClass as QC; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `QueryClass` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 118 | use crate::net::dns::QueryClass as QC; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Opcode` [INFO] [stdout] --> src/net/dns/rdata/aaaa.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | use Opcode::*; [INFO] [stdout] | ^^^^^^ use of undeclared type `Opcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Opcode` [INFO] [stdout] --> src/net/dns/rdata/cname.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | use Opcode::*; [INFO] [stdout] | ^^^^^^ use of undeclared type `Opcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Opcode` [INFO] [stdout] --> src/net/dns/rdata/mx.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | use Opcode::*; [INFO] [stdout] | ^^^^^^ use of undeclared type `Opcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Opcode` [INFO] [stdout] --> src/net/dns/rdata/ns.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | use Opcode::*; [INFO] [stdout] | ^^^^^^ use of undeclared type `Opcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Opcode` [INFO] [stdout] --> src/net/dns/rdata/ptr.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | use Opcode::*; [INFO] [stdout] | ^^^^^^ use of undeclared type `Opcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Opcode` [INFO] [stdout] --> src/net/dns/rdata/soa.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | use Opcode::*; [INFO] [stdout] | ^^^^^^ use of undeclared type `Opcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Opcode` [INFO] [stdout] --> src/net/dns/rdata/srv.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | use Opcode::*; [INFO] [stdout] | ^^^^^^ use of undeclared type `Opcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Opcode` [INFO] [stdout] --> src/net/dns/rdata/txt.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | use Opcode::*; [INFO] [stdout] | ^^^^^^ use of undeclared type `Opcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sync` [INFO] [stdout] --> src/io/buffered.rs:872:9 [INFO] [stdout] | [INFO] [stdout] 872 | use sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sync` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sync`, use `cargo add sync` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `io` [INFO] [stdout] --> src/io/buffered.rs:871:14 [INFO] [stdout] | [INFO] [stdout] 871 | use io::{self, BufReader, BufWriter, LineWriter, SeekFrom}; [INFO] [stdout] | ^^^^ no external crate `io` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these modules instead: [INFO] [stdout] crate::io [INFO] [stdout] core::io [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `thread` [INFO] [stdout] --> src/io/buffered.rs:873:9 [INFO] [stdout] | [INFO] [stdout] 873 | use thread; [INFO] [stdout] | ^^^^^^ no external crate `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `io` [INFO] [stdout] --> src/io/cursor.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | use io::{Cursor, SeekFrom}; [INFO] [stdout] | ^^ help: a similar path exists: `crate::io` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `io` [INFO] [stdout] --> src/io/util.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | use io::{copy, sink, empty, repeat}; [INFO] [stdout] | ^^ help: a similar path exists: `crate::io` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `io` [INFO] [stdout] --> src/io/mod.rs:2060:9 [INFO] [stdout] | [INFO] [stdout] 2060 | use io; [INFO] [stdout] | ^^ no external crate `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules instead [INFO] [stdout] | [INFO] [stdout] 2060 | use crate::io; [INFO] [stdout] | +++++++ [INFO] [stdout] 2060 | use core::io; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `net` [INFO] [stdout] --> src/net/addr.rs:937:9 [INFO] [stdout] | [INFO] [stdout] 937 | use net::Ipv6MulticastScope::*; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `net` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `net`, use `cargo add net` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `net` [INFO] [stdout] --> src/net/addr.rs:938:9 [INFO] [stdout] | [INFO] [stdout] 938 | use net::test::{tsa, sa6, sa4}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `net` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `net`, use `cargo add net` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `net` [INFO] [stdout] --> src/net/addr.rs:936:9 [INFO] [stdout] | [INFO] [stdout] 936 | use net::*; [INFO] [stdout] | ^^^ help: a similar path exists: `crate::net` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `Packet`, `Header` [INFO] [stdout] --> src/net/dns/parser.rs:167:10 [INFO] [stdout] | [INFO] [stdout] 167 | use {Packet, Header}; [INFO] [stdout] | ^^^^^^ ^^^^^^ no external crate `Header` [INFO] [stdout] | | [INFO] [stdout] | no external crate `Packet` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] crate::net::dns::Packet [INFO] [stdout] crate::net::pxebc::Packet [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::net::dns::Header [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ResponseCode` [INFO] [stdout] --> src/net/dns/parser.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | use ResponseCode::NoError; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResponseCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `QueryType` [INFO] [stdout] --> src/net/dns/parser.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | use QueryType as QT; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `QueryType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 170 | use crate::net::dns::QueryType as QT; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `QueryClass` [INFO] [stdout] --> src/net/dns/parser.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | use QueryClass as QC; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `QueryClass` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 171 | use crate::net::dns::QueryClass as QC; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Class` [INFO] [stdout] --> src/net/dns/parser.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | use Class as C; [INFO] [stdout] | ^^^^^^^^^^ no external crate `Class` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 172 | use crate::net::dns::Class as C; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `RData` [INFO] [stdout] --> src/net/dns/parser.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | use RData; [INFO] [stdout] | ^^^^^ no external crate `RData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 173 | use crate::net::dns::RData; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Header` [INFO] [stdout] --> src/net/dns/header.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | use {Header}; [INFO] [stdout] | ^^^^^^ no external crate `Header` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::net::dns::Header [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ResponseCode` [INFO] [stdout] --> src/net/dns/header.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | use ResponseCode::NoError; [INFO] [stdout] | ^^^^^^^^^^^^ help: a similar path exists: `super::ResponseCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `Packet`, `Header` [INFO] [stdout] --> src/net/dns/rdata/aaaa.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | use {Packet, Header}; [INFO] [stdout] | ^^^^^^ ^^^^^^ no external crate `Header` [INFO] [stdout] | | [INFO] [stdout] | no external crate `Packet` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] crate::net::dns::Packet [INFO] [stdout] crate::net::pxebc::Packet [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::net::dns::Header [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ResponseCode` [INFO] [stdout] --> src/net/dns/rdata/aaaa.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | use ResponseCode::NoError; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResponseCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `QueryType` [INFO] [stdout] --> src/net/dns/rdata/aaaa.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | use QueryType as QT; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `QueryType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 40 | use crate::net::dns::QueryType as QT; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `QueryClass` [INFO] [stdout] --> src/net/dns/rdata/aaaa.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | use QueryClass as QC; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `QueryClass` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 41 | use crate::net::dns::QueryClass as QC; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Class` [INFO] [stdout] --> src/net/dns/rdata/aaaa.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | use Class as C; [INFO] [stdout] | ^^^^^^^^^^ no external crate `Class` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 42 | use crate::net::dns::Class as C; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `RData` [INFO] [stdout] --> src/net/dns/rdata/aaaa.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | use RData; [INFO] [stdout] | ^^^^^ no external crate `RData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 43 | use crate::net::dns::RData; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `Packet`, `Header` [INFO] [stdout] --> src/net/dns/rdata/cname.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | use {Packet, Header}; [INFO] [stdout] | ^^^^^^ ^^^^^^ no external crate `Header` [INFO] [stdout] | | [INFO] [stdout] | no external crate `Packet` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] crate::net::dns::Packet [INFO] [stdout] crate::net::pxebc::Packet [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::net::dns::Header [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ResponseCode` [INFO] [stdout] --> src/net/dns/rdata/cname.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | use ResponseCode::NoError; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResponseCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `QueryType` [INFO] [stdout] --> src/net/dns/rdata/cname.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | use QueryType as QT; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `QueryType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 32 | use crate::net::dns::QueryType as QT; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `QueryClass` [INFO] [stdout] --> src/net/dns/rdata/cname.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | use QueryClass as QC; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `QueryClass` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 33 | use crate::net::dns::QueryClass as QC; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Class` [INFO] [stdout] --> src/net/dns/rdata/cname.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | use Class as C; [INFO] [stdout] | ^^^^^^^^^^ no external crate `Class` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 34 | use crate::net::dns::Class as C; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `RData` [INFO] [stdout] --> src/net/dns/rdata/cname.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | use RData; [INFO] [stdout] | ^^^^^ no external crate `RData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 35 | use crate::net::dns::RData; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `Packet`, `Header` [INFO] [stdout] --> src/net/dns/rdata/mx.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | use {Packet, Header}; [INFO] [stdout] | ^^^^^^ ^^^^^^ no external crate `Header` [INFO] [stdout] | | [INFO] [stdout] | no external crate `Packet` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] crate::net::dns::Packet [INFO] [stdout] crate::net::pxebc::Packet [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::net::dns::Header [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ResponseCode` [INFO] [stdout] --> src/net/dns/rdata/mx.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | use ResponseCode::NoError; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResponseCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `QueryType` [INFO] [stdout] --> src/net/dns/rdata/mx.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | use QueryType as QT; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `QueryType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 33 | use crate::net::dns::QueryType as QT; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `QueryClass` [INFO] [stdout] --> src/net/dns/rdata/mx.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | use QueryClass as QC; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `QueryClass` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 34 | use crate::net::dns::QueryClass as QC; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Class` [INFO] [stdout] --> src/net/dns/rdata/mx.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | use Class as C; [INFO] [stdout] | ^^^^^^^^^^ no external crate `Class` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 35 | use crate::net::dns::Class as C; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `RData` [INFO] [stdout] --> src/net/dns/rdata/mx.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | use RData; [INFO] [stdout] | ^^^^^ no external crate `RData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 36 | use crate::net::dns::RData; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `Packet`, `Header` [INFO] [stdout] --> src/net/dns/rdata/ns.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | use {Packet, Header}; [INFO] [stdout] | ^^^^^^ ^^^^^^ no external crate `Header` [INFO] [stdout] | | [INFO] [stdout] | no external crate `Packet` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] crate::net::dns::Packet [INFO] [stdout] crate::net::pxebc::Packet [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::net::dns::Header [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ResponseCode` [INFO] [stdout] --> src/net/dns/rdata/ns.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | use ResponseCode::NoError; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResponseCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `QueryType` [INFO] [stdout] --> src/net/dns/rdata/ns.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | use QueryType as QT; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `QueryType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 31 | use crate::net::dns::QueryType as QT; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `QueryClass` [INFO] [stdout] --> src/net/dns/rdata/ns.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | use QueryClass as QC; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `QueryClass` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 32 | use crate::net::dns::QueryClass as QC; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Class` [INFO] [stdout] --> src/net/dns/rdata/ns.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | use Class as C; [INFO] [stdout] | ^^^^^^^^^^ no external crate `Class` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 33 | use crate::net::dns::Class as C; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `RData` [INFO] [stdout] --> src/net/dns/rdata/ns.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | use RData; [INFO] [stdout] | ^^^^^ no external crate `RData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 34 | use crate::net::dns::RData; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `Packet`, `Header` [INFO] [stdout] --> src/net/dns/rdata/ptr.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | use {Packet, Header}; [INFO] [stdout] | ^^^^^^ ^^^^^^ no external crate `Header` [INFO] [stdout] | | [INFO] [stdout] | no external crate `Packet` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] crate::net::dns::Packet [INFO] [stdout] crate::net::pxebc::Packet [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::net::dns::Header [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ResponseCode` [INFO] [stdout] --> src/net/dns/rdata/ptr.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | use ResponseCode::NoError; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResponseCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `QueryType` [INFO] [stdout] --> src/net/dns/rdata/ptr.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | use QueryType as QT; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `QueryType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 31 | use crate::net::dns::QueryType as QT; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `QueryClass` [INFO] [stdout] --> src/net/dns/rdata/ptr.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | use QueryClass as QC; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `QueryClass` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 32 | use crate::net::dns::QueryClass as QC; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Class` [INFO] [stdout] --> src/net/dns/rdata/ptr.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | use Class as C; [INFO] [stdout] | ^^^^^^^^^^ no external crate `Class` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 33 | use crate::net::dns::Class as C; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `RData` [INFO] [stdout] --> src/net/dns/rdata/ptr.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | use RData; [INFO] [stdout] | ^^^^^ no external crate `RData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 34 | use crate::net::dns::RData; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `Packet`, `Header` [INFO] [stdout] --> src/net/dns/rdata/soa.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | use {Packet, Header}; [INFO] [stdout] | ^^^^^^ ^^^^^^ no external crate `Header` [INFO] [stdout] | | [INFO] [stdout] | no external crate `Packet` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] crate::net::dns::Packet [INFO] [stdout] crate::net::pxebc::Packet [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::net::dns::Header [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ResponseCode` [INFO] [stdout] --> src/net/dns/rdata/soa.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | use ResponseCode::NameError; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResponseCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `QueryType` [INFO] [stdout] --> src/net/dns/rdata/soa.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | use QueryType as QT; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `QueryType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 49 | use crate::net::dns::QueryType as QT; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `QueryClass` [INFO] [stdout] --> src/net/dns/rdata/soa.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | use QueryClass as QC; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `QueryClass` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 50 | use crate::net::dns::QueryClass as QC; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Class` [INFO] [stdout] --> src/net/dns/rdata/soa.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | use Class as C; [INFO] [stdout] | ^^^^^^^^^^ no external crate `Class` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 51 | use crate::net::dns::Class as C; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `RData` [INFO] [stdout] --> src/net/dns/rdata/soa.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | use RData; [INFO] [stdout] | ^^^^^ no external crate `RData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 52 | use crate::net::dns::RData; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `Packet`, `Header` [INFO] [stdout] --> src/net/dns/rdata/srv.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | use {Packet, Header}; [INFO] [stdout] | ^^^^^^ ^^^^^^ no external crate `Header` [INFO] [stdout] | | [INFO] [stdout] | no external crate `Packet` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] crate::net::dns::Packet [INFO] [stdout] crate::net::pxebc::Packet [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::net::dns::Header [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ResponseCode` [INFO] [stdout] --> src/net/dns/rdata/srv.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | use ResponseCode::NoError; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResponseCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `QueryType` [INFO] [stdout] --> src/net/dns/rdata/srv.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | use QueryType as QT; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `QueryType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 37 | use crate::net::dns::QueryType as QT; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `QueryClass` [INFO] [stdout] --> src/net/dns/rdata/srv.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | use QueryClass as QC; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `QueryClass` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 38 | use crate::net::dns::QueryClass as QC; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Class` [INFO] [stdout] --> src/net/dns/rdata/srv.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | use Class as C; [INFO] [stdout] | ^^^^^^^^^^ no external crate `Class` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 39 | use crate::net::dns::Class as C; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `RData` [INFO] [stdout] --> src/net/dns/rdata/srv.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | use RData; [INFO] [stdout] | ^^^^^ no external crate `RData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 40 | use crate::net::dns::RData; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `Packet`, `Header` [INFO] [stdout] --> src/net/dns/rdata/txt.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | use {Packet, Header}; [INFO] [stdout] | ^^^^^^ ^^^^^^ no external crate `Header` [INFO] [stdout] | | [INFO] [stdout] | no external crate `Packet` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] crate::net::dns::Packet [INFO] [stdout] crate::net::pxebc::Packet [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::net::dns::Header [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ResponseCode` [INFO] [stdout] --> src/net/dns/rdata/txt.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | use ResponseCode::NoError; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResponseCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `QueryType` [INFO] [stdout] --> src/net/dns/rdata/txt.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | use QueryType as QT; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `QueryType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 70 | use crate::net::dns::QueryType as QT; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `QueryClass` [INFO] [stdout] --> src/net/dns/rdata/txt.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | use QueryClass as QC; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `QueryClass` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 71 | use crate::net::dns::QueryClass as QC; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Class` [INFO] [stdout] --> src/net/dns/rdata/txt.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use Class as C; [INFO] [stdout] | ^^^^^^^^^^ no external crate `Class` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 72 | use crate::net::dns::Class as C; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `RData` [INFO] [stdout] --> src/net/dns/rdata/txt.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | use RData; [INFO] [stdout] | ^^^^^ no external crate `RData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 73 | use crate::net::dns::RData; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `ptr_internals` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(ptr_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::option` [INFO] [stdout] --> src/lib.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | pub use core::option; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> src/lib.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | pub use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0463, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `efi` (lib test) due to 96 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "395c6027502a68f8c8fea7f1ba7df35ec1b66cc070dea73eddfbcbf45dff491d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "395c6027502a68f8c8fea7f1ba7df35ec1b66cc070dea73eddfbcbf45dff491d", kill_on_drop: false }` [INFO] [stdout] 395c6027502a68f8c8fea7f1ba7df35ec1b66cc070dea73eddfbcbf45dff491d