[INFO] cloning repository https://github.com/bentwire/stm32f072-usb-test
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bentwire/stm32f072-usb-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbentwire%2Fstm32f072-usb-test"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbentwire%2Fstm32f072-usb-test'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 1a76e98b6408fd1d5b635020ef4552cffa45dd4f
[INFO] testing bentwire/stm32f072-usb-test against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbentwire%2Fstm32f072-usb-test" "/workspace/builds/worker-1-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config
[INFO] started tweaking git repo https://github.com/bentwire/stm32f072-usb-test
[INFO] finished tweaking git repo https://github.com/bentwire/stm32f072-usb-test
[INFO] tweaked toml for git repo https://github.com/bentwire/stm32f072-usb-test written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/bentwire/stm32f072-usb-test on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/bentwire/stm32f072-usb-test already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] dbbcd03b606db8ea5c31da290506c3412467fa3035468790e783a5674d378337
[INFO] running `"docker" "start" "dbbcd03b606db8ea5c31da290506c3412467fa3035468790e783a5674d378337"`
[INFO] running `"docker" "inspect" "dbbcd03b606db8ea5c31da290506c3412467fa3035468790e783a5674d378337"`
[INFO] running `"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" "dbbcd03b606db8ea5c31da290506c3412467fa3035468790e783a5674d378337" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "dbbcd03b606db8ea5c31da290506c3412467fa3035468790e783a5674d378337"`
[INFO] running `"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" "dbbcd03b606db8ea5c31da290506c3412467fa3035468790e783a5674d378337" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling typenum v1.10.0
[INFO] [stderr]    Compiling stable_deref_trait v1.1.1
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling rand_core v0.4.0
[INFO] [stderr]    Compiling syn v0.15.35
[INFO] [stderr]    Compiling vcell v0.1.0
[INFO] [stderr]    Compiling cortex-m v0.6.0
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling cortex-m-rt v0.6.8
[INFO] [stderr]    Compiling r0 v0.2.2
[INFO] [stderr]    Compiling heapless v0.4.4
[INFO] [stderr]    Compiling cortex-m v0.5.10
[INFO] [stderr]    Compiling nb v0.1.2
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling volatile-register v0.2.0
[INFO] [stderr]    Compiling stm32f0 v0.7.1
[INFO] [stderr]    Compiling embedded-hal v0.2.3
[INFO] [stderr]    Compiling cortex-m-semihosting v0.3.3
[INFO] [stderr]    Compiling aligned v0.2.0
[INFO] [stderr]    Compiling cast v0.2.2
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling cortex-m-rtfm v0.4.3
[INFO] [stderr]    Compiling usb-device v0.2.1
[INFO] [stderr]    Compiling panic-halt v0.2.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand v0.5.6
[INFO] [stderr]    Compiling hash32 v0.1.0
[INFO] [stderr]    Compiling bare-metal v0.2.4
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stderr]    Compiling generic-array v0.12.0
[INFO] [stderr]    Compiling generic-array v0.11.1
[INFO] [stderr]    Compiling as-slice v0.1.0
[INFO] [stderr]    Compiling aligned v0.3.1
[INFO] [stderr]    Compiling panic-semihosting v0.5.2
[INFO] [stderr]    Compiling digital-filter v0.1.0 (https://github.com/bentwire/digital-filter.git#47339eff)
[INFO] [stderr]    Compiling usbd-serial v0.1.0 (https://github.com/mvirkkunen/usbd-serial#cb18cef7)
[INFO] [stderr]    Compiling cortex-m-rt-macros v0.1.5
[INFO] [stderr]    Compiling owned-singleton-macros v0.1.0
[INFO] [stderr]    Compiling cortex-m-rtfm-macros v0.4.3
[INFO] [stderr]    Compiling owned-singleton v0.1.0
[INFO] [stderr]    Compiling stm32f0xx-hal v0.14.1
[INFO] [stderr]    Compiling stm32-usbd v0.2.1
[INFO] [stderr]    Compiling stm32f072-usb-test v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `dac`
[INFO] [stdout]   --> src/main.rs:19:26
[INFO] [stdout]    |
[INFO] [stdout] 19 | use stm32f0::stm32f0x2::{dac, Interrupt};
[INFO] [stdout]    |                          ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `digital_filter::DigitalFilter`
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use digital_filter::DigitalFilter;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fmt::Write`
[INFO] [stdout]   --> src/main.rs:32:27
[INFO] [stdout]    |
[INFO] [stdout] 32 | use core::{cell::RefCell, fmt::Write, ops::DerefMut};
[INFO] [stdout]    |                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:90:46
[INFO] [stdout]    |
[INFO] [stdout] 90 |             let hid = HidClass::new(unsafe { USB_BUS.as_ref().unwrap() }, true, &hiddesc::DESC);
[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] 54 -             static mut USB_BUS: Option<UsbBusAllocator<UsbBusType>> = None;
[INFO] [stdout] 54 +             static USB_BUS: Option<UsbBusAllocator<UsbBusType>> = None;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:91:52
[INFO] [stdout]    |
[INFO] [stdout] 91 |             let serial = CdcAcmClass::new(unsafe { USB_BUS.as_ref().unwrap() }, 64);
[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] 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] 54 -             static mut USB_BUS: Option<UsbBusAllocator<UsbBusType>> = None;
[INFO] [stdout] 54 +             static USB_BUS: Option<UsbBusAllocator<UsbBusType>> = None;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:93:26
[INFO] [stdout]    |
[INFO] [stdout] 93 |                 unsafe { USB_BUS.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] 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] 54 -             static mut USB_BUS: Option<UsbBusAllocator<UsbBusType>> = None;
[INFO] [stdout] 54 +             static USB_BUS: Option<UsbBusAllocator<UsbBusType>> = None;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/opt/rustwide/target/release/build/stm32f072-usb-test/79539e3619299180/out/rustcGr0IwE/symbols.o" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/release/build/stm32-usbd/b53c93cfcd7ea104/out/libstm32_usbd-b53c93cfcd7ea104.rlib" "/opt/rustwide/target/release/build/cortex-m/46fb189a69bd2993/out/libcortex_m-46fb189a69bd2993.rlib" "/opt/rustwide/target/release/build/aligned/9a0979cfb62cf92f/out/libaligned-9a0979cfb62cf92f.rlib" "/opt/rustwide/target/release/build/digital-filter/fd92fbb7ada1b0f4/out/libdigital_filter-fd92fbb7ada1b0f4.rlib" "/opt/rustwide/target/release/build/heapless/63cdb7d5c705da1e/out/libheapless-63cdb7d5c705da1e.rlib" "/opt/rustwide/target/release/build/hash32/f7317fd73ee6dd78/out/libhash32-f7317fd73ee6dd78.rlib" "/opt/rustwide/target/release/build/byteorder/5b19ab26e06c18cd/out/libbyteorder-5b19ab26e06c18cd.rlib" "/opt/rustwide/target/release/build/generic-array/cf801a0fae5150da/out/libgeneric_array-cf801a0fae5150da.rlib" "/opt/rustwide/target/release/build/stm32f0xx-hal/9246633734641a94/out/libstm32f0xx_hal-9246633734641a94.rlib" "/opt/rustwide/target/release/build/cast/e967296b89c0e9e7/out/libcast-e967296b89c0e9e7.rlib" "/opt/rustwide/target/release/build/embedded-hal/be2e56d4f1323a16/out/libembedded_hal-be2e56d4f1323a16.rlib" "/opt/rustwide/target/release/build/void/59ddb39503ccc8b0/out/libvoid-59ddb39503ccc8b0.rlib" "/opt/rustwide/target/release/build/nb/0fd7e047191f14bf/out/libnb-0fd7e047191f14bf.rlib" "/opt/rustwide/target/release/build/usbd-serial/8367ecc3886f965d/out/libusbd_serial-8367ecc3886f965d.rlib" "/opt/rustwide/target/release/build/usb-device/cc44ee5a596f54d8/out/libusb_device-cc44ee5a596f54d8.rlib" "/opt/rustwide/target/release/build/stm32f0/3cd28d32e5eafc5e/out/libstm32f0-3cd28d32e5eafc5e.rlib" "/opt/rustwide/target/release/build/cortex-m-rt/eea0112d111898b4/out/libcortex_m_rt-eea0112d111898b4.rlib" "/opt/rustwide/target/release/build/r0/90e767588e309664/out/libr0-90e767588e309664.rlib" "/opt/rustwide/target/release/build/panic-semihosting/a87fc285ebc52e1d/out/libpanic_semihosting-a87fc285ebc52e1d.rlib" "/opt/rustwide/target/release/build/cortex-m-semihosting/85a4ef1e2c8cc916/out/libcortex_m_semihosting-85a4ef1e2c8cc916.rlib" "/opt/rustwide/target/release/build/cortex-m/0b3430dff40f0568/out/libcortex_m-0b3430dff40f0568.rlib" "/opt/rustwide/target/release/build/volatile-register/797b4c2c2e1dcf16/out/libvolatile_register-797b4c2c2e1dcf16.rlib" "/opt/rustwide/target/release/build/vcell/648c3cb0bb717d93/out/libvcell-648c3cb0bb717d93.rlib" "/opt/rustwide/target/release/build/bare-metal/69b6bc30d7b1b2cf/out/libbare_metal-69b6bc30d7b1b2cf.rlib" "/opt/rustwide/target/release/build/aligned/fbe0bdf2e20e3e19/out/libaligned-fbe0bdf2e20e3e19.rlib" "/opt/rustwide/target/release/build/as-slice/7a433d13032936a7/out/libas_slice-7a433d13032936a7.rlib" "/opt/rustwide/target/release/build/stable_deref_trait/126f72d10b5bc243/out/libstable_deref_trait-126f72d10b5bc243.rlib" "/opt/rustwide/target/release/build/generic-array/8473da57ac0ebbc7/out/libgeneric_array-8473da57ac0ebbc7.rlib" "/opt/rustwide/target/release/build/typenum/c92022d953648679/out/libtypenum-c92022d953648679.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/release/build/stm32f072-usb-test/79539e3619299180/out/rustcGr0IwE/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/cortex-m-rt/7768609aca39aaf1/out" "-L" "/opt/rustwide/target/release/build/stm32f0/bcddfbbe0447e21b/out" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/release/build/stm32f072-usb-test/79539e3619299180/out/stm32f072_usb_test" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-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: rust_eh_personality
[INFO] [stdout]           >>> referenced by core.5c14b8d5a259cc4e-cgu.0
[INFO] [stdout]           >>>               core-410b7bbffef3d62c.core.5c14b8d5a259cc4e-cgu.0.rcgu.o:(DW.ref.rust_eh_personality) in archive /opt/rustwide/rustup-home/toolchains/1.101.0-beta.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-410b7bbffef3d62c.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `stm32f072-usb-test` (bin "stm32f072-usb-test") due to 1 previous error; 6 warnings emitted
[INFO] [stderr] warning: unused dependency `panic-halt`
[INFO] [stderr]  --> Cargo.toml:6:1
[INFO] [stderr]   |
[INFO] [stderr] 6 | panic-halt = "0.2.0"
[INFO] [stderr]   | ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `panic-halt`
[INFO] [stderr] warning: unused dependency `cortex-m-rtfm`
[INFO] [stderr]   --> Cargo.toml:14:15
[INFO] [stderr]    |
[INFO] [stderr] 14 | [dependencies.cortex-m-rtfm]
[INFO] [stderr]    |               ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `cortex-m-rtfm`
[INFO] [stderr] warning: `stm32f072-usb-test` (manifest) generated 2 warnings
[INFO] running `"docker" "inspect" "dbbcd03b606db8ea5c31da290506c3412467fa3035468790e783a5674d378337"`
[INFO] running `"docker" "rm" "-f" "dbbcd03b606db8ea5c31da290506c3412467fa3035468790e783a5674d378337"`
[INFO] [stdout] dbbcd03b606db8ea5c31da290506c3412467fa3035468790e783a5674d378337
