[INFO] cloning repository https://github.com/kbrighton/chip8 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kbrighton/chip8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkbrighton%2Fchip8", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkbrighton%2Fchip8'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1531606c4800ee79f4122b52b5235c2c9854e15f [INFO] checking kbrighton/chip8 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkbrighton%2Fchip8" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kbrighton/chip8 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kbrighton/chip8 [INFO] finished tweaking git repo https://github.com/kbrighton/chip8 [INFO] tweaked toml for git repo https://github.com/kbrighton/chip8 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kbrighton/chip8 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 889a8d5ce1de6216a9311898dc06a42345f3bce92540cfcdf616360816e5875a [INFO] running `Command { std: "docker" "start" "-a" "889a8d5ce1de6216a9311898dc06a42345f3bce92540cfcdf616360816e5875a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "889a8d5ce1de6216a9311898dc06a42345f3bce92540cfcdf616360816e5875a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "889a8d5ce1de6216a9311898dc06a42345f3bce92540cfcdf616360816e5875a", kill_on_drop: false }` [INFO] [stdout] 889a8d5ce1de6216a9311898dc06a42345f3bce92540cfcdf616360816e5875a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d8c2331036ebd6c4c04dad95b53eed5943fdc932fb3304be7110185e05c509f [INFO] running `Command { std: "docker" "start" "-a" "9d8c2331036ebd6c4c04dad95b53eed5943fdc932fb3304be7110185e05c509f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking deranged v0.3.9 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking time v0.3.30 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking chip8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/timing.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/timing.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `flip` is never read [INFO] [stdout] --> src/cpu.rs:513:25 [INFO] [stdout] | [INFO] [stdout] 513 | let mut flip = false; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `flip` is never read [INFO] [stdout] --> src/cpu.rs:513:25 [INFO] [stdout] | [INFO] [stdout] 513 | let mut flip = false; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TICKS_PER_FRAME` is never used [INFO] [stdout] --> src/main.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const TICKS_PER_FRAME: usize = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOWRES_HEIGHT` is never used [INFO] [stdout] --> src/main.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const LOWRES_HEIGHT: usize = 32; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCALE` is never used [INFO] [stdout] --> src/cpu.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const SCALE: u32 = 15; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WINDOW_WIDTH` is never used [INFO] [stdout] --> src/cpu.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const WINDOW_WIDTH: u32 = (WIDTH as u32) * SCALE; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WINDOW_HEIGHT` is never used [INFO] [stdout] --> src/cpu.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const WINDOW_HEIGHT: u32 = (HEIGHT as u32) * SCALE; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TICKS_PER_FRAME` is never used [INFO] [stdout] --> src/cpu.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const TICKS_PER_FRAME: usize = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/cpu.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 132 | impl Chip8 { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/timing.rs:102:43 [INFO] [stdout] | [INFO] [stdout] 102 | name: self.systems[0].name.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TICKS_PER_FRAME` is never used [INFO] [stdout] --> src/main.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const TICKS_PER_FRAME: usize = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOWRES_HEIGHT` is never used [INFO] [stdout] --> src/main.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const LOWRES_HEIGHT: usize = 32; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCALE` is never used [INFO] [stdout] --> src/cpu.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const SCALE: u32 = 15; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WINDOW_WIDTH` is never used [INFO] [stdout] --> src/cpu.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const WINDOW_WIDTH: u32 = (WIDTH as u32) * SCALE; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WINDOW_HEIGHT` is never used [INFO] [stdout] --> src/cpu.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const WINDOW_HEIGHT: u32 = (HEIGHT as u32) * SCALE; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TICKS_PER_FRAME` is never used [INFO] [stdout] --> src/cpu.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const TICKS_PER_FRAME: usize = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/cpu.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 132 | impl Chip8 { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/timing.rs:102:43 [INFO] [stdout] | [INFO] [stdout] 102 | name: self.systems[0].name.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.76s [INFO] running `Command { std: "docker" "inspect" "9d8c2331036ebd6c4c04dad95b53eed5943fdc932fb3304be7110185e05c509f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d8c2331036ebd6c4c04dad95b53eed5943fdc932fb3304be7110185e05c509f", kill_on_drop: false }` [INFO] [stdout] 9d8c2331036ebd6c4c04dad95b53eed5943fdc932fb3304be7110185e05c509f [INFO] checking kbrighton/chip8 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkbrighton%2Fchip8" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kbrighton/chip8 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kbrighton/chip8 [INFO] finished tweaking git repo https://github.com/kbrighton/chip8 [INFO] tweaked toml for git repo https://github.com/kbrighton/chip8 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kbrighton/chip8 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 277a191dd407c5fe881661dd7d21cec8a7e3cdec1e675497739abcc82f707a56 [INFO] running `Command { std: "docker" "start" "-a" "277a191dd407c5fe881661dd7d21cec8a7e3cdec1e675497739abcc82f707a56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "277a191dd407c5fe881661dd7d21cec8a7e3cdec1e675497739abcc82f707a56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "277a191dd407c5fe881661dd7d21cec8a7e3cdec1e675497739abcc82f707a56", kill_on_drop: false }` [INFO] [stdout] 277a191dd407c5fe881661dd7d21cec8a7e3cdec1e675497739abcc82f707a56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6c56aaf74f0a979c9361c54bbdfe4391bd71fb6f3d0de7fde42b6087cae6784 [INFO] running `Command { std: "docker" "start" "-a" "a6c56aaf74f0a979c9361c54bbdfe4391bd71fb6f3d0de7fde42b6087cae6784", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking deranged v0.3.9 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking time v0.3.30 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking chip8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/timing.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/timing.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `flip` is never read [INFO] [stdout] --> src/cpu.rs:513:25 [INFO] [stdout] | [INFO] [stdout] 513 | let mut flip = false; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TICKS_PER_FRAME` is never used [INFO] [stdout] --> src/main.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const TICKS_PER_FRAME: usize = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOWRES_HEIGHT` is never used [INFO] [stdout] --> src/main.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const LOWRES_HEIGHT: usize = 32; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCALE` is never used [INFO] [stdout] --> src/cpu.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const SCALE: u32 = 15; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WINDOW_WIDTH` is never used [INFO] [stdout] --> src/cpu.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const WINDOW_WIDTH: u32 = (WIDTH as u32) * SCALE; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WINDOW_HEIGHT` is never used [INFO] [stdout] --> src/cpu.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const WINDOW_HEIGHT: u32 = (HEIGHT as u32) * SCALE; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TICKS_PER_FRAME` is never used [INFO] [stdout] --> src/cpu.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const TICKS_PER_FRAME: usize = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/cpu.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 132 | impl Chip8 { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/timing.rs:102:43 [INFO] [stdout] | [INFO] [stdout] 102 | name: self.systems[0].name.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `flip` is never read [INFO] [stdout] --> src/cpu.rs:513:25 [INFO] [stdout] | [INFO] [stdout] 513 | let mut flip = false; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TICKS_PER_FRAME` is never used [INFO] [stdout] --> src/main.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const TICKS_PER_FRAME: usize = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOWRES_HEIGHT` is never used [INFO] [stdout] --> src/main.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const LOWRES_HEIGHT: usize = 32; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCALE` is never used [INFO] [stdout] --> src/cpu.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const SCALE: u32 = 15; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WINDOW_WIDTH` is never used [INFO] [stdout] --> src/cpu.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const WINDOW_WIDTH: u32 = (WIDTH as u32) * SCALE; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WINDOW_HEIGHT` is never used [INFO] [stdout] --> src/cpu.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const WINDOW_HEIGHT: u32 = (HEIGHT as u32) * SCALE; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TICKS_PER_FRAME` is never used [INFO] [stdout] --> src/cpu.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const TICKS_PER_FRAME: usize = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/cpu.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 132 | impl Chip8 { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/timing.rs:102:43 [INFO] [stdout] | [INFO] [stdout] 102 | name: self.systems[0].name.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.01s [INFO] running `Command { std: "docker" "inspect" "a6c56aaf74f0a979c9361c54bbdfe4391bd71fb6f3d0de7fde42b6087cae6784", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6c56aaf74f0a979c9361c54bbdfe4391bd71fb6f3d0de7fde42b6087cae6784", kill_on_drop: false }` [INFO] [stdout] a6c56aaf74f0a979c9361c54bbdfe4391bd71fb6f3d0de7fde42b6087cae6784