[INFO] cloning repository https://github.com/RealCerus/arithmetic-logic-unit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RealCerus/arithmetic-logic-unit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRealCerus%2Farithmetic-logic-unit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRealCerus%2Farithmetic-logic-unit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5680458057a1419123ccf2caaf6106fde3c1fbab [INFO] checking RealCerus/arithmetic-logic-unit against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRealCerus%2Farithmetic-logic-unit" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RealCerus/arithmetic-logic-unit on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RealCerus/arithmetic-logic-unit [INFO] finished tweaking git repo https://github.com/RealCerus/arithmetic-logic-unit [INFO] tweaked toml for git repo https://github.com/RealCerus/arithmetic-logic-unit written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/RealCerus/arithmetic-logic-unit already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5a3738e524364961124bfb84ed2ebb48339426ab92032d49bacb54a93ab1ed04 [INFO] running `Command { std: "docker" "start" "-a" "5a3738e524364961124bfb84ed2ebb48339426ab92032d49bacb54a93ab1ed04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a3738e524364961124bfb84ed2ebb48339426ab92032d49bacb54a93ab1ed04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a3738e524364961124bfb84ed2ebb48339426ab92032d49bacb54a93ab1ed04", kill_on_drop: false }` [INFO] [stdout] 5a3738e524364961124bfb84ed2ebb48339426ab92032d49bacb54a93ab1ed04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08d4f7d639f0522bc034d62158d0e20e31bb607b65075e6014f5e7469de53f6b [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" "08d4f7d639f0522bc034d62158d0e20e31bb607b65075e6014f5e7469de53f6b", kill_on_drop: false }` [INFO] [stderr] Checking arithmetic-logic-unit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::model::adder::half_adder::HalfAdder` [INFO] [stdout] --> src/model/adder/ripple_carry_adder.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::model::adder::half_adder::HalfAdder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::subtractor::half_subtractor::HalfSubtractor` [INFO] [stdout] --> src/model/subtractor/ripple_carry_subtractor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::model::subtractor::half_subtractor::HalfSubtractor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BinaryRepresentation` [INFO] [stdout] --> src/model/binary_representation.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct BinaryRepresentation { [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: `new` [INFO] [stdout] --> src/model/binary_representation.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> BinaryRepresentation { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_vec` [INFO] [stdout] --> src/model/binary_representation.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn from_vec(vec: Vec) -> BinaryRepresentation { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_num` [INFO] [stdout] --> src/model/binary_representation.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn from_num(num: i32) -> BinaryRepresentation { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_number` [INFO] [stdout] --> src/model/binary_representation.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn set_number(&mut self, num: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transform` [INFO] [stdout] --> src/model/binary_representation.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn transform(&mut self, len: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reverse` [INFO] [stdout] --> src/model/binary_representation.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn reverse(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/model/binary_representation.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_i32` [INFO] [stdout] --> src/model/binary_representation.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn to_i32(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc_bits` [INFO] [stdout] --> src/model/binary_representation.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | fn calc_bits(num: &i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/model/binary_representation.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `NotGate` [INFO] [stdout] --> src/model/gates/not_gate.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct NotGate {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc` [INFO] [stdout] --> src/model/gates/not_gate.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn calc(&self, a: bool) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RippleCarryAdder` [INFO] [stdout] --> src/model/adder/ripple_carry_adder.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct RippleCarryAdder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/model/adder/ripple_carry_adder.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new() -> RippleCarryAdder { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc` [INFO] [stdout] --> src/model/adder/ripple_carry_adder.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn calc(&self, a: &BinaryRepresentation, b: &BinaryRepresentation) -> BinaryRepresentation { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FullAdder` [INFO] [stdout] --> src/model/adder/full_adder.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct FullAdder { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/model/adder/full_adder.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new() -> FullAdder { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc` [INFO] [stdout] --> src/model/adder/full_adder.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn calc(&self, a: bool, b: bool, c: bool) -> AdderResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `HalfAdder` [INFO] [stdout] --> src/model/adder/half_adder.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct HalfAdder { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::adder::half_adder::HalfAdder` [INFO] [stdout] --> src/model/adder/ripple_carry_adder.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::model::adder::half_adder::HalfAdder; [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: `new` [INFO] [stdout] --> src/model/adder/half_adder.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new() -> HalfAdder { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc` [INFO] [stdout] --> src/model/adder/half_adder.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn calc(&self, a: bool, b: bool) -> AdderResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `AdderResult` [INFO] [stdout] --> src/model/adder/mod.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AdderResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `HalfSubtractor` [INFO] [stdout] --> src/model/subtractor/half_subtractor.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct HalfSubtractor { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/model/subtractor/half_subtractor.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new() -> HalfSubtractor { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::subtractor::half_subtractor::HalfSubtractor` [INFO] [stdout] --> src/model/subtractor/ripple_carry_subtractor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::model::subtractor::half_subtractor::HalfSubtractor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc` [INFO] [stdout] --> src/model/subtractor/half_subtractor.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn calc(&self, a: bool, b: bool) -> SubtractorResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FullSubtractor` [INFO] [stdout] --> src/model/subtractor/full_subtractor.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct FullSubtractor { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/model/subtractor/full_subtractor.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new() -> FullSubtractor { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc` [INFO] [stdout] --> src/model/subtractor/full_subtractor.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn calc(&self, a: bool, b: bool, c: bool) -> SubtractorResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RippleCarrySubtractor` [INFO] [stdout] --> src/model/subtractor/ripple_carry_subtractor.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct RippleCarrySubtractor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/model/subtractor/ripple_carry_subtractor.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new() -> RippleCarrySubtractor { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc` [INFO] [stdout] --> src/model/subtractor/ripple_carry_subtractor.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn calc(&self, a: &BinaryRepresentation, b: &BinaryRepresentation) -> BinaryRepresentation { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SubtractorResult` [INFO] [stdout] --> src/model/subtractor/mod.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SubtractorResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BinaryRepresentation` [INFO] [stdout] --> src/model/binary_representation.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct BinaryRepresentation { [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: `new` [INFO] [stdout] --> src/model/binary_representation.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> BinaryRepresentation { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_vec` [INFO] [stdout] --> src/model/binary_representation.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn from_vec(vec: Vec) -> BinaryRepresentation { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_num` [INFO] [stdout] --> src/model/binary_representation.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn from_num(num: i32) -> BinaryRepresentation { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_number` [INFO] [stdout] --> src/model/binary_representation.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn set_number(&mut self, num: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transform` [INFO] [stdout] --> src/model/binary_representation.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn transform(&mut self, len: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reverse` [INFO] [stdout] --> src/model/binary_representation.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn reverse(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/model/binary_representation.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_i32` [INFO] [stdout] --> src/model/binary_representation.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn to_i32(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc_bits` [INFO] [stdout] --> src/model/binary_representation.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | fn calc_bits(num: &i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/model/binary_representation.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `NotGate` [INFO] [stdout] --> src/model/gates/not_gate.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct NotGate {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc` [INFO] [stdout] --> src/model/gates/not_gate.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn calc(&self, a: bool) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RippleCarryAdder` [INFO] [stdout] --> src/model/adder/ripple_carry_adder.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct RippleCarryAdder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/model/adder/ripple_carry_adder.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new() -> RippleCarryAdder { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc` [INFO] [stdout] --> src/model/adder/ripple_carry_adder.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn calc(&self, a: &BinaryRepresentation, b: &BinaryRepresentation) -> BinaryRepresentation { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FullAdder` [INFO] [stdout] --> src/model/adder/full_adder.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct FullAdder { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/model/adder/full_adder.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new() -> FullAdder { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc` [INFO] [stdout] --> src/model/adder/full_adder.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn calc(&self, a: bool, b: bool, c: bool) -> AdderResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `HalfAdder` [INFO] [stdout] --> src/model/adder/half_adder.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct HalfAdder { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/model/adder/half_adder.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new() -> HalfAdder { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc` [INFO] [stdout] --> src/model/adder/half_adder.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn calc(&self, a: bool, b: bool) -> AdderResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `AdderResult` [INFO] [stdout] --> src/model/adder/mod.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AdderResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `HalfSubtractor` [INFO] [stdout] --> src/model/subtractor/half_subtractor.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct HalfSubtractor { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/model/subtractor/half_subtractor.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new() -> HalfSubtractor { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc` [INFO] [stdout] --> src/model/subtractor/half_subtractor.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn calc(&self, a: bool, b: bool) -> SubtractorResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FullSubtractor` [INFO] [stdout] --> src/model/subtractor/full_subtractor.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct FullSubtractor { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/model/subtractor/full_subtractor.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new() -> FullSubtractor { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc` [INFO] [stdout] --> src/model/subtractor/full_subtractor.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn calc(&self, a: bool, b: bool, c: bool) -> SubtractorResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RippleCarrySubtractor` [INFO] [stdout] --> src/model/subtractor/ripple_carry_subtractor.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct RippleCarrySubtractor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/model/subtractor/ripple_carry_subtractor.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new() -> RippleCarrySubtractor { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc` [INFO] [stdout] --> src/model/subtractor/ripple_carry_subtractor.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn calc(&self, a: &BinaryRepresentation, b: &BinaryRepresentation) -> BinaryRepresentation { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SubtractorResult` [INFO] [stdout] --> src/model/subtractor/mod.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SubtractorResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::adder::ripple_carry_adder` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::model::adder::ripple_carry_adder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::adder::half_adder::HalfAdder` [INFO] [stdout] --> src/model/adder/ripple_carry_adder.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::model::adder::half_adder::HalfAdder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::adder::ripple_carry_adder` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::model::adder::ripple_carry_adder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::adder::half_adder::HalfAdder` [INFO] [stdout] --> src/model/adder/ripple_carry_adder.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::model::adder::half_adder::HalfAdder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::subtractor::half_subtractor::HalfSubtractor` [INFO] [stdout] --> src/model/subtractor/ripple_carry_subtractor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::model::subtractor::half_subtractor::HalfSubtractor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::subtractor::half_subtractor::HalfSubtractor` [INFO] [stdout] --> src/model/subtractor/ripple_carry_subtractor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::model::subtractor::half_subtractor::HalfSubtractor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc_bits` [INFO] [stdout] --> src/model/binary_representation.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | fn calc_bits(num: &i32) -> i32 { [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: `calc_bits` [INFO] [stdout] --> src/model/binary_representation.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | fn calc_bits(num: &i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.92s [INFO] running `Command { std: "docker" "inspect" "08d4f7d639f0522bc034d62158d0e20e31bb607b65075e6014f5e7469de53f6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08d4f7d639f0522bc034d62158d0e20e31bb607b65075e6014f5e7469de53f6b", kill_on_drop: false }` [INFO] [stdout] 08d4f7d639f0522bc034d62158d0e20e31bb607b65075e6014f5e7469de53f6b