[INFO] fetching crate nrf-hal 0.1.0... [INFO] testing nrf-hal-0.1.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate nrf-hal 0.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate nrf-hal 0.1.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nrf-hal 0.1.0 [INFO] finished tweaking crates.io crate nrf-hal 0.1.0 [INFO] tweaked toml for crates.io crate nrf-hal 0.1.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nrf52833-pac v0.10.1 [INFO] [stderr] Downloaded nrf52811-pac v0.10.1 [INFO] [stderr] Downloaded nrf5340-app-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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19946f436d13f7121aba786dcf94bd8b5bb2d4ddf257786669d29e39e5af5c07 [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" "19946f436d13f7121aba786dcf94bd8b5bb2d4ddf257786669d29e39e5af5c07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19946f436d13f7121aba786dcf94bd8b5bb2d4ddf257786669d29e39e5af5c07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19946f436d13f7121aba786dcf94bd8b5bb2d4ddf257786669d29e39e5af5c07", kill_on_drop: false }` [INFO] [stdout] 19946f436d13f7121aba786dcf94bd8b5bb2d4ddf257786669d29e39e5af5c07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38eae34d8f1a9729d960563784b1b0223ad98ba69e76575e270a3967cbc9bc60 [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" "38eae34d8f1a9729d960563784b1b0223ad98ba69e76575e270a3967cbc9bc60", kill_on_drop: false }` [INFO] [stderr] Compiling az v1.2.0 [INFO] [stderr] Compiling fixed v1.14.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling embedded-storage v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling embedded-dma v0.1.2 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling nrf-hal v0.1.0 (/opt/rustwide/workdir) [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[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/gpio.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | 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:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | 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[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/gpiote.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | 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:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | 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:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | crate::pac::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/rtc.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::pac::{rtc0, Interrupt, RTC0, RTC1}; [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/spim.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::pac::{spim0, SPIM0}; [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/timer.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::pac::{ [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::target_constants::EASY_DMA_SIZE` [INFO] [stdout] --> src/spim.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::target_constants::{EASY_DMA_SIZE, FORCE_COPY_BUFFER_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^^^ no `EASY_DMA_SIZE` in `target_constants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/timer.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::pac::{ [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/timer.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::pac::timer3::{ [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/timer.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::pac::{TIMER3, TIMER4}; [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:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | 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`, `spim0::frequency::FREQUENCY_A`, `twim0::frequency::FREQUENCY_A` [INFO] [stdout] --> src/spim.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use spim0::frequency::FREQUENCY_A as SpimFreq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/twim.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | target_constants::{EASY_DMA_SIZE, FORCE_COPY_BUFFER_SIZE}, [INFO] [stdout] | ^^^^^^^^^^^^^ no `EASY_DMA_SIZE` in `target_constants` [INFO] [stdout] ... [INFO] [stdout] 41 | pub use twim0::frequency::FREQUENCY_A as TwimFreq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EVENTS_IN` in this scope [INFO] [stdout] --> src/gpiote.rs:130:29 [INFO] [stdout] | [INFO] [stdout] 130 | 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:135:32 [INFO] [stdout] | [INFO] [stdout] 135 | 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:140:32 [INFO] [stdout] | [INFO] [stdout] 140 | 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:145:32 [INFO] [stdout] | [INFO] [stdout] 145 | 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:176:29 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn event(&self) -> &EVENTS_PORT { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SpimFreq` in this scope [INFO] [stdout] --> src/spim.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | frequency: SpimFreq, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RegBlock0` in this scope [INFO] [stdout] --> src/timer.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 89 | R: Deref, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TwimFreq` in this scope [INFO] [stdout] --> src/twim.rs:59:58 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn new(twim: T, scl: &Pin, sda: &Pin, frequency: TwimFreq) -> 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:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | 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] warning: unused import: `slice_in_ram` [INFO] [stdout] --> src/spim.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::{slice_in_ram, slice_in_ram_or, DmaSlice}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `prescaler` on type `T` [INFO] [stdout] --> src/rtc.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 50 | unsafe { rtc.prescaler.write(|w| w.bits(prescaler)) }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `tasks_start` on type `T` [INFO] [stdout] --> src/rtc.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 58 | self.periph.tasks_start.write(|w| w.bits(1)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `tasks_stop` on type `T` [INFO] [stdout] --> src/rtc.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 65 | self.periph.tasks_stop.write(|w| w.bits(1)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `intenset` on type `T` [INFO] [stdout] --> src/rtc.rs:72:47 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 72 | RtcInterrupt::Tick => self.periph.intenset.write(|w| w.tick().set()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `intenset` on type `T` [INFO] [stdout] --> src/rtc.rs:73:51 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 73 | RtcInterrupt::Overflow => self.periph.intenset.write(|w| w.ovrflw().set()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `intenset` on type `T` [INFO] [stdout] --> src/rtc.rs:74:51 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 74 | RtcInterrupt::Compare0 => self.periph.intenset.write(|w| w.compare0().set()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `intenset` on type `T` [INFO] [stdout] --> src/rtc.rs:75:51 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 75 | RtcInterrupt::Compare1 => self.periph.intenset.write(|w| w.compare1().set()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `intenset` on type `T` [INFO] [stdout] --> src/rtc.rs:76:51 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 76 | RtcInterrupt::Compare2 => self.periph.intenset.write(|w| w.compare2().set()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `intenset` on type `T` [INFO] [stdout] --> src/rtc.rs:77:51 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 77 | RtcInterrupt::Compare3 => self.periph.intenset.write(|w| w.compare3().set()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `intenclr` on type `T` [INFO] [stdout] --> src/rtc.rs:84:47 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 84 | RtcInterrupt::Tick => self.periph.intenclr.write(|w| w.tick().clear()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `intenclr` on type `T` [INFO] [stdout] --> src/rtc.rs:85:51 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 85 | RtcInterrupt::Overflow => self.periph.intenclr.write(|w| w.ovrflw().clear()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `intenclr` on type `T` [INFO] [stdout] --> src/rtc.rs:86:51 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 86 | RtcInterrupt::Compare0 => self.periph.intenclr.write(|w| w.compare0().clear()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `intenclr` on type `T` [INFO] [stdout] --> src/rtc.rs:87:51 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 87 | RtcInterrupt::Compare1 => self.periph.intenclr.write(|w| w.compare1().clear()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `intenclr` on type `T` [INFO] [stdout] --> src/rtc.rs:88:51 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 88 | RtcInterrupt::Compare2 => self.periph.intenclr.write(|w| w.compare2().clear()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `intenclr` on type `T` [INFO] [stdout] --> src/rtc.rs:89:51 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 89 | RtcInterrupt::Compare3 => self.periph.intenclr.write(|w| w.compare3().clear()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `evtenset` on type `T` [INFO] [stdout] --> src/rtc.rs:96:47 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 96 | RtcInterrupt::Tick => self.periph.evtenset.write(|w| w.tick().set()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `evtenset` on type `T` [INFO] [stdout] --> src/rtc.rs:97:51 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 97 | RtcInterrupt::Overflow => self.periph.evtenset.write(|w| w.ovrflw().set()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `evtenset` on type `T` [INFO] [stdout] --> src/rtc.rs:98:51 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 98 | RtcInterrupt::Compare0 => self.periph.evtenset.write(|w| w.compare0().set()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `evtenset` on type `T` [INFO] [stdout] --> src/rtc.rs:99:51 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 99 | RtcInterrupt::Compare1 => self.periph.evtenset.write(|w| w.compare1().set()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `evtenset` on type `T` [INFO] [stdout] --> src/rtc.rs:100:51 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 100 | RtcInterrupt::Compare2 => self.periph.evtenset.write(|w| w.compare2().set()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `evtenset` on type `T` [INFO] [stdout] --> src/rtc.rs:101:51 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 101 | RtcInterrupt::Compare3 => self.periph.evtenset.write(|w| w.compare3().set()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `evtenclr` on type `T` [INFO] [stdout] --> src/rtc.rs:108:47 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 108 | RtcInterrupt::Tick => self.periph.evtenclr.write(|w| w.tick().clear()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `evtenclr` on type `T` [INFO] [stdout] --> src/rtc.rs:109:51 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 109 | RtcInterrupt::Overflow => self.periph.evtenclr.write(|w| w.ovrflw().clear()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `evtenclr` on type `T` [INFO] [stdout] --> src/rtc.rs:110:51 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 110 | RtcInterrupt::Compare0 => self.periph.evtenclr.write(|w| w.compare0().clear()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `evtenclr` on type `T` [INFO] [stdout] --> src/rtc.rs:111:51 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 111 | RtcInterrupt::Compare1 => self.periph.evtenclr.write(|w| w.compare1().clear()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `evtenclr` on type `T` [INFO] [stdout] --> src/rtc.rs:112:51 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 112 | RtcInterrupt::Compare2 => self.periph.evtenclr.write(|w| w.compare2().clear()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `evtenclr` on type `T` [INFO] [stdout] --> src/rtc.rs:113:51 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 113 | RtcInterrupt::Compare3 => self.periph.evtenclr.write(|w| w.compare3().clear()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_tick` on type `T` [INFO] [stdout] --> src/rtc.rs:120:47 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 120 | RtcInterrupt::Tick => self.periph.events_tick.read().bits(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_ovrflw` on type `T` [INFO] [stdout] --> src/rtc.rs:121:51 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 121 | RtcInterrupt::Overflow => self.periph.events_ovrflw.read().bits(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_compare` on type `T` [INFO] [stdout] --> src/rtc.rs:122:51 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 122 | RtcInterrupt::Compare0 => self.periph.events_compare[0].read().bits(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_compare` on type `T` [INFO] [stdout] --> src/rtc.rs:123:51 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 123 | RtcInterrupt::Compare1 => self.periph.events_compare[1].read().bits(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_compare` on type `T` [INFO] [stdout] --> src/rtc.rs:124:51 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 124 | RtcInterrupt::Compare2 => self.periph.events_compare[2].read().bits(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_compare` on type `T` [INFO] [stdout] --> src/rtc.rs:125:51 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 125 | RtcInterrupt::Compare3 => self.periph.events_compare[3].read().bits(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_tick` on type `T` [INFO] [stdout] --> src/rtc.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 134 | self.periph.events_tick.write(|w| unsafe { w.bits(0) }); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_ovrflw` on type `T` [INFO] [stdout] --> src/rtc.rs:137:29 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 137 | self.periph.events_ovrflw.write(|w| unsafe { w.bits(0) }); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_compare` on type `T` [INFO] [stdout] --> src/rtc.rs:140:29 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 140 | self.periph.events_compare[0].write(|w| unsafe { w.bits(0) }); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_compare` on type `T` [INFO] [stdout] --> src/rtc.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 143 | self.periph.events_compare[1].write(|w| unsafe { w.bits(0) }); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_compare` on type `T` [INFO] [stdout] --> src/rtc.rs:146:29 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 146 | self.periph.events_compare[2].write(|w| unsafe { w.bits(0) }); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_compare` on type `T` [INFO] [stdout] --> src/rtc.rs:149:29 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 149 | self.periph.events_compare[3].write(|w| unsafe { w.bits(0) }); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cc` on type `T` [INFO] [stdout] --> src/rtc.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 169 | self.periph.cc[reg].write(|w| w.bits(val)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `counter` on type `T` [INFO] [stdout] --> src/rtc.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 177 | self.periph.counter.read().bits() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `tasks_clear` on type `T` [INFO] [stdout] --> src/rtc.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 183 | self.periph.tasks_clear.write(|w| w.bits(1)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `tasks_trigovrflw` on type `T` [INFO] [stdout] --> src/rtc.rs:191:25 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rtc [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 191 | self.periph.tasks_trigovrflw.write(|w| w.bits(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/spim.rs:162:14 [INFO] [stdout] | [INFO] [stdout] 162 | self.do_spi_dma_transfer(DmaSlice::from_slice(chunk), DmaSlice::null()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `do_spi_dma_transfer` found for mutable reference `&mut Spim` in the current scope [INFO] [stdout] --> src/spim.rs:162:14 [INFO] [stdout] | [INFO] [stdout] 162 | self.do_spi_dma_transfer(DmaSlice::from_slice(chunk), DmaSlice::null()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method not found in `&mut Spim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/spim.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | buf[..chunk.len()].copy_from_slice(chunk); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for reference `&[u8]` in the current scope [INFO] [stdout] --> src/spim.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | buf[..chunk.len()].copy_from_slice(chunk); [INFO] [stdout] | ^^^ method not found in `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `copy_from_slice` found for slice `[u8]` in the current scope [INFO] [stdout] --> src/spim.rs:167:28 [INFO] [stdout] | [INFO] [stdout] 167 | buf[..chunk.len()].copy_from_slice(chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `do_spi_dma_transfer` found for mutable reference `&mut Spim` in the current scope [INFO] [stdout] --> src/spim.rs:169:14 [INFO] [stdout] | [INFO] [stdout] 169 | self.do_spi_dma_transfer(DmaSlice::from_slice(&buf[..chunk.len()]), DmaSlice::null()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method not found in `&mut Spim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for reference `&[u8]` in the current scope [INFO] [stdout] --> src/spim.rs:169:68 [INFO] [stdout] | [INFO] [stdout] 169 | self.do_spi_dma_transfer(DmaSlice::from_slice(&buf[..chunk.len()]), DmaSlice::null()) [INFO] [stdout] | ^^^ method not found in `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `psel` on type `T` [INFO] [stdout] --> src/spim.rs:186:14 [INFO] [stdout] | [INFO] [stdout] 157 | impl Spim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 186 | spim.psel.sck.write(|w| unsafe { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `psel` on type `T` [INFO] [stdout] --> src/spim.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 157 | impl Spim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 193 | spim.psel.mosi.write(|w| unsafe { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `psel` on type `T` [INFO] [stdout] --> src/spim.rs:200:14 [INFO] [stdout] | [INFO] [stdout] 157 | impl Spim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 200 | spim.psel.miso.write(|w| unsafe { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `enable` on type `T` [INFO] [stdout] --> src/spim.rs:208:14 [INFO] [stdout] | [INFO] [stdout] 157 | impl Spim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 208 | spim.enable.write(|w| w.enable().enabled()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `config` on type `T` [INFO] [stdout] --> src/spim.rs:211:14 [INFO] [stdout] | [INFO] [stdout] 157 | impl Spim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 211 | spim.config.write(|w| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `frequency` on type `T` [INFO] [stdout] --> src/spim.rs:234:14 [INFO] [stdout] | [INFO] [stdout] 157 | impl Spim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 234 | spim.frequency.write(|w| w.frequency().variant(frequency)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `orc` on type `T` [INFO] [stdout] --> src/spim.rs:237:14 [INFO] [stdout] | [INFO] [stdout] 157 | impl Spim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 237 | spim.orc.write(|w| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `txd` on type `T` [INFO] [stdout] --> src/spim.rs:253:16 [INFO] [stdout] | [INFO] [stdout] 157 | impl Spim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 253 | self.0.txd.ptr.write(|w| unsafe { w.ptr().bits(tx.ptr) }); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `txd` on type `T` [INFO] [stdout] --> src/spim.rs:255:16 [INFO] [stdout] | [INFO] [stdout] 157 | impl Spim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 255 | self.0.txd.maxcnt.write(|w| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `rxd` on type `T` [INFO] [stdout] --> src/spim.rs:263:16 [INFO] [stdout] | [INFO] [stdout] 157 | impl Spim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 263 | self.0.rxd.ptr.write(|w| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `rxd` on type `T` [INFO] [stdout] --> src/spim.rs:267:16 [INFO] [stdout] | [INFO] [stdout] 157 | impl Spim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 267 | self.0.rxd.maxcnt.write(|w| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `tasks_start` on type `T` [INFO] [stdout] --> src/spim.rs:273:16 [INFO] [stdout] | [INFO] [stdout] 157 | impl Spim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 273 | self.0.tasks_start.write(|w| [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_end` on type `T` [INFO] [stdout] --> src/spim.rs:286:22 [INFO] [stdout] | [INFO] [stdout] 157 | impl Spim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 286 | while self.0.events_end.read().bits() == 0 {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_end` on type `T` [INFO] [stdout] --> src/spim.rs:289:16 [INFO] [stdout] | [INFO] [stdout] 157 | impl Spim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 289 | self.0.events_end.write(|w| w); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `txd` on type `T` [INFO] [stdout] --> src/spim.rs:296:19 [INFO] [stdout] | [INFO] [stdout] 157 | impl Spim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 296 | if self.0.txd.amount.read().bits() != tx.len { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `rxd` on type `T` [INFO] [stdout] --> src/spim.rs:299:19 [INFO] [stdout] | [INFO] [stdout] 157 | impl Spim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 299 | if self.0.rxd.amount.read().bits() != rx.len { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/spim.rs:316:21 [INFO] [stdout] | [INFO] [stdout] 316 | chip_select.set_low(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_low` found for mutable reference `&mut gpio::Pin` in the current scope [INFO] [stdout] --> src/spim.rs:316:21 [INFO] [stdout] | [INFO] [stdout] 316 | chip_select.set_low(); [INFO] [stdout] | ^^^^^^^ method not found in `&mut gpio::Pin` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `set_low`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `cortex_m::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] candidate #2: `embedded_hal::digital::v2::OutputPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chunks` found for mutable reference `&mut [u8]` in the current scope [INFO] [stdout] --> src/spim.rs:319:26 [INFO] [stdout] | [INFO] [stdout] 319 | let res = buffer.chunks(EASY_DMA_SIZE).try_for_each(|chunk| { [INFO] [stdout] | ^^^^^^ method not found in `&mut [u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `do_spi_dma_transfer` found for mutable reference `&mut Spim` in the current scope [INFO] [stdout] --> src/spim.rs:320:18 [INFO] [stdout] | [INFO] [stdout] 320 | self.do_spi_dma_transfer(DmaSlice::from_slice(chunk), DmaSlice::from_slice(chunk)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method not found in `&mut Spim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_high` found for mutable reference `&mut gpio::Pin` in the current scope [INFO] [stdout] --> src/spim.rs:323:21 [INFO] [stdout] | [INFO] [stdout] 323 | chip_select.set_high(); [INFO] [stdout] | ^^^^^^^^ method not found in `&mut gpio::Pin` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `set_high`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `cortex_m::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] candidate #2: `embedded_hal::digital::v2::OutputPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/spim.rs:349:29 [INFO] [stdout] | [INFO] [stdout] 349 | let txi = tx_buffer.chunks(EASY_DMA_SIZE); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chunks` found for reference `&[u8]` in the current scope [INFO] [stdout] --> src/spim.rs:349:29 [INFO] [stdout] | [INFO] [stdout] 349 | let txi = tx_buffer.chunks(EASY_DMA_SIZE); [INFO] [stdout] | ^^^^^^ method not found in `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chunks_mut` found for mutable reference `&mut [u8]` in the current scope [INFO] [stdout] --> src/spim.rs:350:29 [INFO] [stdout] | [INFO] [stdout] 350 | let rxi = rx_buffer.chunks_mut(EASY_DMA_SIZE); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&mut [u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_low` found for mutable reference `&mut gpio::Pin` in the current scope [INFO] [stdout] --> src/spim.rs:352:21 [INFO] [stdout] | [INFO] [stdout] 352 | chip_select.set_low(); [INFO] [stdout] | ^^^^^^^ method not found in `&mut gpio::Pin` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `set_low`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `cortex_m::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] candidate #2: `embedded_hal::digital::v2::OutputPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `do_spi_dma_transfer` found for mutable reference `&mut Spim` in the current scope [INFO] [stdout] --> src/spim.rs:356:18 [INFO] [stdout] | [INFO] [stdout] 356 | self.do_spi_dma_transfer(DmaSlice::from_slice(t), DmaSlice::from_slice(r)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method not found in `&mut Spim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_high` found for mutable reference `&mut gpio::Pin` in the current scope [INFO] [stdout] --> src/spim.rs:359:21 [INFO] [stdout] | [INFO] [stdout] 359 | chip_select.set_high(); [INFO] [stdout] | ^^^^^^^^ method not found in `&mut gpio::Pin` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `set_high`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `cortex_m::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] candidate #2: `embedded_hal::digital::v2::OutputPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/spim.rs:392:14 [INFO] [stdout] | [INFO] [stdout] 392 | .chunks(EASY_DMA_SIZE) [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chunks` found for reference `&[u8]` in the current scope [INFO] [stdout] --> src/spim.rs:392:14 [INFO] [stdout] | [INFO] [stdout] 392 | .chunks(EASY_DMA_SIZE) [INFO] [stdout] | ^^^^^^ method not found in `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chunks_mut` found for mutable reference `&mut [u8]` in the current scope [INFO] [stdout] --> src/spim.rs:397:14 [INFO] [stdout] | [INFO] [stdout] 397 | .chunks_mut(EASY_DMA_SIZE) [INFO] [stdout] | ^^^^^^^^^^ method not found in `&mut [u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_low` found for mutable reference `&mut gpio::Pin` in the current scope [INFO] [stdout] --> src/spim.rs:401:21 [INFO] [stdout] | [INFO] [stdout] 401 | chip_select.set_low(); [INFO] [stdout] | ^^^^^^^ method not found in `&mut gpio::Pin` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `set_low`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `cortex_m::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] candidate #2: `embedded_hal::digital::v2::OutputPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `do_spi_dma_transfer` found for mutable reference `&mut Spim` in the current scope [INFO] [stdout] --> src/spim.rs:420:41 [INFO] [stdout] | [INFO] [stdout] 420 | .try_for_each(|(t, r)| self.do_spi_dma_transfer(t, r)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method not found in `&mut Spim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_high` found for mutable reference `&mut gpio::Pin` in the current scope [INFO] [stdout] --> src/spim.rs:422:21 [INFO] [stdout] | [INFO] [stdout] 422 | chip_select.set_high(); [INFO] [stdout] | ^^^^^^^^ method not found in `&mut gpio::Pin` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `set_high`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `cortex_m::prelude::_embedded_hal_digital_OutputPin` [INFO] [stdout] candidate #2: `embedded_hal::digital::v2::OutputPin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/spim.rs:434:14 [INFO] [stdout] | [INFO] [stdout] 434 | self.transfer_split_uneven(chip_select, tx_buffer, &mut [0u8; 0]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `transfer_split_uneven` found for mutable reference `&mut Spim` in the current scope [INFO] [stdout] --> src/spim.rs:434:14 [INFO] [stdout] | [INFO] [stdout] 434 | self.transfer_split_uneven(chip_select, tx_buffer, &mut [0u8; 0]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Spim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `mode` on type `R` [INFO] [stdout] --> src/timer.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 87 | impl Timer [INFO] [stdout] | - type parameter 'R' declared here [INFO] [stdout] ... [INFO] [stdout] 93 | regs.mode.write(|w| unsafe { w.bits(mode as u8 as u32) }); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bit_mode` found for struct `Timer` in the current scope [INFO] [stdout] --> src/timer.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Timer { [INFO] [stdout] | ------------------- method `bit_mode` not found for this [INFO] [stdout] ... [INFO] [stdout] 95 | result.bit_mode(TimerBitMode::B32); [INFO] [stdout] | ^^^^^^^^ method not found in `Timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_freq` found for struct `Timer` in the current scope [INFO] [stdout] --> src/timer.rs:97:16 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Timer { [INFO] [stdout] | ------------------- method `set_freq` not found for this [INFO] [stdout] ... [INFO] [stdout] 97 | result.set_freq(freq, compare_num); [INFO] [stdout] | ^^^^^^^^ method not found in `Timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `bitmode` on type `R` [INFO] [stdout] --> src/timer.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 87 | impl Timer [INFO] [stdout] | - type parameter 'R' declared here [INFO] [stdout] ... [INFO] [stdout] 105 | .bitmode [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `tasks_start` on type `R` [INFO] [stdout] --> src/timer.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 87 | impl Timer [INFO] [stdout] | - type parameter 'R' declared here [INFO] [stdout] ... [INFO] [stdout] 111 | self.regs.tasks_start.write(|w| unsafe { w.bits(1) }); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `tasks_stop` on type `R` [INFO] [stdout] --> src/timer.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 87 | impl Timer [INFO] [stdout] | - type parameter 'R' declared here [INFO] [stdout] ... [INFO] [stdout] 117 | self.regs.tasks_stop.write(|w| unsafe { w.bits(1) }); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `tasks_clear` on type `R` [INFO] [stdout] --> src/timer.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 87 | impl Timer [INFO] [stdout] | - type parameter 'R' declared here [INFO] [stdout] ... [INFO] [stdout] 124 | self.regs.tasks_clear.write(|w| unsafe { w.bits(1) }); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:154:62 [INFO] [stdout] | [INFO] [stdout] 154 | let compare_val = (16_000_000 as f32 / (freq * 2_u32.pow(prescaler) as f32)) as u32; [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pow` found for type `u32` in the current scope [INFO] [stdout] --> src/timer.rs:154:62 [INFO] [stdout] | [INFO] [stdout] 154 | let compare_val = (16_000_000 as f32 / (freq * 2_u32.pow(prescaler) as f32)) as u32; [INFO] [stdout] | ^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_prescaler` found for mutable reference `&mut Timer` in the current scope [INFO] [stdout] --> src/timer.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | self.set_prescaler(prescaler); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&mut Timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_capture_compare` found for mutable reference `&mut Timer` in the current scope [INFO] [stdout] --> src/timer.rs:157:14 [INFO] [stdout] | [INFO] [stdout] 157 | self.set_capture_compare(compare_num, compare_val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method not found in `&mut Timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/timer.rs:167:14 [INFO] [stdout] | [INFO] [stdout] 167 | self.stop(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `stop` found for mutable reference `&mut Timer` in the current scope [INFO] [stdout] --> src/timer.rs:167:14 [INFO] [stdout] | [INFO] [stdout] 167 | self.stop(); [INFO] [stdout] | ^^^^ method not found in `&mut Timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `prescaler` on type `R` [INFO] [stdout] --> src/timer.rs:169:19 [INFO] [stdout] | [INFO] [stdout] 87 | impl Timer [INFO] [stdout] | - type parameter 'R' declared here [INFO] [stdout] ... [INFO] [stdout] 169 | self.regs.prescaler.write(|w| unsafe { w.bits(prescaler) }); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `intenset` on type `R` [INFO] [stdout] --> src/timer.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 87 | impl Timer [INFO] [stdout] | - type parameter 'R' declared here [INFO] [stdout] ... [INFO] [stdout] 174 | self.regs.intenset.write(|w| match compare_num { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `intenclr` on type `R` [INFO] [stdout] --> src/timer.rs:188:19 [INFO] [stdout] | [INFO] [stdout] 87 | impl Timer [INFO] [stdout] | - type parameter 'R' declared here [INFO] [stdout] ... [INFO] [stdout] 188 | self.regs.intenclr.write(|w| match compare_num { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_compare` on type `R` [INFO] [stdout] --> src/timer.rs:208:19 [INFO] [stdout] | [INFO] [stdout] 87 | impl Timer [INFO] [stdout] | - type parameter 'R' declared here [INFO] [stdout] ... [INFO] [stdout] 208 | self.regs.events_compare[compare_num].reset(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `shorts` on type `R` [INFO] [stdout] --> src/timer.rs:216:19 [INFO] [stdout] | [INFO] [stdout] 87 | impl Timer [INFO] [stdout] | - type parameter 'R' declared here [INFO] [stdout] ... [INFO] [stdout] 216 | self.regs.shorts.modify(|_, w| match compare_num { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `tasks_capture` on type `R` [INFO] [stdout] --> src/timer.rs:299:19 [INFO] [stdout] | [INFO] [stdout] 87 | impl Timer [INFO] [stdout] | - type parameter 'R' declared here [INFO] [stdout] ... [INFO] [stdout] 299 | self.regs.tasks_capture[compare_num].write(|w| unsafe { w.bits(1) }); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cc` on type `R` [INFO] [stdout] --> src/timer.rs:319:19 [INFO] [stdout] | [INFO] [stdout] 87 | impl Timer [INFO] [stdout] | - type parameter 'R' declared here [INFO] [stdout] ... [INFO] [stdout] 319 | self.regs.cc[compare_num].write(|w| unsafe { w.bits(value) }); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `psel` on type `T` [INFO] [stdout] --> src/twim.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 62 | twim.psel.scl.write(|w| unsafe { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `psel` on type `T` [INFO] [stdout] --> src/twim.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 76 | twim.psel.sda.write(|w| unsafe { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `enable` on type `T` [INFO] [stdout] --> src/twim.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 91 | twim.enable.write(|w| w.enable().enabled()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `frequency` on type `T` [INFO] [stdout] --> src/twim.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 96 | twim.frequency.write(|w| w.frequency().variant(frequency)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `enable` on type `T` [INFO] [stdout] --> src/twim.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 108 | self.0.enable.write(|w| w.enable().disabled()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `enable` on type `T` [INFO] [stdout] --> src/twim.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 113 | self.0.enable.write(|w| w.enable().enabled()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/twim.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 120 | if buffer.len() == 0 { [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for reference `&[u8]` in the current scope [INFO] [stdout] --> src/twim.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 120 | if buffer.len() == 0 { [INFO] [stdout] | ^^^ method not found in `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for reference `&[u8]` in the current scope [INFO] [stdout] --> src/twim.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | if buffer.len() > EASY_DMA_SIZE { [INFO] [stdout] | ^^^ method not found in `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `txd` on type `T` [INFO] [stdout] --> src/twim.rs:127:16 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 127 | self.0.txd.ptr.write(|w| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_ptr` found for reference `&[u8]` in the current scope [INFO] [stdout] --> src/twim.rs:134:33 [INFO] [stdout] | [INFO] [stdout] 134 | w.ptr().bits(buffer.as_ptr() as u32)); [INFO] [stdout] | ^^^^^^ method not found in `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `txd` on type `T` [INFO] [stdout] --> src/twim.rs:135:16 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 135 | self.0.txd.maxcnt.write(|w| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for reference `&[u8]` in the current scope [INFO] [stdout] --> src/twim.rs:142:36 [INFO] [stdout] | [INFO] [stdout] 142 | w.maxcnt().bits(buffer.len() as _)); [INFO] [stdout] | ^^^ method not found in `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/twim.rs:152:19 [INFO] [stdout] | [INFO] [stdout] 152 | if buffer.len() == 0 { [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for mutable reference `&mut [u8]` in the current scope [INFO] [stdout] --> src/twim.rs:152:19 [INFO] [stdout] | [INFO] [stdout] 152 | if buffer.len() == 0 { [INFO] [stdout] | ^^^ method not found in `&mut [u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for mutable reference `&mut [u8]` in the current scope [INFO] [stdout] --> src/twim.rs:155:19 [INFO] [stdout] | [INFO] [stdout] 155 | if buffer.len() > EASY_DMA_SIZE { [INFO] [stdout] | ^^^ method not found in `&mut [u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `rxd` on type `T` [INFO] [stdout] --> src/twim.rs:159:16 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 159 | self.0.rxd.ptr.write(|w| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_mut_ptr` found for mutable reference `&mut [u8]` in the current scope [INFO] [stdout] --> src/twim.rs:166:33 [INFO] [stdout] | [INFO] [stdout] 166 | w.ptr().bits(buffer.as_mut_ptr() as u32)); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&mut [u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `rxd` on type `T` [INFO] [stdout] --> src/twim.rs:167:16 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 167 | self.0.rxd.maxcnt.write(|w| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for mutable reference `&mut [u8]` in the current scope [INFO] [stdout] --> src/twim.rs:177:36 [INFO] [stdout] | [INFO] [stdout] 177 | w.maxcnt().bits(buffer.len() as _)); [INFO] [stdout] | ^^^ method not found in `&mut [u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `errorsrc` on type `T` [INFO] [stdout] --> src/twim.rs:184:14 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 184 | .errorsrc [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `errorsrc` on type `T` [INFO] [stdout] --> src/twim.rs:190:26 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 190 | let err = self.0.errorsrc.read(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_stopped` on type `T` [INFO] [stdout] --> src/twim.rs:206:23 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 206 | if self.0.events_stopped.read().bits() != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_stopped` on type `T` [INFO] [stdout] --> src/twim.rs:207:24 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 207 | self.0.events_stopped.reset(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_error` on type `T` [INFO] [stdout] --> src/twim.rs:210:23 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 210 | if self.0.events_error.read().bits() != 0 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_error` on type `T` [INFO] [stdout] --> src/twim.rs:211:24 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 211 | self.0.events_error.reset(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `tasks_stop` on type `T` [INFO] [stdout] --> src/twim.rs:213:24 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 213 | self.0.tasks_stop.write(|w| unsafe { w.bits(1) }); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `address` on type `T` [INFO] [stdout] --> src/twim.rs:229:14 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 229 | .address [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_tx_buffer` found for mutable reference `&mut Twim` in the current scope [INFO] [stdout] --> src/twim.rs:233:23 [INFO] [stdout] | [INFO] [stdout] 233 | unsafe { self.set_tx_buffer(buffer)? }; [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&mut Twim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_stopped` on type `T` [INFO] [stdout] --> src/twim.rs:236:16 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 236 | self.0.events_stopped.reset(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_error` on type `T` [INFO] [stdout] --> src/twim.rs:237:16 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 237 | self.0.events_error.reset(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_lasttx` on type `T` [INFO] [stdout] --> src/twim.rs:238:16 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 238 | self.0.events_lasttx.reset(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clear_errorsrc` found for mutable reference `&mut Twim` in the current scope [INFO] [stdout] --> src/twim.rs:239:14 [INFO] [stdout] | [INFO] [stdout] 239 | self.clear_errorsrc(); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `&mut Twim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `shorts` on type `T` [INFO] [stdout] --> src/twim.rs:242:16 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 242 | self.0.shorts.write(|w| w.lasttx_stop().enabled()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `tasks_starttx` on type `T` [INFO] [stdout] --> src/twim.rs:250:16 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 250 | self.0.tasks_starttx.write(|w| [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait` found for mutable reference `&mut Twim` in the current scope [INFO] [stdout] --> src/twim.rs:254:14 [INFO] [stdout] | [INFO] [stdout] 254 | self.wait(); [INFO] [stdout] | ^^^^ method not found in `&mut Twim` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `wait`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `cortex_m::prelude::_embedded_hal_timer_CountDown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_errorsrc` found for mutable reference `&mut Twim` in the current scope [INFO] [stdout] --> src/twim.rs:261:14 [INFO] [stdout] | [INFO] [stdout] 261 | self.read_errorsrc()?; [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&mut Twim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `txd` on type `T` [INFO] [stdout] --> src/twim.rs:263:19 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 263 | if self.0.txd.amount.read().bits() != buffer.len() as u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for reference `&[u8]` in the current scope [INFO] [stdout] --> src/twim.rs:263:54 [INFO] [stdout] | [INFO] [stdout] 263 | if self.0.txd.amount.read().bits() != buffer.len() as u32 { [INFO] [stdout] | ^^^ method not found in `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `address` on type `T` [INFO] [stdout] --> src/twim.rs:281:14 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 281 | .address [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_rx_buffer` found for mutable reference `&mut Twim` in the current scope [INFO] [stdout] --> src/twim.rs:285:23 [INFO] [stdout] | [INFO] [stdout] 285 | unsafe { self.set_rx_buffer(buffer)? }; [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&mut Twim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_stopped` on type `T` [INFO] [stdout] --> src/twim.rs:288:16 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 288 | self.0.events_stopped.reset(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_error` on type `T` [INFO] [stdout] --> src/twim.rs:289:16 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 289 | self.0.events_error.reset(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clear_errorsrc` found for mutable reference `&mut Twim` in the current scope [INFO] [stdout] --> src/twim.rs:290:14 [INFO] [stdout] | [INFO] [stdout] 290 | self.clear_errorsrc(); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `&mut Twim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `shorts` on type `T` [INFO] [stdout] --> src/twim.rs:293:16 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 293 | self.0.shorts.write(|w| w.lastrx_stop().enabled()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `tasks_startrx` on type `T` [INFO] [stdout] --> src/twim.rs:294:16 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 294 | self.0.tasks_startrx.write(|w| [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait` found for mutable reference `&mut Twim` in the current scope [INFO] [stdout] --> src/twim.rs:298:14 [INFO] [stdout] | [INFO] [stdout] 298 | self.wait(); [INFO] [stdout] | ^^^^ method not found in `&mut Twim` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `wait`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `cortex_m::prelude::_embedded_hal_timer_CountDown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_errorsrc` found for mutable reference `&mut Twim` in the current scope [INFO] [stdout] --> src/twim.rs:305:14 [INFO] [stdout] | [INFO] [stdout] 305 | self.read_errorsrc()?; [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&mut Twim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `rxd` on type `T` [INFO] [stdout] --> src/twim.rs:307:19 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 307 | if self.0.rxd.amount.read().bits() != buffer.len() as u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for mutable reference `&mut [u8]` in the current scope [INFO] [stdout] --> src/twim.rs:307:54 [INFO] [stdout] | [INFO] [stdout] 307 | if self.0.rxd.amount.read().bits() != buffer.len() as u32 { [INFO] [stdout] | ^^^ method not found in `&mut [u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `address` on type `T` [INFO] [stdout] --> src/twim.rs:331:14 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 331 | .address [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_tx_buffer` found for mutable reference `&mut Twim` in the current scope [INFO] [stdout] --> src/twim.rs:336:18 [INFO] [stdout] | [INFO] [stdout] 336 | self.set_tx_buffer(wr_buffer)?; [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&mut Twim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_rx_buffer` found for mutable reference `&mut Twim` in the current scope [INFO] [stdout] --> src/twim.rs:337:18 [INFO] [stdout] | [INFO] [stdout] 337 | self.set_rx_buffer(rd_buffer)?; [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&mut Twim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_stopped` on type `T` [INFO] [stdout] --> src/twim.rs:341:16 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 341 | self.0.events_stopped.reset(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_error` on type `T` [INFO] [stdout] --> src/twim.rs:342:16 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 342 | self.0.events_error.reset(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clear_errorsrc` found for mutable reference `&mut Twim` in the current scope [INFO] [stdout] --> src/twim.rs:343:14 [INFO] [stdout] | [INFO] [stdout] 343 | self.clear_errorsrc(); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `&mut Twim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `shorts` on type `T` [INFO] [stdout] --> src/twim.rs:346:16 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 346 | self.0.shorts.write(|w| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `tasks_starttx` on type `T` [INFO] [stdout] --> src/twim.rs:352:16 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 352 | self.0.tasks_starttx.write(|w| unsafe { w.bits(1) }); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait` found for mutable reference `&mut Twim` in the current scope [INFO] [stdout] --> src/twim.rs:354:14 [INFO] [stdout] | [INFO] [stdout] 354 | self.wait(); [INFO] [stdout] | ^^^^ method not found in `&mut Twim` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `wait`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `cortex_m::prelude::_embedded_hal_timer_CountDown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_errorsrc` found for mutable reference `&mut Twim` in the current scope [INFO] [stdout] --> src/twim.rs:361:14 [INFO] [stdout] | [INFO] [stdout] 361 | self.read_errorsrc()?; [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&mut Twim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `txd` on type `T` [INFO] [stdout] --> src/twim.rs:363:32 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 363 | let bad_write = self.0.txd.amount.read().bits() != wr_buffer.len() as u32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for reference `&[u8]` in the current scope [INFO] [stdout] --> src/twim.rs:363:70 [INFO] [stdout] | [INFO] [stdout] 363 | let bad_write = self.0.txd.amount.read().bits() != wr_buffer.len() as u32; [INFO] [stdout] | ^^^ method not found in `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `rxd` on type `T` [INFO] [stdout] --> src/twim.rs:364:31 [INFO] [stdout] | [INFO] [stdout] 54 | impl Twim [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 364 | let bad_read = self.0.rxd.amount.read().bits() != rd_buffer.len() as u32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for mutable reference `&mut [u8]` in the current scope [INFO] [stdout] --> src/twim.rs:364:69 [INFO] [stdout] | [INFO] [stdout] 364 | let bad_read = self.0.rxd.amount.read().bits() != rd_buffer.len() as u32; [INFO] [stdout] | ^^^ method not found in `&mut [u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/twim.rs:384:18 [INFO] [stdout] | [INFO] [stdout] 384 | self.write_then_read(addr, bytes, buffer) [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_then_read` found for mutable reference `&mut Twim` in the current scope [INFO] [stdout] --> src/twim.rs:384:18 [INFO] [stdout] | [INFO] [stdout] 384 | self.write_then_read(addr, bytes, buffer) [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `&mut Twim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `copy_write_then_read` found for mutable reference `&mut Twim` in the current scope [INFO] [stdout] --> src/twim.rs:386:18 [INFO] [stdout] | [INFO] [stdout] 386 | self.copy_write_then_read(addr, bytes, buffer) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Twim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/twim.rs:404:22 [INFO] [stdout] | [INFO] [stdout] 404 | if wr_buffer.len() > FORCE_COPY_BUFFER_SIZE { [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for reference `&[u8]` in the current scope [INFO] [stdout] --> src/twim.rs:404:22 [INFO] [stdout] | [INFO] [stdout] 404 | if wr_buffer.len() > FORCE_COPY_BUFFER_SIZE { [INFO] [stdout] | ^^^ method not found in `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for reference `&[u8]` in the current scope [INFO] [stdout] --> src/twim.rs:409:74 [INFO] [stdout] | [INFO] [stdout] 409 | let wr_ram_buffer = &mut [0; FORCE_COPY_BUFFER_SIZE][..wr_buffer.len()]; [INFO] [stdout] | ^^^ method not found in `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `copy_from_slice` found for mutable reference `&mut [{integer}]` in the current scope [INFO] [stdout] --> src/twim.rs:410:23 [INFO] [stdout] | [INFO] [stdout] 410 | wr_ram_buffer.copy_from_slice(wr_buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `&mut [{integer}]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_then_read` found for mutable reference `&mut Twim` in the current scope [INFO] [stdout] --> src/twim.rs:412:14 [INFO] [stdout] | [INFO] [stdout] 412 | self.write_then_read(address, wr_ram_buffer, rd_buffer) [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `&mut Twim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 201 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0432, E0433, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nrf-hal` due to 202 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "38eae34d8f1a9729d960563784b1b0223ad98ba69e76575e270a3967cbc9bc60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38eae34d8f1a9729d960563784b1b0223ad98ba69e76575e270a3967cbc9bc60", kill_on_drop: false }` [INFO] [stdout] 38eae34d8f1a9729d960563784b1b0223ad98ba69e76575e270a3967cbc9bc60