[INFO] fetching crate ambiq-hal 0.3.3... [INFO] checking ambiq-hal-0.3.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate ambiq-hal 0.3.3 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate ambiq-hal 0.3.3 [INFO] finished tweaking crates.io crate ambiq-hal 0.3.3 [INFO] tweaked toml for crates.io crate ambiq-hal 0.3.3 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ambiq-hal 0.3.3 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ambiq-hal 0.3.3 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded embedded-hal v0.2.6 [INFO] [stderr] Downloaded rtcc v0.3.0 [INFO] [stderr] Downloaded ufmt-write v0.1.0 [INFO] [stderr] Downloaded ufmt-macros v0.1.1 [INFO] [stderr] Downloaded num-complex v0.3.1 [INFO] [stderr] Downloaded volatile-register v0.2.1 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.7.0 [INFO] [stderr] Downloaded defmt v0.3.0 [INFO] [stderr] Downloaded cexpr v0.5.0 [INFO] [stderr] Downloaded clang-sys v1.2.2 [INFO] [stderr] Downloaded embedded-time v0.12.1 [INFO] [stderr] Downloaded cortex-m-rt v0.7.0 [INFO] [stderr] Downloaded ufmt v0.1.0 [INFO] [stderr] Downloaded defmt-macros v0.3.0 [INFO] [stderr] Downloaded num v0.3.1 [INFO] [stderr] Downloaded syn v1.0.77 [INFO] [stderr] Downloaded cortex-m v0.7.3 [INFO] [stderr] Downloaded bitvec v0.19.5 [INFO] [stderr] Downloaded defmt-parser v0.3.0 [INFO] [stderr] Downloaded regex v1.4.6 [INFO] [stderr] Downloaded bindgen v0.59.1 [INFO] [stderr] Downloaded ambiq-apollo3-pac2 v0.2.0 [INFO] [stderr] Downloaded ambiq-hal-sys v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7c621bbfb87d079b2bf69976369649b1a5bef22b9d6ebe73e37394d9529a2fc [INFO] running `Command { std: "docker" "start" "-a" "d7c621bbfb87d079b2bf69976369649b1a5bef22b9d6ebe73e37394d9529a2fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7c621bbfb87d079b2bf69976369649b1a5bef22b9d6ebe73e37394d9529a2fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7c621bbfb87d079b2bf69976369649b1a5bef22b9d6ebe73e37394d9529a2fc", kill_on_drop: false }` [INFO] [stdout] d7c621bbfb87d079b2bf69976369649b1a5bef22b9d6ebe73e37394d9529a2fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19bf9fddedb8e3cc7443007de692ee96d751c1c74def89a3a0016427db9b3d0d [INFO] running `Command { std: "docker" "start" "-a" "19bf9fddedb8e3cc7443007de692ee96d751c1c74def89a3a0016427db9b3d0d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling cortex-m v0.7.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling defmt-macros v0.3.0 [INFO] [stderr] Compiling defmt-parser v0.3.0 [INFO] [stderr] Compiling ambiq-apollo3-pac2 v0.2.0 [INFO] [stderr] Compiling defmt v0.3.0 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking volatile-register v0.2.1 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking embedded-hal v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rtcc v0.3.0 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking embedded-time v0.12.1 [INFO] [stderr] Compiling ufmt-macros v0.1.1 [INFO] [stderr] Checking ufmt v0.1.0 [INFO] [stderr] Checking ambiq-hal v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/clock.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(clkgen: &'a mut CLKGEN) -> ClockCtrl { [INFO] [stdout] | ^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(clkgen: &'a mut CLKGEN) -> ClockCtrl<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/clock.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(clkgen: &'a mut CLKGEN) -> ClockCtrl { [INFO] [stdout] | ^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(clkgen: &'a mut CLKGEN) -> ClockCtrl<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `panic_halt` [INFO] [stdout] --> examples/pin.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use panic_halt as _; // you can put a breakpoint on `rust_begin_unwind` to catch panics [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `panic_halt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_m_rt` [INFO] [stdout] --> examples/pin.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use cortex_m_rt::entry; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `cortex_m_rt` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 9 - use cortex_m_rt::entry; [INFO] [stdout] 9 + use cortex_m::entry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Pins` in `gpio` [INFO] [stdout] --> examples/pin.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | let pins1 = hal::gpio::Pins::new(perip.GPIO); [INFO] [stdout] | ^^^^ could not find `Pins` in `gpio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/gpio/mod.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(feature = "sparkfun-redboard")] [INFO] [stdout] | ----------------------------- the item is gated behind the `sparkfun-redboard` feature [INFO] [stdout] 32 | pub use redboard_artemis::Pins; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/gpio/mod.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "sparkfun-redboard-nano")] [INFO] [stdout] | ---------------------------------- the item is gated behind the `sparkfun-redboard-nano` feature [INFO] [stdout] 35 | pub use redboard_artemis_nano::Pins; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 4 + use crate::hal::gpio::redboard_artemis::Pins; [INFO] [stdout] | [INFO] [stdout] 4 + use crate::hal::gpio::redboard_artemis_nano::Pins; [INFO] [stdout] | [INFO] [stdout] 4 + use ambiq_hal::gpio::redboard_artemis::Pins; [INFO] [stdout] | [INFO] [stdout] 4 + use ambiq_hal::gpio::redboard_artemis_nano::Pins; [INFO] [stdout] | [INFO] [stdout] help: if you import `Pins`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 15 - let pins1 = hal::gpio::Pins::new(perip.GPIO); [INFO] [stdout] 15 + let pins1 = Pins::new(perip.GPIO); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [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] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ambiq-hal` (example "pin") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "19bf9fddedb8e3cc7443007de692ee96d751c1c74def89a3a0016427db9b3d0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19bf9fddedb8e3cc7443007de692ee96d751c1c74def89a3a0016427db9b3d0d", kill_on_drop: false }` [INFO] [stdout] 19bf9fddedb8e3cc7443007de692ee96d751c1c74def89a3a0016427db9b3d0d