[INFO] cloning repository https://github.com/kam1tsur3/rust-nes-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kam1tsur3/rust-nes-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkam1tsur3%2Frust-nes-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkam1tsur3%2Frust-nes-emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 00ceb2d721ab02d10e1031fdd073508b77724ab2 [INFO] checking kam1tsur3/rust-nes-emulator against try#a0cd57eba5d417638d3351ba13fc414ad1a24bec for pr-134688-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkam1tsur3%2Frust-nes-emulator" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kam1tsur3/rust-nes-emulator on toolchain a0cd57eba5d417638d3351ba13fc414ad1a24bec [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kam1tsur3/rust-nes-emulator [INFO] finished tweaking git repo https://github.com/kam1tsur3/rust-nes-emulator [INFO] tweaked toml for git repo https://github.com/kam1tsur3/rust-nes-emulator written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kam1tsur3/rust-nes-emulator 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" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a1b44c24f4db095298f72a83a7a9952fd4261663cb6d77de8cbd6a55532fb8d [INFO] running `Command { std: "docker" "start" "-a" "0a1b44c24f4db095298f72a83a7a9952fd4261663cb6d77de8cbd6a55532fb8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a1b44c24f4db095298f72a83a7a9952fd4261663cb6d77de8cbd6a55532fb8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a1b44c24f4db095298f72a83a7a9952fd4261663cb6d77de8cbd6a55532fb8d", kill_on_drop: false }` [INFO] [stdout] 0a1b44c24f4db095298f72a83a7a9952fd4261663cb6d77de8cbd6a55532fb8d [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0922e8673e55ae9d0e7dc359ef997445565caf785082949167f9f7dcbc0d0ae0 [INFO] running `Command { std: "docker" "start" "-a" "0922e8673e55ae9d0e7dc359ef997445565caf785082949167f9f7dcbc0d0ae0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling sdl2 v0.34.5 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling sdl2-sys v0.34.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking nes-emulator-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/cpu.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/cpu.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FOUR_SCREEN` should have an upper camel case name [INFO] [stdout] --> src/cartridge.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | FOUR_SCREEN, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `FourScreen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FOUR_SCREEN` should have an upper camel case name [INFO] [stdout] --> src/cartridge.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | FOUR_SCREEN, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `FourScreen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/cpu.rs:530:15 [INFO] [stdout] | [INFO] [stdout] 530 | let data = self.mem_read(addr); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/cpu.rs:530:15 [INFO] [stdout] | [INFO] [stdout] 530 | let data = self.mem_read(addr); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address_lo` [INFO] [stdout] --> src/trace.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | let address_lo = cpu.mem_read(cpu.program_counter + 1); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address_lo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address_hi` [INFO] [stdout] --> src/trace.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | let address_hi = cpu.mem_read(cpu.program_counter + 2); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address_hi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address_lo` [INFO] [stdout] --> src/trace.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | let address_lo = cpu.mem_read(cpu.program_counter + 1); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address_lo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address_hi` [INFO] [stdout] --> src/trace.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | let address_hi = cpu.mem_read(cpu.program_counter + 2); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address_hi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_pump` [INFO] [stdout] --> src/main.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | let mut event_pump = sdl_context.event_pump().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_pump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_pump` [INFO] [stdout] --> src/main.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | let mut event_pump = sdl_context.event_pump().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_pump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture` [INFO] [stdout] --> src/main.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | let mut texture = creator [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture` [INFO] [stdout] --> src/main.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | let mut texture = creator [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:94:7 [INFO] [stdout] | [INFO] [stdout] 94 | let mut event_pump = sdl_context.event_pump().unwrap(); [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:98:7 [INFO] [stdout] | [INFO] [stdout] 98 | let mut texture = creator [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:94:7 [INFO] [stdout] | [INFO] [stdout] 94 | let mut event_pump = sdl_context.event_pump().unwrap(); [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: function `color` is never used [INFO] [stdout] --> src/main.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn color(byte: u8) -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_screen_state` is never used [INFO] [stdout] --> src/main.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn read_screen_state(cpu: &mut CPU, frame: &mut [u8; 32 * 3 * 32]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:98:7 [INFO] [stdout] | [INFO] [stdout] 98 | let mut texture = creator [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_user_input` is never used [INFO] [stdout] --> src/main.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn handle_user_input(cpu: &mut CPU, event_pump: &mut EventPump) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PPU_REGISTERS` is never used [INFO] [stdout] --> src/bus.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const PPU_REGISTERS: u16 = 0x2000; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/trace.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | write!(byte_codes,"{:02x} ", cpu.mem_read(cpu.program_counter+(i as u16))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/trace.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | write!(asm_str, "{} ", opcode.mnemonic); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `color` is never used [INFO] [stdout] --> src/main.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn color(byte: u8) -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_screen_state` is never used [INFO] [stdout] --> src/main.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn read_screen_state(cpu: &mut CPU, frame: &mut [u8; 32 * 3 * 32]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_user_input` is never used [INFO] [stdout] --> src/main.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn handle_user_input(cpu: &mut CPU, event_pump: &mut EventPump) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PPU_REGISTERS` is never used [INFO] [stdout] --> src/bus.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const PPU_REGISTERS: u16 = 0x2000; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/trace.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | write!(byte_codes,"{:02x} ", cpu.mem_read(cpu.program_counter+(i as u16))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/trace.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | write!(asm_str, "{} ", opcode.mnemonic); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.40s [INFO] running `Command { std: "docker" "inspect" "0922e8673e55ae9d0e7dc359ef997445565caf785082949167f9f7dcbc0d0ae0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0922e8673e55ae9d0e7dc359ef997445565caf785082949167f9f7dcbc0d0ae0", kill_on_drop: false }` [INFO] [stdout] 0922e8673e55ae9d0e7dc359ef997445565caf785082949167f9f7dcbc0d0ae0