[INFO] cloning repository https://github.com/bigbass1997/rustari2600 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bigbass1997/rustari2600" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbigbass1997%2Frustari2600", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbigbass1997%2Frustari2600'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d9cbba42d56d6fb2a3aac146865d2af180d27d3 [INFO] testing bigbass1997/rustari2600 against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbigbass1997%2Frustari2600" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bigbass1997/rustari2600 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bigbass1997/rustari2600 [INFO] finished tweaking git repo https://github.com/bigbass1997/rustari2600 [INFO] tweaked toml for git repo https://github.com/bigbass1997/rustari2600 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/bigbass1997/rustari2600 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4210ca948bb5a52bf092cbe61b40579dc606d14b4d2cc1256ba33385bb5361a4 [INFO] running `Command { std: "docker" "start" "-a" "4210ca948bb5a52bf092cbe61b40579dc606d14b4d2cc1256ba33385bb5361a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4210ca948bb5a52bf092cbe61b40579dc606d14b4d2cc1256ba33385bb5361a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4210ca948bb5a52bf092cbe61b40579dc606d14b4d2cc1256ba33385bb5361a4", kill_on_drop: false }` [INFO] [stdout] 4210ca948bb5a52bf092cbe61b40579dc606d14b4d2cc1256ba33385bb5361a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 104aee1882e319db72bbd2bca2a459a7e668fa5d4133ddfd9b58616d6aa881a5 [INFO] running `Command { std: "docker" "start" "-a" "104aee1882e319db72bbd2bca2a459a7e668fa5d4133ddfd9b58616d6aa881a5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling libloading v0.7.2 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling clang-sys v1.3.0 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling minifb v0.20.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling clap v3.0.0-rc.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Compiling xkb v0.2.1 [INFO] [stderr] Compiling rustari2600 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cpu` [INFO] [stdout] --> src/arch/tia.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{Bus, Cpu, InfCell}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/arch/cpu.rs:960:5 [INFO] [stdout] | [INFO] [stdout] 959 | todo!("TODO: TEST THIS"); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] 960 | / match procedure.cycle { [INFO] [stdout] 961 | | 2 => {cpu.fetch(bus);}, [INFO] [stdout] 962 | | 3 => {bus.read(0x100 + cpu.sp.0 as u16);} [INFO] [stdout] 963 | | 4 => {cpu.stack_pull(bus);}, // pull P from stack (what is P?) [INFO] [stdout] ... | [INFO] [stdout] 973 | | _ => (), [INFO] [stdout] 974 | | } [INFO] [stdout] | |_____^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/arch/cpu.rs:1373:13 [INFO] [stdout] | [INFO] [stdout] 1372 | panic!(""); [INFO] [stdout] | ---------- any code following this expression is unreachable [INFO] [stdout] 1373 | / match procedure.cycle { [INFO] [stdout] 1374 | | 2 => { [INFO] [stdout] 1375 | | procedure.tmp0 = cpu.fetch(bus); [INFO] [stdout] 1376 | | None [INFO] [stdout] ... | [INFO] [stdout] 1397 | | _ => None [INFO] [stdout] 1398 | | } [INFO] [stdout] | |_____________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus_ref` [INFO] [stdout] --> src/arch/tia.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let bus_ref = bus_cell.get_mut(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bus_ref` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/arch/pia.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let bus = bus_cell.get_mut(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/arch/cartridge.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | fn write(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/arch/cartridge.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | fn write(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/arch/tia.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let mut pia = &mut bus.pia; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEBUG_UPDATE_PER_PIXEL` [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const DEBUG_UPDATE_PER_PIXEL: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEBUG_UPDATE_PER_FRAME` [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const DEBUG_UPDATE_PER_FRAME: bool = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/util.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get(&self) -> &T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SECAM_COLOR_LUT` [INFO] [stdout] --> src/arch/tia.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / pub const SECAM_COLOR_LUT: [u32; 8] = [ [INFO] [stdout] 27 | | 0x000000, 0x2121FF, 0xF03C79, 0xFF50FF, 0x7FFF00, 0x7FFFFF, 0xFFFF3F, 0xFFFFFF [INFO] [stdout] 28 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `debug_color_clock` [INFO] [stdout] --> src/arch/tia.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | fn debug_color_clock(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cycles_to_wait` [INFO] [stdout] --> src/arch/cpu.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | cycles_to_wait: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cpu` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/arch/cpu.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | #[derive(Clone, Debug)] [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: field is never read: `counter` [INFO] [stdout] --> src/arch/cpu.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | counter: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cpu` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/arch/cpu.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | #[derive(Clone, Debug)] [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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 41.56s [INFO] running `Command { std: "docker" "inspect" "104aee1882e319db72bbd2bca2a459a7e668fa5d4133ddfd9b58616d6aa881a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "104aee1882e319db72bbd2bca2a459a7e668fa5d4133ddfd9b58616d6aa881a5", kill_on_drop: false }` [INFO] [stdout] 104aee1882e319db72bbd2bca2a459a7e668fa5d4133ddfd9b58616d6aa881a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79c2ddaa79f856c1feabeb52c0db79afda653df7995630886ec3583cbec4c977 [INFO] running `Command { std: "docker" "start" "-a" "79c2ddaa79f856c1feabeb52c0db79afda653df7995630886ec3583cbec4c977", kill_on_drop: false }` [INFO] [stderr] Compiling rustari2600 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cpu` [INFO] [stdout] --> src/arch/tia.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{Bus, Cpu, InfCell}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/arch/cpu.rs:960:5 [INFO] [stdout] | [INFO] [stdout] 959 | todo!("TODO: TEST THIS"); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] 960 | / match procedure.cycle { [INFO] [stdout] 961 | | 2 => {cpu.fetch(bus);}, [INFO] [stdout] 962 | | 3 => {bus.read(0x100 + cpu.sp.0 as u16);} [INFO] [stdout] 963 | | 4 => {cpu.stack_pull(bus);}, // pull P from stack (what is P?) [INFO] [stdout] ... | [INFO] [stdout] 973 | | _ => (), [INFO] [stdout] 974 | | } [INFO] [stdout] | |_____^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/arch/cpu.rs:1373:13 [INFO] [stdout] | [INFO] [stdout] 1372 | panic!(""); [INFO] [stdout] | ---------- any code following this expression is unreachable [INFO] [stdout] 1373 | / match procedure.cycle { [INFO] [stdout] 1374 | | 2 => { [INFO] [stdout] 1375 | | procedure.tmp0 = cpu.fetch(bus); [INFO] [stdout] 1376 | | None [INFO] [stdout] ... | [INFO] [stdout] 1397 | | _ => None [INFO] [stdout] 1398 | | } [INFO] [stdout] | |_____________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus_ref` [INFO] [stdout] --> src/arch/tia.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let bus_ref = bus_cell.get_mut(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bus_ref` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/arch/pia.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let bus = bus_cell.get_mut(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/arch/cartridge.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | fn write(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/arch/cartridge.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | fn write(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/arch/tia.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let mut pia = &mut bus.pia; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEBUG_UPDATE_PER_PIXEL` [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const DEBUG_UPDATE_PER_PIXEL: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEBUG_UPDATE_PER_FRAME` [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const DEBUG_UPDATE_PER_FRAME: bool = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/util.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get(&self) -> &T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SECAM_COLOR_LUT` [INFO] [stdout] --> src/arch/tia.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / pub const SECAM_COLOR_LUT: [u32; 8] = [ [INFO] [stdout] 27 | | 0x000000, 0x2121FF, 0xF03C79, 0xFF50FF, 0x7FFF00, 0x7FFFFF, 0xFFFF3F, 0xFFFFFF [INFO] [stdout] 28 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `debug_color_clock` [INFO] [stdout] --> src/arch/tia.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | fn debug_color_clock(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cycles_to_wait` [INFO] [stdout] --> src/arch/cpu.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | cycles_to_wait: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cpu` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/arch/cpu.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | #[derive(Clone, Debug)] [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: field is never read: `counter` [INFO] [stdout] --> src/arch/cpu.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | counter: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cpu` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/arch/cpu.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | #[derive(Clone, Debug)] [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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.59s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rustari2600-9938bc8471171d78) [INFO] running `Command { std: "docker" "inspect" "79c2ddaa79f856c1feabeb52c0db79afda653df7995630886ec3583cbec4c977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79c2ddaa79f856c1feabeb52c0db79afda653df7995630886ec3583cbec4c977", kill_on_drop: false }` [INFO] [stdout] 79c2ddaa79f856c1feabeb52c0db79afda653df7995630886ec3583cbec4c977 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8ec93ef18706b4c8deb345373791c94d2e05173669a3c2942f76c23599cec9d8 [INFO] running `Command { std: "docker" "start" "-a" "8ec93ef18706b4c8deb345373791c94d2e05173669a3c2942f76c23599cec9d8", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Duration` [INFO] [stderr] --> src/main.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | use std::time::{Duration, Instant}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Cpu` [INFO] [stderr] --> src/arch/tia.rs:2:18 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::{Bus, Cpu, InfCell}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/arch/cpu.rs:960:5 [INFO] [stderr] | [INFO] [stderr] 959 | todo!("TODO: TEST THIS"); [INFO] [stderr] | ------------------------ any code following this expression is unreachable [INFO] [stderr] 960 | / match procedure.cycle { [INFO] [stderr] 961 | | 2 => {cpu.fetch(bus);}, [INFO] [stderr] 962 | | 3 => {bus.read(0x100 + cpu.sp.0 as u16);} [INFO] [stderr] 963 | | 4 => {cpu.stack_pull(bus);}, // pull P from stack (what is P?) [INFO] [stderr] ... | [INFO] [stderr] 973 | | _ => (), [INFO] [stderr] 974 | | } [INFO] [stderr] | |_____^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/arch/cpu.rs:1373:13 [INFO] [stderr] | [INFO] [stderr] 1372 | panic!(""); [INFO] [stderr] | ---------- any code following this expression is unreachable [INFO] [stderr] 1373 | / match procedure.cycle { [INFO] [stderr] 1374 | | 2 => { [INFO] [stderr] 1375 | | procedure.tmp0 = cpu.fetch(bus); [INFO] [stderr] 1376 | | None [INFO] [stderr] ... | [INFO] [stderr] 1397 | | _ => None [INFO] [stderr] 1398 | | } [INFO] [stderr] | |_____________^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bus_ref` [INFO] [stderr] --> src/arch/tia.rs:116:13 [INFO] [stderr] | [INFO] [stderr] 116 | let bus_ref = bus_cell.get_mut(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bus_ref` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bus` [INFO] [stderr] --> src/arch/pia.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | let bus = bus_cell.get_mut(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `addr` [INFO] [stderr] --> src/arch/cartridge.rs:16:25 [INFO] [stderr] | [INFO] [stderr] 16 | fn write(&mut self, addr: u16, data: u8) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/arch/cartridge.rs:16:36 [INFO] [stderr] | [INFO] [stderr] 16 | fn write(&mut self, addr: u16, data: u8) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/arch/tia.rs:118:13 [INFO] [stderr] | [INFO] [stderr] 118 | let mut pia = &mut bus.pia; [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `DEBUG_UPDATE_PER_PIXEL` [INFO] [stderr] --> src/main.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | const DEBUG_UPDATE_PER_PIXEL: bool = false; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `DEBUG_UPDATE_PER_FRAME` [INFO] [stderr] --> src/main.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | const DEBUG_UPDATE_PER_FRAME: bool = true; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get` [INFO] [stderr] --> src/util.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn get(&self) -> &T { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `SECAM_COLOR_LUT` [INFO] [stderr] --> src/arch/tia.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | / pub const SECAM_COLOR_LUT: [u32; 8] = [ [INFO] [stderr] 27 | | 0x000000, 0x2121FF, 0xF03C79, 0xFF50FF, 0x7FFF00, 0x7FFFFF, 0xFFFF3F, 0xFFFFFF [INFO] [stderr] 28 | | ]; [INFO] [stderr] | |__^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `debug_color_clock` [INFO] [stderr] --> src/arch/tia.rs:207:8 [INFO] [stderr] | [INFO] [stderr] 207 | fn debug_color_clock(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `cycles_to_wait` [INFO] [stderr] --> src/arch/cpu.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 117 | cycles_to_wait: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Cpu` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/arch/cpu.rs:105:10 [INFO] [stderr] | [INFO] [stderr] 105 | #[derive(Clone, Debug)] [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: field is never read: `counter` [INFO] [stderr] --> src/arch/cpu.rs:119:5 [INFO] [stderr] | [INFO] [stderr] 119 | counter: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Cpu` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/arch/cpu.rs:105:10 [INFO] [stderr] | [INFO] [stderr] 105 | #[derive(Clone, Debug)] [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: `rustari2600` (bin "rustari2600" test) generated 16 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.61s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rustari2600-9938bc8471171d78) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8ec93ef18706b4c8deb345373791c94d2e05173669a3c2942f76c23599cec9d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ec93ef18706b4c8deb345373791c94d2e05173669a3c2942f76c23599cec9d8", kill_on_drop: false }` [INFO] [stdout] 8ec93ef18706b4c8deb345373791c94d2e05173669a3c2942f76c23599cec9d8