[INFO] fetching crate rscap 0.2.0... [INFO] checking rscap-0.2.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate rscap 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate rscap 0.2.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rscap 0.2.0 [INFO] finished tweaking crates.io crate rscap 0.2.0 [INFO] tweaked toml for crates.io crate rscap 0.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] [stderr] Adding pkts-common v0.1.0 (available: v0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e41e225b09083d954647ffb9e7ea449e3329268a386a0ec7f2faf6cd2693d2c [INFO] running `Command { std: "docker" "start" "-a" "8e41e225b09083d954647ffb9e7ea449e3329268a386a0ec7f2faf6cd2693d2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e41e225b09083d954647ffb9e7ea449e3329268a386a0ec7f2faf6cd2693d2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e41e225b09083d954647ffb9e7ea449e3329268a386a0ec7f2faf6cd2693d2c", kill_on_drop: false }` [INFO] [stdout] 8e41e225b09083d954647ffb9e7ea449e3329268a386a0ec7f2faf6cd2693d2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c40cca45c8218bb61a9292248d65a6a8e44665b8d7b730c4e486c62847b5a505 [INFO] running `Command { std: "docker" "start" "-a" "c40cca45c8218bb61a9292248d65a6a8e44665b8d7b730c4e486c62847b5a505", kill_on_drop: false }` [INFO] [stderr] Checking pkts-common v0.1.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking rscap v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `PACKET_HOST` is never used [INFO] [stdout] --> src/linux.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) const PACKET_HOST: libc::c_uchar = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PACKET_BROADCAST` is never used [INFO] [stdout] --> src/linux.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | pub(crate) const PACKET_BROADCAST: libc::c_uchar = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PACKET_MULTICAST` is never used [INFO] [stdout] --> src/linux.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) const PACKET_MULTICAST: libc::c_uchar = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PACKET_OTHERHOST` is never used [INFO] [stdout] --> src/linux.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) const PACKET_OTHERHOST: libc::c_uchar = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PACKET_OUTGOING` is never used [INFO] [stdout] --> src/linux.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) const PACKET_OUTGOING: libc::c_uchar = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PACKET_LOOPBACK` is never used [INFO] [stdout] --> src/linux.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) const PACKET_LOOPBACK: libc::c_uchar = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PACKET_USER` is never used [INFO] [stdout] --> src/linux.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) const PACKET_USER: libc::c_uchar = 6; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PACKET_KERNEL` is never used [INFO] [stdout] --> src/linux.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | pub(crate) const PACKET_KERNEL: libc::c_uchar = 7; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PACKET_AUXDATA` is never used [INFO] [stdout] --> src/linux.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) const PACKET_AUXDATA: libc::c_int = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PACKET_LOSS` is never used [INFO] [stdout] --> src/linux.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | pub(crate) const PACKET_LOSS: libc::c_int = 14; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PACKET_FANOUT_CBPF` is never used [INFO] [stdout] --> src/linux.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | pub(crate) const PACKET_FANOUT_CBPF: libc::c_uint = 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PACKET_FANOUT_EBPF` is never used [INFO] [stdout] --> src/linux.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | pub(crate) const PACKET_FANOUT_EBPF: libc::c_uint = 7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PACKET_FANOUT_FLAG_UNIQUEID` is never used [INFO] [stdout] --> src/linux.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 69 | pub(crate) const PACKET_FANOUT_FLAG_UNIQUEID: libc::c_uint = 0x2000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TP_STATUS_KERNEL` is never used [INFO] [stdout] --> src/linux.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | pub(crate) const TP_STATUS_KERNEL: libc::__u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TP_STATUS_BLK_TMO` is never used [INFO] [stdout] --> src/linux.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | pub(crate) const TP_STATUS_BLK_TMO: libc::__u32 = 1 << 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TP_STATUS_TS_SOFTWARE` is never used [INFO] [stdout] --> src/linux.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | pub(crate) const TP_STATUS_TS_SOFTWARE: libc::__u32 = 1 << 29; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TP_STATUS_TS_SYS_HARDWARE` is never used [INFO] [stdout] --> src/linux.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | pub(crate) const TP_STATUS_TS_SYS_HARDWARE: libc::__u32 = 1 << 30; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TP_STATUS_TS_RAW_HARDWARE` is never used [INFO] [stdout] --> src/linux.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | pub(crate) const TP_STATUS_TS_RAW_HARDWARE: libc::__u32 = 1 << 31; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TP_FT_REQ_FILL_RXHASH` is never used [INFO] [stdout] --> src/linux.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | pub(crate) const TP_FT_REQ_FILL_RXHASH: libc::__u32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `iface` is never read [INFO] [stdout] --> src/linux/addr.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 261 | pub struct L2AddrAll { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 262 | iface: Interface, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PACKET_HOST` is never used [INFO] [stdout] --> src/linux.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) const PACKET_HOST: libc::c_uchar = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PACKET_BROADCAST` is never used [INFO] [stdout] --> src/linux.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | pub(crate) const PACKET_BROADCAST: libc::c_uchar = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PACKET_MULTICAST` is never used [INFO] [stdout] --> src/linux.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) const PACKET_MULTICAST: libc::c_uchar = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PACKET_OTHERHOST` is never used [INFO] [stdout] --> src/linux.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) const PACKET_OTHERHOST: libc::c_uchar = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PACKET_OUTGOING` is never used [INFO] [stdout] --> src/linux.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) const PACKET_OUTGOING: libc::c_uchar = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PACKET_LOOPBACK` is never used [INFO] [stdout] --> src/linux.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) const PACKET_LOOPBACK: libc::c_uchar = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PACKET_USER` is never used [INFO] [stdout] --> src/linux.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) const PACKET_USER: libc::c_uchar = 6; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PACKET_KERNEL` is never used [INFO] [stdout] --> src/linux.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | pub(crate) const PACKET_KERNEL: libc::c_uchar = 7; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PACKET_AUXDATA` is never used [INFO] [stdout] --> src/linux.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) const PACKET_AUXDATA: libc::c_int = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PACKET_LOSS` is never used [INFO] [stdout] --> src/linux.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | pub(crate) const PACKET_LOSS: libc::c_int = 14; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PACKET_FANOUT_CBPF` is never used [INFO] [stdout] --> src/linux.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | pub(crate) const PACKET_FANOUT_CBPF: libc::c_uint = 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PACKET_FANOUT_EBPF` is never used [INFO] [stdout] --> src/linux.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | pub(crate) const PACKET_FANOUT_EBPF: libc::c_uint = 7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PACKET_FANOUT_FLAG_UNIQUEID` is never used [INFO] [stdout] --> src/linux.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 69 | pub(crate) const PACKET_FANOUT_FLAG_UNIQUEID: libc::c_uint = 0x2000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TP_STATUS_KERNEL` is never used [INFO] [stdout] --> src/linux.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | pub(crate) const TP_STATUS_KERNEL: libc::__u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TP_STATUS_BLK_TMO` is never used [INFO] [stdout] --> src/linux.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | pub(crate) const TP_STATUS_BLK_TMO: libc::__u32 = 1 << 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TP_STATUS_TS_SOFTWARE` is never used [INFO] [stdout] --> src/linux.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | pub(crate) const TP_STATUS_TS_SOFTWARE: libc::__u32 = 1 << 29; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TP_STATUS_TS_SYS_HARDWARE` is never used [INFO] [stdout] --> src/linux.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | pub(crate) const TP_STATUS_TS_SYS_HARDWARE: libc::__u32 = 1 << 30; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TP_STATUS_TS_RAW_HARDWARE` is never used [INFO] [stdout] --> src/linux.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | pub(crate) const TP_STATUS_TS_RAW_HARDWARE: libc::__u32 = 1 << 31; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TP_FT_REQ_FILL_RXHASH` is never used [INFO] [stdout] --> src/linux.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | pub(crate) const TP_FT_REQ_FILL_RXHASH: libc::__u32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `iface` is never read [INFO] [stdout] --> src/linux/addr.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 261 | pub struct L2AddrAll { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 262 | iface: Interface, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "c40cca45c8218bb61a9292248d65a6a8e44665b8d7b730c4e486c62847b5a505", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c40cca45c8218bb61a9292248d65a6a8e44665b8d7b730c4e486c62847b5a505", kill_on_drop: false }` [INFO] [stdout] c40cca45c8218bb61a9292248d65a6a8e44665b8d7b730c4e486c62847b5a505