[INFO] cloning repository https://github.com/ben-zen/k3-service-processor
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ben-zen/k3-service-processor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fben-zen%2Fk3-service-processor", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fben-zen%2Fk3-service-processor'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 17c4039dcf33c06456cc955f2bdb972fb3bb057e
[INFO] checking ben-zen/k3-service-processor against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6+rustflags=-Znext-solver=coherence for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fben-zen%2Fk3-service-processor" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/ben-zen/k3-service-processor
[INFO] finished tweaking git repo https://github.com/ben-zen/k3-service-processor
[INFO] tweaked toml for git repo https://github.com/ben-zen/k3-service-processor written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ben-zen/k3-service-processor on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ben-zen/k3-service-processor 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded riscv-macros v0.4.1
[INFO] [stderr]   Downloaded riscv-target-parser v0.1.3
[INFO] [stderr]   Downloaded riscv-types v0.1.0
[INFO] [stderr]   Downloaded riscv-rt v0.18.0
[INFO] [stderr]   Downloaded riscv v0.16.1
[INFO] [stderr]   Downloaded embassy-time-driver v0.2.2
[INFO] [stderr]   Downloaded embassy-time-queue-utils v0.3.2
[INFO] [stderr]   Downloaded nb v1.1.0
[INFO] [stderr]   Downloaded panic-halt v1.0.0
[INFO] [stderr]   Downloaded riscv-target v0.1.2
[INFO] [stderr]   Downloaded vcell v0.1.3
[INFO] [stderr]   Downloaded nb v0.1.3
[INFO] [stderr]   Downloaded embedded-dma v0.1.2
[INFO] [stderr]   Downloaded embassy-executor-timer-queue v0.1.0
[INFO] [stderr]   Downloaded embedded-hal-async v1.0.0
[INFO] [stderr]   Downloaded embassy-futures v0.1.2
[INFO] [stderr]   Downloaded embassy-executor-macros v0.8.0
[INFO] [stderr]   Downloaded bare-metal v0.2.5
[INFO] [stderr]   Downloaded embassy-time v0.5.1
[INFO] [stderr]   Downloaded riscv v0.10.1
[INFO] [stderr]   Downloaded longan-nano v0.3.0
[INFO] [stderr]   Downloaded embedded-hal v0.2.7
[INFO] [stderr]   Downloaded gd32vf103xx-hal v0.5.0
[INFO] [stderr]   Downloaded generator v0.8.9
[INFO] [stderr]   Downloaded embedded-hal v1.0.0
[INFO] [stderr]   Downloaded cordyceps v0.3.5
[INFO] [stderr]   Downloaded riscv v0.6.0
[INFO] [stderr]   Downloaded embassy-executor v0.10.0
[INFO] [stderr]   Downloaded gd32vf103-pac v0.5.0
[INFO] [stderr]   Downloaded gd32vf103-pac v0.4.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9bfdedc47577ae89f02c7ce98ce7daab6354584820509d8266c1e399664fbceb
[INFO] running `Command { std: "docker" "start" "9bfdedc47577ae89f02c7ce98ce7daab6354584820509d8266c1e399664fbceb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9bfdedc47577ae89f02c7ce98ce7daab6354584820509d8266c1e399664fbceb", 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" "9bfdedc47577ae89f02c7ce98ce7daab6354584820509d8266c1e399664fbceb" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9bfdedc47577ae89f02c7ce98ce7daab6354584820509d8266c1e399664fbceb", 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=forbid -Znext-solver=coherence" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9bfdedc47577ae89f02c7ce98ce7daab6354584820509d8266c1e399664fbceb" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]     Checking nb v1.1.0
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling syn v3.0.3
[INFO] [stderr]     Checking critical-section v1.2.0
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]    Compiling embassy-time-driver v0.2.2
[INFO] [stderr]    Compiling aho-corasick v1.1.5
[INFO] [stderr]    Compiling thiserror v2.0.20
[INFO] [stderr]     Checking vcell v0.1.3
[INFO] [stderr]    Compiling defmt v1.1.1
[INFO] [stderr]    Compiling defmt-macros v1.1.1
[INFO] [stderr]    Compiling cast v0.2.7
[INFO] [stderr]     Checking embedded-hal v1.0.0
[INFO] [stderr]    Compiling embedded-hal-async v1.0.0
[INFO] [stderr]    Compiling gd32vf103xx-hal v0.5.0
[INFO] [stderr]    Compiling riscv v0.10.1
[INFO] [stderr]    Compiling heapless v0.9.3
[INFO] [stderr]    Compiling riscv-target-parser v0.1.3
[INFO] [stderr]     Checking embedded-dma v0.1.2
[INFO] [stderr]     Checking nb v0.1.3
[INFO] [stderr]    Compiling embassy-executor v0.10.0
[INFO] [stderr]     Checking embedded-hal v0.2.7
[INFO] [stderr]    Compiling longan-nano v0.3.0
[INFO] [stderr]    Compiling pastey v0.2.3
[INFO] [stderr]     Checking riscv-types v0.1.0
[INFO] [stderr]     Checking embassy-executor-timer-queue v0.1.0
[INFO] [stderr]    Compiling gd32vf103-pac v0.5.0
[INFO] [stderr]    Compiling embassy-time-queue-utils v0.3.2
[INFO] [stderr]     Checking cordyceps v0.3.5
[INFO] [stderr]     Checking futures-core v0.3.34
[INFO] [stderr]     Checking panic-halt v1.0.0
[INFO] [stderr]     Checking embassy-futures v0.1.2
[INFO] [stderr]    Compiling riscv-rt v0.18.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking embassy-time v0.5.1
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]    Compiling regex-automata v0.4.18
[INFO] [stderr]    Compiling thiserror-impl v2.0.20
[INFO] [stderr]    Compiling defmt-parser v1.0.0
[INFO] [stderr]    Compiling regex v1.13.1
[INFO] [stderr]    Compiling riscv-target v0.1.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling riscv v0.6.0
[INFO] [stderr]     Checking gd32vf103-pac v0.4.0
[INFO] [stderr]    Compiling riscv-macros v0.4.1
[INFO] [stderr]     Checking riscv v0.16.1
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling embassy-executor-macros v0.8.0
[INFO] [stderr]     Checking k3-service-processor v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected one of `,`, `:`, or `}`, found `::`
[INFO] [stdout]   --> src/gd32vf_time_driver.rs:77:89
[INFO] [stdout]    |
[INFO] [stdout] 77 | embassy_time_driver::time_driver_impl!(static DRIVER: Gd32vfDriver = Gd32vfDriver{ Mutex::new(RefCell::new(Queue::new())) });
[INFO] [stdout]    |                                                                      ------------  -----^^ expected one of `,`, `:`, or `}`
[INFO] [stdout]    |                                                                      |             |
[INFO] [stdout]    |                                                                      |             while parsing this struct field
[INFO] [stdout]    |                                                                      while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `,`, `:`, or `}`, found `::`
[INFO] [stdout]   --> src/gd32vf_time_driver.rs:77:89
[INFO] [stdout]    |
[INFO] [stdout] 77 | embassy_time_driver::time_driver_impl!(static DRIVER: Gd32vfDriver = Gd32vfDriver{ Mutex::new(RefCell::new(Queue::new())) });
[INFO] [stdout]    |                                                                      ------------  -----^^ expected one of `,`, `:`, or `}`
[INFO] [stdout]    |                                                                      |             |
[INFO] [stdout]    |                                                                      |             while parsing this struct field
[INFO] [stdout]    |                                                                      while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CriticalSection` in this scope
[INFO] [stdout]   --> src/gd32vf.rs:42:40
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub fn borrow<'cs>(&'cs self, _cs: CriticalSection<'cs>) -> *mut T {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  5 + use critical_section::CriticalSection;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `F` in this scope
[INFO] [stdout]   --> src/gd32vf.rs:91:38
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub static RCU: LazyUnsafeMutex<Rcu, F> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]    |                                      ^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] note: similarly named trait `Fn` defined here
[INFO] [stdout]   --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/core/src/ops/function.rs:76:0
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub static RCU: LazyUnsafeMutex<Rcu, Fn> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]    |                                       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `F` in this scope
[INFO] [stdout]    --> src/gd32vf.rs:103:47
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub static BKP: LazyUnsafeMutex<BackupDomain, F> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]     |                                               ^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named trait `Fn` defined here
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/core/src/ops/function.rs:76:0
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub static BKP: LazyUnsafeMutex<BackupDomain, Fn> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]     |                                                +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `F` in this scope
[INFO] [stdout]    --> src/gd32vf.rs:115:38
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub static RTC: LazyUnsafeMutex<Rtc, F> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]     |                                      ^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named trait `Fn` defined here
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/core/src/ops/function.rs:76:0
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub static RTC: LazyUnsafeMutex<Rtc, Fn> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]     |                                       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `F` in this scope
[INFO] [stdout]    --> src/gd32vf.rs:133:68
[INFO] [stdout]     |
[INFO] [stdout] 131 | macro_rules! gpio {
[INFO] [stdout] 132 |     ($GPIOX_OUT:ident, $GPIOX_DP:ident, $GPIOX_INT:ident) => {
[INFO] [stdout] 133 |         pub static $GPIOX_OUT : LazyUnsafeMutex<$GPIOX_INT::Parts, F> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]     |                                                                    ^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 148 | gpio!(GPIO_A, GPIOA, gpioa);
[INFO] [stdout]     | --------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named trait `Fn` defined here
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/core/src/ops/function.rs:76:0
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 133 |         pub static $GPIOX_OUT : LazyUnsafeMutex<$GPIOX_INT::Parts, Fn> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]     |                                                                     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `F` in this scope
[INFO] [stdout]    --> src/gd32vf.rs:133:68
[INFO] [stdout]     |
[INFO] [stdout] 131 | macro_rules! gpio {
[INFO] [stdout] 132 |     ($GPIOX_OUT:ident, $GPIOX_DP:ident, $GPIOX_INT:ident) => {
[INFO] [stdout] 133 |         pub static $GPIOX_OUT : LazyUnsafeMutex<$GPIOX_INT::Parts, F> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]     |                                                                    ^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 149 | gpio!(GPIO_B, GPIOB, gpiob);
[INFO] [stdout]     | --------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named trait `Fn` defined here
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/core/src/ops/function.rs:76:0
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 133 |         pub static $GPIOX_OUT : LazyUnsafeMutex<$GPIOX_INT::Parts, Fn> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]     |                                                                     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `F` in this scope
[INFO] [stdout]    --> src/gd32vf.rs:133:68
[INFO] [stdout]     |
[INFO] [stdout] 131 | macro_rules! gpio {
[INFO] [stdout] 132 |     ($GPIOX_OUT:ident, $GPIOX_DP:ident, $GPIOX_INT:ident) => {
[INFO] [stdout] 133 |         pub static $GPIOX_OUT : LazyUnsafeMutex<$GPIOX_INT::Parts, F> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]     |                                                                    ^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 150 | gpio!(GPIO_C, GPIOC, gpioc);
[INFO] [stdout]     | --------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named trait `Fn` defined here
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/core/src/ops/function.rs:76:0
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 133 |         pub static $GPIOX_OUT : LazyUnsafeMutex<$GPIOX_INT::Parts, Fn> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]     |                                                                     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `F` in this scope
[INFO] [stdout]    --> src/gd32vf.rs:133:68
[INFO] [stdout]     |
[INFO] [stdout] 131 | macro_rules! gpio {
[INFO] [stdout] 132 |     ($GPIOX_OUT:ident, $GPIOX_DP:ident, $GPIOX_INT:ident) => {
[INFO] [stdout] 133 |         pub static $GPIOX_OUT : LazyUnsafeMutex<$GPIOX_INT::Parts, F> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]     |                                                                    ^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 151 | gpio!(GPIO_D, GPIOD, gpiod);
[INFO] [stdout]     | --------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named trait `Fn` defined here
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/core/src/ops/function.rs:76:0
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 133 |         pub static $GPIOX_OUT : LazyUnsafeMutex<$GPIOX_INT::Parts, Fn> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]     |                                                                     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `F` in this scope
[INFO] [stdout]    --> src/gd32vf.rs:133:68
[INFO] [stdout]     |
[INFO] [stdout] 131 | macro_rules! gpio {
[INFO] [stdout] 132 |     ($GPIOX_OUT:ident, $GPIOX_DP:ident, $GPIOX_INT:ident) => {
[INFO] [stdout] 133 |         pub static $GPIOX_OUT : LazyUnsafeMutex<$GPIOX_INT::Parts, F> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]     |                                                                    ^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 152 | gpio!(GPIO_E, GPIOE, gpioe);
[INFO] [stdout]     | --------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named trait `Fn` defined here
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/core/src/ops/function.rs:76:0
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 133 |         pub static $GPIOX_OUT : LazyUnsafeMutex<$GPIOX_INT::Parts, Fn> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]     |                                                                     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LazyCell`
[INFO] [stdout]  --> src/gd32vf.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use core::cell::{LazyCell, UnsafeCell};
[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: `core::mem::MaybeUninit`
[INFO] [stdout]  --> src/gd32vf.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use core::mem::MaybeUninit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DerefMut`
[INFO] [stdout]  --> src/gd32vf.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use core::ops::{DerefMut, FnOnce};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mutex`
[INFO] [stdout]   --> src/gd32vf.rs:10:24
[INFO] [stdout]    |
[INFO] [stdout] 10 | use critical_section::{Mutex};
[INFO] [stdout]    |                        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DerefMut` and `Deref`
[INFO] [stdout]   --> src/gd32vf_time_driver.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 | use core::ops::{Deref, DerefMut};
[INFO] [stdout]    |                 ^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::gd32vf_time_driver as _`
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::gd32vf_time_driver as _;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unwinding panics are not supported without std
[INFO] [stdout]   |
[INFO] [stdout]   = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding
[INFO] [stdout]   = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CriticalSection` in this scope
[INFO] [stdout]   --> src/gd32vf.rs:42:40
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub fn borrow<'cs>(&'cs self, _cs: CriticalSection<'cs>) -> *mut T {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  5 + use critical_section::CriticalSection;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `F` in this scope
[INFO] [stdout]   --> src/gd32vf.rs:91:38
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub static RCU: LazyUnsafeMutex<Rcu, F> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]    |                                      ^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] note: similarly named trait `Fn` defined here
[INFO] [stdout]   --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/core/src/ops/function.rs:76:0
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub static RCU: LazyUnsafeMutex<Rcu, Fn> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]    |                                       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `F` in this scope
[INFO] [stdout]    --> src/gd32vf.rs:103:47
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub static BKP: LazyUnsafeMutex<BackupDomain, F> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]     |                                               ^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named trait `Fn` defined here
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/core/src/ops/function.rs:76:0
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub static BKP: LazyUnsafeMutex<BackupDomain, Fn> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]     |                                                +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `F` in this scope
[INFO] [stdout]    --> src/gd32vf.rs:115:38
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub static RTC: LazyUnsafeMutex<Rtc, F> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]     |                                      ^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named trait `Fn` defined here
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/core/src/ops/function.rs:76:0
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub static RTC: LazyUnsafeMutex<Rtc, Fn> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]     |                                       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `F` in this scope
[INFO] [stdout]    --> src/gd32vf.rs:133:68
[INFO] [stdout]     |
[INFO] [stdout] 131 | macro_rules! gpio {
[INFO] [stdout] 132 |     ($GPIOX_OUT:ident, $GPIOX_DP:ident, $GPIOX_INT:ident) => {
[INFO] [stdout] 133 |         pub static $GPIOX_OUT : LazyUnsafeMutex<$GPIOX_INT::Parts, F> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]     |                                                                    ^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 148 | gpio!(GPIO_A, GPIOA, gpioa);
[INFO] [stdout]     | --------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named trait `Fn` defined here
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/core/src/ops/function.rs:76:0
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 133 |         pub static $GPIOX_OUT : LazyUnsafeMutex<$GPIOX_INT::Parts, Fn> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]     |                                                                     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `F` in this scope
[INFO] [stdout]    --> src/gd32vf.rs:133:68
[INFO] [stdout]     |
[INFO] [stdout] 131 | macro_rules! gpio {
[INFO] [stdout] 132 |     ($GPIOX_OUT:ident, $GPIOX_DP:ident, $GPIOX_INT:ident) => {
[INFO] [stdout] 133 |         pub static $GPIOX_OUT : LazyUnsafeMutex<$GPIOX_INT::Parts, F> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]     |                                                                    ^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 149 | gpio!(GPIO_B, GPIOB, gpiob);
[INFO] [stdout]     | --------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named trait `Fn` defined here
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/core/src/ops/function.rs:76:0
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 133 |         pub static $GPIOX_OUT : LazyUnsafeMutex<$GPIOX_INT::Parts, Fn> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]     |                                                                     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `F` in this scope
[INFO] [stdout]    --> src/gd32vf.rs:133:68
[INFO] [stdout]     |
[INFO] [stdout] 131 | macro_rules! gpio {
[INFO] [stdout] 132 |     ($GPIOX_OUT:ident, $GPIOX_DP:ident, $GPIOX_INT:ident) => {
[INFO] [stdout] 133 |         pub static $GPIOX_OUT : LazyUnsafeMutex<$GPIOX_INT::Parts, F> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]     |                                                                    ^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 150 | gpio!(GPIO_C, GPIOC, gpioc);
[INFO] [stdout]     | --------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named trait `Fn` defined here
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/core/src/ops/function.rs:76:0
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 133 |         pub static $GPIOX_OUT : LazyUnsafeMutex<$GPIOX_INT::Parts, Fn> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]     |                                                                     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `F` in this scope
[INFO] [stdout]    --> src/gd32vf.rs:133:68
[INFO] [stdout]     |
[INFO] [stdout] 131 | macro_rules! gpio {
[INFO] [stdout] 132 |     ($GPIOX_OUT:ident, $GPIOX_DP:ident, $GPIOX_INT:ident) => {
[INFO] [stdout] 133 |         pub static $GPIOX_OUT : LazyUnsafeMutex<$GPIOX_INT::Parts, F> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]     |                                                                    ^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 151 | gpio!(GPIO_D, GPIOD, gpiod);
[INFO] [stdout]     | --------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named trait `Fn` defined here
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/core/src/ops/function.rs:76:0
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 133 |         pub static $GPIOX_OUT : LazyUnsafeMutex<$GPIOX_INT::Parts, Fn> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]     |                                                                     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `F` in this scope
[INFO] [stdout]    --> src/gd32vf.rs:133:68
[INFO] [stdout]     |
[INFO] [stdout] 131 | macro_rules! gpio {
[INFO] [stdout] 132 |     ($GPIOX_OUT:ident, $GPIOX_DP:ident, $GPIOX_INT:ident) => {
[INFO] [stdout] 133 |         pub static $GPIOX_OUT : LazyUnsafeMutex<$GPIOX_INT::Parts, F> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]     |                                                                    ^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 152 | gpio!(GPIO_E, GPIOE, gpioe);
[INFO] [stdout]     | --------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named trait `Fn` defined here
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/core/src/ops/function.rs:76:0
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 133 |         pub static $GPIOX_OUT : LazyUnsafeMutex<$GPIOX_INT::Parts, Fn> = LazyUnsafeMutex::new(|| {
[INFO] [stdout]     |                                                                     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LazyCell`
[INFO] [stdout]  --> src/gd32vf.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use core::cell::{LazyCell, UnsafeCell};
[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: `core::mem::MaybeUninit`
[INFO] [stdout]  --> src/gd32vf.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use core::mem::MaybeUninit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DerefMut`
[INFO] [stdout]  --> src/gd32vf.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use core::ops::{DerefMut, FnOnce};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mutex`
[INFO] [stdout]   --> src/gd32vf.rs:10:24
[INFO] [stdout]    |
[INFO] [stdout] 10 | use critical_section::{Mutex};
[INFO] [stdout]    |                        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DerefMut` and `Deref`
[INFO] [stdout]   --> src/gd32vf_time_driver.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 | use core::ops::{Deref, DerefMut};
[INFO] [stdout]    |                 ^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::gd32vf_time_driver as _`
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::gd32vf_time_driver as _;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the lang item is first defined in crate `panic_halt` (which `k3_service_processor` depends on)
[INFO] [stdout]   = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/build/panic-halt/ebbd6d71739cca8d/out/libpanic_halt-ebbd6d71739cca8d.rmeta
[INFO] [stdout]   = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-6ee2a0f0126c8a50.rmeta
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0152, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> src/gd32vf.rs:55:41
[INFO] [stdout]    |
[INFO] [stdout] 55 |             let MutexState::Uninit(f) = *state else {
[INFO] [stdout]    |                                         ^^^^^^ dereference of raw pointer
[INFO] [stdout]    |
[INFO] [stdout]    = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/gd32vf.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |         unsafe fn init_internal<T, F: FnOnce() -> T>(state: *mut MutexState<T, F>) -> *mut T {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> src/gd32vf.rs:67:47
[INFO] [stdout]    |
[INFO] [stdout] 67 |             let MutexState::Init(data_cell) = *state else { unreachable!() };
[INFO] [stdout]    |                                               ^^^^^^ dereference of raw pointer
[INFO] [stdout]    |
[INFO] [stdout]    = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `k3-service-processor` (bin "k3-service-processor" test) due to 11 previous errors; 6 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0507]: cannot move out of `state` as enum variant `Uninit` which is behind a raw pointer
[INFO] [stdout]   --> src/gd32vf.rs:55:41
[INFO] [stdout]    |
[INFO] [stdout] 55 |             let MutexState::Uninit(f) = *state else {
[INFO] [stdout]    |                                    -    ^^^^^^
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    data moved here because `f` has type `F`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] help: consider borrowing the pattern binding
[INFO] [stdout]    |
[INFO] [stdout] 55 |             let MutexState::Uninit(ref f) = *state else {
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `state` as enum variant `Init` which is behind a raw pointer
[INFO] [stdout]   --> src/gd32vf.rs:67:47
[INFO] [stdout]    |
[INFO] [stdout] 67 |             let MutexState::Init(data_cell) = *state else { unreachable!() };
[INFO] [stdout]    |                                  ---------    ^^^^^^
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  data moved here because `data_cell` has type `UnsafeCell<T>`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] help: consider borrowing the pattern binding
[INFO] [stdout]    |
[INFO] [stdout] 67 |             let MutexState::Init(ref data_cell) = *state else { unreachable!() };
[INFO] [stdout]    |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0133, E0425, E0507.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `k3-service-processor` (bin "k3-service-processor") due to 13 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "9bfdedc47577ae89f02c7ce98ce7daab6354584820509d8266c1e399664fbceb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9bfdedc47577ae89f02c7ce98ce7daab6354584820509d8266c1e399664fbceb", kill_on_drop: false }`
[INFO] [stdout] 9bfdedc47577ae89f02c7ce98ce7daab6354584820509d8266c1e399664fbceb
