[INFO] updating cached repository https://github.com/mikezaby/chip-8.rs
[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] dce26ea5adaf9d9c9a2e3b9227594e9db1d0f90c
[INFO] checking mikezaby/chip-8.rs against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikezaby%2Fchip-8.rs" "/workspace/builds/worker-0/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mikezaby/chip-8.rs on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/mikezaby/chip-8.rs
[INFO] finished tweaking git repo https://github.com/mikezaby/chip-8.rs
[INFO] tweaked toml for git repo https://github.com/mikezaby/chip-8.rs written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/mikezaby/chip-8.rs already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-0/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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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/brson/rust-sdl.git`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=forbid" "-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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 198abaa762f3dcda9584887ac7abbf52409b01c8462cc20552e3c86556971dcc
[INFO] running `"docker" "start" "-a" "198abaa762f3dcda9584887ac7abbf52409b01c8462cc20552e3c86556971dcc"`
[INFO] [stderr]     Checking sdl v0.3.6 (https://github.com/brson/rust-sdl.git#78bd0e74)
[INFO] [stderr]     Checking chip8 v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr] error: expected parameter name, found `:`
[INFO] [stderr]   --> src/display.rs:54:20
[INFO] [stderr]    |
[INFO] [stderr] 54 |         let pt = |&: p: usize| { (p as i16) * (scale as i16) };
[INFO] [stderr]    |                    ^ expected parameter name
[INFO] [stderr] 
[INFO] [stderr] error: expected parameter name, found `:`
[INFO] [stderr]   --> src/display.rs:54:20
[INFO] [stderr]    |
[INFO] [stderr] 54 |         let pt = |&: p: usize| { (p as i16) * (scale as i16) };
[INFO] [stderr]    |                    ^ expected parameter name
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::io::File`
[INFO] [stderr]  --> src/cpu.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::io::File;
[INFO] [stderr]   |     ^^^^^^^^^^^^^ no `File` in `io`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::io::fs`
[INFO] [stderr]  --> src/cpu.rs:2:14
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::io::fs::PathExtensions;
[INFO] [stderr]   |              ^^ could not find `fs` in `io`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::rand`
[INFO] [stderr]  --> src/cpu.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::rand;
[INFO] [stderr]   |     ^^^^^^^^^ no `rand` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::io::File`
[INFO] [stderr]  --> src/cpu.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::io::File;
[INFO] [stderr]   |     ^^^^^^^^^^^^^ no `File` in `io`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `range` in this scope
[INFO] [stderr]   --> src/cpu.rs:39:18
[INFO] [stderr]    |
[INFO] [stderr] 39 |         for i in range(0, 80) { cpu.memory[i] = fontset[i]; }
[INFO] [stderr]    |                  ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `range` in this scope
[INFO] [stderr]   --> src/cpu.rs:54:18
[INFO] [stderr]    |
[INFO] [stderr] 54 |         for i in range(0, 10000) { }
[INFO] [stderr]    |                  ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `getcwd` in module `os`
[INFO] [stderr]   --> src/cpu.rs:58:28
[INFO] [stderr]    |
[INFO] [stderr] 58 |         let mut path = os::getcwd().unwrap();
[INFO] [stderr]    |                            ^^^^^^ not found in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `range` in this scope
[INFO] [stderr]    --> src/cpu.rs:227:26
[INFO] [stderr]     |
[INFO] [stderr] 227 |                 for i in range(0, self.op_x() + 1) {
[INFO] [stderr]     |                          ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `range` in this scope
[INFO] [stderr]    --> src/cpu.rs:233:26
[INFO] [stderr]     |
[INFO] [stderr] 233 |                 for i in range(0, self.op_x() + 1) {
[INFO] [stderr]     |                          ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `range` in this scope
[INFO] [stderr]    --> src/cpu.rs:250:18
[INFO] [stderr]     |
[INFO] [stderr] 250 |         for i in range(0u8, 16) {
[INFO] [stderr]     |                  ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `range` in this scope
[INFO] [stderr]   --> src/display.rs:34:18
[INFO] [stderr]    |
[INFO] [stderr] 34 |         for j in range(0, n) {
[INFO] [stderr]    |                  ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::io::fs`
[INFO] [stderr]  --> src/cpu.rs:2:14
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::io::fs::PathExtensions;
[INFO] [stderr]   |              ^^ could not find `fs` in `io`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::rand`
[INFO] [stderr]  --> src/cpu.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::rand;
[INFO] [stderr]   |     ^^^^^^^^^ no `rand` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `range` in this scope
[INFO] [stderr]   --> src/display.rs:35:22
[INFO] [stderr]    |
[INFO] [stderr] 35 |             for i in range(0, 8) {
[INFO] [stderr]    |                      ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stderr]   --> src/cpu.rs:78:15
[INFO] [stderr]    |
[INFO] [stderr] 78 |         match (self.opcode & 0xf000) {
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `sdl::Rect`
[INFO] [stderr]  --> src/display.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use sdl::Rect;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `range` in this scope
[INFO] [stderr]   --> src/cpu.rs:39:18
[INFO] [stderr]    |
[INFO] [stderr] 39 |         for i in range(0, 80) { cpu.memory[i] = fontset[i]; }
[INFO] [stderr]    |                  ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `range` in this scope
[INFO] [stderr]   --> src/cpu.rs:54:18
[INFO] [stderr]    |
[INFO] [stderr] 54 |         for i in range(0, 10000) { }
[INFO] [stderr]    |                  ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `getcwd` in module `os`
[INFO] [stderr]   --> src/cpu.rs:58:28
[INFO] [stderr]    |
[INFO] [stderr] 58 |         let mut path = os::getcwd().unwrap();
[INFO] [stderr]    |                            ^^^^^^ not found in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `range` in this scope
[INFO] [stderr]    --> src/cpu.rs:227:26
[INFO] [stderr]     |
[INFO] [stderr] 227 |                 for i in range(0, self.op_x() + 1) {
[INFO] [stderr]     |                          ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `range` in this scope
[INFO] [stderr]    --> src/cpu.rs:233:26
[INFO] [stderr]     |
[INFO] [stderr] 233 |                 for i in range(0, self.op_x() + 1) {
[INFO] [stderr]     |                          ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `range` in this scope
[INFO] [stderr]    --> src/cpu.rs:250:18
[INFO] [stderr]     |
[INFO] [stderr] 250 |         for i in range(0u8, 16) {
[INFO] [stderr]     |                  ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `range` in this scope
[INFO] [stderr]   --> src/display.rs:34:18
[INFO] [stderr]    |
[INFO] [stderr] 34 |         for j in range(0, n) {
[INFO] [stderr]    |                  ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `range` in this scope
[INFO] [stderr]   --> src/display.rs:35:22
[INFO] [stderr]    |
[INFO] [stderr] 35 |             for i in range(0, 8) {
[INFO] [stderr]    |                      ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stderr]   --> src/cpu.rs:78:15
[INFO] [stderr]    |
[INFO] [stderr] 78 |         match (self.opcode & 0xf000) {
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `sdl::Rect`
[INFO] [stderr]  --> src/display.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use sdl::Rect;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stderr]   --> src/main.rs:16:35
[INFO] [stderr]    |
[INFO] [stderr] 16 |     let input_value = io::stdin().read_line().ok().expect("Failed to read line");
[INFO] [stderr]    |                                   ^^^^^^^^^- supplied 0 arguments
[INFO] [stderr]    |                                   |
[INFO] [stderr]    |                                   expected 1 argument
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stderr]   --> src/main.rs:16:35
[INFO] [stderr]    |
[INFO] [stderr] 16 |     let input_value = io::stdin().read_line().ok().expect("Failed to read line");
[INFO] [stderr]    |                                   ^^^^^^^^^- supplied 0 arguments
[INFO] [stderr]    |                                   |
[INFO] [stderr]    |                                   expected 1 argument
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `slice` found for array `[u8; 4096]` in the current scope
[INFO] [stderr]    --> src/cpu.rs:200:76
[INFO] [stderr]     |
[INFO] [stderr] 200 |         self.v[15] = self.display.draw(x as usize, y as usize, self.memory.slice(from, to));
[INFO] [stderr]     |                                                                            ^^^^^ method not found in `[u8; 4096]`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `slice` found for array `[u8; 4096]` in the current scope
[INFO] [stderr]    --> src/cpu.rs:200:76
[INFO] [stderr]     |
[INFO] [stderr] 200 |         self.v[15] = self.display.draw(x as usize, y as usize, self.memory.slice(from, to));
[INFO] [stderr]     |                                                                            ^^^^^ method not found in `[u8; 4096]`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 14 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0061, E0425, E0432, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0061`.
[INFO] [stderr] error: could not compile `chip8`.
[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] [stderr] error: aborting due to 14 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0061, E0425, E0432, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0061`.
[INFO] [stderr] error: could not compile `chip8`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "198abaa762f3dcda9584887ac7abbf52409b01c8462cc20552e3c86556971dcc"`
[INFO] running `"docker" "rm" "-f" "198abaa762f3dcda9584887ac7abbf52409b01c8462cc20552e3c86556971dcc"`
[INFO] [stdout] 198abaa762f3dcda9584887ac7abbf52409b01c8462cc20552e3c86556971dcc
