[INFO] cloning repository https://github.com/sjm42/nrf-embassy-test1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sjm42/nrf-embassy-test1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsjm42%2Fnrf-embassy-test1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsjm42%2Fnrf-embassy-test1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 857993c73ecf09553612dc288d9c000f1e652f84 [INFO] checking sjm42/nrf-embassy-test1 against try#cd420d8bda33494ba3cc45048d5f067484a32b94 for pr-140209-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsjm42%2Fnrf-embassy-test1" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sjm42/nrf-embassy-test1 on toolchain cd420d8bda33494ba3cc45048d5f067484a32b94 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/sjm42/nrf-embassy-test1 [INFO] finished tweaking git repo https://github.com/sjm42/nrf-embassy-test1 [INFO] tweaked toml for git repo https://github.com/sjm42/nrf-embassy-test1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sjm42/nrf-embassy-test1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/embassy-rs/embassy.git` [INFO] [stderr] Updating git submodule `https://github.com/embassy-rs/stm32-data.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded atomic-polyfill v1.0.1 [INFO] [stderr] Downloaded static_cell v1.0.0 [INFO] [stderr] Downloaded embedded-hal-async v0.1.0-alpha.2 [INFO] [stderr] Downloaded embedded-storage-async v0.3.0 [INFO] [stderr] Downloaded embedded-hal v1.0.0-alpha.9 [INFO] [stderr] Downloaded embedded-io v0.3.0 [INFO] [stderr] Downloaded fixed v1.19.0 [INFO] [stderr] Downloaded nrf52840-pac v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a400e01fb686f80b11d6b35b9b8479c94073b18e472045572e5db9a7f5b21c04 [INFO] running `Command { std: "docker" "start" "-a" "a400e01fb686f80b11d6b35b9b8479c94073b18e472045572e5db9a7f5b21c04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a400e01fb686f80b11d6b35b9b8479c94073b18e472045572e5db9a7f5b21c04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a400e01fb686f80b11d6b35b9b8479c94073b18e472045572e5db9a7f5b21c04", kill_on_drop: false }` [INFO] [stdout] a400e01fb686f80b11d6b35b9b8479c94073b18e472045572e5db9a7f5b21c04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0545ff8afc1e57707a548c3638ddbca87f7657123c677b8fc4549dec0f4f3422 [INFO] running `Command { std: "docker" "start" "-a" "0545ff8afc1e57707a548c3638ddbca87f7657123c677b8fc4549dec0f4f3422", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Checking critical-section v1.1.1 [INFO] [stderr] Compiling semver v1.0.14 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling atomic-polyfill v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Checking futures-sink v0.3.25 [INFO] [stderr] Compiling cortex-m v0.7.6 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling defmt-macros v0.3.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling defmt-parser v0.3.1 [INFO] [stderr] Compiling defmt v0.3.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking embedded-hal v1.0.0-alpha.9 [INFO] [stderr] Compiling cortex-m-rt v0.7.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling embassy-sync v0.1.0 (https://github.com/embassy-rs/embassy.git#ce1cba76) [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stdout] error[E0635]: unknown feature `proc_macro_span_shrink` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.47/src/lib.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | feature(proc_macro_span, proc_macro_span_shrink) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking embedded-io v0.3.0 [INFO] [stderr] Compiling embassy-executor v0.1.0 (https://github.com/embassy-rs/embassy.git#ce1cba76) [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking embedded-hal-async v0.1.0-alpha.2 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stdout] error[E0658]: `impl Trait` in associated types is unstable [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-io-0.3.0/src/asynch.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | type ReadFuture<'a> = impl Future> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #63063 for more information [INFO] [stdout] = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-04-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `impl Trait` in associated types is unstable [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-io-0.3.0/src/asynch.rs:112:30 [INFO] [stdout] | [INFO] [stdout] 112 | type FillBufFuture<'a> = impl Future> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #63063 for more information [INFO] [stdout] = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-04-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `impl Trait` in associated types is unstable [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-io-0.3.0/src/asynch.rs:126:28 [INFO] [stdout] | [INFO] [stdout] 126 | type WriteFuture<'a> = impl Future> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #63063 for more information [INFO] [stdout] = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-04-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `impl Trait` in associated types is unstable [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-io-0.3.0/src/asynch.rs:135:28 [INFO] [stdout] | [INFO] [stdout] 135 | type FlushFuture<'a> = impl Future> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #63063 for more information [INFO] [stdout] = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-04-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `impl Trait` in associated types is unstable [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-io-0.3.0/src/asynch.rs:150:27 [INFO] [stdout] | [INFO] [stdout] 150 | type ReadFuture<'a> = impl Future> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #63063 for more information [INFO] [stdout] = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-04-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `impl Trait` in associated types is unstable [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-io-0.3.0/src/asynch.rs:176:30 [INFO] [stdout] | [INFO] [stdout] 176 | type FillBufFuture<'a> = impl Future> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #63063 for more information [INFO] [stdout] = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-04-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `impl Trait` in associated types is unstable [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-io-0.3.0/src/asynch.rs:201:28 [INFO] [stdout] | [INFO] [stdout] 201 | type WriteFuture<'a> = impl Future> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #63063 for more information [INFO] [stdout] = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-04-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `impl Trait` in associated types is unstable [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-io-0.3.0/src/asynch.rs:216:28 [INFO] [stdout] | [INFO] [stdout] 216 | type FlushFuture<'a> = impl Future> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #63063 for more information [INFO] [stdout] = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-04-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-io-0.3.0/src/asynch.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | = impl Future>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReadExactFuture` must be used in combination with a concrete type within the same crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-io-0.3.0/src/asynch.rs:62:3 [INFO] [stdout] | [INFO] [stdout] 62 | = impl Future>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WriteAllFuture` must be used in combination with a concrete type within the same crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `impl Trait` in associated types is unstable [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-async-0.1.0-alpha.2/src/spi.rs:491:45 [INFO] [stdout] | [INFO] [stdout] 491 | type TransactionFuture<'a, R, F, Fut> = impl Future> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #63063 for more information [INFO] [stdout] = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-04-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-async-0.1.0-alpha.2/src/spi.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | = impl Future>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReadFuture` must be used in combination with a concrete type within the same crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-async-0.1.0-alpha.2/src/spi.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | = impl Future>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WriteFuture` must be used in combination with a concrete type within the same crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-async-0.1.0-alpha.2/src/spi.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | = impl Future>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransferFuture` must be used in combination with a concrete type within the same crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-async-0.1.0-alpha.2/src/spi.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | = impl Future>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransferInPlaceFuture` must be used in combination with a concrete type within the same crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-io-0.3.0/src/asynch.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 10 | = impl Future>>; [INFO] [stdout] | ---------------------------------------------------------- the expected future [INFO] [stdout] ... [INFO] [stdout] 25 | fn read_exact<'a>(&'a mut self, mut buf: &'a mut [u8]) -> ReadExactFuture<'a, Self> { [INFO] [stdout] | ------------------------- expected `ReadExactFuture<'a, Self>` because of return type [INFO] [stdout] 26 | / async move { [INFO] [stdout] 27 | | while !buf.is_empty() { [INFO] [stdout] 28 | | match self.read(buf).await { [INFO] [stdout] 29 | | Ok(0) => break, [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] | |_________^ expected future, found `async` block [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `ReadExactFuture<'a, Self>` [INFO] [stdout] found `async` block `{async block@/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-io-0.3.0/src/asynch.rs:26:9: 26:19}` [INFO] [stdout] note: this item must have a `#[define_opaque(ReadExactFuture)]` attribute to be able to define hidden types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-io-0.3.0/src/asynch.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn read_exact<'a>(&'a mut self, mut buf: &'a mut [u8]) -> ReadExactFuture<'a, Self> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-io-0.3.0/src/asynch.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 62 | = impl Future>; [INFO] [stdout] | ------------------------------------------ the expected future [INFO] [stdout] ... [INFO] [stdout] 85 | fn write_all<'a>(&'a mut self, buf: &'a [u8]) -> WriteAllFuture<'a, Self> { [INFO] [stdout] | ------------------------ expected `WriteAllFuture<'a, Self>` because of return type [INFO] [stdout] 86 | / async move { [INFO] [stdout] 87 | | let mut buf = buf; [INFO] [stdout] 88 | | while !buf.is_empty() { [INFO] [stdout] 89 | | match self.write(buf).await { [INFO] [stdout] ... | [INFO] [stdout] 95 | | Ok(()) [INFO] [stdout] 96 | | } [INFO] [stdout] | |_________^ expected future, found `async` block [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `WriteAllFuture<'a, Self>` [INFO] [stdout] found `async` block `{async block@/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-io-0.3.0/src/asynch.rs:86:9: 86:19}` [INFO] [stdout] note: this item must have a `#[define_opaque(WriteAllFuture)]` attribute to be able to define hidden types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-io-0.3.0/src/asynch.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | fn write_all<'a>(&'a mut self, buf: &'a [u8]) -> WriteAllFuture<'a, Self> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `proc-macro2` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0308, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-async-0.1.0-alpha.2/src/spi.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 16 | = impl Future>; [INFO] [stdout] | ------------------------------------------ the expected future [INFO] [stdout] ... [INFO] [stdout] 84 | / $crate::spi::SpiDevice::transaction($device, move |$bus| { [INFO] [stdout] 85 | | // Safety: Implementers of the `SpiDevice` trait guarantee that the pointer is [INFO] [stdout] 86 | | // valid and dereferencable for the entire duration of the closure. [INFO] [stdout] 87 | | let $bus = unsafe { &mut *$bus }; [INFO] [stdout] ... | [INFO] [stdout] 94 | | }) [INFO] [stdout] | |__________^ expected future, found associated type [INFO] [stdout] ... [INFO] [stdout] 199 | fn read<'a, Word>(&'a mut self, buf: &'a mut [Word]) -> ReadFuture<'a, Self, Word> [INFO] [stdout] | -------------------------- expected `ReadFuture<'a, Self, Word>` because of return type [INFO] [stdout] ... [INFO] [stdout] 204 | transaction!(self, move |bus| async move { bus.read(buf).await }) [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `ReadFuture<'a, Self, Word>` [INFO] [stdout] found associated type `::TransactionFuture<'_, (), {closure@...}, ...>` [INFO] [stdout] = help: consider constraining the associated type `::TransactionFuture<'_, (), {closure@/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-async-0.1.0-alpha.2/src/spi.rs:84:54: 84:65}, {async block@/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-async-0.1.0-alpha.2/src/spi.rs:88:13: 88:23}>` to `ReadFuture<'a, Self, Word>` [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/embedded_hal_async-3b855511035d830d.long-type-5617771005938943075.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `transaction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `embedded-io` (lib) due to 12 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-async-0.1.0-alpha.2/src/spi.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 23 | = impl Future>; [INFO] [stdout] | ------------------------------------------ the expected future [INFO] [stdout] ... [INFO] [stdout] 84 | / $crate::spi::SpiDevice::transaction($device, move |$bus| { [INFO] [stdout] 85 | | // Safety: Implementers of the `SpiDevice` trait guarantee that the pointer is [INFO] [stdout] 86 | | // valid and dereferencable for the entire duration of the closure. [INFO] [stdout] 87 | | let $bus = unsafe { &mut *$bus }; [INFO] [stdout] ... | [INFO] [stdout] 94 | | }) [INFO] [stdout] | |__________^ expected future, found associated type [INFO] [stdout] ... [INFO] [stdout] 212 | fn write<'a, Word>(&'a mut self, buf: &'a [Word]) -> WriteFuture<'a, Self, Word> [INFO] [stdout] | --------------------------- expected `WriteFuture<'a, Self, Word>` because of return type [INFO] [stdout] ... [INFO] [stdout] 217 | transaction!(self, move |bus| async move { bus.write(buf).await }) [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `WriteFuture<'a, Self, Word>` [INFO] [stdout] found associated type `::TransactionFuture<'_, (), {closure@...}, ...>` [INFO] [stdout] = help: consider constraining the associated type `::TransactionFuture<'_, (), {closure@/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-async-0.1.0-alpha.2/src/spi.rs:84:54: 84:65}, {async block@/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-async-0.1.0-alpha.2/src/spi.rs:88:13: 88:23}>` to `WriteFuture<'a, Self, Word>` [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/embedded_hal_async-3b855511035d830d.long-type-8744676352906340062.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `transaction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-async-0.1.0-alpha.2/src/spi.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 30 | = impl Future>; [INFO] [stdout] | ------------------------------------------ the expected future [INFO] [stdout] ... [INFO] [stdout] 84 | / $crate::spi::SpiDevice::transaction($device, move |$bus| { [INFO] [stdout] 85 | | // Safety: Implementers of the `SpiDevice` trait guarantee that the pointer is [INFO] [stdout] 86 | | // valid and dereferencable for the entire duration of the closure. [INFO] [stdout] 87 | | let $bus = unsafe { &mut *$bus }; [INFO] [stdout] ... | [INFO] [stdout] 94 | | }) [INFO] [stdout] | |__________^ expected future, found associated type [INFO] [stdout] ... [INFO] [stdout] 229 | ) -> TransferFuture<'a, Self, Word> [INFO] [stdout] | ------------------------------ expected `TransferFuture<'a, Self, Word>` because of return type [INFO] [stdout] ... [INFO] [stdout] 234 | / transaction!( [INFO] [stdout] 235 | | self, [INFO] [stdout] 236 | | move |bus| async move { bus.transfer(read, write).await } [INFO] [stdout] 237 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `TransferFuture<'a, Self, Word>` [INFO] [stdout] found associated type `::TransactionFuture<'_, (), {closure@...}, ...>` [INFO] [stdout] = help: consider constraining the associated type `::TransactionFuture<'_, (), {closure@/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-async-0.1.0-alpha.2/src/spi.rs:84:54: 84:65}, {async block@/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-async-0.1.0-alpha.2/src/spi.rs:88:13: 88:23}>` to `TransferFuture<'a, Self, Word>` [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/embedded_hal_async-3b855511035d830d.long-type-3309735751157313118.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `transaction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-async-0.1.0-alpha.2/src/spi.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 37 | = impl Future>; [INFO] [stdout] | ------------------------------------------ the expected future [INFO] [stdout] ... [INFO] [stdout] 84 | / $crate::spi::SpiDevice::transaction($device, move |$bus| { [INFO] [stdout] 85 | | // Safety: Implementers of the `SpiDevice` trait guarantee that the pointer is [INFO] [stdout] 86 | | // valid and dereferencable for the entire duration of the closure. [INFO] [stdout] 87 | | let $bus = unsafe { &mut *$bus }; [INFO] [stdout] ... | [INFO] [stdout] 94 | | }) [INFO] [stdout] | |__________^ expected future, found associated type [INFO] [stdout] ... [INFO] [stdout] 248 | ) -> TransferInPlaceFuture<'a, Self, Word> [INFO] [stdout] | ------------------------------------- expected `TransferInPlaceFuture<'a, Self, Word>` because of return type [INFO] [stdout] ... [INFO] [stdout] 253 | / transaction!( [INFO] [stdout] 254 | | self, [INFO] [stdout] 255 | | move |bus| async move { bus.transfer_in_place(buf).await } [INFO] [stdout] 256 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `TransferInPlaceFuture<'a, Self, Word>` [INFO] [stdout] found associated type `::TransactionFuture<'_, (), {closure@...}, ...>` [INFO] [stdout] = help: consider constraining the associated type `::TransactionFuture<'_, (), {closure@/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-async-0.1.0-alpha.2/src/spi.rs:84:54: 84:65}, {async block@/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-async-0.1.0-alpha.2/src/spi.rs:88:13: 88:23}>` to `TransferInPlaceFuture<'a, Self, Word>` [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/embedded_hal_async-3b855511035d830d.long-type-14140295775488781092.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `transaction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `embedded-hal-async` (lib) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "0545ff8afc1e57707a548c3638ddbca87f7657123c677b8fc4549dec0f4f3422", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0545ff8afc1e57707a548c3638ddbca87f7657123c677b8fc4549dec0f4f3422", kill_on_drop: false }` [INFO] [stdout] 0545ff8afc1e57707a548c3638ddbca87f7657123c677b8fc4549dec0f4f3422