[INFO] cloning repository https://github.com/Hwatwasthat/rust_computer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hwatwasthat/rust_computer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHwatwasthat%2Frust_computer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHwatwasthat%2Frust_computer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4cd1be15dbc416847d475cf61503ceded3424e19 [INFO] checking Hwatwasthat/rust_computer against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHwatwasthat%2Frust_computer" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Hwatwasthat/rust_computer on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Hwatwasthat/rust_computer [INFO] finished tweaking git repo https://github.com/Hwatwasthat/rust_computer [INFO] tweaked toml for git repo https://github.com/Hwatwasthat/rust_computer written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Hwatwasthat/rust_computer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8d2993c27ecd018c2f2e025fcda0b21e9c95b9bb2561028106938d8d2b53b00 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d8d2993c27ecd018c2f2e025fcda0b21e9c95b9bb2561028106938d8d2b53b00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8d2993c27ecd018c2f2e025fcda0b21e9c95b9bb2561028106938d8d2b53b00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8d2993c27ecd018c2f2e025fcda0b21e9c95b9bb2561028106938d8d2b53b00", kill_on_drop: false }` [INFO] [stdout] d8d2993c27ecd018c2f2e025fcda0b21e9c95b9bb2561028106938d8d2b53b00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e118a96c01a52a11766f8f5cdb787c1a3e1df3eef5e09231ff765b8f9f4af4e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9e118a96c01a52a11766f8f5cdb787c1a3e1df3eef5e09231ff765b8f9f4af4e", kill_on_drop: false }` [INFO] [stderr] Checking basic_computer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/connections/bus.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/connections/bus.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `And3`, `And4` [INFO] [stdout] --> src/gates/decoder.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | and::{And, And3, And4}, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `And3`, `And4` [INFO] [stdout] --> src/gates/decoder.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | and::{And, And3, And4}, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_connections` [INFO] [stdout] --> src/connections/bus.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn from_connections(inputs: &[Wrapper]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set` [INFO] [stdout] --> src/connections/bus.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn set(&self, input: &[u8]) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Enabler` [INFO] [stdout] --> src/connections/enabler.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Enabler { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/connections/enabler.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(inputs: &[Wrapper], enable: &Wrapper) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/connections/enabler.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn update(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_outputs` [INFO] [stdout] --> src/connections/enabler.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn get_outputs(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `And3` [INFO] [stdout] --> src/gates/and.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct And3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gates/and.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(inputs: &[&Wrapper]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/gates/and.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn update(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_output` [INFO] [stdout] --> src/gates/and.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn get_output(&self) -> Wrapper { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `And4` [INFO] [stdout] --> src/gates/and.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct And4 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gates/and.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(inputs: &[&Wrapper; 4]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/gates/and.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn update(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_output` [INFO] [stdout] --> src/gates/and.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn get_output(&self) -> Wrapper { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Decoder3x8` [INFO] [stdout] --> src/gates/decoder.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Decoder3x8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gates/decoder.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(inputs: &[Wrapper]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/gates/decoder.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn update(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_outputs` [INFO] [stdout] --> src/gates/decoder.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn get_outputs(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Decoder4x16` [INFO] [stdout] --> src/gates/decoder.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Decoder4x16 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gates/decoder.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn new(inputs: &[Wrapper]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/gates/decoder.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn update(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_outputs` [INFO] [stdout] --> src/gates/decoder.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_outputs(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Decoder5x32` [INFO] [stdout] --> src/gates/decoder.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct Decoder5x32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gates/decoder.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn new(inputs: &[Wrapper]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/gates/decoder.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn update(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_outputs` [INFO] [stdout] --> src/gates/decoder.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn get_outputs(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_no_connect` [INFO] [stdout] --> src/gates/nand.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new_no_connect() -> Nand { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connect` [INFO] [stdout] --> src/gates/nand.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn connect(&mut self, wire_a: &Rc>, wire_b: &Rc>) -> &Nand { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Nor` [INFO] [stdout] --> src/gates/nor.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Nor { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gates/nor.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(input_a: &Wrapper, input_b: &Wrapper) -> Nor { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/gates/nor.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn update(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_output` [INFO] [stdout] --> src/gates/nor.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_output(&self) -> Wrapper { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Or` [INFO] [stdout] --> src/gates/or.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Or { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gates/or.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(input_a: &Wrapper, input_b: &Wrapper) -> Or { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/gates/or.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn update(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_output` [INFO] [stdout] --> src/gates/or.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_output(&self) -> Rc> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Xor` [INFO] [stdout] --> src/gates/xor.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Xor { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gates/xor.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(input_a: &Wrapper, input_b: &Wrapper) -> Xor { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/gates/xor.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn update(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_output` [INFO] [stdout] --> src/gates/xor.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_output(&self) -> Wrapper { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Byte` [INFO] [stdout] --> src/memory/byte.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Byte { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/memory/byte.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(inputs: &[Wrapper], set: &Wrapper) -> Byte { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/memory/byte.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn update(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_outputs` [INFO] [stdout] --> src/memory/byte.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_outputs(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Cell` [INFO] [stdout] --> src/memory/cell.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Cell { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/memory/cell.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(input: &Wrapper, set: &Wrapper) -> Cell { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/memory/cell.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn update(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_output` [INFO] [stdout] --> src/memory/cell.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_output(&self) -> Wrapper { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Register` [INFO] [stdout] --> src/memory/register.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Register { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/memory/register.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(inputs: &[Wrapper], set: &Wrapper, enable: &Wrapper) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/memory/register.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn update(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_outputs` [INFO] [stdout] --> src/memory/register.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_outputs(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 55 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gates/nor.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut wire_one = Wire::new_wrapped(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gates/nor.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut wire_two = Wire::new_wrapped(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gates/nor.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut wire_one = Wire::new_wrapped(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gates/nor.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut wire_two = Wire::new_wrapped(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gates/nor.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let mut wire_one = Wire::new_wrapped(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gates/nor.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut wire_two = Wire::new_wrapped(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gates/nor.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut wire_one = Wire::new_wrapped(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gates/nor.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut wire_two = Wire::new_wrapped(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gates/not.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut in_a = Rc::new(RefCell::new(Wire::new())); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gates/not.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let mut in_a = Rc::new(RefCell::new(Wire::new())); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gates/xor.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut xor = Xor::new(&wire_one, &wire_two); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gates/xor.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut output = xor.get_output(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gates/xor.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut xor = Xor::new(&wire_one, &wire_two); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gates/xor.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut output = xor.get_output(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gates/xor.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut xor = Xor::new(&wire_one, &wire_two); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gates/xor.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let mut xor = Xor::new(&wire_one, &wire_two); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gates/xor.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut output = xor.get_output(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/gates/and.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn update(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/gates/and.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn update(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Decoder3x8` [INFO] [stdout] --> src/gates/decoder.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Decoder3x8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gates/decoder.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(inputs: &[Wrapper]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/gates/decoder.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn update(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_outputs` [INFO] [stdout] --> src/gates/decoder.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn get_outputs(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Decoder4x16` [INFO] [stdout] --> src/gates/decoder.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Decoder4x16 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gates/decoder.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn new(inputs: &[Wrapper]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/gates/decoder.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn update(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_outputs` [INFO] [stdout] --> src/gates/decoder.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_outputs(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Decoder5x32` [INFO] [stdout] --> src/gates/decoder.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct Decoder5x32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gates/decoder.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn new(inputs: &[Wrapper]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/gates/decoder.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn update(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_outputs` [INFO] [stdout] --> src/gates/decoder.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn get_outputs(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.18s [INFO] running `Command { std: "docker" "inspect" "9e118a96c01a52a11766f8f5cdb787c1a3e1df3eef5e09231ff765b8f9f4af4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e118a96c01a52a11766f8f5cdb787c1a3e1df3eef5e09231ff765b8f9f4af4e", kill_on_drop: false }` [INFO] [stdout] 9e118a96c01a52a11766f8f5cdb787c1a3e1df3eef5e09231ff765b8f9f4af4e