[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 try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0ptim0%2Fmcu_rust_test" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0ptim0/mcu_rust_test on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 02c2b331619b7a74896208d136d4c74966e67c73d798326ab8503a05519bb63b
[INFO] running `Command { std: "docker" "start" "-a" "02c2b331619b7a74896208d136d4c74966e67c73d798326ab8503a05519bb63b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "02c2b331619b7a74896208d136d4c74966e67c73d798326ab8503a05519bb63b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "02c2b331619b7a74896208d136d4c74966e67c73d798326ab8503a05519bb63b", kill_on_drop: false }`
[INFO] [stdout] 02c2b331619b7a74896208d136d4c74966e67c73d798326ab8503a05519bb63b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b9eac4925568b7bed360a791e000260444daa463ea9ba3b8a90b026afb13d003
[INFO] running `Command { std: "docker" "start" "-a" "b9eac4925568b7bed360a791e000260444daa463ea9ba3b8a90b026afb13d003", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling nb v1.1.0
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling cortex-m v0.7.7
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling vcell v0.1.3
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling cortex-m-rt v0.7.3
[INFO] [stderr]    Compiling bitfield v0.13.2
[INFO] [stderr]    Compiling stm32f1 v0.15.1
[INFO] [stderr]    Compiling stm32-usbd v0.6.0
[INFO] [stderr]    Compiling gcd v2.3.0
[INFO] [stderr]    Compiling usb-device v0.2.9
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling bare-metal v1.0.0
[INFO] [stderr]    Compiling nb v0.1.3
[INFO] [stderr]    Compiling volatile-register v0.2.2
[INFO] [stderr]    Compiling embedded-dma v0.2.0
[INFO] [stderr]    Compiling panic-halt v0.2.0
[INFO] [stderr]    Compiling embedded-hal v0.2.7
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling fugit v0.3.7
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling bxcan v0.7.0
[INFO] [stderr]    Compiling fugit-timer v0.1.3
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]    Compiling quote v1.0.36
[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/rustcN9jpkn/symbols.o" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libstm32f1xx_hal-eb76d5b58cf19462,libfugit_timer-b5bbdc1f2169ea65,libbxcan-7d77486d18a716cb,libbitflags-2adfc4d1345ba0b9,libstm32_usbd-ae911f2aecfa988e,libusb_device-0d51152ce3721a20,libfugit-a87d92a63e2e0567,libgcd-d89d6df20ffb8ecd,libembedded_dma-8cefe65c0f21d2f5,libstable_deref_trait-6a4c0c8e0fe63748,libstm32f1-84a0459100238a55,libcortex_m-908cfff6476afae1,libvolatile_register-1b29577476cd7cd7,libvcell-35e30620c3b29b14,libbare_metal-3b67006d3bdbb49f,libembedded_hal-8636148b07c123b4,libvoid-fde4bf95fec32bcb,libnb-70935082673d5d84,libcortex_m_rt-95ed539046ea7ff7,libnb-35348d1d35b1b6ae,libpanic_halt-5e790732b354075e}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcN9jpkn/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-7c90d73e45b1c29d/out" "-L" "/opt/rustwide/target/debug/build/stm32f1-c9affb0549a2a7fb/out" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rust_mcu-82c713ce84baf602" "-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-82c713ce84baf602.rust_mcu.350f24b99e47aebe-cgu.0.rcgu.o:(cortex_m::register::primask::read::headb757ef16ac014)
[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-82c713ce84baf602.rust_mcu.350f24b99e47aebe-cgu.0.rcgu.o:(cortex_m::interrupt::enable::h97ece8f5bfd1cefa)
[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-82c713ce84baf602.rust_mcu.350f24b99e47aebe-cgu.0.rcgu.o:(cortex_m::interrupt::disable::h753e185086923cf7)
[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-82c713ce84baf602.rust_mcu.350f24b99e47aebe-cgu.0.rcgu.o:(rust_mcu::__cortex_m_rt_main::h4ea10135431c9482)
[INFO] [stdout]           >>> referenced by rcc.rs:22 (src/rcc.rs:22)
[INFO] [stdout]           >>>               stm32f1xx_hal-eb76d5b58cf19462.stm32f1xx_hal.ca4ceebed657ba27-cgu.5.rcgu.o:(_$LT$stm32f1..stm32f103..RCC$u20$as$u20$stm32f1xx_hal..rcc..RccExt$GT$::constrain::h90e699e91499ac95) in archive /opt/rustwide/target/debug/deps/libstm32f1xx_hal-eb76d5b58cf19462.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: rust_eh_personality
[INFO] [stdout]           >>> referenced by core.91ef86f5e1df6c36-cgu.0
[INFO] [stdout]           >>>               core-5fc89b42ad57ec54.core.91ef86f5e1df6c36-cgu.0.rcgu.o:(DW.ref.rust_eh_personality) in archive /opt/rustwide/rustup-home/toolchains/9f93af291970322f4f1c6315ccde4d7078201159/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-5fc89b42ad57ec54.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" "b9eac4925568b7bed360a791e000260444daa463ea9ba3b8a90b026afb13d003", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b9eac4925568b7bed360a791e000260444daa463ea9ba3b8a90b026afb13d003", kill_on_drop: false }`
[INFO] [stdout] b9eac4925568b7bed360a791e000260444daa463ea9ba3b8a90b026afb13d003
