[INFO] cloning repository https://github.com/matthewbentley/rust-mynet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matthewbentley/rust-mynet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthewbentley%2Frust-mynet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthewbentley%2Frust-mynet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2118f8e448f66cc441413d42ed1084d1d3e0b3b2 [INFO] testing matthewbentley/rust-mynet against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthewbentley%2Frust-mynet" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/matthewbentley/rust-mynet on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/matthewbentley/rust-mynet [INFO] finished tweaking git repo https://github.com/matthewbentley/rust-mynet [INFO] tweaked toml for git repo https://github.com/matthewbentley/rust-mynet written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/matthewbentley/rust-mynet already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/matthewbentley/tuntap-rust.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9c84899d30c39929009bd2fe1aee23a323d38c49837da23997a113957631aea [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e9c84899d30c39929009bd2fe1aee23a323d38c49837da23997a113957631aea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9c84899d30c39929009bd2fe1aee23a323d38c49837da23997a113957631aea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9c84899d30c39929009bd2fe1aee23a323d38c49837da23997a113957631aea", kill_on_drop: false }` [INFO] [stdout] e9c84899d30c39929009bd2fe1aee23a323d38c49837da23997a113957631aea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fac4e45ef9a3499f65adde8e685d00580a589aefe435476a90a7fd1796610ad [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6fac4e45ef9a3499f65adde8e685d00580a589aefe435476a90a7fd1796610ad", kill_on_drop: false }` [INFO] [stderr] Compiling tuntap v0.1.0 (https://github.com/matthewbentley/tuntap-rust.git#9de4c3f2) [INFO] [stderr] Compiling eui48 v0.1.0 [INFO] [stderr] Compiling mynet v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct with type or const parameters (error E0133) [INFO] [stdout] --> src/main.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(safe_packed_borrows)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct with type or const parameters (error E0133) [INFO] [stdout] --> src/main.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct with type or const parameters (error E0133) [INFO] [stdout] --> src/main.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct with type or const parameters (error E0133) [INFO] [stdout] --> src/main.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct with type or const parameters (error E0133) [INFO] [stdout] --> src/main.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct with type or const parameters (error E0133) [INFO] [stdout] --> src/main.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct with type or const parameters (error E0133) [INFO] [stdout] --> src/main.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct with type or const parameters (error E0133) [INFO] [stdout] --> src/main.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/main.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/main.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/main.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 170 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/main.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/main.rs:277:61 [INFO] [stdout] | [INFO] [stdout] 277 | if let (&HwType::Ethernet, &EtherType::Ipv4) = (ðarp.payload.hwtype, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/main.rs:278:61 [INFO] [stdout] | [INFO] [stdout] 278 | ... ðarp.payload.protype) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/main.rs:286:33 [INFO] [stdout] | [INFO] [stdout] 286 | arp_map.insert((ipv4arp.payload.hwtype.clone(), ipv4arp.payload.data.sip), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/main.rs:354:22 [INFO] [stdout] | [INFO] [stdout] 354 | eth.ethertype); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unknown` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Unknown = 0x0000, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ipv4` [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | Ipv4 = 0x0008, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Arp` [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | Arp = 0x0608, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ipv6` [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | Ipv6 = 0xdd86, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unsupported` [INFO] [stdout] --> src/main.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | Unsupported = 0xff, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EchoRequest` [INFO] [stdout] --> src/main.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | EchoRequest = 0x08, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unknown` [INFO] [stdout] --> src/main.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | Unknown = 0xff, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Icmp` [INFO] [stdout] --> src/main.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | Icmp = 0x01, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Igmp` [INFO] [stdout] --> src/main.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | Igmp = 0x02, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Tcp` [INFO] [stdout] --> src/main.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | Tcp = 0x06, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Udp` [INFO] [stdout] --> src/main.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | Udp = 0x11, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Encap` [INFO] [stdout] --> src/main.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | Encap = 0x29, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ospf` [INFO] [stdout] --> src/main.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | Ospf = 0x59, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Sctp` [INFO] [stdout] --> src/main.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | Sctp = 0x84, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `version` [INFO] [stdout] --> src/main.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | fn version(&self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bit0` [INFO] [stdout] --> src/main.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | fn bit0(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bit1` [INFO] [stdout] --> src/main.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | fn bit1(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bit2` [INFO] [stdout] --> src/main.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | fn bit2(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `offset` [INFO] [stdout] --> src/main.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | fn offset(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unknown` [INFO] [stdout] --> src/main.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | Unknown = 0x0000, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ethernet` [INFO] [stdout] --> src/main.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | Ethernet = 0x0100, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unknown` [INFO] [stdout] --> src/main.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | Unknown = 0x0000, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Request` [INFO] [stdout] --> src/main.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | Request = 0x0100, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.80s [INFO] running `Command { std: "docker" "inspect" "6fac4e45ef9a3499f65adde8e685d00580a589aefe435476a90a7fd1796610ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fac4e45ef9a3499f65adde8e685d00580a589aefe435476a90a7fd1796610ad", kill_on_drop: false }` [INFO] [stdout] 6fac4e45ef9a3499f65adde8e685d00580a589aefe435476a90a7fd1796610ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8b097e5daa0e03f77ea9809bd5a74444779de7fb8d1c90b6bf393ce4a1a096f2 [INFO] running `Command { std: "docker" "start" "-a" "8b097e5daa0e03f77ea9809bd5a74444779de7fb8d1c90b6bf393ce4a1a096f2", kill_on_drop: false }` [INFO] [stderr] Compiling mynet v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct with type or const parameters (error E0133) [INFO] [stdout] --> src/main.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(safe_packed_borrows)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct with type or const parameters (error E0133) [INFO] [stdout] --> src/main.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct with type or const parameters (error E0133) [INFO] [stdout] --> src/main.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct with type or const parameters (error E0133) [INFO] [stdout] --> src/main.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct with type or const parameters (error E0133) [INFO] [stdout] --> src/main.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct with type or const parameters (error E0133) [INFO] [stdout] --> src/main.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct with type or const parameters (error E0133) [INFO] [stdout] --> src/main.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct with type or const parameters (error E0133) [INFO] [stdout] --> src/main.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/main.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/main.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/main.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 170 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/main.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/main.rs:277:61 [INFO] [stdout] | [INFO] [stdout] 277 | if let (&HwType::Ethernet, &EtherType::Ipv4) = (ðarp.payload.hwtype, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/main.rs:278:61 [INFO] [stdout] | [INFO] [stdout] 278 | ... ðarp.payload.protype) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/main.rs:286:33 [INFO] [stdout] | [INFO] [stdout] 286 | arp_map.insert((ipv4arp.payload.hwtype.clone(), ipv4arp.payload.data.sip), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/main.rs:354:22 [INFO] [stdout] | [INFO] [stdout] 354 | eth.ethertype); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unknown` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Unknown = 0x0000, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ipv4` [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | Ipv4 = 0x0008, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Arp` [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | Arp = 0x0608, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ipv6` [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | Ipv6 = 0xdd86, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unsupported` [INFO] [stdout] --> src/main.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | Unsupported = 0xff, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EchoRequest` [INFO] [stdout] --> src/main.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | EchoRequest = 0x08, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unknown` [INFO] [stdout] --> src/main.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | Unknown = 0xff, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Icmp` [INFO] [stdout] --> src/main.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | Icmp = 0x01, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Igmp` [INFO] [stdout] --> src/main.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | Igmp = 0x02, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Tcp` [INFO] [stdout] --> src/main.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | Tcp = 0x06, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Udp` [INFO] [stdout] --> src/main.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | Udp = 0x11, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Encap` [INFO] [stdout] --> src/main.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | Encap = 0x29, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ospf` [INFO] [stdout] --> src/main.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | Ospf = 0x59, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Sctp` [INFO] [stdout] --> src/main.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | Sctp = 0x84, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `version` [INFO] [stdout] --> src/main.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | fn version(&self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bit0` [INFO] [stdout] --> src/main.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | fn bit0(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bit1` [INFO] [stdout] --> src/main.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | fn bit1(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bit2` [INFO] [stdout] --> src/main.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | fn bit2(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `offset` [INFO] [stdout] --> src/main.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | fn offset(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unknown` [INFO] [stdout] --> src/main.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | Unknown = 0x0000, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ethernet` [INFO] [stdout] --> src/main.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | Ethernet = 0x0100, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unknown` [INFO] [stdout] --> src/main.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | Unknown = 0x0000, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Request` [INFO] [stdout] --> src/main.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | Request = 0x0100, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.85s [INFO] running `Command { std: "docker" "inspect" "8b097e5daa0e03f77ea9809bd5a74444779de7fb8d1c90b6bf393ce4a1a096f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b097e5daa0e03f77ea9809bd5a74444779de7fb8d1c90b6bf393ce4a1a096f2", kill_on_drop: false }` [INFO] [stdout] 8b097e5daa0e03f77ea9809bd5a74444779de7fb8d1c90b6bf393ce4a1a096f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6d159b201aa2bcc23423c0aa1ccbef9a21c08591db40c80cdc8257291640cd14 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6d159b201aa2bcc23423c0aa1ccbef9a21c08591db40c80cdc8257291640cd14", kill_on_drop: false }` [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct with type or const parameters (error E0133) [INFO] [stderr] --> src/main.rs:48:10 [INFO] [stderr] | [INFO] [stderr] 48 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(safe_packed_borrows)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct with type or const parameters (error E0133) [INFO] [stderr] --> src/main.rs:48:17 [INFO] [stderr] | [INFO] [stderr] 48 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct with type or const parameters (error E0133) [INFO] [stderr] --> src/main.rs:59:10 [INFO] [stderr] | [INFO] [stderr] 59 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct with type or const parameters (error E0133) [INFO] [stderr] --> src/main.rs:59:17 [INFO] [stderr] | [INFO] [stderr] 59 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct with type or const parameters (error E0133) [INFO] [stderr] --> src/main.rs:75:10 [INFO] [stderr] | [INFO] [stderr] 75 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct with type or const parameters (error E0133) [INFO] [stderr] --> src/main.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct with type or const parameters (error E0133) [INFO] [stderr] --> src/main.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct with type or const parameters (error E0133) [INFO] [stderr] --> src/main.rs:87:17 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stderr] --> src/main.rs:133:10 [INFO] [stderr] | [INFO] [stderr] 133 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stderr] --> src/main.rs:133:17 [INFO] [stderr] | [INFO] [stderr] 133 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stderr] --> src/main.rs:170:10 [INFO] [stderr] | [INFO] [stderr] 170 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stderr] --> src/main.rs:170:17 [INFO] [stderr] | [INFO] [stderr] 170 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/main.rs:277:61 [INFO] [stderr] | [INFO] [stderr] 277 | if let (&HwType::Ethernet, &EtherType::Ipv4) = (ðarp.payload.hwtype, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/main.rs:278:61 [INFO] [stderr] | [INFO] [stderr] 278 | ... ðarp.payload.protype) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/main.rs:286:33 [INFO] [stderr] | [INFO] [stderr] 286 | arp_map.insert((ipv4arp.payload.hwtype.clone(), ipv4arp.payload.data.sip), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/main.rs:354:22 [INFO] [stderr] | [INFO] [stderr] 354 | eth.ethertype); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Unknown` [INFO] [stderr] --> src/main.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | Unknown = 0x0000, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Ipv4` [INFO] [stderr] --> src/main.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | Ipv4 = 0x0008, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Arp` [INFO] [stderr] --> src/main.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | Arp = 0x0608, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Ipv6` [INFO] [stderr] --> src/main.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | Ipv6 = 0xdd86, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Unsupported` [INFO] [stderr] --> src/main.rs:103:5 [INFO] [stderr] | [INFO] [stderr] 103 | Unsupported = 0xff, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `EchoRequest` [INFO] [stderr] --> src/main.rs:105:5 [INFO] [stderr] | [INFO] [stderr] 105 | EchoRequest = 0x08, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Unknown` [INFO] [stderr] --> src/main.rs:111:5 [INFO] [stderr] | [INFO] [stderr] 111 | Unknown = 0xff, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Icmp` [INFO] [stderr] --> src/main.rs:112:5 [INFO] [stderr] | [INFO] [stderr] 112 | Icmp = 0x01, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Igmp` [INFO] [stderr] --> src/main.rs:113:5 [INFO] [stderr] | [INFO] [stderr] 113 | Igmp = 0x02, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Tcp` [INFO] [stderr] --> src/main.rs:114:5 [INFO] [stderr] | [INFO] [stderr] 114 | Tcp = 0x06, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Udp` [INFO] [stderr] --> src/main.rs:115:5 [INFO] [stderr] | [INFO] [stderr] 115 | Udp = 0x11, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Encap` [INFO] [stderr] --> src/main.rs:116:5 [INFO] [stderr] | [INFO] [stderr] 116 | Encap = 0x29, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Ospf` [INFO] [stderr] --> src/main.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 117 | Ospf = 0x59, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Sctp` [INFO] [stderr] --> src/main.rs:118:5 [INFO] [stderr] | [INFO] [stderr] 118 | Sctp = 0x84, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `version` [INFO] [stderr] --> src/main.rs:140:8 [INFO] [stderr] | [INFO] [stderr] 140 | fn version(&self) -> u8 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `bit0` [INFO] [stderr] --> src/main.rs:149:8 [INFO] [stderr] | [INFO] [stderr] 149 | fn bit0(&self) -> bool { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `bit1` [INFO] [stderr] --> src/main.rs:153:8 [INFO] [stderr] | [INFO] [stderr] 153 | fn bit1(&self) -> bool { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `bit2` [INFO] [stderr] --> src/main.rs:157:8 [INFO] [stderr] | [INFO] [stderr] 157 | fn bit2(&self) -> bool { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `offset` [INFO] [stderr] --> src/main.rs:161:8 [INFO] [stderr] | [INFO] [stderr] 161 | fn offset(&self) -> u16 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Unknown` [INFO] [stderr] --> src/main.rs:203:5 [INFO] [stderr] | [INFO] [stderr] 203 | Unknown = 0x0000, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Ethernet` [INFO] [stderr] --> src/main.rs:204:5 [INFO] [stderr] | [INFO] [stderr] 204 | Ethernet = 0x0100, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Unknown` [INFO] [stderr] --> src/main.rs:211:5 [INFO] [stderr] | [INFO] [stderr] 211 | Unknown = 0x0000, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Request` [INFO] [stderr] --> src/main.rs:212:5 [INFO] [stderr] | [INFO] [stderr] 212 | Request = 0x0100, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 39 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/mynet-eae80faae19e4d43 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6d159b201aa2bcc23423c0aa1ccbef9a21c08591db40c80cdc8257291640cd14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d159b201aa2bcc23423c0aa1ccbef9a21c08591db40c80cdc8257291640cd14", kill_on_drop: false }` [INFO] [stdout] 6d159b201aa2bcc23423c0aa1ccbef9a21c08591db40c80cdc8257291640cd14