[INFO] updating cached repository mikezaby/chip-8.rs [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/mikezaby/chip-8.rs [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/mikezaby/chip-8.rs" "work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/mikezaby/chip-8.rs"` [INFO] [stderr] Cloning into 'work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/mikezaby/chip-8.rs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/mikezaby/chip-8.rs" "work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/gh/mikezaby/chip-8.rs"` [INFO] [stderr] Cloning into 'work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/gh/mikezaby/chip-8.rs'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] dce26ea5adaf9d9c9a2e3b9227594e9db1d0f90c [INFO] sha for GitHub repo mikezaby/chip-8.rs: dce26ea5adaf9d9c9a2e3b9227594e9db1d0f90c [INFO] validating manifest of mikezaby/chip-8.rs on toolchain master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of mikezaby/chip-8.rs on toolchain try#58b21121d0b447ceb3f1a655155d802191acf044 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing mikezaby/chip-8.rs [INFO] finished frobbing mikezaby/chip-8.rs [INFO] frobbed toml for mikezaby/chip-8.rs written to work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/mikezaby/chip-8.rs/Cargo.toml [INFO] started frobbing mikezaby/chip-8.rs [INFO] finished frobbing mikezaby/chip-8.rs [INFO] frobbed toml for mikezaby/chip-8.rs written to work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/gh/mikezaby/chip-8.rs/Cargo.toml [INFO] crate mikezaby/chip-8.rs already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/crater-raid/crater/work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/mikezaby/chip-8.rs/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/brson/rust-sdl.git` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/brson/rust-sdl.git` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking mikezaby/chip-8.rs against try#58b21121d0b447ceb3f1a655155d802191acf044 for pr-61100 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-61100/worker-4/try#58b21121d0b447ceb3f1a655155d802191acf044:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/gh/mikezaby/chip-8.rs:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 91b165253b730551d8758ae8f9f709efb4c976d22403b8598b51f3295909175d [INFO] running `"docker" "start" "-a" "91b165253b730551d8758ae8f9f709efb4c976d22403b8598b51f3295909175d"` [INFO] [stderr] Checking sdl v0.3.6 (https://github.com/brson/rust-sdl.git#78bd0e74) [INFO] [stderr] Checking chip8 v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error: expected argument name, found `:` [INFO] [stderr] error: expected argument 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 argument name [INFO] [stderr] [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 argument 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[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/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` head 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 parameter but 0 parameters 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] | ^^^^^^^^^ expected 1 parameter [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` head 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 parameter but 0 parameters 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] | ^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice` found for type `[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] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice` found for type `[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] | ^^^^^ [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] 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" "91b165253b730551d8758ae8f9f709efb4c976d22403b8598b51f3295909175d"` [INFO] running `"docker" "rm" "-f" "91b165253b730551d8758ae8f9f709efb4c976d22403b8598b51f3295909175d"` [INFO] [stdout] 91b165253b730551d8758ae8f9f709efb4c976d22403b8598b51f3295909175d