[INFO] fetching crate atsamd-hal 0.12.0... [INFO] checking atsamd-hal-0.12.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate atsamd-hal 0.12.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate atsamd-hal 0.12.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate atsamd-hal 0.12.0 [INFO] finished tweaking crates.io crate atsamd-hal 0.12.0 [INFO] tweaked toml for crates.io crate atsamd-hal 0.12.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 238b0ea49d16069510101015555028697af3bf768797218fe4e82c109d47b56e [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" "238b0ea49d16069510101015555028697af3bf768797218fe4e82c109d47b56e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "238b0ea49d16069510101015555028697af3bf768797218fe4e82c109d47b56e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "238b0ea49d16069510101015555028697af3bf768797218fe4e82c109d47b56e", kill_on_drop: false }` [INFO] [stdout] 238b0ea49d16069510101015555028697af3bf768797218fe4e82c109d47b56e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0ff5052cca1af5ad140b16c4139be1543ba42a998044c275237d117cac36ddb [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" "a0ff5052cca1af5ad140b16c4139be1543ba42a998044c275237d117cac36ddb", kill_on_drop: false }` [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling paste v1.0.4 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Checking atsamd-hal v0.12.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::clock` [INFO] [stdout] --> src/common/delay.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::clock::GenericClockController; [INFO] [stdout] | ^^^^^ maybe a missing crate `clock`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::target_device` [INFO] [stdout] --> src/common/gpio/v1.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::target_device::PORT; [INFO] [stdout] | ^^^^^^^^^^^^^ maybe a missing crate `target_device`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `eic`? [INFO] [stdout] --> src/common/prelude.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub use crate::eic::pin::EicPin; [INFO] [stdout] | ^^^ maybe a missing crate `eic`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `target_device`? [INFO] [stdout] --> src/common/rtc.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::target_device::rtc::{MODE0, MODE2}; [INFO] [stdout] | ^^^^^^^^^^^^^ maybe a missing crate `target_device`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::target_device` [INFO] [stdout] --> src/common/gpio/v2/pin.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | use crate::target_device::PORT; [INFO] [stdout] | ^^^^^^^^^^^^^ maybe a missing crate `target_device`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::target_device` [INFO] [stdout] --> src/common/rtc.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::target_device::RTC; [INFO] [stdout] | ^^^^^^^^^^^^^ maybe a missing crate `target_device`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::target_device` [INFO] [stdout] --> src/common/sercom/v2/pads.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | use crate::target_device::sercom0; [INFO] [stdout] | ^^^^^^^^^^^^^ maybe a missing crate `target_device`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::target_device`, `super::PORT` [INFO] [stdout] --> src/common/gpio/v2/pin.rs:593:25 [INFO] [stdout] | [INFO] [stdout] 593 | use super::{Sealed, PORT}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/common/sercom/v2/pads.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | use crate::target_device::{SERCOM0, SERCOM1}; [INFO] [stdout] | ^^^^^^^^^^^^^ maybe a missing crate `target_device`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::clock` [INFO] [stdout] --> src/common/delay.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::clock::GenericClockController; [INFO] [stdout] | ^^^^^ maybe a missing crate `clock`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::target_device` [INFO] [stdout] --> src/common/gpio/v1.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::target_device::PORT; [INFO] [stdout] | ^^^^^^^^^^^^^ maybe a missing crate `target_device`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `eic`? [INFO] [stdout] --> src/common/prelude.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub use crate::eic::pin::EicPin; [INFO] [stdout] | ^^^ maybe a missing crate `eic`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `target_device`? [INFO] [stdout] --> src/common/rtc.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::target_device::rtc::{MODE0, MODE2}; [INFO] [stdout] | ^^^^^^^^^^^^^ maybe a missing crate `target_device`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::target_device` [INFO] [stdout] --> src/common/gpio/v2/pin.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | use crate::target_device::PORT; [INFO] [stdout] | ^^^^^^^^^^^^^ maybe a missing crate `target_device`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::target_device` [INFO] [stdout] --> src/common/rtc.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::target_device::RTC; [INFO] [stdout] | ^^^^^^^^^^^^^ maybe a missing crate `target_device`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::target_device` [INFO] [stdout] --> src/common/sercom/v2/pads.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | use crate::target_device::sercom0; [INFO] [stdout] | ^^^^^^^^^^^^^ maybe a missing crate `target_device`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::target_device`, `super::PORT` [INFO] [stdout] --> src/common/gpio/v2/pin.rs:593:25 [INFO] [stdout] | [INFO] [stdout] 593 | use super::{Sealed, PORT}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/common/sercom/v2/pads.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | use crate::target_device::{SERCOM0, SERCOM1}; [INFO] [stdout] | ^^^^^^^^^^^^^ maybe a missing crate `target_device`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `target_device`? [INFO] [stdout] --> src/common/rtc.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | type ClockR = crate::target_device::rtc::mode2::clock::R; [INFO] [stdout] | ^^^^^^^^^^^^^ maybe a missing crate `target_device`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `target_device`? [INFO] [stdout] --> src/common/rtc.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | type ClockR = crate::target_device::rtc::mode2::clock::R; [INFO] [stdout] | ^^^^^^^^^^^^^ maybe a missing crate `target_device`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/common/rtc.rs:285:18 [INFO] [stdout] | [INFO] [stdout] 285 | 1 => PRESCALER_A::DIV1, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/common/rtc.rs:286:18 [INFO] [stdout] | [INFO] [stdout] 286 | 2 => PRESCALER_A::DIV2, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/common/rtc.rs:287:18 [INFO] [stdout] | [INFO] [stdout] 287 | 4 => PRESCALER_A::DIV4, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/common/rtc.rs:288:18 [INFO] [stdout] | [INFO] [stdout] 288 | 8 => PRESCALER_A::DIV8, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/common/rtc.rs:289:19 [INFO] [stdout] | [INFO] [stdout] 289 | 16 => PRESCALER_A::DIV16, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/common/rtc.rs:290:19 [INFO] [stdout] | [INFO] [stdout] 290 | 32 => PRESCALER_A::DIV32, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/common/rtc.rs:291:19 [INFO] [stdout] | [INFO] [stdout] 291 | 64 => PRESCALER_A::DIV64, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/common/rtc.rs:292:20 [INFO] [stdout] | [INFO] [stdout] 292 | 128 => PRESCALER_A::DIV128, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/common/rtc.rs:293:20 [INFO] [stdout] | [INFO] [stdout] 293 | 256 => PRESCALER_A::DIV256, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/common/rtc.rs:294:20 [INFO] [stdout] | [INFO] [stdout] 294 | 512 => PRESCALER_A::DIV512, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/common/rtc.rs:295:21 [INFO] [stdout] | [INFO] [stdout] 295 | 1024 => PRESCALER_A::DIV1024, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/common/rtc.rs:296:18 [INFO] [stdout] | [INFO] [stdout] 296 | _ => PRESCALER_A::DIV1024, /* would be nice to catch this at compile time [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/common/rtc.rs:285:18 [INFO] [stdout] | [INFO] [stdout] 285 | 1 => PRESCALER_A::DIV1, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/common/rtc.rs:286:18 [INFO] [stdout] | [INFO] [stdout] 286 | 2 => PRESCALER_A::DIV2, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/common/rtc.rs:287:18 [INFO] [stdout] | [INFO] [stdout] 287 | 4 => PRESCALER_A::DIV4, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIR` in this scope [INFO] [stdout] --> src/common/gpio/v2/pin.rs:610:18 [INFO] [stdout] | [INFO] [stdout] 610 | pub dir: DIR, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIRCLR` in this scope [INFO] [stdout] --> src/common/gpio/v2/pin.rs:611:21 [INFO] [stdout] | [INFO] [stdout] 611 | pub dirclr: DIRCLR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIRSET` in this scope [INFO] [stdout] --> src/common/gpio/v2/pin.rs:612:21 [INFO] [stdout] | [INFO] [stdout] 612 | pub dirset: DIRSET, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIRTGL` in this scope [INFO] [stdout] --> src/common/gpio/v2/pin.rs:613:21 [INFO] [stdout] | [INFO] [stdout] 613 | pub dirtgl: DIRTGL, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OUT` in this scope [INFO] [stdout] --> src/common/gpio/v2/pin.rs:614:18 [INFO] [stdout] | [INFO] [stdout] 614 | pub out: OUT, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OUTCLR` in this scope [INFO] [stdout] --> src/common/gpio/v2/pin.rs:615:21 [INFO] [stdout] | [INFO] [stdout] 615 | pub outclr: OUTCLR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OUTSET` in this scope [INFO] [stdout] --> src/common/gpio/v2/pin.rs:616:21 [INFO] [stdout] | [INFO] [stdout] 616 | pub outset: OUTSET, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/common/rtc.rs:288:18 [INFO] [stdout] | [INFO] [stdout] 288 | 8 => PRESCALER_A::DIV8, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/common/rtc.rs:289:19 [INFO] [stdout] | [INFO] [stdout] 289 | 16 => PRESCALER_A::DIV16, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/common/rtc.rs:290:19 [INFO] [stdout] | [INFO] [stdout] 290 | 32 => PRESCALER_A::DIV32, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/common/rtc.rs:291:19 [INFO] [stdout] | [INFO] [stdout] 291 | 64 => PRESCALER_A::DIV64, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/common/rtc.rs:292:20 [INFO] [stdout] | [INFO] [stdout] 292 | 128 => PRESCALER_A::DIV128, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/common/rtc.rs:293:20 [INFO] [stdout] | [INFO] [stdout] 293 | 256 => PRESCALER_A::DIV256, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/common/rtc.rs:294:20 [INFO] [stdout] | [INFO] [stdout] 294 | 512 => PRESCALER_A::DIV512, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/common/rtc.rs:295:21 [INFO] [stdout] | [INFO] [stdout] 295 | 1024 => PRESCALER_A::DIV1024, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PRESCALER_A` [INFO] [stdout] --> src/common/rtc.rs:296:18 [INFO] [stdout] | [INFO] [stdout] 296 | _ => PRESCALER_A::DIV1024, /* would be nice to catch this at compile time [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PRESCALER_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OUTTGL` in this scope [INFO] [stdout] --> src/common/gpio/v2/pin.rs:617:21 [INFO] [stdout] | [INFO] [stdout] 617 | pub outtgl: OUTTGL, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IN` in this scope [INFO] [stdout] --> src/common/gpio/v2/pin.rs:618:18 [INFO] [stdout] | [INFO] [stdout] 618 | pub in_: IN, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CTRL` in this scope [INFO] [stdout] --> src/common/gpio/v2/pin.rs:619:19 [INFO] [stdout] | [INFO] [stdout] 619 | pub ctrl: CTRL, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WRCONFIG` in this scope [INFO] [stdout] --> src/common/gpio/v2/pin.rs:620:23 [INFO] [stdout] | [INFO] [stdout] 620 | pub wrconfig: WRCONFIG, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PMUX` in this scope [INFO] [stdout] --> src/common/gpio/v2/pin.rs:622:20 [INFO] [stdout] | [INFO] [stdout] 622 | pub pmux: [PMUX; 16], [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PINCFG` in this scope [INFO] [stdout] --> src/common/gpio/v2/pin.rs:623:22 [INFO] [stdout] | [INFO] [stdout] 623 | pub pincfg: [PINCFG; 32], [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GROUPS` in this scope [INFO] [stdout] --> src/common/gpio/v2/pin.rs:667:25 [INFO] [stdout] | [INFO] [stdout] 667 | unsafe { &(*GROUPS)[Self::NUM] } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PM` in this scope [INFO] [stdout] --> src/common/rtc.rs:58:58 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn new(rtc: RTC, rtc_clock_freq: Hertz, pm: &mut PM) -> Self { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODE0` in this scope [INFO] [stdout] --> src/common/rtc.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | fn mode0(&self) -> &MODE0 { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODE2` in this scope [INFO] [stdout] --> src/common/rtc.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | fn mode2(&self) -> &MODE2 { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODE0_CTRLA` in this scope [INFO] [stdout] --> src/common/rtc.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | fn mode0_ctrla(&self) -> &MODE0_CTRLA { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODE2_CTRLA` in this scope [INFO] [stdout] --> src/common/rtc.rs:91:31 [INFO] [stdout] | [INFO] [stdout] 91 | fn mode2_ctrla(&self) -> &MODE2_CTRLA { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PRESCALER_A` in this scope [INFO] [stdout] --> src/common/rtc.rs:254:18 [INFO] [stdout] | [INFO] [stdout] 254 | pub divider: PRESCALER_A, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SPI` in this scope [INFO] [stdout] --> src/common/spi_common.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | fn spi(&self) -> &SPI; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SPI` in this scope [INFO] [stdout] --> src/common/spi_common.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | fn spi_mut(&mut self) -> &SPI; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIR` in this scope [INFO] [stdout] --> src/common/gpio/v2/pin.rs:610:18 [INFO] [stdout] | [INFO] [stdout] 610 | pub dir: DIR, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIRCLR` in this scope [INFO] [stdout] --> src/common/gpio/v2/pin.rs:611:21 [INFO] [stdout] | [INFO] [stdout] 611 | pub dirclr: DIRCLR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIRSET` in this scope [INFO] [stdout] --> src/common/gpio/v2/pin.rs:612:21 [INFO] [stdout] | [INFO] [stdout] 612 | pub dirset: DIRSET, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIRTGL` in this scope [INFO] [stdout] --> src/common/gpio/v2/pin.rs:613:21 [INFO] [stdout] | [INFO] [stdout] 613 | pub dirtgl: DIRTGL, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OUT` in this scope [INFO] [stdout] --> src/common/gpio/v2/pin.rs:614:18 [INFO] [stdout] | [INFO] [stdout] 614 | pub out: OUT, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OUTCLR` in this scope [INFO] [stdout] --> src/common/gpio/v2/pin.rs:615:21 [INFO] [stdout] | [INFO] [stdout] 615 | pub outclr: OUTCLR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OUTSET` in this scope [INFO] [stdout] --> src/common/gpio/v2/pin.rs:616:21 [INFO] [stdout] | [INFO] [stdout] 616 | pub outset: OUTSET, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OUTTGL` in this scope [INFO] [stdout] --> src/common/gpio/v2/pin.rs:617:21 [INFO] [stdout] | [INFO] [stdout] 617 | pub outtgl: OUTTGL, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IN` in this scope [INFO] [stdout] --> src/common/gpio/v2/pin.rs:618:18 [INFO] [stdout] | [INFO] [stdout] 618 | pub in_: IN, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CTRL` in this scope [INFO] [stdout] --> src/common/gpio/v2/pin.rs:619:19 [INFO] [stdout] | [INFO] [stdout] 619 | pub ctrl: CTRL, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WRCONFIG` in this scope [INFO] [stdout] --> src/common/gpio/v2/pin.rs:620:23 [INFO] [stdout] | [INFO] [stdout] 620 | pub wrconfig: WRCONFIG, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PMUX` in this scope [INFO] [stdout] --> src/common/gpio/v2/pin.rs:622:20 [INFO] [stdout] | [INFO] [stdout] 622 | pub pmux: [PMUX; 16], [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PINCFG` in this scope [INFO] [stdout] --> src/common/gpio/v2/pin.rs:623:22 [INFO] [stdout] | [INFO] [stdout] 623 | pub pincfg: [PINCFG; 32], [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GROUPS` in this scope [INFO] [stdout] --> src/common/gpio/v2/pin.rs:667:25 [INFO] [stdout] | [INFO] [stdout] 667 | unsafe { &(*GROUPS)[Self::NUM] } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PM` in this scope [INFO] [stdout] --> src/common/rtc.rs:58:58 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn new(rtc: RTC, rtc_clock_freq: Hertz, pm: &mut PM) -> Self { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODE0` in this scope [INFO] [stdout] --> src/common/rtc.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | fn mode0(&self) -> &MODE0 { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODE2` in this scope [INFO] [stdout] --> src/common/rtc.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | fn mode2(&self) -> &MODE2 { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODE0_CTRLA` in this scope [INFO] [stdout] --> src/common/rtc.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | fn mode0_ctrla(&self) -> &MODE0_CTRLA { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODE2_CTRLA` in this scope [INFO] [stdout] --> src/common/rtc.rs:91:31 [INFO] [stdout] | [INFO] [stdout] 91 | fn mode2_ctrla(&self) -> &MODE2_CTRLA { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PRESCALER_A` in this scope [INFO] [stdout] --> src/common/rtc.rs:254:18 [INFO] [stdout] | [INFO] [stdout] 254 | pub divider: PRESCALER_A, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SPI` in this scope [INFO] [stdout] --> src/common/spi_common.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | fn spi(&self) -> &SPI; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SPI` in this scope [INFO] [stdout] --> src/common/spi_common.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | fn spi_mut(&mut self) -> &SPI; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InputConfig` [INFO] [stdout] --> src/common/gpio/v1.rs:26:57 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::gpio::v2::{self, Alternate, AlternateConfig, InputConfig, OutputConfig, PinId}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InputConfig` [INFO] [stdout] --> src/common/gpio/v1.rs:26:57 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::gpio::v2::{self, Alternate, AlternateConfig, InputConfig, OutputConfig, PinId}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 43 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `atsamd-hal` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 43 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a0ff5052cca1af5ad140b16c4139be1543ba42a998044c275237d117cac36ddb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0ff5052cca1af5ad140b16c4139be1543ba42a998044c275237d117cac36ddb", kill_on_drop: false }` [INFO] [stdout] a0ff5052cca1af5ad140b16c4139be1543ba42a998044c275237d117cac36ddb