[INFO] fetching crate syslib 0.0.0... [INFO] testing syslib-0.0.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate syslib 0.0.0 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate syslib 0.0.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8eab0d404a892cadab092750d8701e1ea226efb9bd71a881fb5f0cda6de5eb4 [INFO] running `Command { std: "docker" "start" "-a" "b8eab0d404a892cadab092750d8701e1ea226efb9bd71a881fb5f0cda6de5eb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8eab0d404a892cadab092750d8701e1ea226efb9bd71a881fb5f0cda6de5eb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8eab0d404a892cadab092750d8701e1ea226efb9bd71a881fb5f0cda6de5eb4", kill_on_drop: false }` [INFO] [stdout] b8eab0d404a892cadab092750d8701e1ea226efb9bd71a881fb5f0cda6de5eb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc65cddac07b30dcc76758b57dc96df0add08404e39552b2a3fd4a273cf89746 [INFO] running `Command { std: "docker" "start" "-a" "dc65cddac07b30dcc76758b57dc96df0add08404e39552b2a3fd4a273cf89746", 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/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: `#[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/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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.85s [INFO] running `Command { std: "docker" "inspect" "dc65cddac07b30dcc76758b57dc96df0add08404e39552b2a3fd4a273cf89746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc65cddac07b30dcc76758b57dc96df0add08404e39552b2a3fd4a273cf89746", kill_on_drop: false }` [INFO] [stdout] dc65cddac07b30dcc76758b57dc96df0add08404e39552b2a3fd4a273cf89746 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4b32dcb7eb3fd27a9d02809f23efc5db22dad2cab9caad855f2073428299ac2 [INFO] running `Command { std: "docker" "start" "-a" "d4b32dcb7eb3fd27a9d02809f23efc5db22dad2cab9caad855f2073428299ac2", kill_on_drop: false }` [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: `#[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/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: 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] [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/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: `#[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/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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "d4b32dcb7eb3fd27a9d02809f23efc5db22dad2cab9caad855f2073428299ac2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4b32dcb7eb3fd27a9d02809f23efc5db22dad2cab9caad855f2073428299ac2", kill_on_drop: false }` [INFO] [stdout] d4b32dcb7eb3fd27a9d02809f23efc5db22dad2cab9caad855f2073428299ac2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1d47726301d3a1f9e435cdd4f345656c9b23eeee34426b8fba11014c0a145fdc [INFO] running `Command { std: "docker" "start" "-a" "1d47726301d3a1f9e435cdd4f345656c9b23eeee34426b8fba11014c0a145fdc", kill_on_drop: false }` [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lib.rs:74:32 [INFO] [stderr] | [INFO] [stderr] 74 | $vis struct $name($vis $ty); [INFO] [stderr] | ________________________________^ [INFO] [stderr] 75 | | impl $name { [INFO] [stderr] 76 | | $vis const NONE: Self = Self(0); [INFO] [stderr] 77 | | $( [INFO] [stderr] ... | [INFO] [stderr] 131 | | #[derive(Debug)] [INFO] [stderr] 132 | | struct Unknown($ty); [INFO] [stderr] | |________________________-------___^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] ::: src/sys/x86_64/epoll.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / c_flags!{ [INFO] [stderr] 6 | | pub Flags(u32) { [INFO] [stderr] 7 | | CLOSE_ON_EXEC = 0o2000000 [INFO] [stderr] 8 | | } _ => Err(crate::Error::EINVAL) [INFO] [stderr] 9 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `c_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lib.rs:74:32 [INFO] [stderr] | [INFO] [stderr] 74 | $vis struct $name($vis $ty); [INFO] [stderr] | ________________________________^ [INFO] [stderr] 75 | | impl $name { [INFO] [stderr] 76 | | $vis const NONE: Self = Self(0); [INFO] [stderr] 77 | | $( [INFO] [stderr] ... | [INFO] [stderr] 131 | | #[derive(Debug)] [INFO] [stderr] 132 | | struct Unknown($ty); [INFO] [stderr] | |________________________-------___^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] ::: src/sys/x86_64/epoll.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / c_flags!{ [INFO] [stderr] 12 | | pub Events(u32) { [INFO] [stderr] 13 | | INPUT = 0x01, [INFO] [stderr] 14 | | OUTPUT = 0x04, [INFO] [stderr] ... | [INFO] [stderr] 17 | | } _ => Err(crate::Error::EINVAL) [INFO] [stderr] 18 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `c_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lib.rs:74:32 [INFO] [stderr] | [INFO] [stderr] 74 | $vis struct $name($vis $ty); [INFO] [stderr] | ________________________________^ [INFO] [stderr] 75 | | impl $name { [INFO] [stderr] 76 | | $vis const NONE: Self = Self(0); [INFO] [stderr] 77 | | $( [INFO] [stderr] ... | [INFO] [stderr] 131 | | #[derive(Debug)] [INFO] [stderr] 132 | | struct Unknown($ty); [INFO] [stderr] | |________________________-------___^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] ::: src/sys/x86_64.rs:656:5 [INFO] [stderr] | [INFO] [stderr] 656 | / crate::c_flags!{ [INFO] [stderr] 657 | | pub Flags(u32) { [INFO] [stderr] 658 | | READ_ONLY = 0b00, [INFO] [stderr] 659 | | WRITE_ONLY = 0b01, [INFO] [stderr] ... | [INFO] [stderr] 666 | | } _ => Err(Error::EINVAL) [INFO] [stderr] 667 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `crate::c_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lib.rs:74:32 [INFO] [stderr] | [INFO] [stderr] 74 | $vis struct $name($vis $ty); [INFO] [stderr] | ________________________________^ [INFO] [stderr] 75 | | impl $name { [INFO] [stderr] 76 | | $vis const NONE: Self = Self(0); [INFO] [stderr] 77 | | $( [INFO] [stderr] ... | [INFO] [stderr] 131 | | #[derive(Debug)] [INFO] [stderr] 132 | | struct Unknown($ty); [INFO] [stderr] | |________________________-------___^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] ::: src/sock.rs:67:1 [INFO] [stderr] | [INFO] [stderr] 67 | / c_flags!{ [INFO] [stderr] 68 | | pub Flags(u32) { [INFO] [stderr] 69 | | OOB = 0x01, [INFO] [stderr] 70 | | PEEK = 0x02, [INFO] [stderr] ... | [INFO] [stderr] 74 | | } _ => Err(crate::Error::EINVAL) [INFO] [stderr] 75 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `Unknown` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `c_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `syslib` (lib) generated 4 warnings [INFO] [stderr] warning: `syslib` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/syslib-45e693be2d515757) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] Stat { [INFO] [stdout] device_id: 75, [INFO] [stdout] inode: 5, [INFO] [stdout] link_count: 1, [INFO] [stdout] mode: 8630, [INFO] [stdout] uid: 0, [INFO] [stdout] gid: 0, [INFO] [stdout] device: Device { [INFO] [stdout] major: 1, [INFO] [stdout] minor: 3, [INFO] [stdout] }, [INFO] [stdout] size: 0, [INFO] [stdout] block_size: 4096, [INFO] [stdout] blocks: 0, [INFO] [stdout] access_time: 1763076823, [INFO] [stdout] access_time_nsec: 932981589, [INFO] [stdout] modify_time: 1763076823, [INFO] [stdout] modify_time_nsec: 932981589, [INFO] [stdout] status_change_time: 1763076823, [INFO] [stdout] status_change_time_nsec: 933419679, [INFO] [stderr] Doc-tests syslib [INFO] [stdout] }test test::test_write ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - mode (line 51) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1d47726301d3a1f9e435cdd4f345656c9b23eeee34426b8fba11014c0a145fdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d47726301d3a1f9e435cdd4f345656c9b23eeee34426b8fba11014c0a145fdc", kill_on_drop: false }` [INFO] [stdout] 1d47726301d3a1f9e435cdd4f345656c9b23eeee34426b8fba11014c0a145fdc