[INFO] cloning repository https://github.com/jacobsee/nand-logic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jacobsee/nand-logic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobsee%2Fnand-logic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobsee%2Fnand-logic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1370d4f860e6505f8a4a1bda4596e00a14628664 [INFO] checking jacobsee/nand-logic against master#e3e432d4d65a55e6db167598e96db2bcb163e316 for pr-140313 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobsee%2Fnand-logic" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jacobsee/nand-logic on toolchain e3e432d4d65a55e6db167598e96db2bcb163e316 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e3e432d4d65a55e6db167598e96db2bcb163e316" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jacobsee/nand-logic [INFO] finished tweaking git repo https://github.com/jacobsee/nand-logic [INFO] tweaked toml for git repo https://github.com/jacobsee/nand-logic written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jacobsee/nand-logic 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" "+e3e432d4d65a55e6db167598e96db2bcb163e316" "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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+e3e432d4d65a55e6db167598e96db2bcb163e316" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d82a715053a5f30a0b8984252bc561cf13e4200eda959843f61f8a171c7ce59f [INFO] running `Command { std: "docker" "start" "-a" "d82a715053a5f30a0b8984252bc561cf13e4200eda959843f61f8a171c7ce59f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d82a715053a5f30a0b8984252bc561cf13e4200eda959843f61f8a171c7ce59f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d82a715053a5f30a0b8984252bc561cf13e4200eda959843f61f8a171c7ce59f", kill_on_drop: false }` [INFO] [stdout] d82a715053a5f30a0b8984252bc561cf13e4200eda959843f61f8a171c7ce59f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+e3e432d4d65a55e6db167598e96db2bcb163e316" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d788b064bf1e2ff2b6743f02c2c0cbf72c93491f3b67d663bebad794bdf7225b [INFO] running `Command { std: "docker" "start" "-a" "d788b064bf1e2ff2b6743f02c2c0cbf72c93491f3b67d663bebad794bdf7225b", kill_on_drop: false }` [INFO] [stderr] Checking nand-logic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/components/gates/and.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/components/gates/or.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/components/gates/xor.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/components/gates/nor.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::gates::NOTGate` [INFO] [stdout] --> src/components/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::gates::NOTGate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::gates::ANDGate` [INFO] [stdout] --> src/components/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use self::gates::ANDGate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::gates::XORGate` [INFO] [stdout] --> src/components/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use self::gates::XORGate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::gates::NORGate` [INFO] [stdout] --> src/components/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::gates::NORGate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NANDGate` and `wiring` [INFO] [stdout] --> src/main.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::components::{wiring, NANDGate}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input1`, `input2`, and `output` are never read [INFO] [stdout] --> src/components/gates/nand.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct NANDGate { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | pub input1: wiring::Wire, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | pub input2: wiring::Wire, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | pub output: wiring::Wire, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `settle` is never used [INFO] [stdout] --> src/components/gates/nand.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl NANDGate { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 21 | pub fn settle(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input`, `output`, and `nand` are never read [INFO] [stdout] --> src/components/gates/not.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct NOTGate { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | pub input: wiring::Wire, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | pub output: wiring::Wire, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | nand: NANDGate, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `settle` is never used [INFO] [stdout] --> src/components/gates/not.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl NOTGate { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 21 | pub fn settle(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input1`, `input2`, `output`, `nand1`, and `nand2` are never read [INFO] [stdout] --> src/components/gates/and.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ANDGate { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | pub input1: wiring::Wire, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | pub input2: wiring::Wire, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | pub output: wiring::Wire, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | nand1: NANDGate, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | nand2: NANDGate, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `settle` is never used [INFO] [stdout] --> src/components/gates/and.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl ANDGate { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 25 | pub fn settle(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input1`, `input2`, `output`, `nand1_layer1`, `nand2_layer1`, and `nand1_layer2` are never read [INFO] [stdout] --> src/components/gates/or.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ORGate { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | pub input1: wiring::Wire, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | pub input2: wiring::Wire, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | pub output: wiring::Wire, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | nand1_layer1: NANDGate, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | nand2_layer1: NANDGate, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | nand1_layer2: NANDGate, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `settle` is never used [INFO] [stdout] --> src/components/gates/or.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl ORGate { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 27 | pub fn settle(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/components/gates/xor.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct XORGate { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | pub input1: wiring::Wire, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | pub input2: wiring::Wire, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | pub output: wiring::Wire, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | nand1_layer1: NANDGate, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | nand1_layer2: NANDGate, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | nand2_layer2: NANDGate, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | nand1_layer3: NANDGate, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `settle` is never used [INFO] [stdout] --> src/components/gates/xor.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl XORGate { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 29 | pub fn settle(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input1`, `input2`, `output`, `or`, and `nand` are never read [INFO] [stdout] --> src/components/gates/nor.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct NORGate { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 4 | pub input1: wiring::Wire, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | pub input2: wiring::Wire, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | pub output: wiring::Wire, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | or: ORGate, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | nand: NANDGate, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `settle` is never used [INFO] [stdout] --> src/components/gates/nor.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl NORGate { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 24 | pub fn settle(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_high` is never used [INFO] [stdout] --> src/components/wire.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn is_high(wire: Wire) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_low` is never used [INFO] [stdout] --> src/components/wire.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn is_low(wire: Wire) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_high` is never used [INFO] [stdout] --> src/components/wire.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn set_high(wire: &mut Wire) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_low` is never used [INFO] [stdout] --> src/components/wire.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn set_low(wire: &mut Wire) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_high` is never used [INFO] [stdout] --> src/components/wire.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new_high() -> Wire { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect` is never used [INFO] [stdout] --> src/components/wire.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn connect(left: &mut Wire, right: Wire) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::gates::NOTGate` [INFO] [stdout] --> src/components/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::gates::NOTGate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::gates::ANDGate` [INFO] [stdout] --> src/components/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use self::gates::ANDGate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::gates::XORGate` [INFO] [stdout] --> src/components/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use self::gates::XORGate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::gates::NORGate` [INFO] [stdout] --> src/components/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::gates::NORGate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NANDGate` and `wiring` [INFO] [stdout] --> src/main.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::components::{wiring, NANDGate}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_low` is never used [INFO] [stdout] --> src/components/wire.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn is_low(wire: Wire) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_high` is never used [INFO] [stdout] --> src/components/wire.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new_high() -> Wire { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "d788b064bf1e2ff2b6743f02c2c0cbf72c93491f3b67d663bebad794bdf7225b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d788b064bf1e2ff2b6743f02c2c0cbf72c93491f3b67d663bebad794bdf7225b", kill_on_drop: false }` [INFO] [stdout] d788b064bf1e2ff2b6743f02c2c0cbf72c93491f3b67d663bebad794bdf7225b