[INFO] cloning repository https://github.com/18396461958/stm32f1_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/18396461958/stm32f1_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F18396461958%2Fstm32f1_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F18396461958%2Fstm32f1_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 172c72b0f27c324339c9b6a4280bec671992b4bd
[INFO] testing 18396461958/stm32f1_rust against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F18396461958%2Fstm32f1_rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/18396461958/stm32f1_rust
[INFO] finished tweaking git repo https://github.com/18396461958/stm32f1_rust
[INFO] tweaked toml for git repo https://github.com/18396461958/stm32f1_rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/18396461958/stm32f1_rust on toolchain 1ef7943ee607160a564655b6596f83670ef95df5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/18396461958/stm32f1_rust 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" "+1ef7943ee607160a564655b6596f83670ef95df5" "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 critical-section v1.2.0
[INFO] [stderr]   Downloaded nb v0.1.3
[INFO] [stderr]   Downloaded embedded-hal v0.2.7
[INFO] [stderr]   Downloaded panic-halt v1.0.0
[INFO] [stderr]   Downloaded embedded-dma v0.2.0
[INFO] [stderr]   Downloaded stm32-usbd v0.8.0
[INFO] [stderr]   Downloaded bitfield v0.13.2
[INFO] [stderr]   Downloaded cortex-m-rt v0.7.5
[INFO] [stderr]   Downloaded usb-device v0.3.2
[INFO] [stderr]   Downloaded bxcan v0.8.0
[INFO] [stderr]   Downloaded fugit-timer v0.1.3
[INFO] [stderr]   Downloaded bare-metal v0.2.5
[INFO] [stderr]   Downloaded cortex-m-rt-macros v0.7.5
[INFO] [stderr]   Downloaded cortex-m v0.7.7
[INFO] [stderr]   Downloaded stm32f1xx-hal v0.11.0
[INFO] [stderr]   Downloaded stm32f1 v0.16.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 38603bfe596f4fcd7c26e788a06a542e8bec8e6a24419a6208d7fc5a66c09acb
[INFO] running `Command { std: "docker" "start" "-a" "38603bfe596f4fcd7c26e788a06a542e8bec8e6a24419a6208d7fc5a66c09acb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "38603bfe596f4fcd7c26e788a06a542e8bec8e6a24419a6208d7fc5a66c09acb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38603bfe596f4fcd7c26e788a06a542e8bec8e6a24419a6208d7fc5a66c09acb", kill_on_drop: false }`
[INFO] [stdout] 38603bfe596f4fcd7c26e788a06a542e8bec8e6a24419a6208d7fc5a66c09acb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b82a029fa22105aa7c42ddc3c0f1ade432c02f1c2b6e7f6c5aa42f8d8a1a32ee
[INFO] running `Command { std: "docker" "start" "-a" "b82a029fa22105aa7c42ddc3c0f1ade432c02f1c2b6e7f6c5aa42f8d8a1a32ee", kill_on_drop: false }`
[INFO] [stderr]    Compiling nb v1.1.0
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling cortex-m v0.7.7
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling portable-atomic v1.11.1
[INFO] [stderr]    Compiling vcell v0.1.3
[INFO] [stderr]    Compiling cortex-m-rt v0.7.5
[INFO] [stderr]    Compiling nb v0.1.3
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling heapless v0.8.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling hash32 v0.3.1
[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 critical-section v1.2.0
[INFO] [stderr]    Compiling stm32f1 v0.16.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling gcd v2.3.0
[INFO] [stderr]    Compiling stm32-usbd v0.8.0
[INFO] [stderr]    Compiling fugit v0.3.7
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling embedded-can v0.4.1
[INFO] [stderr]    Compiling embedded-hal v1.0.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling stm32f1xx-hal v0.11.0
[INFO] [stderr]    Compiling bxcan v0.8.0
[INFO] [stderr]    Compiling embedded-dma v0.2.0
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]    Compiling embedded-hal-nb v1.0.0
[INFO] [stderr]    Compiling embedded-io v0.6.1
[INFO] [stderr]    Compiling panic-halt v1.0.0
[INFO] [stderr]    Compiling fugit-timer v0.1.3
[INFO] [stderr]    Compiling usb-device v0.3.2
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling cortex-m-rt-macros v0.7.5
[INFO] [stderr]    Compiling stm32f1_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustc2uLPtH/symbols.o" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libstm32f1xx_hal-8dc35a8e138f979a,libfugit_timer-26007257a5bb9e53,libbxcan-fac233110ff83901,libembedded_can-ceccde391e21be4b,libbitflags-20e87f1f291661ea,libstm32_usbd-f9fbc7acd78251c9,libusb_device-6929afbb06eee896,libheapless-8ea58ca6df639746,libhash32-3ef95b1a517574cd,libbyteorder-4ebcf27bcbc225cc,libembedded_io-7b4f5bd6253fdcb0,libembedded_hal_nb-4b2d3b8293d73384,libembedded_dma-19b0cecee9e99753,libstable_deref_trait-32530be3c749ab0f,libfugit-faacf57b20cecbc8,libgcd-5952cc7abd252066,libembedded_hal-ea9ebe109a7a46f7,libstm32f1-b7cd60d03cd93d5c,libcritical_section-7cb1ece923e53287,libcortex_m-2d2841b21b200982,libembedded_hal-1721f6e910fd2cf3,libvoid-778f2d1e965b3bde,libnb-ab47a6a1fc0c1a6e,libnb-d0b5a3e3deb4ff3b,libvolatile_register-a5e86b25ff517f85,libvcell-8ef284a0d8a93ca2,libbare_metal-6178d12a41d3ded4,libportable_atomic-6daa90591cc2e6ff,libcortex_m_rt-a0fb28015cee119f,libpanic_halt-e4a50b40216bed40}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustc2uLPtH/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-aaf68adabb29c4b2/out" "-L" "/opt/rustwide/target/debug/build/stm32f1-5e5f707de77dfc1e/out" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/stm32f1_rust-a9c5632635b05f93" "-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: _critical_section_1_0_acquire
[INFO] [stdout]           >>> referenced by lib.rs:202 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/critical-section-1.2.0/src/lib.rs:202)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/stm32f1_rust-a9c5632635b05f93.stm32f1_rust.3005810a6a5d790b-cgu.0.rcgu.o:(critical_section::with::he7821556f274780b)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: _critical_section_1_0_release
[INFO] [stdout]           >>> referenced by lib.rs:219 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/critical-section-1.2.0/src/lib.rs:219)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/stm32f1_rust-a9c5632635b05f93.stm32f1_rust.3005810a6a5d790b-cgu.0.rcgu.o:(core::ptr::drop_in_place$LT$critical_section..with..Guard$GT$::h2c0851d991aa1c21)
[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/stm32f1_rust-a9c5632635b05f93.stm32f1_rust.3005810a6a5d790b-cgu.0.rcgu.o:(cortex_m::register::primask::read::h5562e92e82d06532)
[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/stm32f1_rust-a9c5632635b05f93.stm32f1_rust.3005810a6a5d790b-cgu.0.rcgu.o:(cortex_m::interrupt::enable::h7e94499f6dbb02f4)
[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/stm32f1_rust-a9c5632635b05f93.stm32f1_rust.3005810a6a5d790b-cgu.0.rcgu.o:(cortex_m::interrupt::disable::h4f5822dc3aaf6f7b)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: __dsb
[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]           >>>               stm32f1xx_hal-8dc35a8e138f979a.stm32f1xx_hal.175374e35e1c2e9-cgu.0.rcgu.o:(cortex_m::asm::dsb::hfc700268f54df9e2) in archive /opt/rustwide/target/debug/deps/libstm32f1xx_hal-8dc35a8e138f979a.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: rust_eh_personality
[INFO] [stdout]           >>> referenced by core.140e253ac64cf52a-cgu.0
[INFO] [stdout]           >>>               core-5fc89b42ad57ec54.core.140e253ac64cf52a-cgu.0.rcgu.o:(DW.ref.rust_eh_personality) in archive /opt/rustwide/rustup-home/toolchains/1ef7943ee607160a564655b6596f83670ef95df5/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 `stm32f1_rust` (bin "stm32f1_rust") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "b82a029fa22105aa7c42ddc3c0f1ade432c02f1c2b6e7f6c5aa42f8d8a1a32ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b82a029fa22105aa7c42ddc3c0f1ade432c02f1c2b6e7f6c5aa42f8d8a1a32ee", kill_on_drop: false }`
[INFO] [stdout] b82a029fa22105aa7c42ddc3c0f1ade432c02f1c2b6e7f6c5aa42f8d8a1a32ee
