[INFO] fetching crate panic-persist 0.3.0... [INFO] testing panic-persist-0.3.0 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate panic-persist 0.3.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate panic-persist 0.3.0 [INFO] finished tweaking crates.io crate panic-persist 0.3.0 [INFO] tweaked toml for crates.io crate panic-persist 0.3.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate panic-persist 0.3.0 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c99a0630fa9c29f5ae596b9b9d2a267e037e6d421d825d481a63f9b44e045810 [INFO] running `Command { std: "docker" "start" "-a" "c99a0630fa9c29f5ae596b9b9d2a267e037e6d421d825d481a63f9b44e045810", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c99a0630fa9c29f5ae596b9b9d2a267e037e6d421d825d481a63f9b44e045810", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c99a0630fa9c29f5ae596b9b9d2a267e037e6d421d825d481a63f9b44e045810", kill_on_drop: false }` [INFO] [stdout] c99a0630fa9c29f5ae596b9b9d2a267e037e6d421d825d481a63f9b44e045810 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fedc493ff16ac9eb8d477f97679ee771123223b4f15da82563d06e1c98c6f33c [INFO] running `Command { std: "docker" "start" "-a" "fedc493ff16ac9eb8d477f97679ee771123223b4f15da82563d06e1c98c6f33c", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling panic-persist v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:133:34 [INFO] [stdout] | [INFO] [stdout] 133 | let start_ptr = unsafe { &mut _panic_dump_start as *mut u8 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(static_mut_refs)]` implied by `#[warn(warnings)]` [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 133 | let start_ptr = unsafe { &raw mut _panic_dump_start as *mut u8 }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:134:32 [INFO] [stdout] | [INFO] [stdout] 134 | let end_ptr = unsafe { &mut _panic_dump_end as *mut u8 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 134 | let end_ptr = unsafe { &raw mut _panic_dump_end as *mut u8 }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | let start_ptr = unsafe { &mut _panic_dump_start as *mut u8 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 189 | let start_ptr = unsafe { &raw mut _panic_dump_start as *mut u8 }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:202:28 [INFO] [stdout] | [INFO] [stdout] 202 | let end_ptr = unsafe { &mut _panic_dump_end as *mut u8 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 202 | let end_ptr = unsafe { &raw mut _panic_dump_end as *mut u8 }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.74s [INFO] running `Command { std: "docker" "inspect" "fedc493ff16ac9eb8d477f97679ee771123223b4f15da82563d06e1c98c6f33c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fedc493ff16ac9eb8d477f97679ee771123223b4f15da82563d06e1c98c6f33c", kill_on_drop: false }` [INFO] [stdout] fedc493ff16ac9eb8d477f97679ee771123223b4f15da82563d06e1c98c6f33c [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e1d7aa7fd39172238de3cbd20588b4e7a3522a37497928e4a8d6a6f988445df [INFO] running `Command { std: "docker" "start" "-a" "2e1d7aa7fd39172238de3cbd20588b4e7a3522a37497928e4a8d6a6f988445df", kill_on_drop: false }` [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:133:34 [INFO] [stdout] | [INFO] [stdout] 133 | let start_ptr = unsafe { &mut _panic_dump_start as *mut u8 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(static_mut_refs)]` implied by `#[warn(warnings)]` [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 133 | let start_ptr = unsafe { &raw mut _panic_dump_start as *mut u8 }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:134:32 [INFO] [stdout] | [INFO] [stdout] 134 | let end_ptr = unsafe { &mut _panic_dump_end as *mut u8 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 134 | let end_ptr = unsafe { &raw mut _panic_dump_end as *mut u8 }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | let start_ptr = unsafe { &mut _panic_dump_start as *mut u8 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 189 | let start_ptr = unsafe { &raw mut _panic_dump_start as *mut u8 }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:202:28 [INFO] [stdout] | [INFO] [stdout] 202 | let end_ptr = unsafe { &mut _panic_dump_end as *mut u8 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 202 | let end_ptr = unsafe { &raw mut _panic_dump_end as *mut u8 }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling panic-persist v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] error: could not compile `panic-persist` (lib test) due to 1 previous error [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | / fn panic(info: &PanicInfo) -> ! { [INFO] [stdout] 255 | | cortex_m::interrupt::disable(); [INFO] [stdout] 256 | | [INFO] [stdout] 257 | | #[cfg(feature = "min-panic")] [INFO] [stdout] ... | [INFO] [stdout] 267 | | cortex_m::peripheral::SCB::sys_reset(); [INFO] [stdout] 268 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/beta-2025-09-21-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-2a1757997f179349.so, /opt/rustwide/rustup-home/toolchains/beta-2025-09-21-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-2a1757997f179349.rlib [INFO] [stdout] = note: second definition in the local crate (`panic_persist`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2e1d7aa7fd39172238de3cbd20588b4e7a3522a37497928e4a8d6a6f988445df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e1d7aa7fd39172238de3cbd20588b4e7a3522a37497928e4a8d6a6f988445df", kill_on_drop: false }` [INFO] [stdout] 2e1d7aa7fd39172238de3cbd20588b4e7a3522a37497928e4a8d6a6f988445df