[INFO] cloning repository https://github.com/konbu310/nand2tetris-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/konbu310/nand2tetris-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonbu310%2Fnand2tetris-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonbu310%2Fnand2tetris-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e2046e79e72dfbe1777bd592e3fd34588884613 [INFO] checking konbu310/nand2tetris-rs against try#4a23c45c7893f1416456144e3883cc48ea91722e for pr-82322 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonbu310%2Fnand2tetris-rs" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/konbu310/nand2tetris-rs on toolchain 4a23c45c7893f1416456144e3883cc48ea91722e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/konbu310/nand2tetris-rs [INFO] finished tweaking git repo https://github.com/konbu310/nand2tetris-rs [INFO] tweaked toml for git repo https://github.com/konbu310/nand2tetris-rs written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/konbu310/nand2tetris-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0f56740ff91a31299b04bfea7ede940e91be287529df28fee69b1d109dcf2f9 [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" "c0f56740ff91a31299b04bfea7ede940e91be287529df28fee69b1d109dcf2f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0f56740ff91a31299b04bfea7ede940e91be287529df28fee69b1d109dcf2f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0f56740ff91a31299b04bfea7ede940e91be287529df28fee69b1d109dcf2f9", kill_on_drop: false }` [INFO] [stdout] c0f56740ff91a31299b04bfea7ede940e91be287529df28fee69b1d109dcf2f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 650e82b38477303cedb352fd598743ad95e1d9e022336920695169a9c6188e70 [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" "650e82b38477303cedb352fd598743ad95e1d9e022336920695169a9c6188e70", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking nand2tetris-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Into` [INFO] [stdout] --> src/logic.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::{From, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Into` [INFO] [stdout] --> src/logic.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::{From, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `half_adder` [INFO] [stdout] --> src/arithmetic.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn half_adder(a: Bit, b: Bit) -> [Bit; 2] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `full_adder` [INFO] [stdout] --> src/arithmetic.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn full_adder(a: Bit, b: Bit, c: Bit) -> [Bit; 2] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add16` [INFO] [stdout] --> src/arithmetic.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn add16(a: Word, b: Word) -> Word { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `inc16` [INFO] [stdout] --> src/arithmetic.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn inc16(a: Word) -> Word { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `alu` [INFO] [stdout] --> src/arithmetic.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn alu( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_slice` [INFO] [stdout] --> src/logic.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn to_slice(&self) -> [Bit; 16] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `nand` [INFO] [stdout] --> src/logic.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn nand(a: Bit, b: Bit) -> Bit { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `not` [INFO] [stdout] --> src/logic.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn not(a: Bit) -> Bit { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `and` [INFO] [stdout] --> src/logic.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn and(a: Bit, b: Bit) -> Bit { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `or` [INFO] [stdout] --> src/logic.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn or(a: Bit, b: Bit) -> Bit { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `xor` [INFO] [stdout] --> src/logic.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn xor(a: Bit, b: Bit) -> Bit { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mux` [INFO] [stdout] --> src/logic.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn mux(a: Bit, b: Bit, sel: Bit) -> Bit { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dmux` [INFO] [stdout] --> src/logic.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn dmux(inc: Bit, sel: Bit) -> [Bit; 2] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `not16` [INFO] [stdout] --> src/logic.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn not16(a: Word) -> Word { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `and16` [INFO] [stdout] --> src/logic.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn and16(a: Word, b: Word) -> Word { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `or16` [INFO] [stdout] --> src/logic.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn or16(a: Word, b: Word) -> Word { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mux16` [INFO] [stdout] --> src/logic.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn mux16(a: Word, b: Word, sel: Bit) -> Word { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `or8way` [INFO] [stdout] --> src/logic.rs:256:8 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn or8way(a: [Bit; 8]) -> Bit { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mux4way16` [INFO] [stdout] --> src/logic.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn mux4way16(a: Word, b: Word, c: Word, d: Word, sel: [Bit; 2]) -> Word { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mux8way16` [INFO] [stdout] --> src/logic.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn mux8way16( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dmux4way` [INFO] [stdout] --> src/logic.rs:369:8 [INFO] [stdout] | [INFO] [stdout] 369 | pub fn dmux4way(inc: Bit, sel: [Bit; 2]) -> [Bit; 4] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dmux8way` [INFO] [stdout] --> src/logic.rs:378:8 [INFO] [stdout] | [INFO] [stdout] 378 | pub fn dmux8way(inc: Bit, sel: [Bit; 3]) -> [Bit; 8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/logic.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | panic!(format!("index fail: {} is out of range.", index)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/logic.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | panic!(format!("index_mut fail: {}, out of range.", index)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_slice` [INFO] [stdout] --> src/logic.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn to_slice(&self) -> [Bit; 16] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/logic.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | panic!(format!("index fail: {} is out of range.", index)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/logic.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | panic!(format!("index_mut fail: {}, out of range.", index)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.48s [INFO] running `Command { std: "docker" "inspect" "650e82b38477303cedb352fd598743ad95e1d9e022336920695169a9c6188e70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "650e82b38477303cedb352fd598743ad95e1d9e022336920695169a9c6188e70", kill_on_drop: false }` [INFO] [stdout] 650e82b38477303cedb352fd598743ad95e1d9e022336920695169a9c6188e70