[INFO] fetching crate rv8803 0.2.0... [INFO] documenting rv8803-0.2.0 against 1.66.0 for beta-1.67-rustdoc-3 [INFO] extracting crate rv8803 0.2.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate rv8803 0.2.0 on toolchain 1.66.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.66.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rv8803 0.2.0 [INFO] finished tweaking crates.io crate rv8803 0.2.0 [INFO] tweaked toml for crates.io crate rv8803 0.2.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate rv8803 0.2.0 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" "+1.66.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded linux-embedded-hal v0.3.2 [INFO] [stderr] Downloaded embedded-hal-async v0.2.0-alpha.0 [INFO] [stderr] Downloaded sysfs_gpio v0.6.1 [INFO] [stderr] Downloaded spidev v0.5.1 [INFO] [stderr] Downloaded i2cdev v0.5.1 [INFO] [stderr] Downloaded gpio-cdev v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+1.66.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d31efb8f956bb4141a93db560ed82d18551a0dc943c51a2932c0c1758ebbda5b [INFO] running `Command { std: "docker" "start" "-a" "d31efb8f956bb4141a93db560ed82d18551a0dc943c51a2932c0c1758ebbda5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d31efb8f956bb4141a93db560ed82d18551a0dc943c51a2932c0c1758ebbda5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d31efb8f956bb4141a93db560ed82d18551a0dc943c51a2932c0c1758ebbda5b", kill_on_drop: false }` [INFO] [stdout] d31efb8f956bb4141a93db560ed82d18551a0dc943c51a2932c0c1758ebbda5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+1.66.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3514565580c55ffb96ccff166d40694c3bff11ed6350886a066875288ed92e60 [INFO] running `Command { std: "docker" "start" "-a" "3514565580c55ffb96ccff166d40694c3bff11ed6350886a066875288ed92e60", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking embedded-hal v1.0.0-alpha.9 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Documenting rv8803 v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "3514565580c55ffb96ccff166d40694c3bff11ed6350886a066875288ed92e60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3514565580c55ffb96ccff166d40694c3bff11ed6350886a066875288ed92e60", kill_on_drop: false }` [INFO] [stdout] 3514565580c55ffb96ccff166d40694c3bff11ed6350886a066875288ed92e60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "DOCS_RS=1" "-e" "RUSTC_BOOTSTRAP=1" "-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:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+1.66.0" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--document-private-items\"]" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1f8768e84937c882fbe482e6bc7c8202f8691b1b60cca5fdcdf31dac554b6b1 [INFO] running `Command { std: "docker" "start" "-a" "e1f8768e84937c882fbe482e6bc7c8202f8691b1b60cca5fdcdf31dac554b6b1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.104 [INFO] [stderr] Compiling serde_derive v1.0.148 [INFO] [stderr] Compiling serde v1.0.148 [INFO] [stderr] Checking embedded-hal-async v0.2.0-alpha.0 [INFO] [stdout] error[E0635]: unknown feature `impl_trait_projections` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/lib.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(async_fn_in_trait, impl_trait_projections)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/delay.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | async fn delay_us(&mut self, us: u32) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut &mut T, _) -> impl Future::Error>>` [INFO] [stdout] found fn pointer `fn(&mut &mut T, _) -> impl Future::Error>>` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/delay.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | impl DelayUs for &mut T [INFO] [stdout] | ^ [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/delay.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | async fn delay_ms(&mut self, ms: u32) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut &mut T, _) -> impl Future::Error>>` [INFO] [stdout] found fn pointer `fn(&mut &mut T, _) -> impl Future::Error>>` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/delay.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | impl DelayUs for &mut T [INFO] [stdout] | ^ [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0760]: `async fn` return type cannot contain a projection or `Self` that references lifetimes from a parent scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/delay.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | async fn delay_us(&mut self, us: u32) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: consider spelling out the type instead: `<&mut T as delay::DelayUs>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0760]: `async fn` return type cannot contain a projection or `Self` that references lifetimes from a parent scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/delay.rs:27:46 [INFO] [stdout] | [INFO] [stdout] 27 | async fn delay_ms(&mut self, ms: u32) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: consider spelling out the type instead: `<&mut T as delay::DelayUs>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/digital.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | async fn wait_for_high(&mut self) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut &mut T) -> impl Future::Error>>` [INFO] [stdout] found fn pointer `fn(&mut &mut T) -> impl Future::Error>>` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/digital.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | impl Wait for &mut T { [INFO] [stdout] | ^ [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/digital.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | async fn wait_for_low(&mut self) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut &mut T) -> impl Future::Error>>` [INFO] [stdout] found fn pointer `fn(&mut &mut T) -> impl Future::Error>>` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/digital.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | impl Wait for &mut T { [INFO] [stdout] | ^ [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/digital.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | async fn wait_for_rising_edge(&mut self) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut &mut T) -> impl Future::Error>>` [INFO] [stdout] found fn pointer `fn(&mut &mut T) -> impl Future::Error>>` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/digital.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | impl Wait for &mut T { [INFO] [stdout] | ^ [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/digital.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | async fn wait_for_falling_edge(&mut self) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut &mut T) -> impl Future::Error>>` [INFO] [stdout] found fn pointer `fn(&mut &mut T) -> impl Future::Error>>` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/digital.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | impl Wait for &mut T { [INFO] [stdout] | ^ [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/digital.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | async fn wait_for_any_edge(&mut self) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut &mut T) -> impl Future::Error>>` [INFO] [stdout] found fn pointer `fn(&mut &mut T) -> impl Future::Error>>` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/digital.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | impl Wait for &mut T { [INFO] [stdout] | ^ [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0760]: `async fn` return type cannot contain a projection or `Self` that references lifetimes from a parent scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/digital.rs:52:42 [INFO] [stdout] | [INFO] [stdout] 52 | async fn wait_for_high(&mut self) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: consider spelling out the type instead: `<&mut T as Wait>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0760]: `async fn` return type cannot contain a projection or `Self` that references lifetimes from a parent scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/digital.rs:56:41 [INFO] [stdout] | [INFO] [stdout] 56 | async fn wait_for_low(&mut self) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: consider spelling out the type instead: `<&mut T as Wait>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0760]: `async fn` return type cannot contain a projection or `Self` that references lifetimes from a parent scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/digital.rs:60:49 [INFO] [stdout] | [INFO] [stdout] 60 | async fn wait_for_rising_edge(&mut self) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: consider spelling out the type instead: `<&mut T as Wait>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0760]: `async fn` return type cannot contain a projection or `Self` that references lifetimes from a parent scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/digital.rs:64:50 [INFO] [stdout] | [INFO] [stdout] 64 | async fn wait_for_falling_edge(&mut self) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: consider spelling out the type instead: `<&mut T as Wait>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0760]: `async fn` return type cannot contain a projection or `Self` that references lifetimes from a parent scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/digital.rs:68:46 [INFO] [stdout] | [INFO] [stdout] 68 | async fn wait_for_any_edge(&mut self) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: consider spelling out the type instead: `<&mut T as Wait>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/i2c.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | async fn read<'a>(&'a mut self, address: A, buffer: &'a mut [u8]) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&'a mut &mut T, _, &'a mut [u8]) -> impl Future::Error>>` [INFO] [stdout] found fn pointer `fn(&mut &mut T, _, &mut [u8]) -> impl Future::Error>>` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/i2c.rs:113:44 [INFO] [stdout] | [INFO] [stdout] 113 | impl> I2c for &mut T { [INFO] [stdout] | ^ [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/i2c.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | async fn write<'a>(&'a mut self, address: A, bytes: &'a [u8]) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&'a mut &mut T, _, &'a [u8]) -> impl Future::Error>>` [INFO] [stdout] found fn pointer `fn(&mut &mut T, _, &[u8]) -> impl Future::Error>>` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/i2c.rs:113:44 [INFO] [stdout] | [INFO] [stdout] 113 | impl> I2c for &mut T { [INFO] [stdout] | ^ [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/i2c.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | / async fn write_read<'a>( [INFO] [stdout] 123 | | &'a mut self, [INFO] [stdout] 124 | | address: A, [INFO] [stdout] 125 | | bytes: &'a [u8], [INFO] [stdout] 126 | | buffer: &'a mut [u8], [INFO] [stdout] 127 | | ) -> Result<(), Self::Error> { [INFO] [stdout] | |________________________________^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&'a mut &mut T, _, &'a [u8], &'a mut [u8]) -> impl Future::Error>>` [INFO] [stdout] found fn pointer `fn(&mut &mut T, _, &[u8], &mut [u8]) -> impl Future::Error>>` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/i2c.rs:113:44 [INFO] [stdout] | [INFO] [stdout] 113 | impl> I2c for &mut T { [INFO] [stdout] | ^ [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/i2c.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | / async fn transaction<'a, 'b>( [INFO] [stdout] 132 | | &'a mut self, [INFO] [stdout] 133 | | address: A, [INFO] [stdout] 134 | | operations: &'a mut [Operation<'b>], [INFO] [stdout] 135 | | ) -> Result<(), Self::Error> { [INFO] [stdout] | |________________________________^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&'a mut &mut T, _, &'a mut [Operation<'b>]) -> impl Future::Error>>` [INFO] [stdout] found fn pointer `fn(&mut &mut T, _, &mut [Operation<'_>]) -> impl Future::Error>>` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/i2c.rs:113:44 [INFO] [stdout] | [INFO] [stdout] 113 | impl> I2c for &mut T { [INFO] [stdout] | ^ [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0760]: `async fn` return type cannot contain a projection or `Self` that references lifetimes from a parent scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/i2c.rs:114:74 [INFO] [stdout] | [INFO] [stdout] 114 | async fn read<'a>(&'a mut self, address: A, buffer: &'a mut [u8]) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: consider spelling out the type instead: `<&mut T as i2c::I2c>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0760]: `async fn` return type cannot contain a projection or `Self` that references lifetimes from a parent scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/i2c.rs:118:70 [INFO] [stdout] | [INFO] [stdout] 118 | async fn write<'a>(&'a mut self, address: A, bytes: &'a [u8]) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: consider spelling out the type instead: `<&mut T as i2c::I2c>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0760]: `async fn` return type cannot contain a projection or `Self` that references lifetimes from a parent scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/i2c.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | ) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: consider spelling out the type instead: `<&mut T as i2c::I2c>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0760]: `async fn` return type cannot contain a projection or `Self` that references lifetimes from a parent scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/i2c.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | ) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: consider spelling out the type instead: `<&mut T as i2c::I2c>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/spi.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | / async fn transaction(&mut self, f: F) -> Result [INFO] [stdout] 230 | | where [INFO] [stdout] 231 | | F: FnOnce(*mut Self::Bus) -> Fut, [INFO] [stdout] 232 | | Fut: Future::Error>>, [INFO] [stdout] | |_________________________________________________________________________^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut &mut T, _) -> impl Future::Error>>` [INFO] [stdout] found fn pointer `fn(&mut &mut T, _) -> impl Future::Error>>` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/spi.rs:226:41 [INFO] [stdout] | [INFO] [stdout] 226 | unsafe impl SpiDevice for &mut T { [INFO] [stdout] | ^ [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0760]: `async fn` return type cannot contain a projection or `Self` that references lifetimes from a parent scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/spi.rs:229:57 [INFO] [stdout] | [INFO] [stdout] 229 | async fn transaction(&mut self, f: F) -> Result [INFO] [stdout] | ^^^^^^^^^^----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: consider spelling out the type instead: `<&mut T as spi::SpiDevice>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/spi.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | async fn flush(&mut self) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut &mut T) -> impl Future::Error>>` [INFO] [stdout] found fn pointer `fn(&mut &mut T) -> impl Future::Error>>` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/spi.rs:246:38 [INFO] [stdout] | [INFO] [stdout] 246 | impl SpiBusFlush for &mut T { [INFO] [stdout] | ^ [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0760]: `async fn` return type cannot contain a projection or `Self` that references lifetimes from a parent scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/spi.rs:247:34 [INFO] [stdout] | [INFO] [stdout] 247 | async fn flush(&mut self) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: consider spelling out the type instead: `<&mut T as spi::SpiBusFlush>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/spi.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | async fn read(&mut self, words: &mut [Word]) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut &mut T, &mut [Word]) -> impl Future::Error>>` [INFO] [stdout] found fn pointer `fn(&mut &mut T, &mut [Word]) -> impl Future::Error>>` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/spi.rs:264:70 [INFO] [stdout] | [INFO] [stdout] 264 | impl, Word: 'static + Copy> SpiBusRead for &mut T { [INFO] [stdout] | ^ [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0760]: `async fn` return type cannot contain a projection or `Self` that references lifetimes from a parent scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/spi.rs:265:53 [INFO] [stdout] | [INFO] [stdout] 265 | async fn read(&mut self, words: &mut [Word]) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: consider spelling out the type instead: `<&mut T as spi::SpiBusRead>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/spi.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | async fn write(&mut self, words: &[Word]) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut &mut T, &[Word]) -> impl Future::Error>>` [INFO] [stdout] found fn pointer `fn(&mut &mut T, &[Word]) -> impl Future::Error>>` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/spi.rs:279:72 [INFO] [stdout] | [INFO] [stdout] 279 | impl, Word: 'static + Copy> SpiBusWrite for &mut T { [INFO] [stdout] | ^ [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0760]: `async fn` return type cannot contain a projection or `Self` that references lifetimes from a parent scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/spi.rs:280:50 [INFO] [stdout] | [INFO] [stdout] 280 | async fn write(&mut self, words: &[Word]) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: consider spelling out the type instead: `<&mut T as spi::SpiBusWrite>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/spi.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | / async fn transfer<'a>( [INFO] [stdout] 319 | | &'a mut self, [INFO] [stdout] 320 | | read: &'a mut [Word], [INFO] [stdout] 321 | | write: &'a [Word], [INFO] [stdout] 322 | | ) -> Result<(), Self::Error> { [INFO] [stdout] | |________________________________^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&'a mut &mut T, &'a mut [Word], &'a [Word]) -> impl Future::Error>>` [INFO] [stdout] found fn pointer `fn(&mut &mut T, &mut [Word], &[Word]) -> impl Future::Error>>` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/spi.rs:317:62 [INFO] [stdout] | [INFO] [stdout] 317 | impl, Word: 'static + Copy> SpiBus for &mut T { [INFO] [stdout] | ^ [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/spi.rs:326:5 [INFO] [stdout] | [INFO] [stdout] 326 | async fn transfer_in_place<'a>(&'a mut self, words: &'a mut [Word]) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&'a mut &mut T, &'a mut [Word]) -> impl Future::Error>>` [INFO] [stdout] found fn pointer `fn(&mut &mut T, &mut [Word]) -> impl Future::Error>>` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/spi.rs:317:62 [INFO] [stdout] | [INFO] [stdout] 317 | impl, Word: 'static + Copy> SpiBus for &mut T { [INFO] [stdout] | ^ [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0760]: `async fn` return type cannot contain a projection or `Self` that references lifetimes from a parent scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/spi.rs:322:10 [INFO] [stdout] | [INFO] [stdout] 322 | ) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: consider spelling out the type instead: `<&mut T as spi::SpiBus>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0760]: `async fn` return type cannot contain a projection or `Self` that references lifetimes from a parent scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/embedded-hal-async-0.2.0-alpha.0/src/spi.rs:326:76 [INFO] [stdout] | [INFO] [stdout] 326 | async fn transfer_in_place<'a>(&'a mut self, words: &'a mut [Word]) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: consider spelling out the type instead: `<&mut T as spi::SpiBus>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0635, E0760. [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` due to 36 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e1f8768e84937c882fbe482e6bc7c8202f8691b1b60cca5fdcdf31dac554b6b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1f8768e84937c882fbe482e6bc7c8202f8691b1b60cca5fdcdf31dac554b6b1", kill_on_drop: false }` [INFO] [stdout] e1f8768e84937c882fbe482e6bc7c8202f8691b1b60cca5fdcdf31dac554b6b1