[INFO] fetching crate nrf-hal 0.0.1... [INFO] checking nrf-hal-0.0.1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate nrf-hal 0.0.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate nrf-hal 0.0.1 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nrf-hal 0.0.1 [INFO] finished tweaking crates.io crate nrf-hal 0.0.1 [INFO] tweaked toml for crates.io crate nrf-hal 0.0.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nrf52833-pac v0.10.1 [INFO] [stderr] Downloaded nrf52810-pac v0.10.1 [INFO] [stderr] Downloaded nrf52832-pac v0.10.1 [INFO] [stderr] Downloaded nrf5340-app-pac v0.10.1 [INFO] [stderr] Downloaded nrf52811-pac v0.10.1 [INFO] [stderr] Downloaded nrf52840-pac v0.10.1 [INFO] [stderr] Downloaded nrf5340-net-pac v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de610eca628bda28ae8cd7beadcea2bd75fabb4abdeb7ad7192191c809bb1c1f [INFO] running `Command { std: "docker" "start" "-a" "de610eca628bda28ae8cd7beadcea2bd75fabb4abdeb7ad7192191c809bb1c1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de610eca628bda28ae8cd7beadcea2bd75fabb4abdeb7ad7192191c809bb1c1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de610eca628bda28ae8cd7beadcea2bd75fabb4abdeb7ad7192191c809bb1c1f", kill_on_drop: false }` [INFO] [stdout] de610eca628bda28ae8cd7beadcea2bd75fabb4abdeb7ad7192191c809bb1c1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3eedfc307afa7e6ba67925b478e38dcf7385fd6d0c760e3c1966031fffa8cda2 [INFO] running `Command { std: "docker" "start" "-a" "3eedfc307afa7e6ba67925b478e38dcf7385fd6d0c760e3c1966031fffa8cda2", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling az v1.1.2 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling fixed v1.10.0 [INFO] [stderr] Compiling cortex-m v0.7.3 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking embedded-storage v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking volatile-register v0.2.1 [INFO] [stderr] Checking embedded-dma v0.1.2 [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 rustc_version v0.4.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking nrf-hal v0.0.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/clocks.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::pac::CLOCK; [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root [INFO] [stdout] --> src/gpio.rs:332:12 [INFO] [stdout] | [INFO] [stdout] 332 | use crate::pac::p0::pin_cnf; [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/gpio.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | use crate::pac::{p0 as gpio, P0}; [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root [INFO] [stdout] --> src/gpiote.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | crate::pac::gpiote::{EVENTS_IN, EVENTS_PORT, TASKS_OUT}, [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root [INFO] [stdout] --> src/gpiote.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | crate::pac::{generic::Reg, GPIOTE}, [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/gpiote.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::pac::P0; [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root [INFO] [stdout] --> src/gpiote.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::pac::gpiote::{TASKS_CLR, TASKS_SET}; [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/gpiote.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | crate::pac::{generic::Reg, GPIOTE}, [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/twim.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::pac::{twim0, TWIM0}; [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::target_constants::EASY_DMA_SIZE`, `twim0::frequency::FREQUENCY_A`, `super::P0` [INFO] [stdout] --> src/gpio.rs:371:17 [INFO] [stdout] | [INFO] [stdout] 371 | $PX [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 595 | / gpio!(P0, p0, p0, Port::Port0, [ [INFO] [stdout] 596 | | P0_00: (p0_00, 0, Disconnected), [INFO] [stdout] 597 | | P0_01: (p0_01, 1, Disconnected), [INFO] [stdout] 598 | | P0_02: (p0_02, 2, Disconnected), [INFO] [stdout] ... | [INFO] [stdout] 627 | | P0_31: (p0_31, 31, Disconnected), [INFO] [stdout] 628 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/twim.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | target_constants::{EASY_DMA_SIZE, FORCE_COPY_BUFFER_SIZE}, [INFO] [stdout] | ^^^^^^^^^^^^^ no `EASY_DMA_SIZE` in `target_constants` [INFO] [stdout] ... [INFO] [stdout] 29 | pub use twim0::frequency::FREQUENCY_A as Frequency; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pin_cnf` [INFO] [stdout] --> src/gpio.rs:335:25 [INFO] [stdout] | [INFO] [stdout] 335 | fn variant(self) -> pin_cnf::DRIVE_A { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pin_cnf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pin_cnf` [INFO] [stdout] --> src/gpio.rs:339:37 [INFO] [stdout] | [INFO] [stdout] 339 | Disconnect0Standard1 => pin_cnf::DRIVE_A::D0S1, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pin_cnf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pin_cnf` [INFO] [stdout] --> src/gpio.rs:340:38 [INFO] [stdout] | [INFO] [stdout] 340 | Disconnect0HighDrive1 => pin_cnf::DRIVE_A::D0H1, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pin_cnf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pin_cnf` [INFO] [stdout] --> src/gpio.rs:341:37 [INFO] [stdout] | [INFO] [stdout] 341 | Standard0Disconnect1 => pin_cnf::DRIVE_A::S0D1, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pin_cnf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pin_cnf` [INFO] [stdout] --> src/gpio.rs:342:38 [INFO] [stdout] | [INFO] [stdout] 342 | HighDrive0Disconnect1 => pin_cnf::DRIVE_A::H0D1, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pin_cnf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal` [INFO] [stdout] --> src/twim.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | impl embedded_hal::blocking::i2c::Write for Twim [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal` [INFO] [stdout] --> src/twim.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | impl embedded_hal::blocking::i2c::Read for Twim [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal` [INFO] [stdout] --> src/twim.rs:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | impl embedded_hal::blocking::i2c::WriteRead for Twim [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `InputPin` in this scope [INFO] [stdout] --> src/gpio.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 267 | impl InputPin for Pin> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OutputPin` in this scope [INFO] [stdout] --> src/gpio.rs:279:12 [INFO] [stdout] | [INFO] [stdout] 279 | impl OutputPin for Pin> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `StatefulOutputPin` in this scope [INFO] [stdout] --> src/gpio.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 303 | impl StatefulOutputPin for Pin> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `InputPin` in this scope [INFO] [stdout] --> src/gpio.rs:539:28 [INFO] [stdout] | [INFO] [stdout] 539 | impl InputPin for $PXi> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 595 | / gpio!(P0, p0, p0, Port::Port0, [ [INFO] [stdout] 596 | | P0_00: (p0_00, 0, Disconnected), [INFO] [stdout] 597 | | P0_01: (p0_01, 1, Disconnected), [INFO] [stdout] 598 | | P0_02: (p0_02, 2, Disconnected), [INFO] [stdout] ... | [INFO] [stdout] 627 | | P0_31: (p0_31, 31, Disconnected), [INFO] [stdout] 628 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OutputPin` in this scope [INFO] [stdout] --> src/gpio.rs:551:28 [INFO] [stdout] | [INFO] [stdout] 551 | impl OutputPin for $PXi> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 595 | / gpio!(P0, p0, p0, Port::Port0, [ [INFO] [stdout] 596 | | P0_00: (p0_00, 0, Disconnected), [INFO] [stdout] 597 | | P0_01: (p0_01, 1, Disconnected), [INFO] [stdout] 598 | | P0_02: (p0_02, 2, Disconnected), [INFO] [stdout] ... | [INFO] [stdout] 627 | | P0_31: (p0_31, 31, Disconnected), [INFO] [stdout] 628 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `StatefulOutputPin` in this scope [INFO] [stdout] --> src/gpio.rs:571:28 [INFO] [stdout] | [INFO] [stdout] 571 | impl StatefulOutputPin for $PXi> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 595 | / gpio!(P0, p0, p0, Port::Port0, [ [INFO] [stdout] 596 | | P0_00: (p0_00, 0, Disconnected), [INFO] [stdout] 597 | | P0_01: (p0_01, 1, Disconnected), [INFO] [stdout] 598 | | P0_02: (p0_02, 2, Disconnected), [INFO] [stdout] ... | [INFO] [stdout] 627 | | P0_31: (p0_31, 31, Disconnected), [INFO] [stdout] 628 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EVENTS_IN` in this scope [INFO] [stdout] --> src/gpiote.rs:146:29 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn event(&self) -> &EVENTS_IN { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TASKS_OUT` in this scope [INFO] [stdout] --> src/gpiote.rs:151:32 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn task_out(&self) -> &TASKS_OUT { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TASKS_CLR` in this scope [INFO] [stdout] --> src/gpiote.rs:157:32 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn task_clr(&self) -> &TASKS_CLR { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TASKS_SET` in this scope [INFO] [stdout] --> src/gpiote.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn task_set(&self) -> &TASKS_SET { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EVENTS_PORT` in this scope [INFO] [stdout] --> src/gpiote.rs:194:29 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn event(&self) -> &EVENTS_PORT { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Frequency` in this scope [INFO] [stdout] --> src/twim.rs:46:48 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(twim: T, pins: Pins, frequency: Frequency) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EASY_DMA_SIZE` in this scope [INFO] [stdout] --> src/lib.rs:74:50 [INFO] [stdout] | [INFO] [stdout] 74 | const _CHECK_FORCE_COPY_BUFFER_SIZE: usize = EASY_DMA_SIZE - FORCE_COPY_BUFFER_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nrf-hal` due to 32 previous errors [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/clocks.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::pac::CLOCK; [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root [INFO] [stdout] --> src/gpio.rs:332:12 [INFO] [stdout] | [INFO] [stdout] 332 | use crate::pac::p0::pin_cnf; [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/gpio.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | use crate::pac::{p0 as gpio, P0}; [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root [INFO] [stdout] --> src/gpiote.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | crate::pac::gpiote::{EVENTS_IN, EVENTS_PORT, TASKS_OUT}, [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root [INFO] [stdout] --> src/gpiote.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | crate::pac::{generic::Reg, GPIOTE}, [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/gpiote.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::pac::P0; [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root [INFO] [stdout] --> src/gpiote.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::pac::gpiote::{TASKS_CLR, TASKS_SET}; [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/gpiote.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | crate::pac::{generic::Reg, GPIOTE}, [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/twim.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::pac::{twim0, TWIM0}; [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::target_constants::EASY_DMA_SIZE`, `twim0::frequency::FREQUENCY_A`, `super::P0` [INFO] [stdout] --> src/gpio.rs:371:17 [INFO] [stdout] | [INFO] [stdout] 371 | $PX [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 595 | / gpio!(P0, p0, p0, Port::Port0, [ [INFO] [stdout] 596 | | P0_00: (p0_00, 0, Disconnected), [INFO] [stdout] 597 | | P0_01: (p0_01, 1, Disconnected), [INFO] [stdout] 598 | | P0_02: (p0_02, 2, Disconnected), [INFO] [stdout] ... | [INFO] [stdout] 627 | | P0_31: (p0_31, 31, Disconnected), [INFO] [stdout] 628 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/twim.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | target_constants::{EASY_DMA_SIZE, FORCE_COPY_BUFFER_SIZE}, [INFO] [stdout] | ^^^^^^^^^^^^^ no `EASY_DMA_SIZE` in `target_constants` [INFO] [stdout] ... [INFO] [stdout] 29 | pub use twim0::frequency::FREQUENCY_A as Frequency; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pin_cnf` [INFO] [stdout] --> src/gpio.rs:335:25 [INFO] [stdout] | [INFO] [stdout] 335 | fn variant(self) -> pin_cnf::DRIVE_A { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pin_cnf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pin_cnf` [INFO] [stdout] --> src/gpio.rs:339:37 [INFO] [stdout] | [INFO] [stdout] 339 | Disconnect0Standard1 => pin_cnf::DRIVE_A::D0S1, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pin_cnf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pin_cnf` [INFO] [stdout] --> src/gpio.rs:340:38 [INFO] [stdout] | [INFO] [stdout] 340 | Disconnect0HighDrive1 => pin_cnf::DRIVE_A::D0H1, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pin_cnf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pin_cnf` [INFO] [stdout] --> src/gpio.rs:341:37 [INFO] [stdout] | [INFO] [stdout] 341 | Standard0Disconnect1 => pin_cnf::DRIVE_A::S0D1, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pin_cnf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pin_cnf` [INFO] [stdout] --> src/gpio.rs:342:38 [INFO] [stdout] | [INFO] [stdout] 342 | HighDrive0Disconnect1 => pin_cnf::DRIVE_A::H0D1, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pin_cnf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal` [INFO] [stdout] --> src/twim.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | impl embedded_hal::blocking::i2c::Write for Twim [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal` [INFO] [stdout] --> src/twim.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | impl embedded_hal::blocking::i2c::Read for Twim [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal` [INFO] [stdout] --> src/twim.rs:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | impl embedded_hal::blocking::i2c::WriteRead for Twim [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `InputPin` in this scope [INFO] [stdout] --> src/gpio.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 267 | impl InputPin for Pin> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OutputPin` in this scope [INFO] [stdout] --> src/gpio.rs:279:12 [INFO] [stdout] | [INFO] [stdout] 279 | impl OutputPin for Pin> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `StatefulOutputPin` in this scope [INFO] [stdout] --> src/gpio.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 303 | impl StatefulOutputPin for Pin> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `InputPin` in this scope [INFO] [stdout] --> src/gpio.rs:539:28 [INFO] [stdout] | [INFO] [stdout] 539 | impl InputPin for $PXi> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 595 | / gpio!(P0, p0, p0, Port::Port0, [ [INFO] [stdout] 596 | | P0_00: (p0_00, 0, Disconnected), [INFO] [stdout] 597 | | P0_01: (p0_01, 1, Disconnected), [INFO] [stdout] 598 | | P0_02: (p0_02, 2, Disconnected), [INFO] [stdout] ... | [INFO] [stdout] 627 | | P0_31: (p0_31, 31, Disconnected), [INFO] [stdout] 628 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OutputPin` in this scope [INFO] [stdout] --> src/gpio.rs:551:28 [INFO] [stdout] | [INFO] [stdout] 551 | impl OutputPin for $PXi> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 595 | / gpio!(P0, p0, p0, Port::Port0, [ [INFO] [stdout] 596 | | P0_00: (p0_00, 0, Disconnected), [INFO] [stdout] 597 | | P0_01: (p0_01, 1, Disconnected), [INFO] [stdout] 598 | | P0_02: (p0_02, 2, Disconnected), [INFO] [stdout] ... | [INFO] [stdout] 627 | | P0_31: (p0_31, 31, Disconnected), [INFO] [stdout] 628 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `StatefulOutputPin` in this scope [INFO] [stdout] --> src/gpio.rs:571:28 [INFO] [stdout] | [INFO] [stdout] 571 | impl StatefulOutputPin for $PXi> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 595 | / gpio!(P0, p0, p0, Port::Port0, [ [INFO] [stdout] 596 | | P0_00: (p0_00, 0, Disconnected), [INFO] [stdout] 597 | | P0_01: (p0_01, 1, Disconnected), [INFO] [stdout] 598 | | P0_02: (p0_02, 2, Disconnected), [INFO] [stdout] ... | [INFO] [stdout] 627 | | P0_31: (p0_31, 31, Disconnected), [INFO] [stdout] 628 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EVENTS_IN` in this scope [INFO] [stdout] --> src/gpiote.rs:146:29 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn event(&self) -> &EVENTS_IN { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TASKS_OUT` in this scope [INFO] [stdout] --> src/gpiote.rs:151:32 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn task_out(&self) -> &TASKS_OUT { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TASKS_CLR` in this scope [INFO] [stdout] --> src/gpiote.rs:157:32 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn task_clr(&self) -> &TASKS_CLR { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TASKS_SET` in this scope [INFO] [stdout] --> src/gpiote.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn task_set(&self) -> &TASKS_SET { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EVENTS_PORT` in this scope [INFO] [stdout] --> src/gpiote.rs:194:29 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn event(&self) -> &EVENTS_PORT { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Frequency` in this scope [INFO] [stdout] --> src/twim.rs:46:48 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(twim: T, pins: Pins, frequency: Frequency) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EASY_DMA_SIZE` in this scope [INFO] [stdout] --> src/lib.rs:74:50 [INFO] [stdout] | [INFO] [stdout] 74 | const _CHECK_FORCE_COPY_BUFFER_SIZE: usize = EASY_DMA_SIZE - FORCE_COPY_BUFFER_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stdout] error: aborting due to 31 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "3eedfc307afa7e6ba67925b478e38dcf7385fd6d0c760e3c1966031fffa8cda2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3eedfc307afa7e6ba67925b478e38dcf7385fd6d0c760e3c1966031fffa8cda2", kill_on_drop: false }` [INFO] [stdout] 3eedfc307afa7e6ba67925b478e38dcf7385fd6d0c760e3c1966031fffa8cda2