[INFO] fetching crate rustcap 0.1.2... [INFO] testing rustcap-0.1.2 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate rustcap 0.1.2 into /workspace/builds/worker-64/source [INFO] validating manifest of crates.io crate rustcap 0.1.2 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-64/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pnet_base v0.29.0 [INFO] [stderr] Downloaded pnet_macros v0.29.0 [INFO] [stderr] Downloaded syntex v0.42.2 [INFO] [stderr] Downloaded pnet_sys v0.21.0 [INFO] [stderr] Downloaded syntex_syntax v0.42.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 syntex_pos v0.42.0 [INFO] [stderr] Downloaded bitflags v0.5.0 [INFO] [stderr] Downloaded pnet_macros_support v0.21.0 [INFO] [stderr] Downloaded syntex_errors v0.42.0 [INFO] [stderr] Downloaded pnet_packet v0.21.0 [INFO] [stderr] Downloaded pnet v0.21.0 [INFO] [stderr] Downloaded pnet_transport v0.21.0 [INFO] [stderr] Downloaded pcap-sys v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1498c73459d1f75bd7481dc8dba9adabb43ea68d36b3977c82537e0b5802a43b [INFO] running `Command { std: "docker" "start" "-a" "1498c73459d1f75bd7481dc8dba9adabb43ea68d36b3977c82537e0b5802a43b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1498c73459d1f75bd7481dc8dba9adabb43ea68d36b3977c82537e0b5802a43b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1498c73459d1f75bd7481dc8dba9adabb43ea68d36b3977c82537e0b5802a43b", kill_on_drop: false }` [INFO] [stdout] 1498c73459d1f75bd7481dc8dba9adabb43ea68d36b3977c82537e0b5802a43b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d1b7bd14ccef1a426d12fea6bca3a91e2e6de634888a271e40e0290917cf7ea [INFO] running `Command { std: "docker" "start" "-a" "0d1b7bd14ccef1a426d12fea6bca3a91e2e6de634888a271e40e0290917cf7ea", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling pcap-sys v0.1.3 [INFO] [stderr] Compiling 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: field is never read: `address` [INFO] [stdout] --> src/core.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | address: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Address` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `netmask` [INFO] [stdout] --> src/core.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | netmask: 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] --> src/core.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `broadcast` [INFO] [stdout] --> src/core.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | broadcast: 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] --> src/core.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `destination` [INFO] [stdout] --> src/core.rs:23:5 [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] --> src/core.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/core.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | name: String, [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] --> src/core.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `description` [INFO] [stdout] --> src/core.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | description: Option, [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] --> src/core.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `addresses` [INFO] [stdout] --> src/core.rs:117:5 [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] --> src/core.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `message` [INFO] [stdout] --> src/core.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | message: Option, [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] --> src/core.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `code` [INFO] [stdout] --> src/core.rs:194:5 [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] --> src/core.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tv_sec` [INFO] [stdout] --> src/core.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | tv_sec: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tv_usec` [INFO] [stdout] --> src/core.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | tv_usec: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `caplen` [INFO] [stdout] --> src/core.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | caplen: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `len` [INFO] [stdout] --> src/core.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 252 | len: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.54s [INFO] running `Command { std: "docker" "inspect" "0d1b7bd14ccef1a426d12fea6bca3a91e2e6de634888a271e40e0290917cf7ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d1b7bd14ccef1a426d12fea6bca3a91e2e6de634888a271e40e0290917cf7ea", kill_on_drop: false }` [INFO] [stdout] 0d1b7bd14ccef1a426d12fea6bca3a91e2e6de634888a271e40e0290917cf7ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c756bc5d0df9bd84971c691a851a01b307412c90c340a88e915c7d4e01acd1b [INFO] running `Command { std: "docker" "start" "-a" "4c756bc5d0df9bd84971c691a851a01b307412c90c340a88e915c7d4e01acd1b", kill_on_drop: false }` [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] [stderr] Compiling rustcap v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `address` [INFO] [stdout] --> src/core.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | address: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Address` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `netmask` [INFO] [stdout] --> src/core.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | netmask: 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] --> src/core.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `broadcast` [INFO] [stdout] --> src/core.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | broadcast: 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] --> src/core.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `destination` [INFO] [stdout] --> src/core.rs:23:5 [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] --> src/core.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/core.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | name: String, [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] --> src/core.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `description` [INFO] [stdout] --> src/core.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | description: Option, [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] --> src/core.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `addresses` [INFO] [stdout] --> src/core.rs:117:5 [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] --> src/core.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `message` [INFO] [stdout] --> src/core.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | message: Option, [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] --> src/core.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `code` [INFO] [stdout] --> src/core.rs:194:5 [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] --> src/core.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tv_sec` [INFO] [stdout] --> src/core.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | tv_sec: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tv_usec` [INFO] [stdout] --> src/core.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | tv_usec: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `caplen` [INFO] [stdout] --> src/core.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | caplen: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `len` [INFO] [stdout] --> src/core.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 252 | len: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [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: field is never read: `address` [INFO] [stdout] --> src/core.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | address: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Address` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/core.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `netmask` [INFO] [stdout] --> src/core.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | netmask: 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] --> src/core.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `broadcast` [INFO] [stdout] --> src/core.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | broadcast: 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] --> src/core.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `destination` [INFO] [stdout] --> src/core.rs:23:5 [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] --> src/core.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/core.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | name: String, [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] --> src/core.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `description` [INFO] [stdout] --> src/core.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | description: Option, [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] --> src/core.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `addresses` [INFO] [stdout] --> src/core.rs:117:5 [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] --> src/core.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `message` [INFO] [stdout] --> src/core.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | message: Option, [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] --> src/core.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `code` [INFO] [stdout] --> src/core.rs:194:5 [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] --> src/core.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tv_sec` [INFO] [stdout] --> src/core.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | tv_sec: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tv_usec` [INFO] [stdout] --> src/core.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | tv_usec: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `caplen` [INFO] [stdout] --> src/core.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | caplen: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `len` [INFO] [stdout] --> src/core.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 252 | len: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rustcap-abec2162d241f13c.rustcap.26e7b4b0-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rustcap-abec2162d241f13c.rustcap.26e7b4b0-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/rustcap-abec2162d241f13c.rustcap.26e7b4b0-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/rustcap-abec2162d241f13c.rustcap.26e7b4b0-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/rustcap-abec2162d241f13c.rustcap.26e7b4b0-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/rustcap-abec2162d241f13c.rustcap.26e7b4b0-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/rustcap-abec2162d241f13c.rustcap.26e7b4b0-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/rustcap-abec2162d241f13c.rustcap.26e7b4b0-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/rustcap-abec2162d241f13c.rustcap.26e7b4b0-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/rustcap-abec2162d241f13c.rustcap.26e7b4b0-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/rustcap-abec2162d241f13c.rustcap.26e7b4b0-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/rustcap-abec2162d241f13c.rustcap.26e7b4b0-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/rustcap-abec2162d241f13c.rustcap.26e7b4b0-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/rustcap-abec2162d241f13c.rustcap.26e7b4b0-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/rustcap-abec2162d241f13c.rustcap.26e7b4b0-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/rustcap-abec2162d241f13c.rustcap.26e7b4b0-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/rustcap-abec2162d241f13c.1puu788n7lg6tzp5.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/usr/lib" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-02-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/beta-2022-02-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-d9ecd5377b7dfa2f.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-02-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-e95f8ccbb889cb3a.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-02-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-bc3d259c8a5de0c3.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-02-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-2b85ee1dcf40ad05.rlib" "/opt/rustwide/target/debug/deps/libbitflags-610a73087f46ba3b.rlib" "/opt/rustwide/target/debug/deps/libpcap_sys-f3cca759aac9fa9c.rlib" "/opt/rustwide/target/debug/deps/liblibc-7a5dab6311f3c1a3.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-02-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-02-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5534b29ea7b2d8f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-02-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3fe98c0f46f27964.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-02-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a76787f08d45e37d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-02-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bfbb13072fc2761.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-02-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d6d1fa92fa620f17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-02-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7cfd201521727d95.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-02-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e8010e8fce8e5a7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-02-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-19093fec3c6dd913.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-02-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-89c4cbe9256c1890.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-02-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-73e4507673363945.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-02-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8cea480e62c5b261.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-02-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1fb939608cd05a1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-02-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-842e67e3ab562f66.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-02-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0c1c8fec3b1a54cc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-02-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-689faa634b72af17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-02-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-02-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-02-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-02-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rustcap-abec2162d241f13c" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/rustcap-abec2162d241f13c.rustcap.26e7b4b0-cgu.0.rcgu.o: in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/core.rs:147: undefined reference to `pcap_freealldevs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rustcap-abec2162d241f13c.rustcap.26e7b4b0-cgu.0.rcgu.o: in function `rustcap::core::find_all_devs': [INFO] [stdout] /opt/rustwide/workdir/src/core.rs:235: undefined reference to `pcap_findalldevs' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustcap` due to 2 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4c756bc5d0df9bd84971c691a851a01b307412c90c340a88e915c7d4e01acd1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c756bc5d0df9bd84971c691a851a01b307412c90c340a88e915c7d4e01acd1b", kill_on_drop: false }` [INFO] [stdout] 4c756bc5d0df9bd84971c691a851a01b307412c90c340a88e915c7d4e01acd1b