[INFO] fetching crate stm32l0x1-hal 0.9.0... [INFO] testing stm32l0x1-hal-0.9.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate stm32l0x1-hal 0.9.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate stm32l0x1-hal 0.9.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2/source/.cargo/config [INFO] started tweaking crates.io crate stm32l0x1-hal 0.9.0 [INFO] finished tweaking crates.io crate stm32l0x1-hal 0.9.0 [INFO] tweaked toml for crates.io crate stm32l0x1-hal 0.9.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc5e6fe94e6e438e1b1e73f87d46802801eb5f24df98be578c2f6c502445e219 [INFO] running `Command { std: "docker" "start" "-a" "dc5e6fe94e6e438e1b1e73f87d46802801eb5f24df98be578c2f6c502445e219", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc5e6fe94e6e438e1b1e73f87d46802801eb5f24df98be578c2f6c502445e219", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc5e6fe94e6e438e1b1e73f87d46802801eb5f24df98be578c2f6c502445e219", kill_on_drop: false }` [INFO] [stdout] dc5e6fe94e6e438e1b1e73f87d46802801eb5f24df98be578c2f6c502445e219 [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0631e2df9c1b7fd36a957c0fa799c4986ec83afa4561e88340fe5c2ea322a11a [INFO] running `Command { std: "docker" "start" "-a" "0631e2df9c1b7fd36a957c0fa799c4986ec83afa4561e88340fe5c2ea322a11a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling cortex-m v0.7.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling cortex-m-rt v0.6.14 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling stm32l0 v0.11.0 [INFO] [stderr] Compiling flash-embedded-hal v0.1.2 [INFO] [stderr] Compiling volatile-register v0.2.0 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v1.0.0-alpha.4 [INFO] [stderr] Compiling embedded-hal v0.2.5 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling as-slice v0.1.5 [INFO] [stderr] Compiling cast v0.2.6 [INFO] [stderr] Compiling aligned v0.3.4 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling stm32l0x1-hal v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0438]: const `CHANNEL` is not a member of trait `Channel` [INFO] [stdout] --> src/adc.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | const CHANNEL: u8 = $i; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `Channel` [INFO] [stdout] ... [INFO] [stdout] 208 | adc_pin!(PA0, 0); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `adc_pin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0438]: const `CHANNEL` is not a member of trait `Channel` [INFO] [stdout] --> src/adc.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | const CHANNEL: u8 = $i; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `Channel` [INFO] [stdout] ... [INFO] [stdout] 209 | adc_pin!(PA1, 1); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `adc_pin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0438]: const `CHANNEL` is not a member of trait `Channel` [INFO] [stdout] --> src/adc.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | const CHANNEL: u8 = $i; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `Channel` [INFO] [stdout] ... [INFO] [stdout] 210 | adc_pin!(PA2, 2); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `adc_pin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0438]: const `CHANNEL` is not a member of trait `Channel` [INFO] [stdout] --> src/adc.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | const CHANNEL: u8 = $i; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `Channel` [INFO] [stdout] ... [INFO] [stdout] 211 | adc_pin!(PA3, 3); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `adc_pin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0438]: const `CHANNEL` is not a member of trait `Channel` [INFO] [stdout] --> src/adc.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | const CHANNEL: u8 = $i; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `Channel` [INFO] [stdout] ... [INFO] [stdout] 212 | adc_pin!(PA4, 4); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `adc_pin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0438]: const `CHANNEL` is not a member of trait `Channel` [INFO] [stdout] --> src/adc.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | const CHANNEL: u8 = $i; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `Channel` [INFO] [stdout] ... [INFO] [stdout] 213 | adc_pin!(PA5, 5); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `adc_pin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0438]: const `CHANNEL` is not a member of trait `Channel` [INFO] [stdout] --> src/adc.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | const CHANNEL: u8 = $i; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `Channel` [INFO] [stdout] ... [INFO] [stdout] 214 | adc_pin!(PA6, 6); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `adc_pin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0438]: const `CHANNEL` is not a member of trait `Channel` [INFO] [stdout] --> src/adc.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | const CHANNEL: u8 = $i; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `Channel` [INFO] [stdout] ... [INFO] [stdout] 215 | adc_pin!(PA7, 7); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `adc_pin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0438]: const `CHANNEL` is not a member of trait `Channel` [INFO] [stdout] --> src/adc.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | const CHANNEL: u8 = $i; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `Channel` [INFO] [stdout] ... [INFO] [stdout] 216 | adc_pin!(PB0, 8); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `adc_pin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0438]: const `CHANNEL` is not a member of trait `Channel` [INFO] [stdout] --> src/adc.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | const CHANNEL: u8 = $i; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `Channel` [INFO] [stdout] ... [INFO] [stdout] 217 | adc_pin!(PB1, 9); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `adc_pin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `channel` [INFO] [stdout] --> src/adc.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | / impl Channel> for $PXi [INFO] [stdout] 198 | | where [INFO] [stdout] 199 | | MODE: RunMode, [INFO] [stdout] 200 | | RES: Resolution, [INFO] [stdout] ... | [INFO] [stdout] 203 | | const CHANNEL: u8 = $i; [INFO] [stdout] 204 | | } [INFO] [stdout] | |_________^ missing `channel` in implementation [INFO] [stdout] ... [INFO] [stdout] 208 | adc_pin!(PA0, 0); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `adc_pin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] = help: implement the missing item: `fn channel(&self) -> >::ID { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `channel` [INFO] [stdout] --> src/adc.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | / impl Channel> for $PXi [INFO] [stdout] 198 | | where [INFO] [stdout] 199 | | MODE: RunMode, [INFO] [stdout] 200 | | RES: Resolution, [INFO] [stdout] ... | [INFO] [stdout] 203 | | const CHANNEL: u8 = $i; [INFO] [stdout] 204 | | } [INFO] [stdout] | |_________^ missing `channel` in implementation [INFO] [stdout] ... [INFO] [stdout] 209 | adc_pin!(PA1, 1); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `adc_pin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] = help: implement the missing item: `fn channel(&self) -> >::ID { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `channel` [INFO] [stdout] --> src/adc.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | / impl Channel> for $PXi [INFO] [stdout] 198 | | where [INFO] [stdout] 199 | | MODE: RunMode, [INFO] [stdout] 200 | | RES: Resolution, [INFO] [stdout] ... | [INFO] [stdout] 203 | | const CHANNEL: u8 = $i; [INFO] [stdout] 204 | | } [INFO] [stdout] | |_________^ missing `channel` in implementation [INFO] [stdout] ... [INFO] [stdout] 210 | adc_pin!(PA2, 2); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `adc_pin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] = help: implement the missing item: `fn channel(&self) -> >::ID { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `channel` [INFO] [stdout] --> src/adc.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | / impl Channel> for $PXi [INFO] [stdout] 198 | | where [INFO] [stdout] 199 | | MODE: RunMode, [INFO] [stdout] 200 | | RES: Resolution, [INFO] [stdout] ... | [INFO] [stdout] 203 | | const CHANNEL: u8 = $i; [INFO] [stdout] 204 | | } [INFO] [stdout] | |_________^ missing `channel` in implementation [INFO] [stdout] ... [INFO] [stdout] 211 | adc_pin!(PA3, 3); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `adc_pin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] = help: implement the missing item: `fn channel(&self) -> >::ID { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `channel` [INFO] [stdout] --> src/adc.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | / impl Channel> for $PXi [INFO] [stdout] 198 | | where [INFO] [stdout] 199 | | MODE: RunMode, [INFO] [stdout] 200 | | RES: Resolution, [INFO] [stdout] ... | [INFO] [stdout] 203 | | const CHANNEL: u8 = $i; [INFO] [stdout] 204 | | } [INFO] [stdout] | |_________^ missing `channel` in implementation [INFO] [stdout] ... [INFO] [stdout] 212 | adc_pin!(PA4, 4); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `adc_pin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] = help: implement the missing item: `fn channel(&self) -> >::ID { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `channel` [INFO] [stdout] --> src/adc.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | / impl Channel> for $PXi [INFO] [stdout] 198 | | where [INFO] [stdout] 199 | | MODE: RunMode, [INFO] [stdout] 200 | | RES: Resolution, [INFO] [stdout] ... | [INFO] [stdout] 203 | | const CHANNEL: u8 = $i; [INFO] [stdout] 204 | | } [INFO] [stdout] | |_________^ missing `channel` in implementation [INFO] [stdout] ... [INFO] [stdout] 213 | adc_pin!(PA5, 5); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `adc_pin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] = help: implement the missing item: `fn channel(&self) -> >::ID { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `channel` [INFO] [stdout] --> src/adc.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | / impl Channel> for $PXi [INFO] [stdout] 198 | | where [INFO] [stdout] 199 | | MODE: RunMode, [INFO] [stdout] 200 | | RES: Resolution, [INFO] [stdout] ... | [INFO] [stdout] 203 | | const CHANNEL: u8 = $i; [INFO] [stdout] 204 | | } [INFO] [stdout] | |_________^ missing `channel` in implementation [INFO] [stdout] ... [INFO] [stdout] 214 | adc_pin!(PA6, 6); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `adc_pin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] = help: implement the missing item: `fn channel(&self) -> >::ID { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `channel` [INFO] [stdout] --> src/adc.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | / impl Channel> for $PXi [INFO] [stdout] 198 | | where [INFO] [stdout] 199 | | MODE: RunMode, [INFO] [stdout] 200 | | RES: Resolution, [INFO] [stdout] ... | [INFO] [stdout] 203 | | const CHANNEL: u8 = $i; [INFO] [stdout] 204 | | } [INFO] [stdout] | |_________^ missing `channel` in implementation [INFO] [stdout] ... [INFO] [stdout] 215 | adc_pin!(PA7, 7); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `adc_pin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] = help: implement the missing item: `fn channel(&self) -> >::ID { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `channel` [INFO] [stdout] --> src/adc.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | / impl Channel> for $PXi [INFO] [stdout] 198 | | where [INFO] [stdout] 199 | | MODE: RunMode, [INFO] [stdout] 200 | | RES: Resolution, [INFO] [stdout] ... | [INFO] [stdout] 203 | | const CHANNEL: u8 = $i; [INFO] [stdout] 204 | | } [INFO] [stdout] | |_________^ missing `channel` in implementation [INFO] [stdout] ... [INFO] [stdout] 216 | adc_pin!(PB0, 8); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `adc_pin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] = help: implement the missing item: `fn channel(&self) -> >::ID { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `channel` [INFO] [stdout] --> src/adc.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | / impl Channel> for $PXi [INFO] [stdout] 198 | | where [INFO] [stdout] 199 | | MODE: RunMode, [INFO] [stdout] 200 | | RES: Resolution, [INFO] [stdout] ... | [INFO] [stdout] 203 | | const CHANNEL: u8 = $i; [INFO] [stdout] 204 | | } [INFO] [stdout] | |_________^ missing `channel` in implementation [INFO] [stdout] ... [INFO] [stdout] 217 | adc_pin!(PB1, 9); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `adc_pin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] = help: implement the missing item: `fn channel(&self) -> >::ID { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `CHANNEL` found for type parameter `PIN` in the current scope [INFO] [stdout] --> src/adc.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | let chan = 1 << PIN::CHANNEL; [INFO] [stdout] | ^^^^^^^ associated item not found in `PIN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `CHANNEL` found for type parameter `PIN` in the current scope [INFO] [stdout] --> src/adc.rs:297:58 [INFO] [stdout] | [INFO] [stdout] 297 | .write(|w| unsafe { w.bits(1 << PIN::CHANNEL) }); [INFO] [stdout] | ^^^^^^^ associated item not found in `PIN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0438, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32l0x1-hal` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "0631e2df9c1b7fd36a957c0fa799c4986ec83afa4561e88340fe5c2ea322a11a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0631e2df9c1b7fd36a957c0fa799c4986ec83afa4561e88340fe5c2ea322a11a", kill_on_drop: false }` [INFO] [stdout] 0631e2df9c1b7fd36a957c0fa799c4986ec83afa4561e88340fe5c2ea322a11a