[INFO] fetching crate wgctrl-rs 0.1.0... [INFO] testing wgctrl-rs-0.1.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate wgctrl-rs 0.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate wgctrl-rs 0.1.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wgctrl-rs 0.1.0 [INFO] finished tweaking crates.io crate wgctrl-rs 0.1.0 [INFO] tweaked toml for crates.io crate wgctrl-rs 0.1.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wgctrl-sys v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 28e06a383e13e2c15abecbf9c437bf2f8735509d82606708b7a7940835bef9f6 [INFO] running `Command { std: "docker" "start" "-a" "28e06a383e13e2c15abecbf9c437bf2f8735509d82606708b7a7940835bef9f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28e06a383e13e2c15abecbf9c437bf2f8735509d82606708b7a7940835bef9f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28e06a383e13e2c15abecbf9c437bf2f8735509d82606708b7a7940835bef9f6", kill_on_drop: false }` [INFO] [stdout] 28e06a383e13e2c15abecbf9c437bf2f8735509d82606708b7a7940835bef9f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c3f5cff0372579875a49f5c0871d60c3df786b1d6fb1a28ae47b2540b4347767 [INFO] running `Command { std: "docker" "start" "-a" "c3f5cff0372579875a49f5c0871d60c3df786b1d6fb1a28ae47b2540b4347767", kill_on_drop: false }` [INFO] [stderr] Compiling bindgen v0.39.0 [INFO] [stderr] Compiling clang-sys v0.23.0 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling wgctrl-sys v0.1.0 [INFO] [stderr] Compiling wgctrl-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/config.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | __bindgen_anon_1: unsafe { 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/config.rs:69:46 [INFO] [stdout] | [INFO] [stdout] 69 | sin6_addr: unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/config.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | unsafe { wg_allowedip.__bindgen_anon_1.ip4.s_addr = u32::to_be(a.into()) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/config.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | unsafe { wg_allowedip.__bindgen_anon_1.ip6.s6_addr = a.octets() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/config.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | unsafe { result.addr6.sin6_addr.s6_addr = s.ip().octets() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/device.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | _ => unreachable!(format!("Unsupported socket family {}!", raw.family)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of unreachable!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the unreachable!() 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] 34 - _ => unreachable!(format!("Unsupported socket family {}!", raw.family)), [INFO] [stdout] 34 + _ => unreachable!("Unsupported socket family {}!", raw.family), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/device.rs:121:27 [INFO] [stdout] | [INFO] [stdout] 121 | _ => unreachable!(format!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 122 | | "Unsupported socket family: {}!", [INFO] [stdout] 123 | | endpoint.addr.sa_family [INFO] [stdout] 124 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of unreachable!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the unreachable!() 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] 121 ~ _ => unreachable!( [INFO] [stdout] 122 | "Unsupported socket family: {}!", [INFO] [stdout] 123 | endpoint.addr.sa_family [INFO] [stdout] 124 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 49.21s [INFO] running `Command { std: "docker" "inspect" "c3f5cff0372579875a49f5c0871d60c3df786b1d6fb1a28ae47b2540b4347767", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3f5cff0372579875a49f5c0871d60c3df786b1d6fb1a28ae47b2540b4347767", kill_on_drop: false }` [INFO] [stdout] c3f5cff0372579875a49f5c0871d60c3df786b1d6fb1a28ae47b2540b4347767 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 493b8714697191795eb7e3d95cec39f27237de8c23644c192a33cd249c820d18 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "493b8714697191795eb7e3d95cec39f27237de8c23644c192a33cd249c820d18", kill_on_drop: false }` [INFO] [stderr] Compiling wgctrl-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/config.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | __bindgen_anon_1: unsafe { 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/config.rs:69:46 [INFO] [stdout] | [INFO] [stdout] 69 | sin6_addr: unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/config.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | unsafe { wg_allowedip.__bindgen_anon_1.ip4.s_addr = u32::to_be(a.into()) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/config.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | unsafe { wg_allowedip.__bindgen_anon_1.ip6.s6_addr = a.octets() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/config.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | unsafe { result.addr6.sin6_addr.s6_addr = s.ip().octets() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/device.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | _ => unreachable!(format!("Unsupported socket family {}!", raw.family)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of unreachable!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the unreachable!() 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] 34 - _ => unreachable!(format!("Unsupported socket family {}!", raw.family)), [INFO] [stdout] 34 + _ => unreachable!("Unsupported socket family {}!", raw.family), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/device.rs:121:27 [INFO] [stdout] | [INFO] [stdout] 121 | _ => unreachable!(format!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 122 | | "Unsupported socket family: {}!", [INFO] [stdout] 123 | | endpoint.addr.sa_family [INFO] [stdout] 124 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of unreachable!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the unreachable!() 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] 121 ~ _ => unreachable!( [INFO] [stdout] 122 | "Unsupported socket family: {}!", [INFO] [stdout] 123 | endpoint.addr.sa_family [INFO] [stdout] 124 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/config.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | __bindgen_anon_1: unsafe { 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/config.rs:69:46 [INFO] [stdout] | [INFO] [stdout] 69 | sin6_addr: unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/config.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | unsafe { wg_allowedip.__bindgen_anon_1.ip4.s_addr = u32::to_be(a.into()) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/config.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | unsafe { wg_allowedip.__bindgen_anon_1.ip6.s6_addr = a.octets() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/config.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | unsafe { result.addr6.sin6_addr.s6_addr = s.ip().octets() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/device.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | _ => unreachable!(format!("Unsupported socket family {}!", raw.family)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of unreachable!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the unreachable!() 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] 34 - _ => unreachable!(format!("Unsupported socket family {}!", raw.family)), [INFO] [stdout] 34 + _ => unreachable!("Unsupported socket family {}!", raw.family), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/device.rs:121:27 [INFO] [stdout] | [INFO] [stdout] 121 | _ => unreachable!(format!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 122 | | "Unsupported socket family: {}!", [INFO] [stdout] 123 | | endpoint.addr.sa_family [INFO] [stdout] 124 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of unreachable!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the unreachable!() 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] 121 ~ _ => unreachable!( [INFO] [stdout] 122 | "Unsupported socket family: {}!", [INFO] [stdout] 123 | endpoint.addr.sa_family [INFO] [stdout] 124 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.07s [INFO] running `Command { std: "docker" "inspect" "493b8714697191795eb7e3d95cec39f27237de8c23644c192a33cd249c820d18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "493b8714697191795eb7e3d95cec39f27237de8c23644c192a33cd249c820d18", kill_on_drop: false }` [INFO] [stdout] 493b8714697191795eb7e3d95cec39f27237de8c23644c192a33cd249c820d18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 22b38cc1b885e360eb5ca6d5117b013affd6c7457dbf8d51b8250d5edd3a4af8 [INFO] running `Command { std: "docker" "start" "-a" "22b38cc1b885e360eb5ca6d5117b013affd6c7457dbf8d51b8250d5edd3a4af8", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] running 5 tests [INFO] [stderr] --> src/config.rs:28:45 [INFO] [stdout] test key::tests::test_invalid_key ... ok [INFO] [stderr] | [INFO] [stdout] test key::tests::test_key_base64 ... ok [INFO] [stderr] 28 | __bindgen_anon_1: unsafe { mem::uninitialized() }, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/config.rs:69:46 [INFO] [stderr] | [INFO] [stderr] 69 | sin6_addr: unsafe { mem::uninitialized() }, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/config.rs:36:17 [INFO] [stderr] | [INFO] [stderr] 36 | unsafe { wg_allowedip.__bindgen_anon_1.ip4.s_addr = u32::to_be(a.into()) }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/config.rs:40:17 [INFO] [stderr] | [INFO] [stderr] 40 | unsafe { wg_allowedip.__bindgen_anon_1.ip6.s6_addr = a.octets() }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/config.rs:75:13 [INFO] [stderr] | [INFO] [stderr] 75 | unsafe { result.addr6.sin6_addr.s6_addr = s.ip().octets() }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/device.rs:34:31 [INFO] [stderr] | [INFO] [stderr] 34 | _ => unreachable!(format!("Unsupported socket family {}!", raw.family)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of unreachable!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the unreachable!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 34 - _ => unreachable!(format!("Unsupported socket family {}!", raw.family)), [INFO] [stderr] 34 + _ => unreachable!("Unsupported socket family {}!", raw.family), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/device.rs:121:27 [INFO] [stderr] | [INFO] [stderr] 121 | _ => unreachable!(format!( [INFO] [stderr] | ___________________________^ [INFO] [stderr] 122 | | "Unsupported socket family: {}!", [INFO] [stderr] 123 | | endpoint.addr.sa_family [INFO] [stderr] 124 | | )), [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of unreachable!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the unreachable!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 121 ~ _ => unreachable!( [INFO] [stderr] 122 | "Unsupported socket family: {}!", [INFO] [stderr] 123 | endpoint.addr.sa_family [INFO] [stderr] 124 ~ ), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `wgctrl-rs` (lib) generated 7 warnings [INFO] [stderr] warning: `wgctrl-rs` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/wgctrl_rs-a37b29a8625d2dae) [INFO] [stdout] test key::tests::test_key_zero ... ok [INFO] [stdout] test key::tests::test_generate_keypair_basic ... ok [INFO] [stdout] test key::tests::test_generate_keypair_helper ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/genkey-c26e716b5a016576) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/genpsk-8c6ccdfb6b264c67) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pubkey-f696339a54bd2072) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/show-50f4009499a834a1) [INFO] [stderr] Doc-tests wgctrl-rs [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/device.rs - device::DeviceInfo::enumerate (line 258) ... ok [INFO] [stdout] test src/config.rs - config::DeviceConfigBuilder (line 146) ... ok [INFO] [stdout] test src/device.rs - device::DeviceInfo::get_by_name (line 301) ... ok [INFO] [stdout] test src/config.rs - config::PeerConfigBuilder (line 369) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.11s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "22b38cc1b885e360eb5ca6d5117b013affd6c7457dbf8d51b8250d5edd3a4af8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22b38cc1b885e360eb5ca6d5117b013affd6c7457dbf8d51b8250d5edd3a4af8", kill_on_drop: false }` [INFO] [stdout] 22b38cc1b885e360eb5ca6d5117b013affd6c7457dbf8d51b8250d5edd3a4af8