[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#e9182f195b8505c87c4bd055b9f6e114ccda0981 for pr-144098 [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 e9182f195b8505c87c4bd055b9f6e114ccda0981 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "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" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "fetch" "--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-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5cf66adbc4b547319619164aff2deabdc334b6118ddd1f4e8e68bd2ac982843 [INFO] running `Command { std: "docker" "start" "-a" "c5cf66adbc4b547319619164aff2deabdc334b6118ddd1f4e8e68bd2ac982843", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5cf66adbc4b547319619164aff2deabdc334b6118ddd1f4e8e68bd2ac982843", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5cf66adbc4b547319619164aff2deabdc334b6118ddd1f4e8e68bd2ac982843", kill_on_drop: false }` [INFO] [stdout] c5cf66adbc4b547319619164aff2deabdc334b6118ddd1f4e8e68bd2ac982843 [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f22c8664d931a278f779a708e3493172671dcbf9ac6111f3aae402478acdbca [INFO] running `Command { std: "docker" "start" "-a" "4f22c8664d931a278f779a708e3493172671dcbf9ac6111f3aae402478acdbca", 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.13s [INFO] running `Command { std: "docker" "inspect" "4f22c8664d931a278f779a708e3493172671dcbf9ac6111f3aae402478acdbca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f22c8664d931a278f779a708e3493172671dcbf9ac6111f3aae402478acdbca", kill_on_drop: false }` [INFO] [stdout] 4f22c8664d931a278f779a708e3493172671dcbf9ac6111f3aae402478acdbca