[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 master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhajifkd%2Fvirtual_ip_host" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/hajifkd/virtual_ip_host on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded futures-io-preview v0.3.0-alpha.17
[INFO] [stderr]   Downloaded futures-sink-preview v0.3.0-alpha.17
[INFO] [stderr]   Downloaded futures-channel-preview v0.3.0-alpha.17
[INFO] [stderr]   Downloaded futures-core-preview v0.3.0-alpha.17
[INFO] [stderr]   Downloaded futures-preview v0.3.0-alpha.17
[INFO] [stderr]   Downloaded futures-executor-preview v0.3.0-alpha.17
[INFO] [stderr]   Downloaded futures-util-preview v0.3.0-alpha.17
[INFO] [stderr]   Downloaded map_struct v0.3.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a863dd87015a300d5053b1d33a646dff4cac7d1480fff14a0442eb809aa1f7b8
[INFO] running `Command { std: "docker" "start" "-a" "a863dd87015a300d5053b1d33a646dff4cac7d1480fff14a0442eb809aa1f7b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a863dd87015a300d5053b1d33a646dff4cac7d1480fff14a0442eb809aa1f7b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a863dd87015a300d5053b1d33a646dff4cac7d1480fff14a0442eb809aa1f7b8", kill_on_drop: false }`
[INFO] [stdout] a863dd87015a300d5053b1d33a646dff4cac7d1480fff14a0442eb809aa1f7b8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9dbc53c8f5950b5e8669230c732728cee6410bd76aebaa2a5b81dfd7fd36bf4e
[INFO] running `Command { std: "docker" "start" "-a" "9dbc53c8f5950b5e8669230c732728cee6410bd76aebaa2a5b81dfd7fd36bf4e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]     Checking futures-core-preview v0.3.0-alpha.17
[INFO] [stderr]     Checking futures-io-preview v0.3.0-alpha.17
[INFO] [stderr]     Checking map_struct v0.3.0
[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 futures-util-preview v0.3.0-alpha.17
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling backtrace v0.3.69
[INFO] [stderr]     Checking futures-executor-preview v0.3.0-alpha.17
[INFO] [stderr]     Checking futures-preview v0.3.0-alpha.17
[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: 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: 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: 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<u8> {
[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<u8> {
[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<T>` 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/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<T>` 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 `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<T>` 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 `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<T>` 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: 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<u8> {
[INFO] [stdout]    |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_proto`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 15 warnings emitted
[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<u8> {
[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<T>` 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/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<T>` 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 `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<T>` 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 `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<T>` 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: 15 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 4.70s
[INFO] running `Command { std: "docker" "inspect" "9dbc53c8f5950b5e8669230c732728cee6410bd76aebaa2a5b81dfd7fd36bf4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9dbc53c8f5950b5e8669230c732728cee6410bd76aebaa2a5b81dfd7fd36bf4e", kill_on_drop: false }`
[INFO] [stdout] 9dbc53c8f5950b5e8669230c732728cee6410bd76aebaa2a5b81dfd7fd36bf4e
[INFO] checking hajifkd/virtual_ip_host against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhajifkd%2Fvirtual_ip_host" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/hajifkd/virtual_ip_host on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 39bfb7798bf8f71d636b31ffb39cbf79cebdd8f65ea7cf0263c97bb1a4052da4
[INFO] running `Command { std: "docker" "start" "-a" "39bfb7798bf8f71d636b31ffb39cbf79cebdd8f65ea7cf0263c97bb1a4052da4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "39bfb7798bf8f71d636b31ffb39cbf79cebdd8f65ea7cf0263c97bb1a4052da4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "39bfb7798bf8f71d636b31ffb39cbf79cebdd8f65ea7cf0263c97bb1a4052da4", kill_on_drop: false }`
[INFO] [stdout] 39bfb7798bf8f71d636b31ffb39cbf79cebdd8f65ea7cf0263c97bb1a4052da4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0fa0f522fd3f82014e94f3e77bc83d389c19b6e7ff6122f893166feb1502eb4b
[INFO] running `Command { std: "docker" "start" "-a" "0fa0f522fd3f82014e94f3e77bc83d389c19b6e7ff6122f893166feb1502eb4b", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]     Checking futures-core-preview v0.3.0-alpha.17
[INFO] [stderr]     Checking futures-io-preview v0.3.0-alpha.17
[INFO] [stderr]     Checking map_struct v0.3.0
[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 futures-util-preview v0.3.0-alpha.17
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]    Compiling backtrace v0.3.69
[INFO] [stderr]     Checking futures-executor-preview v0.3.0-alpha.17
[INFO] [stderr]     Checking futures-preview v0.3.0-alpha.17
[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: 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: 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<u8> {
[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<u8> {
[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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/arp/error.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug, Fail)]
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_ArpError`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]   = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/arp/error.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug, Fail)]
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_ArpError`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/ip/error.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug, Fail)]
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_IpError`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/ip/error.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug, Fail)]
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_IpError`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/ip/icmp/error.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug, Fail)]
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_IcmpError`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/ip/icmp/error.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug, Fail)]
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_IcmpError`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[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<T>` 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/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<T>` 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 `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<T>` 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 `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<T>` 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] error: aborting due to 6 previous errors; 15 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `virtual_ip_host` (lib test) due to 7 previous errors; 15 warnings emitted
[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] [stderr] warning: build failed, waiting for other jobs to finish...
[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<u8> {
[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<u8> {
[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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/arp/error.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug, Fail)]
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_ArpError`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]   = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/arp/error.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug, Fail)]
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_ArpError`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/ip/error.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug, Fail)]
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_IpError`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/ip/error.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug, Fail)]
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_IpError`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/ip/icmp/error.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug, Fail)]
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_IcmpError`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/ip/icmp/error.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug, Fail)]
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_IcmpError`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[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<T>` 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/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<T>` 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 `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<T>` 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 `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<T>` 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] error: aborting due to 6 previous errors; 15 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `virtual_ip_host` (lib) due to 7 previous errors; 15 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "0fa0f522fd3f82014e94f3e77bc83d389c19b6e7ff6122f893166feb1502eb4b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0fa0f522fd3f82014e94f3e77bc83d389c19b6e7ff6122f893166feb1502eb4b", kill_on_drop: false }`
[INFO] [stdout] 0fa0f522fd3f82014e94f3e77bc83d389c19b6e7ff6122f893166feb1502eb4b
