[INFO] cloning repository https://github.com/takeshiD/microtcp
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/takeshiD/microtcp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtakeshiD%2Fmicrotcp", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtakeshiD%2Fmicrotcp'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1f4018a1497c728b4729683db494e6724d09257d
[INFO] testing takeshiD/microtcp against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtakeshiD%2Fmicrotcp" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/takeshiD/microtcp
[INFO] finished tweaking git repo https://github.com/takeshiD/microtcp
[INFO] tweaked toml for git repo https://github.com/takeshiD/microtcp written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/takeshiD/microtcp on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/takeshiD/microtcp 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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fe2f7a629285efaba733a0f9981153de4008e3c88186d97e954e370d981066eb
[INFO] running `Command { std: "docker" "start" "-a" "fe2f7a629285efaba733a0f9981153de4008e3c88186d97e954e370d981066eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fe2f7a629285efaba733a0f9981153de4008e3c88186d97e954e370d981066eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe2f7a629285efaba733a0f9981153de4008e3c88186d97e954e370d981066eb", kill_on_drop: false }`
[INFO] [stdout] fe2f7a629285efaba733a0f9981153de4008e3c88186d97e954e370d981066eb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 00eadb49e1b23bee614b49a7f911b3d867dad5ffc14c9221e723fb1ab682299b
[INFO] running `Command { std: "docker" "start" "-a" "00eadb49e1b23bee614b49a7f911b3d867dad5ffc14c9221e723fb1ab682299b", kill_on_drop: false }`
[INFO] [stderr]    Compiling microtcp v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `NetDeviceFlag` and `NetDevice`
[INFO] [stdout]  --> src/main.rs:2:33
[INFO] [stdout]   |
[INFO] [stdout] 2 | use device::{LoopbackNetDevice, NetDevice, NetDeviceArray, NetDeviceFlag, NetDeviceType};
[INFO] [stdout]   |                                 ^^^^^^^^^                  ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/main.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | /     loop {
[INFO] [stdout] 28 | |         devices.output(i, NetDeviceType::Dummy, &dummy_data, &[])?;
[INFO] [stdout] 29 | |         thread::sleep(Duration::from_millis(500));
[INFO] [stdout] 30 | |         // i += 1;
[INFO] [stdout] 31 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 32 |       devices.shutdown()?;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]    --> src/device.rs:158:25
[INFO] [stdout]     |
[INFO] [stdout] 158 |     pub fn input(&self, ty: NetDeviceType, data: &[u8]) -> Result<u32, String> {
[INFO] [stdout]     |                         ^^ help: if this is intentional, prefix it with an underscore: `_ty`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]    --> src/device.rs:236:22
[INFO] [stdout]     |
[INFO] [stdout] 236 |     fn output(&self, ty: NetDeviceType, data: &[u8], dst: &[u8]) -> Result<(), String> {
[INFO] [stdout]     |                      ^^ help: if this is intentional, prefix it with an underscore: `_ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dst`
[INFO] [stdout]    --> src/device.rs:236:54
[INFO] [stdout]     |
[INFO] [stdout] 236 |     fn output(&self, ty: NetDeviceType, data: &[u8], dst: &[u8]) -> Result<(), String> {
[INFO] [stdout]     |                                                      ^^^ help: if this is intentional, prefix it with an underscore: `_dst`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]    --> src/device.rs:296:22
[INFO] [stdout]     |
[INFO] [stdout] 296 |     fn output(&self, ty: NetDeviceType, data: &[u8], dst: &[u8]) -> Result<(), String> {
[INFO] [stdout]     |                      ^^ help: if this is intentional, prefix it with an underscore: `_ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dst`
[INFO] [stdout]    --> src/device.rs:296:54
[INFO] [stdout]     |
[INFO] [stdout] 296 |     fn output(&self, ty: NetDeviceType, data: &[u8], dst: &[u8]) -> Result<(), String> {
[INFO] [stdout]     |                                                      ^^^ help: if this is intentional, prefix it with an underscore: `_dst`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `loopback_init` is never used
[INFO] [stdout]  --> src/main.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn loopback_init() -> NetDeviceArray<LoopbackNetDevice> {
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Ethernet` is never constructed
[INFO] [stdout]   --> src/device.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub enum NetDeviceType {
[INFO] [stdout]    |          ------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 10 |     Ethernet = 0x0002,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NetDeviceType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Broadcast`, `P2P`, and `NeedArp` are never constructed
[INFO] [stdout]   --> src/device.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub enum NetDeviceFlag {
[INFO] [stdout]    |          ------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 19 |     Broadcast = 0x0020,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 20 |     P2P       = 0x0040,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 21 |     NeedArp   = 0x0100,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NetDeviceFlag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NetDevice` is never constructed
[INFO] [stdout]   --> src/device.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct NetDevice {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `input` are never used
[INFO] [stdout]    --> src/device.rs:134:12
[INFO] [stdout]     |
[INFO] [stdout] 133 | impl NetDevice {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 134 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub fn input(&self, ty: NetDeviceType, data: &[u8]) -> Result<u32, String> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.46s
[INFO] running `Command { std: "docker" "inspect" "00eadb49e1b23bee614b49a7f911b3d867dad5ffc14c9221e723fb1ab682299b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "00eadb49e1b23bee614b49a7f911b3d867dad5ffc14c9221e723fb1ab682299b", kill_on_drop: false }`
[INFO] [stdout] 00eadb49e1b23bee614b49a7f911b3d867dad5ffc14c9221e723fb1ab682299b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c9e57192e4591662e1433a4686cf03a372a8192a006b85ebddf9aeeddaabade9
[INFO] running `Command { std: "docker" "start" "-a" "c9e57192e4591662e1433a4686cf03a372a8192a006b85ebddf9aeeddaabade9", kill_on_drop: false }`
[INFO] [stderr]    Compiling microtcp v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `NetDeviceFlag` and `NetDevice`
[INFO] [stdout]  --> src/main.rs:2:33
[INFO] [stdout]   |
[INFO] [stdout] 2 | use device::{LoopbackNetDevice, NetDevice, NetDeviceArray, NetDeviceFlag, NetDeviceType};
[INFO] [stdout]   |                                 ^^^^^^^^^                  ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/main.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | /     loop {
[INFO] [stdout] 28 | |         devices.output(i, NetDeviceType::Dummy, &dummy_data, &[])?;
[INFO] [stdout] 29 | |         thread::sleep(Duration::from_millis(500));
[INFO] [stdout] 30 | |         // i += 1;
[INFO] [stdout] 31 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 32 |       devices.shutdown()?;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]    --> src/device.rs:158:25
[INFO] [stdout]     |
[INFO] [stdout] 158 |     pub fn input(&self, ty: NetDeviceType, data: &[u8]) -> Result<u32, String> {
[INFO] [stdout]     |                         ^^ help: if this is intentional, prefix it with an underscore: `_ty`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]    --> src/device.rs:236:22
[INFO] [stdout]     |
[INFO] [stdout] 236 |     fn output(&self, ty: NetDeviceType, data: &[u8], dst: &[u8]) -> Result<(), String> {
[INFO] [stdout]     |                      ^^ help: if this is intentional, prefix it with an underscore: `_ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dst`
[INFO] [stdout]    --> src/device.rs:236:54
[INFO] [stdout]     |
[INFO] [stdout] 236 |     fn output(&self, ty: NetDeviceType, data: &[u8], dst: &[u8]) -> Result<(), String> {
[INFO] [stdout]     |                                                      ^^^ help: if this is intentional, prefix it with an underscore: `_dst`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]    --> src/device.rs:296:22
[INFO] [stdout]     |
[INFO] [stdout] 296 |     fn output(&self, ty: NetDeviceType, data: &[u8], dst: &[u8]) -> Result<(), String> {
[INFO] [stdout]     |                      ^^ help: if this is intentional, prefix it with an underscore: `_ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dst`
[INFO] [stdout]    --> src/device.rs:296:54
[INFO] [stdout]     |
[INFO] [stdout] 296 |     fn output(&self, ty: NetDeviceType, data: &[u8], dst: &[u8]) -> Result<(), String> {
[INFO] [stdout]     |                                                      ^^^ help: if this is intentional, prefix it with an underscore: `_dst`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `loopback_init` is never used
[INFO] [stdout]  --> src/main.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn loopback_init() -> NetDeviceArray<LoopbackNetDevice> {
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Ethernet` is never constructed
[INFO] [stdout]   --> src/device.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub enum NetDeviceType {
[INFO] [stdout]    |          ------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 10 |     Ethernet = 0x0002,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NetDeviceType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Broadcast`, `P2P`, and `NeedArp` are never constructed
[INFO] [stdout]   --> src/device.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub enum NetDeviceFlag {
[INFO] [stdout]    |          ------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 19 |     Broadcast = 0x0020,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 20 |     P2P       = 0x0040,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 21 |     NeedArp   = 0x0100,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NetDeviceFlag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NetDevice` is never constructed
[INFO] [stdout]   --> src/device.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct NetDevice {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `input` are never used
[INFO] [stdout]    --> src/device.rs:134:12
[INFO] [stdout]     |
[INFO] [stdout] 133 | impl NetDevice {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 134 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub fn input(&self, ty: NetDeviceType, data: &[u8]) -> Result<u32, String> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s
[INFO] running `Command { std: "docker" "inspect" "c9e57192e4591662e1433a4686cf03a372a8192a006b85ebddf9aeeddaabade9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9e57192e4591662e1433a4686cf03a372a8192a006b85ebddf9aeeddaabade9", kill_on_drop: false }`
[INFO] [stdout] c9e57192e4591662e1433a4686cf03a372a8192a006b85ebddf9aeeddaabade9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8067d8f2c40df725381c3b6cc53b1c21f1fcdaf51191674e195b90673a751235
[INFO] running `Command { std: "docker" "start" "-a" "8067d8f2c40df725381c3b6cc53b1c21f1fcdaf51191674e195b90673a751235", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `NetDeviceFlag` and `NetDevice`
[INFO] [stderr]  --> src/main.rs:2:33
[INFO] [stderr]   |
[INFO] [stderr] 2 | use device::{LoopbackNetDevice, NetDevice, NetDeviceArray, NetDeviceFlag, NetDeviceType};
[INFO] [stderr]   |                                 ^^^^^^^^^                  ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable statement
[INFO] [stderr]   --> src/main.rs:32:5
[INFO] [stderr]    |
[INFO] [stderr] 27 | /     loop {
[INFO] [stderr] 28 | |         devices.output(i, NetDeviceType::Dummy, &dummy_data, &[])?;
[INFO] [stderr] 29 | |         thread::sleep(Duration::from_millis(500));
[INFO] [stderr] 30 | |         // i += 1;
[INFO] [stderr] 31 | |     }
[INFO] [stderr]    | |_____- any code following this expression is unreachable
[INFO] [stderr] 32 |       devices.shutdown()?;
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ty`
[INFO] [stderr]    --> src/device.rs:158:25
[INFO] [stderr]     |
[INFO] [stderr] 158 |     pub fn input(&self, ty: NetDeviceType, data: &[u8]) -> Result<u32, String> {
[INFO] [stderr]     |                         ^^ help: if this is intentional, prefix it with an underscore: `_ty`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ty`
[INFO] [stderr]    --> src/device.rs:236:22
[INFO] [stderr]     |
[INFO] [stderr] 236 |     fn output(&self, ty: NetDeviceType, data: &[u8], dst: &[u8]) -> Result<(), String> {
[INFO] [stderr]     |                      ^^ help: if this is intentional, prefix it with an underscore: `_ty`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `dst`
[INFO] [stderr]    --> src/device.rs:236:54
[INFO] [stderr]     |
[INFO] [stderr] 236 |     fn output(&self, ty: NetDeviceType, data: &[u8], dst: &[u8]) -> Result<(), String> {
[INFO] [stderr]     |                                                      ^^^ help: if this is intentional, prefix it with an underscore: `_dst`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ty`
[INFO] [stderr]    --> src/device.rs:296:22
[INFO] [stderr]     |
[INFO] [stderr] 296 |     fn output(&self, ty: NetDeviceType, data: &[u8], dst: &[u8]) -> Result<(), String> {
[INFO] [stderr]     |                      ^^ help: if this is intentional, prefix it with an underscore: `_ty`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `dst`
[INFO] [stderr]    --> src/device.rs:296:54
[INFO] [stderr]     |
[INFO] [stderr] 296 |     fn output(&self, ty: NetDeviceType, data: &[u8], dst: &[u8]) -> Result<(), String> {
[INFO] [stderr]     |                                                      ^^^ help: if this is intentional, prefix it with an underscore: `_dst`
[INFO] [stderr] 
[INFO] [stderr] warning: function `loopback_init` is never used
[INFO] [stderr]  --> src/main.rs:6:4
[INFO] [stderr]   |
[INFO] [stderr] 6 | fn loopback_init() -> NetDeviceArray<LoopbackNetDevice> {
[INFO] [stderr]   |    ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Ethernet` is never constructed
[INFO] [stderr]   --> src/device.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr]  7 | pub enum NetDeviceType {
[INFO] [stderr]    |          ------------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 10 |     Ethernet = 0x0002,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `NetDeviceType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Broadcast`, `P2P`, and `NeedArp` are never constructed
[INFO] [stderr]   --> src/device.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub enum NetDeviceFlag {
[INFO] [stderr]    |          ------------- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 19 |     Broadcast = 0x0020,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 20 |     P2P       = 0x0040,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 21 |     NeedArp   = 0x0100,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `NetDeviceFlag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: struct `NetDevice` is never constructed
[INFO] [stderr]   --> src/device.rs:32:12
[INFO] [stderr]    |
[INFO] [stderr] 32 | pub struct NetDevice {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new` and `input` are never used
[INFO] [stderr]    --> src/device.rs:134:12
[INFO] [stderr]     |
[INFO] [stderr] 133 | impl NetDevice {
[INFO] [stderr]     | -------------- associated items in this implementation
[INFO] [stderr] 134 |     pub fn new(
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 158 |     pub fn input(&self, ty: NetDeviceType, data: &[u8]) -> Result<u32, String> {
[INFO] [stderr]     |            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `microtcp` (bin "microtcp" test) generated 12 warnings (run `cargo fix --bin "microtcp" -p microtcp --tests` to apply 6 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/microtcp-6b895ece39558b2b)
[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; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "8067d8f2c40df725381c3b6cc53b1c21f1fcdaf51191674e195b90673a751235", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8067d8f2c40df725381c3b6cc53b1c21f1fcdaf51191674e195b90673a751235", kill_on_drop: false }`
[INFO] [stdout] 8067d8f2c40df725381c3b6cc53b1c21f1fcdaf51191674e195b90673a751235
