[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#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0ptim0%2Fmcu_rust_test" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0ptim0/mcu_rust_test on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded volatile-register v0.2.2
[INFO] [stderr]   Downloaded bare-metal v1.0.0
[INFO] [stderr]   Downloaded cortex-m-rt v0.7.3
[INFO] [stderr]   Downloaded fugit-timer v0.1.3
[INFO] [stderr]   Downloaded usb-device v0.2.9
[INFO] [stderr]   Downloaded panic-halt v0.2.0
[INFO] [stderr]   Downloaded bare-metal v0.2.5
[INFO] [stderr]   Downloaded bxcan v0.7.0
[INFO] [stderr]   Downloaded bitfield v0.13.2
[INFO] [stderr]   Downloaded cortex-m-rt-macros v0.7.0
[INFO] [stderr]   Downloaded cortex-m v0.7.7
[INFO] [stderr]   Downloaded stm32f1xx-hal v0.10.0
[INFO] [stderr]   Downloaded stm32f1 v0.15.1
[INFO] [stderr]   Downloaded stm32-usbd v0.6.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 99bfff91b8db347b2ca03aa09c6879c2c13601e3862ce355cfb8181091fd7bca
[INFO] running `Command { std: "docker" "start" "-a" "99bfff91b8db347b2ca03aa09c6879c2c13601e3862ce355cfb8181091fd7bca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "99bfff91b8db347b2ca03aa09c6879c2c13601e3862ce355cfb8181091fd7bca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "99bfff91b8db347b2ca03aa09c6879c2c13601e3862ce355cfb8181091fd7bca", kill_on_drop: false }`
[INFO] [stdout] 99bfff91b8db347b2ca03aa09c6879c2c13601e3862ce355cfb8181091fd7bca
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c0f1c0269fc0d404f5ba105541c75e5027cf52753fc2f109ded5ed9ed03bbc7b
[INFO] running `Command { std: "docker" "start" "-a" "c0f1c0269fc0d404f5ba105541c75e5027cf52753fc2f109ded5ed9ed03bbc7b", 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 void v1.0.2
[INFO] [stderr]    Compiling vcell v0.1.3
[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 stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling bare-metal v1.0.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling usb-device v0.2.9
[INFO] [stderr]    Compiling panic-halt v0.2.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 fugit v0.3.7
[INFO] [stderr]    Compiling embedded-hal v0.2.7
[INFO] [stderr]    Compiling bxcan v0.7.0
[INFO] [stderr]    Compiling semver v0.9.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 syn v1.0.109
[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" "/opt/rustwide/target/debug/deps/rustc84cuhq/symbols.o" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libstm32f1xx_hal-d6e68d51b3751978,libfugit_timer-2a28f032eb03f196,libbxcan-ab3615eb9a53afb5,libbitflags-2adfc4d1345ba0b9,libstm32_usbd-69a7163146d59460,libusb_device-0d51152ce3721a20,libfugit-57600dc645944d55,libgcd-d89d6df20ffb8ecd,libembedded_dma-3599204395c6e14e,libstable_deref_trait-6a4c0c8e0fe63748,libstm32f1-ab7d6fd640c65cb5,libcortex_m-aa8e18f22885a0f1,libvolatile_register-96d9227d268bff86,libvcell-35e30620c3b29b14,libbare_metal-49600e1b362bb6ac,libembedded_hal-8acf75f177d37f69,libvoid-fde4bf95fec32bcb,libnb-ea2f3333e5534594,libcortex_m_rt-2a3fa14377e3a296,libnb-35348d1d35b1b6ae,libpanic_halt-5e790732b354075e}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/debug/deps/rustc84cuhq/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-cd5b1b18a80ae821/out" "-L" "/opt/rustwide/target/debug/build/stm32f1-835caea06ee61bb5/out" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rust_mcu-bb7c77c948771c72" "-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: rust_eh_personality
[INFO] [stdout]           >>> referenced by core.c5ed12ab89cc536a-cgu.0
[INFO] [stdout]           >>>               core-78f4b20a6083cd0a.core.c5ed12ab89cc536a-cgu.0.rcgu.o:(DW.ref.rust_eh_personality) in archive /opt/rustwide/rustup-home/toolchains/2fd6efc32704647e64d3d646d21c4c68eae100e4/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-78f4b20a6083cd0a.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: memcpy
[INFO] [stdout]           >>> referenced by rcc.rs:22 (src/rcc.rs:22)
[INFO] [stdout]           >>>               stm32f1xx_hal-d6e68d51b3751978.stm32f1xx_hal.454cb5753e231bda-cgu.5.rcgu.o:(<stm32f1::stm32f103::RCC as stm32f1xx_hal::rcc::RccExt>::constrain) in archive /opt/rustwide/target/debug/deps/libstm32f1xx_hal-d6e68d51b3751978.rlib
[INFO] [stdout]           >>> referenced by generic.rs:165 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stm32f1-0.15.1/src/generic.rs:165)
[INFO] [stdout]           >>>               stm32f1xx_hal-d6e68d51b3751978.stm32f1xx_hal.454cb5753e231bda-cgu.3.rcgu.o:(<stm32f1xx_hal::rcc::CFGR>::_freeze_with_config) in archive /opt/rustwide/target/debug/deps/libstm32f1xx_hal-d6e68d51b3751978.rlib
[INFO] [stdout]           >>> referenced by main.rs:33 (src/main.rs:33)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/rust_mcu-bb7c77c948771c72.rust_mcu.759e5a3a796fd489-cgu.0.rcgu.o:(rust_mcu::__cortex_m_rt_main)
[INFO] [stdout]           >>> referenced 1 more times
[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-bb7c77c948771c72.rust_mcu.759e5a3a796fd489-cgu.0.rcgu.o:(cortex_m::interrupt::enable)
[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-bb7c77c948771c72.rust_mcu.759e5a3a796fd489-cgu.0.rcgu.o:(cortex_m::interrupt::disable)
[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-bb7c77c948771c72.rust_mcu.759e5a3a796fd489-cgu.0.rcgu.o:(cortex_m::register::primask::read)
[INFO] [stdout]           
[INFO] [stdout]           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]           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" "c0f1c0269fc0d404f5ba105541c75e5027cf52753fc2f109ded5ed9ed03bbc7b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0f1c0269fc0d404f5ba105541c75e5027cf52753fc2f109ded5ed9ed03bbc7b", kill_on_drop: false }`
[INFO] [stdout] c0f1c0269fc0d404f5ba105541c75e5027cf52753fc2f109ded5ed9ed03bbc7b
