[INFO] fetching crate bluenrg 0.1.0... [INFO] checking bluenrg-0.1.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate bluenrg 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate bluenrg 0.1.0 [INFO] finished tweaking crates.io crate bluenrg 0.1.0 [INFO] tweaked toml for crates.io crate bluenrg 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bluenrg 0.1.0 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 7 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.10.0) [INFO] [stderr] Adding embedded-hal v0.2.7 (available: v1.0.0) [INFO] [stderr] Adding nb v0.1.3 (available: v1.1.0) [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9561ebc6aab791ee62d9f1d4a84f6aa72277ea5f4a0876ea914e531c5c9866c [INFO] running `Command { std: "docker" "start" "-a" "c9561ebc6aab791ee62d9f1d4a84f6aa72277ea5f4a0876ea914e531c5c9866c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9561ebc6aab791ee62d9f1d4a84f6aa72277ea5f4a0876ea914e531c5c9866c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9561ebc6aab791ee62d9f1d4a84f6aa72277ea5f4a0876ea914e531c5c9866c", kill_on_drop: false }` [INFO] [stdout] c9561ebc6aab791ee62d9f1d4a84f6aa72277ea5f4a0876ea914e531c5c9866c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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] 93a31700c019fbdff9b9039990d87b9e1112162fe64b9fb2105ddda1e026cf76 [INFO] running `Command { std: "docker" "start" "-a" "93a31700c019fbdff9b9039990d87b9e1112162fe64b9fb2105ddda1e026cf76", kill_on_drop: false }` [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking bluetooth-hci v0.1.0 [INFO] [stderr] Checking bluenrg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/cb.rs:13:40 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(buffer: &'a mut [T]) -> Buffer { [INFO] [stdout] | -- ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(buffer: &'a mut [T]) -> Buffer<'a, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/event/mod.rs:1328:25 [INFO] [stdout] | [INFO] [stdout] 1328 | let rssi = unsafe { mem::transmute::(buffer[buffer.len() - 1]) }; [INFO] [stdout] | ------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::cast_signed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/event/mod.rs:1643:34 [INFO] [stdout] | [INFO] [stdout] 1643 | pub fn handle_uuid_pair_iter(&self) -> HandleUuidPairIterator { [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] 1643 | pub fn handle_uuid_pair_iter(&self) -> HandleUuidPairIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/event/mod.rs:1861:30 [INFO] [stdout] | [INFO] [stdout] 1861 | pub fn handle_pairs_iter(&self) -> HandleInfoPairIterator { [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] 1861 | pub fn handle_pairs_iter(&self) -> HandleInfoPairIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/event/mod.rs:1991:35 [INFO] [stdout] | [INFO] [stdout] 1991 | pub fn handle_value_pair_iter(&self) -> HandleValuePairIterator { [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] 1991 | pub fn handle_value_pair_iter(&self) -> HandleValuePairIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/event/mod.rs:2141:32 [INFO] [stdout] | [INFO] [stdout] 2141 | pub fn attribute_data_iter(&self) -> AttributeDataIterator { [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] 2141 | pub fn attribute_data_iter(&self) -> AttributeDataIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/cb.rs:13:40 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(buffer: &'a mut [T]) -> Buffer { [INFO] [stdout] | -- ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(buffer: &'a mut [T]) -> Buffer<'a, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/event/mod.rs:1328:25 [INFO] [stdout] | [INFO] [stdout] 1328 | let rssi = unsafe { mem::transmute::(buffer[buffer.len() - 1]) }; [INFO] [stdout] | ------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::cast_signed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/event/mod.rs:1643:34 [INFO] [stdout] | [INFO] [stdout] 1643 | pub fn handle_uuid_pair_iter(&self) -> HandleUuidPairIterator { [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] 1643 | pub fn handle_uuid_pair_iter(&self) -> HandleUuidPairIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/event/mod.rs:1861:30 [INFO] [stdout] | [INFO] [stdout] 1861 | pub fn handle_pairs_iter(&self) -> HandleInfoPairIterator { [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] 1861 | pub fn handle_pairs_iter(&self) -> HandleInfoPairIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/event/mod.rs:1991:35 [INFO] [stdout] | [INFO] [stdout] 1991 | pub fn handle_value_pair_iter(&self) -> HandleValuePairIterator { [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] 1991 | pub fn handle_value_pair_iter(&self) -> HandleValuePairIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/event/mod.rs:2141:32 [INFO] [stdout] | [INFO] [stdout] 2141 | pub fn attribute_data_iter(&self) -> AttributeDataIterator { [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] 2141 | pub fn attribute_data_iter(&self) -> AttributeDataIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> tests/fixture/mod.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | bnrg: unsafe { BlueNRG::new(&mut DUMMY_RX_BUFFER, DummyPin, DummyPin, DummyPin) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 21 | bnrg: unsafe { BlueNRG::new(&raw mut DUMMY_RX_BUFFER, DummyPin, DummyPin, DummyPin) }, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> tests/fixture/mod.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | bnrg: unsafe { BlueNRG::new(&mut DUMMY_RX_BUFFER, DummyPin, DummyPin, DummyPin) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 21 | bnrg: unsafe { BlueNRG::new(&raw mut DUMMY_RX_BUFFER, DummyPin, DummyPin, DummyPin) }, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixture/mod.rs:132:56 [INFO] [stdout] | [INFO] [stdout] 132 | fn is_set_high(&self) -> Result { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 133 | | Ok(true) // Needs to indicate data ready [INFO] [stdout] 134 | | } [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] --> tests/fixture/mod.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | Ok(true) // Needs to indicate data ready [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixture/mod.rs:136:55 [INFO] [stdout] | [INFO] [stdout] 136 | fn is_set_low(&self) -> Result { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 137 | | Ok(false) [INFO] [stdout] 138 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixture/mod.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | Ok(false) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixture/mod.rs:144:52 [INFO] [stdout] | [INFO] [stdout] 144 | fn is_high(&self) -> Result { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 145 | | Ok(true) // Needs to indicate data ready [INFO] [stdout] 146 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixture/mod.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | Ok(true) // Needs to indicate data ready [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixture/mod.rs:148:51 [INFO] [stdout] | [INFO] [stdout] 148 | fn is_low(&self) -> Result { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 149 | | Ok(false) [INFO] [stdout] 150 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixture/mod.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | Ok(false) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixture/mod.rs:132:56 [INFO] [stdout] | [INFO] [stdout] 132 | fn is_set_high(&self) -> Result { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 133 | | Ok(true) // Needs to indicate data ready [INFO] [stdout] 134 | | } [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] --> tests/fixture/mod.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | Ok(true) // Needs to indicate data ready [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixture/mod.rs:136:55 [INFO] [stdout] | [INFO] [stdout] 136 | fn is_set_low(&self) -> Result { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 137 | | Ok(false) [INFO] [stdout] 138 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixture/mod.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | Ok(false) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixture/mod.rs:144:52 [INFO] [stdout] | [INFO] [stdout] 144 | fn is_high(&self) -> Result { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 145 | | Ok(true) // Needs to indicate data ready [INFO] [stdout] 146 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixture/mod.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | Ok(true) // Needs to indicate data ready [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixture/mod.rs:148:51 [INFO] [stdout] | [INFO] [stdout] 148 | fn is_low(&self) -> Result { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 149 | | Ok(false) [INFO] [stdout] 150 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixture/mod.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | Ok(false) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bluenrg` (test "l2cap") due to 8 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bluenrg` (test "hal") due to 8 previous errors; 1 warning emitted [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> tests/fixture/mod.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | bnrg: unsafe { BlueNRG::new(&mut DUMMY_RX_BUFFER, DummyPin, DummyPin, DummyPin) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 21 | bnrg: unsafe { BlueNRG::new(&raw mut DUMMY_RX_BUFFER, DummyPin, DummyPin, DummyPin) }, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixture/mod.rs:132:56 [INFO] [stdout] | [INFO] [stdout] 132 | fn is_set_high(&self) -> Result { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 133 | | Ok(true) // Needs to indicate data ready [INFO] [stdout] 134 | | } [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] --> tests/fixture/mod.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | Ok(true) // Needs to indicate data ready [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixture/mod.rs:136:55 [INFO] [stdout] | [INFO] [stdout] 136 | fn is_set_low(&self) -> Result { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 137 | | Ok(false) [INFO] [stdout] 138 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixture/mod.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | Ok(false) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixture/mod.rs:144:52 [INFO] [stdout] | [INFO] [stdout] 144 | fn is_high(&self) -> Result { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 145 | | Ok(true) // Needs to indicate data ready [INFO] [stdout] 146 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixture/mod.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | Ok(true) // Needs to indicate data ready [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixture/mod.rs:148:51 [INFO] [stdout] | [INFO] [stdout] 148 | fn is_low(&self) -> Result { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 149 | | Ok(false) [INFO] [stdout] 150 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixture/mod.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | Ok(false) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bluenrg` (test "gatt") due to 8 previous errors; 1 warning emitted [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> tests/fixture/mod.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | bnrg: unsafe { BlueNRG::new(&mut DUMMY_RX_BUFFER, DummyPin, DummyPin, DummyPin) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 21 | bnrg: unsafe { BlueNRG::new(&raw mut DUMMY_RX_BUFFER, DummyPin, DummyPin, DummyPin) }, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixture/mod.rs:132:56 [INFO] [stdout] | [INFO] [stdout] 132 | fn is_set_high(&self) -> Result { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 133 | | Ok(true) // Needs to indicate data ready [INFO] [stdout] 134 | | } [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] --> tests/fixture/mod.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | Ok(true) // Needs to indicate data ready [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixture/mod.rs:136:55 [INFO] [stdout] | [INFO] [stdout] 136 | fn is_set_low(&self) -> Result { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 137 | | Ok(false) [INFO] [stdout] 138 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixture/mod.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | Ok(false) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixture/mod.rs:144:52 [INFO] [stdout] | [INFO] [stdout] 144 | fn is_high(&self) -> Result { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 145 | | Ok(true) // Needs to indicate data ready [INFO] [stdout] 146 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixture/mod.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | Ok(true) // Needs to indicate data ready [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixture/mod.rs:148:51 [INFO] [stdout] | [INFO] [stdout] 148 | fn is_low(&self) -> Result { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 149 | | Ok(false) [INFO] [stdout] 150 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/fixture/mod.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | Ok(false) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bluenrg` (test "gap") due to 8 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "93a31700c019fbdff9b9039990d87b9e1112162fe64b9fb2105ddda1e026cf76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93a31700c019fbdff9b9039990d87b9e1112162fe64b9fb2105ddda1e026cf76", kill_on_drop: false }` [INFO] [stdout] 93a31700c019fbdff9b9039990d87b9e1112162fe64b9fb2105ddda1e026cf76