[INFO] cloning repository https://github.com/WireGuard/wireguard-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WireGuard/wireguard-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWireGuard%2Fwireguard-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWireGuard%2Fwireguard-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7d84ef9064559a29b23ab86036f7ef62b450f90c [INFO] testing WireGuard/wireguard-rs against master#67da586efe13aa66eef576ba095e1875ba65fd20 for pr-112849 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWireGuard%2Fwireguard-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WireGuard/wireguard-rs on toolchain 67da586efe13aa66eef576ba095e1875ba65fd20 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+67da586efe13aa66eef576ba095e1875ba65fd20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/WireGuard/wireguard-rs [INFO] finished tweaking git repo https://github.com/WireGuard/wireguard-rs [INFO] tweaked toml for git repo https://github.com/WireGuard/wireguard-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/WireGuard/wireguard-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+67da586efe13aa66eef576ba095e1875ba65fd20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pnet v0.27.2 [INFO] [stderr] Downloaded pnet_transport v0.27.2 [INFO] [stderr] Downloaded chacha20poly1305 v0.7.1 [INFO] [stderr] Downloaded ipnetwork v0.17.0 [INFO] [stderr] Downloaded pnet_macros_support v0.27.2 [INFO] [stderr] Downloaded dashmap v4.0.1 [INFO] [stderr] Downloaded pnet_sys v0.27.2 [INFO] [stderr] Downloaded pnet_datalink v0.27.2 [INFO] [stderr] Downloaded hjul v0.2.2 [INFO] [stderr] Downloaded pnet_base v0.27.2 [INFO] [stderr] Downloaded pnet_macros v0.27.2 [INFO] [stderr] Downloaded spin v0.7.0 [INFO] [stderr] Downloaded cpuprofiler v0.0.4 [INFO] [stderr] Downloaded pnet_packet v0.27.2 [INFO] [stderr] Downloaded chacha20 v0.6.0 [INFO] [stderr] Downloaded proptest v0.10.1 [INFO] [stderr] Downloaded ip_network_table-deps-treebitmap v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+67da586efe13aa66eef576ba095e1875ba65fd20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f2fff29410ef40cd66614aaff38a276550a9647ac7ffc64568f8ecdff9f762d [INFO] running `Command { std: "docker" "start" "-a" "3f2fff29410ef40cd66614aaff38a276550a9647ac7ffc64568f8ecdff9f762d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f2fff29410ef40cd66614aaff38a276550a9647ac7ffc64568f8ecdff9f762d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f2fff29410ef40cd66614aaff38a276550a9647ac7ffc64568f8ecdff9f762d", kill_on_drop: false }` [INFO] [stdout] 3f2fff29410ef40cd66614aaff38a276550a9647ac7ffc64568f8ecdff9f762d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+67da586efe13aa66eef576ba095e1875ba65fd20" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1814a09d83b157ebaecd2f495876873b52178fef3340c698842915c072b241c4 [INFO] running `Command { std: "docker" "start" "-a" "1814a09d83b157ebaecd2f495876873b52178fef3340c698842915c072b241c4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling clear_on_drop v0.2.4 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling arraydeque v0.4.5 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling poly1305 v0.6.2 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling humantime v2.0.1 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling blake2 v0.9.1 [INFO] [stderr] Compiling dashmap v4.0.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling hjul v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling ip_network_table-deps-treebitmap v0.5.0 [INFO] [stderr] Compiling spin v0.7.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling zerocopy-derive v0.2.0 [INFO] [stderr] Compiling zeroize v1.1.1 [INFO] [stderr] Compiling chacha20 v0.6.0 [INFO] [stderr] Compiling curve25519-dalek v3.0.0 [INFO] [stderr] Compiling chacha20poly1305 v0.7.1 [INFO] [stderr] Compiling zerocopy v0.3.0 [INFO] [stderr] Compiling x25519-dalek v1.1.0 [INFO] [stderr] Compiling wireguard-rs v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/configuration/uapi/set.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/configuration/uapi/mod.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wireguard/handshake/device.rs:237:18 [INFO] [stdout] | [INFO] [stdout] 237 | Some(mut peer) => { [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: variable does not need to be mutable [INFO] [stdout] --> src/wireguard/router/peer.rs:264:22 [INFO] [stdout] | [INFO] [stdout] 264 | Some(mut state) => { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `sockaddr_in6` does not permit being left uninitialized [INFO] [stdout] --> src/platform/linux/udp.rs:213:52 [INFO] [stdout] | [INFO] [stdout] 213 | let mut src: libc::sockaddr_in6 = unsafe { mem::MaybeUninit::uninit().assume_init() }; [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] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ControlHeaderV6` does not permit being left uninitialized [INFO] [stdout] --> src/platform/linux/udp.rs:214:53 [INFO] [stdout] | [INFO] [stdout] 214 | let mut control: ControlHeaderV6 = unsafe { mem::MaybeUninit::uninit().assume_init() }; [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 (in this struct field) [INFO] [stdout] --> src/platform/linux/udp.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | hdr: libc::cmsghdr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `sockaddr_in` does not permit being left uninitialized [INFO] [stdout] --> src/platform/linux/udp.rs:267:51 [INFO] [stdout] | [INFO] [stdout] 267 | let mut src: libc::sockaddr_in = unsafe { mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ControlHeaderV4` does not permit being left uninitialized [INFO] [stdout] --> src/platform/linux/udp.rs:268:53 [INFO] [stdout] | [INFO] [stdout] 268 | let mut control: ControlHeaderV4 = unsafe { mem::MaybeUninit::uninit().assume_init() }; [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 (in this struct field) [INFO] [stdout] --> src/platform/linux/udp.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | hdr: libc::cmsghdr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.09s [INFO] running `Command { std: "docker" "inspect" "1814a09d83b157ebaecd2f495876873b52178fef3340c698842915c072b241c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1814a09d83b157ebaecd2f495876873b52178fef3340c698842915c072b241c4", kill_on_drop: false }` [INFO] [stdout] 1814a09d83b157ebaecd2f495876873b52178fef3340c698842915c072b241c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+67da586efe13aa66eef576ba095e1875ba65fd20" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5abe55227af71dd2cc2e07ebd6c8c2503a81e39a093434f8e14a6bcca8c5c1f3 [INFO] running `Command { std: "docker" "start" "-a" "5abe55227af71dd2cc2e07ebd6c8c2503a81e39a093434f8e14a6bcca8c5c1f3", kill_on_drop: false }` [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling pnet_base v0.27.2 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling pnet_macros_support v0.27.2 [INFO] [stderr] Compiling pnet_sys v0.27.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling pnet v0.27.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling proptest v0.10.1 [INFO] [stderr] Compiling syntex_pos v0.42.0 [INFO] [stderr] Compiling syntex_errors v0.42.0 [INFO] [stderr] Compiling syntex_syntax v0.42.0 [INFO] [stderr] Compiling ipnetwork v0.17.0 [INFO] [stderr] Compiling pnet_datalink v0.27.2 [INFO] [stderr] Compiling syntex v0.42.2 [INFO] [stderr] Compiling pnet_macros v0.27.2 [INFO] [stderr] Compiling pnet_packet v0.27.2 [INFO] [stderr] Compiling pnet_transport v0.27.2 [INFO] [stderr] Compiling wireguard-rs v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/configuration/uapi/set.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/configuration/uapi/mod.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wireguard/handshake/device.rs:237:18 [INFO] [stdout] | [INFO] [stdout] 237 | Some(mut peer) => { [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: variable does not need to be mutable [INFO] [stdout] --> src/wireguard/router/peer.rs:264:22 [INFO] [stdout] | [INFO] [stdout] 264 | Some(mut state) => { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `sockaddr_in6` does not permit being left uninitialized [INFO] [stdout] --> src/platform/linux/udp.rs:213:52 [INFO] [stdout] | [INFO] [stdout] 213 | let mut src: libc::sockaddr_in6 = unsafe { mem::MaybeUninit::uninit().assume_init() }; [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] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ControlHeaderV6` does not permit being left uninitialized [INFO] [stdout] --> src/platform/linux/udp.rs:214:53 [INFO] [stdout] | [INFO] [stdout] 214 | let mut control: ControlHeaderV6 = unsafe { mem::MaybeUninit::uninit().assume_init() }; [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 (in this struct field) [INFO] [stdout] --> src/platform/linux/udp.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | hdr: libc::cmsghdr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `sockaddr_in` does not permit being left uninitialized [INFO] [stdout] --> src/platform/linux/udp.rs:267:51 [INFO] [stdout] | [INFO] [stdout] 267 | let mut src: libc::sockaddr_in = unsafe { mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ControlHeaderV4` does not permit being left uninitialized [INFO] [stdout] --> src/platform/linux/udp.rs:268:53 [INFO] [stdout] | [INFO] [stdout] 268 | let mut control: ControlHeaderV4 = unsafe { mem::MaybeUninit::uninit().assume_init() }; [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 (in this struct field) [INFO] [stdout] --> src/platform/linux/udp.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | hdr: libc::cmsghdr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 21.97s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "5abe55227af71dd2cc2e07ebd6c8c2503a81e39a093434f8e14a6bcca8c5c1f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5abe55227af71dd2cc2e07ebd6c8c2503a81e39a093434f8e14a6bcca8c5c1f3", kill_on_drop: false }` [INFO] [stdout] 5abe55227af71dd2cc2e07ebd6c8c2503a81e39a093434f8e14a6bcca8c5c1f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+67da586efe13aa66eef576ba095e1875ba65fd20" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5276609ef41eb719388800cebbe86fe1da70bdb2ac0f23117c0e937c38666763 [INFO] running `Command { std: "docker" "start" "-a" "5276609ef41eb719388800cebbe86fe1da70bdb2ac0f23117c0e937c38666763", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/configuration/uapi/set.rs:104:10 [INFO] [stderr] | [INFO] [stderr] 104 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/configuration/uapi/mod.rs:43:10 [INFO] [stderr] | [INFO] [stderr] 43 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/wireguard/handshake/device.rs:237:18 [INFO] [stderr] | [INFO] [stderr] 237 | Some(mut peer) => { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/wireguard/router/peer.rs:264:22 [INFO] [stderr] | [INFO] [stderr] 264 | Some(mut state) => { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: the type `sockaddr_in6` does not permit being left uninitialized [INFO] [stderr] --> src/platform/linux/udp.rs:213:52 [INFO] [stderr] | [INFO] [stderr] 213 | let mut src: libc::sockaddr_in6 = unsafe { mem::MaybeUninit::uninit().assume_init() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: `#[warn(invalid_value)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the type `ControlHeaderV6` does not permit being left uninitialized [INFO] [stderr] --> src/platform/linux/udp.rs:214:53 [INFO] [stderr] | [INFO] [stderr] 214 | let mut control: ControlHeaderV6 = unsafe { mem::MaybeUninit::uninit().assume_init() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] note: integers must be initialized (in this struct field) [INFO] [stderr] --> src/platform/linux/udp.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | hdr: libc::cmsghdr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the type `sockaddr_in` does not permit being left uninitialized [INFO] [stderr] --> src/platform/linux/udp.rs:267:51 [INFO] [stderr] | [INFO] [stderr] 267 | let mut src: libc::sockaddr_in = unsafe { mem::MaybeUninit::uninit().assume_init() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] [INFO] [stderr] warning: the type `ControlHeaderV4` does not permit being left uninitialized [INFO] [stderr] --> src/platform/linux/udp.rs:268:53 [INFO] [stderr] | [INFO] [stderr] 268 | let mut control: ControlHeaderV4 = unsafe { mem::MaybeUninit::uninit().assume_init() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] note: integers must be initialized (in this struct field) [INFO] [stderr] --> src/platform/linux/udp.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | hdr: libc::cmsghdr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `wireguard-rs` (bin "wireguard-rs" test) generated 8 warnings (run `cargo fix --bin "wireguard-rs" --tests` to apply 2 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wireguard_rs-12c564d5878882d6) [INFO] [stdout] running 16 tests [INFO] [stdout] test wireguard::handshake::messages::tests::message_response_identity ... ok [INFO] [stdout] test wireguard::handshake::noise::tests::hkdf ... ok [INFO] [stdout] test wireguard::handshake::messages::tests::message_initiate_identity ... ok [INFO] [stdout] test wireguard::handshake::noise::tests::precomputed_chain_key ... ok [INFO] [stdout] test wireguard::handshake::noise::tests::precomputed_hash ... ok [INFO] [stdout] test wireguard::router::anti_replay::tests::anti_replay ... ok [INFO] [stdout] test wireguard::handshake::tests::handshake_under_load ... ok [INFO] [stdout] test wireguard::handshake::ratelimiter::tests::test_ratelimiter ... ok [INFO] [stdout] test wireguard::router::tests::tests::test_outbound ... ok [INFO] [stdout] test wireguard::handshake::tests::handshake_no_load ... ok [INFO] [stdout] test wireguard::handshake::macs::tests::test_cookie_reply ... ok [INFO] [stdout] test wireguard::handshake::device::tests::unique_shared_secrets ... ok [INFO] [stdout] test wireguard::router::queue::tests::test_fuzz_queue ... ok [INFO] [stdout] test wireguard::router::tests::tests::test_bidirectional ... ok [INFO] [stdout] test wireguard::router::queue::tests::test_consume_queue ... ok [INFO] [stdout] test wireguard::tests::test_pure_wireguard has been running for over 60 seconds [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "5276609ef41eb719388800cebbe86fe1da70bdb2ac0f23117c0e937c38666763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5276609ef41eb719388800cebbe86fe1da70bdb2ac0f23117c0e937c38666763", kill_on_drop: false }` [INFO] [stdout] 5276609ef41eb719388800cebbe86fe1da70bdb2ac0f23117c0e937c38666763