[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.100.0-beta.13+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-tc1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-1-tc1/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-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/bentwire/stm32f072-usb-test on toolchain 1.100.0-beta.13
[INFO] running `"cargo" "+1.100.0-beta.13" "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.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Updating git repository `https://github.com/bentwire/digital-filter.git`
[INFO] [stderr]     Updating git repository `https://github.com/mvirkkunen/usbd-serial`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded byteorder v1.3.2
[INFO] [stderr]   Downloaded nb v0.1.2
[INFO] [stderr]   Downloaded hash32 v0.1.0
[INFO] [stderr]   Downloaded usb-device v0.2.1
[INFO] [stderr]   Downloaded heapless v0.4.4
[INFO] [stderr]   Downloaded bare-metal v0.2.4
[INFO] [stderr]   Downloaded stable_deref_trait v1.1.1
[INFO] [stderr]   Downloaded rand_core v0.4.0
[INFO] [stderr]   Downloaded cast v0.2.2
[INFO] [stderr]   Downloaded cortex-m-semihosting v0.3.3
[INFO] [stderr]   Downloaded vcell v0.1.0
[INFO] [stderr]   Downloaded volatile-register v0.2.0
[INFO] [stderr]   Downloaded stm32f0xx-hal v0.14.1
[INFO] [stderr]   Downloaded aligned v0.3.1
[INFO] [stderr]   Downloaded panic-semihosting v0.5.2
[INFO] [stderr]   Downloaded generic-array v0.11.1
[INFO] [stderr]   Downloaded cortex-m-rt-macros v0.1.5
[INFO] [stderr]   Downloaded panic-halt v0.2.0
[INFO] [stderr]   Downloaded r0 v0.2.2
[INFO] [stderr]   Downloaded owned-singleton v0.1.0
[INFO] [stderr]   Downloaded cortex-m v0.6.0
[INFO] [stderr]   Downloaded cortex-m v0.5.10
[INFO] [stderr]   Downloaded as-slice v0.1.0
[INFO] [stderr]   Downloaded generic-array v0.12.0
[INFO] [stderr]   Downloaded cortex-m-rt v0.6.8
[INFO] [stderr]   Downloaded cortex-m-rtfm-macros v0.4.3
[INFO] [stderr]   Downloaded typenum v1.10.0
[INFO] [stderr]   Downloaded owned-singleton-macros v0.1.0
[INFO] [stderr]   Downloaded cortex-m-rtfm v0.4.3
[INFO] [stderr]   Downloaded aligned v0.2.0
[INFO] [stderr]   Downloaded embedded-hal v0.2.3
[INFO] [stderr]   Downloaded syn v0.15.35
[INFO] [stderr]   Downloaded rand v0.5.6
[INFO] [stderr]   Downloaded stm32f0 v0.7.1
[INFO] [stderr]   Downloaded stm32-usbd v0.2.1
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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] 9f29afcfe544fd02057a0ba4cb5821dd990c5de3f50b50c2bbd2e3ee3b9192a5
[INFO] running `"docker" "start" "9f29afcfe544fd02057a0ba4cb5821dd990c5de3f50b50c2bbd2e3ee3b9192a5"`
[INFO] running `"docker" "inspect" "9f29afcfe544fd02057a0ba4cb5821dd990c5de3f50b50c2bbd2e3ee3b9192a5"`
[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" "9f29afcfe544fd02057a0ba4cb5821dd990c5de3f50b50c2bbd2e3ee3b9192a5" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "9f29afcfe544fd02057a0ba4cb5821dd990c5de3f50b50c2bbd2e3ee3b9192a5"`
[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" "9f29afcfe544fd02057a0ba4cb5821dd990c5de3f50b50c2bbd2e3ee3b9192a5" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "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 syn v0.15.35
[INFO] [stderr]    Compiling rand_core v0.4.0
[INFO] [stderr]    Compiling cortex-m v0.6.0
[INFO] [stderr]    Compiling vcell v0.1.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 stm32f0 v0.7.1
[INFO] [stderr]    Compiling nb v0.1.2
[INFO] [stderr]    Compiling volatile-register v0.2.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling cortex-m-semihosting v0.3.3
[INFO] [stderr]    Compiling embedded-hal v0.2.3
[INFO] [stderr]    Compiling aligned v0.2.0
[INFO] [stderr]    Compiling usb-device v0.2.1
[INFO] [stderr]    Compiling cast v0.2.2
[INFO] [stderr]    Compiling cortex-m-rtfm v0.4.3
[INFO] [stderr]    Compiling panic-halt v0.2.0
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand v0.5.6
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling bare-metal v0.2.4
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stderr]    Compiling hash32 v0.1.0
[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/71bcfedb32f87ee7/out/rustclsP58S/symbols.o" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/release/build/stm32-usbd/d436e7fef6270327/out/libstm32_usbd-d436e7fef6270327.rlib" "/opt/rustwide/target/release/build/cortex-m/2a023d0366593cf3/out/libcortex_m-2a023d0366593cf3.rlib" "/opt/rustwide/target/release/build/aligned/c95742c5b6a4e099/out/libaligned-c95742c5b6a4e099.rlib" "/opt/rustwide/target/release/build/digital-filter/d6d9e7f3e938d32b/out/libdigital_filter-d6d9e7f3e938d32b.rlib" "/opt/rustwide/target/release/build/heapless/9f269f0315ad3ea6/out/libheapless-9f269f0315ad3ea6.rlib" "/opt/rustwide/target/release/build/hash32/bcec4ded3620ae5c/out/libhash32-bcec4ded3620ae5c.rlib" "/opt/rustwide/target/release/build/byteorder/3a306127ffa9d7fa/out/libbyteorder-3a306127ffa9d7fa.rlib" "/opt/rustwide/target/release/build/generic-array/bb42bab398f81e63/out/libgeneric_array-bb42bab398f81e63.rlib" "/opt/rustwide/target/release/build/stm32f0xx-hal/b233d4954cef9854/out/libstm32f0xx_hal-b233d4954cef9854.rlib" "/opt/rustwide/target/release/build/cast/e927d100286e0057/out/libcast-e927d100286e0057.rlib" "/opt/rustwide/target/release/build/embedded-hal/82b2f590a9749848/out/libembedded_hal-82b2f590a9749848.rlib" "/opt/rustwide/target/release/build/void/fa93ecdf3f770e7d/out/libvoid-fa93ecdf3f770e7d.rlib" "/opt/rustwide/target/release/build/nb/be1653705b6fc051/out/libnb-be1653705b6fc051.rlib" "/opt/rustwide/target/release/build/usbd-serial/ad3259a40b40db16/out/libusbd_serial-ad3259a40b40db16.rlib" "/opt/rustwide/target/release/build/usb-device/7bdcbdb3fad6ed66/out/libusb_device-7bdcbdb3fad6ed66.rlib" "/opt/rustwide/target/release/build/stm32f0/f37c629aa49915c8/out/libstm32f0-f37c629aa49915c8.rlib" "/opt/rustwide/target/release/build/cortex-m-rt/d8f76513fdeeb55a/out/libcortex_m_rt-d8f76513fdeeb55a.rlib" "/opt/rustwide/target/release/build/r0/7ccbd5c34c7db22a/out/libr0-7ccbd5c34c7db22a.rlib" "/opt/rustwide/target/release/build/panic-semihosting/9b49dcb0338982c1/out/libpanic_semihosting-9b49dcb0338982c1.rlib" "/opt/rustwide/target/release/build/cortex-m-semihosting/b21a83d47b2b188b/out/libcortex_m_semihosting-b21a83d47b2b188b.rlib" "/opt/rustwide/target/release/build/cortex-m/d2a8518f0f60ddf3/out/libcortex_m-d2a8518f0f60ddf3.rlib" "/opt/rustwide/target/release/build/volatile-register/90c3eae736b41930/out/libvolatile_register-90c3eae736b41930.rlib" "/opt/rustwide/target/release/build/vcell/696efbf104a4a3f9/out/libvcell-696efbf104a4a3f9.rlib" "/opt/rustwide/target/release/build/bare-metal/13fea4f54707aeae/out/libbare_metal-13fea4f54707aeae.rlib" "/opt/rustwide/target/release/build/aligned/e139bac7968d4a08/out/libaligned-e139bac7968d4a08.rlib" "/opt/rustwide/target/release/build/as-slice/1bd484d2851eda6f/out/libas_slice-1bd484d2851eda6f.rlib" "/opt/rustwide/target/release/build/stable_deref_trait/c7900e63fb9c61fe/out/libstable_deref_trait-c7900e63fb9c61fe.rlib" "/opt/rustwide/target/release/build/generic-array/e23989aba7c9add5/out/libgeneric_array-e23989aba7c9add5.rlib" "/opt/rustwide/target/release/build/typenum/878b74cebe57a048/out/libtypenum-878b74cebe57a048.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/release/build/stm32f072-usb-test/71bcfedb32f87ee7/out/rustclsP58S/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/9b13673d2b77477c/out" "-L" "/opt/rustwide/target/release/build/stm32f0/3acdce85353c5434/out" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/release/build/stm32f072-usb-test/71bcfedb32f87ee7/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.a2c1a7cd948629ec-cgu.0
[INFO] [stdout]           >>>               core-70b5e1f701379435.core.a2c1a7cd948629ec-cgu.0.rcgu.o:(DW.ref.rust_eh_personality) in archive /opt/rustwide/rustup-home/toolchains/1.100.0-beta.13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-70b5e1f701379435.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" "9f29afcfe544fd02057a0ba4cb5821dd990c5de3f50b50c2bbd2e3ee3b9192a5"`
[INFO] running `"docker" "rm" "-f" "9f29afcfe544fd02057a0ba4cb5821dd990c5de3f50b50c2bbd2e3ee3b9192a5"`
[INFO] [stdout] 9f29afcfe544fd02057a0ba4cb5821dd990c5de3f50b50c2bbd2e3ee3b9192a5
