[INFO] cloning repository https://github.com/jmg-duarte/c8 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jmg-duarte/c8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmg-duarte%2Fc8", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmg-duarte%2Fc8'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75c183636d291a3fbd35924ac516618883dba5f5 [INFO] testing jmg-duarte/c8 against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmg-duarte%2Fc8" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jmg-duarte/c8 [INFO] finished tweaking git repo https://github.com/jmg-duarte/c8 [INFO] tweaked toml for git repo https://github.com/jmg-duarte/c8 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jmg-duarte/c8 on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jmg-duarte/c8 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4b35b3d0cde753866208715560fb701f52bde81717f2af7e918b41b44f1af83 [INFO] running `Command { std: "docker" "start" "-a" "a4b35b3d0cde753866208715560fb701f52bde81717f2af7e918b41b44f1af83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4b35b3d0cde753866208715560fb701f52bde81717f2af7e918b41b44f1af83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4b35b3d0cde753866208715560fb701f52bde81717f2af7e918b41b44f1af83", kill_on_drop: false }` [INFO] [stdout] a4b35b3d0cde753866208715560fb701f52bde81717f2af7e918b41b44f1af83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 3561093d58205dd1046862c38cc179ec359e5dc396432894138ba175779a2881 [INFO] running `Command { std: "docker" "start" "-a" "3561093d58205dd1046862c38cc179ec359e5dc396432894138ba175779a2881", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling chip-8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/chip8/cpu.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | for addr in start..end { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_idx` [INFO] [stdout] --> src/chip8/cpu.rs:214:24 [INFO] [stdout] | [INFO] [stdout] 214 | fn draw(&mut self, x_idx: u8, y_idx: u8, n: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_idx` [INFO] [stdout] --> src/chip8/cpu.rs:214:35 [INFO] [stdout] | [INFO] [stdout] 214 | fn draw(&mut self, x_idx: u8, y_idx: u8, n: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_y_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_idx` [INFO] [stdout] --> src/chip8/cpu.rs:223:36 [INFO] [stdout] | [INFO] [stdout] 223 | fn skip_key_pressed(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_idx` [INFO] [stdout] --> src/chip8/cpu.rs:228:40 [INFO] [stdout] | [INFO] [stdout] 228 | fn skip_key_not_pressed(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_idx` [INFO] [stdout] --> src/chip8/cpu.rs:238:33 [INFO] [stdout] | [INFO] [stdout] 238 | fn wait_keypress(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_idx` [INFO] [stdout] --> src/chip8/cpu.rs:258:31 [INFO] [stdout] | [INFO] [stdout] 258 | fn set_i_digit(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_idx` [INFO] [stdout] --> src/chip8/cpu.rs:263:29 [INFO] [stdout] | [INFO] [stdout] 263 | fn store_bcd(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `N_VREGISTERS` is never used [INFO] [stdout] --> src/chip8/cpu.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const N_VREGISTERS: usize = 16; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STACK_SIZE` is never used [INFO] [stdout] --> src/chip8/cpu.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const STACK_SIZE: usize = 16; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VF` is never used [INFO] [stdout] --> src/chip8/cpu.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const VF: usize = 0xF; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `V0` is never used [INFO] [stdout] --> src/chip8/cpu.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const V0: usize = 0x0; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CPU` is never constructed [INFO] [stdout] --> src/chip8/cpu.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/chip8/cpu.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl CPU { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn ret_subroutine(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn jmp_addr(&mut self, addr: u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn call_subroutine(&mut self, addr: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn skip_eq_value(&mut self, x_idx: u8, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn skip_neq_value(&mut self, x_idx: u8, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn skip_eq_xy(&mut self, x_idx: u8, y_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn set_x_value(&mut self, x_idx: u8, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn add_x_value(&mut self, x_idx: u8, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn store_xy(&mut self, x_idx: u8, y_idx: u8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn or_xy(&mut self, x_idx: u8, y_idx: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn and_xy(&mut self, x_idx: u8, y_idx: u8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn xor_xy(&mut self, x_idx: u8, y_idx: u8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn add_xy(&mut self, x_idx: u8, y_idx: u8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | fn sub_xy(&mut self, x_idx: u8, y_idx: u8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn shr_x(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | fn subn_xy(&mut self, x_idx: u8, y_idx: u8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | fn shl_x(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | fn skip_neq_xy(&mut self, x_idx: u8, y_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | fn set_i(&mut self, addr: u16) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | fn jmp_addr_offset(&mut self, addr: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | fn rnd_and(&mut self, x_idx: u8, value: u8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | fn draw(&mut self, x_idx: u8, y_idx: u8, n: u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | fn skip_key_pressed(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | fn skip_key_not_pressed(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | fn read_delay_timer(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | fn wait_keypress(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | fn set_delay_timer(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | fn set_sound_timer(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | fn add_i(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | fn set_i_digit(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | fn store_bcd(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | fn store_registers(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | fn read_registers(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | fn cycle(&mut self, opcode: u16) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RAM` is never constructed [INFO] [stdout] --> src/chip8/ram.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct RAM { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read`, and `write` are never used [INFO] [stdout] --> src/chip8/ram.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl RAM { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 6 | /// Create a new RAM instance. [INFO] [stdout] 7 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn read(&self, addr: usize) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn write(&mut self, addr: usize, value: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.71s [INFO] running `Command { std: "docker" "inspect" "3561093d58205dd1046862c38cc179ec359e5dc396432894138ba175779a2881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3561093d58205dd1046862c38cc179ec359e5dc396432894138ba175779a2881", kill_on_drop: false }` [INFO] [stdout] 3561093d58205dd1046862c38cc179ec359e5dc396432894138ba175779a2881 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8bb1bddd14d29098fdb30ef6d44639a53c2a583091f0938cec1172da2bc24b79 [INFO] running `Command { std: "docker" "start" "-a" "8bb1bddd14d29098fdb30ef6d44639a53c2a583091f0938cec1172da2bc24b79", kill_on_drop: false }` [INFO] [stderr] Compiling chip-8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/chip8/cpu.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | for addr in start..end { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_idx` [INFO] [stdout] --> src/chip8/cpu.rs:214:24 [INFO] [stdout] | [INFO] [stdout] 214 | fn draw(&mut self, x_idx: u8, y_idx: u8, n: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_idx` [INFO] [stdout] --> src/chip8/cpu.rs:214:35 [INFO] [stdout] | [INFO] [stdout] 214 | fn draw(&mut self, x_idx: u8, y_idx: u8, n: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_y_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_idx` [INFO] [stdout] --> src/chip8/cpu.rs:223:36 [INFO] [stdout] | [INFO] [stdout] 223 | fn skip_key_pressed(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_idx` [INFO] [stdout] --> src/chip8/cpu.rs:228:40 [INFO] [stdout] | [INFO] [stdout] 228 | fn skip_key_not_pressed(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_idx` [INFO] [stdout] --> src/chip8/cpu.rs:238:33 [INFO] [stdout] | [INFO] [stdout] 238 | fn wait_keypress(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_idx` [INFO] [stdout] --> src/chip8/cpu.rs:258:31 [INFO] [stdout] | [INFO] [stdout] 258 | fn set_i_digit(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_idx` [INFO] [stdout] --> src/chip8/cpu.rs:263:29 [INFO] [stdout] | [INFO] [stdout] 263 | fn store_bcd(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `V0` is never used [INFO] [stdout] --> src/chip8/cpu.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const V0: usize = 0x0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `i_reg`, `delay_timer`, `sound_timer`, `rng`, and `ram` are never read [INFO] [stdout] --> src/chip8/cpu.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CPU { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | i_reg: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | delay_timer: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 14 | sound_timer: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | rng: ThreadRng, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | ram: ram::RAM, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/chip8/cpu.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 144 | fn sub_xy(&mut self, x_idx: u8, y_idx: u8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn shr_x(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | fn subn_xy(&mut self, x_idx: u8, y_idx: u8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | fn shl_x(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | fn set_i(&mut self, addr: u16) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | fn jmp_addr_offset(&mut self, addr: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | fn rnd_and(&mut self, x_idx: u8, value: u8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | fn draw(&mut self, x_idx: u8, y_idx: u8, n: u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | fn skip_key_pressed(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | fn skip_key_not_pressed(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | fn read_delay_timer(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | fn wait_keypress(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | fn set_delay_timer(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | fn set_sound_timer(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | fn add_i(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | fn set_i_digit(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | fn store_bcd(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | fn store_registers(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | fn read_registers(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | fn cycle(&mut self, opcode: u16) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `memory` is never read [INFO] [stdout] --> src/chip8/ram.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct RAM { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 2 | memory: [u8; 4096], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read` and `write` are never used [INFO] [stdout] --> src/chip8/ram.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl RAM { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn read(&self, addr: usize) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn write(&mut self, addr: usize, value: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustckMj9e9/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{librand-7f8fe99fb5effbe5.rlib,librand_chacha-e511474c39408f52.rlib,libppv_lite86-ef53971f935c91f9.rlib,librand_core-dfc0606556e607ce.rlib,libgetrandom-2f6b1bd22bf8218f.rlib,liblibc-d8eb908f29929d5a.rlib,libcfg_if-2d17986ae484e939.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustckMj9e9/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/chip_8-ab22148b54217d28" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-2f6b1bd22bf8218f.rlib(getrandom-2f6b1bd22bf8218f.getrandom.9dd6b26b289cbbc2-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.1.14/src/util_libc.rs:112:(.text._ZN9getrandom9util_libc13open_readonly17h5f792a8d875e5164E+0x79): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chip-8` (bin "chip-8" test) due to 1 previous error; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8bb1bddd14d29098fdb30ef6d44639a53c2a583091f0938cec1172da2bc24b79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bb1bddd14d29098fdb30ef6d44639a53c2a583091f0938cec1172da2bc24b79", kill_on_drop: false }` [INFO] [stdout] 8bb1bddd14d29098fdb30ef6d44639a53c2a583091f0938cec1172da2bc24b79