[INFO] fetching crate embed_rs 0.1.0...
[INFO] testing embed_rs-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate embed_rs 0.1.0 into /workspace/builds/worker-7-tc2/source
[INFO] removed /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate embed_rs 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 793e61696a444a943db2d21f58c45f086afeaf367de214c511f07c1719db3299
[INFO] running `Command { std: "docker" "start" "-a" "793e61696a444a943db2d21f58c45f086afeaf367de214c511f07c1719db3299", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "793e61696a444a943db2d21f58c45f086afeaf367de214c511f07c1719db3299", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "793e61696a444a943db2d21f58c45f086afeaf367de214c511f07c1719db3299", kill_on_drop: false }`
[INFO] [stdout] 793e61696a444a943db2d21f58c45f086afeaf367de214c511f07c1719db3299
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0c6d3632636beba46857932d19088804fcd7200b73fb832cfde90f8d6628c3fe
[INFO] running `Command { std: "docker" "start" "-a" "0c6d3632636beba46857932d19088804fcd7200b73fb832cfde90f8d6628c3fe", kill_on_drop: false }`
[INFO] [stderr]    Compiling cortex-m v0.7.7
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling nb v1.1.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling cortex-m-rt v0.7.3
[INFO] [stderr]    Compiling vcell v0.1.3
[INFO] [stderr]    Compiling bitfield v0.13.2
[INFO] [stderr]    Compiling cortex-m-semihosting v0.5.0
[INFO] [stderr]    Compiling stm32l4 v0.15.1
[INFO] [stderr]    Compiling bare-metal v1.0.0
[INFO] [stderr]    Compiling embed_rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling panic-halt v0.2.0
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]    Compiling volatile-register v0.2.2
[INFO] [stderr]    Compiling nb v0.1.3
[INFO] [stderr]    Compiling embedded-hal v0.2.7
[INFO] [stderr]    Compiling panic-semihosting v0.6.0
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v1.0.109
[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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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/rustcQKkMZ7/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libstm32l4-cef4d5801559d4c7,libpanic_semihosting-e08ec908542839d1}.rlib" "<sysroot>/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-b48b95985f8e317a,libcortex_m-a6ab47196d603eaf,libembedded_hal-9be91e8367b2d5c9,libvoid-9163cd71c286a90e,libnb-4261131878fadeb2,libnb-86f78d16dd59c3ce,libvolatile_register-ec50e058c7292123,libvcell-d64dabacbc42077e,libbare_metal-f581e6a1989c1687,libcortex_m_rt-331ae579ee773453}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcQKkMZ7/raw-dylibs" "-B<sysroot>/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-3a24bdc109bad2af/out" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-7c90d73e45b1c29d/out" "-L" "/opt/rustwide/target/debug/build/stm32l4-80eab74debe1886e/out" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/embed_rs-0318c990b42cae07" "-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" "0c6d3632636beba46857932d19088804fcd7200b73fb832cfde90f8d6628c3fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0c6d3632636beba46857932d19088804fcd7200b73fb832cfde90f8d6628c3fe", kill_on_drop: false }`
[INFO] [stdout] 0c6d3632636beba46857932d19088804fcd7200b73fb832cfde90f8d6628c3fe
