[INFO] cloning repository https://github.com/vortexofdoom/hack_jack_suite [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vortexofdoom/hack_jack_suite" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvortexofdoom%2Fhack_jack_suite", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvortexofdoom%2Fhack_jack_suite'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] acca7f396a4062ac965b148d82c995f2fbe2a45b [INFO] testing vortexofdoom/hack_jack_suite against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvortexofdoom%2Fhack_jack_suite" "/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/vortexofdoom/hack_jack_suite [INFO] finished tweaking git repo https://github.com/vortexofdoom/hack_jack_suite [INFO] tweaked toml for git repo https://github.com/vortexofdoom/hack_jack_suite written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vortexofdoom/hack_jack_suite on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vortexofdoom/hack_jack_suite 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" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fae2fae7bbcf109efabe884439df49708c337bd85f12a382b1dac2d05ced6064 [INFO] running `Command { std: "docker" "start" "-a" "fae2fae7bbcf109efabe884439df49708c337bd85f12a382b1dac2d05ced6064", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fae2fae7bbcf109efabe884439df49708c337bd85f12a382b1dac2d05ced6064", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fae2fae7bbcf109efabe884439df49708c337bd85f12a382b1dac2d05ced6064", kill_on_drop: false }` [INFO] [stdout] fae2fae7bbcf109efabe884439df49708c337bd85f12a382b1dac2d05ced6064 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b36c280c4e54bfd2dbc4659a753d8f226a2ea2f9b5f206cfc9527692f536b832 [INFO] running `Command { std: "docker" "start" "-a" "b36c280c4e54bfd2dbc4659a753d8f226a2ea2f9b5f206cfc9527692f536b832", kill_on_drop: false }` [INFO] [stderr] warning: hack_jack_suite v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `cargo-expand` which is missing a lib target [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling sdl2 v0.36.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling arbitrary-int v1.2.7 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling sdl2-sys v0.36.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling clap_builder v4.5.0 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Compiling asm_macro v0.1.0 (/opt/rustwide/workdir/asm_macro) [INFO] [stderr] Compiling bitbybit v1.3.1 [INFO] [stderr] Compiling clap v4.5.0 [INFO] [stderr] Compiling hack_jack_suite v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `file_path` in this scope [INFO] [stdout] --> src/main.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 60 | } else if let Some("asm") = file_path.extension().unwrap().to_str() { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `file_path` in this scope [INFO] [stdout] --> src/main.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | files.push(file_path.to_path_buf()) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::ScreenUpdate` [INFO] [stdout] --> src/cpu.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | io::ScreenUpdate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pixels::Color` [INFO] [stdout] --> src/main.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | use sdl2::{event::Event, pixels::Color}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `parse_c_instruction` found for enum `Asm<'a>` in the current scope [INFO] [stdout] --> src/asm.rs:1335:26 [INFO] [stdout] | [INFO] [stdout] 1004 | pub enum Asm<'a> { [INFO] [stdout] | ---------------- variant or associated item `parse_c_instruction` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 1335 | Asm::parse_c_instruction(inst)]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `Asm<'_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Asm<'_>`, consider using `Asm::<'a>::at` which returns `Asm<'_>` [INFO] [stdout] --> src/asm.rs:1162:5 [INFO] [stdout] | [INFO] [stdout] 1162 | pub fn at(input: &'a str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/asm.rs:1330:9 [INFO] [stdout] | [INFO] [stdout] 1330 | / for line in reader.lines().flatten() { [INFO] [stdout] 1331 | | match line.trim().split_once("//") { [INFO] [stdout] 1332 | | Some(("", comment)) => asm.push(Asm::Comment(Cow::from(comment.trim().to_string()))), [INFO] [stdout] 1333 | | Some((inst, comment)) => asm.push([ [INFO] [stdout] ... | [INFO] [stdout] 1337 | | } [INFO] [stdout] | |_________^ expected `Vec>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: `for` loops evaluate to unit type `()` [INFO] [stdout] help: consider returning a value here [INFO] [stdout] | [INFO] [stdout] 1337 ~ } [INFO] [stdout] 1338 + /* `Vec>` value */ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `context` exists for enum `Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:64:36 [INFO] [stdout] | [INFO] [stdout] 64 | let sdl_context = sdl2::init().context("Could not initialize SDL")?; [INFO] [stdout] | ^^^^^^^ method cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::string::String: anyhow::context::ext::StdError` [INFO] [stdout] which is required by `Result: anyhow::Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:91:39 [INFO] [stdout] | [INFO] [stdout] 91 | asm.extend(assembler.assemble(file)); [INFO] [stdout] | -------- ^^^^ expected `&[Asm<'_>]`, found `PathBuf` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Asm<'_>]` [INFO] [stdout] found struct `PathBuf` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/asm.rs:1293:12 [INFO] [stdout] | [INFO] [stdout] 1293 | pub fn assemble(&mut self, asm: &[Asm]) -> Vec { [INFO] [stdout] | ^^^^^^^^ ----------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/cpu.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | fn index(&self, index: i16) -> &Self::Output { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fun` [INFO] [stdout] --> src/cpu.rs:265:29 [INFO] [stdout] | [INFO] [stdout] 265 | VmCommand::Call(fun, n) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/cpu.rs:265:34 [INFO] [stdout] | [INFO] [stdout] 265 | VmCommand::Call(fun, n) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sp` [INFO] [stdout] --> src/cpu.rs:267:21 [INFO] [stdout] | [INFO] [stdout] 267 | let sp = *self.sp() as usize; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hack_jack_suite` (bin "hack_jack_suite") due to 6 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b36c280c4e54bfd2dbc4659a753d8f226a2ea2f9b5f206cfc9527692f536b832", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b36c280c4e54bfd2dbc4659a753d8f226a2ea2f9b5f206cfc9527692f536b832", kill_on_drop: false }` [INFO] [stdout] b36c280c4e54bfd2dbc4659a753d8f226a2ea2f9b5f206cfc9527692f536b832