[INFO] cloning repository https://github.com/hajifkd/virtual_ip_host [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hajifkd/virtual_ip_host" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhajifkd%2Fvirtual_ip_host", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhajifkd%2Fvirtual_ip_host'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ad476da02542f1fbd6b76e615007f82a703df4df [INFO] checking hajifkd/virtual_ip_host against try#b2686d78d0034bb3435b348d5a63910b074a1990 for pr-104429 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhajifkd%2Fvirtual_ip_host" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hajifkd/virtual_ip_host on toolchain b2686d78d0034bb3435b348d5a63910b074a1990 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2686d78d0034bb3435b348d5a63910b074a1990" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4/source/.cargo/config [INFO] started tweaking git repo https://github.com/hajifkd/virtual_ip_host [INFO] finished tweaking git repo https://github.com/hajifkd/virtual_ip_host [INFO] tweaked toml for git repo https://github.com/hajifkd/virtual_ip_host written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2686d78d0034bb3435b348d5a63910b074a1990" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2686d78d0034bb3435b348d5a63910b074a1990" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+b2686d78d0034bb3435b348d5a63910b074a1990" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37d6a368a100f9d9d882ac87a02f5eab861e9d4da7bdeda8b342b48bac3fc42a [INFO] running `Command { std: "docker" "start" "-a" "37d6a368a100f9d9d882ac87a02f5eab861e9d4da7bdeda8b342b48bac3fc42a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37d6a368a100f9d9d882ac87a02f5eab861e9d4da7bdeda8b342b48bac3fc42a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37d6a368a100f9d9d882ac87a02f5eab861e9d4da7bdeda8b342b48bac3fc42a", kill_on_drop: false }` [INFO] [stdout] 37d6a368a100f9d9d882ac87a02f5eab861e9d4da7bdeda8b342b48bac3fc42a [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=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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+b2686d78d0034bb3435b348d5a63910b074a1990" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44a8eb08cb595234560177d9c54412dca8e0a20092a86964967375b50e6d45da [INFO] running `Command { std: "docker" "start" "-a" "44a8eb08cb595234560177d9c54412dca8e0a20092a86964967375b50e6d45da", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.17 [INFO] [stderr] Compiling cc v1.0.76 [INFO] [stderr] Checking futures-sink-preview v0.3.0-alpha.17 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.17 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking gimli v0.26.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Checking futures-io-preview v0.3.0-alpha.17 [INFO] [stderr] Checking object v0.29.0 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.17 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking map_struct v0.3.0 [INFO] [stderr] Checking num_cpus v1.14.0 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking futures-executor-preview v0.3.0-alpha.17 [INFO] [stderr] Checking futures-preview v0.3.0-alpha.17 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking virtual_ip_host v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/socket/mod.rs:2:85 [INFO] [stdout] | [INFO] [stdout] 2 | bind, c_int, ioctl, packet_mreq, recv, sendto, setsockopt, sockaddr_ll, socket, write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/socket/mod.rs:2:85 [INFO] [stdout] | [INFO] [stdout] 2 | bind, c_int, ioctl, packet_mreq, recv, sendto, setsockopt, sockaddr_ll, socket, write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/socket/mod.rs:28:50 [INFO] [stdout] | [INFO] [stdout] 28 | let mut if_req: ifreq::ifreq = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/socket/mod.rs:45:45 [INFO] [stdout] | [INFO] [stdout] 45 | let mut sa: sockaddr_ll = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/socket/mod.rs:66:46 [INFO] [stdout] | [INFO] [stdout] 66 | let mut opt: packet_mreq = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/socket/mod.rs:97:45 [INFO] [stdout] | [INFO] [stdout] 97 | let mut sa: sockaddr_ll = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/ip/mod.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 71 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 74 | result [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip_header` [INFO] [stdout] --> src/ip/mod.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | let (ip_header, payload) = IpHeaderWithoutOptions::mapped_mut(&mut result).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ip_header` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/ip/mod.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 70 | let (ip_header, payload) = IpHeaderWithoutOptions::mapped_mut(&mut result).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proto` [INFO] [stdout] --> src/ip/mod.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | fn construct_packet(proto: u8, dst: IpAddress, payload: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/ip/mod.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | fn construct_packet(proto: u8, dst: IpAddress, payload: &[u8]) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/socket/mod.rs:28:50 [INFO] [stdout] | [INFO] [stdout] 28 | let mut if_req: ifreq::ifreq = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/socket/mod.rs:45:45 [INFO] [stdout] | [INFO] [stdout] 45 | let mut sa: sockaddr_ll = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/socket/mod.rs:66:46 [INFO] [stdout] | [INFO] [stdout] 66 | let mut opt: packet_mreq = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/socket/mod.rs:97:45 [INFO] [stdout] | [INFO] [stdout] 97 | let mut sa: sockaddr_ll = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `my_addr` is never read [INFO] [stdout] --> src/ip/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct IpDriver { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 63 | my_addr: IpAddress, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `socket::ifreq::ifreq` does not permit being left uninitialized [INFO] [stdout] --> src/socket/mod.rs:28:40 [INFO] [stdout] | [INFO] [stdout] 28 | let mut if_req: ifreq::ifreq = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must not be uninitialized (in this struct field) [INFO] [stdout] --> src/socket/ifreq.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub ifr_name: [c_char; IFNAMSIZ], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `sockaddr_ll` does not permit being left uninitialized [INFO] [stdout] --> src/socket/mod.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | let mut sa: sockaddr_ll = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must not be uninitialized (in this struct field) [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.137/src/unix/linux_like/mod.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub sll_family: ::c_ushort, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `packet_mreq` does not permit being left uninitialized [INFO] [stdout] --> src/socket/mod.rs:66:36 [INFO] [stdout] | [INFO] [stdout] 66 | let mut opt: packet_mreq = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must not be uninitialized (in this struct field) [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.137/src/unix/linux_like/linux/mod.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | pub mr_ifindex: ::c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `sockaddr_ll` does not permit being left uninitialized [INFO] [stdout] --> src/socket/mod.rs:97:35 [INFO] [stdout] | [INFO] [stdout] 97 | let mut sa: sockaddr_ll = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must not be uninitialized (in this struct field) [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.137/src/unix/linux_like/mod.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub sll_family: ::c_ushort, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/ip/mod.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 71 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 74 | result [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip_header` [INFO] [stdout] --> src/ip/mod.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | let (ip_header, payload) = IpHeaderWithoutOptions::mapped_mut(&mut result).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ip_header` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/ip/mod.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 70 | let (ip_header, payload) = IpHeaderWithoutOptions::mapped_mut(&mut result).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proto` [INFO] [stdout] --> src/ip/mod.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | fn construct_packet(proto: u8, dst: IpAddress, payload: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/ip/mod.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | fn construct_packet(proto: u8, dst: IpAddress, payload: &[u8]) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `my_addr` is never read [INFO] [stdout] --> src/ip/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct IpDriver { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 63 | my_addr: IpAddress, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `socket::ifreq::ifreq` does not permit being left uninitialized [INFO] [stdout] --> src/socket/mod.rs:28:40 [INFO] [stdout] | [INFO] [stdout] 28 | let mut if_req: ifreq::ifreq = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must not be uninitialized (in this struct field) [INFO] [stdout] --> src/socket/ifreq.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub ifr_name: [c_char; IFNAMSIZ], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `sockaddr_ll` does not permit being left uninitialized [INFO] [stdout] --> src/socket/mod.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | let mut sa: sockaddr_ll = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must not be uninitialized (in this struct field) [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.137/src/unix/linux_like/mod.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub sll_family: ::c_ushort, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `packet_mreq` does not permit being left uninitialized [INFO] [stdout] --> src/socket/mod.rs:66:36 [INFO] [stdout] | [INFO] [stdout] 66 | let mut opt: packet_mreq = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must not be uninitialized (in this struct field) [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.137/src/unix/linux_like/linux/mod.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | pub mr_ifindex: ::c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `sockaddr_ll` does not permit being left uninitialized [INFO] [stdout] --> src/socket/mod.rs:97:35 [INFO] [stdout] | [INFO] [stdout] 97 | let mut sa: sockaddr_ll = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must not be uninitialized (in this struct field) [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.137/src/unix/linux_like/mod.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub sll_family: ::c_ushort, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.66s [INFO] running `Command { std: "docker" "inspect" "44a8eb08cb595234560177d9c54412dca8e0a20092a86964967375b50e6d45da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44a8eb08cb595234560177d9c54412dca8e0a20092a86964967375b50e6d45da", kill_on_drop: false }` [INFO] [stdout] 44a8eb08cb595234560177d9c54412dca8e0a20092a86964967375b50e6d45da