[INFO] cloning repository https://github.com/JakeHillion/netcombiner-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JakeHillion/netcombiner-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJakeHillion%2Fnetcombiner-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJakeHillion%2Fnetcombiner-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5acf4c62116f278d8d70fd1ad36c94a2cc71aabf [INFO] building JakeHillion/netcombiner-rs against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJakeHillion%2Fnetcombiner-rs" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JakeHillion/netcombiner-rs on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JakeHillion/netcombiner-rs [INFO] finished tweaking git repo https://github.com/JakeHillion/netcombiner-rs [INFO] tweaked toml for git repo https://github.com/JakeHillion/netcombiner-rs written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/JakeHillion/netcombiner-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spin v0.7.1 [INFO] [stderr] Downloaded chacha20 v0.6.0 [INFO] [stderr] Downloaded arraydeque v0.4.5 [INFO] [stderr] Downloaded pnet v0.27.2 [INFO] [stderr] Downloaded pnet_packet v0.27.2 [INFO] [stderr] Downloaded cpuprofiler v0.0.4 [INFO] [stderr] Downloaded pnet_base v0.27.2 [INFO] [stderr] Downloaded pnet_macros_support v0.27.2 [INFO] [stderr] Downloaded ipnetwork v0.17.0 [INFO] [stderr] Downloaded chacha20poly1305 v0.7.1 [INFO] [stderr] Downloaded pnet_datalink v0.27.2 [INFO] [stderr] Downloaded clear_on_drop v0.2.4 [INFO] [stderr] Downloaded ip_network_table-deps-treebitmap v0.5.0 [INFO] [stderr] Downloaded pnet_macros v0.27.2 [INFO] [stderr] Downloaded pnet_sys v0.27.2 [INFO] [stderr] Downloaded pnet_transport v0.27.2 [INFO] [stderr] Downloaded hjul v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d23c786d28ce9defa812848ebfc7ff849d8f0de736cae4ab5f15179866f97db5 [INFO] running `Command { std: "docker" "start" "-a" "d23c786d28ce9defa812848ebfc7ff849d8f0de736cae4ab5f15179866f97db5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d23c786d28ce9defa812848ebfc7ff849d8f0de736cae4ab5f15179866f97db5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d23c786d28ce9defa812848ebfc7ff849d8f0de736cae4ab5f15179866f97db5", kill_on_drop: false }` [INFO] [stdout] d23c786d28ce9defa812848ebfc7ff849d8f0de736cae4ab5f15179866f97db5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70749d1fa62155f213160bb4fc4b1634f814edd966f545c1d70932d721fe8f08 [INFO] running `Command { std: "docker" "start" "-a" "70749d1fa62155f213160bb4fc4b1634f814edd966f545c1d70932d721fe8f08", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling arraydeque v0.4.5 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling spin v0.7.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ip_network_table-deps-treebitmap v0.5.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling clear_on_drop v0.2.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling blake2 v0.9.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling poly1305 v0.6.2 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling hjul v0.2.2 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling zerocopy-derive v0.2.0 [INFO] [stderr] Compiling zeroize v1.4.1 [INFO] [stderr] Compiling chacha20 v0.6.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling chacha20poly1305 v0.7.1 [INFO] [stderr] Compiling zerocopy v0.3.0 [INFO] [stderr] Compiling x25519-dalek v1.1.1 [INFO] [stderr] Compiling netcombiner-rs v0.1.0 (/opt/rustwide/workdir) [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: `#[warn(invalid_value)]` on by default [INFO] [stdout] note: integers must not be uninitialized (in this struct field) [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.98/src/unix/linux_like/mod.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub sin6_family: sa_family_t, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 not be uninitialized (in this struct field) [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.98/src/unix/linux_like/linux/gnu/mod.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub cmsg_len: ::size_t, [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 not be uninitialized (in this struct field) [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.98/src/unix/linux_like/mod.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub sin_family: sa_family_t, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 not be uninitialized (in this struct field) [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.98/src/unix/linux_like/linux/gnu/mod.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub cmsg_len: ::size_t, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.52s [INFO] running `Command { std: "docker" "inspect" "70749d1fa62155f213160bb4fc4b1634f814edd966f545c1d70932d721fe8f08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70749d1fa62155f213160bb4fc4b1634f814edd966f545c1d70932d721fe8f08", kill_on_drop: false }` [INFO] [stdout] 70749d1fa62155f213160bb4fc4b1634f814edd966f545c1d70932d721fe8f08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 082fefc6a8d8558af83497fdfd1b7baf1ae7cc80b45d3df0406d312372800ea6 [INFO] running `Command { std: "docker" "start" "-a" "082fefc6a8d8558af83497fdfd1b7baf1ae7cc80b45d3df0406d312372800ea6", kill_on_drop: false }` [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling pnet_base v0.27.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling pnet_sys v0.27.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling bitflags v1.2.1 [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 fnv v1.0.7 [INFO] [stderr] Compiling pnet_macros_support v0.27.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling syntex_pos v0.42.0 [INFO] [stderr] Compiling syntex_errors v0.42.0 [INFO] [stderr] Compiling proptest v0.10.1 [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 netcombiner-rs v0.1.0 (/opt/rustwide/workdir) [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: `#[warn(invalid_value)]` on by default [INFO] [stdout] note: integers must not be uninitialized (in this struct field) [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.98/src/unix/linux_like/mod.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub sin6_family: sa_family_t, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 not be uninitialized (in this struct field) [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.98/src/unix/linux_like/linux/gnu/mod.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub cmsg_len: ::size_t, [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 not be uninitialized (in this struct field) [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.98/src/unix/linux_like/mod.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub sin_family: sa_family_t, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 not be uninitialized (in this struct field) [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.98/src/unix/linux_like/linux/gnu/mod.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub cmsg_len: ::size_t, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 26.92s [INFO] running `Command { std: "docker" "inspect" "082fefc6a8d8558af83497fdfd1b7baf1ae7cc80b45d3df0406d312372800ea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "082fefc6a8d8558af83497fdfd1b7baf1ae7cc80b45d3df0406d312372800ea6", kill_on_drop: false }` [INFO] [stdout] 082fefc6a8d8558af83497fdfd1b7baf1ae7cc80b45d3df0406d312372800ea6