[INFO] cloning repository https://github.com/SylvanB/chip8-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SylvanB/chip8-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSylvanB%2Fchip8-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSylvanB%2Fchip8-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9701fc5951b94cb655fdcd49d88d606f17fa16ca [INFO] building SylvanB/chip8-rs against try#dd06aa59b9c8562b8b5652c638defc5836c326d0 for pr-137044-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSylvanB%2Fchip8-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SylvanB/chip8-rs on toolchain dd06aa59b9c8562b8b5652c638defc5836c326d0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dd06aa59b9c8562b8b5652c638defc5836c326d0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SylvanB/chip8-rs [INFO] finished tweaking git repo https://github.com/SylvanB/chip8-rs [INFO] tweaked toml for git repo https://github.com/SylvanB/chip8-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/SylvanB/chip8-rs 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" "+dd06aa59b9c8562b8b5652c638defc5836c326d0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+dd06aa59b9c8562b8b5652c638defc5836c326d0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3ca0fbaf37746f8d01113b08c33d462c2e74fa06ab70916d055abc4a82cee00 [INFO] running `Command { std: "docker" "start" "-a" "f3ca0fbaf37746f8d01113b08c33d462c2e74fa06ab70916d055abc4a82cee00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3ca0fbaf37746f8d01113b08c33d462c2e74fa06ab70916d055abc4a82cee00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3ca0fbaf37746f8d01113b08c33d462c2e74fa06ab70916d055abc4a82cee00", kill_on_drop: false }` [INFO] [stdout] f3ca0fbaf37746f8d01113b08c33d462c2e74fa06ab70916d055abc4a82cee00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+dd06aa59b9c8562b8b5652c638defc5836c326d0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33a2cf7bde24be35a706339f8f7b73336adcfbbe50aa8089bfbfa2f9de08f372 [INFO] running `Command { std: "docker" "start" "-a" "33a2cf7bde24be35a706339f8f7b73336adcfbbe50aa8089bfbfa2f9de08f372", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling minifb v0.19.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Compiling xkb v0.2.1 [INFO] [stderr] Compiling chip8_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `TryFrom` and `TryInto` [INFO] [stdout] --> src/keyboard/mod.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TryFrom` and `TryInto` [INFO] [stdout] --> src/keyboard/dummy_keyboard.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TryFrom`, `TryInto`, and `error::Error` [INFO] [stdout] --> src/keyboard/minifb_keyboard.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] 4 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> src/keyboard/minifb_keyboard.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use minifb::{Key, Window}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keys` [INFO] [stdout] --> src/keyboard/dummy_keyboard.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | fn update_state(&mut self, keys: &[u8]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_keys` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `execute` is never used [INFO] [stdout] --> src/cpu.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 60 | / impl CPU [INFO] [stdout] 61 | | where [INFO] [stdout] 62 | | TKeyboard: Keyboard, [INFO] [stdout] | |________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn execute(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DebugDisplay` is never used [INFO] [stdout] --> src/display.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | pub(crate) trait DebugDisplay { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DummyKeyboard` is never constructed [INFO] [stdout] --> src/keyboard/dummy_keyboard.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct DummyKeyboard { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `initialise` and `get_current_keydowns` are never used [INFO] [stdout] --> src/keyboard/dummy_keyboard.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl DummyKeyboard { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 25 | pub fn initialise() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn get_current_keydowns(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `window` is never read [INFO] [stdout] --> src/keyboard/minifb_keyboard.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct MiniFbKeyboard<'keyboard> { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 13 | window: &'keyboard Rc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROGRAM_START_OFFSET` is never used [INFO] [stdout] --> src/memory.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) const PROGRAM_START_OFFSET: usize = 0x200; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ETI_600_PROGRAM_START_OFFSET` is never used [INFO] [stdout] --> src/memory.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) const ETI_600_PROGRAM_START_OFFSET: usize = 0x600; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert_instruction` is never used [INFO] [stdout] --> src/memory.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Memory { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn insert_instruction(&mut self, index: usize, ins: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/opcode.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct OpCode { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 3 | inner: u16, [INFO] [stdout] 4 | id: u8, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/opcode.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl OpCode { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn id(&self) -> u8 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] PROBLEMATIC OBJECtS [INFO] [stderr] [("/usr/lib/x86_64-linux-gnu/libxkbcommon.so", ".ctors"), ("/usr/lib/x86_64-linux-gnu/libxkbcommon.so", ".dtors")] [INFO] [stderr] [INFO] [stderr] thread 'rustc' panicked at compiler/rustc_codegen_ssa/src/back/link.rs:1070:9: [INFO] [stderr] [("/usr/lib/x86_64-linux-gnu/libxkbcommon.so", ".ctors"), ("/usr/lib/x86_64-linux-gnu/libxkbcommon.so", ".dtors")] [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7dd2c7de5690 - ::fmt::hbab8c721684401b4 [INFO] [stderr] 1: 0x7dd2c862897c - core::fmt::write::h158028a1057c5444 [INFO] [stderr] 2: 0x7dd2c98d1651 - std::io::Write::write_fmt::ha5ec77d89deb6b83 [INFO] [stderr] 3: 0x7dd2c7de54f2 - std::sys::backtrace::BacktraceLock::print::hc4e637a574877308 [INFO] [stderr] 4: 0x7dd2c7de7972 - std::panicking::default_hook::{{closure}}::hf5423323c6d3b2d4 [INFO] [stderr] 5: 0x7dd2c7de77fa - std::panicking::default_hook::hff94fcfd526aa5a1 [INFO] [stderr] 6: 0x7dd2c6f44789 - std[61d1a8db00d809ea]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 7: 0x7dd2c7de84f3 - std::panicking::rust_panic_with_hook::h2a12398dc9c3b0c4 [INFO] [stderr] 8: 0x7dd2c7de81ea - std::panicking::begin_panic_handler::{{closure}}::h5e82acf7c1a42a12 [INFO] [stderr] 9: 0x7dd2c7de5b79 - std::sys::backtrace::__rust_end_short_backtrace::hc302e7511b865bc3 [INFO] [stderr] 10: 0x7dd2c7de7ead - rust_begin_unwind [INFO] [stderr] 11: 0x7dd2c4a3f5a0 - core::panicking::panic_fmt::h83ef9ec7652d3d28 [INFO] [stderr] 12: 0x7dd2c970b3f9 - rustc_codegen_ssa[d055474915c3d4b8]::back::link::link_natively [INFO] [stderr] 13: 0x7dd2c95d3dc8 - rustc_codegen_ssa[d055474915c3d4b8]::back::link::link_binary [INFO] [stderr] 14: 0x7dd2c95d2d59 - ::link [INFO] [stderr] 15: 0x7dd2c953b7ab - rustc_interface[934c1539811e3af6]::interface::run_compiler::<(), rustc_driver_impl[c31b513e5783efcc]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 16: 0x7dd2c9498684 - std[61d1a8db00d809ea]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 17: 0x7dd2c9498359 - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[8ca11d5e748da07e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 18: 0x7dd2c9497aef - std::sys::pal::unix::thread::Thread::new::thread_start::h39744fe8806739fa [INFO] [stderr] 19: 0x7dd2c366bac3 - [INFO] [stderr] 20: 0x7dd2c36fca04 - clone [INFO] [stderr] 21: 0x0 - [INFO] [stderr] [INFO] [stderr] error: the compiler unexpectedly panicked. this is a bug. [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: please make sure that you have updated to the latest nightly [INFO] [stderr] [INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/workdir/rustc-ice-2025-02-17T18_46_36-1391.txt`: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] note: rustc 1.86.0-nightly (dd06aa59b 2025-02-15) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: --crate-type bin -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] end of query stack [INFO] [stderr] error: could not compile `chip8_rs` (bin "chip8_rs"); 15 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/dd06aa59b9c8562b8b5652c638defc5836c326d0/bin/rustc --crate-name chip8_rs --edition=2018 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=f521696b7500cd1a -C extra-filename=-ca8ad47d1e449503 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern chrono=/opt/rustwide/target/debug/deps/libchrono-52c3b5e242a57297.rlib --extern clap=/opt/rustwide/target/debug/deps/libclap-f925646b9b7e35e5.rlib --extern minifb=/opt/rustwide/target/debug/deps/libminifb-1128e0081be9c887.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-0b8e548d5e459c06.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/minifb-42fe8366240cddb2/out -L native=/usr/lib/x86_64-linux-gnu` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "33a2cf7bde24be35a706339f8f7b73336adcfbbe50aa8089bfbfa2f9de08f372", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33a2cf7bde24be35a706339f8f7b73336adcfbbe50aa8089bfbfa2f9de08f372", kill_on_drop: false }` [INFO] [stdout] 33a2cf7bde24be35a706339f8f7b73336adcfbbe50aa8089bfbfa2f9de08f372