[INFO] cloning repository https://github.com/Fannon/rust-microbit
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Fannon/rust-microbit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFannon%2Frust-microbit", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFannon%2Frust-microbit'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] aed81cdc8df4bb863f808f117f87429f430f479a
[INFO] building Fannon/rust-microbit against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFannon%2Frust-microbit" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Fannon/rust-microbit on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/Fannon/rust-microbit
[INFO] finished tweaking git repo https://github.com/Fannon/rust-microbit
[INFO] tweaked toml for git repo https://github.com/Fannon/rust-microbit written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Fannon/rust-microbit 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cortex-m-rt v0.7.3
[INFO] [stderr]   Downloaded microbit-v2 v0.15.1
[INFO] [stderr]   Downloaded volatile-register v0.2.2
[INFO] [stderr]   Downloaded tiny-led-matrix v1.0.2
[INFO] [stderr]   Downloaded microbit-common v0.15.1
[INFO] [stderr]   Downloaded nrf-usbd v0.3.0
[INFO] [stderr]   Downloaded nrf-hal-common v0.18.0
[INFO] [stderr]   Downloaded cortex-m v0.7.7
[INFO] [stderr]   Downloaded nrf52833-hal v0.18.0
[INFO] [stderr]   Downloaded usb-device v0.3.2
[INFO] [stderr]   Downloaded rtt-target v0.3.1
[INFO] [stderr]   Downloaded embedded-storage v0.3.1
[INFO] [stderr]   Downloaded fixed v1.28.0
[INFO] [stderr]   Downloaded nrf52833-pac v0.12.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9f4b05797b2ed0e5c6ebc35129727f6ab18efdf020b3ab36c2c3125f177806fa
[INFO] running `Command { std: "docker" "start" "-a" "9f4b05797b2ed0e5c6ebc35129727f6ab18efdf020b3ab36c2c3125f177806fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9f4b05797b2ed0e5c6ebc35129727f6ab18efdf020b3ab36c2c3125f177806fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9f4b05797b2ed0e5c6ebc35129727f6ab18efdf020b3ab36c2c3125f177806fa", kill_on_drop: false }`
[INFO] [stdout] 9f4b05797b2ed0e5c6ebc35129727f6ab18efdf020b3ab36c2c3125f177806fa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2a962c86e1cad241d78be4214eb82bd23c163c3f8262cd4546baf416c6f5b8a2
[INFO] running `Command { std: "docker" "start" "-a" "2a962c86e1cad241d78be4214eb82bd23c163c3f8262cd4546baf416c6f5b8a2", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.87
[INFO] [stderr]    Compiling cortex-m v0.7.7
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling nb v1.1.0
[INFO] [stderr]    Compiling vcell v0.1.3
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling heapless v0.8.0
[INFO] [stderr]    Compiling cortex-m-rt v0.7.3
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling bitfield v0.13.2
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling portable-atomic v1.9.0
[INFO] [stderr]    Compiling az v1.2.1
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling nb v0.1.3
[INFO] [stderr]    Compiling volatile-register v0.2.2
[INFO] [stderr]    Compiling fixed v1.28.0
[INFO] [stderr]    Compiling embedded-hal v0.2.7
[INFO] [stderr]    Compiling nrf52833-pac v0.12.2
[INFO] [stderr]    Compiling half v2.4.1
[INFO] [stderr]    Compiling hash32 v0.3.1
[INFO] [stderr]    Compiling critical-section v1.2.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling nrf-hal-common v0.18.0
[INFO] [stderr]    Compiling bytemuck v1.19.0
[INFO] [stderr]    Compiling embedded-dma v0.2.0
[INFO] [stderr]    Compiling embedded-hal v1.0.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling embedded-io v0.6.1
[INFO] [stderr]    Compiling embedded-storage v0.3.1
[INFO] [stderr]    Compiling nrf52833-hal v0.18.0
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling tiny-led-matrix v1.0.2
[INFO] [stderr]    Compiling ufmt-write v0.1.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling panic-halt v0.2.0
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling usb-device v0.3.2
[INFO] [stderr]    Compiling rtt-target v0.3.1
[INFO] [stderr]    Compiling nrf-usbd v0.3.0
[INFO] [stderr]    Compiling cortex-m-rt-macros v0.7.0
[INFO] [stderr]    Compiling microbit-common v0.15.1
[INFO] [stderr]    Compiling microbit-v2 v0.15.1
[INFO] [stderr]    Compiling microbit-fun v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcLc4gAY/symbols.o" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librtt_target-ee688a4d0f9963fa.rlib,libufmt_write-902420666853f30d.rlib,libpanic_halt-565acd89fd6e79c7.rlib,libmicrobit-189a35e2cda2d5d0.rlib,libmicrobit_common-e9684febbb387022.rlib,libtiny_led_matrix-b2fa5920371f96bc.rlib,libnrf52833_hal-a41eff45202851ba.rlib,libnrf_hal_common-c066cb3b7d84d646.rlib,libnrf_usbd-4c03737d7f661f81.rlib,libusb_device-9dba1316d48f1a28.rlib,libheapless-600ac30a620d1500.rlib,libhash32-3ef95b1a517574cd.rlib,libbyteorder-4ebcf27bcbc225cc.rlib,libportable_atomic-dc4304f1cbd5a2a3.rlib,libcritical_section-99240751c12cb15b.rlib,libembedded_io-7b4f5bd6253fdcb0.rlib,libcast-afe242651a49c0d7.rlib,libfixed-408a394556d9c911.rlib,libtypenum-157257c9380f2ebf.rlib,libbytemuck-349cb3988cc84f1e.rlib,libhalf-3cabc65215fb2210.rlib,libaz-7e449501cb300238.rlib,librand_core-79f977424ae30105.rlib,libcfg_if-13dd0b69ac0931ce.rlib,libembedded_storage-7791a6f16b7478c9.rlib,libembedded_dma-9661fe63c0ca41aa.rlib,libstable_deref_trait-9f14b3e587d3325f.rlib,libnrf52833_pac-9947cbe0842ba7a7.rlib,libcortex_m-9950042cbc99850a.rlib,libembedded_hal-1721f6e910fd2cf3.rlib,libvoid-778f2d1e965b3bde.rlib,libnb-ab47a6a1fc0c1a6e.rlib,libnb-d0b5a3e3deb4ff3b.rlib,libvolatile_register-a5e86b25ff517f85.rlib,libvcell-8ef284a0d8a93ca2.rlib,libbare_metal-1460e05325d51aa6.rlib,libembedded_hal-ea9ebe109a7a46f7.rlib,libcortex_m_rt-f9a874018ade1b5b.rlib}" "/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/lib/{librustc_std_workspace_core-395a38b8e0851c9b.rlib,libcore-d453bab70303062c.rlib,libcompiler_builtins-dd545221bb4f4734.rlib}" "-Wl,-Bdynamic" "-B/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/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-8a9f138f8e548d88/out" "-L" "/opt/rustwide/target/debug/build/nrf52833-hal-94dcb5fa806edfa4/out" "-L" "/opt/rustwide/target/debug/build/nrf52833-pac-8a2487c21a0d72fe/out" "-L" "/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/microbit_fun-2c25a7a24472b44f" "-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/11/../../../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]           >>>               rtt_target-ee688a4d0f9963fa.rtt_target.9196a00ef3e4e6a0-cgu.0.rcgu.o:(cortex_m::register::primask::read::hbb232b12bb38e6b1) in archive /opt/rustwide/target/debug/deps/librtt_target-ee688a4d0f9963fa.rlib
[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]           >>>               microbit_common-e9684febbb387022.microbit_common.5e70cc77126a2acf-cgu.0.rcgu.o:(cortex_m::register::primask::read::h6d9cc69f1a520723) in archive /opt/rustwide/target/debug/deps/libmicrobit_common-e9684febbb387022.rlib
[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]           >>>               rtt_target-ee688a4d0f9963fa.rtt_target.9196a00ef3e4e6a0-cgu.0.rcgu.o:(cortex_m::interrupt::enable::h2d1115f5f7f912a2) in archive /opt/rustwide/target/debug/deps/librtt_target-ee688a4d0f9963fa.rlib
[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]           >>>               microbit_common-e9684febbb387022.microbit_common.5e70cc77126a2acf-cgu.0.rcgu.o:(cortex_m::interrupt::enable::h85a8fd45383fd6b9) in archive /opt/rustwide/target/debug/deps/libmicrobit_common-e9684febbb387022.rlib
[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]           >>>               rtt_target-ee688a4d0f9963fa.rtt_target.9196a00ef3e4e6a0-cgu.0.rcgu.o:(cortex_m::interrupt::disable::hca76d93a3cc26d19) in archive /opt/rustwide/target/debug/deps/librtt_target-ee688a4d0f9963fa.rlib
[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]           >>>               microbit_common-e9684febbb387022.microbit_common.5e70cc77126a2acf-cgu.0.rcgu.o:(cortex_m::interrupt::disable::he3850d698e44e2f1) in archive /opt/rustwide/target/debug/deps/libmicrobit_common-e9684febbb387022.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: memcpy
[INFO] [stdout]           >>> referenced by mod.rs:4390 (/rustc/ad211ced81509462cdfe4c29ed10f97279a0acae/library/core/src/intrinsics/mod.rs:4390)
[INFO] [stdout]           >>>               rtt_target-ee688a4d0f9963fa.rtt_target.9196a00ef3e4e6a0-cgu.0.rcgu.o:(rtt_target::rtt::RttWriter::write_with_mode::h76e567ca80553b82) in archive /opt/rustwide/target/debug/deps/librtt_target-ee688a4d0f9963fa.rlib
[INFO] [stdout]           >>> referenced by print.rs:98 (src/print.rs:98)
[INFO] [stdout]           >>>               rtt_target-ee688a4d0f9963fa.rtt_target.9196a00ef3e4e6a0-cgu.0.rcgu.o:(rtt_target::print::print_impl::with_writer::_$u7b$$u7b$closure$u7d$$u7d$::h01a80ec346baefc2) in archive /opt/rustwide/target/debug/deps/librtt_target-ee688a4d0f9963fa.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: rust_eh_personality
[INFO] [stdout]           >>> referenced by core.1bc44a83d2f972c2-cgu.0
[INFO] [stdout]           >>>               core-d453bab70303062c.core.1bc44a83d2f972c2-cgu.0.rcgu.o:(DW.ref.rust_eh_personality) in archive /opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-d453bab70303062c.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `microbit-fun` (bin "microbit-fun") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "2a962c86e1cad241d78be4214eb82bd23c163c3f8262cd4546baf416c6f5b8a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a962c86e1cad241d78be4214eb82bd23c163c3f8262cd4546baf416c6f5b8a2", kill_on_drop: false }`
[INFO] [stdout] 2a962c86e1cad241d78be4214eb82bd23c163c3f8262cd4546baf416c6f5b8a2
