[INFO] cloning repository https://github.com/luisgabrielroldan/gamebrust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luisgabrielroldan/gamebrust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluisgabrielroldan%2Fgamebrust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluisgabrielroldan%2Fgamebrust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bf37a3f4e23d6c4e7c66e1f0973ac27750ad2fdd [INFO] building luisgabrielroldan/gamebrust against try#dd06aa59b9c8562b8b5652c638defc5836c326d0 for pr-137044-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluisgabrielroldan%2Fgamebrust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luisgabrielroldan/gamebrust 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/luisgabrielroldan/gamebrust [INFO] finished tweaking git repo https://github.com/luisgabrielroldan/gamebrust [INFO] tweaked toml for git repo https://github.com/luisgabrielroldan/gamebrust written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/luisgabrielroldan/gamebrust 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-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+dd06aa59b9c8562b8b5652c638defc5836c326d0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05697fb5747e048cd091146836de8f0621da86838a94eff5eb85479e80abbb62 [INFO] running `Command { std: "docker" "start" "-a" "05697fb5747e048cd091146836de8f0621da86838a94eff5eb85479e80abbb62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05697fb5747e048cd091146836de8f0621da86838a94eff5eb85479e80abbb62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05697fb5747e048cd091146836de8f0621da86838a94eff5eb85479e80abbb62", kill_on_drop: false }` [INFO] [stdout] 05697fb5747e048cd091146836de8f0621da86838a94eff5eb85479e80abbb62 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+dd06aa59b9c8562b8b5652c638defc5836c326d0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94d5dc78c40a2b8a7b18839898d0b9db1dddf33e33010bcfadfbaf0dd17c6fb8 [INFO] running `Command { std: "docker" "start" "-a" "94d5dc78c40a2b8a7b18839898d0b9db1dddf33e33010bcfadfbaf0dd17c6fb8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> core/src/cpu/registers.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | R16::SP => (self.sp), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 145 - R16::SP => (self.sp), [INFO] [stdout] 145 + R16::SP => self.sp, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> core/src/cpu/registers.rs:146:24 [INFO] [stdout] | [INFO] [stdout] 146 | R16::PC => (self.pc), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 146 - R16::PC => (self.pc), [INFO] [stdout] 146 + R16::PC => self.pc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> core/src/ppu/mod.rs:185:30 [INFO] [stdout] | [INFO] [stdout] 185 | self.framebuffer[(self.ly as usize * SCREEN_W as usize + x as usize)] = color; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 185 - self.framebuffer[(self.ly as usize * SCREEN_W as usize + x as usize)] = color; [INFO] [stdout] 185 + self.framebuffer[self.ly as usize * SCREEN_W as usize + x as usize] = color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> core/src/ppu/mod.rs:238:24 [INFO] [stdout] | [INFO] [stdout] 238 | let tile = (self.voam[sprite_offset as usize + 2] & (if self.sprite_size == SpriteSize::S8x16 { 0xFE } else { 0xFF })); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 238 - let tile = (self.voam[sprite_offset as usize + 2] & (if self.sprite_size == SpriteSize::S8x16 { 0xFE } else { 0xFF })); [INFO] [stdout] 238 + let tile = self.voam[sprite_offset as usize + 2] & (if self.sprite_size == SpriteSize::S8x16 { 0xFE } else { 0xFF }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> core/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling xkbcommon-sys v0.7.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling wayland-sys v0.25.0 [INFO] [stdout] warning: method `dump` is never used [INFO] [stdout] --> core/src/cpu/mod.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl CPU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | fn dump(&mut self, mem: &mut dyn Memory) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dump` is never used [INFO] [stdout] --> core/src/cpu/registers.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl Registers { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn dump(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_divider` is never used [INFO] [stdout] --> core/src/io/timer.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl Timer { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | fn set_divider(&mut self, divider: Divider) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `cgb`, `sgb`, `rom_size`, `rom_banks`, and `ram_banks` are never read [INFO] [stdout] --> core/src/cartridge/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 60 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 61 | cgb: CGB, [INFO] [stdout] | ^^^ [INFO] [stdout] 62 | sgb: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 63 | mbc_type: u8, [INFO] [stdout] 64 | rom_size: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 65 | rom_banks: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 66 | ram_size: usize, [INFO] [stdout] 67 | ram_banks: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start` is never used [INFO] [stdout] --> core/src/memory/mmu.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl OAMDma { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn start(&mut self, from: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bg_priority` is never read [INFO] [stdout] --> core/src/ppu/sprite.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Sprite { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub bg_priority: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sprite` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling minifb v0.17.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling wayland-scanner v0.25.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling xkb v0.2.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling wayland-client v0.25.0 [INFO] [stderr] Compiling wayland-protocols v0.25.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling wayland-commons v0.25.0 [INFO] [stderr] Compiling wayland-cursor v0.25.0 [INFO] [stderr] Compiling gamebrust v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu_thread` [INFO] [stdout] --> src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let cpu_thread = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cpu_thread` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_step` is never read [INFO] [stdout] --> src/main.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | let mut last_step = Instant::now(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [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: 0x7d95495e5690 - ::fmt::hbab8c721684401b4 [INFO] [stderr] 1: 0x7d9549e2897c - core::fmt::write::h158028a1057c5444 [INFO] [stderr] 2: 0x7d954b0d1651 - std::io::Write::write_fmt::ha5ec77d89deb6b83 [INFO] [stderr] 3: 0x7d95495e54f2 - std::sys::backtrace::BacktraceLock::print::hc4e637a574877308 [INFO] [stderr] 4: 0x7d95495e7972 - std::panicking::default_hook::{{closure}}::hf5423323c6d3b2d4 [INFO] [stderr] 5: 0x7d95495e77fa - std::panicking::default_hook::hff94fcfd526aa5a1 [INFO] [stderr] 6: 0x7d9548744789 - std[61d1a8db00d809ea]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 7: 0x7d95495e84f3 - std::panicking::rust_panic_with_hook::h2a12398dc9c3b0c4 [INFO] [stderr] 8: 0x7d95495e81ea - std::panicking::begin_panic_handler::{{closure}}::h5e82acf7c1a42a12 [INFO] [stderr] 9: 0x7d95495e5b79 - std::sys::backtrace::__rust_end_short_backtrace::hc302e7511b865bc3 [INFO] [stderr] 10: 0x7d95495e7ead - rust_begin_unwind [INFO] [stderr] 11: 0x7d954623f5a0 - core::panicking::panic_fmt::h83ef9ec7652d3d28 [INFO] [stderr] 12: 0x7d954af0b3f9 - rustc_codegen_ssa[d055474915c3d4b8]::back::link::link_natively [INFO] [stderr] 13: 0x7d954add3dc8 - rustc_codegen_ssa[d055474915c3d4b8]::back::link::link_binary [INFO] [stderr] 14: 0x7d954add2d59 - ::link [INFO] [stderr] 15: 0x7d954ad3b7ab - rustc_interface[934c1539811e3af6]::interface::run_compiler::<(), rustc_driver_impl[c31b513e5783efcc]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 16: 0x7d954ac98684 - std[61d1a8db00d809ea]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 17: 0x7d954ac98359 - <::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: 0x7d954ac97aef - std::sys::pal::unix::thread::Thread::new::thread_start::h39744fe8806739fa [INFO] [stderr] 19: 0x7d954c458ac3 - [INFO] [stderr] 20: 0x7d954c4e9a04 - 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-17T19_29_44-890.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 `gamebrust` (bin "gamebrust"); 4 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 gamebrust --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=3dcd22ab85794205 -C extra-filename=-d9833eee5f11cb32 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern core=/opt/rustwide/target/debug/deps/libcore-cbbe84c9ebeac844.rlib --extern minifb=/opt/rustwide/target/debug/deps/libminifb-cc90dd1fe37bb69f.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/minifb-fe4bfb4f05e4749f/out -L native=/usr/lib/x86_64-linux-gnu` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "94d5dc78c40a2b8a7b18839898d0b9db1dddf33e33010bcfadfbaf0dd17c6fb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94d5dc78c40a2b8a7b18839898d0b9db1dddf33e33010bcfadfbaf0dd17c6fb8", kill_on_drop: false }` [INFO] [stdout] 94d5dc78c40a2b8a7b18839898d0b9db1dddf33e33010bcfadfbaf0dd17c6fb8