[INFO] cloning repository https://github.com/harwinder349/Github [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/harwinder349/Github" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharwinder349%2FGithub", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharwinder349%2FGithub'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cac25cfa6a7bf0b8d58eda08d02ad77aa844262d [INFO] testing harwinder349/Github against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharwinder349%2FGithub" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/harwinder349/Github [INFO] finished tweaking git repo https://github.com/harwinder349/Github [INFO] tweaked toml for git repo https://github.com/harwinder349/Github written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/harwinder349/Github 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 git repo https://github.com/harwinder349/Github 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] warning: /workspace/builds/worker-7-tc1/source/arch/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/rate_limiter/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/mmds/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/vmm/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/seccomp/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/sys_util/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/net_gen/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/virtio_gen/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/micro_http/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/kernel/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/cpuid/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/dumbo/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/logger/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/arch_gen/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/api_server/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/memory_model/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/jailer/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/fc_util/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/net_util/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-width v0.1.6 [INFO] [stderr] Downloaded aho-corasick v0.6.10 [INFO] [stderr] Downloaded utf8-ranges v1.0.4 [INFO] [stderr] Downloaded kvm-ioctls v0.2.0 [INFO] [stderr] Downloaded safemem v0.3.2 [INFO] [stderr] Downloaded device_tree v1.1.0 [INFO] [stderr] Downloaded syntex v0.42.2 [INFO] [stderr] Downloaded pnet_sys v0.22.0 [INFO] [stderr] Downloaded epoll v4.0.1 [INFO] [stderr] Downloaded tokio-uds v0.1.7 [INFO] [stderr] Downloaded tokio-service v0.1.0 [INFO] [stderr] Downloaded mime v0.3.13 [INFO] [stderr] Downloaded tokio-io v0.1.5 [INFO] [stderr] Downloaded cc v1.0.41 [INFO] [stderr] Downloaded kvm-bindings v0.1.1 [INFO] [stderr] Downloaded futures v0.1.18 [INFO] [stderr] Downloaded tokio-core v0.1.12 [INFO] [stderr] Downloaded glob v0.2.11 [INFO] [stderr] Downloaded regex v1.0.6 [INFO] [stderr] Downloaded syntex_syntax v0.42.0 [INFO] [stderr] Downloaded rustc-serialize v0.3.24 [INFO] [stderr] Downloaded serde_derive v1.0.99 [INFO] [stderr] Downloaded pnet_macros v0.22.0 [INFO] [stderr] Downloaded term v0.4.6 [INFO] [stderr] Downloaded pnet v0.22.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.2 [INFO] [stderr] Downloaded unicase v2.4.0 [INFO] [stderr] Downloaded byteorder v1.2.1 [INFO] [stderr] Downloaded ipnetwork v0.14.0 [INFO] [stderr] Downloaded syntex_errors v0.42.0 [INFO] [stderr] Downloaded unicode-xid v0.0.3 [INFO] [stderr] Downloaded pnet_packet v0.22.0 [INFO] [stderr] Downloaded serde v1.0.99 [INFO] [stderr] Downloaded scoped-tls v0.1.2 [INFO] [stderr] Downloaded pnet_datalink v0.22.0 [INFO] [stderr] Downloaded syntex_pos v0.42.0 [INFO] [stderr] Downloaded pnet_transport v0.22.0 [INFO] [stderr] Downloaded pnet_base v0.22.0 [INFO] [stderr] Downloaded bitflags v0.5.0 [INFO] [stderr] Downloaded relay v0.1.1 [INFO] [stderr] Downloaded pnet_macros_support v0.22.0 [INFO] [stderr] Downloaded hyper v0.11.16 [INFO] [stderr] Downloaded timerfd v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 70bf192f99b96488718f74cf65176c5b3de94daba839c97781858c676594beb8 [INFO] running `Command { std: "docker" "start" "-a" "70bf192f99b96488718f74cf65176c5b3de94daba839c97781858c676594beb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70bf192f99b96488718f74cf65176c5b3de94daba839c97781858c676594beb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70bf192f99b96488718f74cf65176c5b3de94daba839c97781858c676594beb8", kill_on_drop: false }` [INFO] [stdout] 70bf192f99b96488718f74cf65176c5b3de94daba839c97781858c676594beb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 3fe1743de3766dd7dc95e29c98bc0217c74a8be04a0f1f104d058874cfddf81d [INFO] running `Command { std: "docker" "start" "-a" "3fe1743de3766dd7dc95e29c98bc0217c74a8be04a0f1f104d058874cfddf81d", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/cpuid/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/mmds/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/jailer/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/rate_limiter/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/dumbo/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/memory_model/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/vmm/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/net_util/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/net_gen/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/arch/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/arch_gen/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/api_server/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/sys_util/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/fc_util/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/virtio_gen/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/kernel/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/logger/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/seccomp/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/micro_http/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling proc-macro2 v1.0.2 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling futures v0.1.18 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling micro_http v0.1.0 (/opt/rustwide/workdir/micro_http) [INFO] [stderr] Compiling net_gen v0.1.0 (/opt/rustwide/workdir/net_gen) [INFO] [stderr] Compiling kvm-bindings v0.1.1 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__BITS_PER_LONG` in the value namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__BITS_PER_LONG` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__FD_SETSIZE` in the value namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__FD_SETSIZE` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__s8` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__s8` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__u8` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__u8` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__s16` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__s16` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__u16` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__u16` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__s32` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__s32` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__u32` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__u32` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__s64` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__s64` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__u64` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__u64` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_sighandler_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_sighandler_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_key_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_key_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_mqd_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_mqd_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_old_uid_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_old_uid_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_old_gid_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_old_gid_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_old_dev_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_old_dev_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_long_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_long_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_ulong_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_ulong_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_ino_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_ino_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_mode_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_mode_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_pid_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_pid_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_ipc_pid_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_ipc_pid_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_uid_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_uid_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_gid_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_gid_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_suseconds_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_suseconds_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_daddr_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_daddr_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_uid32_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_uid32_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_gid32_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_gid32_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_size_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_size_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_ssize_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_ssize_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_ptrdiff_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_ptrdiff_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_off_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_off_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_loff_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_loff_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_time_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_time_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_clock_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_clock_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_timer_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_timer_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_clockid_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_clockid_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_caddr_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_caddr_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_uid16_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_uid16_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_gid16_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_gid16_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__le16` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__le16` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__be16` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__be16` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__le32` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__le32` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__be32` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__be32` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__le64` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__le64` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__be64` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__be64` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__sum16` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__sum16` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__wsum` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__wsum` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__UAPI_DEF_IN_ADDR` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__UAPI_DEF_IN_ADDR` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__UAPI_DEF_IN_IPPROTO` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__UAPI_DEF_IN_IPPROTO` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__UAPI_DEF_IN_PKTINFO` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__UAPI_DEF_IN_PKTINFO` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__UAPI_DEF_IP_MREQ` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__UAPI_DEF_IP_MREQ` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__UAPI_DEF_SOCKADDR_IN` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__UAPI_DEF_SOCKADDR_IN` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__UAPI_DEF_IN_CLASS` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__UAPI_DEF_IN_CLASS` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__UAPI_DEF_IN6_ADDR` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__UAPI_DEF_IN6_ADDR` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__UAPI_DEF_IN6_ADDR_ALT` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__UAPI_DEF_IN6_ADDR_ALT` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__UAPI_DEF_SOCKADDR_IN6` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__UAPI_DEF_SOCKADDR_IN6` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__UAPI_DEF_IPV6_MREQ` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__UAPI_DEF_IPV6_MREQ` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__UAPI_DEF_IPPROTO_V6` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__UAPI_DEF_IPPROTO_V6` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__UAPI_DEF_IPV6_OPTIONS` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__UAPI_DEF_IPV6_OPTIONS` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__UAPI_DEF_IN6_PKTINFO` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__UAPI_DEF_IN6_PKTINFO` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__UAPI_DEF_IP6_MTUINFO` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__UAPI_DEF_IP6_MTUINFO` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__UAPI_DEF_XATTR` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__UAPI_DEF_XATTR` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `_K_SS_MAXSIZE` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `_K_SS_MAXSIZE` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__LITTLE_ENDIAN` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__LITTLE_ENDIAN` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `FIOSETOWN` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] 31 | pub use sockios::*; [INFO] [stdout] | ---------- but the name `FIOSETOWN` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `SIOCSPGRP` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] 31 | pub use sockios::*; [INFO] [stdout] | ---------- but the name `SIOCSPGRP` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `FIOGETOWN` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] 31 | pub use sockios::*; [INFO] [stdout] | ---------- but the name `FIOGETOWN` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `SIOCGPGRP` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] 31 | pub use sockios::*; [INFO] [stdout] | ---------- but the name `SIOCGPGRP` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `SIOCATMARK` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] 31 | pub use sockios::*; [INFO] [stdout] | ---------- but the name `SIOCATMARK` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `SIOCGSTAMP` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] 31 | pub use sockios::*; [INFO] [stdout] | ---------- but the name `SIOCGSTAMP` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `SIOCGSTAMPNS` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] 31 | pub use sockios::*; [INFO] [stdout] | ---------- but the name `SIOCGSTAMPNS` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__kernel_sa_family_t` in the type namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_sa_family_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__kernel_sockaddr_storage` in the type namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_sockaddr_storage` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `_bindgen_ty_1` in the type namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `_bindgen_ty_1` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | --------- but the name `__IncompleteArrayField` in the type namespace is also re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__IncompleteArrayField` in the type namespace is first re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__kernel_fd_set` in the type namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_fd_set` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__kernel_fsid_t` in the type namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_fsid_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Compiling safemem v0.3.2 [INFO] [stderr] Compiling arch_gen v0.1.0 (/opt/rustwide/workdir/arch_gen) [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Compiling virtio_gen v0.1.0 (/opt/rustwide/workdir/virtio_gen) [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling fc_util v0.1.0 (/opt/rustwide/workdir/fc_util) [INFO] [stderr] Compiling sys_util v0.1.0 (/opt/rustwide/workdir/sys_util) [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling memory_model v0.1.0 (/opt/rustwide/workdir/memory_model) [INFO] [stderr] Compiling timerfd v1.0.0 [INFO] [stderr] Compiling kvm-ioctls v0.2.0 [INFO] [stderr] Compiling epoll v4.0.1 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling seccomp v0.1.0 (/opt/rustwide/workdir/seccomp) [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling tokio-io v0.1.5 [INFO] [stderr] Compiling relay v0.1.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling kernel v0.1.0 (/opt/rustwide/workdir/kernel) [INFO] [stderr] Compiling arch v0.1.0 (/opt/rustwide/workdir/arch) [INFO] [stderr] Compiling cpuid v0.1.0 (/opt/rustwide/workdir/cpuid) [INFO] [stdout] warning: unused import: `cpu_leaf::leaf_cache_parameters::eax::*` [INFO] [stdout] --> cpuid/src/cpu_leaf.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | pub use cpu_leaf::leaf_cache_parameters::eax::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpu_leaf::leaf_cache_parameters::eax` [INFO] [stdout] --> cpuid/src/cpu_leaf.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | pub use cpu_leaf::leaf_cache_parameters::eax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> cpuid/src/brand_string.rs:227:10 [INFO] [stdout] | [INFO] [stdout] 227 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> arch/src/x86_64/gdt.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | (((u64::from(base) & 0xff00_0000u64) << (56 - 24)) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 18 | | (u64::from(limit) & 0x0000_ffffu64)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 14 ~ ((u64::from(base) & 0xff00_0000u64) << (56 - 24)) [INFO] [stdout] 15 | | ((u64::from(flags) & 0x0000_f0ffu64) << 40) [INFO] [stdout] 16 | | ((u64::from(limit) & 0x000f_0000u64) << (48 - 16)) [INFO] [stdout] 17 | | ((u64::from(base) & 0x00ff_ffffu64) << 16) [INFO] [stdout] 18 ~ | (u64::from(limit) & 0x0000_ffffu64) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> arch/src/x86_64/gdt.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | ((((entry) & 0xFF00_0000_0000_0000) >> 32) [INFO] [stdout] | ^ [INFO] [stdout] 23 | | (((entry) & 0x0000_00FF_0000_0000) >> 16) [INFO] [stdout] 24 | | (((entry) & 0x0000_0000_FFFF_0000) >> 16)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 ~ (((entry) & 0xFF00_0000_0000_0000) >> 32) [INFO] [stdout] 23 | | (((entry) & 0x0000_00FF_0000_0000) >> 16) [INFO] [stdout] 24 ~ | (((entry) & 0x0000_0000_FFFF_0000) >> 16) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> arch/src/x86_64/interrupts.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | (((reg) & !0x700) | ((mode) << 8)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - (((reg) & !0x700) | ((mode) << 8)) [INFO] [stdout] 59 + ((reg) & !0x700) | ((mode) << 8) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> arch/src/x86_64/mod.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | const FIRST_ADDR_PAST_32BITS: usize = (1 << 32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - const FIRST_ADDR_PAST_32BITS: usize = (1 << 32); [INFO] [stdout] 48 + const FIRST_ADDR_PAST_32BITS: usize = 1 << 32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> arch/src/x86_64/mod.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | const MEM_32BIT_GAP_SIZE: usize = (768 << 20); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 49 - const MEM_32BIT_GAP_SIZE: usize = (768 << 20); [INFO] [stdout] 49 + const MEM_32BIT_GAP_SIZE: usize = 768 << 20; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling tokio-core v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling hyper v0.11.16 [INFO] [stderr] Compiling tokio-uds v0.1.7 [INFO] [stderr] Compiling backtrace v0.3.35 [INFO] [stderr] Compiling serde_derive v1.0.99 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling net_util v0.1.0 (/opt/rustwide/workdir/net_util) [INFO] [stderr] Compiling jailer v0.18.0 (/opt/rustwide/workdir/jailer) [INFO] [stderr] Compiling mmds v0.1.0 (/opt/rustwide/workdir/mmds) [INFO] [stderr] Compiling logger v0.1.0 (/opt/rustwide/workdir/logger) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 94 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:166:19 [INFO] [stdout] | [INFO] [stdout] 166 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:199:19 [INFO] [stdout] | [INFO] [stdout] 199 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:216:19 [INFO] [stdout] | [INFO] [stdout] 216 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:229:19 [INFO] [stdout] | [INFO] [stdout] 229 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:256:19 [INFO] [stdout] | [INFO] [stdout] 256 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:295:19 [INFO] [stdout] | [INFO] [stdout] 295 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:306:19 [INFO] [stdout] | [INFO] [stdout] 306 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:313:19 [INFO] [stdout] | [INFO] [stdout] 313 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:330:19 [INFO] [stdout] | [INFO] [stdout] 330 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:347:19 [INFO] [stdout] | [INFO] [stdout] 347 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:356:19 [INFO] [stdout] | [INFO] [stdout] 356 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:363:19 [INFO] [stdout] | [INFO] [stdout] 363 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:383:19 [INFO] [stdout] | [INFO] [stdout] 383 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> logger/src/lib.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `Error` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> logger/src/lib.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | pub use log::Level::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> logger/src/lib.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> logger/src/lib.rs:151:11 [INFO] [stdout] | [INFO] [stdout] 151 | use log::{set_logger, set_max_level, Log, Metadata, Record}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `set_logger` in the value namespace is supposed to be publicly re-exported here [INFO] [stdout] --> logger/src/lib.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | pub use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> logger/src/lib.rs:151:11 [INFO] [stdout] | [INFO] [stdout] 151 | use log::{set_logger, set_max_level, Log, Metadata, Record}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> logger/src/lib.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | use log::{set_logger, set_max_level, Log, Metadata, Record}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `set_max_level` in the value namespace is supposed to be publicly re-exported here [INFO] [stdout] --> logger/src/lib.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | pub use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> logger/src/lib.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | use log::{set_logger, set_max_level, Log, Metadata, Record}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> logger/src/lib.rs:151:38 [INFO] [stdout] | [INFO] [stdout] 151 | use log::{set_logger, set_max_level, Log, Metadata, Record}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `Log` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> logger/src/lib.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | pub use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> logger/src/lib.rs:151:38 [INFO] [stdout] | [INFO] [stdout] 151 | use log::{set_logger, set_max_level, Log, Metadata, Record}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> logger/src/lib.rs:151:43 [INFO] [stdout] | [INFO] [stdout] 151 | use log::{set_logger, set_max_level, Log, Metadata, Record}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `Metadata` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> logger/src/lib.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | pub use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> logger/src/lib.rs:151:43 [INFO] [stdout] | [INFO] [stdout] 151 | use log::{set_logger, set_max_level, Log, Metadata, Record}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> logger/src/lib.rs:151:53 [INFO] [stdout] | [INFO] [stdout] 151 | use log::{set_logger, set_max_level, Log, Metadata, Record}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `Record` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> logger/src/lib.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | pub use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> logger/src/lib.rs:151:53 [INFO] [stdout] | [INFO] [stdout] 151 | use log::{set_logger, set_max_level, Log, Metadata, Record}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> logger/src/error.rs:48:62 [INFO] [stdout] | [INFO] [stdout] 48 | format!("Failed to write logs. Error: {}", e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> logger/src/error.rs:51:62 [INFO] [stdout] | [INFO] [stdout] 51 | format!("Failed to flush logs. Error: {}", e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> logger/src/lib.rs:466:21 [INFO] [stdout] | [INFO] [stdout] 466 | match STATE.compare_and_swap(UNINITIALIZED, locked_state, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> logger/src/lib.rs:625:64 [INFO] [stdout] | [INFO] [stdout] 625 | return Err(LoggerError::LogMetricFailure(e.description().to_string())); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> logger/src/lib.rs:444:22 [INFO] [stdout] | [INFO] [stdout] 444 | fn log_buf_guard(&self) -> MutexGuard>> { [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] 444 | fn log_buf_guard(&self) -> MutexGuard<'_, Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> logger/src/lib.rs:453:26 [INFO] [stdout] | [INFO] [stdout] 453 | fn metrics_buf_guard(&self) -> MutexGuard>> { [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] 453 | fn metrics_buf_guard(&self) -> MutexGuard<'_, Option>> { [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] --> logger/src/metrics.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 94 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ApiServerMetrics` [INFO] [stdout] 95 | pub struct ApiServerMetrics { [INFO] [stdout] | ---------------- `ApiServerMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_GetRequestsMetrics` [INFO] [stdout] 108 | pub struct GetRequestsMetrics { [INFO] [stdout] | ------------------ `GetRequestsMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PutRequestsMetrics` [INFO] [stdout] 121 | pub struct PutRequestsMetrics { [INFO] [stdout] | ------------------ `PutRequestsMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PatchRequestsMetrics` [INFO] [stdout] 150 | pub struct PatchRequestsMetrics { [INFO] [stdout] | -------------------- `PatchRequestsMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:166:19 [INFO] [stdout] | [INFO] [stdout] 166 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_BlockDeviceMetrics` [INFO] [stdout] 167 | pub struct BlockDeviceMetrics { [INFO] [stdout] | ------------------ `BlockDeviceMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:199:19 [INFO] [stdout] | [INFO] [stdout] 199 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_I8042DeviceMetrics` [INFO] [stdout] 200 | pub struct I8042DeviceMetrics { [INFO] [stdout] | ------------------ `I8042DeviceMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:216:19 [INFO] [stdout] | [INFO] [stdout] 216 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_LoggerSystemMetrics` [INFO] [stdout] 217 | pub struct LoggerSystemMetrics { [INFO] [stdout] | ------------------- `LoggerSystemMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:229:19 [INFO] [stdout] | [INFO] [stdout] 229 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_MmdsMetrics` [INFO] [stdout] 230 | pub struct MmdsMetrics { [INFO] [stdout] | ----------- `MmdsMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:256:19 [INFO] [stdout] | [INFO] [stdout] 256 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_NetDeviceMetrics` [INFO] [stdout] 257 | pub struct NetDeviceMetrics { [INFO] [stdout] | ---------------- `NetDeviceMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:295:19 [INFO] [stdout] | [INFO] [stdout] 295 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_RTCDeviceMetrics` [INFO] [stdout] 296 | pub struct RTCDeviceMetrics { [INFO] [stdout] | ---------------- `RTCDeviceMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:306:19 [INFO] [stdout] | [INFO] [stdout] 306 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SeccompMetrics` [INFO] [stdout] 307 | pub struct SeccompMetrics { [INFO] [stdout] | -------------- `SeccompMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:313:19 [INFO] [stdout] | [INFO] [stdout] 313 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SerialDeviceMetrics` [INFO] [stdout] 314 | pub struct SerialDeviceMetrics { [INFO] [stdout] | ------------------- `SerialDeviceMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:330:19 [INFO] [stdout] | [INFO] [stdout] 330 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_VcpuMetrics` [INFO] [stdout] 331 | pub struct VcpuMetrics { [INFO] [stdout] | ----------- `VcpuMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:347:19 [INFO] [stdout] | [INFO] [stdout] 347 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_VmmMetrics` [INFO] [stdout] 348 | pub struct VmmMetrics { [INFO] [stdout] | ---------- `VmmMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:356:19 [INFO] [stdout] | [INFO] [stdout] 356 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_MemoryMetrics` [INFO] [stdout] 357 | pub struct MemoryMetrics { [INFO] [stdout] | ------------- `MemoryMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:363:19 [INFO] [stdout] | [INFO] [stdout] 363 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SignalMetrics` [INFO] [stdout] 364 | pub struct SignalMetrics { [INFO] [stdout] | ------------- `SignalMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:383:19 [INFO] [stdout] | [INFO] [stdout] 383 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_FirecrackerMetrics` [INFO] [stdout] 384 | pub struct FirecrackerMetrics { [INFO] [stdout] | ------------------ `FirecrackerMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rate_limiter v0.1.0 (/opt/rustwide/workdir/rate_limiter) [INFO] [stderr] Compiling dumbo v0.1.0 (/opt/rustwide/workdir/dumbo) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> dumbo/src/ns.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | Arp(ArpFrameError), [INFO] [stdout] | --- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 - Arp(ArpFrameError), [INFO] [stdout] 31 + Arp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> dumbo/src/ns.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | IPv4Packet(IPv4PacketError), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 37 - IPv4Packet(IPv4PacketError), [INFO] [stdout] 37 + IPv4Packet(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> dumbo/src/ns.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | TcpSegment(TcpSegmentError), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 - TcpSegment(TcpSegmentError), [INFO] [stdout] 39 + TcpSegment(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling devices v0.1.0 (/opt/rustwide/workdir/devices) [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> devices/src/virtio/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use self::block::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `EpollConfig` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 25 | pub use self::vsock::*; [INFO] [stdout] | -------------- but the name `EpollConfig` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> devices/src/virtio/vsock/csm/txbuf.rs:68:39 [INFO] [stdout] | [INFO] [stdout] 68 | Box::new(unsafe {mem::uninitialized::<[u8; Self::SIZE]>()})); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> devices/src/virtio/block.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | GuestMemory(GuestMemoryError), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 48 - GuestMemory(GuestMemoryError), [INFO] [stdout] 48 + GuestMemory(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> devices/src/virtio/block.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | CheckedOffset(GuestAddress, usize), [INFO] [stdout] | ------------- ^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 50 - CheckedOffset(GuestAddress, usize), [INFO] [stdout] 50 + CheckedOffset((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> devices/src/virtio/block.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | BadRequest(Error), [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExecuteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 67 - BadRequest(Error), [INFO] [stdout] 67 + BadRequest(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> devices/src/virtio/block.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | Flush(io::Error), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExecuteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 68 - Flush(io::Error), [INFO] [stdout] 68 + Flush(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> devices/src/virtio/block.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | Read(GuestMemoryError), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExecuteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 69 - Read(GuestMemoryError), [INFO] [stdout] 69 + Read(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> devices/src/virtio/block.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | Seek(io::Error), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExecuteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 70 - Seek(io::Error), [INFO] [stdout] 70 + Seek(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> devices/src/virtio/block.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | Write(GuestMemoryError), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExecuteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 71 - Write(GuestMemoryError), [INFO] [stdout] 71 + Write(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> devices/src/virtio/block.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | Unsupported(u32), [INFO] [stdout] | ----------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExecuteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 72 - Unsupported(u32), [INFO] [stdout] 72 + Unsupported(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> devices/src/virtio/vsock/csm/mod.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | TxBufFlush(std::io::Error), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 - TxBufFlush(std::io::Error), [INFO] [stdout] 32 + TxBufFlush(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> devices/src/virtio/vsock/csm/mod.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | StreamWrite(std::io::Error), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 - StreamWrite(std::io::Error), [INFO] [stdout] 34 + StreamWrite(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `evvq` and `cid` are never read [INFO] [stdout] --> devices/src/virtio/vsock/epoll_handler.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct VsockEpollHandler { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | pub evvq: VirtQueue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 51 | pub evvq_evt: EventFd, [INFO] [stdout] 52 | pub cid: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> devices/src/virtio/queue.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | mem: &GuestMemory, [INFO] [stdout] | ^^^^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 69 | ) -> Option { [INFO] [stdout] | --------------- the lifetime gets resolved as `'_` [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] 69 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 65536]` does not permit being left uninitialized [INFO] [stdout] --> devices/src/virtio/vsock/csm/txbuf.rs:68:34 [INFO] [stdout] | [INFO] [stdout] 68 | Box::new(unsafe {mem::uninitialized::<[u8; Self::SIZE]>()})); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling vmm v0.1.0 (/opt/rustwide/workdir/vmm) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/boot_source.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/boot_source.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/drive.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/instance_info.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Debug, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/instance_info.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> vmm/src/vmm_config/logger.rs:54:47 [INFO] [stdout] | [INFO] [stdout] 54 | fn write(&mut self, msg: &[u8]) -> Result<(usize)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - fn write(&mut self, msg: &[u8]) -> Result<(usize)> { [INFO] [stdout] 54 + fn write(&mut self, msg: &[u8]) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/logger.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/logger.rs:66:48 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/logger.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/logger.rs:82:48 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/machine_config.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/machine_config.rs:42:48 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/machine_config.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(Clone, Copy, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/machine_config.rs:92:54 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(Clone, Copy, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/net.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/net.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Debug, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/vsock.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/vsock.rs:8:48 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/mod.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone, Copy, Debug, Default, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/mod.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Default, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> vmm/src/lib.rs:414:5 [INFO] [stdout] | [INFO] [stdout] 414 | (get_time(ClockType::Monotonic) / 1000) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 414 - (get_time(ClockType::Monotonic) / 1000) [INFO] [stdout] 414 + get_time(ClockType::Monotonic) / 1000 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/lib.rs:698:10 [INFO] [stdout] | [INFO] [stdout] 698 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `irq` and `len` are never read [INFO] [stdout] --> vmm/src/device_manager/mmio.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 308 | pub struct MMIODeviceInfo { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 309 | addr: u64, [INFO] [stdout] 310 | irq: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 311 | len: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MMIODeviceInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] --> vmm/src/lib.rs:698:10 [INFO] [stdout] | [INFO] [stdout] 698 | #[derive(Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_VmmConfig` [INFO] [stdout] 699 | pub struct VmmConfig { [INFO] [stdout] | --------- `VmmConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> vmm/src/vmm_config/mod.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone, Copy, Debug, Default, Deserialize, PartialEq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_TokenBucketConfig` [INFO] [stdout] 36 | pub struct TokenBucketConfig { [INFO] [stdout] | ----------------- `TokenBucketConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> vmm/src/vmm_config/mod.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Default, Deserialize, PartialEq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_RateLimiterConfig` [INFO] [stdout] 59 | pub struct RateLimiterConfig { [INFO] [stdout] | ----------------- `RateLimiterConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> vmm/src/vmm_config/boot_source.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_BootSourceConfig` [INFO] [stdout] 9 | #[serde(deny_unknown_fields)] [INFO] [stdout] 10 | pub struct BootSourceConfig { [INFO] [stdout] | ---------------- `BootSourceConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> vmm/src/vmm_config/boot_source.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_BootSourceConfig` [INFO] [stdout] 9 | #[serde(deny_unknown_fields)] [INFO] [stdout] 10 | pub struct BootSourceConfig { [INFO] [stdout] | ---------------- `BootSourceConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> vmm/src/vmm_config/drive.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Deserialize, PartialEq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_BlockDeviceConfig` [INFO] [stdout] 61 | #[serde(deny_unknown_fields)] [INFO] [stdout] 62 | pub struct BlockDeviceConfig { [INFO] [stdout] | ----------------- `BlockDeviceConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> vmm/src/vmm_config/instance_info.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Debug, PartialEq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_InstanceState` [INFO] [stdout] 18 | pub enum InstanceState { [INFO] [stdout] | ------------- `InstanceState` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> vmm/src/vmm_config/instance_info.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_InstanceInfo` [INFO] [stdout] 29 | pub struct InstanceInfo { [INFO] [stdout] | ------------ `InstanceInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> vmm/src/vmm_config/logger.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | fn get_line_writer(&self) -> MutexGuard> { [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] 43 | fn get_line_writer(&self) -> MutexGuard<'_, LineWriter> { [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] --> vmm/src/vmm_config/logger.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_LoggerLevel` [INFO] [stdout] 67 | pub enum LoggerLevel { [INFO] [stdout] | ----------- `LoggerLevel` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> vmm/src/vmm_config/logger.rs:66:48 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_LoggerLevel` [INFO] [stdout] 67 | pub enum LoggerLevel { [INFO] [stdout] | ----------- `LoggerLevel` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> vmm/src/vmm_config/logger.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_LoggerConfig` [INFO] [stdout] 83 | #[serde(deny_unknown_fields)] [INFO] [stdout] 84 | pub struct LoggerConfig { [INFO] [stdout] | ------------ `LoggerConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> vmm/src/vmm_config/logger.rs:82:48 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_LoggerConfig` [INFO] [stdout] 83 | #[serde(deny_unknown_fields)] [INFO] [stdout] 84 | pub struct LoggerConfig { [INFO] [stdout] | ------------ `LoggerConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> vmm/src/vmm_config/machine_config.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_VmConfig` [INFO] [stdout] 43 | #[serde(deny_unknown_fields)] [INFO] [stdout] 44 | pub struct VmConfig { [INFO] [stdout] | -------- `VmConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> vmm/src/vmm_config/machine_config.rs:42:48 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_VmConfig` [INFO] [stdout] 43 | #[serde(deny_unknown_fields)] [INFO] [stdout] 44 | pub struct VmConfig { [INFO] [stdout] | -------- `VmConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> vmm/src/vmm_config/machine_config.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(Clone, Copy, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_CpuFeaturesTemplate` [INFO] [stdout] 93 | pub enum CpuFeaturesTemplate { [INFO] [stdout] | ------------------- `CpuFeaturesTemplate` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> vmm/src/vmm_config/machine_config.rs:92:54 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(Clone, Copy, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_CpuFeaturesTemplate` [INFO] [stdout] 93 | pub enum CpuFeaturesTemplate { [INFO] [stdout] | ------------------- `CpuFeaturesTemplate` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> vmm/src/vmm_config/net.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Deserialize, PartialEq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_NetworkInterfaceConfig` [INFO] [stdout] 15 | #[serde(deny_unknown_fields)] [INFO] [stdout] 16 | pub struct NetworkInterfaceConfig { [INFO] [stdout] | ---------------------- `NetworkInterfaceConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> vmm/src/vmm_config/net.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Debug, Deserialize, PartialEq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_NetworkInterfaceUpdateConfig` [INFO] [stdout] 64 | #[serde(deny_unknown_fields)] [INFO] [stdout] 65 | pub struct NetworkInterfaceUpdateConfig { [INFO] [stdout] | ---------------------------- `NetworkInterfaceUpdateConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> vmm/src/vmm_config/net.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn iter_mut(&mut self) -> ::std::slice::IterMut { [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] 149 | pub fn iter_mut(&mut self) -> ::std::slice::IterMut<'_, NetworkInterfaceConfig> { [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] --> vmm/src/vmm_config/vsock.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_VsockDeviceConfig` [INFO] [stdout] 9 | #[serde(deny_unknown_fields)] [INFO] [stdout] 10 | pub struct VsockDeviceConfig { [INFO] [stdout] | ----------------- `VsockDeviceConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> vmm/src/vmm_config/vsock.rs:8:48 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_VsockDeviceConfig` [INFO] [stdout] 9 | #[serde(deny_unknown_fields)] [INFO] [stdout] 10 | pub struct VsockDeviceConfig { [INFO] [stdout] | ----------------- `VsockDeviceConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling api_server v0.1.0 (/opt/rustwide/workdir/api_server) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> api_server/src/request/actions.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> api_server/src/request/actions.rs:16:48 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> api_server/src/request/actions.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> api_server/src/request/actions.rs:26:48 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (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] --> api_server/src/http_service.rs:138:19 [INFO] [stdout] | [INFO] [stdout] 138 | fn checked_id(id: &str) -> Result<&str> { [INFO] [stdout] | ^^^^ ------------ [INFO] [stdout] | | | | [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] = 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] 138 | fn checked_id(id: &str) -> Result<'_, &str> { [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] --> api_server/src/request/actions.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ActionType` [INFO] [stdout] 17 | enum ActionType { [INFO] [stdout] | ---------- `ActionType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> api_server/src/request/actions.rs:16:48 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ActionType` [INFO] [stdout] 17 | enum ActionType { [INFO] [stdout] | ---------- `ActionType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> api_server/src/request/actions.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ActionBody` [INFO] [stdout] 27 | #[serde(deny_unknown_fields)] [INFO] [stdout] 28 | pub struct ActionBody { [INFO] [stdout] | ---------- `ActionBody` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> api_server/src/request/actions.rs:26:48 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ActionBody` [INFO] [stdout] 27 | #[serde(deny_unknown_fields)] [INFO] [stdout] 28 | pub struct ActionBody { [INFO] [stdout] | ---------- `ActionBody` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling firecracker v0.18.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.24s [INFO] running `Command { std: "docker" "inspect" "3fe1743de3766dd7dc95e29c98bc0217c74a8be04a0f1f104d058874cfddf81d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fe1743de3766dd7dc95e29c98bc0217c74a8be04a0f1f104d058874cfddf81d", kill_on_drop: false }` [INFO] [stdout] 3fe1743de3766dd7dc95e29c98bc0217c74a8be04a0f1f104d058874cfddf81d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 4be3585161b8e50126a37d2e4c76f19101164406417f8b2466e8cd3cdc196ba0 [INFO] running `Command { std: "docker" "start" "-a" "4be3585161b8e50126a37d2e4c76f19101164406417f8b2466e8cd3cdc196ba0", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/cpuid/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/memory_model/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/vmm/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/seccomp/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/sys_util/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/logger/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/jailer/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/mmds/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/net_util/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/arch/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/dumbo/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/rate_limiter/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/kernel/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/api_server/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/micro_http/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/fc_util/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/arch_gen/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/virtio_gen/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/net_gen/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling futures v0.1.18 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling getrandom v0.1.11 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling net_gen v0.1.0 (/opt/rustwide/workdir/net_gen) [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling micro_http v0.1.0 (/opt/rustwide/workdir/micro_http) [INFO] [stderr] Compiling kvm-bindings v0.1.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__BITS_PER_LONG` in the value namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__BITS_PER_LONG` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__FD_SETSIZE` in the value namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__FD_SETSIZE` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__s8` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__s8` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__u8` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__u8` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__s16` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__s16` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__u16` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__u16` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__s32` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__s32` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__u32` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__u32` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__s64` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__s64` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__u64` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__u64` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_sighandler_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_sighandler_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_key_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_key_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_mqd_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_mqd_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_old_uid_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_old_uid_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_old_gid_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_old_gid_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_old_dev_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_old_dev_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling virtio_gen v0.1.0 (/opt/rustwide/workdir/virtio_gen) [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_long_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_long_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_ulong_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_ulong_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_ino_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_ino_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_mode_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_mode_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_pid_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_pid_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_ipc_pid_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_ipc_pid_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_uid_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_uid_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_gid_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_gid_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_suseconds_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_suseconds_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_daddr_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_daddr_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_uid32_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_uid32_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_gid32_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_gid32_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_size_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_size_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_ssize_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_ssize_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_ptrdiff_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_ptrdiff_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_off_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_off_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_loff_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_loff_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_time_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_time_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_clock_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_clock_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_timer_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_timer_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_clockid_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_clockid_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_caddr_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_caddr_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_uid16_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_uid16_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__kernel_gid16_t` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_gid16_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__le16` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__le16` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__be16` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__be16` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__le32` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__le32` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__be32` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__be32` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__le64` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__le64` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__be64` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__be64` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__sum16` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__sum16` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | ^^^^^^^^^ the name `__wsum` in the type namespace is first re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__wsum` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__UAPI_DEF_IN_ADDR` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__UAPI_DEF_IN_ADDR` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__UAPI_DEF_IN_IPPROTO` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__UAPI_DEF_IN_IPPROTO` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__UAPI_DEF_IN_PKTINFO` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__UAPI_DEF_IN_PKTINFO` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__UAPI_DEF_IP_MREQ` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__UAPI_DEF_IP_MREQ` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__UAPI_DEF_SOCKADDR_IN` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__UAPI_DEF_SOCKADDR_IN` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__UAPI_DEF_IN_CLASS` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__UAPI_DEF_IN_CLASS` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__UAPI_DEF_IN6_ADDR` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__UAPI_DEF_IN6_ADDR` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__UAPI_DEF_IN6_ADDR_ALT` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__UAPI_DEF_IN6_ADDR_ALT` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__UAPI_DEF_SOCKADDR_IN6` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__UAPI_DEF_SOCKADDR_IN6` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__UAPI_DEF_IPV6_MREQ` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__UAPI_DEF_IPV6_MREQ` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__UAPI_DEF_IPPROTO_V6` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__UAPI_DEF_IPPROTO_V6` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__UAPI_DEF_IPV6_OPTIONS` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__UAPI_DEF_IPV6_OPTIONS` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__UAPI_DEF_IN6_PKTINFO` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__UAPI_DEF_IN6_PKTINFO` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__UAPI_DEF_IP6_MTUINFO` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__UAPI_DEF_IP6_MTUINFO` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__UAPI_DEF_XATTR` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__UAPI_DEF_XATTR` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `_K_SS_MAXSIZE` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `_K_SS_MAXSIZE` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__LITTLE_ENDIAN` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__LITTLE_ENDIAN` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `FIOSETOWN` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] 31 | pub use sockios::*; [INFO] [stdout] | ---------- but the name `FIOSETOWN` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `SIOCSPGRP` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] 31 | pub use sockios::*; [INFO] [stdout] | ---------- but the name `SIOCSPGRP` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `FIOGETOWN` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] 31 | pub use sockios::*; [INFO] [stdout] | ---------- but the name `FIOGETOWN` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `SIOCGPGRP` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] 31 | pub use sockios::*; [INFO] [stdout] | ---------- but the name `SIOCGPGRP` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `SIOCATMARK` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] 31 | pub use sockios::*; [INFO] [stdout] | ---------- but the name `SIOCATMARK` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `SIOCGSTAMP` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] 31 | pub use sockios::*; [INFO] [stdout] | ---------- but the name `SIOCGSTAMP` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `SIOCGSTAMPNS` in the value namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] 31 | pub use sockios::*; [INFO] [stdout] | ---------- but the name `SIOCGSTAMPNS` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__kernel_sa_family_t` in the type namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_sa_family_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__kernel_sockaddr_storage` in the type namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_sockaddr_storage` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `_bindgen_ty_1` in the type namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `_bindgen_ty_1` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use if_tun::*; [INFO] [stdout] | --------- but the name `__IncompleteArrayField` in the type namespace is also re-exported here [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__IncompleteArrayField` in the type namespace is first re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__kernel_fd_set` in the type namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_fd_set` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> net_gen/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use iff::*; [INFO] [stdout] | ^^^^^^ the name `__kernel_fsid_t` in the type namespace is first re-exported here [INFO] [stdout] 30 | pub use inn::*; [INFO] [stdout] | ------ but the name `__kernel_fsid_t` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling arch_gen v0.1.0 (/opt/rustwide/workdir/arch_gen) [INFO] [stderr] Compiling safemem v0.3.2 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling fc_util v0.1.0 (/opt/rustwide/workdir/fc_util) [INFO] [stderr] Compiling sys_util v0.1.0 (/opt/rustwide/workdir/sys_util) [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling memory_model v0.1.0 (/opt/rustwide/workdir/memory_model) [INFO] [stderr] Compiling timerfd v1.0.0 [INFO] [stderr] Compiling kvm-ioctls v0.2.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling epoll v4.0.1 [INFO] [stderr] Compiling seccomp v0.1.0 (/opt/rustwide/workdir/seccomp) [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling kernel v0.1.0 (/opt/rustwide/workdir/kernel) [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling arch v0.1.0 (/opt/rustwide/workdir/arch) [INFO] [stderr] Compiling cpuid v0.1.0 (/opt/rustwide/workdir/cpuid) [INFO] [stdout] warning: unused import: `cpu_leaf::leaf_cache_parameters::eax::*` [INFO] [stdout] --> cpuid/src/cpu_leaf.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | pub use cpu_leaf::leaf_cache_parameters::eax::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpu_leaf::leaf_cache_parameters::eax` [INFO] [stdout] --> cpuid/src/cpu_leaf.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | pub use cpu_leaf::leaf_cache_parameters::eax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> cpuid/src/brand_string.rs:227:10 [INFO] [stdout] | [INFO] [stdout] 227 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> arch/src/x86_64/gdt.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | (((u64::from(base) & 0xff00_0000u64) << (56 - 24)) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 18 | | (u64::from(limit) & 0x0000_ffffu64)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 14 ~ ((u64::from(base) & 0xff00_0000u64) << (56 - 24)) [INFO] [stdout] 15 | | ((u64::from(flags) & 0x0000_f0ffu64) << 40) [INFO] [stdout] 16 | | ((u64::from(limit) & 0x000f_0000u64) << (48 - 16)) [INFO] [stdout] 17 | | ((u64::from(base) & 0x00ff_ffffu64) << 16) [INFO] [stdout] 18 ~ | (u64::from(limit) & 0x0000_ffffu64) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> arch/src/x86_64/gdt.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | ((((entry) & 0xFF00_0000_0000_0000) >> 32) [INFO] [stdout] | ^ [INFO] [stdout] 23 | | (((entry) & 0x0000_00FF_0000_0000) >> 16) [INFO] [stdout] 24 | | (((entry) & 0x0000_0000_FFFF_0000) >> 16)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 ~ (((entry) & 0xFF00_0000_0000_0000) >> 32) [INFO] [stdout] 23 | | (((entry) & 0x0000_00FF_0000_0000) >> 16) [INFO] [stdout] 24 ~ | (((entry) & 0x0000_0000_FFFF_0000) >> 16) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> arch/src/x86_64/interrupts.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | (((reg) & !0x700) | ((mode) << 8)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - (((reg) & !0x700) | ((mode) << 8)) [INFO] [stdout] 59 + ((reg) & !0x700) | ((mode) << 8) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> arch/src/x86_64/mod.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | const FIRST_ADDR_PAST_32BITS: usize = (1 << 32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - const FIRST_ADDR_PAST_32BITS: usize = (1 << 32); [INFO] [stdout] 48 + const FIRST_ADDR_PAST_32BITS: usize = 1 << 32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> arch/src/x86_64/mod.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | const MEM_32BIT_GAP_SIZE: usize = (768 << 20); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 49 - const MEM_32BIT_GAP_SIZE: usize = (768 << 20); [INFO] [stdout] 49 + const MEM_32BIT_GAP_SIZE: usize = 768 << 20; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling backtrace v0.3.35 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling tokio-io v0.1.5 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling relay v0.1.1 [INFO] [stderr] Compiling tokio-core v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling hyper v0.11.16 [INFO] [stderr] Compiling tokio-uds v0.1.7 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling net_util v0.1.0 (/opt/rustwide/workdir/net_util) [INFO] [stderr] Compiling jailer v0.18.0 (/opt/rustwide/workdir/jailer) [INFO] [stderr] Compiling logger v0.1.0 (/opt/rustwide/workdir/logger) [INFO] [stderr] Compiling mmds v0.1.0 (/opt/rustwide/workdir/mmds) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 94 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:166:19 [INFO] [stdout] | [INFO] [stdout] 166 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:199:19 [INFO] [stdout] | [INFO] [stdout] 199 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:216:19 [INFO] [stdout] | [INFO] [stdout] 216 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:229:19 [INFO] [stdout] | [INFO] [stdout] 229 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:256:19 [INFO] [stdout] | [INFO] [stdout] 256 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:295:19 [INFO] [stdout] | [INFO] [stdout] 295 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:306:19 [INFO] [stdout] | [INFO] [stdout] 306 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:313:19 [INFO] [stdout] | [INFO] [stdout] 313 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:330:19 [INFO] [stdout] | [INFO] [stdout] 330 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:347:19 [INFO] [stdout] | [INFO] [stdout] 347 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:356:19 [INFO] [stdout] | [INFO] [stdout] 356 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:363:19 [INFO] [stdout] | [INFO] [stdout] 363 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> logger/src/metrics.rs:383:19 [INFO] [stdout] | [INFO] [stdout] 383 | #[derive(Default, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> logger/src/lib.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `Error` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> logger/src/lib.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | pub use log::Level::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> logger/src/lib.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> logger/src/lib.rs:151:11 [INFO] [stdout] | [INFO] [stdout] 151 | use log::{set_logger, set_max_level, Log, Metadata, Record}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `set_logger` in the value namespace is supposed to be publicly re-exported here [INFO] [stdout] --> logger/src/lib.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | pub use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> logger/src/lib.rs:151:11 [INFO] [stdout] | [INFO] [stdout] 151 | use log::{set_logger, set_max_level, Log, Metadata, Record}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> logger/src/lib.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | use log::{set_logger, set_max_level, Log, Metadata, Record}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `set_max_level` in the value namespace is supposed to be publicly re-exported here [INFO] [stdout] --> logger/src/lib.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | pub use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> logger/src/lib.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | use log::{set_logger, set_max_level, Log, Metadata, Record}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> logger/src/lib.rs:151:38 [INFO] [stdout] | [INFO] [stdout] 151 | use log::{set_logger, set_max_level, Log, Metadata, Record}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `Log` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> logger/src/lib.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | pub use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> logger/src/lib.rs:151:38 [INFO] [stdout] | [INFO] [stdout] 151 | use log::{set_logger, set_max_level, Log, Metadata, Record}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> logger/src/lib.rs:151:43 [INFO] [stdout] | [INFO] [stdout] 151 | use log::{set_logger, set_max_level, Log, Metadata, Record}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `Metadata` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> logger/src/lib.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | pub use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> logger/src/lib.rs:151:43 [INFO] [stdout] | [INFO] [stdout] 151 | use log::{set_logger, set_max_level, Log, Metadata, Record}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> logger/src/lib.rs:151:53 [INFO] [stdout] | [INFO] [stdout] 151 | use log::{set_logger, set_max_level, Log, Metadata, Record}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `Record` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> logger/src/lib.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | pub use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> logger/src/lib.rs:151:53 [INFO] [stdout] | [INFO] [stdout] 151 | use log::{set_logger, set_max_level, Log, Metadata, Record}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> logger/src/error.rs:48:62 [INFO] [stdout] | [INFO] [stdout] 48 | format!("Failed to write logs. Error: {}", e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> logger/src/error.rs:51:62 [INFO] [stdout] | [INFO] [stdout] 51 | format!("Failed to flush logs. Error: {}", e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> logger/src/lib.rs:466:21 [INFO] [stdout] | [INFO] [stdout] 466 | match STATE.compare_and_swap(UNINITIALIZED, locked_state, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> logger/src/lib.rs:625:64 [INFO] [stdout] | [INFO] [stdout] 625 | return Err(LoggerError::LogMetricFailure(e.description().to_string())); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> logger/src/lib.rs:444:22 [INFO] [stdout] | [INFO] [stdout] 444 | fn log_buf_guard(&self) -> MutexGuard>> { [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] 444 | fn log_buf_guard(&self) -> MutexGuard<'_, Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> logger/src/lib.rs:453:26 [INFO] [stdout] | [INFO] [stdout] 453 | fn metrics_buf_guard(&self) -> MutexGuard>> { [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] 453 | fn metrics_buf_guard(&self) -> MutexGuard<'_, Option>> { [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] --> logger/src/metrics.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 94 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ApiServerMetrics` [INFO] [stdout] 95 | pub struct ApiServerMetrics { [INFO] [stdout] | ---------------- `ApiServerMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_GetRequestsMetrics` [INFO] [stdout] 108 | pub struct GetRequestsMetrics { [INFO] [stdout] | ------------------ `GetRequestsMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PutRequestsMetrics` [INFO] [stdout] 121 | pub struct PutRequestsMetrics { [INFO] [stdout] | ------------------ `PutRequestsMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PatchRequestsMetrics` [INFO] [stdout] 150 | pub struct PatchRequestsMetrics { [INFO] [stdout] | -------------------- `PatchRequestsMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:166:19 [INFO] [stdout] | [INFO] [stdout] 166 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_BlockDeviceMetrics` [INFO] [stdout] 167 | pub struct BlockDeviceMetrics { [INFO] [stdout] | ------------------ `BlockDeviceMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:199:19 [INFO] [stdout] | [INFO] [stdout] 199 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_I8042DeviceMetrics` [INFO] [stdout] 200 | pub struct I8042DeviceMetrics { [INFO] [stdout] | ------------------ `I8042DeviceMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:216:19 [INFO] [stdout] | [INFO] [stdout] 216 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_LoggerSystemMetrics` [INFO] [stdout] 217 | pub struct LoggerSystemMetrics { [INFO] [stdout] | ------------------- `LoggerSystemMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:229:19 [INFO] [stdout] | [INFO] [stdout] 229 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_MmdsMetrics` [INFO] [stdout] 230 | pub struct MmdsMetrics { [INFO] [stdout] | ----------- `MmdsMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:256:19 [INFO] [stdout] | [INFO] [stdout] 256 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_NetDeviceMetrics` [INFO] [stdout] 257 | pub struct NetDeviceMetrics { [INFO] [stdout] | ---------------- `NetDeviceMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:295:19 [INFO] [stdout] | [INFO] [stdout] 295 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_RTCDeviceMetrics` [INFO] [stdout] 296 | pub struct RTCDeviceMetrics { [INFO] [stdout] | ---------------- `RTCDeviceMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:306:19 [INFO] [stdout] | [INFO] [stdout] 306 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SeccompMetrics` [INFO] [stdout] 307 | pub struct SeccompMetrics { [INFO] [stdout] | -------------- `SeccompMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:313:19 [INFO] [stdout] | [INFO] [stdout] 313 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SerialDeviceMetrics` [INFO] [stdout] 314 | pub struct SerialDeviceMetrics { [INFO] [stdout] | ------------------- `SerialDeviceMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:330:19 [INFO] [stdout] | [INFO] [stdout] 330 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_VcpuMetrics` [INFO] [stdout] 331 | pub struct VcpuMetrics { [INFO] [stdout] | ----------- `VcpuMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:347:19 [INFO] [stdout] | [INFO] [stdout] 347 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_VmmMetrics` [INFO] [stdout] 348 | pub struct VmmMetrics { [INFO] [stdout] | ---------- `VmmMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:356:19 [INFO] [stdout] | [INFO] [stdout] 356 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_MemoryMetrics` [INFO] [stdout] 357 | pub struct MemoryMetrics { [INFO] [stdout] | ------------- `MemoryMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:363:19 [INFO] [stdout] | [INFO] [stdout] 363 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SignalMetrics` [INFO] [stdout] 364 | pub struct SignalMetrics { [INFO] [stdout] | ------------- `SignalMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> logger/src/metrics.rs:383:19 [INFO] [stdout] | [INFO] [stdout] 383 | #[derive(Default, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_FirecrackerMetrics` [INFO] [stdout] 384 | pub struct FirecrackerMetrics { [INFO] [stdout] | ------------------ `FirecrackerMetrics` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rate_limiter v0.1.0 (/opt/rustwide/workdir/rate_limiter) [INFO] [stderr] Compiling dumbo v0.1.0 (/opt/rustwide/workdir/dumbo) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> dumbo/src/ns.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | Arp(ArpFrameError), [INFO] [stdout] | --- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 - Arp(ArpFrameError), [INFO] [stdout] 31 + Arp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> dumbo/src/ns.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | IPv4Packet(IPv4PacketError), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 37 - IPv4Packet(IPv4PacketError), [INFO] [stdout] 37 + IPv4Packet(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> dumbo/src/ns.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | TcpSegment(TcpSegmentError), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 - TcpSegment(TcpSegmentError), [INFO] [stdout] 39 + TcpSegment(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling devices v0.1.0 (/opt/rustwide/workdir/devices) [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> devices/src/virtio/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use self::block::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `EpollConfig` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 25 | pub use self::vsock::*; [INFO] [stdout] | -------------- but the name `EpollConfig` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> devices/src/virtio/vsock/csm/txbuf.rs:68:39 [INFO] [stdout] | [INFO] [stdout] 68 | Box::new(unsafe {mem::uninitialized::<[u8; Self::SIZE]>()})); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> devices/src/virtio/block.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | GuestMemory(GuestMemoryError), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 48 - GuestMemory(GuestMemoryError), [INFO] [stdout] 48 + GuestMemory(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> devices/src/virtio/block.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | CheckedOffset(GuestAddress, usize), [INFO] [stdout] | ------------- ^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 50 - CheckedOffset(GuestAddress, usize), [INFO] [stdout] 50 + CheckedOffset((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> devices/src/virtio/block.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | BadRequest(Error), [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExecuteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 67 - BadRequest(Error), [INFO] [stdout] 67 + BadRequest(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> devices/src/virtio/block.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | Flush(io::Error), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExecuteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 68 - Flush(io::Error), [INFO] [stdout] 68 + Flush(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> devices/src/virtio/block.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | Read(GuestMemoryError), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExecuteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 69 - Read(GuestMemoryError), [INFO] [stdout] 69 + Read(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> devices/src/virtio/block.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | Seek(io::Error), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExecuteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 70 - Seek(io::Error), [INFO] [stdout] 70 + Seek(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> devices/src/virtio/block.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | Write(GuestMemoryError), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExecuteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 71 - Write(GuestMemoryError), [INFO] [stdout] 71 + Write(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> devices/src/virtio/block.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | Unsupported(u32), [INFO] [stdout] | ----------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExecuteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 72 - Unsupported(u32), [INFO] [stdout] 72 + Unsupported(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> devices/src/virtio/vsock/csm/mod.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | TxBufFlush(std::io::Error), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 - TxBufFlush(std::io::Error), [INFO] [stdout] 32 + TxBufFlush(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> devices/src/virtio/vsock/csm/mod.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | StreamWrite(std::io::Error), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 - StreamWrite(std::io::Error), [INFO] [stdout] 34 + StreamWrite(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `evvq` and `cid` are never read [INFO] [stdout] --> devices/src/virtio/vsock/epoll_handler.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct VsockEpollHandler { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | pub evvq: VirtQueue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 51 | pub evvq_evt: EventFd, [INFO] [stdout] 52 | pub cid: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> devices/src/virtio/queue.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | mem: &GuestMemory, [INFO] [stdout] | ^^^^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 69 | ) -> Option { [INFO] [stdout] | --------------- the lifetime gets resolved as `'_` [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] 69 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 65536]` does not permit being left uninitialized [INFO] [stdout] --> devices/src/virtio/vsock/csm/txbuf.rs:68:34 [INFO] [stdout] | [INFO] [stdout] 68 | Box::new(unsafe {mem::uninitialized::<[u8; Self::SIZE]>()})); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling vmm v0.1.0 (/opt/rustwide/workdir/vmm) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/boot_source.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/boot_source.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/drive.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/instance_info.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Debug, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/instance_info.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> vmm/src/vmm_config/logger.rs:54:47 [INFO] [stdout] | [INFO] [stdout] 54 | fn write(&mut self, msg: &[u8]) -> Result<(usize)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - fn write(&mut self, msg: &[u8]) -> Result<(usize)> { [INFO] [stdout] 54 + fn write(&mut self, msg: &[u8]) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/logger.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/logger.rs:66:48 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/logger.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/logger.rs:82:48 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/machine_config.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/machine_config.rs:42:48 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/machine_config.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(Clone, Copy, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/machine_config.rs:92:54 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(Clone, Copy, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/net.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/net.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Debug, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/vsock.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/vsock.rs:8:48 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/mod.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone, Copy, Debug, Default, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/vmm_config/mod.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Default, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> vmm/src/lib.rs:414:5 [INFO] [stdout] | [INFO] [stdout] 414 | (get_time(ClockType::Monotonic) / 1000) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 414 - (get_time(ClockType::Monotonic) / 1000) [INFO] [stdout] 414 + get_time(ClockType::Monotonic) / 1000 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> vmm/src/lib.rs:698:10 [INFO] [stdout] | [INFO] [stdout] 698 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `irq` and `len` are never read [INFO] [stdout] --> vmm/src/device_manager/mmio.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 308 | pub struct MMIODeviceInfo { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 309 | addr: u64, [INFO] [stdout] 310 | irq: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 311 | len: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MMIODeviceInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] --> vmm/src/lib.rs:698:10 [INFO] [stdout] | [INFO] [stdout] 698 | #[derive(Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_VmmConfig` [INFO] [stdout] 699 | pub struct VmmConfig { [INFO] [stdout] | --------- `VmmConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> vmm/src/vmm_config/mod.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone, Copy, Debug, Default, Deserialize, PartialEq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_TokenBucketConfig` [INFO] [stdout] 36 | pub struct TokenBucketConfig { [INFO] [stdout] | ----------------- `TokenBucketConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> vmm/src/vmm_config/mod.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Default, Deserialize, PartialEq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_RateLimiterConfig` [INFO] [stdout] 59 | pub struct RateLimiterConfig { [INFO] [stdout] | ----------------- `RateLimiterConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> vmm/src/vmm_config/boot_source.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_BootSourceConfig` [INFO] [stdout] 9 | #[serde(deny_unknown_fields)] [INFO] [stdout] 10 | pub struct BootSourceConfig { [INFO] [stdout] | ---------------- `BootSourceConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> vmm/src/vmm_config/boot_source.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_BootSourceConfig` [INFO] [stdout] 9 | #[serde(deny_unknown_fields)] [INFO] [stdout] 10 | pub struct BootSourceConfig { [INFO] [stdout] | ---------------- `BootSourceConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> vmm/src/vmm_config/drive.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Deserialize, PartialEq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_BlockDeviceConfig` [INFO] [stdout] 61 | #[serde(deny_unknown_fields)] [INFO] [stdout] 62 | pub struct BlockDeviceConfig { [INFO] [stdout] | ----------------- `BlockDeviceConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> vmm/src/vmm_config/instance_info.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Debug, PartialEq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_InstanceState` [INFO] [stdout] 18 | pub enum InstanceState { [INFO] [stdout] | ------------- `InstanceState` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> vmm/src/vmm_config/instance_info.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_InstanceInfo` [INFO] [stdout] 29 | pub struct InstanceInfo { [INFO] [stdout] | ------------ `InstanceInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> vmm/src/vmm_config/logger.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | fn get_line_writer(&self) -> MutexGuard> { [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] 43 | fn get_line_writer(&self) -> MutexGuard<'_, LineWriter> { [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] --> vmm/src/vmm_config/logger.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_LoggerLevel` [INFO] [stdout] 67 | pub enum LoggerLevel { [INFO] [stdout] | ----------- `LoggerLevel` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> vmm/src/vmm_config/logger.rs:66:48 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_LoggerLevel` [INFO] [stdout] 67 | pub enum LoggerLevel { [INFO] [stdout] | ----------- `LoggerLevel` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> vmm/src/vmm_config/logger.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_LoggerConfig` [INFO] [stdout] 83 | #[serde(deny_unknown_fields)] [INFO] [stdout] 84 | pub struct LoggerConfig { [INFO] [stdout] | ------------ `LoggerConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> vmm/src/vmm_config/logger.rs:82:48 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_LoggerConfig` [INFO] [stdout] 83 | #[serde(deny_unknown_fields)] [INFO] [stdout] 84 | pub struct LoggerConfig { [INFO] [stdout] | ------------ `LoggerConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> vmm/src/vmm_config/machine_config.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_VmConfig` [INFO] [stdout] 43 | #[serde(deny_unknown_fields)] [INFO] [stdout] 44 | pub struct VmConfig { [INFO] [stdout] | -------- `VmConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> vmm/src/vmm_config/machine_config.rs:42:48 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_VmConfig` [INFO] [stdout] 43 | #[serde(deny_unknown_fields)] [INFO] [stdout] 44 | pub struct VmConfig { [INFO] [stdout] | -------- `VmConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> vmm/src/vmm_config/machine_config.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(Clone, Copy, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_CpuFeaturesTemplate` [INFO] [stdout] 93 | pub enum CpuFeaturesTemplate { [INFO] [stdout] | ------------------- `CpuFeaturesTemplate` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> vmm/src/vmm_config/machine_config.rs:92:54 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(Clone, Copy, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_CpuFeaturesTemplate` [INFO] [stdout] 93 | pub enum CpuFeaturesTemplate { [INFO] [stdout] | ------------------- `CpuFeaturesTemplate` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> vmm/src/vmm_config/net.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Deserialize, PartialEq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_NetworkInterfaceConfig` [INFO] [stdout] 15 | #[serde(deny_unknown_fields)] [INFO] [stdout] 16 | pub struct NetworkInterfaceConfig { [INFO] [stdout] | ---------------------- `NetworkInterfaceConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> vmm/src/vmm_config/net.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Debug, Deserialize, PartialEq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_NetworkInterfaceUpdateConfig` [INFO] [stdout] 64 | #[serde(deny_unknown_fields)] [INFO] [stdout] 65 | pub struct NetworkInterfaceUpdateConfig { [INFO] [stdout] | ---------------------------- `NetworkInterfaceUpdateConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> vmm/src/vmm_config/net.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn iter_mut(&mut self) -> ::std::slice::IterMut { [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] 149 | pub fn iter_mut(&mut self) -> ::std::slice::IterMut<'_, NetworkInterfaceConfig> { [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] --> vmm/src/vmm_config/vsock.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_VsockDeviceConfig` [INFO] [stdout] 9 | #[serde(deny_unknown_fields)] [INFO] [stdout] 10 | pub struct VsockDeviceConfig { [INFO] [stdout] | ----------------- `VsockDeviceConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> vmm/src/vmm_config/vsock.rs:8:48 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_VsockDeviceConfig` [INFO] [stdout] 9 | #[serde(deny_unknown_fields)] [INFO] [stdout] 10 | pub struct VsockDeviceConfig { [INFO] [stdout] | ----------------- `VsockDeviceConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling api_server v0.1.0 (/opt/rustwide/workdir/api_server) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> api_server/src/request/actions.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> api_server/src/request/actions.rs:16:48 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> api_server/src/request/actions.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> api_server/src/request/actions.rs:26:48 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (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] --> api_server/src/http_service.rs:138:19 [INFO] [stdout] | [INFO] [stdout] 138 | fn checked_id(id: &str) -> Result<&str> { [INFO] [stdout] | ^^^^ ------------ [INFO] [stdout] | | | | [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] = 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] 138 | fn checked_id(id: &str) -> Result<'_, &str> { [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] --> api_server/src/request/actions.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ActionType` [INFO] [stdout] 17 | enum ActionType { [INFO] [stdout] | ---------- `ActionType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> api_server/src/request/actions.rs:16:48 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ActionType` [INFO] [stdout] 17 | enum ActionType { [INFO] [stdout] | ---------- `ActionType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> api_server/src/request/actions.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ActionBody` [INFO] [stdout] 27 | #[serde(deny_unknown_fields)] [INFO] [stdout] 28 | pub struct ActionBody { [INFO] [stdout] | ---------- `ActionBody` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> api_server/src/request/actions.rs:26:48 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ActionBody` [INFO] [stdout] 27 | #[serde(deny_unknown_fields)] [INFO] [stdout] 28 | pub struct ActionBody { [INFO] [stdout] | ---------- `ActionBody` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling firecracker v0.18.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 18.20s [INFO] running `Command { std: "docker" "inspect" "4be3585161b8e50126a37d2e4c76f19101164406417f8b2466e8cd3cdc196ba0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4be3585161b8e50126a37d2e4c76f19101164406417f8b2466e8cd3cdc196ba0", kill_on_drop: false }` [INFO] [stdout] 4be3585161b8e50126a37d2e4c76f19101164406417f8b2466e8cd3cdc196ba0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8ba42b1bd367b57c067aeaa3b6db9f3d9ed88e557702abd9199dc934ec9921ac [INFO] running `Command { std: "docker" "start" "-a" "8ba42b1bd367b57c067aeaa3b6db9f3d9ed88e557702abd9199dc934ec9921ac", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/dumbo/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/arch/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/logger/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/fc_util/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/net_util/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/memory_model/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/micro_http/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/api_server/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/kernel/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/vmm/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/cpuid/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/virtio_gen/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/rate_limiter/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/seccomp/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/net_gen/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/mmds/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/sys_util/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/jailer/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/arch_gen/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> logger/src/metrics.rs:94:19 [INFO] [stderr] | [INFO] [stderr] 94 | #[derive(Default, Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> logger/src/metrics.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 107 | #[derive(Default, Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> logger/src/metrics.rs:120:19 [INFO] [stderr] | [INFO] [stderr] 120 | #[derive(Default, Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> logger/src/metrics.rs:149:19 [INFO] [stderr] | [INFO] [stderr] 149 | #[derive(Default, Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> logger/src/metrics.rs:166:19 [INFO] [stderr] | [INFO] [stderr] 166 | #[derive(Default, Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> logger/src/metrics.rs:199:19 [INFO] [stderr] | [INFO] [stderr] 199 | #[derive(Default, Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> logger/src/metrics.rs:216:19 [INFO] [stderr] | [INFO] [stderr] 216 | #[derive(Default, Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> logger/src/metrics.rs:229:19 [INFO] [stderr] | [INFO] [stderr] 229 | #[derive(Default, Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> logger/src/metrics.rs:256:19 [INFO] [stderr] | [INFO] [stderr] 256 | #[derive(Default, Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> logger/src/metrics.rs:295:19 [INFO] [stderr] | [INFO] [stderr] 295 | #[derive(Default, Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> logger/src/metrics.rs:306:19 [INFO] [stderr] | [INFO] [stderr] 306 | #[derive(Default, Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> logger/src/metrics.rs:313:19 [INFO] [stderr] | [INFO] [stderr] 313 | #[derive(Default, Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> logger/src/metrics.rs:330:19 [INFO] [stderr] | [INFO] [stderr] 330 | #[derive(Default, Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> logger/src/metrics.rs:347:19 [INFO] [stderr] | [INFO] [stderr] 347 | #[derive(Default, Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> logger/src/metrics.rs:356:19 [INFO] [stderr] | [INFO] [stderr] 356 | #[derive(Default, Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> logger/src/metrics.rs:363:19 [INFO] [stderr] | [INFO] [stderr] 363 | #[derive(Default, Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> logger/src/metrics.rs:383:19 [INFO] [stderr] | [INFO] [stderr] 383 | #[derive(Default, Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: private item shadows public glob re-export [INFO] [stderr] --> logger/src/lib.rs:137:5 [INFO] [stderr] | [INFO] [stderr] 137 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the name `Error` in the type namespace is supposed to be publicly re-exported here [INFO] [stderr] --> logger/src/lib.rs:149:9 [INFO] [stderr] | [INFO] [stderr] 149 | pub use log::Level::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] note: but the private item here shadows it [INFO] [stderr] --> logger/src/lib.rs:137:5 [INFO] [stderr] | [INFO] [stderr] 137 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: private item shadows public glob re-export [INFO] [stderr] --> logger/src/lib.rs:151:11 [INFO] [stderr] | [INFO] [stderr] 151 | use log::{set_logger, set_max_level, Log, Metadata, Record}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the name `set_logger` in the value namespace is supposed to be publicly re-exported here [INFO] [stderr] --> logger/src/lib.rs:150:9 [INFO] [stderr] | [INFO] [stderr] 150 | pub use log::*; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] note: but the private item here shadows it [INFO] [stderr] --> logger/src/lib.rs:151:11 [INFO] [stderr] | [INFO] [stderr] 151 | use log::{set_logger, set_max_level, Log, Metadata, Record}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: private item shadows public glob re-export [INFO] [stderr] --> logger/src/lib.rs:151:23 [INFO] [stderr] | [INFO] [stderr] 151 | use log::{set_logger, set_max_level, Log, Metadata, Record}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the name `set_max_level` in the value namespace is supposed to be publicly re-exported here [INFO] [stderr] --> logger/src/lib.rs:150:9 [INFO] [stderr] | [INFO] [stderr] 150 | pub use log::*; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] note: but the private item here shadows it [INFO] [stderr] --> logger/src/lib.rs:151:23 [INFO] [stderr] | [INFO] [stderr] 151 | use log::{set_logger, set_max_level, Log, Metadata, Record}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: private item shadows public glob re-export [INFO] [stderr] --> logger/src/lib.rs:151:38 [INFO] [stderr] | [INFO] [stderr] 151 | use log::{set_logger, set_max_level, Log, Metadata, Record}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: the name `Log` in the type namespace is supposed to be publicly re-exported here [INFO] [stderr] --> logger/src/lib.rs:150:9 [INFO] [stderr] | [INFO] [stderr] 150 | pub use log::*; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] note: but the private item here shadows it [INFO] [stderr] --> logger/src/lib.rs:151:38 [INFO] [stderr] | [INFO] [stderr] 151 | use log::{set_logger, set_max_level, Log, Metadata, Record}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: private item shadows public glob re-export [INFO] [stderr] --> logger/src/lib.rs:151:43 [INFO] [stderr] | [INFO] [stderr] 151 | use log::{set_logger, set_max_level, Log, Metadata, Record}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the name `Metadata` in the type namespace is supposed to be publicly re-exported here [INFO] [stderr] --> logger/src/lib.rs:150:9 [INFO] [stderr] | [INFO] [stderr] 150 | pub use log::*; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] note: but the private item here shadows it [INFO] [stderr] --> logger/src/lib.rs:151:43 [INFO] [stderr] | [INFO] [stderr] 151 | use log::{set_logger, set_max_level, Log, Metadata, Record}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: private item shadows public glob re-export [INFO] [stderr] --> logger/src/lib.rs:151:53 [INFO] [stderr] | [INFO] [stderr] 151 | use log::{set_logger, set_max_level, Log, Metadata, Record}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the name `Record` in the type namespace is supposed to be publicly re-exported here [INFO] [stderr] --> logger/src/lib.rs:150:9 [INFO] [stderr] | [INFO] [stderr] 150 | pub use log::*; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] note: but the private item here shadows it [INFO] [stderr] --> logger/src/lib.rs:151:53 [INFO] [stderr] | [INFO] [stderr] 151 | use log::{set_logger, set_max_level, Log, Metadata, Record}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> logger/src/error.rs:48:62 [INFO] [stderr] | [INFO] [stderr] 48 | format!("Failed to write logs. Error: {}", e.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> logger/src/error.rs:51:62 [INFO] [stderr] | [INFO] [stderr] 51 | format!("Failed to flush logs. Error: {}", e.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> logger/src/lib.rs:466:21 [INFO] [stderr] | [INFO] [stderr] 466 | match STATE.compare_and_swap(UNINITIALIZED, locked_state, Ordering::SeqCst) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> logger/src/lib.rs:625:64 [INFO] [stderr] | [INFO] [stderr] 625 | return Err(LoggerError::LogMetricFailure(e.description().to_string())); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> logger/src/lib.rs:444:22 [INFO] [stderr] | [INFO] [stderr] 444 | fn log_buf_guard(&self) -> MutexGuard>> { [INFO] [stderr] | ^^^^^ ----------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 444 | fn log_buf_guard(&self) -> MutexGuard<'_, Option>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> logger/src/lib.rs:453:26 [INFO] [stderr] | [INFO] [stderr] 453 | fn metrics_buf_guard(&self) -> MutexGuard>> { [INFO] [stderr] | ^^^^^ ----------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 453 | fn metrics_buf_guard(&self) -> MutexGuard<'_, Option>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> logger/src/metrics.rs:94:19 [INFO] [stderr] | [INFO] [stderr] 94 | #[derive(Default, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ApiServerMetrics` [INFO] [stderr] 95 | pub struct ApiServerMetrics { [INFO] [stderr] | ---------------- `ApiServerMetrics` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> logger/src/metrics.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 107 | #[derive(Default, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_GetRequestsMetrics` [INFO] [stderr] 108 | pub struct GetRequestsMetrics { [INFO] [stderr] | ------------------ `GetRequestsMetrics` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> logger/src/metrics.rs:120:19 [INFO] [stderr] | [INFO] [stderr] 120 | #[derive(Default, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PutRequestsMetrics` [INFO] [stderr] 121 | pub struct PutRequestsMetrics { [INFO] [stderr] | ------------------ `PutRequestsMetrics` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> logger/src/metrics.rs:149:19 [INFO] [stderr] | [INFO] [stderr] 149 | #[derive(Default, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PatchRequestsMetrics` [INFO] [stderr] 150 | pub struct PatchRequestsMetrics { [INFO] [stderr] | -------------------- `PatchRequestsMetrics` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> logger/src/metrics.rs:166:19 [INFO] [stderr] | [INFO] [stderr] 166 | #[derive(Default, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_BlockDeviceMetrics` [INFO] [stderr] 167 | pub struct BlockDeviceMetrics { [INFO] [stderr] | ------------------ `BlockDeviceMetrics` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> logger/src/metrics.rs:199:19 [INFO] [stderr] | [INFO] [stderr] 199 | #[derive(Default, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_I8042DeviceMetrics` [INFO] [stderr] 200 | pub struct I8042DeviceMetrics { [INFO] [stderr] | ------------------ `I8042DeviceMetrics` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> logger/src/metrics.rs:216:19 [INFO] [stderr] | [INFO] [stderr] 216 | #[derive(Default, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_LoggerSystemMetrics` [INFO] [stderr] 217 | pub struct LoggerSystemMetrics { [INFO] [stderr] | ------------------- `LoggerSystemMetrics` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> logger/src/metrics.rs:229:19 [INFO] [stderr] | [INFO] [stderr] 229 | #[derive(Default, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_MmdsMetrics` [INFO] [stderr] 230 | pub struct MmdsMetrics { [INFO] [stderr] | ----------- `MmdsMetrics` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> logger/src/metrics.rs:256:19 [INFO] [stderr] | [INFO] [stderr] 256 | #[derive(Default, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_NetDeviceMetrics` [INFO] [stderr] 257 | pub struct NetDeviceMetrics { [INFO] [stderr] | ---------------- `NetDeviceMetrics` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> logger/src/metrics.rs:295:19 [INFO] [stderr] | [INFO] [stderr] 295 | #[derive(Default, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_RTCDeviceMetrics` [INFO] [stderr] 296 | pub struct RTCDeviceMetrics { [INFO] [stderr] | ---------------- `RTCDeviceMetrics` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> logger/src/metrics.rs:306:19 [INFO] [stderr] | [INFO] [stderr] 306 | #[derive(Default, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SeccompMetrics` [INFO] [stderr] 307 | pub struct SeccompMetrics { [INFO] [stderr] | -------------- `SeccompMetrics` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> logger/src/metrics.rs:313:19 [INFO] [stderr] | [INFO] [stderr] 313 | #[derive(Default, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SerialDeviceMetrics` [INFO] [stderr] 314 | pub struct SerialDeviceMetrics { [INFO] [stderr] | ------------------- `SerialDeviceMetrics` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> logger/src/metrics.rs:330:19 [INFO] [stderr] | [INFO] [stderr] 330 | #[derive(Default, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_VcpuMetrics` [INFO] [stderr] 331 | pub struct VcpuMetrics { [INFO] [stderr] | ----------- `VcpuMetrics` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> logger/src/metrics.rs:347:19 [INFO] [stderr] | [INFO] [stderr] 347 | #[derive(Default, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_VmmMetrics` [INFO] [stderr] 348 | pub struct VmmMetrics { [INFO] [stderr] | ---------- `VmmMetrics` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> logger/src/metrics.rs:356:19 [INFO] [stderr] | [INFO] [stderr] 356 | #[derive(Default, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_MemoryMetrics` [INFO] [stderr] 357 | pub struct MemoryMetrics { [INFO] [stderr] | ------------- `MemoryMetrics` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> logger/src/metrics.rs:363:19 [INFO] [stderr] | [INFO] [stderr] 363 | #[derive(Default, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SignalMetrics` [INFO] [stderr] 364 | pub struct SignalMetrics { [INFO] [stderr] | ------------- `SignalMetrics` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> logger/src/metrics.rs:383:19 [INFO] [stderr] | [INFO] [stderr] 383 | #[derive(Default, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_FirecrackerMetrics` [INFO] [stderr] 384 | pub struct FirecrackerMetrics { [INFO] [stderr] | ------------------ `FirecrackerMetrics` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `logger` (lib) generated 46 warnings (run `cargo fix --lib -p logger` to apply 2 suggestions) [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__BITS_PER_LONG` in the value namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__BITS_PER_LONG` in the value namespace is also re-exported here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__FD_SETSIZE` in the value namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__FD_SETSIZE` in the value namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__s8` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__s8` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__u8` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__u8` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__s16` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__s16` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__u16` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__u16` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__s32` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__s32` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__u32` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__u32` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__s64` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__s64` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__u64` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__u64` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__kernel_sighandler_t` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_sighandler_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__kernel_key_t` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_key_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__kernel_mqd_t` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_mqd_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__kernel_old_uid_t` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_old_uid_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__kernel_old_gid_t` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_old_gid_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__kernel_old_dev_t` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_old_dev_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__kernel_long_t` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_long_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__kernel_ulong_t` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_ulong_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__kernel_ino_t` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_ino_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__kernel_mode_t` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_mode_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__kernel_pid_t` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_pid_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__kernel_ipc_pid_t` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_ipc_pid_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__kernel_uid_t` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_uid_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__kernel_gid_t` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_gid_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__kernel_suseconds_t` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_suseconds_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__kernel_daddr_t` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_daddr_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__kernel_uid32_t` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_uid32_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__kernel_gid32_t` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_gid32_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__kernel_size_t` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_size_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__kernel_ssize_t` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_ssize_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__kernel_ptrdiff_t` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_ptrdiff_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__kernel_off_t` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_off_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__kernel_loff_t` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_loff_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__kernel_time_t` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_time_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__kernel_clock_t` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_clock_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__kernel_timer_t` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_timer_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__kernel_clockid_t` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_clockid_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__kernel_caddr_t` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_caddr_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__kernel_uid16_t` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_uid16_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__kernel_gid16_t` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_gid16_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__le16` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__le16` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__be16` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__be16` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__le32` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__le32` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__be32` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__be32` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__le64` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__le64` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__be64` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__be64` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__sum16` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__sum16` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | ^^^^^^^^^ the name `__wsum` in the type namespace is first re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__wsum` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] | ^^^^^^ the name `__UAPI_DEF_IN_ADDR` in the value namespace is first re-exported here [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__UAPI_DEF_IN_ADDR` in the value namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] | ^^^^^^ the name `__UAPI_DEF_IN_IPPROTO` in the value namespace is first re-exported here [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__UAPI_DEF_IN_IPPROTO` in the value namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] | ^^^^^^ the name `__UAPI_DEF_IN_PKTINFO` in the value namespace is first re-exported here [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__UAPI_DEF_IN_PKTINFO` in the value namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] | ^^^^^^ the name `__UAPI_DEF_IP_MREQ` in the value namespace is first re-exported here [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__UAPI_DEF_IP_MREQ` in the value namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] | ^^^^^^ the name `__UAPI_DEF_SOCKADDR_IN` in the value namespace is first re-exported here [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__UAPI_DEF_SOCKADDR_IN` in the value namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] | ^^^^^^ the name `__UAPI_DEF_IN_CLASS` in the value namespace is first re-exported here [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__UAPI_DEF_IN_CLASS` in the value namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] | ^^^^^^ the name `__UAPI_DEF_IN6_ADDR` in the value namespace is first re-exported here [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__UAPI_DEF_IN6_ADDR` in the value namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] | ^^^^^^ the name `__UAPI_DEF_IN6_ADDR_ALT` in the value namespace is first re-exported here [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__UAPI_DEF_IN6_ADDR_ALT` in the value namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] | ^^^^^^ the name `__UAPI_DEF_SOCKADDR_IN6` in the value namespace is first re-exported here [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__UAPI_DEF_SOCKADDR_IN6` in the value namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] | ^^^^^^ the name `__UAPI_DEF_IPV6_MREQ` in the value namespace is first re-exported here [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__UAPI_DEF_IPV6_MREQ` in the value namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] | ^^^^^^ the name `__UAPI_DEF_IPPROTO_V6` in the value namespace is first re-exported here [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__UAPI_DEF_IPPROTO_V6` in the value namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] | ^^^^^^ the name `__UAPI_DEF_IPV6_OPTIONS` in the value namespace is first re-exported here [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__UAPI_DEF_IPV6_OPTIONS` in the value namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] | ^^^^^^ the name `__UAPI_DEF_IN6_PKTINFO` in the value namespace is first re-exported here [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__UAPI_DEF_IN6_PKTINFO` in the value namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] | ^^^^^^ the name `__UAPI_DEF_IP6_MTUINFO` in the value namespace is first re-exported here [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__UAPI_DEF_IP6_MTUINFO` in the value namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] | ^^^^^^ the name `__UAPI_DEF_XATTR` in the value namespace is first re-exported here [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__UAPI_DEF_XATTR` in the value namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] | ^^^^^^ the name `_K_SS_MAXSIZE` in the value namespace is first re-exported here [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `_K_SS_MAXSIZE` in the value namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] | ^^^^^^ the name `__LITTLE_ENDIAN` in the value namespace is first re-exported here [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__LITTLE_ENDIAN` in the value namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] | ^^^^^^ the name `FIOSETOWN` in the value namespace is first re-exported here [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] 31 | pub use sockios::*; [INFO] [stderr] | ---------- but the name `FIOSETOWN` in the value namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] | ^^^^^^ the name `SIOCSPGRP` in the value namespace is first re-exported here [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] 31 | pub use sockios::*; [INFO] [stderr] | ---------- but the name `SIOCSPGRP` in the value namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] | ^^^^^^ the name `FIOGETOWN` in the value namespace is first re-exported here [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] 31 | pub use sockios::*; [INFO] [stderr] | ---------- but the name `FIOGETOWN` in the value namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] | ^^^^^^ the name `SIOCGPGRP` in the value namespace is first re-exported here [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] 31 | pub use sockios::*; [INFO] [stderr] | ---------- but the name `SIOCGPGRP` in the value namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] | ^^^^^^ the name `SIOCATMARK` in the value namespace is first re-exported here [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] 31 | pub use sockios::*; [INFO] [stderr] | ---------- but the name `SIOCATMARK` in the value namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] | ^^^^^^ the name `SIOCGSTAMP` in the value namespace is first re-exported here [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] 31 | pub use sockios::*; [INFO] [stderr] | ---------- but the name `SIOCGSTAMP` in the value namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] | ^^^^^^ the name `SIOCGSTAMPNS` in the value namespace is first re-exported here [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] 31 | pub use sockios::*; [INFO] [stderr] | ---------- but the name `SIOCGSTAMPNS` in the value namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] | ^^^^^^ the name `__kernel_sa_family_t` in the type namespace is first re-exported here [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_sa_family_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] | ^^^^^^ the name `__kernel_sockaddr_storage` in the type namespace is first re-exported here [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_sockaddr_storage` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] | ^^^^^^ the name `_bindgen_ty_1` in the type namespace is first re-exported here [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `_bindgen_ty_1` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub use if_tun::*; [INFO] [stderr] | --------- but the name `__IncompleteArrayField` in the type namespace is also re-exported here [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] | ^^^^^^ the name `__IncompleteArrayField` in the type namespace is first re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] | ^^^^^^ the name `__kernel_fd_set` in the type namespace is first re-exported here [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_fd_set` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> net_gen/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub use iff::*; [INFO] [stderr] | ^^^^^^ the name `__kernel_fsid_t` in the type namespace is first re-exported here [INFO] [stderr] 30 | pub use inn::*; [INFO] [stderr] | ------ but the name `__kernel_fsid_t` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: `net_gen` (lib) generated 78 warnings [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> dumbo/src/ns.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | Arp(ArpFrameError), [INFO] [stderr] | --- ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 31 - Arp(ArpFrameError), [INFO] [stderr] 31 + Arp(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> dumbo/src/ns.rs:37:16 [INFO] [stderr] | [INFO] [stderr] 37 | IPv4Packet(IPv4PacketError), [INFO] [stderr] | ---------- ^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 37 - IPv4Packet(IPv4PacketError), [INFO] [stderr] 37 + IPv4Packet(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> dumbo/src/ns.rs:39:16 [INFO] [stderr] | [INFO] [stderr] 39 | TcpSegment(TcpSegmentError), [INFO] [stderr] | ---------- ^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 39 - TcpSegment(TcpSegmentError), [INFO] [stderr] 39 + TcpSegment(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `cpu_leaf::leaf_cache_parameters::eax::*` [INFO] [stderr] --> cpuid/src/cpu_leaf.rs:87:17 [INFO] [stderr] | [INFO] [stderr] 87 | pub use cpu_leaf::leaf_cache_parameters::eax::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `cpu_leaf::leaf_cache_parameters::eax` [INFO] [stderr] --> cpuid/src/cpu_leaf.rs:303:13 [INFO] [stderr] | [INFO] [stderr] 303 | pub use cpu_leaf::leaf_cache_parameters::eax; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> cpuid/src/brand_string.rs:227:10 [INFO] [stderr] | [INFO] [stderr] 227 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> arch/src/x86_64/gdt.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | (((u64::from(base) & 0xff00_0000u64) << (56 - 24)) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 18 | | (u64::from(limit) & 0x0000_ffffu64)) [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 14 ~ ((u64::from(base) & 0xff00_0000u64) << (56 - 24)) [INFO] [stderr] 15 | | ((u64::from(flags) & 0x0000_f0ffu64) << 40) [INFO] [stderr] 16 | | ((u64::from(limit) & 0x000f_0000u64) << (48 - 16)) [INFO] [stderr] 17 | | ((u64::from(base) & 0x00ff_ffffu64) << 16) [INFO] [stderr] 18 ~ | (u64::from(limit) & 0x0000_ffffu64) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> arch/src/x86_64/gdt.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | ((((entry) & 0xFF00_0000_0000_0000) >> 32) [INFO] [stderr] | ^ [INFO] [stderr] 23 | | (((entry) & 0x0000_00FF_0000_0000) >> 16) [INFO] [stderr] 24 | | (((entry) & 0x0000_0000_FFFF_0000) >> 16)) [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 22 ~ (((entry) & 0xFF00_0000_0000_0000) >> 32) [INFO] [stderr] 23 | | (((entry) & 0x0000_00FF_0000_0000) >> 16) [INFO] [stderr] 24 ~ | (((entry) & 0x0000_0000_FFFF_0000) >> 16) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> arch/src/x86_64/interrupts.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | (((reg) & !0x700) | ((mode) << 8)) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 59 - (((reg) & !0x700) | ((mode) << 8)) [INFO] [stderr] 59 + ((reg) & !0x700) | ((mode) << 8) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> arch/src/x86_64/mod.rs:48:39 [INFO] [stderr] | [INFO] [stderr] 48 | const FIRST_ADDR_PAST_32BITS: usize = (1 << 32); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 48 - const FIRST_ADDR_PAST_32BITS: usize = (1 << 32); [INFO] [stderr] 48 + const FIRST_ADDR_PAST_32BITS: usize = 1 << 32; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> arch/src/x86_64/mod.rs:49:35 [INFO] [stderr] | [INFO] [stderr] 49 | const MEM_32BIT_GAP_SIZE: usize = (768 << 20); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 49 - const MEM_32BIT_GAP_SIZE: usize = (768 << 20); [INFO] [stderr] 49 + const MEM_32BIT_GAP_SIZE: usize = 768 << 20; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `dumbo` (lib) generated 3 warnings [INFO] [stderr] warning: `cpuid` (lib) generated 3 warnings (run `cargo fix --lib -p cpuid` to apply 2 suggestions) [INFO] [stderr] warning: `arch` (lib) generated 5 warnings (run `cargo fix --lib -p arch` to apply 5 suggestions) [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> devices/src/virtio/mod.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | pub use self::block::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ the name `EpollConfig` in the type namespace is first re-exported here [INFO] [stderr] ... [INFO] [stderr] 25 | pub use self::vsock::*; [INFO] [stderr] | -------------- but the name `EpollConfig` in the type namespace is also re-exported here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> devices/src/virtio/vsock/csm/txbuf.rs:68:39 [INFO] [stderr] | [INFO] [stderr] 68 | Box::new(unsafe {mem::uninitialized::<[u8; Self::SIZE]>()})); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> devices/src/virtio/block.rs:48:17 [INFO] [stderr] | [INFO] [stderr] 48 | GuestMemory(GuestMemoryError), [INFO] [stderr] | ----------- ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 48 - GuestMemory(GuestMemoryError), [INFO] [stderr] 48 + GuestMemory(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> devices/src/virtio/block.rs:50:19 [INFO] [stderr] | [INFO] [stderr] 50 | CheckedOffset(GuestAddress, usize), [INFO] [stderr] | ------------- ^^^^^^^^^^^^ ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 50 - CheckedOffset(GuestAddress, usize), [INFO] [stderr] 50 + CheckedOffset((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> devices/src/virtio/block.rs:67:16 [INFO] [stderr] | [INFO] [stderr] 67 | BadRequest(Error), [INFO] [stderr] | ---------- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ExecuteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 67 - BadRequest(Error), [INFO] [stderr] 67 + BadRequest(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> devices/src/virtio/block.rs:68:11 [INFO] [stderr] | [INFO] [stderr] 68 | Flush(io::Error), [INFO] [stderr] | ----- ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ExecuteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 68 - Flush(io::Error), [INFO] [stderr] 68 + Flush(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> devices/src/virtio/block.rs:69:10 [INFO] [stderr] | [INFO] [stderr] 69 | Read(GuestMemoryError), [INFO] [stderr] | ---- ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ExecuteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 69 - Read(GuestMemoryError), [INFO] [stderr] 69 + Read(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> devices/src/virtio/block.rs:70:10 [INFO] [stderr] | [INFO] [stderr] 70 | Seek(io::Error), [INFO] [stderr] | ---- ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ExecuteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 70 - Seek(io::Error), [INFO] [stderr] 70 + Seek(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> devices/src/virtio/block.rs:71:11 [INFO] [stderr] | [INFO] [stderr] 71 | Write(GuestMemoryError), [INFO] [stderr] | ----- ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ExecuteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 71 - Write(GuestMemoryError), [INFO] [stderr] 71 + Write(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> devices/src/virtio/block.rs:72:17 [INFO] [stderr] | [INFO] [stderr] 72 | Unsupported(u32), [INFO] [stderr] | ----------- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ExecuteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 72 - Unsupported(u32), [INFO] [stderr] 72 + Unsupported(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> devices/src/virtio/vsock/csm/mod.rs:32:16 [INFO] [stderr] | [INFO] [stderr] 32 | TxBufFlush(std::io::Error), [INFO] [stderr] | ---------- ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 32 - TxBufFlush(std::io::Error), [INFO] [stderr] 32 + TxBufFlush(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> devices/src/virtio/vsock/csm/mod.rs:34:17 [INFO] [stderr] | [INFO] [stderr] 34 | StreamWrite(std::io::Error), [INFO] [stderr] | ----------- ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 34 - StreamWrite(std::io::Error), [INFO] [stderr] 34 + StreamWrite(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `evvq` and `cid` are never read [INFO] [stderr] --> devices/src/virtio/vsock/epoll_handler.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct VsockEpollHandler { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 50 | pub evvq: VirtQueue, [INFO] [stderr] | ^^^^ [INFO] [stderr] 51 | pub evvq_evt: EventFd, [INFO] [stderr] 52 | pub cid: u64, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> devices/src/virtio/queue.rs:65:14 [INFO] [stderr] | [INFO] [stderr] 65 | mem: &GuestMemory, [INFO] [stderr] | ^^^^^^^^^^^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 69 | ) -> Option { [INFO] [stderr] | --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 69 | ) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 65536]` does not permit being left uninitialized [INFO] [stderr] --> devices/src/virtio/vsock/csm/txbuf.rs:68:34 [INFO] [stderr] | [INFO] [stderr] 68 | Box::new(unsafe {mem::uninitialized::<[u8; Self::SIZE]>()})); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: `#[warn(invalid_value)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `devices` (lib) generated 15 warnings (run `cargo fix --lib -p devices` to apply 1 suggestion) [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> vmm/src/vmm_config/boot_source.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> vmm/src/vmm_config/boot_source.rs:8:41 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> vmm/src/vmm_config/drive.rs:60:17 [INFO] [stderr] | [INFO] [stderr] 60 | #[derive(Debug, Deserialize, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> vmm/src/vmm_config/instance_info.rs:17:35 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(Clone, Debug, PartialEq, Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> vmm/src/vmm_config/instance_info.rs:28:17 [INFO] [stderr] | [INFO] [stderr] 28 | #[derive(Debug, Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> vmm/src/vmm_config/logger.rs:54:47 [INFO] [stderr] | [INFO] [stderr] 54 | fn write(&mut self, msg: &[u8]) -> Result<(usize)> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 54 - fn write(&mut self, msg: &[u8]) -> Result<(usize)> { [INFO] [stderr] 54 + fn write(&mut self, msg: &[u8]) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> vmm/src/vmm_config/logger.rs:66:24 [INFO] [stderr] | [INFO] [stderr] 66 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> vmm/src/vmm_config/logger.rs:66:48 [INFO] [stderr] | [INFO] [stderr] 66 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> vmm/src/vmm_config/logger.rs:82:24 [INFO] [stderr] | [INFO] [stderr] 82 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> vmm/src/vmm_config/logger.rs:82:48 [INFO] [stderr] | [INFO] [stderr] 82 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> vmm/src/vmm_config/machine_config.rs:42:24 [INFO] [stderr] | [INFO] [stderr] 42 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> vmm/src/vmm_config/machine_config.rs:42:48 [INFO] [stderr] | [INFO] [stderr] 42 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> vmm/src/vmm_config/machine_config.rs:92:30 [INFO] [stderr] | [INFO] [stderr] 92 | #[derive(Clone, Copy, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> vmm/src/vmm_config/machine_config.rs:92:54 [INFO] [stderr] | [INFO] [stderr] 92 | #[derive(Clone, Copy, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> vmm/src/vmm_config/net.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug, Deserialize, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> vmm/src/vmm_config/net.rs:63:17 [INFO] [stderr] | [INFO] [stderr] 63 | #[derive(Debug, Deserialize, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> vmm/src/vmm_config/vsock.rs:8:24 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> vmm/src/vmm_config/vsock.rs:8:48 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> vmm/src/vmm_config/mod.rs:35:39 [INFO] [stderr] | [INFO] [stderr] 35 | #[derive(Clone, Copy, Debug, Default, Deserialize, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> vmm/src/vmm_config/mod.rs:58:39 [INFO] [stderr] | [INFO] [stderr] 58 | #[derive(Clone, Copy, Debug, Default, Deserialize, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> vmm/src/lib.rs:414:5 [INFO] [stderr] | [INFO] [stderr] 414 | (get_time(ClockType::Monotonic) / 1000) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 414 - (get_time(ClockType::Monotonic) / 1000) [INFO] [stderr] 414 + get_time(ClockType::Monotonic) / 1000 [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> vmm/src/lib.rs:698:10 [INFO] [stderr] | [INFO] [stderr] 698 | #[derive(Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `irq` and `len` are never read [INFO] [stderr] --> vmm/src/device_manager/mmio.rs:310:5 [INFO] [stderr] | [INFO] [stderr] 308 | pub struct MMIODeviceInfo { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 309 | addr: u64, [INFO] [stderr] 310 | irq: u32, [INFO] [stderr] | ^^^ [INFO] [stderr] 311 | len: u64, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MMIODeviceInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> vmm/src/lib.rs:698:10 [INFO] [stderr] | [INFO] [stderr] 698 | #[derive(Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_VmmConfig` [INFO] [stderr] 699 | pub struct VmmConfig { [INFO] [stderr] | --------- `VmmConfig` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> vmm/src/vmm_config/mod.rs:35:39 [INFO] [stderr] | [INFO] [stderr] 35 | #[derive(Clone, Copy, Debug, Default, Deserialize, PartialEq)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_TokenBucketConfig` [INFO] [stderr] 36 | pub struct TokenBucketConfig { [INFO] [stderr] | ----------------- `TokenBucketConfig` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> vmm/src/vmm_config/mod.rs:58:39 [INFO] [stderr] | [INFO] [stderr] 58 | #[derive(Clone, Copy, Debug, Default, Deserialize, PartialEq)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_RateLimiterConfig` [INFO] [stderr] 59 | pub struct RateLimiterConfig { [INFO] [stderr] | ----------------- `RateLimiterConfig` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> vmm/src/vmm_config/boot_source.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_BootSourceConfig` [INFO] [stderr] 9 | #[serde(deny_unknown_fields)] [INFO] [stderr] 10 | pub struct BootSourceConfig { [INFO] [stderr] | ---------------- `BootSourceConfig` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> vmm/src/vmm_config/boot_source.rs:8:41 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_BootSourceConfig` [INFO] [stderr] 9 | #[serde(deny_unknown_fields)] [INFO] [stderr] 10 | pub struct BootSourceConfig { [INFO] [stderr] | ---------------- `BootSourceConfig` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> vmm/src/vmm_config/drive.rs:60:17 [INFO] [stderr] | [INFO] [stderr] 60 | #[derive(Debug, Deserialize, PartialEq)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_BlockDeviceConfig` [INFO] [stderr] 61 | #[serde(deny_unknown_fields)] [INFO] [stderr] 62 | pub struct BlockDeviceConfig { [INFO] [stderr] | ----------------- `BlockDeviceConfig` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> vmm/src/vmm_config/instance_info.rs:17:35 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(Clone, Debug, PartialEq, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_InstanceState` [INFO] [stderr] 18 | pub enum InstanceState { [INFO] [stderr] | ------------- `InstanceState` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> vmm/src/vmm_config/instance_info.rs:28:17 [INFO] [stderr] | [INFO] [stderr] 28 | #[derive(Debug, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_InstanceInfo` [INFO] [stderr] 29 | pub struct InstanceInfo { [INFO] [stderr] | ------------ `InstanceInfo` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> vmm/src/vmm_config/logger.rs:43:24 [INFO] [stderr] | [INFO] [stderr] 43 | fn get_line_writer(&self) -> MutexGuard> { [INFO] [stderr] | ^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 43 | fn get_line_writer(&self) -> MutexGuard<'_, LineWriter> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> vmm/src/vmm_config/logger.rs:66:24 [INFO] [stderr] | [INFO] [stderr] 66 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_LoggerLevel` [INFO] [stderr] 67 | pub enum LoggerLevel { [INFO] [stderr] | ----------- `LoggerLevel` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> vmm/src/vmm_config/logger.rs:66:48 [INFO] [stderr] | [INFO] [stderr] 66 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_LoggerLevel` [INFO] [stderr] 67 | pub enum LoggerLevel { [INFO] [stderr] | ----------- `LoggerLevel` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> vmm/src/vmm_config/logger.rs:82:24 [INFO] [stderr] | [INFO] [stderr] 82 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_LoggerConfig` [INFO] [stderr] 83 | #[serde(deny_unknown_fields)] [INFO] [stderr] 84 | pub struct LoggerConfig { [INFO] [stderr] | ------------ `LoggerConfig` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> vmm/src/vmm_config/logger.rs:82:48 [INFO] [stderr] | [INFO] [stderr] 82 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_LoggerConfig` [INFO] [stderr] 83 | #[serde(deny_unknown_fields)] [INFO] [stderr] 84 | pub struct LoggerConfig { [INFO] [stderr] | ------------ `LoggerConfig` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> vmm/src/vmm_config/machine_config.rs:42:24 [INFO] [stderr] | [INFO] [stderr] 42 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_VmConfig` [INFO] [stderr] 43 | #[serde(deny_unknown_fields)] [INFO] [stderr] 44 | pub struct VmConfig { [INFO] [stderr] | -------- `VmConfig` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> vmm/src/vmm_config/machine_config.rs:42:48 [INFO] [stderr] | [INFO] [stderr] 42 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_VmConfig` [INFO] [stderr] 43 | #[serde(deny_unknown_fields)] [INFO] [stderr] 44 | pub struct VmConfig { [INFO] [stderr] | -------- `VmConfig` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> vmm/src/vmm_config/machine_config.rs:92:30 [INFO] [stderr] | [INFO] [stderr] 92 | #[derive(Clone, Copy, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_CpuFeaturesTemplate` [INFO] [stderr] 93 | pub enum CpuFeaturesTemplate { [INFO] [stderr] | ------------------- `CpuFeaturesTemplate` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> vmm/src/vmm_config/machine_config.rs:92:54 [INFO] [stderr] | [INFO] [stderr] 92 | #[derive(Clone, Copy, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_CpuFeaturesTemplate` [INFO] [stderr] 93 | pub enum CpuFeaturesTemplate { [INFO] [stderr] | ------------------- `CpuFeaturesTemplate` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> vmm/src/vmm_config/net.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug, Deserialize, PartialEq)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_NetworkInterfaceConfig` [INFO] [stderr] 15 | #[serde(deny_unknown_fields)] [INFO] [stderr] 16 | pub struct NetworkInterfaceConfig { [INFO] [stderr] | ---------------------- `NetworkInterfaceConfig` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> vmm/src/vmm_config/net.rs:63:17 [INFO] [stderr] | [INFO] [stderr] 63 | #[derive(Debug, Deserialize, PartialEq)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_NetworkInterfaceUpdateConfig` [INFO] [stderr] 64 | #[serde(deny_unknown_fields)] [INFO] [stderr] 65 | pub struct NetworkInterfaceUpdateConfig { [INFO] [stderr] | ---------------------------- `NetworkInterfaceUpdateConfig` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> vmm/src/vmm_config/net.rs:149:21 [INFO] [stderr] | [INFO] [stderr] 149 | pub fn iter_mut(&mut self) -> ::std::slice::IterMut { [INFO] [stderr] | ^^^^^^^^^ --------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 149 | pub fn iter_mut(&mut self) -> ::std::slice::IterMut<'_, NetworkInterfaceConfig> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> vmm/src/vmm_config/vsock.rs:8:24 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_VsockDeviceConfig` [INFO] [stderr] 9 | #[serde(deny_unknown_fields)] [INFO] [stderr] 10 | pub struct VsockDeviceConfig { [INFO] [stderr] | ----------------- `VsockDeviceConfig` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> vmm/src/vmm_config/vsock.rs:8:48 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_VsockDeviceConfig` [INFO] [stderr] 9 | #[serde(deny_unknown_fields)] [INFO] [stderr] 10 | pub struct VsockDeviceConfig { [INFO] [stderr] | ----------------- `VsockDeviceConfig` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `vmm` (lib) generated 45 warnings (run `cargo fix --lib -p vmm` to apply 4 suggestions) [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> api_server/src/request/actions.rs:16:24 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> api_server/src/request/actions.rs:16:48 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> api_server/src/request/actions.rs:26:24 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> api_server/src/request/actions.rs:26:48 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> api_server/src/http_service.rs:138:19 [INFO] [stderr] | [INFO] [stderr] 138 | fn checked_id(id: &str) -> Result<&str> { [INFO] [stderr] | ^^^^ ------------ [INFO] [stderr] | | | | [INFO] [stderr] | | | the lifetimes get resolved as `'_` [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 138 | fn checked_id(id: &str) -> Result<'_, &str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> api_server/src/request/actions.rs:16:24 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ActionType` [INFO] [stderr] 17 | enum ActionType { [INFO] [stderr] | ---------- `ActionType` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> api_server/src/request/actions.rs:16:48 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ActionType` [INFO] [stderr] 17 | enum ActionType { [INFO] [stderr] | ---------- `ActionType` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> api_server/src/request/actions.rs:26:24 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ActionBody` [INFO] [stderr] 27 | #[serde(deny_unknown_fields)] [INFO] [stderr] 28 | pub struct ActionBody { [INFO] [stderr] | ---------- `ActionBody` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> api_server/src/request/actions.rs:26:48 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ActionBody` [INFO] [stderr] 27 | #[serde(deny_unknown_fields)] [INFO] [stderr] 28 | pub struct ActionBody { [INFO] [stderr] | ---------- `ActionBody` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `api_server` (lib) generated 9 warnings (run `cargo fix --lib -p api_server` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/firecracker-d9133d03cc528ac8) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::test_main ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.45s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/jailer.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/jailer-3e8adbaa9c776831) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8ba42b1bd367b57c067aeaa3b6db9f3d9ed88e557702abd9199dc934ec9921ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ba42b1bd367b57c067aeaa3b6db9f3d9ed88e557702abd9199dc934ec9921ac", kill_on_drop: false }` [INFO] [stdout] 8ba42b1bd367b57c067aeaa3b6db9f3d9ed88e557702abd9199dc934ec9921ac