[INFO] cloning repository https://github.com/awkrail/tnets [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/awkrail/tnets" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawkrail%2Ftnets", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawkrail%2Ftnets'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 015cc3a4004b7b3f8fca4cb6a415ec54900783b8 [INFO] checking awkrail/tnets against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawkrail%2Ftnets" "/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/awkrail/tnets on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/awkrail/tnets [INFO] finished tweaking git repo https://github.com/awkrail/tnets [INFO] tweaked toml for git repo https://github.com/awkrail/tnets written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/awkrail/tnets already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61117c612dafcb460503a6fe6eb0edc78d8c661d7800bcc727d065a3b823d626 [INFO] running `Command { std: "docker" "start" "-a" "61117c612dafcb460503a6fe6eb0edc78d8c661d7800bcc727d065a3b823d626", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61117c612dafcb460503a6fe6eb0edc78d8c661d7800bcc727d065a3b823d626", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61117c612dafcb460503a6fe6eb0edc78d8c661d7800bcc727d065a3b823d626", kill_on_drop: false }` [INFO] [stdout] 61117c612dafcb460503a6fe6eb0edc78d8c661d7800bcc727d065a3b823d626 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9045b387343349c9c26fac656b809e26b58cbe39ee2a92c81013d6da57da6c6 [INFO] running `Command { std: "docker" "start" "-a" "a9045b387343349c9c26fac656b809e26b58cbe39ee2a92c81013d6da57da6c6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking regex-syntax v0.7.1 [INFO] [stderr] Checking iana-time-zone v0.1.56 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking aho-corasick v1.0.1 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking chrono v0.4.24 [INFO] [stderr] Checking regex v1.8.1 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking tnets v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, `trace`, and `warn` [INFO] [stdout] --> src/util.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{Level, trace, debug, info, warn, error}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, `trace`, and `warn` [INFO] [stdout] --> src/util.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{Level, trace, debug, info, warn, error}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/net.rs:45:39 [INFO] [stdout] | [INFO] [stdout] 45 | fn transmit(&self, dev_type: u16, data: [u8; 48], len: usize) -> i8 [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/net.rs:45:39 [INFO] [stdout] | [INFO] [stdout] 45 | fn transmit(&self, dev_type: u16, data: [u8; 48], len: usize) -> i8 [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/net.rs:107:36 [INFO] [stdout] | [INFO] [stdout] 107 | fn input(&self, dev_type: u16, data: u8, len: u16) -> i8 [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/net.rs:107:36 [INFO] [stdout] | [INFO] [stdout] 107 | fn input(&self, dev_type: u16, data: u8, len: u16) -> i8 [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let mut dummy = driver::dummy::dummy_init(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let mut dummy = driver::dummy::dummy_init(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOOPBACK_IP_ADDR` is never used [INFO] [stdout] --> src/main.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const LOOPBACK_IP_ADDR: &str = "127.0.0.1"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOOPBACK_IP_ADDR` is never used [INFO] [stdout] --> src/main.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const LOOPBACK_IP_ADDR: &str = "127.0.0.1"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOOPBACK_NETMASK` is never used [INFO] [stdout] --> src/main.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const LOOPBACK_NETMASK: &str = "255.0.0.0"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOOPBACK_NETMASK` is never used [INFO] [stdout] --> src/main.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const LOOPBACK_NETMASK: &str = "255.0.0.0"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ETHER_TAP_NAME` is never used [INFO] [stdout] --> src/main.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const ETHER_TAP_NAME: &str = "tap0"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ETHER_TAP_NAME` is never used [INFO] [stdout] --> src/main.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const ETHER_TAP_NAME: &str = "tap0"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ETHER_TAP_HW_ADDR` is never used [INFO] [stdout] --> src/main.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const ETHER_TAP_HW_ADDR: &str = "00:00:5e:00:53:01"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ETHER_TAP_HW_ADDR` is never used [INFO] [stdout] --> src/main.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const ETHER_TAP_HW_ADDR: &str = "00:00:5e:00:53:01"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ETHER_TAP_IP_ADDR` is never used [INFO] [stdout] --> src/main.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const ETHER_TAP_IP_ADDR: &str = "192.0.2.2"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ETHER_TAP_IP_ADDR` is never used [INFO] [stdout] --> src/main.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const ETHER_TAP_IP_ADDR: &str = "192.0.2.2"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ETHER_TAP_NETMASK` is never used [INFO] [stdout] --> src/main.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const ETHER_TAP_NETMASK: &str = "255.255.255.0"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_GATEWAY` is never used [INFO] [stdout] --> src/main.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const DEFAULT_GATEWAY: &str = "192.0.2.1"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ETHER_TAP_NETMASK` is never used [INFO] [stdout] --> src/main.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const ETHER_TAP_NETMASK: &str = "255.255.255.0"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_GATEWAY` is never used [INFO] [stdout] --> src/main.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const DEFAULT_GATEWAY: &str = "192.0.2.1"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_little_endian` is never used [INFO] [stdout] --> src/util.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn is_little_endian() -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_little_endian` is never used [INFO] [stdout] --> src/util.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn is_little_endian() -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `byteswap` is never used [INFO] [stdout] --> src/util.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait Byteswap [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 44 | { [INFO] [stdout] 45 | fn byteswap(&self) -> Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `byteswap` is never used [INFO] [stdout] --> src/util.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn byteswap(v: T) -> T [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `byteswap` is never used [INFO] [stdout] --> src/util.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait Byteswap [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 44 | { [INFO] [stdout] 45 | fn byteswap(&self) -> Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hton` is never used [INFO] [stdout] --> src/util.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn hton(h: T) -> T [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `byteswap` is never used [INFO] [stdout] --> src/util.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn byteswap(v: T) -> T [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ntoh` is never used [INFO] [stdout] --> src/util.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn ntoh(n: T) -> T [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hton` is never used [INFO] [stdout] --> src/util.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn hton(h: T) -> T [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cksum16` is never used [INFO] [stdout] --> src/util.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn cksum16() -> u16 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ntoh` is never used [INFO] [stdout] --> src/util.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn ntoh(n: T) -> T [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IFNAMSIZ` is never used [INFO] [stdout] --> src/net.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const IFNAMSIZ: u16 = 16; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cksum16` is never used [INFO] [stdout] --> src/util.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn cksum16() -> u16 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NET_DEVICE_TYPE_LOOPBACK` is never used [INFO] [stdout] --> src/net.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const NET_DEVICE_TYPE_LOOPBACK: u16 = 0x0001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IFNAMSIZ` is never used [INFO] [stdout] --> src/net.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const IFNAMSIZ: u16 = 16; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NET_DEVICE_TYPE_ETHERNET` is never used [INFO] [stdout] --> src/net.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const NET_DEVICE_TYPE_ETHERNET: u16 = 0x0002; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NET_DEVICE_TYPE_LOOPBACK` is never used [INFO] [stdout] --> src/net.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const NET_DEVICE_TYPE_LOOPBACK: u16 = 0x0001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NET_DEVICE_FLAG_LOOPBACK` is never used [INFO] [stdout] --> src/net.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const NET_DEVICE_FLAG_LOOPBACK: u16 = 0x0010; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NET_DEVICE_TYPE_ETHERNET` is never used [INFO] [stdout] --> src/net.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const NET_DEVICE_TYPE_ETHERNET: u16 = 0x0002; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NET_DEVICE_FLAG_BROADCAST` is never used [INFO] [stdout] --> src/net.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const NET_DEVICE_FLAG_BROADCAST: u16 = 0x0020; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NET_DEVICE_FLAG_LOOPBACK` is never used [INFO] [stdout] --> src/net.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const NET_DEVICE_FLAG_LOOPBACK: u16 = 0x0010; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NET_DEVICE_FLAG_P2P` is never used [INFO] [stdout] --> src/net.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const NET_DEVICE_FLAG_P2P: u16 = 0x0040; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NET_DEVICE_FLAG_BROADCAST` is never used [INFO] [stdout] --> src/net.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const NET_DEVICE_FLAG_BROADCAST: u16 = 0x0020; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NET_DEVICE_FLAG_P2P` is never used [INFO] [stdout] --> src/net.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const NET_DEVICE_FLAG_P2P: u16 = 0x0040; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NET_DEVICE_FLAG_NEED_ARP` is never used [INFO] [stdout] --> src/net.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const NET_DEVICE_FLAG_NEED_ARP: u16 = 0x0100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NET_DEVICE_FLAG_NEED_ARP` is never used [INFO] [stdout] --> src/net.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const NET_DEVICE_FLAG_NEED_ARP: u16 = 0x0100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NET_DEVCIE_ADDR_LEN` is never used [INFO] [stdout] --> src/net.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const NET_DEVCIE_ADDR_LEN: u16 = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NET_DEVCIE_ADDR_LEN` is never used [INFO] [stdout] --> src/net.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const NET_DEVCIE_ADDR_LEN: u16 = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hlen` and `alen` are never read [INFO] [stdout] --> src/net.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct NetDevice { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | hlen: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | alen: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hlen` and `alen` are never read [INFO] [stdout] --> src/net.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct NetDevice { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | hlen: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | alen: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `input` is never used [INFO] [stdout] --> src/net.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl NetDevice { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | fn input(&self, dev_type: u16, data: u8, len: u16) -> i8 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `input` is never used [INFO] [stdout] --> src/net.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl NetDevice { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | fn input(&self, dev_type: u16, data: u8, len: u16) -> i8 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.58s [INFO] running `Command { std: "docker" "inspect" "a9045b387343349c9c26fac656b809e26b58cbe39ee2a92c81013d6da57da6c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9045b387343349c9c26fac656b809e26b58cbe39ee2a92c81013d6da57da6c6", kill_on_drop: false }` [INFO] [stdout] a9045b387343349c9c26fac656b809e26b58cbe39ee2a92c81013d6da57da6c6 [INFO] checking awkrail/tnets against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawkrail%2Ftnets" "/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/awkrail/tnets on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/awkrail/tnets [INFO] finished tweaking git repo https://github.com/awkrail/tnets [INFO] tweaked toml for git repo https://github.com/awkrail/tnets written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/awkrail/tnets already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67b44ccb862ea826b959362a1f53f139b2fa4a1a2fffc27dcae6c4b014c3998c [INFO] running `Command { std: "docker" "start" "-a" "67b44ccb862ea826b959362a1f53f139b2fa4a1a2fffc27dcae6c4b014c3998c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67b44ccb862ea826b959362a1f53f139b2fa4a1a2fffc27dcae6c4b014c3998c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67b44ccb862ea826b959362a1f53f139b2fa4a1a2fffc27dcae6c4b014c3998c", kill_on_drop: false }` [INFO] [stdout] 67b44ccb862ea826b959362a1f53f139b2fa4a1a2fffc27dcae6c4b014c3998c [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" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f17dc3e617073a53a48e8b7658476498385f5b9150a45879b66802bfaf55d34e [INFO] running `Command { std: "docker" "start" "-a" "f17dc3e617073a53a48e8b7658476498385f5b9150a45879b66802bfaf55d34e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking regex-syntax v0.7.1 [INFO] [stderr] Checking iana-time-zone v0.1.56 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking aho-corasick v1.0.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.45 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 825 | impl_integer_for_isize!(i8, test_integer_i8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 826 | impl_integer_for_isize!(i16, test_integer_i16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 827 | impl_integer_for_isize!(i32, test_integer_i32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 828 | impl_integer_for_isize!(i64, test_integer_i64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 829 | impl_integer_for_isize!(isize, test_integer_isize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 831 | impl_integer_for_isize!(i128, test_integer_i128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-integer` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f17dc3e617073a53a48e8b7658476498385f5b9150a45879b66802bfaf55d34e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f17dc3e617073a53a48e8b7658476498385f5b9150a45879b66802bfaf55d34e", kill_on_drop: false }` [INFO] [stdout] f17dc3e617073a53a48e8b7658476498385f5b9150a45879b66802bfaf55d34e