[INFO] fetching crate ambiq-hal 0.1.0... [INFO] checking ambiq-hal-0.1.0 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] extracting crate ambiq-hal 0.1.0 into /workspace/builds/worker-80/source [INFO] validating manifest of crates.io crate ambiq-hal 0.1.0 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-80/source/.cargo/config.toml [INFO] started tweaking crates.io crate ambiq-hal 0.1.0 [INFO] finished tweaking crates.io crate ambiq-hal 0.1.0 [INFO] tweaked toml for crates.io crate ambiq-hal 0.1.0 written to /workspace/builds/worker-80/source/Cargo.toml [INFO] crate crates.io crate ambiq-hal 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49d73f555c59aea30d24e25d0c01336ca117d8d2d45d57c697617606e1d58041 [INFO] running `Command { std: "docker" "start" "-a" "49d73f555c59aea30d24e25d0c01336ca117d8d2d45d57c697617606e1d58041", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49d73f555c59aea30d24e25d0c01336ca117d8d2d45d57c697617606e1d58041", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49d73f555c59aea30d24e25d0c01336ca117d8d2d45d57c697617606e1d58041", kill_on_drop: false }` [INFO] [stdout] 49d73f555c59aea30d24e25d0c01336ca117d8d2d45d57c697617606e1d58041 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2403319ec7f984d3a433fee5dabada0c130618cf233fe9e30212763bcffac9e0 [INFO] running `Command { std: "docker" "start" "-a" "2403319ec7f984d3a433fee5dabada0c130618cf233fe9e30212763bcffac9e0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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 proc-macro-hack v0.5.19 [INFO] [stderr] Compiling cortex-m v0.7.3 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling defmt-macros v0.3.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling defmt v0.3.0 [INFO] [stderr] Compiling defmt-parser v0.3.0 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling ambiq-apollo3-pac2 v0.2.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Compiling paste v1.0.5 [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] Checking volatile-register v0.2.1 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.6 [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 bare-metal v0.2.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking chrono v0.4.19 [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.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/rtc.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `clk_cfg` [INFO] [stdout] --> src/clock.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn clk_cfg(f: F) -> R [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dec_to_bcd` [INFO] [stdout] --> src/rtc.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn dec_to_bcd(dec: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/rtc.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `clk_cfg` [INFO] [stdout] --> src/clock.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn clk_cfg(f: F) -> R [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dec_to_bcd` [INFO] [stdout] --> src/rtc.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn dec_to_bcd(dec: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [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 undeclared crate or module `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::entry; [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `entry` [INFO] [stdout] --> examples/pin.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[entry] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ambiq-hal` due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "2403319ec7f984d3a433fee5dabada0c130618cf233fe9e30212763bcffac9e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2403319ec7f984d3a433fee5dabada0c130618cf233fe9e30212763bcffac9e0", kill_on_drop: false }` [INFO] [stdout] 2403319ec7f984d3a433fee5dabada0c130618cf233fe9e30212763bcffac9e0