[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#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodieboomboom%2Fyaarch8" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/codieboomboom/yaarch8 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ccd0fc9ae6b138183a50e7dd7a30072d2de41bacefdce98ba94d388b1085b95 [INFO] running `Command { std: "docker" "start" "-a" "3ccd0fc9ae6b138183a50e7dd7a30072d2de41bacefdce98ba94d388b1085b95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ccd0fc9ae6b138183a50e7dd7a30072d2de41bacefdce98ba94d388b1085b95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ccd0fc9ae6b138183a50e7dd7a30072d2de41bacefdce98ba94d388b1085b95", kill_on_drop: false }` [INFO] [stdout] 3ccd0fc9ae6b138183a50e7dd7a30072d2de41bacefdce98ba94d388b1085b95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e256536fac12334dcd74f1b13895f6ba581135c32622191f13bebc3c25bb85c [INFO] running `Command { std: "docker" "start" "-a" "2e256536fac12334dcd74f1b13895f6ba581135c32622191f13bebc3c25bb85c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking atty v0.2.14 [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)]` 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: `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)]` on by default [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] 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] [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] [stderr] error: could not compile `yaarch8` (bin "yaarch8" test) due to 3 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2e256536fac12334dcd74f1b13895f6ba581135c32622191f13bebc3c25bb85c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e256536fac12334dcd74f1b13895f6ba581135c32622191f13bebc3c25bb85c", kill_on_drop: false }` [INFO] [stdout] 2e256536fac12334dcd74f1b13895f6ba581135c32622191f13bebc3c25bb85c