[INFO] fetching crate rustcap 0.1.2... [INFO] checking rustcap-0.1.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate rustcap 0.1.2 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate rustcap 0.1.2 [INFO] finished tweaking crates.io crate rustcap 0.1.2 [INFO] tweaked toml for crates.io crate rustcap 0.1.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rustcap 0.1.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 42 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.3) [INFO] [stderr] Adding pnet v0.21.0 (available: v0.35.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pnet_packet v0.21.0 [INFO] [stderr] Downloaded syntex v0.42.2 [INFO] [stderr] Downloaded pnet_transport v0.21.0 [INFO] [stderr] Downloaded pnet_sys v0.21.0 [INFO] [stderr] Downloaded syntex_pos v0.42.0 [INFO] [stderr] Downloaded unicode-xid v0.0.3 [INFO] [stderr] Downloaded pnet_macros_support v0.21.0 [INFO] [stderr] Downloaded pnet_base v0.21.0 [INFO] [stderr] Downloaded ipnetwork v0.12.8 [INFO] [stderr] Downloaded pnet_datalink v0.21.0 [INFO] [stderr] Downloaded bitflags v0.5.0 [INFO] [stderr] Downloaded pnet v0.21.0 [INFO] [stderr] Downloaded syntex_errors v0.42.0 [INFO] [stderr] Downloaded syntex_syntax v0.42.0 [INFO] [stderr] Downloaded pcap-sys v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 653b29b7a679b8e88d5feb7af22dd9903a45a10997cc772666abee8df86d2399 [INFO] running `Command { std: "docker" "start" "-a" "653b29b7a679b8e88d5feb7af22dd9903a45a10997cc772666abee8df86d2399", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "653b29b7a679b8e88d5feb7af22dd9903a45a10997cc772666abee8df86d2399", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "653b29b7a679b8e88d5feb7af22dd9903a45a10997cc772666abee8df86d2399", kill_on_drop: false }` [INFO] [stdout] 653b29b7a679b8e88d5feb7af22dd9903a45a10997cc772666abee8df86d2399 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1bde3eeea28e6fee8928b6cad61e88a91b2e4d529055f0e315d867ba6b69d03d [INFO] running `Command { std: "docker" "start" "-a" "1bde3eeea28e6fee8928b6cad61e88a91b2e4d529055f0e315d867ba6b69d03d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling pcap-sys v0.1.3 [INFO] [stderr] Checking rustcap v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/core.rs:233:66 [INFO] [stdout] | [INFO] [stdout] 233 | let mut all_devs_buf: *mut ffi::pcap_if = unsafe { std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/core.rs:333:68 [INFO] [stdout] | [INFO] [stdout] 333 | let mut bpf_program: ffi::bpf_program = unsafe { std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/core.rs:233:66 [INFO] [stdout] | [INFO] [stdout] 233 | let mut all_devs_buf: *mut ffi::pcap_if = unsafe { std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/core.rs:333:68 [INFO] [stdout] | [INFO] [stdout] 333 | let mut bpf_program: ffi::bpf_program = unsafe { std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address`, `netmask`, `broadcast`, and `destination` are never read [INFO] [stdout] --> src/core.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Address { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 20 | address: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | netmask: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | broadcast: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | destination: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Address` 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] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `description`, and `addresses` are never read [INFO] [stdout] --> src/core.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct NetworkInterface { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 115 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 116 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 117 | addresses: Vec
, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkInterface` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `code` are never read [INFO] [stdout] --> src/core.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct Error { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 193 | message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 194 | code: i32, [INFO] [stdout] | ^^^^ [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] [INFO] [stdout] [INFO] [stdout] warning: fields `tv_sec`, `tv_usec`, `caplen`, and `len` are never read [INFO] [stdout] --> src/core.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 248 | pub struct PacketHeader { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 249 | tv_sec: i64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 250 | tv_usec: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 251 | caplen: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 252 | len: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut pcap_if` does not permit being left uninitialized [INFO] [stdout] --> src/core.rs:233:56 [INFO] [stdout] | [INFO] [stdout] 233 | let mut all_devs_buf: *mut ffi::pcap_if = unsafe { std::mem::uninitialized() }; [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: raw pointers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `bpf_program` does not permit being left uninitialized [INFO] [stdout] --> src/core.rs:333:58 [INFO] [stdout] | [INFO] [stdout] 333 | let mut bpf_program: ffi::bpf_program = unsafe { std::mem::uninitialized() }; [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] [INFO] [stdout] [INFO] [stdout] warning: fields `address`, `netmask`, `broadcast`, and `destination` are never read [INFO] [stdout] --> src/core.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Address { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 20 | address: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | netmask: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | broadcast: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | destination: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Address` 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] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `description`, and `addresses` are never read [INFO] [stdout] --> src/core.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct NetworkInterface { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 115 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 116 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 117 | addresses: Vec
, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkInterface` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `code` are never read [INFO] [stdout] --> src/core.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct Error { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 193 | message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 194 | code: i32, [INFO] [stdout] | ^^^^ [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] [INFO] [stdout] [INFO] [stdout] warning: fields `tv_sec`, `tv_usec`, `caplen`, and `len` are never read [INFO] [stdout] --> src/core.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 248 | pub struct PacketHeader { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 249 | tv_sec: i64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 250 | tv_usec: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 251 | caplen: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 252 | len: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut pcap_if` does not permit being left uninitialized [INFO] [stdout] --> src/core.rs:233:56 [INFO] [stdout] | [INFO] [stdout] 233 | let mut all_devs_buf: *mut ffi::pcap_if = unsafe { std::mem::uninitialized() }; [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: raw pointers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `bpf_program` does not permit being left uninitialized [INFO] [stdout] --> src/core.rs:333:58 [INFO] [stdout] | [INFO] [stdout] 333 | let mut bpf_program: ffi::bpf_program = unsafe { std::mem::uninitialized() }; [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] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.65s [INFO] running `Command { std: "docker" "inspect" "1bde3eeea28e6fee8928b6cad61e88a91b2e4d529055f0e315d867ba6b69d03d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bde3eeea28e6fee8928b6cad61e88a91b2e4d529055f0e315d867ba6b69d03d", kill_on_drop: false }` [INFO] [stdout] 1bde3eeea28e6fee8928b6cad61e88a91b2e4d529055f0e315d867ba6b69d03d