[INFO] fetching crate embed_rs 0.1.0... [INFO] testing embed_rs-0.1.0 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate embed_rs 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate embed_rs 0.1.0 [INFO] finished tweaking crates.io crate embed_rs 0.1.0 [INFO] tweaked toml for crates.io crate embed_rs 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate embed_rs 0.1.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] crate crates.io crate embed_rs 0.1.0 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" "+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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] dadb41f43bea7446f341c0db94ee031f33d57dbbd66ae164e00d429a2de1bedd [INFO] running `Command { std: "docker" "start" "-a" "dadb41f43bea7446f341c0db94ee031f33d57dbbd66ae164e00d429a2de1bedd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dadb41f43bea7446f341c0db94ee031f33d57dbbd66ae164e00d429a2de1bedd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dadb41f43bea7446f341c0db94ee031f33d57dbbd66ae164e00d429a2de1bedd", kill_on_drop: false }` [INFO] [stdout] dadb41f43bea7446f341c0db94ee031f33d57dbbd66ae164e00d429a2de1bedd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] fec8a88c1b7718492cdac5e464cb0e8b4787bd3b1646c00eddb0156164e5876a [INFO] running `Command { std: "docker" "start" "-a" "fec8a88c1b7718492cdac5e464cb0e8b4787bd3b1646c00eddb0156164e5876a", kill_on_drop: false }` [INFO] [stderr] Compiling cortex-m-rt v0.7.3 [INFO] [stderr] Compiling cortex-m-semihosting v0.5.0 [INFO] [stderr] Compiling stm32l4 v0.15.1 [INFO] [stderr] Compiling embed_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling panic-semihosting v0.6.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/exception.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | static mut COUNT: u32 = 0; [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: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcSmuVzU/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libstm32l4-7a338afb359d9a4b,libpanic_semihosting-f7abba0e65315394}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*}.rlib" "/opt/rustwide/target/debug/deps/{libcortex_m_semihosting-c682d2f6a893d2e2,libcortex_m-43c30ef564c2f616,libembedded_hal-9248f59554583de9,libvoid-6336667ff9ef9cc5,libnb-81ae13d99d5ea728,libnb-8256a674579b77d4,libvolatile_register-6ecd5712b45a5657,libvcell-0eaad7c905f5a0e7,libbare_metal-4c035d36fb109858,libcortex_m_rt-2ef39b979b70ca64}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcSmuVzU/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/embed_rs-0e7727ae49566788/out" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-660a186c047eb77a/out" "-L" "/opt/rustwide/target/debug/build/stm32l4-3219ff6df57e0387/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/embed_rs-dcd89084d772b5a6" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "--nmagic" "-Tlink.x" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: cc: error: unrecognized command-line option '--nmagic' [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `embed_rs` (bin "embed_rs") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "fec8a88c1b7718492cdac5e464cb0e8b4787bd3b1646c00eddb0156164e5876a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fec8a88c1b7718492cdac5e464cb0e8b4787bd3b1646c00eddb0156164e5876a", kill_on_drop: false }` [INFO] [stdout] fec8a88c1b7718492cdac5e464cb0e8b4787bd3b1646c00eddb0156164e5876a