[INFO] fetching crate hk32-partial-hal 0.2.0... [INFO] testing hk32-partial-hal-0.2.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate hk32-partial-hal 0.2.0 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hk32-partial-hal 0.2.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c81ccc05425be2706f2a2800a78f4969248f561abfad81e4bc5539825ab1bdc2 [INFO] running `Command { std: "docker" "start" "-a" "c81ccc05425be2706f2a2800a78f4969248f561abfad81e4bc5539825ab1bdc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c81ccc05425be2706f2a2800a78f4969248f561abfad81e4bc5539825ab1bdc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c81ccc05425be2706f2a2800a78f4969248f561abfad81e4bc5539825ab1bdc2", kill_on_drop: false }` [INFO] [stdout] c81ccc05425be2706f2a2800a78f4969248f561abfad81e4bc5539825ab1bdc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9061448dc55bb778f93023c315d77f2810f5f0f91e6910d384fb035ef851b68 [INFO] running `Command { std: "docker" "start" "-a" "f9061448dc55bb778f93023c315d77f2810f5f0f91e6910d384fb035ef851b68", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling defmt-macros v1.0.1 [INFO] [stderr] Compiling cortex-m-rt v0.7.5 [INFO] [stderr] Compiling defmt v1.0.1 [INFO] [stderr] Compiling embassy-hal-internal v0.3.0 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling hk32-partial-hal v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling embedded-hal-nb v1.0.0 [INFO] [stderr] Compiling cortex-m v0.7.7 [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] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hk32-partial-hal` (lib) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "f9061448dc55bb778f93023c315d77f2810f5f0f91e6910d384fb035ef851b68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9061448dc55bb778f93023c315d77f2810f5f0f91e6910d384fb035ef851b68", kill_on_drop: false }` [INFO] [stdout] f9061448dc55bb778f93023c315d77f2810f5f0f91e6910d384fb035ef851b68