[INFO] cloning repository https://github.com/thallosaurus/chip8-madness [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thallosaurus/chip8-madness" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthallosaurus%2Fchip8-madness", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthallosaurus%2Fchip8-madness'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 583c58d6166aff515fe189337f62600b01db20cb [INFO] testing thallosaurus/chip8-madness against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthallosaurus%2Fchip8-madness" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thallosaurus/chip8-madness [INFO] finished tweaking git repo https://github.com/thallosaurus/chip8-madness [INFO] tweaked toml for git repo https://github.com/thallosaurus/chip8-madness written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thallosaurus/chip8-madness 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/thallosaurus/chip8-madness 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] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-5-tc2/source/chip8-web/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] ad363fde21b38ee469eaad2690f1e5ee22c353ac2431225b848927a8e3b503fa [INFO] running `Command { std: "docker" "start" "-a" "ad363fde21b38ee469eaad2690f1e5ee22c353ac2431225b848927a8e3b503fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad363fde21b38ee469eaad2690f1e5ee22c353ac2431225b848927a8e3b503fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad363fde21b38ee469eaad2690f1e5ee22c353ac2431225b848927a8e3b503fa", kill_on_drop: false }` [INFO] [stdout] ad363fde21b38ee469eaad2690f1e5ee22c353ac2431225b848927a8e3b503fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] edf770df35a35c1b4b597a227722b122508503773cdb10e8495a848eb9cb23a1 [INFO] running `Command { std: "docker" "start" "-a" "edf770df35a35c1b4b597a227722b122508503773cdb10e8495a848eb9cb23a1", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/chip8-web/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.95 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.95 [INFO] [stderr] Compiling anstyle v1.0.9 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling anstream v0.6.17 [INFO] [stderr] Compiling clap_builder v4.5.20 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling chip8 v0.1.0 (/opt/rustwide/workdir/chip8) [INFO] [stdout] warning: variant `LD_V` should have an upper camel case name [INFO] [stdout] --> chip8/src/chip8.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | LD_V(ch8_types::RegisterIndex, ch8_types::Byte), [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `LdV` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADD_V` should have an upper camel case name [INFO] [stdout] --> chip8/src/chip8.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | ADD_V(ch8_types::RegisterIndex, ch8_types::Byte), [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `AddV` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SET_I` should have an upper camel case name [INFO] [stdout] --> chip8/src/chip8.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | SET_I(ch8_types::MemoryAddress), [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `SetI` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> chip8/src/chip8.rs:295:34 [INFO] [stdout] | [INFO] [stdout] 295 | let kk = (decode(value, 0xFF) as ch8_types::Byte); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 295 - let kk = (decode(value, 0xFF) as ch8_types::Byte); [INFO] [stdout] 295 + let kk = decode(value, 0xFF) as ch8_types::Byte; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> chip8/src/chip8.rs:300:34 [INFO] [stdout] | [INFO] [stdout] 300 | let kk = (decode(value, 0xFF) as ch8_types::Byte); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 300 - let kk = (decode(value, 0xFF) as ch8_types::Byte); [INFO] [stdout] 300 + let kk = decode(value, 0xFF) as ch8_types::Byte; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> chip8/src/app.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | Ops::SYS(addr) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ry` [INFO] [stdout] --> chip8/src/app.rs:170:26 [INFO] [stdout] | [INFO] [stdout] 170 | Ops::SHR(rx, ry) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ry` [INFO] [stdout] --> chip8/src/app.rs:178:26 [INFO] [stdout] | [INFO] [stdout] 178 | Ops::SHL(rx, ry) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rx` [INFO] [stdout] --> chip8/src/app.rs:231:22 [INFO] [stdout] | [INFO] [stdout] 231 | Ops::LDK(rx) => todo!(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BYTE_MASK` is never used [INFO] [stdout] --> chip8/src/chip8.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | const BYTE_MASK: u16 = 0xFF; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> chip8/src/app.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 38 | impl AppState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | fn reset(&mut self) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PIXEL_ON` is never used [INFO] [stdout] --> chip8/src/display.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const PIXEL_ON: u8 = 0x58; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PIXEL_OFF` is never used [INFO] [stdout] --> chip8/src/display.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const PIXEL_OFF: u8 = 0x20; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `global_xy_to_i` is never used [INFO] [stdout] --> chip8/src/display.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn global_xy_to_i(x: u8, y: u8) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `xy_to_i` is never used [INFO] [stdout] --> chip8/src/display.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn xy_to_i(x: u8, y: u8, width: u16) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `I` should have a snake case name [INFO] [stdout] --> chip8/src/app.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub I: u16, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stdout] warning: unused import: `core::str` [INFO] [stdout] --> chip8/src/bin/sanity-test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::str; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getTestTrait` should have a snake case name [INFO] [stdout] --> chip8/src/bin/sanity-test.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn getTestTrait(self) -> impl TestTrait { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_test_trait` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `getBytesRef` should have a snake case name [INFO] [stdout] --> chip8/src/bin/sanity-test.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn getBytesRef(&self) -> RefCell; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_bytes_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `getBytesAsString` should have a snake case name [INFO] [stdout] --> chip8/src/bin/sanity-test.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn getBytesAsString(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_bytes_as_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap v4.5.20 [INFO] [stderr] Compiling chip8-std v0.1.0 (/opt/rustwide/workdir/chip8-std) [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.95 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.95 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.95 [INFO] [stderr] Compiling js-sys v0.3.72 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling web-sys v0.3.72 [INFO] [stderr] Compiling chip8-web v0.1.0 (/opt/rustwide/workdir/chip8-web) [INFO] [stdout] error: couldn't read `chip8-web/src/../../chip8-test-suite/bin/3-corax+.ch8`: No such file or directory (os error 2) [INFO] [stdout] --> chip8-web/src/lib.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | pub const PRG: &[u8] = include_bytes!("../../chip8-test-suite/bin/3-corax+.ch8"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::str` [INFO] [stdout] --> chip8-web/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::str; [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 imports: `DISPLAY_WIDTH` and `STACK_SIZE` [INFO] [stdout] --> chip8-web/src/lib.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | ch8_types::{DISPLAY_WIDTH, STACK_SIZE}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `window` [INFO] [stdout] --> chip8-web/src/lib.rs:14:64 [INFO] [stdout] | [INFO] [stdout] 14 | use dom::{request_animation_frame, set_timeout, update_canvas, window}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> chip8-web/src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[wasm_bindgen(start)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> chip8-web/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut rt = Rc::new(RefCell::new(AppState::new(PRG))); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chip8-web` (lib) due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "edf770df35a35c1b4b597a227722b122508503773cdb10e8495a848eb9cb23a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edf770df35a35c1b4b597a227722b122508503773cdb10e8495a848eb9cb23a1", kill_on_drop: false }` [INFO] [stdout] edf770df35a35c1b4b597a227722b122508503773cdb10e8495a848eb9cb23a1