[INFO] cloning repository https://github.com/0ptim0/mcu_rust_test
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0ptim0/mcu_rust_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0ptim0%2Fmcu_rust_test", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0ptim0%2Fmcu_rust_test'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8e80dce9a2122ae617b513f121b67bc5ab4d16eb
[INFO] testing 0ptim0/mcu_rust_test against beta-2025-09-21 for beta-1.91-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0ptim0%2Fmcu_rust_test" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/0ptim0/mcu_rust_test
[INFO] finished tweaking git repo https://github.com/0ptim0/mcu_rust_test
[INFO] tweaked toml for git repo https://github.com/0ptim0/mcu_rust_test written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0ptim0/mcu_rust_test 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 git repo https://github.com/0ptim0/mcu_rust_test 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] 9323a773b641382eb77587d21fc75d2ca0e07bf17efee527ecbaabc14d023cbc
[INFO] running `Command { std: "docker" "start" "-a" "9323a773b641382eb77587d21fc75d2ca0e07bf17efee527ecbaabc14d023cbc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9323a773b641382eb77587d21fc75d2ca0e07bf17efee527ecbaabc14d023cbc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9323a773b641382eb77587d21fc75d2ca0e07bf17efee527ecbaabc14d023cbc", kill_on_drop: false }`
[INFO] [stdout] 9323a773b641382eb77587d21fc75d2ca0e07bf17efee527ecbaabc14d023cbc
[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] 8320cfea52aa0fb2e98af59cbbcf65e2f7211aefbcff34f2248e1d57fd5a710b
[INFO] running `Command { std: "docker" "start" "-a" "8320cfea52aa0fb2e98af59cbbcf65e2f7211aefbcff34f2248e1d57fd5a710b", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling nb v1.1.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling cortex-m v0.7.7
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling vcell v0.1.3
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling nb v0.1.3
[INFO] [stderr]    Compiling cortex-m-rt v0.7.3
[INFO] [stderr]    Compiling volatile-register v0.2.2
[INFO] [stderr]    Compiling embedded-hal v0.2.7
[INFO] [stderr]    Compiling bitfield v0.13.2
[INFO] [stderr]    Compiling gcd v2.3.0
[INFO] [stderr]    Compiling stm32f1 v0.15.1
[INFO] [stderr]    Compiling stm32-usbd v0.6.0
[INFO] [stderr]    Compiling fugit v0.3.7
[INFO] [stderr]    Compiling bare-metal v1.0.0
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling usb-device v0.2.9
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling embedded-dma v0.2.0
[INFO] [stderr]    Compiling panic-halt v0.2.0
[INFO] [stderr]    Compiling bxcan v0.7.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]    Compiling fugit-timer v0.1.3
[INFO] [stderr]    Compiling cortex-m-rt-macros v0.7.0
[INFO] [stderr]    Compiling stm32f1xx-hal v0.10.0
[INFO] [stderr]    Compiling rust_mcu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustcIWIR5h/symbols.o" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libstm32f1xx_hal-510c4c4b42b60d13,libfugit_timer-e23c13ef88d366c1,libbxcan-b2daf544767f26cf,libbitflags-e7a388805a9595d6,libstm32_usbd-1dba9a277b4453aa,libusb_device-91a02c556236b84f,libfugit-b9df5a9fa0860d37,libgcd-edcc9f395e2dcc80,libembedded_dma-dc8678cf8d19ade4,libstable_deref_trait-88c4a58f5da30d3b,libstm32f1-08362043e2814143,libcortex_m-6a2e2f63e957b223,libvolatile_register-30cb12d9d33fd3e4,libvcell-7eddd9ad88d85e44,libbare_metal-7e517f45d94f7c04,libembedded_hal-db5fd671f27a5023,libvoid-459657724366a489,libnb-d4db96c1ddff04d1,libcortex_m_rt-163ac0986c476e8e,libnb-5d36e60ba3e6c2dc,libpanic_halt-d5c87daa68eb99d5}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcIWIR5h/raw-dylibs" "-Wl,-Bdynamic" "-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/cortex-m-rt-660a186c047eb77a/out" "-L" "/opt/rustwide/target/debug/build/stm32f1-6dcdacb2f90c557a/out" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rust_mcu-022808a6e94df0f8" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: undefined symbol: __libc_start_main
[INFO] [stdout]           >>> referenced by /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o:(_start)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: __primask_r
[INFO] [stdout]           >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/rust_mcu-022808a6e94df0f8.rust_mcu.b5d47950356b44-cgu.0.rcgu.o:(cortex_m::register::primask::read::hff623e2959ff3b1d)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: __cpsie
[INFO] [stdout]           >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/rust_mcu-022808a6e94df0f8.rust_mcu.b5d47950356b44-cgu.0.rcgu.o:(cortex_m::interrupt::enable::h77881adf8c65dc7a)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: __cpsid
[INFO] [stdout]           >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/rust_mcu-022808a6e94df0f8.rust_mcu.b5d47950356b44-cgu.0.rcgu.o:(cortex_m::interrupt::disable::hced31f2bab51a2ab)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: memcpy
[INFO] [stdout]           >>> referenced by main.rs:33 (src/main.rs:33)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/rust_mcu-022808a6e94df0f8.rust_mcu.b5d47950356b44-cgu.0.rcgu.o:(rust_mcu::__cortex_m_rt_main::hc051d8d85544fe2a)
[INFO] [stdout]           >>> referenced by rcc.rs:22 (src/rcc.rs:22)
[INFO] [stdout]           >>>               stm32f1xx_hal-510c4c4b42b60d13.stm32f1xx_hal.109abbe34cbfad74-cgu.3.rcgu.o:(_$LT$stm32f1..stm32f103..RCC$u20$as$u20$stm32f1xx_hal..rcc..RccExt$GT$::constrain::h8854184d561625de) in archive /opt/rustwide/target/debug/deps/libstm32f1xx_hal-510c4c4b42b60d13.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: rust_eh_personality
[INFO] [stdout]           >>> referenced by core.dc8158927f5e781c-cgu.0
[INFO] [stdout]           >>>               core-e854c786e1aa7304.core.dc8158927f5e781c-cgu.0.rcgu.o:(DW.ref.rust_eh_personality) in archive /opt/rustwide/rustup-home/toolchains/beta-2025-09-21-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-e854c786e1aa7304.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_mcu` (bin "rust_mcu") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "8320cfea52aa0fb2e98af59cbbcf65e2f7211aefbcff34f2248e1d57fd5a710b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8320cfea52aa0fb2e98af59cbbcf65e2f7211aefbcff34f2248e1d57fd5a710b", kill_on_drop: false }`
[INFO] [stdout] 8320cfea52aa0fb2e98af59cbbcf65e2f7211aefbcff34f2248e1d57fd5a710b
