[INFO] fetching crate hk32-partial-hal 0.2.0... [INFO] testing hk32-partial-hal-0.2.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate hk32-partial-hal 0.2.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate hk32-partial-hal 0.2.0 [INFO] finished tweaking crates.io crate hk32-partial-hal 0.2.0 [INFO] tweaked toml for crates.io crate hk32-partial-hal 0.2.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hk32-partial-hal 0.2.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate hk32-partial-hal 0.2.0 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded panic-halt v1.0.0 [INFO] [stderr] Downloaded defmt v1.0.1 [INFO] [stderr] Downloaded volatile-register v0.2.2 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.7.5 [INFO] [stderr] Downloaded defmt-macros v1.0.1 [INFO] [stderr] Downloaded rustc_version v0.2.3 [INFO] [stderr] Downloaded critical-section v1.2.0 [INFO] [stderr] Downloaded embassy-hal-internal v0.3.0 [INFO] [stderr] Downloaded embedded-hal v1.0.0 [INFO] [stderr] Downloaded cortex-m v0.7.7 [INFO] [stderr] Downloaded embedded-hal-nb v1.0.0 [INFO] [stderr] Downloaded semver-parser v0.7.0 [INFO] [stderr] Downloaded semver v0.9.0 [INFO] [stderr] Downloaded bitfield v0.13.2 [INFO] [stderr] Downloaded nb v1.1.0 [INFO] [stderr] Downloaded nb v0.1.3 [INFO] [stderr] Downloaded embedded-hal v0.2.7 [INFO] [stderr] Downloaded bare-metal v0.2.5 [INFO] [stderr] Downloaded void v1.0.2 [INFO] [stderr] Downloaded vcell v0.1.3 [INFO] [stderr] Downloaded cortex-m-rt v0.7.5 [INFO] [stderr] Downloaded defmt-parser v1.0.0 [INFO] [stderr] Downloaded hk32f0301mxxc-pac v0.2.0 [INFO] [stderr] Downloaded hk32c030xx-pac v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd865bb27e9dfdabfb3fe10b63d3fa3ecd8a8224ca038c790aaab199b72d76e9 [INFO] running `Command { std: "docker" "start" "-a" "cd865bb27e9dfdabfb3fe10b63d3fa3ecd8a8224ca038c790aaab199b72d76e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd865bb27e9dfdabfb3fe10b63d3fa3ecd8a8224ca038c790aaab199b72d76e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd865bb27e9dfdabfb3fe10b63d3fa3ecd8a8224ca038c790aaab199b72d76e9", kill_on_drop: false }` [INFO] [stdout] cd865bb27e9dfdabfb3fe10b63d3fa3ecd8a8224ca038c790aaab199b72d76e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11eb77ce7c7f8db0736f41495c91a45de0970cbd0875c8b9daa8b992ff5cff45 [INFO] running `Command { std: "docker" "start" "-a" "11eb77ce7c7f8db0736f41495c91a45de0970cbd0875c8b9daa8b992ff5cff45", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [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 thiserror v2.0.12 [INFO] [stderr] Compiling cortex-m-rt v0.7.5 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling defmt v1.0.1 [INFO] [stderr] Compiling defmt-macros v1.0.1 [INFO] [stderr] Compiling embassy-hal-internal v0.3.0 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling hk32-partial-hal v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling embedded-hal-nb v1.0.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.5 [INFO] [stderr] Compiling defmt-parser v1.0.0 [INFO] [stdout] error[E0432]: unresolved import `chip::interrupt` [INFO] [stdout] --> src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use chip::interrupt; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `interrupt` in `chip` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules instead [INFO] [stdout] | [INFO] [stdout] 9 - pub use chip::interrupt; [INFO] [stdout] 9 + pub use cortex_m::interrupt; [INFO] [stdout] | [INFO] [stdout] 9 - pub use chip::interrupt; [INFO] [stdout] 9 + pub use embassy_hal_internal::interrupt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chip::pac` [INFO] [stdout] --> src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use chip::pac; [INFO] [stdout] | ^^^^^^^^^ no `pac` in `chip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chip::peripherals` [INFO] [stdout] --> src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use chip::peripherals; // peripherals define [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `peripherals` in `chip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hk32c030xx_pac` [INFO] [stdout] --> src/flash.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hk32c030xx_pac::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `hk32c030xx_pac` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hk32c030xx_pac`, use `cargo add hk32c030xx_pac` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chip::Peripherals` [INFO] [stdout] --> src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use chip::Peripherals; // peripherals struct [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Peripherals` in `chip` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 12 - pub use chip::Peripherals; // peripherals struct [INFO] [stdout] 12 + pub use cortex_m::Peripherals; // peripherals struct [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hk32c030xx_pac` [INFO] [stdout] --> src/sys.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hk32c030xx_pac::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `hk32c030xx_pac` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hk32c030xx_pac`, use `cargo add hk32c030xx_pac` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hk32c030xx_pac` [INFO] [stdout] --> src/flash.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hk32c030xx_pac::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `hk32c030xx_pac` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hk32c030xx_pac`, use `cargo add hk32c030xx_pac` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hk32c030xx_pac` [INFO] [stdout] --> src/sys.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hk32c030xx_pac::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `hk32c030xx_pac` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hk32c030xx_pac`, use `cargo add hk32c030xx_pac` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `foreach_spi` in the crate root [INFO] [stdout] --> src/spi.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | crate::foreach_spi!( [INFO] [stdout] | ^^^^^^^^^^^ could not find `foreach_spi` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `foreach_pin` in the crate root [INFO] [stdout] --> src/gpio/mod.rs:575:8 [INFO] [stdout] | [INFO] [stdout] 575 | crate::foreach_pin!( [INFO] [stdout] | ^^^^^^^^^^^ could not find `foreach_pin` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gpio_block` in module `crate::chip` [INFO] [stdout] --> src/gpio/mod.rs:488:22 [INFO] [stdout] | [INFO] [stdout] 488 | crate::chip::gpio_block(self._port() as _) [INFO] [stdout] | ^^^^^^^^^^ not found in `crate::chip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gpio_block` in module `crate::chip` [INFO] [stdout] --> src/gpio/mod.rs:547:22 [INFO] [stdout] | [INFO] [stdout] 547 | crate::chip::gpio_block(self._port() as _) [INFO] [stdout] | ^^^^^^^^^^ not found in `crate::chip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/flash.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | FLASH.sr().write(|w| { [INFO] [stdout] | ^ [INFO] [stdout] 37 | w.set_pgerr(true); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 36 | FLASH.sr().write(|w: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/flash.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | FLASH.cr().modify(|w| w.set_lock(true)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 41 | FLASH.cr().modify(|w: /* Type */| w.set_lock(true)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/flash.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | FLASH.sr().write(|w| { [INFO] [stdout] | ^ [INFO] [stdout] 44 | w.set_pgerr(true); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 43 | FLASH.sr().write(|w: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/flash.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | FLASH.cr().modify(|w| w.set_lock(true)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 68 | FLASH.cr().modify(|w: /* Type */| w.set_lock(true)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/flash.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | FLASH.cr().modify(|w| w.set_optwre(false)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 88 | FLASH.cr().modify(|w: /* Type */| w.set_optwre(false)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/flash.rs:108:28 [INFO] [stdout] | [INFO] [stdout] 108 | FLASH.cr().modify(|w| w.set_per(true)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 108 | FLASH.cr().modify(|w: /* Type */| w.set_per(true)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/flash.rs:110:28 [INFO] [stdout] | [INFO] [stdout] 110 | FLASH.cr().modify(|w| w.set_strt(true)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 110 | FLASH.cr().modify(|w: /* Type */| w.set_strt(true)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/flash.rs:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | FLASH.cr().modify(|w| w.set_per(false)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 115 | FLASH.cr().modify(|w: /* Type */| w.set_per(false)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/flash.rs:135:28 [INFO] [stdout] | [INFO] [stdout] 135 | FLASH.cr().modify(|w| w.set_wpg(true)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 135 | FLASH.cr().modify(|w: /* Type */| w.set_wpg(true)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/flash.rs:144:28 [INFO] [stdout] | [INFO] [stdout] 144 | FLASH.cr().modify(|w| w.set_wpg(false)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 144 | FLASH.cr().modify(|w: /* Type */| w.set_wpg(false)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/spi.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | regs.cr2().modify(|w| { [INFO] [stdout] | ^ [INFO] [stdout] 90 | w.set_ssoe(false); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 89 | regs.cr2().modify(|w: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/spi.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | regs.cr1().modify(|w| { [INFO] [stdout] | ^ [INFO] [stdout] 93 | w.set_cpha(cpha); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 92 | regs.cr1().modify(|w: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/sys.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | RCC.apb2enr().modify(|w| match rcc_apb2periph { [INFO] [stdout] | ^ [INFO] [stdout] 55 | RccApb2Periph::SysCfg => w.set_syscfgen(newstate), [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 54 | RCC.apb2enr().modify(|w: /* Type */| match rcc_apb2periph { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/sys.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | RCC.apb1enr().modify(|w| match rcc_apb1periph { [INFO] [stdout] | ^ [INFO] [stdout] 84 | RccApb1Periph::Tim2 => w.set_tim2en(newstate), [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 83 | RCC.apb1enr().modify(|w: /* Type */| match rcc_apb1periph { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/sys.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | RCC.cfgr4().modify(|w| w.set_hsi64on(true)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 102 | RCC.cfgr4().modify(|w: /* Type */| w.set_hsi64on(true)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/sys.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | FLASH.acr().modify(|w| w.set_prftbe(true)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 109 | FLASH.acr().modify(|w: /* Type */| w.set_prftbe(true)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/sys.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | FLASH.acr().modify(|w| w.set_latency(0x2)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 115 | FLASH.acr().modify(|w: /* Type */| w.set_latency(0x2)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/sys.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 119 | RCC.cfgr().modify(|w| w.set_hpre(0)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 119 | RCC.cfgr().modify(|w: /* Type */| w.set_hpre(0)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/sys.rs:123:24 [INFO] [stdout] | [INFO] [stdout] 123 | RCC.cfgr().modify(|w| w.set_ppre(0)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 123 | RCC.cfgr().modify(|w: /* Type */| w.set_ppre(0)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/sys.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | RCC.cfgr4().modify(|w| w.set_esss(true)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 127 | RCC.cfgr4().modify(|w: /* Type */| w.set_esss(true)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/sys.rs:131:25 [INFO] [stdout] | [INFO] [stdout] 131 | RCC.cfgr4().modify(|w| w.set_esw(0x2)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 131 | RCC.cfgr4().modify(|w: /* Type */| w.set_esw(0x2)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/sys.rs:141:22 [INFO] [stdout] | [INFO] [stdout] 141 | RCC.cr().modify(|w| w.set_hsion(true)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 141 | RCC.cr().modify(|w: /* Type */| w.set_hsion(true)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/sys.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | RCC.cfgr().modify(|w| { [INFO] [stdout] | ^ [INFO] [stdout] 146 | w.set_sw(0); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 145 | RCC.cfgr().modify(|w: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/sys.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 155 | RCC.cr().modify(|w| { [INFO] [stdout] | ^ [INFO] [stdout] 156 | w.set_hseon(false); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 155 | RCC.cr().modify(|w: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/sys.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 163 | RCC.cr().modify(|w| w.set_hsebyp(false)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 163 | RCC.cr().modify(|w: /* Type */| w.set_hsebyp(false)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/sys.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 167 | RCC.cfgr3().modify(|w| { [INFO] [stdout] | ^ [INFO] [stdout] 168 | w.set_uart1sw(0); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 167 | RCC.cfgr3().modify(|w: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/sys.rs:177:23 [INFO] [stdout] | [INFO] [stdout] 177 | RCC.cr2().modify(|w| w.set_hsi16on(false)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 177 | RCC.cr2().modify(|w: /* Type */| w.set_hsi16on(false)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/sys.rs:214:23 [INFO] [stdout] | [INFO] [stdout] 214 | RCC.csr().modify(|w| w.set_lsion(true)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 214 | RCC.csr().modify(|w: /* Type */| w.set_lsion(true)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hk32-partial-hal` (lib) due to 40 previous errors [INFO] running `Command { std: "docker" "inspect" "11eb77ce7c7f8db0736f41495c91a45de0970cbd0875c8b9daa8b992ff5cff45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11eb77ce7c7f8db0736f41495c91a45de0970cbd0875c8b9daa8b992ff5cff45", kill_on_drop: false }` [INFO] [stdout] 11eb77ce7c7f8db0736f41495c91a45de0970cbd0875c8b9daa8b992ff5cff45