[INFO] fetching crate embedded-platform 0.1.2... [INFO] checking embedded-platform-0.1.2 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate embedded-platform 0.1.2 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate embedded-platform 0.1.2 [INFO] finished tweaking crates.io crate embedded-platform 0.1.2 [INFO] tweaked toml for crates.io crate embedded-platform 0.1.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate embedded-platform 0.1.2 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4af1c79f5a1043eae26b06fed0c0630d65ebee968d8448bc1193f0ed32d59b43 [INFO] running `Command { std: "docker" "start" "-a" "4af1c79f5a1043eae26b06fed0c0630d65ebee968d8448bc1193f0ed32d59b43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4af1c79f5a1043eae26b06fed0c0630d65ebee968d8448bc1193f0ed32d59b43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4af1c79f5a1043eae26b06fed0c0630d65ebee968d8448bc1193f0ed32d59b43", kill_on_drop: false }` [INFO] [stdout] 4af1c79f5a1043eae26b06fed0c0630d65ebee968d8448bc1193f0ed32d59b43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41b5030166f8c0839fcc6a2ed490eebd85f2f567f311ed9d4dcce29fcdbcfa82 [INFO] running `Command { std: "docker" "start" "-a" "41b5030166f8c0839fcc6a2ed490eebd85f2f567f311ed9d4dcce29fcdbcfa82", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking embedded-platform v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/gpio.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct NoConnect(bool); [INFO] [stdout] | --------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NoConnect` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/io/read.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Read<'a, A> [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | position: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Read` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gpio.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | fn get(&mut self) -> get::Get [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 35 | fn get(&mut self) -> get::Get<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gpio.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | fn set(&mut self, high: bool) -> set::Set [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 58 | fn set(&mut self, high: bool) -> set::Set<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:143:27 [INFO] [stdout] | [INFO] [stdout] 143 | task::Poll::Ready(Ok(false)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:160:85 [INFO] [stdout] | [INFO] [stdout] 160 | fn into_floating_input_pin(self) -> Result { [INFO] [stdout] | _____________________________________________________________________________________^ [INFO] [stdout] 161 | | Ok(self) [INFO] [stdout] 162 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | Ok(self) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:168:82 [INFO] [stdout] | [INFO] [stdout] 168 | fn into_pull_up_input_pin(self) -> Result { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 169 | | Ok(self) [INFO] [stdout] 170 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | Ok(self) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:176:86 [INFO] [stdout] | [INFO] [stdout] 176 | fn into_pull_down_input_pin(self) -> Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 177 | | Ok(self) [INFO] [stdout] 178 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | Ok(self) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:187:56 [INFO] [stdout] | [INFO] [stdout] 187 | ) -> Result { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 188 | | Ok(self) [INFO] [stdout] 189 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | Ok(self) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:198:55 [INFO] [stdout] | [INFO] [stdout] 198 | ) -> Result { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 199 | | Ok(self) [INFO] [stdout] 200 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | Ok(self) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gpio/get.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get(pin: &mut A) -> Get [INFO] [stdout] | ^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get(pin: &mut A) -> Get<'_, A> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gpio/set.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn set(pin: &mut A, high: bool) -> Set [INFO] [stdout] | ^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn set(pin: &mut A, high: bool) -> Set<'_, A> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/i2c.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | fn begin_read(&mut self, address: u8) -> begin_read::BeginRead [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | fn begin_read(&mut self, address: u8) -> begin_read::BeginRead<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/i2c.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | fn begin_write(&mut self, address: u8) -> begin_write::BeginWrite [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | fn begin_write(&mut self, address: u8) -> begin_write::BeginWrite<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/i2c/begin_read.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn begin_read(reader: &mut A, address: u8) -> BeginRead [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn begin_read(reader: &mut A, address: u8) -> BeginRead<'_, A> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/i2c/begin_write.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn begin_write(writer: &mut A, address: u8) -> BeginWrite [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn begin_write(writer: &mut A, address: u8) -> BeginWrite<'_, A> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/io.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | fn shutdown(&mut self) -> shutdown::Shutdown [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 103 | fn shutdown(&mut self) -> shutdown::Shutdown<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/io/shutdown.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) fn shutdown(writer: &mut A) -> Shutdown [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) fn shutdown(writer: &mut A) -> Shutdown<'_, A> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `embedded-platform` (lib test) due to 11 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/gpio.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct NoConnect(bool); [INFO] [stdout] | --------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NoConnect` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/io/read.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Read<'a, A> [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | position: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Read` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gpio.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | fn get(&mut self) -> get::Get [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 35 | fn get(&mut self) -> get::Get<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gpio.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | fn set(&mut self, high: bool) -> set::Set [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 58 | fn set(&mut self, high: bool) -> set::Set<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:143:27 [INFO] [stdout] | [INFO] [stdout] 143 | task::Poll::Ready(Ok(false)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:160:85 [INFO] [stdout] | [INFO] [stdout] 160 | fn into_floating_input_pin(self) -> Result { [INFO] [stdout] | _____________________________________________________________________________________^ [INFO] [stdout] 161 | | Ok(self) [INFO] [stdout] 162 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | Ok(self) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:168:82 [INFO] [stdout] | [INFO] [stdout] 168 | fn into_pull_up_input_pin(self) -> Result { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 169 | | Ok(self) [INFO] [stdout] 170 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | Ok(self) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:176:86 [INFO] [stdout] | [INFO] [stdout] 176 | fn into_pull_down_input_pin(self) -> Result { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 177 | | Ok(self) [INFO] [stdout] 178 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | Ok(self) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:187:56 [INFO] [stdout] | [INFO] [stdout] 187 | ) -> Result { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 188 | | Ok(self) [INFO] [stdout] 189 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | Ok(self) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:198:55 [INFO] [stdout] | [INFO] [stdout] 198 | ) -> Result { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 199 | | Ok(self) [INFO] [stdout] 200 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gpio.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | Ok(self) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gpio/get.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get(pin: &mut A) -> Get [INFO] [stdout] | ^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get(pin: &mut A) -> Get<'_, A> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gpio/set.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn set(pin: &mut A, high: bool) -> Set [INFO] [stdout] | ^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn set(pin: &mut A, high: bool) -> Set<'_, A> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/i2c.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | fn begin_read(&mut self, address: u8) -> begin_read::BeginRead [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | fn begin_read(&mut self, address: u8) -> begin_read::BeginRead<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/i2c.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | fn begin_write(&mut self, address: u8) -> begin_write::BeginWrite [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | fn begin_write(&mut self, address: u8) -> begin_write::BeginWrite<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/i2c/begin_read.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn begin_read(reader: &mut A, address: u8) -> BeginRead [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn begin_read(reader: &mut A, address: u8) -> BeginRead<'_, A> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/i2c/begin_write.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn begin_write(writer: &mut A, address: u8) -> BeginWrite [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn begin_write(writer: &mut A, address: u8) -> BeginWrite<'_, A> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/io.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | fn shutdown(&mut self) -> shutdown::Shutdown [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 103 | fn shutdown(&mut self) -> shutdown::Shutdown<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/io/shutdown.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) fn shutdown(writer: &mut A) -> Shutdown [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) fn shutdown(writer: &mut A) -> Shutdown<'_, A> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `embedded-platform` (lib) due to 11 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "41b5030166f8c0839fcc6a2ed490eebd85f2f567f311ed9d4dcce29fcdbcfa82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41b5030166f8c0839fcc6a2ed490eebd85f2f567f311ed9d4dcce29fcdbcfa82", kill_on_drop: false }` [INFO] [stdout] 41b5030166f8c0839fcc6a2ed490eebd85f2f567f311ed9d4dcce29fcdbcfa82