[INFO] fetching crate rustcap 0.1.2... [INFO] checking rustcap-0.1.2 against try#38c2997544af84fe301d600d6896397738163002 for pr-154205-1 [INFO] extracting crate rustcap 0.1.2 into /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rustcap 0.1.2 on toolchain 38c2997544af84fe301d600d6896397738163002 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "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" "+38c2997544af84fe301d600d6896397738163002" "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.11.0) [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" "+38c2997544af84fe301d600d6896397738163002" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cdf515c1c02cc537e5e8ee91b8b91f8495f7ec5ce2470e45765ae2d95fdf3189 [INFO] running `Command { std: "docker" "start" "-a" "cdf515c1c02cc537e5e8ee91b8b91f8495f7ec5ce2470e45765ae2d95fdf3189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cdf515c1c02cc537e5e8ee91b8b91f8495f7ec5ce2470e45765ae2d95fdf3189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdf515c1c02cc537e5e8ee91b8b91f8495f7ec5ce2470e45765ae2d95fdf3189", kill_on_drop: false }` [INFO] [stdout] cdf515c1c02cc537e5e8ee91b8b91f8495f7ec5ce2470e45765ae2d95fdf3189 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d37d193b93dc3d78544153aa3d75febbdee8f677775103f9ae2342641c0e45a8 [INFO] running `Command { std: "docker" "start" "-a" "d37d193b93dc3d78544153aa3d75febbdee8f677775103f9ae2342641c0e45a8", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling pcap-sys v0.1.3 [INFO] [stderr] Checking rustcap v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] [FMTARGS] {"crate":"rustcap","loc":"src/core.rs:300:20","p":3,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"rustcap","loc":"src/core.rs:355:21","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"rustcap","loc":"src/core.rs:357:21","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"rustcap","loc":"src/core.rs:359:21","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"rustcap","loc":"src/core.rs:407:63","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"rustcap","loc":"src/core.rs:408:27","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [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] [stderr] [FMTARGS] {"crate":"rustcap","loc":"src/core.rs:300:20","p":3,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [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] [stderr] [FMTARGS] {"crate":"rustcap","loc":"src/core.rs:355:21","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"rustcap","loc":"src/core.rs:357:21","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"rustcap","loc":"src/core.rs:359:21","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"rustcap","loc":"src/core.rs:407:63","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"rustcap","loc":"src/core.rs:408:27","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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.18s [INFO] running `Command { std: "docker" "inspect" "d37d193b93dc3d78544153aa3d75febbdee8f677775103f9ae2342641c0e45a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d37d193b93dc3d78544153aa3d75febbdee8f677775103f9ae2342641c0e45a8", kill_on_drop: false }` [INFO] [stdout] d37d193b93dc3d78544153aa3d75febbdee8f677775103f9ae2342641c0e45a8