[INFO] cloning repository https://github.com/mchesser/chip8_emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mchesser/chip8_emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmchesser%2Fchip8_emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmchesser%2Fchip8_emu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d39d291a803058e94d4b91a4a69e07329d56b63c [INFO] checking mchesser/chip8_emu against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmchesser%2Fchip8_emu" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mchesser/chip8_emu on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mchesser/chip8_emu [INFO] finished tweaking git repo https://github.com/mchesser/chip8_emu [INFO] tweaked toml for git repo https://github.com/mchesser/chip8_emu written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/mchesser/chip8_emu already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/AngryLawyer/rust-sdl2.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4291cc3366b94fe2826150cdb19525dab8c595ff9e11a3a4142e0fce14dce913 [INFO] running `Command { std: "docker" "start" "-a" "4291cc3366b94fe2826150cdb19525dab8c595ff9e11a3a4142e0fce14dce913", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4291cc3366b94fe2826150cdb19525dab8c595ff9e11a3a4142e0fce14dce913", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4291cc3366b94fe2826150cdb19525dab8c595ff9e11a3a4142e0fce14dce913", kill_on_drop: false }` [INFO] [stdout] 4291cc3366b94fe2826150cdb19525dab8c595ff9e11a3a4142e0fce14dce913 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9e4b27a68e1ede9c36ecd97c0d45b54ff11a3a63f86b0933580ed7ea36b77e8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c9e4b27a68e1ede9c36ecd97c0d45b54ff11a3a63f86b0933580ed7ea36b77e8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling sdl2 v0.34.3 (https://github.com/AngryLawyer/rust-sdl2.git#ed465322) [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking clock_ticks v0.1.1 [INFO] [stderr] Compiling sdl2-sys v0.34.3 (https://github.com/AngryLawyer/rust-sdl2.git#ed465322) [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 chip8_emu v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::iter::range_inclusive` [INFO] [stdout] --> src/chip8/cpu.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::range_inclusive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `range_inclusive` in `iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sdl2::keycode` [INFO] [stdout] --> src/client.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use sdl2::keycode::KeyCode; [INFO] [stdout] | ^^^^^^^ could not find `keycode` in `sdl2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::iter::range_inclusive` [INFO] [stdout] --> src/chip8/cpu.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::range_inclusive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `range_inclusive` in `iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sdl2::keycode` [INFO] [stdout] --> src/client.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use sdl2::keycode::KeyCode; [INFO] [stdout] | ^^^^^^^ could not find `keycode` in `sdl2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ThreadRng` in crate `rand` [INFO] [stdout] --> src/chip8/cpu.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | rng: rand::ThreadRng, [INFO] [stdout] | ^^^^^^^^^ not found in `rand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use rand::rngs::ThreadRng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let window = try!(sdl_context.window("CHIP8 Emulator", WIDTH, HEIGHT) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | let mut renderer = try!(window.renderer().build()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | let mut emulator_texture = try!(renderer.create_texture(PixelFormatEnum::ARGB8888, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/chip8/mem.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub ram: [u8; (RAM_SIZE as usize)], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/chip8/mem.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | ram: [0; (RAM_SIZE as usize)], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/chip8/mem.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | for dy in (0..h) { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ThreadRng` in crate `rand` [INFO] [stdout] --> src/chip8/cpu.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | rng: rand::ThreadRng, [INFO] [stdout] | ^^^^^^^^^ not found in `rand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use rand::rngs::ThreadRng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let window = try!(sdl_context.window("CHIP8 Emulator", WIDTH, HEIGHT) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | let mut renderer = try!(window.renderer().build()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | let mut emulator_texture = try!(renderer.create_texture(PixelFormatEnum::ARGB8888, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/chip8/mem.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub ram: [u8; (RAM_SIZE as usize)], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/chip8/mem.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | ram: [0; (RAM_SIZE as usize)], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/chip8/mem.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | for dy in (0..h) { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `video` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/client.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | let mut sdl_context = sdl2::init().video().unwrap(); [INFO] [stdout] | ^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/chip8/cpu.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::{self, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chip8_emu` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `video` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/client.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | let mut sdl_context = sdl2::init().video().unwrap(); [INFO] [stdout] | ^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/chip8/cpu.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::{self, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c9e4b27a68e1ede9c36ecd97c0d45b54ff11a3a63f86b0933580ed7ea36b77e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9e4b27a68e1ede9c36ecd97c0d45b54ff11a3a63f86b0933580ed7ea36b77e8", kill_on_drop: false }` [INFO] [stdout] c9e4b27a68e1ede9c36ecd97c0d45b54ff11a3a63f86b0933580ed7ea36b77e8