[INFO] cloning repository https://github.com/Sniadekk/chip8-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sniadekk/chip8-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSniadekk%2Fchip8-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSniadekk%2Fchip8-emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30dfd7f5d8f415b9ed0f8cd776adc48da7196cf3 [INFO] testing Sniadekk/chip8-emulator/30dfd7f5d8f415b9ed0f8cd776adc48da7196cf3 against master#ebf0cf75d368c035f4c7e7246d203bd469ee4a51 for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSniadekk%2Fchip8-emulator" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Sniadekk/chip8-emulator on toolchain ebf0cf75d368c035f4c7e7246d203bd469ee4a51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Sniadekk/chip8-emulator [INFO] finished tweaking git repo https://github.com/Sniadekk/chip8-emulator [INFO] tweaked toml for git repo https://github.com/Sniadekk/chip8-emulator written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Sniadekk/chip8-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" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6593626a557488c07be9f01cfcbe600af8be9b16360592374cdee9ec0dea8566 [INFO] running `Command { std: "docker" "start" "-a" "6593626a557488c07be9f01cfcbe600af8be9b16360592374cdee9ec0dea8566", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6593626a557488c07be9f01cfcbe600af8be9b16360592374cdee9ec0dea8566", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6593626a557488c07be9f01cfcbe600af8be9b16360592374cdee9ec0dea8566", kill_on_drop: false }` [INFO] [stdout] 6593626a557488c07be9f01cfcbe600af8be9b16360592374cdee9ec0dea8566 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d29357d11287a0cb6b8892f499882e0b5700c1a4075bbfcc62fab4873d26712b [INFO] running `Command { std: "docker" "start" "-a" "d29357d11287a0cb6b8892f499882e0b5700c1a4075bbfcc62fab4873d26712b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling rand_core v0.2.1 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl2 v0.31.0 [INFO] [stderr] Compiling chip8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/graphics.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | for j in range(0, n) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/graphics.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | for i in range(0, 8) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/chip8.rs:255:33 [INFO] [stdout] | [INFO] [stdout] 255 | fn get_addr(&self) -> u16 { (self.op_code & 0x0FFF) } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 255 - fn get_addr(&self) -> u16 { (self.op_code & 0x0FFF) } [INFO] [stdout] 255 + fn get_addr(&self) -> u16 { self.op_code & 0x0FFF } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `v` on type `&mut Chip8` [INFO] [stdout] --> src/chip8.rs:239:22 [INFO] [stdout] | [INFO] [stdout] 239 | let x = self.v[self.get_x()]; [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 239 - let x = self.v[self.get_x()]; [INFO] [stdout] 239 + let x = self.i[self.get_x()]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `v` on type `&mut Chip8` [INFO] [stdout] --> src/chip8.rs:240:22 [INFO] [stdout] | [INFO] [stdout] 240 | let y = self.v[self.get_y()]; [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 240 - let y = self.v[self.get_y()]; [INFO] [stdout] 240 + let y = self.i[self.get_y()]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `gfx` on type `&mut graphics::Display` [INFO] [stdout] --> src/graphics.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | if self.gfx[yj][xi] == 1 { collision = 1 } [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `screen`, `should_draw`, `canvas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `gfx` on type `&mut graphics::Display` [INFO] [stdout] --> src/graphics.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | self.gfx[yj][xi] ^= 1; [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `screen`, `should_draw`, `canvas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut canvas = window.into_canvas().present_vsync().build().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] Some errors have detailed explanations: E0425, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chip8` (bin "chip8") due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d29357d11287a0cb6b8892f499882e0b5700c1a4075bbfcc62fab4873d26712b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d29357d11287a0cb6b8892f499882e0b5700c1a4075bbfcc62fab4873d26712b", kill_on_drop: false }` [INFO] [stdout] d29357d11287a0cb6b8892f499882e0b5700c1a4075bbfcc62fab4873d26712b