[INFO] cloning repository https://github.com/codieboomboom/yaarch8 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codieboomboom/yaarch8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodieboomboom%2Fyaarch8", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodieboomboom%2Fyaarch8'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 77b6a660889f57be4a3c8c1aad9d25aad49247ce [INFO] checking codieboomboom/yaarch8 against try#0cb362313295507a2f4321c0e30cea0168f2fe71 for pr-138961-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodieboomboom%2Fyaarch8" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/codieboomboom/yaarch8 [INFO] finished tweaking git repo https://github.com/codieboomboom/yaarch8 [INFO] tweaked toml for git repo https://github.com/codieboomboom/yaarch8 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/codieboomboom/yaarch8 on toolchain 0cb362313295507a2f4321c0e30cea0168f2fe71 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/codieboomboom/yaarch8 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" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded version-compare v0.1.0 [INFO] [stderr] Downloaded once_cell v1.14.0 [INFO] [stderr] Downloaded sdl2 v0.35.2 [INFO] [stderr] Downloaded clap v3.2.20 [INFO] [stderr] Downloaded sdl2-sys v0.35.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a6e16049ec6ff55131c6731bc0a478e367d0497d0681743bd48506d770b3a2c [INFO] running `Command { std: "docker" "start" "-a" "1a6e16049ec6ff55131c6731bc0a478e367d0497d0681743bd48506d770b3a2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a6e16049ec6ff55131c6731bc0a478e367d0497d0681743bd48506d770b3a2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a6e16049ec6ff55131c6731bc0a478e367d0497d0681743bd48506d770b3a2c", kill_on_drop: false }` [INFO] [stdout] 1a6e16049ec6ff55131c6731bc0a478e367d0497d0681743bd48506d770b3a2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce69d711bb685ce22efa03689e3d5fe6260bf82a3b1153477dcd9f806859d2c3 [INFO] running `Command { std: "docker" "start" "-a" "ce69d711bb685ce22efa03689e3d5fe6260bf82a3b1153477dcd9f806859d2c3", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking indexmap v1.9.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Checking clap v3.2.20 [INFO] [stderr] Checking yaarch8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `keypad` [INFO] [stdout] --> src/core/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod keypad; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `keypad`, create file "src/core/keypad.rs" or "src/core/keypad/mod.rs" [INFO] [stdout] = note: if there is a `mod keypad` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `keypad` [INFO] [stdout] --> src/core/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod keypad; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `keypad`, create file "src/core/keypad.rs" or "src/core/keypad/mod.rs" [INFO] [stdout] = note: if there is a `mod keypad` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `Rom` in the current scope [INFO] [stdout] --> src/core/devices.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | for (idx, byte) in rom.read().iter().enumerate() { [INFO] [stdout] | ^^^^ method not found in `Rom` [INFO] [stdout] | [INFO] [stdout] ::: src/core/rom.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Rom { [INFO] [stdout] | -------------- method `read` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `Rom` in the current scope [INFO] [stdout] --> src/core/devices.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | for (idx, byte) in rom.read().iter().enumerate() { [INFO] [stdout] | ^^^^ method not found in `Rom` [INFO] [stdout] | [INFO] [stdout] ::: src/core/rom.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Rom { [INFO] [stdout] | -------------- method `read` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `Memory` in the current scope [INFO] [stdout] --> src/core/devices.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 17 | / self.memoryController [INFO] [stdout] 18 | | .write(rom_storage_start_address + idx, *byte); [INFO] [stdout] | | -^^^^^ method not found in `Memory` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/core/memory.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Memory { [INFO] [stdout] | ----------------- method `write` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `Memory` in the current scope [INFO] [stdout] --> src/core/devices.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 17 | / self.memoryController [INFO] [stdout] 18 | | .write(rom_storage_start_address + idx, *byte); [INFO] [stdout] | | -^^^^^ method not found in `Memory` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/core/memory.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Memory { [INFO] [stdout] | ----------------- method `write` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peripherals` [INFO] [stdout] --> src/core/cpu/cpu.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn step(&mut self, peripherals: &mut DevicesController) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peripherals` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_coord` [INFO] [stdout] --> src/core/display.rs:28:43 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn toggle_buffer_pixel(&mut self, x_coord: usize, y_coord: usize) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_coord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_coord` [INFO] [stdout] --> src/core/display.rs:28:59 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn toggle_buffer_pixel(&mut self, x_coord: usize, y_coord: usize) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_coord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/emulator/emulator.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(rom: Rom) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `emulator` [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let emulator = Emulator::new(rom); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_emulator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0583, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yaarch8` (bin "yaarch8") due to 3 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `peripherals` [INFO] [stdout] --> src/core/cpu/cpu.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn step(&mut self, peripherals: &mut DevicesController) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peripherals` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_coord` [INFO] [stdout] --> src/core/display.rs:28:43 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn toggle_buffer_pixel(&mut self, x_coord: usize, y_coord: usize) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_coord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_coord` [INFO] [stdout] --> src/core/display.rs:28:59 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn toggle_buffer_pixel(&mut self, x_coord: usize, y_coord: usize) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_coord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/emulator/emulator.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(rom: Rom) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `emulator` [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let emulator = Emulator::new(rom); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_emulator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0583, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yaarch8` (bin "yaarch8" test) due to 3 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ce69d711bb685ce22efa03689e3d5fe6260bf82a3b1153477dcd9f806859d2c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce69d711bb685ce22efa03689e3d5fe6260bf82a3b1153477dcd9f806859d2c3", kill_on_drop: false }` [INFO] [stdout] ce69d711bb685ce22efa03689e3d5fe6260bf82a3b1153477dcd9f806859d2c3