[INFO] fetching crate regiface 0.2.5... [INFO] checking regiface-0.2.5 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate regiface 0.2.5 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate regiface 0.2.5 [INFO] finished tweaking crates.io crate regiface 0.2.5 [INFO] tweaked toml for crates.io crate regiface 0.2.5 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate regiface 0.2.5 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 crates.io crate regiface 0.2.5 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] 9aa0b248267296805f18afb7d2aa30e00992b104e4775c09f3b647db169e34b2 [INFO] running `Command { std: "docker" "start" "-a" "9aa0b248267296805f18afb7d2aa30e00992b104e4775c09f3b647db169e34b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9aa0b248267296805f18afb7d2aa30e00992b104e4775c09f3b647db169e34b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aa0b248267296805f18afb7d2aa30e00992b104e4775c09f3b647db169e34b2", kill_on_drop: false }` [INFO] [stdout] 9aa0b248267296805f18afb7d2aa30e00992b104e4775c09f3b647db169e34b2 [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] 910625116a943df0c3bb2ef48c168b19cb2c42555fa04bf41a0425a9aef58d18 [INFO] running `Command { std: "docker" "start" "-a" "910625116a943df0c3bb2ef48c168b19cb2c42555fa04bf41a0425a9aef58d18", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.102 [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling regiface-macros v0.2.0 [INFO] [stderr] Checking regiface v0.2.5 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/byte_array.rs:53:64 [INFO] [stdout] | [INFO] [stdout] 53 | fn from_bytes(_: Self::Array) -> Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 54 | | Ok(Self {}) [INFO] [stdout] 55 | | } [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/byte_array.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | Ok(Self {}) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/byte_array.rs:62:68 [INFO] [stdout] | [INFO] [stdout] 62 | fn from_bytes(bytes: Self::Array) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 63 | | Ok(Self::from_be_bytes(bytes)) [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/byte_array.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | Ok(Self::from_be_bytes(bytes)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/byte_array.rs:71:68 [INFO] [stdout] | [INFO] [stdout] 71 | fn from_bytes(bytes: Self::Array) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 72 | | Ok(Self::from_be_bytes(bytes)) [INFO] [stdout] 73 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/byte_array.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | Ok(Self::from_be_bytes(bytes)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/byte_array.rs:80:68 [INFO] [stdout] | [INFO] [stdout] 80 | fn from_bytes(bytes: Self::Array) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 81 | | Ok(Self::from_be_bytes(bytes)) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/byte_array.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | Ok(Self::from_be_bytes(bytes)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/byte_array.rs:89:68 [INFO] [stdout] | [INFO] [stdout] 89 | fn from_bytes(bytes: Self::Array) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 90 | | Ok(Self::from_be_bytes(bytes)) [INFO] [stdout] 91 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/byte_array.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | Ok(Self::from_be_bytes(bytes)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/byte_array.rs:98:68 [INFO] [stdout] | [INFO] [stdout] 98 | fn from_bytes(bytes: Self::Array) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 99 | | Ok(Self::from_be_bytes(bytes)) [INFO] [stdout] 100 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/byte_array.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | Ok(Self::from_be_bytes(bytes)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; LEN], Infallible> [INFO] [stdout] --> src/byte_array.rs:107:68 [INFO] [stdout] | [INFO] [stdout] 107 | fn from_bytes(bytes: Self::Array) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 108 | | Ok(bytes) [INFO] [stdout] 109 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; LEN], Infallible> [INFO] [stdout] --> src/byte_array.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | Ok(bytes) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 0], Infallible> [INFO] [stdout] --> src/byte_array.rs:144:59 [INFO] [stdout] | [INFO] [stdout] 144 | fn to_bytes(self) -> Result { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 145 | | Ok([]) [INFO] [stdout] 146 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 0], Infallible> [INFO] [stdout] --> src/byte_array.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | Ok([]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; LEN], Infallible> [INFO] [stdout] --> src/byte_array.rs:153:59 [INFO] [stdout] | [INFO] [stdout] 153 | fn to_bytes(self) -> Result { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 154 | | Ok([0; LEN]) [INFO] [stdout] 155 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; LEN], Infallible> [INFO] [stdout] --> src/byte_array.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | Ok([0; LEN]) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 1], Infallible> [INFO] [stdout] --> src/byte_array.rs:162:59 [INFO] [stdout] | [INFO] [stdout] 162 | fn to_bytes(self) -> Result { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 163 | | Ok([self]) [INFO] [stdout] 164 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 1], Infallible> [INFO] [stdout] --> src/byte_array.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | Ok([self]) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 2], Infallible> [INFO] [stdout] --> src/byte_array.rs:171:59 [INFO] [stdout] | [INFO] [stdout] 171 | fn to_bytes(self) -> Result { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 172 | | Ok(self.to_be_bytes()) [INFO] [stdout] 173 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 2], Infallible> [INFO] [stdout] --> src/byte_array.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | Ok(self.to_be_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 4], Infallible> [INFO] [stdout] --> src/byte_array.rs:180:59 [INFO] [stdout] | [INFO] [stdout] 180 | fn to_bytes(self) -> Result { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 181 | | Ok(self.to_be_bytes()) [INFO] [stdout] 182 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 4], Infallible> [INFO] [stdout] --> src/byte_array.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | Ok(self.to_be_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 8], Infallible> [INFO] [stdout] --> src/byte_array.rs:189:59 [INFO] [stdout] | [INFO] [stdout] 189 | fn to_bytes(self) -> Result { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 190 | | Ok(self.to_be_bytes()) [INFO] [stdout] 191 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 8], Infallible> [INFO] [stdout] --> src/byte_array.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | Ok(self.to_be_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 16], Infallible> [INFO] [stdout] --> src/byte_array.rs:198:59 [INFO] [stdout] | [INFO] [stdout] 198 | fn to_bytes(self) -> Result { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 199 | | Ok(self.to_be_bytes()) [INFO] [stdout] 200 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 16], Infallible> [INFO] [stdout] --> src/byte_array.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | Ok(self.to_be_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; LEN], Infallible> [INFO] [stdout] --> src/byte_array.rs:207:59 [INFO] [stdout] | [INFO] [stdout] 207 | fn to_bytes(self) -> Result { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 208 | | Ok(self) [INFO] [stdout] 209 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; LEN], Infallible> [INFO] [stdout] --> src/byte_array.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | Ok(self) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<::IdType as byte_array::ToByteArray>::Array, Infallible> [INFO] [stdout] --> src/i2c.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | let reg_id = R::readable_id().to_bytes().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<::IdType as byte_array::ToByteArray>::Array, Infallible> [INFO] [stdout] --> src/i2c.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | let reg_id = R::writeable_id().to_bytes().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<::IdType as byte_array::ToByteArray>::Array, Infallible> [INFO] [stdout] --> src/i2c.rs:196:31 [INFO] [stdout] | [INFO] [stdout] 196 | let reg_id = unsafe { C::id().to_bytes().unwrap_unchecked() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<::IdType as byte_array::ToByteArray>::Array, Infallible> [INFO] [stdout] --> src/i2c.rs:250:22 [INFO] [stdout] | [INFO] [stdout] 250 | let reg_id = R::readable_id().to_bytes().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<::IdType as byte_array::ToByteArray>::Array, Infallible> [INFO] [stdout] --> src/i2c.rs:295:22 [INFO] [stdout] | [INFO] [stdout] 295 | let reg_id = R::writeable_id().to_bytes().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<::IdType as byte_array::ToByteArray>::Array, Infallible> [INFO] [stdout] --> src/i2c.rs:360:31 [INFO] [stdout] | [INFO] [stdout] 360 | let reg_id = unsafe { C::id().to_bytes().unwrap_unchecked() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<::IdType as byte_array::ToByteArray>::Array, Infallible> [INFO] [stdout] --> src/spi.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | let reg_id = R::readable_id().to_bytes().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<::IdType as byte_array::ToByteArray>::Array, Infallible> [INFO] [stdout] --> src/spi.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | let reg_id = R::writeable_id().to_bytes().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<::IdType as byte_array::ToByteArray>::Array, Infallible> [INFO] [stdout] --> src/spi.rs:187:31 [INFO] [stdout] | [INFO] [stdout] 187 | let reg_id = unsafe { C::id().to_bytes().unwrap_unchecked() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<::IdType as byte_array::ToByteArray>::Array, Infallible> [INFO] [stdout] --> src/spi.rs:234:31 [INFO] [stdout] | [INFO] [stdout] 234 | let reg_id = unsafe { R::readable_id().to_bytes().unwrap_unchecked() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<::IdType as byte_array::ToByteArray>::Array, Infallible> [INFO] [stdout] --> src/spi.rs:280:31 [INFO] [stdout] | [INFO] [stdout] 280 | let reg_id = unsafe { R::writeable_id().to_bytes().unwrap_unchecked() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<::IdType as byte_array::ToByteArray>::Array, Infallible> [INFO] [stdout] --> src/spi.rs:340:31 [INFO] [stdout] | [INFO] [stdout] 340 | let reg_id = unsafe { C::id().to_bytes().unwrap_unchecked() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `regiface` (lib test) due to 42 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/byte_array.rs:53:64 [INFO] [stdout] | [INFO] [stdout] 53 | fn from_bytes(_: Self::Array) -> Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 54 | | Ok(Self {}) [INFO] [stdout] 55 | | } [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/byte_array.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | Ok(Self {}) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/byte_array.rs:62:68 [INFO] [stdout] | [INFO] [stdout] 62 | fn from_bytes(bytes: Self::Array) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 63 | | Ok(Self::from_be_bytes(bytes)) [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/byte_array.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | Ok(Self::from_be_bytes(bytes)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/byte_array.rs:71:68 [INFO] [stdout] | [INFO] [stdout] 71 | fn from_bytes(bytes: Self::Array) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 72 | | Ok(Self::from_be_bytes(bytes)) [INFO] [stdout] 73 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/byte_array.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | Ok(Self::from_be_bytes(bytes)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/byte_array.rs:80:68 [INFO] [stdout] | [INFO] [stdout] 80 | fn from_bytes(bytes: Self::Array) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 81 | | Ok(Self::from_be_bytes(bytes)) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/byte_array.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | Ok(Self::from_be_bytes(bytes)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/byte_array.rs:89:68 [INFO] [stdout] | [INFO] [stdout] 89 | fn from_bytes(bytes: Self::Array) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 90 | | Ok(Self::from_be_bytes(bytes)) [INFO] [stdout] 91 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/byte_array.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | Ok(Self::from_be_bytes(bytes)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/byte_array.rs:98:68 [INFO] [stdout] | [INFO] [stdout] 98 | fn from_bytes(bytes: Self::Array) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 99 | | Ok(Self::from_be_bytes(bytes)) [INFO] [stdout] 100 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/byte_array.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | Ok(Self::from_be_bytes(bytes)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; LEN], Infallible> [INFO] [stdout] --> src/byte_array.rs:107:68 [INFO] [stdout] | [INFO] [stdout] 107 | fn from_bytes(bytes: Self::Array) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 108 | | Ok(bytes) [INFO] [stdout] 109 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; LEN], Infallible> [INFO] [stdout] --> src/byte_array.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | Ok(bytes) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 0], Infallible> [INFO] [stdout] --> src/byte_array.rs:144:59 [INFO] [stdout] | [INFO] [stdout] 144 | fn to_bytes(self) -> Result { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 145 | | Ok([]) [INFO] [stdout] 146 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 0], Infallible> [INFO] [stdout] --> src/byte_array.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | Ok([]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; LEN], Infallible> [INFO] [stdout] --> src/byte_array.rs:153:59 [INFO] [stdout] | [INFO] [stdout] 153 | fn to_bytes(self) -> Result { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 154 | | Ok([0; LEN]) [INFO] [stdout] 155 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; LEN], Infallible> [INFO] [stdout] --> src/byte_array.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | Ok([0; LEN]) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 1], Infallible> [INFO] [stdout] --> src/byte_array.rs:162:59 [INFO] [stdout] | [INFO] [stdout] 162 | fn to_bytes(self) -> Result { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 163 | | Ok([self]) [INFO] [stdout] 164 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 1], Infallible> [INFO] [stdout] --> src/byte_array.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | Ok([self]) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 2], Infallible> [INFO] [stdout] --> src/byte_array.rs:171:59 [INFO] [stdout] | [INFO] [stdout] 171 | fn to_bytes(self) -> Result { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 172 | | Ok(self.to_be_bytes()) [INFO] [stdout] 173 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 2], Infallible> [INFO] [stdout] --> src/byte_array.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | Ok(self.to_be_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 4], Infallible> [INFO] [stdout] --> src/byte_array.rs:180:59 [INFO] [stdout] | [INFO] [stdout] 180 | fn to_bytes(self) -> Result { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 181 | | Ok(self.to_be_bytes()) [INFO] [stdout] 182 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 4], Infallible> [INFO] [stdout] --> src/byte_array.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | Ok(self.to_be_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 8], Infallible> [INFO] [stdout] --> src/byte_array.rs:189:59 [INFO] [stdout] | [INFO] [stdout] 189 | fn to_bytes(self) -> Result { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 190 | | Ok(self.to_be_bytes()) [INFO] [stdout] 191 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 8], Infallible> [INFO] [stdout] --> src/byte_array.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | Ok(self.to_be_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 16], Infallible> [INFO] [stdout] --> src/byte_array.rs:198:59 [INFO] [stdout] | [INFO] [stdout] 198 | fn to_bytes(self) -> Result { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 199 | | Ok(self.to_be_bytes()) [INFO] [stdout] 200 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 16], Infallible> [INFO] [stdout] --> src/byte_array.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | Ok(self.to_be_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; LEN], Infallible> [INFO] [stdout] --> src/byte_array.rs:207:59 [INFO] [stdout] | [INFO] [stdout] 207 | fn to_bytes(self) -> Result { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 208 | | Ok(self) [INFO] [stdout] 209 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; LEN], Infallible> [INFO] [stdout] --> src/byte_array.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | Ok(self) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<::IdType as byte_array::ToByteArray>::Array, Infallible> [INFO] [stdout] --> src/i2c.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | let reg_id = R::readable_id().to_bytes().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<::IdType as byte_array::ToByteArray>::Array, Infallible> [INFO] [stdout] --> src/i2c.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | let reg_id = R::writeable_id().to_bytes().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<::IdType as byte_array::ToByteArray>::Array, Infallible> [INFO] [stdout] --> src/i2c.rs:196:31 [INFO] [stdout] | [INFO] [stdout] 196 | let reg_id = unsafe { C::id().to_bytes().unwrap_unchecked() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<::IdType as byte_array::ToByteArray>::Array, Infallible> [INFO] [stdout] --> src/i2c.rs:250:22 [INFO] [stdout] | [INFO] [stdout] 250 | let reg_id = R::readable_id().to_bytes().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<::IdType as byte_array::ToByteArray>::Array, Infallible> [INFO] [stdout] --> src/i2c.rs:295:22 [INFO] [stdout] | [INFO] [stdout] 295 | let reg_id = R::writeable_id().to_bytes().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<::IdType as byte_array::ToByteArray>::Array, Infallible> [INFO] [stdout] --> src/i2c.rs:360:31 [INFO] [stdout] | [INFO] [stdout] 360 | let reg_id = unsafe { C::id().to_bytes().unwrap_unchecked() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<::IdType as byte_array::ToByteArray>::Array, Infallible> [INFO] [stdout] --> src/spi.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | let reg_id = R::readable_id().to_bytes().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<::IdType as byte_array::ToByteArray>::Array, Infallible> [INFO] [stdout] --> src/spi.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | let reg_id = R::writeable_id().to_bytes().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<::IdType as byte_array::ToByteArray>::Array, Infallible> [INFO] [stdout] --> src/spi.rs:187:31 [INFO] [stdout] | [INFO] [stdout] 187 | let reg_id = unsafe { C::id().to_bytes().unwrap_unchecked() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<::IdType as byte_array::ToByteArray>::Array, Infallible> [INFO] [stdout] --> src/spi.rs:234:31 [INFO] [stdout] | [INFO] [stdout] 234 | let reg_id = unsafe { R::readable_id().to_bytes().unwrap_unchecked() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<::IdType as byte_array::ToByteArray>::Array, Infallible> [INFO] [stdout] --> src/spi.rs:280:31 [INFO] [stdout] | [INFO] [stdout] 280 | let reg_id = unsafe { R::writeable_id().to_bytes().unwrap_unchecked() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<::IdType as byte_array::ToByteArray>::Array, Infallible> [INFO] [stdout] --> src/spi.rs:340:31 [INFO] [stdout] | [INFO] [stdout] 340 | let reg_id = unsafe { C::id().to_bytes().unwrap_unchecked() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `regiface` (lib) due to 42 previous errors [INFO] running `Command { std: "docker" "inspect" "910625116a943df0c3bb2ef48c168b19cb2c42555fa04bf41a0425a9aef58d18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "910625116a943df0c3bb2ef48c168b19cb2c42555fa04bf41a0425a9aef58d18", kill_on_drop: false }` [INFO] [stdout] 910625116a943df0c3bb2ef48c168b19cb2c42555fa04bf41a0425a9aef58d18