[INFO] cloning repository https://github.com/lehmanju/corne-xiao
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lehmanju/corne-xiao" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flehmanju%2Fcorne-xiao", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flehmanju%2Fcorne-xiao'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1c106d9fe05c73e0f28e708b3c61134396a45651
[INFO] testing lehmanju/corne-xiao against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flehmanju%2Fcorne-xiao" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config
[INFO] started tweaking git repo https://github.com/lehmanju/corne-xiao
[INFO] finished tweaking git repo https://github.com/lehmanju/corne-xiao
[INFO] tweaked toml for git repo https://github.com/lehmanju/corne-xiao written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lehmanju/corne-xiao on toolchain 1.99.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lehmanju/corne-xiao 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" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 663c5abe9d2bc9f9cd1e98843c1771c05833d619ef146cc7ece313379cfac2c2
[INFO] running `Command { std: "docker" "start" "663c5abe9d2bc9f9cd1e98843c1771c05833d619ef146cc7ece313379cfac2c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "663c5abe9d2bc9f9cd1e98843c1771c05833d619ef146cc7ece313379cfac2c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "663c5abe9d2bc9f9cd1e98843c1771c05833d619ef146cc7ece313379cfac2c2" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "663c5abe9d2bc9f9cd1e98843c1771c05833d619ef146cc7ece313379cfac2c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "663c5abe9d2bc9f9cd1e98843c1771c05833d619ef146cc7ece313379cfac2c2" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling nb v1.1.0
[INFO] [stderr]    Compiling cortex-m v0.7.7
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling semver v1.0.18
[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 scopeguard v1.2.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling nb v0.1.3
[INFO] [stderr]    Compiling volatile-register v0.2.1
[INFO] [stderr]    Compiling usb-device v0.2.9
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]    Compiling embedded-hal v0.2.7
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling atsamd21g v0.11.0
[INFO] [stderr]    Compiling arraydeque v0.4.5
[INFO] [stderr]    Compiling hash32 v0.2.1
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]    Compiling replace_with v0.1.7
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling seq-macro v0.2.2
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling rtic-monotonic v1.0.0
[INFO] [stderr]    Compiling bare-metal v1.0.0
[INFO] [stderr]    Compiling rtic-core v1.0.0
[INFO] [stderr]    Compiling heapless v0.7.16
[INFO] [stderr]    Compiling panic-halt v0.2.0
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]    Compiling usbd-serial v0.1.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling cortex-m-rtic v1.1.4
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling quote v1.0.32
[INFO] [stderr]    Compiling rtic-syntax v1.0.3
[INFO] [stderr]    Compiling cortex-m-rt-macros v0.7.0
[INFO] [stderr]    Compiling modular-bitfield-impl v0.11.2
[INFO] [stderr]    Compiling keyberon-macros v0.1.0 (https://github.com/TeXitoi/keyberon?rev=a423de2#a423de29)
[INFO] [stderr]    Compiling keyberon v0.2.0 (https://github.com/TeXitoi/keyberon?rev=a423de2#a423de29)
[INFO] [stderr]    Compiling cortex-m-rtic-macros v1.1.6
[INFO] [stderr]    Compiling modular-bitfield v0.11.2
[INFO] [stderr]    Compiling atsamd-hal v0.14.0
[INFO] [stderr]    Compiling xiao_m0 v0.12.1
[INFO] [stderr]    Compiling crkbdr v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/main.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |             USB_ALLOCATOR.as_ref().unwrap()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout]  58 - static mut USB_ALLOCATOR: Option<UsbBusAllocator<UsbBus>> = None;
[INFO] [stdout]  58 + static USB_ALLOCATOR: Option<UsbBusAllocator<UsbBus>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-*.rlib" "-L" "/opt/rustwide/target/release/deps/rustcRKPtpj/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/release/build/atsamd21g-10aaa23984db56b4/out" "-L" "/opt/rustwide/target/release/build/cortex-m-rt-06a5fc60f5327e0c/out" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/release/deps/crkbdr-1dbde0bb8885a9ce" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,--strip-debug" "-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/15/../../../x86_64-linux-gnu/Scrt1.o:(_start)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: __primask_r
[INFO] [stdout]           >>> referenced by crkbdr.b5b97276c3b80c78-cgu.0
[INFO] [stdout]           >>>               /opt/rustwide/target/release/deps/crkbdr-1dbde0bb8885a9ce.crkbdr.b5b97276c3b80c78-cgu.0.rcgu.o:(<atsamd_hal::thumbv6m::usb::bus::UsbBus as usb_device::bus::UsbBus>::alloc_ep)
[INFO] [stdout]           >>> referenced by crkbdr.b5b97276c3b80c78-cgu.0
[INFO] [stdout]           >>>               /opt/rustwide/target/release/deps/crkbdr-1dbde0bb8885a9ce.crkbdr.b5b97276c3b80c78-cgu.0.rcgu.o:(crkbdr::app::rtic_ext::main::__rtic_init_resources::<crkbdr::app::rtic_ext::main::{closure#2}>)
[INFO] [stdout]           >>> referenced by crkbdr.b5b97276c3b80c78-cgu.0
[INFO] [stdout]           >>>               /opt/rustwide/target/release/deps/crkbdr-1dbde0bb8885a9ce.crkbdr.b5b97276c3b80c78-cgu.0.rcgu.o:(crkbdr::app::rtic_ext::main::__rtic_init_resources::<crkbdr::app::rtic_ext::main::{closure#2}>)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: __cpsid
[INFO] [stdout]           >>> referenced by crkbdr.b5b97276c3b80c78-cgu.0
[INFO] [stdout]           >>>               /opt/rustwide/target/release/deps/crkbdr-1dbde0bb8885a9ce.crkbdr.b5b97276c3b80c78-cgu.0.rcgu.o:(<atsamd_hal::thumbv6m::usb::bus::UsbBus as usb_device::bus::UsbBus>::alloc_ep)
[INFO] [stdout]           >>> referenced by crkbdr.b5b97276c3b80c78-cgu.0
[INFO] [stdout]           >>>               /opt/rustwide/target/release/deps/crkbdr-1dbde0bb8885a9ce.crkbdr.b5b97276c3b80c78-cgu.0.rcgu.o:(main)
[INFO] [stdout]           >>> referenced by crkbdr.b5b97276c3b80c78-cgu.0
[INFO] [stdout]           >>>               /opt/rustwide/target/release/deps/crkbdr-1dbde0bb8885a9ce.crkbdr.b5b97276c3b80c78-cgu.0.rcgu.o:(crkbdr::app::rtic_ext::main::__rtic_init_resources::<crkbdr::app::rtic_ext::main::{closure#2}>)
[INFO] [stdout]           >>> referenced 1 more times
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: __cpsie
[INFO] [stdout]           >>> referenced by crkbdr.b5b97276c3b80c78-cgu.0
[INFO] [stdout]           >>>               /opt/rustwide/target/release/deps/crkbdr-1dbde0bb8885a9ce.crkbdr.b5b97276c3b80c78-cgu.0.rcgu.o:(<atsamd_hal::thumbv6m::usb::bus::UsbBus as usb_device::bus::UsbBus>::alloc_ep)
[INFO] [stdout]           >>> referenced by crkbdr.b5b97276c3b80c78-cgu.0
[INFO] [stdout]           >>>               /opt/rustwide/target/release/deps/crkbdr-1dbde0bb8885a9ce.crkbdr.b5b97276c3b80c78-cgu.0.rcgu.o:(crkbdr::app::rtic_ext::main::__rtic_init_resources::<crkbdr::app::rtic_ext::main::{closure#2}>)
[INFO] [stdout]           >>> referenced by crkbdr.b5b97276c3b80c78-cgu.0
[INFO] [stdout]           >>>               /opt/rustwide/target/release/deps/crkbdr-1dbde0bb8885a9ce.crkbdr.b5b97276c3b80c78-cgu.0.rcgu.o:(crkbdr::app::rtic_ext::main::__rtic_init_resources::<crkbdr::app::rtic_ext::main::{closure#2}>)
[INFO] [stdout]           >>> referenced 1 more times
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: __nop
[INFO] [stdout]           >>> referenced by crkbdr.b5b97276c3b80c78-cgu.0
[INFO] [stdout]           >>>               /opt/rustwide/target/release/deps/crkbdr-1dbde0bb8885a9ce.crkbdr.b5b97276c3b80c78-cgu.0.rcgu.o:(main)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: memcpy
[INFO] [stdout]           >>> referenced by crkbdr.b5b97276c3b80c78-cgu.0
[INFO] [stdout]           >>>               /opt/rustwide/target/release/deps/crkbdr-1dbde0bb8885a9ce.crkbdr.b5b97276c3b80c78-cgu.0.rcgu.o:(crkbdr::app::rtic_ext::main::__rtic_init_resources::<crkbdr::app::rtic_ext::main::{closure#2}>)
[INFO] [stdout]           >>> referenced by crkbdr.b5b97276c3b80c78-cgu.0
[INFO] [stdout]           >>>               /opt/rustwide/target/release/deps/crkbdr-1dbde0bb8885a9ce.crkbdr.b5b97276c3b80c78-cgu.0.rcgu.o:(crkbdr::app::rtic_ext::main::__rtic_init_resources::<crkbdr::app::rtic_ext::main::{closure#2}>)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: memset
[INFO] [stdout]           >>> referenced by crkbdr.b5b97276c3b80c78-cgu.0
[INFO] [stdout]           >>>               /opt/rustwide/target/release/deps/crkbdr-1dbde0bb8885a9ce.crkbdr.b5b97276c3b80c78-cgu.0.rcgu.o:(crkbdr::app::rtic_ext::main::__rtic_init_resources::<crkbdr::app::rtic_ext::main::{closure#2}>)
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `crkbdr` (bin "crkbdr") due to 1 previous error; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "663c5abe9d2bc9f9cd1e98843c1771c05833d619ef146cc7ece313379cfac2c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "663c5abe9d2bc9f9cd1e98843c1771c05833d619ef146cc7ece313379cfac2c2", kill_on_drop: false }`
[INFO] [stdout] 663c5abe9d2bc9f9cd1e98843c1771c05833d619ef146cc7ece313379cfac2c2
