[INFO] fetching crate rustcap 0.1.2... [INFO] testing rustcap-0.1.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rustcap 0.1.2 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rustcap 0.1.2 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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.1) [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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 bitflags v0.5.0 [INFO] [stderr] Downloaded syntex v0.42.2 [INFO] [stderr] Downloaded syntex_errors v0.42.0 [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 pnet_base v0.21.0 [INFO] [stderr] Downloaded pnet_macros_support v0.21.0 [INFO] [stderr] Downloaded pnet v0.21.0 [INFO] [stderr] Downloaded pnet_packet v0.21.0 [INFO] [stderr] Downloaded ipnetwork v0.12.8 [INFO] [stderr] Downloaded pnet_datalink v0.21.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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3065da9ef1d893b9ae2435be9abc2623bc603b96003f48f8edb9c6c98e862d2 [INFO] running `Command { std: "docker" "start" "-a" "d3065da9ef1d893b9ae2435be9abc2623bc603b96003f48f8edb9c6c98e862d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3065da9ef1d893b9ae2435be9abc2623bc603b96003f48f8edb9c6c98e862d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3065da9ef1d893b9ae2435be9abc2623bc603b96003f48f8edb9c6c98e862d2", kill_on_drop: false }` [INFO] [stdout] d3065da9ef1d893b9ae2435be9abc2623bc603b96003f48f8edb9c6c98e862d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a65f8903faf7ea8c2916ffd52d97c27a5c6141fb773f43f640c102515d42d08c [INFO] running `Command { std: "docker" "start" "-a" "a65f8903faf7ea8c2916ffd52d97c27a5c6141fb773f43f640c102515d42d08c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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: 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 0.90s [INFO] running `Command { std: "docker" "inspect" "a65f8903faf7ea8c2916ffd52d97c27a5c6141fb773f43f640c102515d42d08c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a65f8903faf7ea8c2916ffd52d97c27a5c6141fb773f43f640c102515d42d08c", kill_on_drop: false }` [INFO] [stdout] a65f8903faf7ea8c2916ffd52d97c27a5c6141fb773f43f640c102515d42d08c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 3ecc76cd982374be6e7ddb6720e15b45fbc2360a951c8f7e1f92fefdd3f7e309 [INFO] running `Command { std: "docker" "start" "-a" "3ecc76cd982374be6e7ddb6720e15b45fbc2360a951c8f7e1f92fefdd3f7e309", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] [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: 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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustc0SrPTK/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libbitflags-e274cd04b58a060d.rlib,libpcap_sys-e425e2ba09f03241.rlib}.rlib" "-lpcap" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{liblibc-8e354d7ef70926da.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustc0SrPTK/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/usr/lib" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rustcap-b4a84e3d0586d823" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap.o): in function `pcap_list_tstamp_types': [INFO] [stdout] (.text+0x80f): undefined reference to `__memcpy_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap.o): in function `add_addr_to_dev': [INFO] [stdout] (.text+0xa40): undefined reference to `__memcpy_chk' [INFO] [stdout] /usr/bin/ld: (.text+0xa6e): undefined reference to `__memcpy_chk' [INFO] [stdout] /usr/bin/ld: (.text+0xa9e): undefined reference to `__memcpy_chk' [INFO] [stdout] /usr/bin/ld: (.text+0xad1): undefined reference to `__memcpy_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap.o): in function `pcap_lookupnet': [INFO] [stdout] (.text+0x1454): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x1475): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap.o): in function `pcap_list_datalinks': [INFO] [stdout] (.text+0x1c0b): undefined reference to `__memcpy_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap.o): in function `pcap_set_datalink': [INFO] [stdout] (.text+0x1d52): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x1da3): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap.o): in function `pcap_datalink_val_to_description_or_dlt': [INFO] [stdout] (.text+0x1f5f): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap.o): in function `pcap_statustostr': [INFO] [stdout] (.text+0x244f): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap.o): in function `pcap_open_live': [INFO] [stdout] (.text+0x2744): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap.o):(.text+0x27ce): more undefined references to `__snprintf_chk' follow [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap.o): in function `pcap_perror': [INFO] [stdout] (.text+0x2164): undefined reference to `__fprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(gencode.o): in function `bpf_error': [INFO] [stdout] (.text+0x139): undefined reference to `__vsnprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x146): undefined reference to `__longjmp_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(gencode.o): in function `bpf_set_error': [INFO] [stdout] (.text+0x355): undefined reference to `__vsnprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(gencode.o): in function `newchunk_nolongjmp': [INFO] [stdout] (.text+0x3d7): undefined reference to `__memset_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(gencode.o): in function `gen_uncond': [INFO] [stdout] (.text+0x49c): undefined reference to `__longjmp_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(gencode.o): in function `gen_abs_offset_varpart': [INFO] [stdout] (.text+0x553): undefined reference to `__longjmp_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(gencode.o): in function `gen_loadi_internal': [INFO] [stdout] (.text+0x652): undefined reference to `__longjmp_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(gencode.o): in function `gen_vlan_vloffset_add.constprop.0': [INFO] [stdout] (.text+0x7bb): undefined reference to `__longjmp_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(gencode.o): in function `gen_load_radiotap_llprefixlen': [INFO] [stdout] (.text+0x973): undefined reference to `__longjmp_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(gencode.o):(.text+0xabb): more undefined references to `__longjmp_chk' follow [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(optimize.o): in function `opt_error': [INFO] [stdout] (.text+0x48b): undefined reference to `__vsnprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x498): undefined reference to `__longjmp_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(optimize.o): in function `conv_error': [INFO] [stdout] (.text+0x5e4): undefined reference to `__vsnprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x5f1): undefined reference to `__longjmp_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(optimize.o): in function `icode_to_fcode': [INFO] [stdout] (.text+0x3656): undefined reference to `__memset_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(optimize.o): in function `install_bpf_program': [INFO] [stdout] (.text+0x3748): undefined reference to `__memcpy_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(scanner.o): in function `yy_fatal_error.isra.0': [INFO] [stdout] (.text+0x11d): undefined reference to `__fprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(scanner.o): in function `pcap_ensure_buffer_stack': [INFO] [stdout] (.text+0x1aa): undefined reference to `__memset_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(nametoaddr.o): in function `pcap_nametonetaddr': [INFO] [stdout] (.text+0xfb): undefined reference to `getnetbyname_r' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(nametoaddr.o): in function `pcap_nametoproto': [INFO] [stdout] (.text+0x4c9): undefined reference to `getprotobyname_r' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(fmtutils.o): in function `pcap_vfmt_errmsg_for_errno': [INFO] [stdout] (.text+0x51): undefined reference to `__vsnprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(savefile.o): in function `pcap_fopen_offline_with_tstamp_precision': [INFO] [stdout] (.text+0x409): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(sf-pcap.o): in function `pcap_next_packet': [INFO] [stdout] (.text+0x15d): undefined reference to `__fread_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x36d): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x439): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(sf-pcap.o): in function `pcap_check_header': [INFO] [stdout] (.text+0x89b): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x8d1): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x989): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(sf-pcap.o):(.text+0xb63): more undefined references to `__snprintf_chk' follow [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap-linux.o): in function `has_broken_tpacket_v3': [INFO] [stdout] (.text+0x151): undefined reference to `__isoc23_sscanf' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap-linux.o): in function `pcap_setnonblock_linux': [INFO] [stdout] (.text+0x396): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap-linux.o): in function `linux_get_stat': [INFO] [stdout] (.text+0x5bd): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x609): undefined reference to `__isoc23_strtoll' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap-linux.o): in function `is_wifi': [INFO] [stdout] (.text+0x671): undefined reference to `__asprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap-linux.o): in function `pcap_wait_for_frames_mmap': [INFO] [stdout] (.text+0xab7): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap-linux.o): in function `get_if_flags': [INFO] [stdout] (.text+0xfe9): undefined reference to `__asprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x1024): undefined reference to `__isoc23_fscanf' [INFO] [stdout] /usr/bin/ld: (.text+0x1134): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap-linux.o): in function `pcap_setfilter_linux': [INFO] [stdout] (.text+0x1427): undefined reference to `__memcpy_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x15f8): undefined reference to `__fprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap-linux.o): in function `pcap_handle_packet_mmap': [INFO] [stdout] (.text+0x1cd2): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x1d5a): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap-linux.o): in function `pcap_activate_linux': [INFO] [stdout] (.text+0x28c6): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x313a): undefined reference to `__asprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x3769): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x3bb0): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap-usb-linux.o): in function `probe_devices': [INFO] [stdout] (.text+0x59d): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x612): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap-usb-linux.o): in function `usb_activate': [INFO] [stdout] (.text+0x99a): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap-usb-linux.o):(.text+0xb59): more undefined references to `__snprintf_chk' follow [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap-netfilter-linux.o): in function `netfilter_send_config_msg': [INFO] [stdout] (.text+0x156): undefined reference to `__memcpy_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap-netfilter-linux.o): in function `netfilter_read_linux': [INFO] [stdout] (.text+0x7b0): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x827): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap-netfilter-linux.o): in function `netfilter_activate': [INFO] [stdout] (.text+0xf04): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap-bt-linux.o): in function `bt_activate': [INFO] [stdout] (.text+0x4b1): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap-bt-linux.o): in function `bt_findalldevs': [INFO] [stdout] (.text+0x8cb): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap-bt-linux.o):(.text+0x8ee): more undefined references to `__snprintf_chk' follow [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap-dbus.o): in function `dbus_write': [INFO] [stdout] (.text+0x107): undefined reference to `dbus_message_demarshal' [INFO] [stdout] /usr/bin/ld: (.text+0x11c): undefined reference to `dbus_connection_send' [INFO] [stdout] /usr/bin/ld: (.text+0x124): undefined reference to `dbus_connection_flush' [INFO] [stdout] /usr/bin/ld: (.text+0x12c): undefined reference to `dbus_message_unref' [INFO] [stdout] /usr/bin/ld: (.text+0x173): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x17b): undefined reference to `dbus_error_free' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap-dbus.o): in function `dbus_read': [INFO] [stdout] (.text+0x1c6): undefined reference to `dbus_connection_pop_message' [INFO] [stdout] /usr/bin/ld: (.text+0x1e9): undefined reference to `dbus_connection_pop_message' [INFO] [stdout] /usr/bin/ld: (.text+0x1ff): undefined reference to `dbus_connection_read_write' [INFO] [stdout] /usr/bin/ld: (.text+0x272): undefined reference to `dbus_message_is_signal' [INFO] [stdout] /usr/bin/ld: (.text+0x28c): undefined reference to `dbus_message_marshal' [INFO] [stdout] /usr/bin/ld: (.text+0x2f2): undefined reference to `dbus_free' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap-dbus.o): in function `dbus_cleanup': [INFO] [stdout] (.text+0x358): undefined reference to `dbus_connection_unref' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap-dbus.o): in function `dbus_activate': [INFO] [stdout] (.text+0x408): undefined reference to `dbus_connection_open' [INFO] [stdout] /usr/bin/ld: (.text+0x420): undefined reference to `dbus_bus_register' [INFO] [stdout] /usr/bin/ld: (.text+0x510): undefined reference to `dbus_bus_add_match' [INFO] [stdout] /usr/bin/ld: (.text+0x518): undefined reference to `dbus_error_is_set' [INFO] [stdout] /usr/bin/ld: (.text+0x562): undefined reference to `dbus_bus_get' [INFO] [stdout] /usr/bin/ld: (.text+0x594): undefined reference to `dbus_error_free' [INFO] [stdout] /usr/bin/ld: (.text+0x5a5): undefined reference to `dbus_bus_add_match' [INFO] [stdout] /usr/bin/ld: (.text+0x5ad): undefined reference to `dbus_error_is_set' [INFO] [stdout] /usr/bin/ld: (.text+0x5dd): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x5e5): undefined reference to `dbus_error_free' [INFO] [stdout] /usr/bin/ld: (.text+0x5f1): undefined reference to `dbus_connection_unref' [INFO] [stdout] /usr/bin/ld: (.text+0x61d): undefined reference to `dbus_bus_get' [INFO] [stdout] /usr/bin/ld: (.text+0x650): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x658): undefined reference to `dbus_error_free' [INFO] [stdout] /usr/bin/ld: (.text+0x665): undefined reference to `dbus_connection_set_max_received_size' [INFO] [stdout] /usr/bin/ld: (.text+0x676): undefined reference to `dbus_connection_unref' [INFO] [stdout] /usr/bin/ld: (.text+0x6b1): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x6e2): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x6ea): undefined reference to `dbus_error_free' [INFO] [stdout] /usr/bin/ld: (.text+0x71f): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x727): undefined reference to `dbus_error_free' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap-rdmasniff.o): in function `rdmasniff_read': [INFO] [stdout] (.text+0x175): undefined reference to `ibv_get_cq_event' [INFO] [stdout] /usr/bin/ld: (.text+0x18e): undefined reference to `ibv_ack_cq_events' [INFO] [stdout] /usr/bin/ld: (.text+0x29f): undefined reference to `ibv_wc_status_str' [INFO] [stdout] /usr/bin/ld: (.text+0x2c4): undefined reference to `__fprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap-rdmasniff.o): in function `rdmasniff_activate': [INFO] [stdout] (.text+0x363): undefined reference to `ibv_open_device' [INFO] [stdout] /usr/bin/ld: (.text+0x378): undefined reference to `ibv_alloc_pd' [INFO] [stdout] /usr/bin/ld: (.text+0x38e): undefined reference to `ibv_create_comp_channel' [INFO] [stdout] /usr/bin/ld: (.text+0x3b1): undefined reference to `ibv_create_cq' [INFO] [stdout] /usr/bin/ld: (.text+0x428): undefined reference to `ibv_create_qp' [INFO] [stdout] /usr/bin/ld: (.text+0x497): undefined reference to `ibv_modify_qp' [INFO] [stdout] /usr/bin/ld: (.text+0x4ea): undefined reference to `ibv_modify_qp' [INFO] [stdout] /usr/bin/ld: (.text+0x5c1): undefined reference to `ibv_reg_mr' [INFO] [stdout] /usr/bin/ld: (.text+0x76c): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x77a): undefined reference to `ibv_dereg_mr' [INFO] [stdout] /usr/bin/ld: (.text+0x7b4): undefined reference to `ibv_destroy_qp' [INFO] [stdout] /usr/bin/ld: (.text+0x7c2): undefined reference to `ibv_destroy_cq' [INFO] [stdout] /usr/bin/ld: (.text+0x7d0): undefined reference to `ibv_destroy_comp_channel' [INFO] [stdout] /usr/bin/ld: (.text+0x7de): undefined reference to `ibv_dealloc_pd' [INFO] [stdout] /usr/bin/ld: (.text+0x7ec): undefined reference to `ibv_close_device' [INFO] [stdout] /usr/bin/ld: (.text+0x83b): undefined reference to `ibv_query_port' [INFO] [stdout] /usr/bin/ld: (.text+0x8b3): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x8e0): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x90d): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x95c): undefined reference to `__snprintf_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap-rdmasniff.o): in function `rdmasniff_cleanup': [INFO] [stdout] (.text+0x9b7): undefined reference to `ibv_dereg_mr' [INFO] [stdout] /usr/bin/ld: (.text+0x9e7): undefined reference to `ibv_destroy_qp' [INFO] [stdout] /usr/bin/ld: (.text+0x9f0): undefined reference to `ibv_destroy_cq' [INFO] [stdout] /usr/bin/ld: (.text+0x9f9): undefined reference to `ibv_dealloc_pd' [INFO] [stdout] /usr/bin/ld: (.text+0xa02): undefined reference to `ibv_destroy_comp_channel' [INFO] [stdout] /usr/bin/ld: (.text+0xa0b): undefined reference to `ibv_close_device' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap-rdmasniff.o): in function `rdmasniff_create': [INFO] [stdout] (.text+0xa6a): undefined reference to `ibv_get_device_list' [INFO] [stdout] /usr/bin/ld: (.text+0xb77): undefined reference to `ibv_free_device_list' [INFO] [stdout] /usr/bin/ld: (.text+0xbb3): undefined reference to `ibv_free_device_list' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libpcap.a(pcap-rdmasniff.o): in function `rdmasniff_findalldevs': [INFO] [stdout] (.text+0xbef): undefined reference to `ibv_get_device_list' [INFO] [stdout] /usr/bin/ld: (.text+0xc3f): undefined reference to `ibv_free_device_list' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: 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#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustcap` (lib test) due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3ecc76cd982374be6e7ddb6720e15b45fbc2360a951c8f7e1f92fefdd3f7e309", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ecc76cd982374be6e7ddb6720e15b45fbc2360a951c8f7e1f92fefdd3f7e309", kill_on_drop: false }` [INFO] [stdout] 3ecc76cd982374be6e7ddb6720e15b45fbc2360a951c8f7e1f92fefdd3f7e309