[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 master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0ptim0%2Fmcu_rust_test" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-0-tc1/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-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0ptim0/mcu_rust_test on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded volatile-register v0.2.2
[INFO] [stderr]   Downloaded cortex-m-rt-macros v0.7.0
[INFO] [stderr]   Downloaded embedded-hal v0.2.7
[INFO] [stderr]   Downloaded fugit-timer v0.1.3
[INFO] [stderr]   Downloaded vcell v0.1.3
[INFO] [stderr]   Downloaded cortex-m-rt v0.7.3
[INFO] [stderr]   Downloaded panic-halt v0.2.0
[INFO] [stderr]   Downloaded fugit v0.3.7
[INFO] [stderr]   Downloaded bxcan v0.7.0
[INFO] [stderr]   Downloaded usb-device v0.2.9
[INFO] [stderr]   Downloaded semver v0.9.0
[INFO] [stderr]   Downloaded bare-metal v0.2.5
[INFO] [stderr]   Downloaded bitfield v0.13.2
[INFO] [stderr]   Downloaded nb v1.1.0
[INFO] [stderr]   Downloaded nb v0.1.3
[INFO] [stderr]   Downloaded cortex-m v0.7.7
[INFO] [stderr]   Downloaded embedded-dma v0.2.0
[INFO] [stderr]   Downloaded gcd v2.3.0
[INFO] [stderr]   Downloaded stm32-usbd v0.6.0
[INFO] [stderr]   Downloaded bare-metal v1.0.0
[INFO] [stderr]   Downloaded semver-parser v0.7.0
[INFO] [stderr]   Downloaded rustc_version v0.2.3
[INFO] [stderr]   Downloaded stm32f1xx-hal v0.10.0
[INFO] [stderr]   Downloaded stm32f1 v0.15.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 86883f73c81c75a60a029bc75a19a7d7e1bc0a482fed6f4d88951fb6f8e8c5a0
[INFO] running `Command { std: "docker" "start" "-a" "86883f73c81c75a60a029bc75a19a7d7e1bc0a482fed6f4d88951fb6f8e8c5a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "86883f73c81c75a60a029bc75a19a7d7e1bc0a482fed6f4d88951fb6f8e8c5a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "86883f73c81c75a60a029bc75a19a7d7e1bc0a482fed6f4d88951fb6f8e8c5a0", kill_on_drop: false }`
[INFO] [stdout] 86883f73c81c75a60a029bc75a19a7d7e1bc0a482fed6f4d88951fb6f8e8c5a0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 338752ffd72997317d264280aa13c859872002a267d671436b237ac26ffd37e0
[INFO] running `Command { std: "docker" "start" "-a" "338752ffd72997317d264280aa13c859872002a267d671436b237ac26ffd37e0", 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 cortex-m v0.7.7
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling vcell v0.1.3
[INFO] [stderr]    Compiling nb v0.1.3
[INFO] [stderr]    Compiling cortex-m-rt v0.7.3
[INFO] [stderr]    Compiling embedded-hal v0.2.7
[INFO] [stderr]    Compiling volatile-register v0.2.2
[INFO] [stderr]    Compiling bitfield v0.13.2
[INFO] [stderr]    Compiling stm32f1 v0.15.1
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling gcd v2.3.0
[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 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 fugit-timer v0.1.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/rustcnQyBEG/symbols.o" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libstm32f1xx_hal-a9c097867f769c53.rlib,libfugit_timer-7fd9136a154b788d.rlib,libbxcan-129fca9d5911616b.rlib,libbitflags-7a1533f4997588f6.rlib,libstm32_usbd-6e653fa59c5b7442.rlib,libusb_device-1170cfe39ea357cb.rlib,libfugit-5f65698fce0774fd.rlib,libgcd-ab465933dcc3295f.rlib,libembedded_dma-fb49cba24239d1aa.rlib,libstable_deref_trait-6ed76fbbc2cd7469.rlib,libstm32f1-6800b80dcd5d8eff.rlib,libcortex_m-9bbd3c17ee341255.rlib,libvolatile_register-b34c41bd6056c3f7.rlib,libvcell-65cbbc0a4bd9ffe2.rlib,libbare_metal-94a2ed62d7b96f83.rlib,libembedded_hal-d1075b2e7d9b11f6.rlib,libvoid-2ac2fefcdb656313.rlib,libnb-f097c991d9fa8587.rlib,libcortex_m_rt-68370674863ed15f.rlib,libnb-53ffcfa183be66e7.rlib,libpanic_halt-31262b9218eefba0.rlib}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcnQyBEG/raw-dylibs" "-Wl,-Bdynamic" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-6ad89845c54ea45a/out" "-L" "/opt/rustwide/target/debug/build/stm32f1-f18889d8aa313221/out" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rust_mcu-a6731cef7ff988b4" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-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-a6731cef7ff988b4.rust_mcu.7df6190b3983eb0c-cgu.0.rcgu.o:(rust_mcu::__cortex_m_rt_main::h6461757063ccd043)
[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-a6731cef7ff988b4.rust_mcu.7df6190b3983eb0c-cgu.0.rcgu.o:(rust_mcu::__cortex_m_rt_main::h6461757063ccd043)
[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-a6731cef7ff988b4.rust_mcu.7df6190b3983eb0c-cgu.0.rcgu.o:(rust_mcu::__cortex_m_rt_main::h6461757063ccd043)
[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-a6731cef7ff988b4.rust_mcu.7df6190b3983eb0c-cgu.0.rcgu.o:(rust_mcu::__cortex_m_rt_main::h6461757063ccd043)
[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-a6731cef7ff988b4.rust_mcu.7df6190b3983eb0c-cgu.0.rcgu.o:(rust_mcu::__cortex_m_rt_main::h6461757063ccd043)
[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-a6731cef7ff988b4.rust_mcu.7df6190b3983eb0c-cgu.0.rcgu.o:(rust_mcu::__cortex_m_rt_main::h6461757063ccd043)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: rust_eh_personality
[INFO] [stdout]           >>> referenced by core.5b33e9a2e38b902b-cgu.0
[INFO] [stdout]           >>>               core-3d3ce652f9fb12f3.core.5b33e9a2e38b902b-cgu.0.rcgu.o:(DW.ref.rust_eh_personality) in archive /opt/rustwide/rustup-home/toolchains/d98a5da813da67eb189387b8ccfb73cf481275d8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-3d3ce652f9fb12f3.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" "338752ffd72997317d264280aa13c859872002a267d671436b237ac26ffd37e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "338752ffd72997317d264280aa13c859872002a267d671436b237ac26ffd37e0", kill_on_drop: false }`
[INFO] [stdout] 338752ffd72997317d264280aa13c859872002a267d671436b237ac26ffd37e0
