[INFO] fetching crate nrf-smartled 0.5.0... [INFO] testing nrf-smartled-0.5.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate nrf-smartled 0.5.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate nrf-smartled 0.5.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-smartled 0.5.0 [INFO] finished tweaking crates.io crate nrf-smartled 0.5.0 [INFO] tweaked toml for crates.io crate nrf-smartled 0.5.0 written to /workspace/builds/worker-1/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] Downloading crates ... [INFO] [stderr] Downloaded embedded-storage v0.2.0 [INFO] [stderr] Downloaded nrf52810-hal v0.14.1 [INFO] [stderr] Downloaded nrf-hal-common v0.14.1 [INFO] [stderr] Downloaded nrf52832-hal v0.14.1 [INFO] [stderr] Downloaded smart-leds-trait v0.2.1 [INFO] [stderr] Downloaded nrf52840-hal v0.14.1 [INFO] [stderr] Downloaded nrf52840-pac v0.10.1 [INFO] [stderr] Downloaded nrf52810-pac v0.10.1 [INFO] [stderr] Downloaded nrf52832-pac v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 17f8720b096124d83aaf1f9b6fc1401ca0ce55c6e8b70a3fb39a98e63f4e1a65 [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" "17f8720b096124d83aaf1f9b6fc1401ca0ce55c6e8b70a3fb39a98e63f4e1a65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17f8720b096124d83aaf1f9b6fc1401ca0ce55c6e8b70a3fb39a98e63f4e1a65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17f8720b096124d83aaf1f9b6fc1401ca0ce55c6e8b70a3fb39a98e63f4e1a65", kill_on_drop: false }` [INFO] [stdout] 17f8720b096124d83aaf1f9b6fc1401ca0ce55c6e8b70a3fb39a98e63f4e1a65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] e0570522870717544c513dd39d73e348b5156d2c2fcf6f553126e33734130358 [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" "e0570522870717544c513dd39d73e348b5156d2c2fcf6f553126e33734130358", kill_on_drop: false }` [INFO] [stderr] Compiling rgb v0.8.32 [INFO] [stderr] Compiling smart-leds-trait v0.2.1 [INFO] [stderr] Compiling nrf-smartled v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `hal` in the crate root [INFO] [stdout] --> src/pwm.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::hal::{ [INFO] [stdout] | ^^^ could not find `hal` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::hal` [INFO] [stdout] --> src/pwm.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::hal; [INFO] [stdout] | ^^^^^^^^^^ no `hal` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::hal` [INFO] [stdout] --> src/pwm.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::hal::{ [INFO] [stdout] | ^^^ could not find `hal` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Level` [INFO] [stdout] --> src/pwm.rs:66:45 [INFO] [stdout] | [INFO] [stdout] 66 | let pin = pin.into_push_pull_output(Level::Low); [INFO] [stdout] | ^^^^^ use of undeclared type `Level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `hal` in the crate root [INFO] [stdout] --> src/pwm.rs:354:47 [INFO] [stdout] | [INFO] [stdout] 354 | pub trait Instance: Deref {} [INFO] [stdout] | ^^^ could not find `hal` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pin` in this scope [INFO] [stdout] --> src/pwm.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | _gpio: Pin>, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use core::pin::Pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Output` in this scope [INFO] [stdout] --> src/pwm.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | _gpio: Pin>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PushPull` in this scope [INFO] [stdout] --> src/pwm.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Pwm { [INFO] [stdout] | - help: you might be missing a type parameter: `, PushPull` [INFO] [stdout] 56 | pwm: T, [INFO] [stdout] 57 | _gpio: Pin>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pin` in this scope [INFO] [stdout] --> src/pwm.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn new(pwm: T, pin: Pin) -> Pwm { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use core::pin::Pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `psel` on type `T` [INFO] [stdout] --> src/pwm.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 60 | impl Pwm [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 68 | pwm.psel.out[0].write(|w| { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `enable` on type `T` [INFO] [stdout] --> src/pwm.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 60 | impl Pwm [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 80 | pwm.enable.write(|w| w.enable().enabled()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `mode` on type `T` [INFO] [stdout] --> src/pwm.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 60 | impl Pwm [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 81 | pwm.mode.write(|w| w.updown().up()); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `prescaler` on type `T` [INFO] [stdout] --> src/pwm.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 60 | impl Pwm [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 82 | pwm.prescaler.write(|w| w.prescaler().div_1()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `countertop` on type `T` [INFO] [stdout] --> src/pwm.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 60 | impl Pwm [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 83 | pwm.countertop.write(|w| unsafe { w.countertop().bits(20) }); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `loop_` on type `T` [INFO] [stdout] --> src/pwm.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 60 | impl Pwm [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 84 | pwm.loop_.write(|w| w.cnt().disabled()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `decoder` on type `T` [INFO] [stdout] --> src/pwm.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 60 | impl Pwm [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 85 | pwm.decoder.write(|w| { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `seq0` on type `T` [INFO] [stdout] --> src/pwm.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 60 | impl Pwm [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 89 | pwm.seq0.refresh.write(|w| unsafe { w.bits(0) }); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `seq0` on type `T` [INFO] [stdout] --> src/pwm.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 60 | impl Pwm [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 90 | pwm.seq0.enddelay.write(|w| unsafe { w.bits(0) }); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `seq1` on type `T` [INFO] [stdout] --> src/pwm.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 60 | impl Pwm [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 91 | pwm.seq1.refresh.write(|w| unsafe { w.bits(0) }); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `seq1` on type `T` [INFO] [stdout] --> src/pwm.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 60 | impl Pwm [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 92 | pwm.seq1.enddelay.write(|w| unsafe { w.bits(0) }); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/pwm.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | if (*buf).is_empty() { [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 `is_empty` found for slice `[u16]` in the current scope [INFO] [stdout] --> src/pwm.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | if (*buf).is_empty() { [INFO] [stdout] | ^^^^^^^^ method not found in `[u16]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_ptr` found for slice `[u16]` in the current scope [INFO] [stdout] --> src/pwm.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | if (((*buf).as_ptr() as usize) < hal::target_constants::SRAM_LOWER) [INFO] [stdout] | ^^^^^^ method not found in `[u16]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_ptr` found for slice `[u16]` in the current scope [INFO] [stdout] --> src/pwm.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | || (((*buf).as_ptr() as usize) > hal::target_constants::SRAM_UPPER) [INFO] [stdout] | ^^^^^^ method not found in `[u16]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `seq0` on type `T` [INFO] [stdout] --> src/pwm.rs:117:18 [INFO] [stdout] | [INFO] [stdout] 60 | impl Pwm [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 117 | self.pwm.seq0.ptr.write(|w| w.bits((*buf).as_ptr() as u32)); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_ptr` found for slice `[u16]` in the current scope [INFO] [stdout] --> src/pwm.rs:117:51 [INFO] [stdout] | [INFO] [stdout] 117 | self.pwm.seq0.ptr.write(|w| w.bits((*buf).as_ptr() as u32)); [INFO] [stdout] | ^^^^^^ method not found in `[u16]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `seq0` on type `T` [INFO] [stdout] --> src/pwm.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 60 | impl Pwm [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 118 | self.pwm.seq0.cnt.write(|w| w.bits((*buf).len() as u32)); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for slice `[u16]` in the current scope [INFO] [stdout] --> src/pwm.rs:118:51 [INFO] [stdout] | [INFO] [stdout] 118 | self.pwm.seq0.cnt.write(|w| w.bits((*buf).len() as u32)); [INFO] [stdout] | ^^^ method not found in `[u16]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_seqend` on type `T` [INFO] [stdout] --> src/pwm.rs:119:18 [INFO] [stdout] | [INFO] [stdout] 60 | impl Pwm [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 119 | self.pwm.events_seqend[0].write(|w| w.bits(0)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `tasks_seqstart` on type `T` [INFO] [stdout] --> src/pwm.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 60 | impl Pwm [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 120 | self.pwm.tasks_seqstart[0].write(|w| w.bits(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/pwm.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | if (*buf).is_empty() { [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 `is_empty` found for slice `[u16]` in the current scope [INFO] [stdout] --> src/pwm.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | if (*buf).is_empty() { [INFO] [stdout] | ^^^^^^^^ method not found in `[u16]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_ptr` found for slice `[u16]` in the current scope [INFO] [stdout] --> src/pwm.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | if (((*buf).as_ptr() as usize) < hal::target_constants::SRAM_LOWER) [INFO] [stdout] | ^^^^^^ method not found in `[u16]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_ptr` found for slice `[u16]` in the current scope [INFO] [stdout] --> src/pwm.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | || (((*buf).as_ptr() as usize) > hal::target_constants::SRAM_UPPER) [INFO] [stdout] | ^^^^^^ method not found in `[u16]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `seq1` on type `T` [INFO] [stdout] --> src/pwm.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 60 | impl Pwm [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 143 | self.pwm.seq1.ptr.write(|w| w.bits((*buf).as_ptr() as u32)); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_ptr` found for slice `[u16]` in the current scope [INFO] [stdout] --> src/pwm.rs:143:51 [INFO] [stdout] | [INFO] [stdout] 143 | self.pwm.seq1.ptr.write(|w| w.bits((*buf).as_ptr() as u32)); [INFO] [stdout] | ^^^^^^ method not found in `[u16]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `seq1` on type `T` [INFO] [stdout] --> src/pwm.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 60 | impl Pwm [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 144 | self.pwm.seq1.cnt.write(|w| w.bits((*buf).len() as u32)); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for slice `[u16]` in the current scope [INFO] [stdout] --> src/pwm.rs:144:51 [INFO] [stdout] | [INFO] [stdout] 144 | self.pwm.seq1.cnt.write(|w| w.bits((*buf).len() as u32)); [INFO] [stdout] | ^^^ method not found in `[u16]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_seqend` on type `T` [INFO] [stdout] --> src/pwm.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 60 | impl Pwm [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 154 | self.pwm.events_seqend[0].read().bits() == 1 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/pwm.rs:164:20 [INFO] [stdout] | [INFO] [stdout] 164 | if scratch.len() < u16s_needed_slice(colors) { [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 [u16]` in the current scope [INFO] [stdout] --> src/pwm.rs:164:20 [INFO] [stdout] | [INFO] [stdout] 164 | if scratch.len() < u16s_needed_slice(colors) { [INFO] [stdout] | ^^^ method not found in `&mut [u16]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `iter` found for reference `&[RGB]` in the current scope [INFO] [stdout] --> src/pwm.rs:168:36 [INFO] [stdout] | [INFO] [stdout] 168 | for (color, buf) in colors.iter().zip(scratch.chunks_exact_mut(24)) { [INFO] [stdout] | ^^^^ method not found in `&[RGB]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chunks_exact_mut` found for mutable reference `&mut [u16]` in the current scope [INFO] [stdout] --> src/pwm.rs:168:55 [INFO] [stdout] | [INFO] [stdout] 168 | for (color, buf) in colors.iter().zip(scratch.chunks_exact_mut(24)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `&mut [u16]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for reference `&[RGB]` in the current scope [INFO] [stdout] --> src/pwm.rs:172:28 [INFO] [stdout] | [INFO] [stdout] 172 | let start = colors.len() * 24; [INFO] [stdout] | ^^^ method not found in `&[RGB]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `loop_` on type `T` [INFO] [stdout] --> src/pwm.rs:180:18 [INFO] [stdout] | [INFO] [stdout] 60 | impl Pwm [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 180 | self.pwm.loop_.write(|w| w.cnt().disabled()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `start_send_raw` found for mutable reference `&mut Pwm` in the current scope [INFO] [stdout] --> src/pwm.rs:184:18 [INFO] [stdout] | [INFO] [stdout] 184 | self.start_send_raw(&scratch[..end])?; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `&mut Pwm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_done_raw` found for mutable reference `&mut Pwm` in the current scope [INFO] [stdout] --> src/pwm.rs:186:21 [INFO] [stdout] | [INFO] [stdout] 186 | while !self.is_done_raw() {} [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&mut Pwm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/pwm.rs:225:25 [INFO] [stdout] | [INFO] [stdout] 225 | match (iterator.next(), iterator.next()) { [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 `next` found for type parameter `Iter` in the current scope [INFO] [stdout] --> src/pwm.rs:225:25 [INFO] [stdout] | [INFO] [stdout] 225 | match (iterator.next(), iterator.next()) { [INFO] [stdout] | ^^^^ method not found in `Iter` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the type parameter is bounded by the trait [INFO] [stdout] help: the following trait defines an item `next`, perhaps you need to restrict type parameter `Iter` with it: [INFO] [stdout] | [INFO] [stdout] 213 | fn write(&mut self, mut iterator: Iter) -> Result<(), ()> [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `next` found for type parameter `Iter` in the current scope [INFO] [stdout] --> src/pwm.rs:225:42 [INFO] [stdout] | [INFO] [stdout] 225 | match (iterator.next(), iterator.next()) { [INFO] [stdout] | ^^^^ method not found in `Iter` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the type parameter is bounded by the trait [INFO] [stdout] help: the following trait defines an item `next`, perhaps you need to restrict type parameter `Iter` with it: [INFO] [stdout] | [INFO] [stdout] 213 | fn write(&mut self, mut iterator: Iter) -> Result<(), ()> [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `copy_from_slice` found for array `[u16; 24]` in the current scope [INFO] [stdout] --> src/pwm.rs:234:23 [INFO] [stdout] | [INFO] [stdout] 234 | buf_b.copy_from_slice(&[0x8000u16; 24]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `[u16; 24]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `loop_` on type `T` [INFO] [stdout] --> src/pwm.rs:249:22 [INFO] [stdout] | [INFO] [stdout] 206 | impl SmartLedsWrite for Pwm [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 249 | self.pwm.loop_.write(|w| w.cnt().bits(1)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_loopsdone` on type `T` [INFO] [stdout] --> src/pwm.rs:250:22 [INFO] [stdout] | [INFO] [stdout] 206 | impl SmartLedsWrite for Pwm [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 250 | self.pwm.events_loopsdone.write(|w| w.bits(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_seq1_raw` found for mutable reference `&mut Pwm` in the current scope [INFO] [stdout] --> src/pwm.rs:251:18 [INFO] [stdout] | [INFO] [stdout] 251 | self.set_seq1_raw(&buf_b)?; [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&mut Pwm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `start_send_raw` found for mutable reference `&mut Pwm` in the current scope [INFO] [stdout] --> src/pwm.rs:252:18 [INFO] [stdout] | [INFO] [stdout] 252 | self.start_send_raw(&buf_a)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `&mut Pwm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map` found for type parameter `Iter` in the current scope [INFO] [stdout] --> src/pwm.rs:270:14 [INFO] [stdout] | [INFO] [stdout] 270 | .map(|seq| Data::Pixel(seq.into())) [INFO] [stdout] | ^^^ method not found in `Iter` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the type parameter is bounded by the trait [INFO] [stdout] help: the following traits define an item `map`, perhaps you need to restrict type parameter `Iter` with one of them: [INFO] [stdout] | [INFO] [stdout] 213 | fn write(&mut self, mut iterator: Iter) -> Result<(), ()> [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] 213 | fn write(&mut self, mut iterator: Iter) -> Result<(), ()> [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `iter` found for array `[Data; 3]` in the current scope [INFO] [stdout] --> src/pwm.rs:271:37 [INFO] [stdout] | [INFO] [stdout] 271 | .chain([Data::Blank; 3].iter().cloned()); [INFO] [stdout] | ^^^^ method not found in `[Data; 3]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_done_raw` found for mutable reference `&mut Pwm` in the current scope [INFO] [stdout] --> src/pwm.rs:281:29 [INFO] [stdout] | [INFO] [stdout] 281 | while !self.is_done_raw() {} [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&mut Pwm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `copy_from_slice` found for array `[u16; 24]` in the current scope [INFO] [stdout] --> src/pwm.rs:289:31 [INFO] [stdout] | [INFO] [stdout] 289 | buf_a.copy_from_slice(&[0x8000u16; 24]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `[u16; 24]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_loopsdone` on type `T` [INFO] [stdout] --> src/pwm.rs:311:32 [INFO] [stdout] | [INFO] [stdout] 206 | impl SmartLedsWrite for Pwm [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 311 | while self.pwm.events_loopsdone.read().bits() == 0 {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `tasks_seqstart` on type `T` [INFO] [stdout] --> src/pwm.rs:315:30 [INFO] [stdout] | [INFO] [stdout] 206 | impl SmartLedsWrite for Pwm [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 315 | self.pwm.tasks_seqstart[0].write(|w| w.bits(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_seqend` on type `T` [INFO] [stdout] --> src/pwm.rs:316:30 [INFO] [stdout] | [INFO] [stdout] 206 | impl SmartLedsWrite for Pwm [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 316 | self.pwm.events_seqend[0].write(|w| w.bits(0)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_loopsdone` on type `T` [INFO] [stdout] --> src/pwm.rs:317:30 [INFO] [stdout] | [INFO] [stdout] 206 | impl SmartLedsWrite for Pwm [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 317 | self.pwm.events_loopsdone.write(|w| w.bits(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `copy_from_slice` found for array `[u16; 24]` in the current scope [INFO] [stdout] --> src/pwm.rs:328:31 [INFO] [stdout] | [INFO] [stdout] 328 | buf_b.copy_from_slice(&[0x8000u16; 24]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `[u16; 24]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `events_loopsdone` on type `T` [INFO] [stdout] --> src/pwm.rs:343:24 [INFO] [stdout] | [INFO] [stdout] 206 | impl SmartLedsWrite for Pwm [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 343 | while self.pwm.events_loopsdone.read().bits() == 0 {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 65 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, 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-smartled` due to 66 previous errors [INFO] running `Command { std: "docker" "inspect" "e0570522870717544c513dd39d73e348b5156d2c2fcf6f553126e33734130358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0570522870717544c513dd39d73e348b5156d2c2fcf6f553126e33734130358", kill_on_drop: false }` [INFO] [stdout] e0570522870717544c513dd39d73e348b5156d2c2fcf6f553126e33734130358