[INFO] cloning repository https://github.com/cherrypiejam/ece539b-proj [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cherrypiejam/ece539b-proj" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcherrypiejam%2Fece539b-proj", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcherrypiejam%2Fece539b-proj'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee3013cb2465d5e95ae42d941cfd2aa3318c31ec [INFO] building cherrypiejam/ece539b-proj against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcherrypiejam%2Fece539b-proj" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cherrypiejam/ece539b-proj [INFO] finished tweaking git repo https://github.com/cherrypiejam/ece539b-proj [INFO] tweaked toml for git repo https://github.com/cherrypiejam/ece539b-proj written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cherrypiejam/ece539b-proj on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cherrypiejam/ece539b-proj 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-macro v0.3.29 [INFO] [stderr] Downloaded proc-macro2 v1.0.70 [INFO] [stderr] Downloaded dns-lookup v2.0.4 [INFO] [stderr] Downloaded serde v1.0.193 [INFO] [stderr] Downloaded clap v4.4.8 [INFO] [stderr] Downloaded openssl-sys v0.9.96 [INFO] [stderr] Downloaded getrandom v0.2.11 [INFO] [stderr] Downloaded serde_derive v1.0.193 [INFO] [stderr] Downloaded serde_json v1.0.108 [INFO] [stderr] Downloaded clap_builder v4.4.8 [INFO] [stderr] Downloaded rustix v0.38.25 [INFO] [stderr] Downloaded syn v2.0.39 [INFO] [stderr] Downloaded openssl v0.10.60 [INFO] [stderr] Downloaded libc v0.2.150 [INFO] [stderr] Downloaded web-sys v0.3.65 [INFO] [stderr] Downloaded tokio v1.34.0 [INFO] [stderr] Downloaded linux-raw-sys v0.4.11 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0269b62570d829de502402ef7cbe923997c4807a2eed61ab0f6d2798e634c14b [INFO] running `Command { std: "docker" "start" "-a" "0269b62570d829de502402ef7cbe923997c4807a2eed61ab0f6d2798e634c14b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0269b62570d829de502402ef7cbe923997c4807a2eed61ab0f6d2798e634c14b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0269b62570d829de502402ef7cbe923997c4807a2eed61ab0f6d2798e634c14b", kill_on_drop: false }` [INFO] [stdout] 0269b62570d829de502402ef7cbe923997c4807a2eed61ab0f6d2798e634c14b [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16db6ddbd99a8299b1e22dc3ba88ad02423afe2a8576c740c8c98b442eb497eb [INFO] running `Command { std: "docker" "start" "-a" "16db6ddbd99a8299b1e22dc3ba88ad02423afe2a8576c740c8c98b442eb497eb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling openssl v0.10.60 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling clap_builder v4.4.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling dns-lookup v2.0.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.96 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap v4.4.8 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling net-timing-channel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `IpAddr` and `Ipv4Addr` [INFO] [stdout] --> src/main.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{IpAddr, Ipv4Addr}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> src/main.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EchoReply` [INFO] [stdout] --> src/ping.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::icmp::{Echo, EchoReply, ICMP}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/icmp.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | fn read(buf: &mut [u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read` is never used [INFO] [stdout] --> src/icmp.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait ICMP<'a> { [INFO] [stdout] | ---- associated function in this trait [INFO] [stdout] 12 | const CNTL_MSG: ControlMsg; [INFO] [stdout] 13 | fn read(buf: &'a mut [u8]) -> Result where Self: Sized; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EchoReply` is never constructed [INFO] [stdout] --> src/icmp.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct EchoReply<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/icmp.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl<'a> EchoReply<'a> { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 63 | pub fn new(id: u16, seq: u16, data: &'a [u8]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ping_raw` is never used [INFO] [stdout] --> src/ping.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn ping_raw(addr: Ipv4Addr, timeout: Option) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ping` is never constructed [INFO] [stdout] --> src/channel.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum BurstControl { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 15 | Ping { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BurstControl` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.82s [INFO] running `Command { std: "docker" "inspect" "16db6ddbd99a8299b1e22dc3ba88ad02423afe2a8576c740c8c98b442eb497eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16db6ddbd99a8299b1e22dc3ba88ad02423afe2a8576c740c8c98b442eb497eb", kill_on_drop: false }` [INFO] [stdout] 16db6ddbd99a8299b1e22dc3ba88ad02423afe2a8576c740c8c98b442eb497eb [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a40df1c1e83cd02a6cd3fe8985f78240936bf6928653719982bdd90530d33647 [INFO] running `Command { std: "docker" "start" "-a" "a40df1c1e83cd02a6cd3fe8985f78240936bf6928653719982bdd90530d33647", kill_on_drop: false }` [INFO] [stderr] Compiling net-timing-channel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `IpAddr` and `Ipv4Addr` [INFO] [stdout] --> src/main.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{IpAddr, Ipv4Addr}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> src/main.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EchoReply` [INFO] [stdout] --> src/ping.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::icmp::{Echo, EchoReply, ICMP}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/icmp.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | fn read(buf: &mut [u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read` is never used [INFO] [stdout] --> src/icmp.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait ICMP<'a> { [INFO] [stdout] | ---- associated function in this trait [INFO] [stdout] 12 | const CNTL_MSG: ControlMsg; [INFO] [stdout] 13 | fn read(buf: &'a mut [u8]) -> Result where Self: Sized; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EchoReply` is never constructed [INFO] [stdout] --> src/icmp.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct EchoReply<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/icmp.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl<'a> EchoReply<'a> { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 63 | pub fn new(id: u16, seq: u16, data: &'a [u8]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ping_raw` is never used [INFO] [stdout] --> src/ping.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn ping_raw(addr: Ipv4Addr, timeout: Option) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ping` is never constructed [INFO] [stdout] --> src/channel.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum BurstControl { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 15 | Ping { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BurstControl` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.99s [INFO] running `Command { std: "docker" "inspect" "a40df1c1e83cd02a6cd3fe8985f78240936bf6928653719982bdd90530d33647", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a40df1c1e83cd02a6cd3fe8985f78240936bf6928653719982bdd90530d33647", kill_on_drop: false }` [INFO] [stdout] a40df1c1e83cd02a6cd3fe8985f78240936bf6928653719982bdd90530d33647