[INFO] fetching crate pcap-async 0.2.1... [INFO] testing pcap-async-0.2.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate pcap-async 0.2.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate pcap-async 0.2.1 [INFO] finished tweaking crates.io crate pcap-async 0.2.1 [INFO] tweaked toml for crates.io crate pcap-async 0.2.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pcap-async 0.2.1 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 116 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.2.11 (available: v0.6.0) [INFO] [stderr] Adding env_logger v0.6.2 (available: v0.11.8) [INFO] [stderr] Adding mio v0.6.23 (available: v1.0.4) [INFO] [stderr] Adding pin-project v0.4.30 (available: v1.1.10) [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.1) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.45.1) [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] Downloading crates ... [INFO] [stderr] Downloaded rand_xoshiro v0.1.0 [INFO] [stderr] Downloaded criterion-plot v0.3.1 [INFO] [stderr] Downloaded criterion v0.2.11 [INFO] [stderr] Downloaded pcap-sys v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 1c703b60cf5d8dc27ba4de6d0df31dc24b4955492eb0132c89da3027d9eb0b90 [INFO] running `Command { std: "docker" "start" "-a" "1c703b60cf5d8dc27ba4de6d0df31dc24b4955492eb0132c89da3027d9eb0b90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c703b60cf5d8dc27ba4de6d0df31dc24b4955492eb0132c89da3027d9eb0b90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c703b60cf5d8dc27ba4de6d0df31dc24b4955492eb0132c89da3027d9eb0b90", kill_on_drop: false }` [INFO] [stdout] 1c703b60cf5d8dc27ba4de6d0df31dc24b4955492eb0132c89da3027d9eb0b90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 8aa313949568b31973d75bc61873bf68f46cae0fc1ae47ac33b5725b30b760de [INFO] running `Command { std: "docker" "start" "-a" "8aa313949568b31973d75bc61873bf68f46cae0fc1ae47ac33b5725b30b760de", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling pcap-sys v0.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling pin-project v0.4.30 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling pcap-async v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/handle.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | drop(errbuf); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut i8` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 48 - drop(errbuf); [INFO] [stdout] 48 + let _ = errbuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/handle.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | drop(errbuf); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut i8` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 82 - drop(errbuf); [INFO] [stdout] 82 + let _ = errbuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/handle.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | drop(errbuf); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut i8` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 117 - drop(errbuf); [INFO] [stdout] 117 + let _ = errbuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/handle.rs:171:49 [INFO] [stdout] | [INFO] [stdout] 171 | let bpf_str = std::ffi::CString::new(bpf.clone()).map_err(Error::Ffi)?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/info.rs:48:48 [INFO] [stdout] | [INFO] [stdout] 48 | ... let sockaddr = mem::transmute::(sockaddr); [INFO] [stdout] | ------------------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.08s [INFO] running `Command { std: "docker" "inspect" "8aa313949568b31973d75bc61873bf68f46cae0fc1ae47ac33b5725b30b760de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8aa313949568b31973d75bc61873bf68f46cae0fc1ae47ac33b5725b30b760de", kill_on_drop: false }` [INFO] [stdout] 8aa313949568b31973d75bc61873bf68f46cae0fc1ae47ac33b5725b30b760de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 7adbe9fa912a83fe487cff6184a81b8bad8b90006a70ac76df6da78f408a1757 [INFO] running `Command { std: "docker" "start" "-a" "7adbe9fa912a83fe487cff6184a81b8bad8b90006a70ac76df6da78f408a1757", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rand_xoshiro v0.1.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/handle.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | drop(errbuf); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut i8` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 48 - drop(errbuf); [INFO] [stdout] 48 + let _ = errbuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/handle.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | drop(errbuf); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut i8` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 82 - drop(errbuf); [INFO] [stdout] 82 + let _ = errbuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/handle.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | drop(errbuf); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut i8` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 117 - drop(errbuf); [INFO] [stdout] 117 + let _ = errbuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/handle.rs:171:49 [INFO] [stdout] | [INFO] [stdout] 171 | let bpf_str = std::ffi::CString::new(bpf.clone()).map_err(Error::Ffi)?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/info.rs:48:48 [INFO] [stdout] | [INFO] [stdout] 48 | ... let sockaddr = mem::transmute::(sockaddr); [INFO] [stdout] | ------------------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling criterion-plot v0.3.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.2.11 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling pcap-async v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bridge_stream.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | let mut result = bridge [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/bridge_stream.rs:417:13 [INFO] [stdout] | [INFO] [stdout] 417 | format!("Could not build stream {}", stream.err().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 417 - format!("Could not build stream {}", stream.err().unwrap()) [INFO] [stdout] 417 + "Could not build stream {}", stream.err().unwrap() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/bridge_stream.rs:438:13 [INFO] [stdout] | [INFO] [stdout] 438 | format!("Could not build stream {}", stream.err().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 438 - format!("Could not build stream {}", stream.err().unwrap()) [INFO] [stdout] 438 + "Could not build stream {}", stream.err().unwrap() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/handle.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | drop(errbuf); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut i8` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 48 - drop(errbuf); [INFO] [stdout] 48 + let _ = errbuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/handle.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | drop(errbuf); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut i8` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 82 - drop(errbuf); [INFO] [stdout] 82 + let _ = errbuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/handle.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | drop(errbuf); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut i8` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 117 - drop(errbuf); [INFO] [stdout] 117 + let _ = errbuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/handle.rs:171:49 [INFO] [stdout] | [INFO] [stdout] 171 | let bpf_str = std::ffi::CString::new(bpf.clone()).map_err(Error::Ffi)?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/info.rs:48:48 [INFO] [stdout] | [INFO] [stdout] 48 | ... let sockaddr = mem::transmute::(sockaddr); [INFO] [stdout] | ------------------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/stream.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | format!("Could not build stream {}", stream.err().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 201 - format!("Could not build stream {}", stream.err().unwrap()) [INFO] [stdout] 201 + "Could not build stream {}", stream.err().unwrap() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/stream.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | format!("Could not build stream {}", stream.err().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 229 - format!("Could not build stream {}", stream.err().unwrap()) [INFO] [stdout] 229 + "Could not build stream {}", stream.err().unwrap() [INFO] [stdout] | [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/rustcy8kL8w/symbols.o" "<17 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/{libpcap_sys-e425e2ba09f03241.rlib}.rlib" "-lpcap" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{librand-e68791fb85337c0a.rlib,librand-bba52451ded1fd95.rlib,libbyteorder-1e24148c060ae1e7.rlib,libpin_project-e8e5c3e6e36a64d4.rlib,libtokio-6abc9de9a4275985.rlib,libnum_cpus-1c5926ba1f6c583b.rlib,libmio-4d57c77323f328ca.rlib,libiovec-69b4c87f2b307b48.rlib,libnet2-fca7996e7ab7daf9.rlib,libcfg_if-2d17986ae484e939.rlib,libbytes-3e6aab9f92fa68ff.rlib,libpin_project_lite-8a66df2ca27e844a.rlib,libfutures-76c887ddb7b4718a.rlib,libfutures_executor-f03e7d81722a06bd.rlib,libfutures_util-59d982bce74fd08a.rlib,libfutures_io-48a223b618848720.rlib,libslab-ab03e73cecfeb230.rlib,libfutures_channel-4fb70efc6c537382.rlib,libpin_project_lite-0d5016e1f2870cc0.rlib,libfutures_sink-6a793c0b208125d7.rlib,libfutures_task-668b9442d038e652.rlib,libpin_utils-b08f1197f0cdae19.rlib,libfutures_core-11faec203d0219fa.rlib,libfailure-5ff376303791874c.rlib,libbacktrace-b9e2ece94a73ab1e.rlib,libminiz_oxide-e6f530019c4f3852.rlib,libadler2-b5c18c9729528d75.rlib,libobject-bd73a596d52e4cd8.rlib,libaddr2line-1ee75a6d3d268a5a.rlib,libgimli-15ed21d5bb7758be.rlib,libcfg_if-bfc6e2941b0f95e3.rlib,librustc_demangle-941a7cff61ca8237.rlib,libenv_logger-5fbba802436db610.rlib,libregex-fecddc971f28784f.rlib,libregex_automata-194c66049484e349.rlib,libaho_corasick-748d51dfd8f114b8.rlib,libmemchr-1aee4b866184c097.rlib,libregex_syntax-68ebd4ae9920c658.rlib,libatty-cc9cdd78051a6ef6.rlib,liblibc-8e354d7ef70926da.rlib,libhumantime-8d8e09eea03a30a0.rlib,libquick_error-022321fe562bcedb.rlib,libtermcolor-d92989218eee0326.rlib,liblog-7ed48074b9f3458e.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/rustcy8kL8w/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/pcap_async-e0417cd4d69813c6" "-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 `pcap-async` (lib test) due to 1 previous error; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7adbe9fa912a83fe487cff6184a81b8bad8b90006a70ac76df6da78f408a1757", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7adbe9fa912a83fe487cff6184a81b8bad8b90006a70ac76df6da78f408a1757", kill_on_drop: false }` [INFO] [stdout] 7adbe9fa912a83fe487cff6184a81b8bad8b90006a70ac76df6da78f408a1757