[INFO] cloning repository https://github.com/davidmpye/pio-9bit-uart-async [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davidmpye/pio-9bit-uart-async" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidmpye%2Fpio-9bit-uart-async", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidmpye%2Fpio-9bit-uart-async'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1218e7aa4f8dff23e5e0cd14628412d9d45aaa80 [INFO] checking davidmpye/pio-9bit-uart-async against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidmpye%2Fpio-9bit-uart-async" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/davidmpye/pio-9bit-uart-async [INFO] finished tweaking git repo https://github.com/davidmpye/pio-9bit-uart-async [INFO] tweaked toml for git repo https://github.com/davidmpye/pio-9bit-uart-async written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/davidmpye/pio-9bit-uart-async 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] crate git repo https://github.com/davidmpye/pio-9bit-uart-async 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" "+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] 7d40abef24598fd1bb35f2bde31776fa422bf184fa77d2bc4dfbd12baf7d3ed1 [INFO] running `Command { std: "docker" "start" "-a" "7d40abef24598fd1bb35f2bde31776fa422bf184fa77d2bc4dfbd12baf7d3ed1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d40abef24598fd1bb35f2bde31776fa422bf184fa77d2bc4dfbd12baf7d3ed1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d40abef24598fd1bb35f2bde31776fa422bf184fa77d2bc4dfbd12baf7d3ed1", kill_on_drop: false }` [INFO] [stdout] 7d40abef24598fd1bb35f2bde31776fa422bf184fa77d2bc4dfbd12baf7d3ed1 [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] 1b61c5fc15f046e264252722af3af5763b7a96924c1176073ecad554f387b799 [INFO] running `Command { std: "docker" "start" "-a" "1b61c5fc15f046e264252722af3af5763b7a96924c1176073ecad554f387b799", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling is-terminal v0.4.15 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling cortex-m-rt v0.7.5 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling embassy-time-driver v0.2.0 [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Compiling debug-helper v0.3.13 [INFO] [stderr] Compiling embedded-io-async v0.6.1 [INFO] [stderr] Compiling crc-any v2.5.0 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling embassy-sync v0.6.2 [INFO] [stderr] Checking embedded-io v0.6.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rp2040-boot2 v0.3.0 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling rp-pac v7.0.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling embassy-hal-internal v0.2.0 [INFO] [stderr] Compiling fixed v1.28.0 [INFO] [stderr] Compiling atomic-polyfill v1.0.3 [INFO] [stderr] Checking embedded-storage v0.3.1 [INFO] [stderr] Checking smart-leds-trait v0.3.1 [INFO] [stderr] Checking embedded-storage-async v0.4.1 [INFO] [stderr] Checking embassy-time v0.4.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling pio v0.2.1 [INFO] [stderr] Compiling embassy-rp v0.3.0 [INFO] [stderr] Checking embassy-futures v0.1.1 [INFO] [stderr] Checking embassy-embedded-hal v0.3.0 [INFO] [stderr] Checking smart-leds v0.4.0 [INFO] [stderr] Checking embedded-hal-nb v1.0.0 [INFO] [stderr] Checking embassy-usb-driver v0.1.0 [INFO] [stderr] Checking sha2-const-stable v0.1.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.5 [INFO] [stderr] Compiling pio-parser v0.2.2 [INFO] [stderr] Compiling pio-proc v0.2.2 [INFO] [stderr] Checking pio-9bit-uart-async v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Pio` [INFO] [stdout] --> src/lib.rs:19:83 [INFO] [stdout] | [INFO] [stdout] 19 | Common, Config, Direction as PioDirection, FifoJoin, Instance, LoadedProgram, Pio, PioPin, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:66:75 [INFO] [stdout] | [INFO] [stdout] 66 | async fn read(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 67 | | self.rx.read(buf).await [INFO] [stdout] 68 | | } [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/lib.rs:66:75 [INFO] [stdout] | [INFO] [stdout] 66 | async fn read(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 67 | | self.rx.read(buf).await [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | self.rx.read(buf).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 67 | self.rx.read(buf).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | self.rx.read(buf).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:72:72 [INFO] [stdout] | [INFO] [stdout] 72 | async fn write(&mut self, buf: &[u8]) -> Result { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 73 | | self.tx.write(buf).await [INFO] [stdout] 74 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:72:72 [INFO] [stdout] | [INFO] [stdout] 72 | async fn write(&mut self, buf: &[u8]) -> Result { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 73 | | self.tx.write(buf).await [INFO] [stdout] 74 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | self.tx.write(buf).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | self.tx.write(buf).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | self.tx.write(buf).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:147:72 [INFO] [stdout] | [INFO] [stdout] 147 | async fn write(&mut self, buf: &[u8]) -> Result { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 148 | | for n in 0..buf.len() / 2 { [INFO] [stdout] 149 | | self.write_u16(u16::from_le_bytes([buf[(n * 2) + 1], buf[n * 2] & 0x01])) [INFO] [stdout] 150 | | .await; [INFO] [stdout] 151 | | } [INFO] [stdout] 152 | | Ok(buf.len()) [INFO] [stdout] 153 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:147:72 [INFO] [stdout] | [INFO] [stdout] 147 | async fn write(&mut self, buf: &[u8]) -> Result { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 148 | | for n in 0..buf.len() / 2 { [INFO] [stdout] 149 | | self.write_u16(u16::from_le_bytes([buf[(n * 2) + 1], buf[n * 2] & 0x01])) [INFO] [stdout] 150 | | .await; [INFO] [stdout] 151 | | } [INFO] [stdout] 152 | | Ok(buf.len()) [INFO] [stdout] 153 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | Ok(buf.len()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:241:75 [INFO] [stdout] | [INFO] [stdout] 241 | async fn read(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 242 | | //We are a 9 bit uart, so we will need to return 2 bytes for every 9 bit 'read', so if the buffer [INFO] [stdout] 243 | | //is <2, we cannot operate. [INFO] [stdout] 244 | | if buf.len() < 2 { [INFO] [stdout] ... | [INFO] [stdout] 267 | | Ok(i * 2) [INFO] [stdout] 268 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:241:75 [INFO] [stdout] | [INFO] [stdout] 241 | async fn read(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 242 | | //We are a 9 bit uart, so we will need to return 2 bytes for every 9 bit 'read', so if the buffer [INFO] [stdout] 243 | | //is <2, we cannot operate. [INFO] [stdout] 244 | | if buf.len() < 2 { [INFO] [stdout] ... | [INFO] [stdout] 267 | | Ok(i * 2) [INFO] [stdout] 268 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:245:20 [INFO] [stdout] | [INFO] [stdout] 245 | return Ok(0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:263:28 [INFO] [stdout] | [INFO] [stdout] 263 | return Ok(i * 2); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | Ok(i * 2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pio-9bit-uart-async` (lib) due to 18 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `Pio` [INFO] [stdout] --> src/lib.rs:19:83 [INFO] [stdout] | [INFO] [stdout] 19 | Common, Config, Direction as PioDirection, FifoJoin, Instance, LoadedProgram, Pio, PioPin, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:66:75 [INFO] [stdout] | [INFO] [stdout] 66 | async fn read(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 67 | | self.rx.read(buf).await [INFO] [stdout] 68 | | } [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/lib.rs:66:75 [INFO] [stdout] | [INFO] [stdout] 66 | async fn read(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 67 | | self.rx.read(buf).await [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | self.rx.read(buf).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 67 | self.rx.read(buf).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | self.rx.read(buf).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:72:72 [INFO] [stdout] | [INFO] [stdout] 72 | async fn write(&mut self, buf: &[u8]) -> Result { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 73 | | self.tx.write(buf).await [INFO] [stdout] 74 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:72:72 [INFO] [stdout] | [INFO] [stdout] 72 | async fn write(&mut self, buf: &[u8]) -> Result { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 73 | | self.tx.write(buf).await [INFO] [stdout] 74 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | self.tx.write(buf).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | self.tx.write(buf).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | self.tx.write(buf).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:147:72 [INFO] [stdout] | [INFO] [stdout] 147 | async fn write(&mut self, buf: &[u8]) -> Result { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 148 | | for n in 0..buf.len() / 2 { [INFO] [stdout] 149 | | self.write_u16(u16::from_le_bytes([buf[(n * 2) + 1], buf[n * 2] & 0x01])) [INFO] [stdout] 150 | | .await; [INFO] [stdout] 151 | | } [INFO] [stdout] 152 | | Ok(buf.len()) [INFO] [stdout] 153 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:147:72 [INFO] [stdout] | [INFO] [stdout] 147 | async fn write(&mut self, buf: &[u8]) -> Result { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 148 | | for n in 0..buf.len() / 2 { [INFO] [stdout] 149 | | self.write_u16(u16::from_le_bytes([buf[(n * 2) + 1], buf[n * 2] & 0x01])) [INFO] [stdout] 150 | | .await; [INFO] [stdout] 151 | | } [INFO] [stdout] 152 | | Ok(buf.len()) [INFO] [stdout] 153 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | Ok(buf.len()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:241:75 [INFO] [stdout] | [INFO] [stdout] 241 | async fn read(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 242 | | //We are a 9 bit uart, so we will need to return 2 bytes for every 9 bit 'read', so if the buffer [INFO] [stdout] 243 | | //is <2, we cannot operate. [INFO] [stdout] 244 | | if buf.len() < 2 { [INFO] [stdout] ... | [INFO] [stdout] 267 | | Ok(i * 2) [INFO] [stdout] 268 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:241:75 [INFO] [stdout] | [INFO] [stdout] 241 | async fn read(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 242 | | //We are a 9 bit uart, so we will need to return 2 bytes for every 9 bit 'read', so if the buffer [INFO] [stdout] 243 | | //is <2, we cannot operate. [INFO] [stdout] 244 | | if buf.len() < 2 { [INFO] [stdout] ... | [INFO] [stdout] 267 | | Ok(i * 2) [INFO] [stdout] 268 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:245:20 [INFO] [stdout] | [INFO] [stdout] 245 | return Ok(0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:263:28 [INFO] [stdout] | [INFO] [stdout] 263 | return Ok(i * 2); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | Ok(i * 2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pio-9bit-uart-async` (lib test) due to 18 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "1b61c5fc15f046e264252722af3af5763b7a96924c1176073ecad554f387b799", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b61c5fc15f046e264252722af3af5763b7a96924c1176073ecad554f387b799", kill_on_drop: false }` [INFO] [stdout] 1b61c5fc15f046e264252722af3af5763b7a96924c1176073ecad554f387b799