[INFO] cloning repository https://github.com/anujgtm1/Chip8 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anujgtm1/Chip8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanujgtm1%2FChip8", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanujgtm1%2FChip8'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c2c400376120f4acce13b93c139db58588121c48 [INFO] testing anujgtm1/Chip8 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%2Fanujgtm1%2FChip8" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/anujgtm1/Chip8 [INFO] finished tweaking git repo https://github.com/anujgtm1/Chip8 [INFO] tweaked toml for git repo https://github.com/anujgtm1/Chip8 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/anujgtm1/Chip8 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/anujgtm1/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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 6bd41e8aeb65727509e75fb3bad6f39110ee0bae6a4f1ead99b050503c0007a5 [INFO] running `Command { std: "docker" "start" "-a" "6bd41e8aeb65727509e75fb3bad6f39110ee0bae6a4f1ead99b050503c0007a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6bd41e8aeb65727509e75fb3bad6f39110ee0bae6a4f1ead99b050503c0007a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bd41e8aeb65727509e75fb3bad6f39110ee0bae6a4f1ead99b050503c0007a5", kill_on_drop: false }` [INFO] [stdout] 6bd41e8aeb65727509e75fb3bad6f39110ee0bae6a4f1ead99b050503c0007a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 851d5d5b345025022d13a316da88a30a35cb8f1d683fbaea97ddc97dd166c9b5 [INFO] running `Command { std: "docker" "start" "-a" "851d5d5b345025022d13a316da88a30a35cb8f1d683fbaea97ddc97dd166c9b5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling sdl2 v0.34.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling sdl2-sys v0.34.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling signal-hook v0.1.15 [INFO] [stderr] Compiling crossterm v0.17.4 [INFO] [stderr] Compiling tui v0.9.4 [INFO] [stderr] Compiling chip8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::Error` [INFO] [stdout] --> src/cpu.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EnterAlternateScreen`, `Event as CEvent`, `KeyCode`, `LeaveAlternateScreen`, `disable_raw_mode`, `enable_raw_mode`, `execute`, and `self` [INFO] [stdout] --> src/debug.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | event::{self, Event as CEvent, KeyCode}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 6 | execute, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | terminal::{disable_raw_mode, enable_raw_mode, EnterAlternateScreen, LeaveAlternateScreen}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Widget` [INFO] [stdout] --> src/debug.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | use tui::widgets::{Widget, Block, Borders}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Constraint`, `Direction`, and `Layout` [INFO] [stdout] --> src/debug.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use tui::layout::{Layout, Constraint, Direction}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `FONT_START` is never used [INFO] [stdout] --> src/memory.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | static FONT_START: u16 = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `FONT_SIZE` is never used [INFO] [stdout] --> src/memory.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | static FONT_SIZE: u8 = 5; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Memory` is never constructed [INFO] [stdout] --> src/memory.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Memory { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/memory.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Memory { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 13 | [INFO] [stdout] 14 | pub fn new() -> Memory { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn mock() -> Memory { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn read(&self, address: &u16) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn write(&mut self, address: &u16, data: &u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn load_fonts(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn load_data(&mut self, start_address: &u16, data: &Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn get_font_address(&self, font: &u8) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn read_instruction(&self, address: &u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `FONT_SET` is never used [INFO] [stdout] --> src/memory.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | static FONT_SET: [u8; 80] = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REGISTER_SIZE` is never used [INFO] [stdout] --> src/cpu.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const REGISTER_SIZE: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STACK_SIZE` is never used [INFO] [stdout] --> src/cpu.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const STACK_SIZE: usize = 16; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CPU` is never constructed [INFO] [stdout] --> src/cpu.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cpu.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl CPU { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 22 | pub fn new(bus: Bus) -> CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn mock() -> CPU { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn fetch_opcode(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn decode(&self, opcode: u16) -> Instruction { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn inc_pc(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn set_pc(&mut self, pc: &u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get_register(&self, register: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn set_register(&mut self, register: u8, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn execute_opcode(&mut self, ins: Instruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bus` is never constructed [INFO] [stdout] --> src/bus.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Bus { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `mock` and `new` are never used [INFO] [stdout] --> src/bus.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Bus { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 17 | [INFO] [stdout] 18 | pub fn mock() -> Bus { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn new() -> Bus { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crossterm_terminal` is never used [INFO] [stdout] --> src/debug.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn crossterm_terminal() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Graphics` is never constructed [INFO] [stdout] --> src/graphics.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Graphics { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `mock` are never used [INFO] [stdout] --> src/graphics.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Graphics { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 12 | pub fn new() -> Graphics { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn mock() -> Graphics { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sdl_demo` is never used [INFO] [stdout] --> src/graphics.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn sdl_demo() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Input` is never constructed [INFO] [stdout] --> src/input.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `mock` are never used [INFO] [stdout] --> src/input.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Input { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 6 | pub fn new() -> Input { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn mock() -> Input { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sound` is never constructed [INFO] [stdout] --> src/sound.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Sound { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `mock` and `new` are never used [INFO] [stdout] --> src/sound.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Sound { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 6 | [INFO] [stdout] 7 | pub fn mock() -> Sound { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn new() -> Sound { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Address` is never used [INFO] [stdout] --> src/instructions.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | type Address = u16; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `HalfWord` is never used [INFO] [stdout] --> src/instructions.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | type HalfWord = u8; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Instruction` is never used [INFO] [stdout] --> src/instructions.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_first_nibble` is never used [INFO] [stdout] --> src/instructions.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn get_first_nibble(value: &u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_second_nibble` is never used [INFO] [stdout] --> src/instructions.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn get_second_nibble(value: &u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_third_nibble` is never used [INFO] [stdout] --> src/instructions.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn get_third_nibble(value: &u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_last_nibble` is never used [INFO] [stdout] --> src/instructions.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn get_last_nibble(value: &u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_last_byte` is never used [INFO] [stdout] --> src/instructions.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn get_last_byte(value: &u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_first_byte` is never used [INFO] [stdout] --> src/instructions.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn get_first_byte(value: &u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_last_3_nibbles` is never used [INFO] [stdout] --> src/instructions.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn get_last_3_nibbles(value: &u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `fetch_opcode` is never used [INFO] [stdout] --> src/instructions.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl Instruction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 75 | pub fn fetch_opcode(word: &u16) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `I` should have a snake case name [INFO] [stdout] --> src/cpu.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub I : u16, // Special register used to store addresses [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `VF` should have a snake case name [INFO] [stdout] --> src/cpu.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub VF: u8, // Flag Register [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PC` should have a snake case name [INFO] [stdout] --> src/cpu.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub PC: u16, // Program Counter [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SP` should have a snake case name [INFO] [stdout] --> src/cpu.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub SP: usize, // Stack Pointer [INFO] [stdout] | ^^ help: convert the identifier to snake case: `sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DT` should have a snake case name [INFO] [stdout] --> src/cpu.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub DT: u8, // Delay Timer (Automatically decremented at a rate of 60Hz if set) [INFO] [stdout] | ^^ help: convert the identifier to snake case: `dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ST` should have a snake case name [INFO] [stdout] --> src/cpu.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub ST: u8, // Sound Timer (Automatically decremented at a rate of 60Hz if set) Buzzer will soudn if ST > 0 [INFO] [stdout] | ^^ help: convert the identifier to snake case: `st` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.68s [INFO] running `Command { std: "docker" "inspect" "851d5d5b345025022d13a316da88a30a35cb8f1d683fbaea97ddc97dd166c9b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "851d5d5b345025022d13a316da88a30a35cb8f1d683fbaea97ddc97dd166c9b5", kill_on_drop: false }` [INFO] [stdout] 851d5d5b345025022d13a316da88a30a35cb8f1d683fbaea97ddc97dd166c9b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 499c1b6e26695c491012f5c08a33ae0dedc87275cdbe74ab4e4bac23b8da5963 [INFO] running `Command { std: "docker" "start" "-a" "499c1b6e26695c491012f5c08a33ae0dedc87275cdbe74ab4e4bac23b8da5963", kill_on_drop: false }` [INFO] [stderr] Compiling chip8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::Error` [INFO] [stdout] --> src/cpu.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EnterAlternateScreen`, `Event as CEvent`, `KeyCode`, `LeaveAlternateScreen`, `disable_raw_mode`, `enable_raw_mode`, `execute`, and `self` [INFO] [stdout] --> src/debug.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | event::{self, Event as CEvent, KeyCode}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 6 | execute, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | terminal::{disable_raw_mode, enable_raw_mode, EnterAlternateScreen, LeaveAlternateScreen}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Widget` [INFO] [stdout] --> src/debug.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | use tui::widgets::{Widget, Block, Borders}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Constraint`, `Direction`, and `Layout` [INFO] [stdout] --> src/debug.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use tui::layout::{Layout, Constraint, Direction}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `DT` and `ST` are never read [INFO] [stdout] --> src/cpu.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 9 | struct CPU { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub DT: u8, // Delay Timer (Automatically decremented at a rate of 60Hz if set) [INFO] [stdout] | ^^ [INFO] [stdout] 17 | pub ST: u8, // Sound Timer (Automatically decremented at a rate of 60Hz if set) Buzzer will soudn if ST > 0 [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input`, `graphics`, and `sound` are never read [INFO] [stdout] --> src/bus.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Bus { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub input: Input, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | pub graphics: Graphics, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | pub sound: Sound, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bus.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Bus { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn new() -> Bus { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crossterm_terminal` is never used [INFO] [stdout] --> src/debug.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn crossterm_terminal() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/graphics.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Graphics { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new() -> Graphics { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sdl_demo` is never used [INFO] [stdout] --> src/graphics.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn sdl_demo() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/input.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Input { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 6 | pub fn new() -> Input { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sound.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Sound { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn new() -> Sound { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Address` is never used [INFO] [stdout] --> src/instructions.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | type Address = u16; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `HalfWord` is never used [INFO] [stdout] --> src/instructions.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | type HalfWord = u8; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_first_byte` is never used [INFO] [stdout] --> src/instructions.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn get_first_byte(value: &u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `I` should have a snake case name [INFO] [stdout] --> src/cpu.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub I : u16, // Special register used to store addresses [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `VF` should have a snake case name [INFO] [stdout] --> src/cpu.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub VF: u8, // Flag Register [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PC` should have a snake case name [INFO] [stdout] --> src/cpu.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub PC: u16, // Program Counter [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SP` should have a snake case name [INFO] [stdout] --> src/cpu.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub SP: usize, // Stack Pointer [INFO] [stdout] | ^^ help: convert the identifier to snake case: `sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DT` should have a snake case name [INFO] [stdout] --> src/cpu.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub DT: u8, // Delay Timer (Automatically decremented at a rate of 60Hz if set) [INFO] [stdout] | ^^ help: convert the identifier to snake case: `dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ST` should have a snake case name [INFO] [stdout] --> src/cpu.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub ST: u8, // Sound Timer (Automatically decremented at a rate of 60Hz if set) Buzzer will soudn if ST > 0 [INFO] [stdout] | ^^ help: convert the identifier to snake case: `st` [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/rustc8zHSna/symbols.o" "<3 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/{libtui-36247c1706eb1b69.rlib,libeither-2d3916eb60995c61.rlib,libcassowary-320fe38210946833.rlib,libunicode_width-ff270229995c0ad3.rlib,libunicode_segmentation-a15d8b2804aa578b.rlib,libcrossterm-e4e8e60c5febfd04.rlib,libsignal_hook-e1804ff97bed3db3.rlib,libsignal_hook_registry-ab43837af8302362.rlib,libarc_swap-be3f82655bd39fbf.rlib,libmio-0661468ba06fb76f.rlib,liblog-0458da19e351a080.rlib,libslab-7c577fd9ceb1ab41.rlib,libiovec-55a2024208a3efc5.rlib,libnet2-c1e28e3cde0c25f7.rlib,libparking_lot-64e59f35ef7981e5.rlib,libparking_lot_core-fc28a3d6ee2f4067.rlib,libsmallvec-ff85ea5cc5b76fc1.rlib,liblock_api-6f337b257994d935.rlib,libscopeguard-73056285f12cb829.rlib,librand-c84c63b784e10a48.rlib,librand_chacha-63713669365c8ad9.rlib,libppv_lite86-ef53971f935c91f9.rlib,librand_core-29238f07e99ca3a9.rlib,libgetrandom-b001e111a35d1582.rlib,libcfg_if-2d17986ae484e939.rlib,libbyteorder-549def2b2525ef52.rlib,libsdl2-4c599de077381ef6.rlib,libsdl2_sys-731faeca25973aeb.rlib}.rlib" "-lSDL2" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libbitflags-561a4f1321538a32.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,liblibc-1bfb14144ff3dbe9.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/rustc8zHSna/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/chip8-f08728d38fb1c0c6" "-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-b001e111a35d1582.rlib(getrandom-b001e111a35d1582.getrandom.bde1965eeab57b0c-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_readonly17hc40c764d571f9188E+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 `chip8` (bin "chip8" test) due to 1 previous error; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "499c1b6e26695c491012f5c08a33ae0dedc87275cdbe74ab4e4bac23b8da5963", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "499c1b6e26695c491012f5c08a33ae0dedc87275cdbe74ab4e4bac23b8da5963", kill_on_drop: false }` [INFO] [stdout] 499c1b6e26695c491012f5c08a33ae0dedc87275cdbe74ab4e4bac23b8da5963