[INFO] fetching crate gd32-hal 0.0.1... [INFO] testing gd32-hal-0.0.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate gd32-hal 0.0.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate gd32-hal 0.0.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gd32-hal 0.0.1 [INFO] finished tweaking crates.io crate gd32-hal 0.0.1 [INFO] tweaked toml for crates.io crate gd32-hal 0.0.1 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gd32f3 v0.1.0-alpha.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44fa6ef31e7ace44b7bd1d22978fc2fd60efc77454d78631aafd2cd2a8fe9f0f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "44fa6ef31e7ace44b7bd1d22978fc2fd60efc77454d78631aafd2cd2a8fe9f0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44fa6ef31e7ace44b7bd1d22978fc2fd60efc77454d78631aafd2cd2a8fe9f0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44fa6ef31e7ace44b7bd1d22978fc2fd60efc77454d78631aafd2cd2a8fe9f0f", kill_on_drop: false }` [INFO] [stdout] 44fa6ef31e7ace44b7bd1d22978fc2fd60efc77454d78631aafd2cd2a8fe9f0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13c658a896f8049e19eb8eae3cbfa7a978622494a6b13226cfd197edae0b783d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "13c658a896f8049e19eb8eae3cbfa7a978622494a6b13226cfd197edae0b783d", kill_on_drop: false }` [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling cortex-m v0.7.4 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling volatile-register v0.2.1 [INFO] [stderr] Compiling gd32-hal v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `dfsdm` [INFO] [stdout] --> src/lib.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | pub mod dfsdm; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `dfsdm`, create file "src/dfsdm.rs" or "src/dfsdm/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: This crate requires an MCU-specifying feature to be enabled. eg `l552`. [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | compile_error!("This crate requires an MCU-specifying feature to be enabled. eg `l552`."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::pac`, `crate::pac` [INFO] [stdout] --> src/gpio.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pac::{self, RCU}, [INFO] [stdout] | ^^^ ^^^^ no `pac` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root [INFO] [stdout] --> src/util.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | pac::{self, rcu::RegisterBlock}, [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::clocks::Clocks`, `crate::pac` [INFO] [stdout] --> src/util.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | clocks::Clocks, [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Clocks` in `clocks` [INFO] [stdout] 7 | pac::{self, rcu::RegisterBlock}, [INFO] [stdout] | ^^^^ no `pac` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/util.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | use crate::pac::ADC1; [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root [INFO] [stdout] --> src/gpio.rs:687:27 [INFO] [stdout] | [INFO] [stdout] 687 | Port::A => crate::pac::GPIOA::ptr(), [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root [INFO] [stdout] --> src/gpio.rs:688:27 [INFO] [stdout] | [INFO] [stdout] 688 | Port::B => crate::pac::GPIOB::ptr() as _, [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root [INFO] [stdout] --> src/gpio.rs:689:27 [INFO] [stdout] | [INFO] [stdout] 689 | Port::C => crate::pac::GPIOC::ptr() as _, [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root [INFO] [stdout] --> src/gpio.rs:690:27 [INFO] [stdout] | [INFO] [stdout] 690 | Port::D => crate::pac::GPIOD::ptr() as _, [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root [INFO] [stdout] --> src/gpio.rs:691:27 [INFO] [stdout] | [INFO] [stdout] 691 | Port::E => crate::pac::GPIOE::ptr() as _, [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root [INFO] [stdout] --> src/gpio.rs:692:27 [INFO] [stdout] | [INFO] [stdout] 692 | Port::F => crate::pac::GPIOF::ptr() as _, [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root [INFO] [stdout] --> src/gpio.rs:693:27 [INFO] [stdout] | [INFO] [stdout] 693 | Port::G => crate::pac::GPIOG::ptr() as _, [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RegisterBlock` in this scope [INFO] [stdout] --> src/util.rs:184:23 [INFO] [stdout] | [INFO] [stdout] 184 | fn en_reset(rcc: &RegisterBlock); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cbp::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cpuid::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dcb::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dwt::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] and 9 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RegisterBlock` in this scope [INFO] [stdout] --> src/util.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | fn en_reset(rcc: &RegisterBlock) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cbp::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cpuid::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dcb::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dwt::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] and 9 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RegisterBlock` in this scope [INFO] [stdout] --> src/util.rs:304:23 [INFO] [stdout] | [INFO] [stdout] 304 | fn en_reset(rcc: &RegisterBlock) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cbp::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cpuid::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dcb::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dwt::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] and 9 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rcu_en_reset` [INFO] [stdout] --> src/gpio.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | rcu_en_reset, // todo? [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `set_alt` [INFO] [stdout] --> src/gpio.rs:195:14 [INFO] [stdout] | [INFO] [stdout] 195 | macro_rules! set_alt { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `set_exti` [INFO] [stdout] --> src/gpio.rs:245:14 [INFO] [stdout] | [INFO] [stdout] 245 | macro_rules! set_exti { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Deref` [INFO] [stdout] --> src/util.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cortex_m::interrupt::free` [INFO] [stdout] --> src/lib.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 244 | use cortex_m::interrupt::free; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gd32-hal` due to 17 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "13c658a896f8049e19eb8eae3cbfa7a978622494a6b13226cfd197edae0b783d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13c658a896f8049e19eb8eae3cbfa7a978622494a6b13226cfd197edae0b783d", kill_on_drop: false }` [INFO] [stdout] 13c658a896f8049e19eb8eae3cbfa7a978622494a6b13226cfd197edae0b783d