[INFO] cloning repository https://github.com/ashdnazg/nand2rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ashdnazg/nand2rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashdnazg%2Fnand2rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashdnazg%2Fnand2rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 65d0d15d358f1a3429b47f6e148c5013cce588e2 [INFO] testing ashdnazg/nand2rust against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashdnazg%2Fnand2rust" "/workspace/builds/worker-25/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-25/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ashdnazg/nand2rust on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ashdnazg/nand2rust [INFO] finished tweaking git repo https://github.com/ashdnazg/nand2rust [INFO] tweaked toml for git repo https://github.com/ashdnazg/nand2rust written to /workspace/builds/worker-25/source/Cargo.toml [INFO] crate git repo https://github.com/ashdnazg/nand2rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d8c43146a9646b1dc71769a5feefc15d1549d1afceae51b7b7f97dbed1a5090 [INFO] running `Command { std: "docker" "start" "-a" "1d8c43146a9646b1dc71769a5feefc15d1549d1afceae51b7b7f97dbed1a5090", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d8c43146a9646b1dc71769a5feefc15d1549d1afceae51b7b7f97dbed1a5090", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d8c43146a9646b1dc71769a5feefc15d1549d1afceae51b7b7f97dbed1a5090", kill_on_drop: false }` [INFO] [stdout] 1d8c43146a9646b1dc71769a5feefc15d1549d1afceae51b7b7f97dbed1a5090 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12f0732ae9420cae2cb801cd9a4d568ea12c473475406b834c562c9889f8c782 [INFO] running `Command { std: "docker" "start" "-a" "12f0732ae9420cae2cb801cd9a4d568ea12c473475406b834c562c9889f8c782", kill_on_drop: false }` [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling sdl2 v0.35.1 [INFO] [stderr] Compiling sdl2-sys v0.35.1 [INFO] [stderr] Compiling nand2tetris v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `vm::*` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use vm::*; [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: `run_program` [INFO] [stdout] --> src/hardware.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 254 | fn run_program(&mut self, program_length: usize) { [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_pixel` [INFO] [stdout] --> src/hardware.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | fn set_pixel(&mut self, x: usize, y: usize, value: bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `RAM` [INFO] [stdout] --> src/vm.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | type RAM = [u16; 32 * 1024]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `VM` [INFO] [stdout] --> src/vm.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct VM { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/vm.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(files: Vec<(String, File)>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_file_name_to_static_segment` [INFO] [stdout] --> src/vm.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn create_file_name_to_static_segment(files: &Vec<(String, File)>) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/vm.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn push(ram: &mut RAM, value: u16) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/vm.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn pop(ram: &mut RAM) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_top` [INFO] [stdout] --> src/vm.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn stack_top(ram: &mut RAM) -> &mut u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set` [INFO] [stdout] --> src/vm.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | fn set( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/vm.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | fn get( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `static_ram_offset` [INFO] [stdout] --> src/vm.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | fn static_ram_offset( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/vm.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `goto` [INFO] [stdout] --> src/vm.rs:248:8 [INFO] [stdout] | [INFO] [stdout] 248 | fn goto( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Frame` [INFO] [stdout] --> src/vm.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 258 | struct Frame { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `File` [INFO] [stdout] --> src/vm.rs:263:12 [INFO] [stdout] | [INFO] [stdout] 263 | pub struct File { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/vm.rs:270:8 [INFO] [stdout] | [INFO] [stdout] 270 | fn new(commands: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Add` [INFO] [stdout] --> src/vm.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Push` [INFO] [stdout] --> src/vm.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | / Push { [INFO] [stdout] 311 | | segment: PushSegment, [INFO] [stdout] 312 | | offset: u16, [INFO] [stdout] 313 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Pop` [INFO] [stdout] --> src/vm.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | / Pop { [INFO] [stdout] 315 | | segment: PopSegment, [INFO] [stdout] 316 | | offset: u16, [INFO] [stdout] 317 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Sub` [INFO] [stdout] --> src/vm.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Neg` [INFO] [stdout] --> src/vm.rs:319:5 [INFO] [stdout] | [INFO] [stdout] 319 | Neg, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Eq` [INFO] [stdout] --> src/vm.rs:320:5 [INFO] [stdout] | [INFO] [stdout] 320 | Eq, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Gt` [INFO] [stdout] --> src/vm.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | Gt, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Lt` [INFO] [stdout] --> src/vm.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | Lt, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `And` [INFO] [stdout] --> src/vm.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Or` [INFO] [stdout] --> src/vm.rs:324:5 [INFO] [stdout] | [INFO] [stdout] 324 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Not` [INFO] [stdout] --> src/vm.rs:325:5 [INFO] [stdout] | [INFO] [stdout] 325 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Label` [INFO] [stdout] --> src/vm.rs:326:5 [INFO] [stdout] | [INFO] [stdout] 326 | / Label { [INFO] [stdout] 327 | | name: String, [INFO] [stdout] 328 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Goto` [INFO] [stdout] --> src/vm.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | / Goto { [INFO] [stdout] 330 | | label_name: String, [INFO] [stdout] 331 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IfGoto` [INFO] [stdout] --> src/vm.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | / IfGoto { [INFO] [stdout] 333 | | label_name: String, [INFO] [stdout] 334 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Function` [INFO] [stdout] --> src/vm.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | / Function { [INFO] [stdout] 336 | | name: String, [INFO] [stdout] 337 | | local_var_count: u16, [INFO] [stdout] 338 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Call` [INFO] [stdout] --> src/vm.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | / Call { [INFO] [stdout] 340 | | function_name: String, [INFO] [stdout] 341 | | argument_count: u16, [INFO] [stdout] 342 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Return` [INFO] [stdout] --> src/vm.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 343 | Return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_nop` [INFO] [stdout] --> src/vm.rs:347:8 [INFO] [stdout] | [INFO] [stdout] 347 | fn is_nop(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Constant` [INFO] [stdout] --> src/vm.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | Constant, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PushSegment` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:361:10 [INFO] [stdout] | [INFO] [stdout] 361 | #[derive(Clone, Copy, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Static` [INFO] [stdout] --> src/vm.rs:364:5 [INFO] [stdout] | [INFO] [stdout] 364 | Static, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PushSegment` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:361:10 [INFO] [stdout] | [INFO] [stdout] 361 | #[derive(Clone, Copy, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Local` [INFO] [stdout] --> src/vm.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 365 | Local, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PushSegment` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:361:10 [INFO] [stdout] | [INFO] [stdout] 361 | #[derive(Clone, Copy, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Argument` [INFO] [stdout] --> src/vm.rs:366:5 [INFO] [stdout] | [INFO] [stdout] 366 | Argument, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PushSegment` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:361:10 [INFO] [stdout] | [INFO] [stdout] 361 | #[derive(Clone, Copy, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `This` [INFO] [stdout] --> src/vm.rs:367:5 [INFO] [stdout] | [INFO] [stdout] 367 | This, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PushSegment` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:361:10 [INFO] [stdout] | [INFO] [stdout] 361 | #[derive(Clone, Copy, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `That` [INFO] [stdout] --> src/vm.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 368 | That, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PushSegment` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:361:10 [INFO] [stdout] | [INFO] [stdout] 361 | #[derive(Clone, Copy, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Temp` [INFO] [stdout] --> src/vm.rs:369:5 [INFO] [stdout] | [INFO] [stdout] 369 | Temp, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PushSegment` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:361:10 [INFO] [stdout] | [INFO] [stdout] 361 | #[derive(Clone, Copy, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Pointer` [INFO] [stdout] --> src/vm.rs:370:5 [INFO] [stdout] | [INFO] [stdout] 370 | Pointer, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PushSegment` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:361:10 [INFO] [stdout] | [INFO] [stdout] 361 | #[derive(Clone, Copy, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Static` [INFO] [stdout] --> src/vm.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | Static, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PopSegment` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:373:10 [INFO] [stdout] | [INFO] [stdout] 373 | #[derive(Clone, Copy, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Local` [INFO] [stdout] --> src/vm.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | Local, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PopSegment` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:373:10 [INFO] [stdout] | [INFO] [stdout] 373 | #[derive(Clone, Copy, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Argument` [INFO] [stdout] --> src/vm.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | Argument, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PopSegment` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:373:10 [INFO] [stdout] | [INFO] [stdout] 373 | #[derive(Clone, Copy, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `This` [INFO] [stdout] --> src/vm.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 378 | This, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PopSegment` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:373:10 [INFO] [stdout] | [INFO] [stdout] 373 | #[derive(Clone, Copy, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `That` [INFO] [stdout] --> src/vm.rs:379:5 [INFO] [stdout] | [INFO] [stdout] 379 | That, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PopSegment` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:373:10 [INFO] [stdout] | [INFO] [stdout] 373 | #[derive(Clone, Copy, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Temp` [INFO] [stdout] --> src/vm.rs:380:5 [INFO] [stdout] | [INFO] [stdout] 380 | Temp, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PopSegment` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:373:10 [INFO] [stdout] | [INFO] [stdout] 373 | #[derive(Clone, Copy, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Pointer` [INFO] [stdout] --> src/vm.rs:381:5 [INFO] [stdout] | [INFO] [stdout] 381 | Pointer, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PopSegment` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:373:10 [INFO] [stdout] | [INFO] [stdout] 373 | #[derive(Clone, Copy, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `test_get` [INFO] [stdout] --> src/vm.rs:388:12 [INFO] [stdout] | [INFO] [stdout] 388 | fn test_get(&self, segment: PushSegment, offset: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `test_set` [INFO] [stdout] --> src/vm.rs:398:12 [INFO] [stdout] | [INFO] [stdout] 398 | fn test_set(&mut self, segment: PopSegment, offset: u16, value: u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.44s [INFO] running `Command { std: "docker" "inspect" "12f0732ae9420cae2cb801cd9a4d568ea12c473475406b834c562c9889f8c782", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12f0732ae9420cae2cb801cd9a4d568ea12c473475406b834c562c9889f8c782", kill_on_drop: false }` [INFO] [stdout] 12f0732ae9420cae2cb801cd9a4d568ea12c473475406b834c562c9889f8c782 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31ea667f92397971bddcec9b5e3bf60fa4e9e615b01bdcfb35c5b0992c88f2a9 [INFO] running `Command { std: "docker" "start" "-a" "31ea667f92397971bddcec9b5e3bf60fa4e9e615b01bdcfb35c5b0992c88f2a9", kill_on_drop: false }` [INFO] [stderr] Compiling nand2tetris v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `vm::*` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use vm::*; [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: `set_pixel` [INFO] [stdout] --> src/hardware.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | fn set_pixel(&mut self, x: usize, y: usize, value: bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_command_index` [INFO] [stdout] --> src/vm.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | current_command_index: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `files` [INFO] [stdout] --> src/vm.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | files: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `call_stack` [INFO] [stdout] --> src/vm.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | call_stack: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/vm.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn push(ram: &mut RAM, value: u16) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/vm.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn pop(ram: &mut RAM) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_top` [INFO] [stdout] --> src/vm.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn stack_top(ram: &mut RAM) -> &mut u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/vm.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `goto` [INFO] [stdout] --> src/vm.rs:248:8 [INFO] [stdout] | [INFO] [stdout] 248 | fn goto( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `file_name` [INFO] [stdout] --> src/vm.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 259 | file_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `function_name` [INFO] [stdout] --> src/vm.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | function_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `label_name_to_command_index` [INFO] [stdout] --> src/vm.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | label_name_to_command_index: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `function_name_to_command_index` [INFO] [stdout] --> src/vm.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | function_name_to_command_index: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Add` [INFO] [stdout] --> src/vm.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Sub` [INFO] [stdout] --> src/vm.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Neg` [INFO] [stdout] --> src/vm.rs:319:5 [INFO] [stdout] | [INFO] [stdout] 319 | Neg, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Eq` [INFO] [stdout] --> src/vm.rs:320:5 [INFO] [stdout] | [INFO] [stdout] 320 | Eq, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Gt` [INFO] [stdout] --> src/vm.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | Gt, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Lt` [INFO] [stdout] --> src/vm.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | Lt, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `And` [INFO] [stdout] --> src/vm.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Or` [INFO] [stdout] --> src/vm.rs:324:5 [INFO] [stdout] | [INFO] [stdout] 324 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Not` [INFO] [stdout] --> src/vm.rs:325:5 [INFO] [stdout] | [INFO] [stdout] 325 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Label` [INFO] [stdout] --> src/vm.rs:326:5 [INFO] [stdout] | [INFO] [stdout] 326 | / Label { [INFO] [stdout] 327 | | name: String, [INFO] [stdout] 328 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Goto` [INFO] [stdout] --> src/vm.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | / Goto { [INFO] [stdout] 330 | | label_name: String, [INFO] [stdout] 331 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IfGoto` [INFO] [stdout] --> src/vm.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | / IfGoto { [INFO] [stdout] 333 | | label_name: String, [INFO] [stdout] 334 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Function` [INFO] [stdout] --> src/vm.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | / Function { [INFO] [stdout] 336 | | name: String, [INFO] [stdout] 337 | | local_var_count: u16, [INFO] [stdout] 338 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Call` [INFO] [stdout] --> src/vm.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | / Call { [INFO] [stdout] 340 | | function_name: String, [INFO] [stdout] 341 | | argument_count: u16, [INFO] [stdout] 342 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Return` [INFO] [stdout] --> src/vm.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 343 | Return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_nop` [INFO] [stdout] --> src/vm.rs:347:8 [INFO] [stdout] | [INFO] [stdout] 347 | fn is_nop(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "31ea667f92397971bddcec9b5e3bf60fa4e9e615b01bdcfb35c5b0992c88f2a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31ea667f92397971bddcec9b5e3bf60fa4e9e615b01bdcfb35c5b0992c88f2a9", kill_on_drop: false }` [INFO] [stdout] 31ea667f92397971bddcec9b5e3bf60fa4e9e615b01bdcfb35c5b0992c88f2a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 482c6ba5f1b63f183e1e6a749279510f5705baa8546cf4189535532a0bb5ff5b [INFO] running `Command { std: "docker" "start" "-a" "482c6ba5f1b63f183e1e6a749279510f5705baa8546cf4189535532a0bb5ff5b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `vm::*` [INFO] [stderr] --> src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use vm::*; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_pixel` [INFO] [stderr] --> src/hardware.rs:264:8 [INFO] [stderr] | [INFO] [stderr] 264 | fn set_pixel(&mut self, x: usize, y: usize, value: bool) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `current_command_index` [INFO] [stderr] --> src/vm.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | current_command_index: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `files` [INFO] [stderr] --> src/vm.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | files: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `call_stack` [INFO] [stderr] --> src/vm.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | call_stack: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `push` [INFO] [stderr] --> src/vm.rs:56:8 [INFO] [stderr] | [INFO] [stderr] 56 | fn push(ram: &mut RAM, value: u16) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `pop` [INFO] [stderr] --> src/vm.rs:61:8 [INFO] [stderr] | [INFO] [stderr] 61 | fn pop(ram: &mut RAM) -> u16 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `stack_top` [INFO] [stderr] --> src/vm.rs:66:8 [INFO] [stderr] | [INFO] [stderr] 66 | fn stack_top(ram: &mut RAM) -> &mut u16 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `step` [INFO] [stderr] --> src/vm.rs:136:8 [INFO] [stderr] | [INFO] [stderr] 136 | fn step(&mut self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `goto` [INFO] [stderr] --> src/vm.rs:248:8 [INFO] [stderr] | [INFO] [stderr] 248 | fn goto( [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `file_name` [INFO] [stderr] --> src/vm.rs:259:5 [INFO] [stderr] | [INFO] [stderr] 259 | file_name: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `function_name` [INFO] [stderr] --> src/vm.rs:260:5 [INFO] [stderr] | [INFO] [stderr] 260 | function_name: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `label_name_to_command_index` [INFO] [stderr] --> src/vm.rs:265:5 [INFO] [stderr] | [INFO] [stderr] 265 | label_name_to_command_index: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `function_name_to_command_index` [INFO] [stderr] --> src/vm.rs:266:5 [INFO] [stderr] | [INFO] [stderr] 266 | function_name_to_command_index: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Add` [INFO] [stderr] --> src/vm.rs:309:5 [INFO] [stderr] | [INFO] [stderr] 309 | Add, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/vm.rs:307:10 [INFO] [stderr] | [INFO] [stderr] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Sub` [INFO] [stderr] --> src/vm.rs:318:5 [INFO] [stderr] | [INFO] [stderr] 318 | Sub, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/vm.rs:307:10 [INFO] [stderr] | [INFO] [stderr] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Neg` [INFO] [stderr] --> src/vm.rs:319:5 [INFO] [stderr] | [INFO] [stderr] 319 | Neg, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/vm.rs:307:10 [INFO] [stderr] | [INFO] [stderr] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Eq` [INFO] [stderr] --> src/vm.rs:320:5 [INFO] [stderr] | [INFO] [stderr] 320 | Eq, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/vm.rs:307:10 [INFO] [stderr] | [INFO] [stderr] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Gt` [INFO] [stderr] --> src/vm.rs:321:5 [INFO] [stderr] | [INFO] [stderr] 321 | Gt, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/vm.rs:307:10 [INFO] [stderr] | [INFO] [stderr] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Lt` [INFO] [stderr] --> src/vm.rs:322:5 [INFO] [stderr] | [INFO] [stderr] 322 | Lt, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/vm.rs:307:10 [INFO] [stderr] | [INFO] [stderr] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `And` [INFO] [stderr] --> src/vm.rs:323:5 [INFO] [stderr] | [INFO] [stderr] 323 | And, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/vm.rs:307:10 [INFO] [stderr] | [INFO] [stderr] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Or` [INFO] [stderr] --> src/vm.rs:324:5 [INFO] [stderr] | [INFO] [stderr] 324 | Or, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/vm.rs:307:10 [INFO] [stderr] | [INFO] [stderr] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Not` [INFO] [stderr] --> src/vm.rs:325:5 [INFO] [stderr] | [INFO] [stderr] 325 | Not, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/vm.rs:307:10 [INFO] [stderr] | [INFO] [stderr] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Label` [INFO] [stderr] --> src/vm.rs:326:5 [INFO] [stderr] | [INFO] [stderr] 326 | / Label { [INFO] [stderr] 327 | | name: String, [INFO] [stderr] 328 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/vm.rs:307:10 [INFO] [stderr] | [INFO] [stderr] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Goto` [INFO] [stderr] --> src/vm.rs:329:5 [INFO] [stderr] | [INFO] [stderr] 329 | / Goto { [INFO] [stderr] 330 | | label_name: String, [INFO] [stderr] 331 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/vm.rs:307:10 [INFO] [stderr] | [INFO] [stderr] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `IfGoto` [INFO] [stderr] --> src/vm.rs:332:5 [INFO] [stderr] | [INFO] [stderr] 332 | / IfGoto { [INFO] [stderr] 333 | | label_name: String, [INFO] [stderr] 334 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/vm.rs:307:10 [INFO] [stderr] | [INFO] [stderr] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Function` [INFO] [stderr] --> src/vm.rs:335:5 [INFO] [stderr] | [INFO] [stderr] 335 | / Function { [INFO] [stderr] 336 | | name: String, [INFO] [stderr] 337 | | local_var_count: u16, [INFO] [stderr] 338 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/vm.rs:307:10 [INFO] [stderr] | [INFO] [stderr] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Call` [INFO] [stderr] --> src/vm.rs:339:5 [INFO] [stderr] | [INFO] [stderr] 339 | / Call { [INFO] [stderr] 340 | | function_name: String, [INFO] [stderr] 341 | | argument_count: u16, [INFO] [stderr] 342 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/vm.rs:307:10 [INFO] [stderr] | [INFO] [stderr] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Return` [INFO] [stderr] --> src/vm.rs:343:5 [INFO] [stderr] | [INFO] [stderr] 343 | Return, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `VMCommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/vm.rs:307:10 [INFO] [stderr] | [INFO] [stderr] 307 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_nop` [INFO] [stderr] --> src/vm.rs:347:8 [INFO] [stderr] | [INFO] [stderr] 347 | fn is_nop(&self) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `nand2tetris` (bin "nand2tetris" test) generated 30 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/nand2tetris-6cd6b43dd9277582) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test vm::tests::test_argument ... ok [INFO] [stdout] test hardware::tests::test_integration ... ok [INFO] [stdout] test vm::tests::test_temp ... ok [INFO] [stdout] test vm::tests::test_constant ... ok [INFO] [stdout] test vm::tests::test_local ... ok [INFO] [stdout] test hardware::tests::test_increment ... ok [INFO] [stdout] test vm::tests::test_this ... ok [INFO] [stdout] test hardware::tests::test_zero ... ok [INFO] [stdout] test vm::tests::test_that ... ok [INFO] [stdout] test vm::tests::test_pointer ... ok [INFO] [stdout] test hardware::tests::test_load ... ok [INFO] [stdout] test hardware::tests::test_add ... ok [INFO] [stdout] test vm::tests::test_static ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- vm::tests::test_static stdout ---- [INFO] [stdout] thread 'vm::tests::test_static' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `1337`, [INFO] [stdout] right: `0`', src/vm.rs:455:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e88870df9c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55e88870df9c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e88870df9c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55e88870df9c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55e8887332dc - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x55e888709898 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55e888710267 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55e888710267 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55e888710267 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55e88870ff9b - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55e8887109ba - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55e8887106a7 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55e88870e464 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55e8887103b9 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55e88869c133 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55e888731e98 - core::panicking::assert_failed_inner::h6332a1b3f7595954 [INFO] [stdout] 16: 0x55e8886a7c5a - core::panicking::assert_failed::hbbbf25f2895f46d4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:182:5 [INFO] [stdout] 17: 0x55e8886ad817 - nand2tetris::vm::tests::test_static::h843226324daf4c22 [INFO] [stdout] at /opt/rustwide/workdir/src/vm.rs:455:9 [INFO] [stdout] 18: 0x55e8886ad18a - nand2tetris::vm::tests::test_static::{{closure}}::he9bdaa31373b64e6 [INFO] [stdout] at /opt/rustwide/workdir/src/vm.rs:418:5 [INFO] [stdout] 19: 0x55e8886a90ae - core::ops::function::FnOnce::call_once::h9ade79242eaf596f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55e8886e0843 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55e8886e0843 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 22: 0x55e8886df571 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 23: 0x55e8886df571 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x55e8886df571 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x55e8886df571 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x55e8886df571 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x55e8886df571 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 28: 0x55e8886df571 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x55e8886e8e51 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x55e8886e8e51 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x55e8886b55af - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x55e8886b55af - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x55e8886b55af - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x55e8886b55af - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x55e8886b55af - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x55e8886b55af - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x55e8886b55af - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55e888716653 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 39: 0x55e888716653 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 40: 0x55e888716653 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7f71d943d609 - start_thread [INFO] [stdout] 42: 0x7f71d920f293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] vm::tests::test_static [INFO] [stdout] [INFO] [stdout] test result: FAILED. 12 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin nand2tetris' [INFO] running `Command { std: "docker" "inspect" "482c6ba5f1b63f183e1e6a749279510f5705baa8546cf4189535532a0bb5ff5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "482c6ba5f1b63f183e1e6a749279510f5705baa8546cf4189535532a0bb5ff5b", kill_on_drop: false }` [INFO] [stdout] 482c6ba5f1b63f183e1e6a749279510f5705baa8546cf4189535532a0bb5ff5b