[INFO] fetching crate syslib 0.0.0... [INFO] building syslib-0.0.0 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate syslib 0.0.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate syslib 0.0.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate syslib 0.0.0 [INFO] tweaked toml for crates.io crate syslib 0.0.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate syslib 0.0.0 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate syslib 0.0.0 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b890bf30f6aff3e269a36ee7a2050578f16b54669b9daef8025d5482033a291d [INFO] running `Command { std: "docker" "start" "-a" "b890bf30f6aff3e269a36ee7a2050578f16b54669b9daef8025d5482033a291d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b890bf30f6aff3e269a36ee7a2050578f16b54669b9daef8025d5482033a291d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b890bf30f6aff3e269a36ee7a2050578f16b54669b9daef8025d5482033a291d", kill_on_drop: false }` [INFO] [stdout] b890bf30f6aff3e269a36ee7a2050578f16b54669b9daef8025d5482033a291d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0d822d557b3d64216f85e2edd5bab80d6f95f9b70417780539c141cf2981146 [INFO] running `Command { std: "docker" "start" "-a" "b0d822d557b3d64216f85e2edd5bab80d6f95f9b70417780539c141cf2981146", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling syslib-macro v0.0.0 [INFO] [stderr] Compiling syslib v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | $vis struct $name($vis $ty); [INFO] [stdout] | ________________________________^ [INFO] [stdout] 75 | | impl $name { [INFO] [stdout] 76 | | $vis const NONE: Self = Self(0); [INFO] [stdout] 77 | | $( [INFO] [stdout] ... | [INFO] [stdout] 131 | | #[derive(Debug)] [INFO] [stdout] 132 | | struct Unknown($ty); [INFO] [stdout] | |________________________-------___^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] ::: src/sock.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | / c_flags!{ [INFO] [stdout] 68 | | pub Flags(u32) { [INFO] [stdout] 69 | | OOB = 0x01, [INFO] [stdout] 70 | | PEEK = 0x02, [INFO] [stdout] ... | [INFO] [stdout] 74 | | } _ => Err(crate::Error::EINVAL) [INFO] [stdout] 75 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `c_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | $vis struct $name($vis $ty); [INFO] [stdout] | ________________________________^ [INFO] [stdout] 75 | | impl $name { [INFO] [stdout] 76 | | $vis const NONE: Self = Self(0); [INFO] [stdout] 77 | | $( [INFO] [stdout] ... | [INFO] [stdout] 131 | | #[derive(Debug)] [INFO] [stdout] 132 | | struct Unknown($ty); [INFO] [stdout] | |________________________-------___^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] ::: src/sys/x86_64.rs:656:5 [INFO] [stdout] | [INFO] [stdout] 656 | / crate::c_flags!{ [INFO] [stdout] 657 | | pub Flags(u32) { [INFO] [stdout] 658 | | READ_ONLY = 0b00, [INFO] [stdout] 659 | | WRITE_ONLY = 0b01, [INFO] [stdout] ... | [INFO] [stdout] 666 | | } _ => Err(Error::EINVAL) [INFO] [stdout] 667 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `crate::c_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | $vis struct $name($vis $ty); [INFO] [stdout] | ________________________________^ [INFO] [stdout] 75 | | impl $name { [INFO] [stdout] 76 | | $vis const NONE: Self = Self(0); [INFO] [stdout] 77 | | $( [INFO] [stdout] ... | [INFO] [stdout] 131 | | #[derive(Debug)] [INFO] [stdout] 132 | | struct Unknown($ty); [INFO] [stdout] | |________________________-------___^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] ::: src/sys/x86_64/epoll.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / c_flags!{ [INFO] [stdout] 6 | | pub Flags(u32) { [INFO] [stdout] 7 | | CLOSE_ON_EXEC = 0o2000000 [INFO] [stdout] 8 | | } _ => Err(crate::Error::EINVAL) [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `c_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | $vis struct $name($vis $ty); [INFO] [stdout] | ________________________________^ [INFO] [stdout] 75 | | impl $name { [INFO] [stdout] 76 | | $vis const NONE: Self = Self(0); [INFO] [stdout] 77 | | $( [INFO] [stdout] ... | [INFO] [stdout] 131 | | #[derive(Debug)] [INFO] [stdout] 132 | | struct Unknown($ty); [INFO] [stdout] | |________________________-------___^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] ::: src/sys/x86_64/epoll.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / c_flags!{ [INFO] [stdout] 12 | | pub Events(u32) { [INFO] [stdout] 13 | | INPUT = 0x01, [INFO] [stdout] 14 | | OUTPUT = 0x04, [INFO] [stdout] ... | [INFO] [stdout] 17 | | } _ => Err(crate::Error::EINVAL) [INFO] [stdout] 18 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `c_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.00s [INFO] running `Command { std: "docker" "inspect" "b0d822d557b3d64216f85e2edd5bab80d6f95f9b70417780539c141cf2981146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0d822d557b3d64216f85e2edd5bab80d6f95f9b70417780539c141cf2981146", kill_on_drop: false }` [INFO] [stdout] b0d822d557b3d64216f85e2edd5bab80d6f95f9b70417780539c141cf2981146 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d59a077c1839ff0c179c6ae5e3be11fb839c50cc0e113573b95a9967dbc3d3fe [INFO] running `Command { std: "docker" "start" "-a" "d59a077c1839ff0c179c6ae5e3be11fb839c50cc0e113573b95a9967dbc3d3fe", kill_on_drop: false }` [INFO] [stderr] Compiling syslib v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | $vis struct $name($vis $ty); [INFO] [stdout] | ________________________________^ [INFO] [stdout] 75 | | impl $name { [INFO] [stdout] 76 | | $vis const NONE: Self = Self(0); [INFO] [stdout] 77 | | $( [INFO] [stdout] ... | [INFO] [stdout] 131 | | #[derive(Debug)] [INFO] [stdout] 132 | | struct Unknown($ty); [INFO] [stdout] | |________________________-------___^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] ::: src/sock.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | / c_flags!{ [INFO] [stdout] 68 | | pub Flags(u32) { [INFO] [stdout] 69 | | OOB = 0x01, [INFO] [stdout] 70 | | PEEK = 0x02, [INFO] [stdout] ... | [INFO] [stdout] 74 | | } _ => Err(crate::Error::EINVAL) [INFO] [stdout] 75 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `c_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | $vis struct $name($vis $ty); [INFO] [stdout] | ________________________________^ [INFO] [stdout] 75 | | impl $name { [INFO] [stdout] 76 | | $vis const NONE: Self = Self(0); [INFO] [stdout] 77 | | $( [INFO] [stdout] ... | [INFO] [stdout] 131 | | #[derive(Debug)] [INFO] [stdout] 132 | | struct Unknown($ty); [INFO] [stdout] | |________________________-------___^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] ::: src/sys/x86_64.rs:656:5 [INFO] [stdout] | [INFO] [stdout] 656 | / crate::c_flags!{ [INFO] [stdout] 657 | | pub Flags(u32) { [INFO] [stdout] 658 | | READ_ONLY = 0b00, [INFO] [stdout] 659 | | WRITE_ONLY = 0b01, [INFO] [stdout] ... | [INFO] [stdout] 666 | | } _ => Err(Error::EINVAL) [INFO] [stdout] 667 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `crate::c_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | $vis struct $name($vis $ty); [INFO] [stdout] | ________________________________^ [INFO] [stdout] 75 | | impl $name { [INFO] [stdout] 76 | | $vis const NONE: Self = Self(0); [INFO] [stdout] 77 | | $( [INFO] [stdout] ... | [INFO] [stdout] 131 | | #[derive(Debug)] [INFO] [stdout] 132 | | struct Unknown($ty); [INFO] [stdout] | |________________________-------___^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] ::: src/sys/x86_64/epoll.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / c_flags!{ [INFO] [stdout] 6 | | pub Flags(u32) { [INFO] [stdout] 7 | | CLOSE_ON_EXEC = 0o2000000 [INFO] [stdout] 8 | | } _ => Err(crate::Error::EINVAL) [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `c_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | $vis struct $name($vis $ty); [INFO] [stdout] | ________________________________^ [INFO] [stdout] 75 | | impl $name { [INFO] [stdout] 76 | | $vis const NONE: Self = Self(0); [INFO] [stdout] 77 | | $( [INFO] [stdout] ... | [INFO] [stdout] 131 | | #[derive(Debug)] [INFO] [stdout] 132 | | struct Unknown($ty); [INFO] [stdout] | |________________________-------___^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] ::: src/sys/x86_64/epoll.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / c_flags!{ [INFO] [stdout] 12 | | pub Events(u32) { [INFO] [stdout] 13 | | INPUT = 0x01, [INFO] [stdout] 14 | | OUTPUT = 0x04, [INFO] [stdout] ... | [INFO] [stdout] 17 | | } _ => Err(crate::Error::EINVAL) [INFO] [stdout] 18 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `c_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | $vis struct $name($vis $ty); [INFO] [stdout] | ________________________________^ [INFO] [stdout] 75 | | impl $name { [INFO] [stdout] 76 | | $vis const NONE: Self = Self(0); [INFO] [stdout] 77 | | $( [INFO] [stdout] ... | [INFO] [stdout] 131 | | #[derive(Debug)] [INFO] [stdout] 132 | | struct Unknown($ty); [INFO] [stdout] | |________________________-------___^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] ::: src/sys/x86_64.rs:656:5 [INFO] [stdout] | [INFO] [stdout] 656 | / crate::c_flags!{ [INFO] [stdout] 657 | | pub Flags(u32) { [INFO] [stdout] 658 | | READ_ONLY = 0b00, [INFO] [stdout] 659 | | WRITE_ONLY = 0b01, [INFO] [stdout] ... | [INFO] [stdout] 666 | | } _ => Err(Error::EINVAL) [INFO] [stdout] 667 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `crate::c_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | $vis struct $name($vis $ty); [INFO] [stdout] | ________________________________^ [INFO] [stdout] 75 | | impl $name { [INFO] [stdout] 76 | | $vis const NONE: Self = Self(0); [INFO] [stdout] 77 | | $( [INFO] [stdout] ... | [INFO] [stdout] 131 | | #[derive(Debug)] [INFO] [stdout] 132 | | struct Unknown($ty); [INFO] [stdout] | |________________________-------___^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] ::: src/sock.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | / c_flags!{ [INFO] [stdout] 68 | | pub Flags(u32) { [INFO] [stdout] 69 | | OOB = 0x01, [INFO] [stdout] 70 | | PEEK = 0x02, [INFO] [stdout] ... | [INFO] [stdout] 74 | | } _ => Err(crate::Error::EINVAL) [INFO] [stdout] 75 | | } [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `c_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | $vis struct $name($vis $ty); [INFO] [stdout] | ________________________________^ [INFO] [stdout] 75 | | impl $name { [INFO] [stdout] 76 | | $vis const NONE: Self = Self(0); [INFO] [stdout] 77 | | $( [INFO] [stdout] ... | [INFO] [stdout] 131 | | #[derive(Debug)] [INFO] [stdout] 132 | | struct Unknown($ty); [INFO] [stdout] | |________________________-------___^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] ::: src/sys/x86_64/epoll.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / c_flags!{ [INFO] [stdout] 6 | | pub Flags(u32) { [INFO] [stdout] 7 | | CLOSE_ON_EXEC = 0o2000000 [INFO] [stdout] 8 | | } _ => Err(crate::Error::EINVAL) [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `c_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | $vis struct $name($vis $ty); [INFO] [stdout] | ________________________________^ [INFO] [stdout] 75 | | impl $name { [INFO] [stdout] 76 | | $vis const NONE: Self = Self(0); [INFO] [stdout] 77 | | $( [INFO] [stdout] ... | [INFO] [stdout] 131 | | #[derive(Debug)] [INFO] [stdout] 132 | | struct Unknown($ty); [INFO] [stdout] | |________________________-------___^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] ::: src/sys/x86_64/epoll.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / c_flags!{ [INFO] [stdout] 12 | | pub Events(u32) { [INFO] [stdout] 13 | | INPUT = 0x01, [INFO] [stdout] 14 | | OUTPUT = 0x04, [INFO] [stdout] ... | [INFO] [stdout] 17 | | } _ => Err(crate::Error::EINVAL) [INFO] [stdout] 18 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `c_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.16s [INFO] running `Command { std: "docker" "inspect" "d59a077c1839ff0c179c6ae5e3be11fb839c50cc0e113573b95a9967dbc3d3fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d59a077c1839ff0c179c6ae5e3be11fb839c50cc0e113573b95a9967dbc3d3fe", kill_on_drop: false }` [INFO] [stdout] d59a077c1839ff0c179c6ae5e3be11fb839c50cc0e113573b95a9967dbc3d3fe