[INFO] cloning repository https://github.com/xixixao/hot-reload-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xixixao/hot-reload-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxixixao%2Fhot-reload-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxixixao%2Fhot-reload-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b4b3d6c5235fec754eb1e8143c27b3030350dd78 [INFO] building xixixao/hot-reload-rs against try#dd06aa59b9c8562b8b5652c638defc5836c326d0 for pr-137044-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxixixao%2Fhot-reload-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xixixao/hot-reload-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/xixixao/hot-reload-rs [INFO] finished tweaking git repo https://github.com/xixixao/hot-reload-rs [INFO] tweaked toml for git repo https://github.com/xixixao/hot-reload-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/xixixao/hot-reload-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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 77ca56af5c649d776649cee363d08054b597ebdfebc9fa887a080cde403f53ad [INFO] running `Command { std: "docker" "start" "-a" "77ca56af5c649d776649cee363d08054b597ebdfebc9fa887a080cde403f53ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77ca56af5c649d776649cee363d08054b597ebdfebc9fa887a080cde403f53ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77ca56af5c649d776649cee363d08054b597ebdfebc9fa887a080cde403f53ad", kill_on_drop: false }` [INFO] [stdout] 77ca56af5c649d776649cee363d08054b597ebdfebc9fa887a080cde403f53ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 730f6853d29a7d6b02986d71e06d3560750361e66c62e22fc86ea3b71a5aaf19 [INFO] running `Command { std: "docker" "start" "-a" "730f6853d29a7d6b02986d71e06d3560750361e66c62e22fc86ea3b71a5aaf19", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling anyhow v1.0.37 [INFO] [stderr] Compiling smallvec v1.5.1 [INFO] [stderr] Compiling signal-hook v0.3.2 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Compiling wayland-sys v0.27.0 [INFO] [stderr] Compiling xkbcommon-sys v0.7.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling minifb v0.19.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling wayland-scanner v0.27.0 [INFO] [stderr] Compiling arraystring v0.3.0 [INFO] [stderr] Compiling nix v0.19.1 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling rand_core v0.6.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling xkb v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.8.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling wayland-client v0.27.0 [INFO] [stderr] Compiling wayland-protocols v0.27.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling wayland-commons v0.27.0 [INFO] [stderr] Compiling raw_sync v0.1.5 (/opt/rustwide/workdir/raw_sync-rs) [INFO] [stderr] Compiling shared_memory v0.11.3 (/opt/rustwide/workdir/shared_memory-rs) [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> raw_sync-rs/src/events/mod.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | let mut prev_val = signal.compare_and_swap(1, 0, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> raw_sync-rs/src/events/mod.rs:97:35 [INFO] [stdout] | [INFO] [stdout] 97 | prev_val = signal.compare_and_swap(1, 0, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> raw_sync-rs/src/events/mod.rs:103:35 [INFO] [stdout] | [INFO] [stdout] 103 | prev_val = signal.compare_and_swap(1, 0, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `pthread_condattr_t` does not permit being left uninitialized [INFO] [stdout] --> raw_sync-rs/src/events/unix.rs:51:45 [INFO] [stdout] | [INFO] [stdout] 51 | let mut attrs: pthread_condattr_t = MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `timespec` does not permit being left uninitialized [INFO] [stdout] --> raw_sync-rs/src/locks/unix.rs:82:38 [INFO] [stdout] | [INFO] [stdout] 82 | let mut cur_time: timespec = MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `pthread_mutexattr_t` does not permit being left uninitialized [INFO] [stdout] --> raw_sync-rs/src/locks/unix.rs:110:50 [INFO] [stdout] | [INFO] [stdout] 110 | let mut lock_attr: pthread_mutexattr_t = MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `pthread_rwlockattr_t` does not permit being left uninitialized [INFO] [stdout] --> raw_sync-rs/src/locks/unix.rs:219:51 [INFO] [stdout] | [INFO] [stdout] 219 | let mut lock_attr: pthread_rwlockattr_t = MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wayland-cursor v0.27.0 [INFO] [stderr] Compiling ron v0.6.4 [INFO] [stderr] Compiling hot-reload v0.1.0 (/opt/rustwide/workdir/hot-reload) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> hot-reload/src/simple_shared_memory.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let mut internal = self.memory.get(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hot-reloaded-state v0.1.0 (/opt/rustwide/workdir/hot-reloaded-state) [INFO] [stderr] Compiling example-impl v0.1.0 (/opt/rustwide/workdir/example-impl) [INFO] [stderr] Compiling example-app v0.1.0 (/opt/rustwide/workdir/example-app) [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: 0x78decfbe5690 - ::fmt::hbab8c721684401b4 [INFO] [stderr] 1: 0x78ded042897c - core::fmt::write::h158028a1057c5444 [INFO] [stderr] 2: 0x78ded16d1651 - std::io::Write::write_fmt::ha5ec77d89deb6b83 [INFO] [stderr] 3: 0x78decfbe54f2 - std::sys::backtrace::BacktraceLock::print::hc4e637a574877308 [INFO] [stderr] 4: 0x78decfbe7972 - std::panicking::default_hook::{{closure}}::hf5423323c6d3b2d4 [INFO] [stderr] 5: 0x78decfbe77fa - std::panicking::default_hook::hff94fcfd526aa5a1 [INFO] [stderr] 6: 0x78deced44789 - std[61d1a8db00d809ea]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 7: 0x78decfbe84f3 - std::panicking::rust_panic_with_hook::h2a12398dc9c3b0c4 [INFO] [stderr] 8: 0x78decfbe81ea - std::panicking::begin_panic_handler::{{closure}}::h5e82acf7c1a42a12 [INFO] [stderr] 9: 0x78decfbe5b79 - std::sys::backtrace::__rust_end_short_backtrace::hc302e7511b865bc3 [INFO] [stderr] 10: 0x78decfbe7ead - rust_begin_unwind [INFO] [stderr] 11: 0x78decc83f5a0 - core::panicking::panic_fmt::h83ef9ec7652d3d28 [INFO] [stderr] 12: 0x78ded150b3f9 - rustc_codegen_ssa[d055474915c3d4b8]::back::link::link_natively [INFO] [stderr] 13: 0x78ded13d3dc8 - rustc_codegen_ssa[d055474915c3d4b8]::back::link::link_binary [INFO] [stderr] 14: 0x78ded13d2d59 - ::link [INFO] [stderr] 15: 0x78ded133b7ab - rustc_interface[934c1539811e3af6]::interface::run_compiler::<(), rustc_driver_impl[c31b513e5783efcc]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 16: 0x78ded1298684 - std[61d1a8db00d809ea]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 17: 0x78ded1298359 - <::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: 0x78ded1297aef - std::sys::pal::unix::thread::Thread::new::thread_start::h39744fe8806739fa [INFO] [stderr] 19: 0x78ded2aa0ac3 - [INFO] [stderr] 20: 0x78ded2b31a04 - 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_10_38-1299.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 `example-app` (bin "example-app") [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/dd06aa59b9c8562b8b5652c638defc5836c326d0/bin/rustc --crate-name example_app --edition=2018 example-app/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 --cfg 'feature="default"' --cfg 'feature="hot-reload"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "hot-reload"))' -C metadata=bcbfba14f21da399 -C extra-filename=-a993232b3543b47f --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern arraystring=/opt/rustwide/target/debug/deps/libarraystring-12c0b28f13b939f5.rlib --extern example_impl=/opt/rustwide/target/debug/deps/libexample_impl-2b50c09f6627b4ff.rlib --extern hot_reloaded_state=/opt/rustwide/target/debug/deps/libhot_reloaded_state-593b9a49f1a892be.rlib --extern minifb=/opt/rustwide/target/debug/deps/libminifb-4f4380206758fb5b.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/minifb-568cff63ee68f4da/out -L native=/usr/lib/x86_64-linux-gnu` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "730f6853d29a7d6b02986d71e06d3560750361e66c62e22fc86ea3b71a5aaf19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "730f6853d29a7d6b02986d71e06d3560750361e66c62e22fc86ea3b71a5aaf19", kill_on_drop: false }` [INFO] [stdout] 730f6853d29a7d6b02986d71e06d3560750361e66c62e22fc86ea3b71a5aaf19