[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] checking Sniadekk/chip8-emulator/30dfd7f5d8f415b9ed0f8cd776adc48da7196cf3 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSniadekk%2Fchip8-emulator" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Sniadekk/chip8-emulator on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-0-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3f55e0cef5e8c78a8293323ac56b40c4ea6a6c5896b4007ff7dba17cfb139d2 [INFO] running `Command { std: "docker" "start" "-a" "d3f55e0cef5e8c78a8293323ac56b40c4ea6a6c5896b4007ff7dba17cfb139d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3f55e0cef5e8c78a8293323ac56b40c4ea6a6c5896b4007ff7dba17cfb139d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3f55e0cef5e8c78a8293323ac56b40c4ea6a6c5896b4007ff7dba17cfb139d2", kill_on_drop: false }` [INFO] [stdout] d3f55e0cef5e8c78a8293323ac56b40c4ea6a6c5896b4007ff7dba17cfb139d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8c67cc5357b07d2b6ec54db1d3600cc41fc407950e04ad7321c5a245b2f6330 [INFO] running `Command { std: "docker" "start" "-a" "c8c67cc5357b07d2b6ec54db1d3600cc41fc407950e04ad7321c5a245b2f6330", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking num-integer v0.1.39 [INFO] [stderr] Checking num-iter v0.1.37 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking sdl2 v0.31.0 [INFO] [stderr] Checking 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: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] 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] 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.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.i[self.get_y()]; [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.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.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] 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] 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] error: aborting due to 6 previous errors; 2 warnings emitted [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] [stdout] error: aborting due to 6 previous errors; 2 warnings emitted [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 7 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `chip8` (bin "chip8" test) due to 7 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c8c67cc5357b07d2b6ec54db1d3600cc41fc407950e04ad7321c5a245b2f6330", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8c67cc5357b07d2b6ec54db1d3600cc41fc407950e04ad7321c5a245b2f6330", kill_on_drop: false }` [INFO] [stdout] c8c67cc5357b07d2b6ec54db1d3600cc41fc407950e04ad7321c5a245b2f6330