[INFO] updating cached repository https://github.com/mchesser/chip8_emu [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d39d291a803058e94d4b91a4a69e07329d56b63c [INFO] testing mchesser/chip8_emu against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmchesser%2Fchip8_emu" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mchesser/chip8_emu on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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-5/source/Cargo.toml [INFO] crate git repo https://github.com/mchesser/chip8_emu already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-5/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 `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/AngryLawyer/rust-sdl2.git` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a2ef5f6adfbf7fe9a2cf4da218ac24473d624f38a28a2b230055496934ee48cf [INFO] running `"docker" "start" "-a" "a2ef5f6adfbf7fe9a2cf4da218ac24473d624f38a28a2b230055496934ee48cf"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling sdl2 v0.34.1 (https://github.com/AngryLawyer/rust-sdl2.git#755f163e) [INFO] [stderr] Compiling clock_ticks v0.1.1 [INFO] [stderr] Compiling sdl2-sys v0.34.0 (https://github.com/AngryLawyer/rust-sdl2.git#755f163e) [INFO] [stderr] Compiling chip8_emu v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `std::iter::range_inclusive` [INFO] [stderr] --> src/chip8/cpu.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::iter::range_inclusive; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `range_inclusive` in `iter` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sdl2::keycode` [INFO] [stderr] --> src/client.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | use sdl2::keycode::KeyCode; [INFO] [stderr] | ^^^^^^^ could not find `keycode` in `sdl2` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ThreadRng` in crate `rand` [INFO] [stderr] --> src/chip8/cpu.rs:86:16 [INFO] [stderr] | [INFO] [stderr] 86 | rng: rand::ThreadRng, [INFO] [stderr] | ^^^^^^^^^ not found in `rand` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rand::prelude::ThreadRng; [INFO] [stderr] | [INFO] [stderr] 1 | use rand::rngs::ThreadRng; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(core)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/client.rs:23:18 [INFO] [stderr] | [INFO] [stderr] 23 | let window = try!(sdl_context.window("CHIP8 Emulator", WIDTH, HEIGHT) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/client.rs:28:24 [INFO] [stderr] | [INFO] [stderr] 28 | let mut renderer = try!(window.renderer().build()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/client.rs:30:32 [INFO] [stderr] | [INFO] [stderr] 30 | let mut emulator_texture = try!(renderer.create_texture(PixelFormatEnum::ARGB8888, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around const expression [INFO] [stderr] --> src/chip8/mem.rs:16:19 [INFO] [stderr] | [INFO] [stderr] 16 | pub ram: [u8; (RAM_SIZE as usize)], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around const expression [INFO] [stderr] --> src/chip8/mem.rs:25:22 [INFO] [stderr] | [INFO] [stderr] 25 | ram: [0; (RAM_SIZE as usize)], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> src/chip8/mem.rs:77:19 [INFO] [stderr] | [INFO] [stderr] 77 | for dy in (0..h) { [INFO] [stderr] | ^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `video` found for enum `std::result::Result` in the current scope [INFO] [stderr] --> src/client.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | let mut sdl_context = sdl2::init().video().unwrap(); [INFO] [stderr] | ^^^^^ method not found in `std::result::Result` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Rng` [INFO] [stderr] --> src/chip8/cpu.rs:1:18 [INFO] [stderr] | [INFO] [stderr] 1 | use rand::{self, Rng}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors; 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0554, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `chip8_emu`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a2ef5f6adfbf7fe9a2cf4da218ac24473d624f38a28a2b230055496934ee48cf"` [INFO] running `"docker" "rm" "-f" "a2ef5f6adfbf7fe9a2cf4da218ac24473d624f38a28a2b230055496934ee48cf"` [INFO] [stdout] a2ef5f6adfbf7fe9a2cf4da218ac24473d624f38a28a2b230055496934ee48cf