[INFO] fetching crate nrf-smartled 0.4.0... [INFO] checking nrf-smartled-0.4.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate nrf-smartled 0.4.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate nrf-smartled 0.4.0 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nrf-smartled 0.4.0 [INFO] finished tweaking crates.io crate nrf-smartled 0.4.0 [INFO] tweaked toml for crates.io crate nrf-smartled 0.4.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d31081ba50adea07bfcf01eb988597d9f21a1017e8eaab76696db02aa03e484 [INFO] running `Command { std: "docker" "start" "-a" "4d31081ba50adea07bfcf01eb988597d9f21a1017e8eaab76696db02aa03e484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d31081ba50adea07bfcf01eb988597d9f21a1017e8eaab76696db02aa03e484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d31081ba50adea07bfcf01eb988597d9f21a1017e8eaab76696db02aa03e484", kill_on_drop: false }` [INFO] [stdout] 4d31081ba50adea07bfcf01eb988597d9f21a1017e8eaab76696db02aa03e484 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a15eeb8627bc2ec3ed5292b6bdd6fed9e44fbe4436136f39a67135cc25d1738 [INFO] running `Command { std: "docker" "start" "-a" "6a15eeb8627bc2ec3ed5292b6bdd6fed9e44fbe4436136f39a67135cc25d1738", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Checking rgb v0.8.27 [INFO] [stderr] Checking smart-leds-trait v0.2.1 [INFO] [stderr] Checking nrf-smartled v0.4.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [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[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[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[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[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[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[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[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[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| unsafe { 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[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[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 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nrf-smartled` due to 36 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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[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[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[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[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[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[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[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[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| unsafe { 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[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[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 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "6a15eeb8627bc2ec3ed5292b6bdd6fed9e44fbe4436136f39a67135cc25d1738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a15eeb8627bc2ec3ed5292b6bdd6fed9e44fbe4436136f39a67135cc25d1738", kill_on_drop: false }` [INFO] [stdout] 6a15eeb8627bc2ec3ed5292b6bdd6fed9e44fbe4436136f39a67135cc25d1738