[INFO] cloning repository https://github.com/rickmugridge/digital-circuit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rickmugridge/digital-circuit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickmugridge%2Fdigital-circuit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickmugridge%2Fdigital-circuit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c82a422261090d725400adfa375435a9e76941b [INFO] checking rickmugridge/digital-circuit against master#d14d202262d13df896b0c624b0cec6e4bfde631a for pr-143028 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickmugridge%2Fdigital-circuit" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rickmugridge/digital-circuit [INFO] finished tweaking git repo https://github.com/rickmugridge/digital-circuit [INFO] tweaked toml for git repo https://github.com/rickmugridge/digital-circuit written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rickmugridge/digital-circuit on toolchain d14d202262d13df896b0c624b0cec6e4bfde631a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rickmugridge/digital-circuit 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" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c6601c1087c1fdf57f73e303a3cc6033028a39d5bb507388572e1ee0f741ef5 [INFO] running `Command { std: "docker" "start" "-a" "5c6601c1087c1fdf57f73e303a3cc6033028a39d5bb507388572e1ee0f741ef5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c6601c1087c1fdf57f73e303a3cc6033028a39d5bb507388572e1ee0f741ef5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c6601c1087c1fdf57f73e303a3cc6033028a39d5bb507388572e1ee0f741ef5", kill_on_drop: false }` [INFO] [stdout] 5c6601c1087c1fdf57f73e303a3cc6033028a39d5bb507388572e1ee0f741ef5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac642b1b28986fa259b030f6e47585bf22c3c08e635cb89a3bf8c809a8eb08a6 [INFO] running `Command { std: "docker" "start" "-a" "ac642b1b28986fa259b030f6e47585bf22c3c08e635cb89a3bf8c809a8eb08a6", kill_on_drop: false }` [INFO] [stderr] Checking digital_circuit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Wire` is never constructed [INFO] [stdout] --> src/wire.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Wire { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `updated` are never used [INFO] [stdout] --> src/wire.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Wire { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(name: String) -> Self { Self { name, value: false } } [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | pub fn updated(&mut self, value: bool) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WireId` is never constructed [INFO] [stdout] --> src/wire.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct WireId(pub usize); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/wire.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl WireId { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 22 | pub fn new(id: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventualWireUpdate` is never constructed [INFO] [stdout] --> src/wire.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct EventualWireUpdate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/wire.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl EventualWireUpdate { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 34 | pub fn new(wire: WireId, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WireUpdate` is never constructed [INFO] [stdout] --> src/wire.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct WireUpdate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/wire.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl WireUpdate { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 49 | pub fn new(wire: WireId, time: usize, new_value: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Network` is never constructed [INFO] [stdout] --> src/network.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Network { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/network.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Network { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn add_wire(&mut self, name: String) -> WireId { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn add_device(&mut self, mut device: Box) -> DeviceId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn auto_update_wire(&mut self, wire_update: WireUpdate) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn update_wire_immediately(&mut self, wire_id: WireId, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_wire(&self, speaker: WireId) -> &Wire { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Device` is never used [INFO] [stdout] --> src/device.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Device { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeviceId` is never constructed [INFO] [stdout] --> src/device.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct DeviceId(pub usize); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `default` are never used [INFO] [stdout] --> src/device.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl DeviceId { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 15 | pub fn new(i: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AndDevice` is never constructed [INFO] [stdout] --> src/and_device.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AndDevice { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `compute` are never used [INFO] [stdout] --> src/and_device.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl AndDevice { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(wire_in1: WireId, wire_in2: WireId, wire_out: WireId) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn compute(&self, network: &Network) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrDevice` is never constructed [INFO] [stdout] --> src/or_device.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct OrDevice { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `compute` are never used [INFO] [stdout] --> src/or_device.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl OrDevice { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(wire_in1: WireId, wire_in2: WireId, wire_out: WireId) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn compute(&self, network: &Network) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Probe` is never constructed [INFO] [stdout] --> src/probe.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Probe { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/probe.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Probe { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(in_wire: WireId) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Agenda` is never constructed [INFO] [stdout] --> src/agenda.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Agenda { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, and `pop` are never used [INFO] [stdout] --> src/agenda.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Agenda { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 9 | pub fn new() -> Self { Self { current_time: 0, items: vec![] } } [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | pub fn add(&mut self, update: EventualWireUpdate) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "ac642b1b28986fa259b030f6e47585bf22c3c08e635cb89a3bf8c809a8eb08a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac642b1b28986fa259b030f6e47585bf22c3c08e635cb89a3bf8c809a8eb08a6", kill_on_drop: false }` [INFO] [stdout] ac642b1b28986fa259b030f6e47585bf22c3c08e635cb89a3bf8c809a8eb08a6