[INFO] fetching crate bluerobotics-ping 0.3.5... [INFO] testing bluerobotics-ping-0.3.5 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] extracting crate bluerobotics-ping 0.3.5 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate bluerobotics-ping 0.3.5 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate bluerobotics-ping 0.3.5 [INFO] tweaked toml for crates.io crate bluerobotics-ping 0.3.5 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bluerobotics-ping 0.3.5 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bluerobotics-ping 0.3.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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1f6bba79e5be12d65055abe243c5555dda13120b882a63cd37d5efafa8a867b [INFO] running `Command { std: "docker" "start" "-a" "c1f6bba79e5be12d65055abe243c5555dda13120b882a63cd37d5efafa8a867b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1f6bba79e5be12d65055abe243c5555dda13120b882a63cd37d5efafa8a867b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1f6bba79e5be12d65055abe243c5555dda13120b882a63cd37d5efafa8a867b", kill_on_drop: false }` [INFO] [stdout] c1f6bba79e5be12d65055abe243c5555dda13120b882a63cd37d5efafa8a867b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16e2b435623ebc5cd3723129c336895dec33cc23af197b371a26cab89c9dd3fd [INFO] running `Command { std: "docker" "start" "-a" "16e2b435623ebc5cd3723129c336895dec33cc23af197b371a26cab89c9dd3fd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling clap_builder v4.5.37 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling derive_arbitrary v1.4.1 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling arbitrary v1.4.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling unescaper v0.1.5 [INFO] [stderr] Compiling serialport v4.7.1 [INFO] [stderr] Compiling mio-serial v5.0.6 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-serial v5.4.5 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling bluerobotics-ping v0.3.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluerobotics-ping-1eb54b1a30690b38/out/bluebps.rs:1:14926 [INFO] [stdout] | [INFO] [stdout] 1 | ...tsStruct { fn serialize (& self) -> Vec < u8 > { let mut buffer : Vec < u8 > = Default :: default () ; buffer } } impl DeserializePayl... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluerobotics-ping-1eb54b1a30690b38/out/bluebps.rs:1:15053 [INFO] [stdout] | [INFO] [stdout] 1 | ...ltsStruct { fn deserialize (payload : & [u8]) -> Self { Self { } } } impl MessageInfo for ResetDefaultsStruct { fn id () -> u16 { 9202... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluerobotics-ping-1eb54b1a30690b38/out/bluebps.rs:1:24522 [INFO] [stdout] | [INFO] [stdout] 1 | ...shStruct { fn serialize (& self) -> Vec < u8 > { let mut buffer : Vec < u8 > = Default :: default () ; buffer } } impl DeserializePayl... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluerobotics-ping-1eb54b1a30690b38/out/bluebps.rs:1:24646 [INFO] [stdout] | [INFO] [stdout] 1 | ...ashStruct { fn deserialize (payload : & [u8]) -> Self { Self { } } } impl MessageInfo for EraseFlashStruct { fn id () -> u16 { 9201u16... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluerobotics-ping-1eb54b1a30690b38/out/ping360.rs:1:28634 [INFO] [stdout] | [INFO] [stdout] 1 | ...ffStruct { fn serialize (& self) -> Vec < u8 > { let mut buffer : Vec < u8 > = Default :: default () ; buffer } } impl DeserializePayl... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluerobotics-ping-1eb54b1a30690b38/out/ping360.rs:1:28756 [INFO] [stdout] | [INFO] [stdout] 1 | ...OffStruct { fn deserialize (payload : & [u8]) -> Self { Self { } } } impl MessageInfo for MotorOffStruct { fn id () -> u16 { 2903u16 }... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluerobotics-ping-1eb54b1a30690b38/out/ping1d.rs:1:35853 [INFO] [stdout] | [INFO] [stdout] 1 | ...erStruct { fn serialize (& self) -> Vec < u8 > { let mut buffer : Vec < u8 > = Default :: default () ; buffer } } impl DeserializePayl... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluerobotics-ping-1eb54b1a30690b38/out/ping1d.rs:1:35981 [INFO] [stdout] | [INFO] [stdout] 1 | ...derStruct { fn deserialize (payload : & [u8]) -> Self { Self { } } } impl MessageInfo for GotoBootloaderStruct { fn id () -> u16 { 110... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/device.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | async fn send_general_request(&self, requested_id: u16) -> Result<(), PingError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 126 ~ fn send_general_request(&self, requested_id: u16) -> impl std::future::Future> + Send {async { [INFO] [stdout] 127 | let request = [INFO] [stdout] ... [INFO] [stdout] 136 | Ok(()) [INFO] [stdout] 137 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/device.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | async fn wait_for_message( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 139 ~ fn wait_for_message( [INFO] [stdout] 140 | &self, [INFO] [stdout] 141 | mut receiver: tokio::sync::broadcast::Receiver, [INFO] [stdout] 142 ~ ) -> impl std::future::Future> + Send [INFO] [stdout] 143 | where [INFO] [stdout] 144 | T: crate::message::MessageInfo + std::marker::Sync + Clone + std::marker::Send, [INFO] [stdout] 145 ~ {async { [INFO] [stdout] 146 | let future = async move { [INFO] [stdout] ... [INFO] [stdout] 176 | } [INFO] [stdout] 177 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/device.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | async fn wait_for_ack( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 179 ~ fn wait_for_ack( [INFO] [stdout] 180 | &self, [INFO] [stdout] 181 | mut receiver: tokio::sync::broadcast::Receiver, [INFO] [stdout] 182 | message_id: u16, [INFO] [stdout] 183 ~ ) -> impl std::future::Future> + Send {async { [INFO] [stdout] 184 | let future = async move { [INFO] [stdout] ... [INFO] [stdout] 218 | } [INFO] [stdout] 219 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/device.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | async fn request(&self) -> Result [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 221 ~ fn request(&self) -> impl std::future::Future> + Send [INFO] [stdout] 222 | where [INFO] [stdout] 223 | T: crate::message::MessageInfo + std::marker::Sync + Clone + std::marker::Send, [INFO] [stdout] 224 ~ {async { [INFO] [stdout] 225 | let receiver = self.subscribe(); [INFO] [stdout] ... [INFO] [stdout] 229 | self.wait_for_message(receiver).await [INFO] [stdout] 230 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/device.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | async fn device_information(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 233 ~ fn device_information(&self) -> impl std::future::Future> + Send {async { [INFO] [stdout] 234 | self.request().await [INFO] [stdout] 235 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/device.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | async fn protocol_version(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 237 ~ fn protocol_version(&self) -> impl std::future::Future> + Send {async { [INFO] [stdout] 238 | self.request().await [INFO] [stdout] 239 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/device.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | async fn set_device_id(&self, device_id: u8) -> Result<(), PingError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 243 ~ fn set_device_id(&self, device_id: u8) -> impl std::future::Future> + Send {async { [INFO] [stdout] 244 | let request = common::Messages::SetDeviceId(common::SetDeviceIdStruct { device_id }); [INFO] [stdout] ... [INFO] [stdout] 250 | .await [INFO] [stdout] 251 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 15s [INFO] running `Command { std: "docker" "inspect" "16e2b435623ebc5cd3723129c336895dec33cc23af197b371a26cab89c9dd3fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16e2b435623ebc5cd3723129c336895dec33cc23af197b371a26cab89c9dd3fd", kill_on_drop: false }` [INFO] [stdout] 16e2b435623ebc5cd3723129c336895dec33cc23af197b371a26cab89c9dd3fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d57af5c40d3d50ed6c8ad66fa1eace877fe68e7ad0dd7e1ce7cc7afae2d48d21 [INFO] running `Command { std: "docker" "start" "-a" "d57af5c40d3d50ed6c8ad66fa1eace877fe68e7ad0dd7e1ce7cc7afae2d48d21", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling borrow-or-share v0.2.2 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling uuid-simd v0.8.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling fraction v0.15.3 [INFO] [stderr] Compiling num-cmp v0.1.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling fancy-regex v0.14.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_arbitrary v1.4.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling tracing-test-macro v0.2.5 [INFO] [stderr] Compiling arbitrary v1.4.1 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling unescaper v0.1.5 [INFO] [stderr] Compiling serialport v4.7.1 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling mio-serial v5.0.6 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-serial v5.4.5 [INFO] [stderr] Compiling udp-stream v0.0.12 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling fluent-uri v0.3.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling tracing-test v0.2.5 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling referencing v0.30.0 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling bluerobotics-ping v0.3.5 (/opt/rustwide/workdir) [INFO] [stderr] Compiling jsonschema v0.30.0 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluerobotics-ping-9c4579b5012ea8ad/out/bluebps.rs:1:5147 [INFO] [stdout] | [INFO] [stdout] 1 | ...shStruct { fn serialize (& self) -> Vec < u8 > { let mut buffer : Vec < u8 > = Default :: default () ; buffer } } impl DeserializePayl... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluerobotics-ping-9c4579b5012ea8ad/out/bluebps.rs:1:5271 [INFO] [stdout] | [INFO] [stdout] 1 | ...ashStruct { fn deserialize (payload : & [u8]) -> Self { Self { } } } impl MessageInfo for EraseFlashStruct { fn id () -> u16 { 9201u16... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluerobotics-ping-9c4579b5012ea8ad/out/bluebps.rs:1:20914 [INFO] [stdout] | [INFO] [stdout] 1 | ...tsStruct { fn serialize (& self) -> Vec < u8 > { let mut buffer : Vec < u8 > = Default :: default () ; buffer } } impl DeserializePayl... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluerobotics-ping-9c4579b5012ea8ad/out/bluebps.rs:1:21041 [INFO] [stdout] | [INFO] [stdout] 1 | ...ltsStruct { fn deserialize (payload : & [u8]) -> Self { Self { } } } impl MessageInfo for ResetDefaultsStruct { fn id () -> u16 { 9202... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluerobotics-ping-9c4579b5012ea8ad/out/ping360.rs:1:6035 [INFO] [stdout] | [INFO] [stdout] 1 | ...ffStruct { fn serialize (& self) -> Vec < u8 > { let mut buffer : Vec < u8 > = Default :: default () ; buffer } } impl DeserializePayl... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluerobotics-ping-9c4579b5012ea8ad/out/ping360.rs:1:6157 [INFO] [stdout] | [INFO] [stdout] 1 | ...OffStruct { fn deserialize (payload : & [u8]) -> Self { Self { } } } impl MessageInfo for MotorOffStruct { fn id () -> u16 { 2903u16 }... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluerobotics-ping-9c4579b5012ea8ad/out/ping1d.rs:1:29640 [INFO] [stdout] | [INFO] [stdout] 1 | ...erStruct { fn serialize (& self) -> Vec < u8 > { let mut buffer : Vec < u8 > = Default :: default () ; buffer } } impl DeserializePayl... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluerobotics-ping-9c4579b5012ea8ad/out/ping1d.rs:1:29768 [INFO] [stdout] | [INFO] [stdout] 1 | ...derStruct { fn deserialize (payload : & [u8]) -> Self { Self { } } } impl MessageInfo for GotoBootloaderStruct { fn id () -> u16 { 110... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/device.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | async fn send_general_request(&self, requested_id: u16) -> Result<(), PingError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 126 ~ fn send_general_request(&self, requested_id: u16) -> impl std::future::Future> + Send {async { [INFO] [stdout] 127 | let request = [INFO] [stdout] ... [INFO] [stdout] 136 | Ok(()) [INFO] [stdout] 137 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/device.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | async fn wait_for_message( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 139 ~ fn wait_for_message( [INFO] [stdout] 140 | &self, [INFO] [stdout] 141 | mut receiver: tokio::sync::broadcast::Receiver, [INFO] [stdout] 142 ~ ) -> impl std::future::Future> + Send [INFO] [stdout] 143 | where [INFO] [stdout] 144 | T: crate::message::MessageInfo + std::marker::Sync + Clone + std::marker::Send, [INFO] [stdout] 145 ~ {async { [INFO] [stdout] 146 | let future = async move { [INFO] [stdout] ... [INFO] [stdout] 176 | } [INFO] [stdout] 177 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/device.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | async fn wait_for_ack( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 179 ~ fn wait_for_ack( [INFO] [stdout] 180 | &self, [INFO] [stdout] 181 | mut receiver: tokio::sync::broadcast::Receiver, [INFO] [stdout] 182 | message_id: u16, [INFO] [stdout] 183 ~ ) -> impl std::future::Future> + Send {async { [INFO] [stdout] 184 | let future = async move { [INFO] [stdout] ... [INFO] [stdout] 218 | } [INFO] [stdout] 219 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/device.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | async fn request(&self) -> Result [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 221 ~ fn request(&self) -> impl std::future::Future> + Send [INFO] [stdout] 222 | where [INFO] [stdout] 223 | T: crate::message::MessageInfo + std::marker::Sync + Clone + std::marker::Send, [INFO] [stdout] 224 ~ {async { [INFO] [stdout] 225 | let receiver = self.subscribe(); [INFO] [stdout] ... [INFO] [stdout] 229 | self.wait_for_message(receiver).await [INFO] [stdout] 230 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/device.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | async fn device_information(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 233 ~ fn device_information(&self) -> impl std::future::Future> + Send {async { [INFO] [stdout] 234 | self.request().await [INFO] [stdout] 235 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/device.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | async fn protocol_version(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 237 ~ fn protocol_version(&self) -> impl std::future::Future> + Send {async { [INFO] [stdout] 238 | self.request().await [INFO] [stdout] 239 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/device.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | async fn set_device_id(&self, device_id: u8) -> Result<(), PingError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 243 ~ fn set_device_id(&self, device_id: u8) -> impl std::future::Future> + Send {async { [INFO] [stdout] 244 | let request = common::Messages::SetDeviceId(common::SetDeviceIdStruct { device_id }); [INFO] [stdout] ... [INFO] [stdout] 250 | .await [INFO] [stdout] 251 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `sleep` [INFO] [stdout] --> tests/async_codec.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::time::{sleep, Duration}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluerobotics-ping-9c4579b5012ea8ad/out/bluebps.rs:1:5147 [INFO] [stdout] | [INFO] [stdout] 1 | ...shStruct { fn serialize (& self) -> Vec < u8 > { let mut buffer : Vec < u8 > = Default :: default () ; buffer } } impl DeserializePayl... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluerobotics-ping-9c4579b5012ea8ad/out/bluebps.rs:1:5271 [INFO] [stdout] | [INFO] [stdout] 1 | ...ashStruct { fn deserialize (payload : & [u8]) -> Self { Self { } } } impl MessageInfo for EraseFlashStruct { fn id () -> u16 { 9201u16... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluerobotics-ping-9c4579b5012ea8ad/out/bluebps.rs:1:20914 [INFO] [stdout] | [INFO] [stdout] 1 | ...tsStruct { fn serialize (& self) -> Vec < u8 > { let mut buffer : Vec < u8 > = Default :: default () ; buffer } } impl DeserializePayl... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluerobotics-ping-9c4579b5012ea8ad/out/bluebps.rs:1:21041 [INFO] [stdout] | [INFO] [stdout] 1 | ...ltsStruct { fn deserialize (payload : & [u8]) -> Self { Self { } } } impl MessageInfo for ResetDefaultsStruct { fn id () -> u16 { 9202... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluerobotics-ping-9c4579b5012ea8ad/out/ping360.rs:1:6035 [INFO] [stdout] | [INFO] [stdout] 1 | ...ffStruct { fn serialize (& self) -> Vec < u8 > { let mut buffer : Vec < u8 > = Default :: default () ; buffer } } impl DeserializePayl... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluerobotics-ping-9c4579b5012ea8ad/out/ping360.rs:1:6157 [INFO] [stdout] | [INFO] [stdout] 1 | ...OffStruct { fn deserialize (payload : & [u8]) -> Self { Self { } } } impl MessageInfo for MotorOffStruct { fn id () -> u16 { 2903u16 }... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluerobotics-ping-9c4579b5012ea8ad/out/ping1d.rs:1:29640 [INFO] [stdout] | [INFO] [stdout] 1 | ...erStruct { fn serialize (& self) -> Vec < u8 > { let mut buffer : Vec < u8 > = Default :: default () ; buffer } } impl DeserializePayl... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> /opt/rustwide/target/debug/build/bluerobotics-ping-9c4579b5012ea8ad/out/ping1d.rs:1:29768 [INFO] [stdout] | [INFO] [stdout] 1 | ...derStruct { fn deserialize (payload : & [u8]) -> Self { Self { } } } impl MessageInfo for GotoBootloaderStruct { fn id () -> u16 { 110... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/device.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | async fn send_general_request(&self, requested_id: u16) -> Result<(), PingError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 126 ~ fn send_general_request(&self, requested_id: u16) -> impl std::future::Future> + Send {async { [INFO] [stdout] 127 | let request = [INFO] [stdout] ... [INFO] [stdout] 136 | Ok(()) [INFO] [stdout] 137 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/device.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | async fn wait_for_message( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 139 ~ fn wait_for_message( [INFO] [stdout] 140 | &self, [INFO] [stdout] 141 | mut receiver: tokio::sync::broadcast::Receiver, [INFO] [stdout] 142 ~ ) -> impl std::future::Future> + Send [INFO] [stdout] 143 | where [INFO] [stdout] 144 | T: crate::message::MessageInfo + std::marker::Sync + Clone + std::marker::Send, [INFO] [stdout] 145 ~ {async { [INFO] [stdout] 146 | let future = async move { [INFO] [stdout] ... [INFO] [stdout] 176 | } [INFO] [stdout] 177 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/device.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | async fn wait_for_ack( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 179 ~ fn wait_for_ack( [INFO] [stdout] 180 | &self, [INFO] [stdout] 181 | mut receiver: tokio::sync::broadcast::Receiver, [INFO] [stdout] 182 | message_id: u16, [INFO] [stdout] 183 ~ ) -> impl std::future::Future> + Send {async { [INFO] [stdout] 184 | let future = async move { [INFO] [stdout] ... [INFO] [stdout] 218 | } [INFO] [stdout] 219 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/device.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | async fn request(&self) -> Result [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 221 ~ fn request(&self) -> impl std::future::Future> + Send [INFO] [stdout] 222 | where [INFO] [stdout] 223 | T: crate::message::MessageInfo + std::marker::Sync + Clone + std::marker::Send, [INFO] [stdout] 224 ~ {async { [INFO] [stdout] 225 | let receiver = self.subscribe(); [INFO] [stdout] ... [INFO] [stdout] 229 | self.wait_for_message(receiver).await [INFO] [stdout] 230 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/device.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | async fn device_information(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 233 ~ fn device_information(&self) -> impl std::future::Future> + Send {async { [INFO] [stdout] 234 | self.request().await [INFO] [stdout] 235 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/device.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | async fn protocol_version(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 237 ~ fn protocol_version(&self) -> impl std::future::Future> + Send {async { [INFO] [stdout] 238 | self.request().await [INFO] [stdout] 239 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/device.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | async fn set_device_id(&self, device_id: u8) -> Result<(), PingError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 243 ~ fn set_device_id(&self, device_id: u8) -> impl std::future::Future> + Send {async { [INFO] [stdout] 244 | let request = common::Messages::SetDeviceId(common::SetDeviceIdStruct { device_id }); [INFO] [stdout] ... [INFO] [stdout] 250 | .await [INFO] [stdout] 251 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5m 36s [INFO] running `Command { std: "docker" "inspect" "d57af5c40d3d50ed6c8ad66fa1eace877fe68e7ad0dd7e1ce7cc7afae2d48d21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d57af5c40d3d50ed6c8ad66fa1eace877fe68e7ad0dd7e1ce7cc7afae2d48d21", kill_on_drop: false }` [INFO] [stdout] d57af5c40d3d50ed6c8ad66fa1eace877fe68e7ad0dd7e1ce7cc7afae2d48d21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8bd6182b79a341c61bdca4d4bc5009017714c1571b391f32f7627c17cab72f21 [INFO] running `Command { std: "docker" "start" "-a" "8bd6182b79a341c61bdca4d4bc5009017714c1571b391f32f7627c17cab72f21", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> /opt/rustwide/target/debug/build/bluerobotics-ping-9c4579b5012ea8ad/out/bluebps.rs:1:5147 [INFO] [stderr] | [INFO] [stderr] 1 | ...shStruct { fn serialize (& self) -> Vec < u8 > { let mut buffer : Vec < u8 > = Default :: default () ; buffer } } impl DeserializePayl... [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `payload` [INFO] [stderr] --> /opt/rustwide/target/debug/build/bluerobotics-ping-9c4579b5012ea8ad/out/bluebps.rs:1:5271 [INFO] [stderr] | [INFO] [stderr] 1 | ...ashStruct { fn deserialize (payload : & [u8]) -> Self { Self { } } } impl MessageInfo for EraseFlashStruct { fn id () -> u16 { 9201u16... [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> /opt/rustwide/target/debug/build/bluerobotics-ping-9c4579b5012ea8ad/out/bluebps.rs:1:20914 [INFO] [stderr] | [INFO] [stderr] 1 | ...tsStruct { fn serialize (& self) -> Vec < u8 > { let mut buffer : Vec < u8 > = Default :: default () ; buffer } } impl DeserializePayl... [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `payload` [INFO] [stderr] --> /opt/rustwide/target/debug/build/bluerobotics-ping-9c4579b5012ea8ad/out/bluebps.rs:1:21041 [INFO] [stderr] | [INFO] [stderr] 1 | ...ltsStruct { fn deserialize (payload : & [u8]) -> Self { Self { } } } impl MessageInfo for ResetDefaultsStruct { fn id () -> u16 { 9202... [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> /opt/rustwide/target/debug/build/bluerobotics-ping-9c4579b5012ea8ad/out/ping360.rs:1:6035 [INFO] [stderr] | [INFO] [stderr] 1 | ...ffStruct { fn serialize (& self) -> Vec < u8 > { let mut buffer : Vec < u8 > = Default :: default () ; buffer } } impl DeserializePayl... [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `payload` [INFO] [stderr] --> /opt/rustwide/target/debug/build/bluerobotics-ping-9c4579b5012ea8ad/out/ping360.rs:1:6157 [INFO] [stderr] | [INFO] [stderr] 1 | ...OffStruct { fn deserialize (payload : & [u8]) -> Self { Self { } } } impl MessageInfo for MotorOffStruct { fn id () -> u16 { 2903u16 }... [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> /opt/rustwide/target/debug/build/bluerobotics-ping-9c4579b5012ea8ad/out/ping1d.rs:1:29640 [INFO] [stderr] | [INFO] [stderr] 1 | ...erStruct { fn serialize (& self) -> Vec < u8 > { let mut buffer : Vec < u8 > = Default :: default () ; buffer } } impl DeserializePayl... [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `payload` [INFO] [stderr] --> /opt/rustwide/target/debug/build/bluerobotics-ping-9c4579b5012ea8ad/out/ping1d.rs:1:29768 [INFO] [stderr] | [INFO] [stderr] 1 | ...derStruct { fn deserialize (payload : & [u8]) -> Self { Self { } } } impl MessageInfo for GotoBootloaderStruct { fn id () -> u16 { 110... [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/device.rs:126:5 [INFO] [stderr] | [INFO] [stderr] 126 | async fn send_general_request(&self, requested_id: u16) -> Result<(), PingError> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 126 ~ fn send_general_request(&self, requested_id: u16) -> impl std::future::Future> + Send {async { [INFO] [stderr] 127 | let request = [INFO] [stderr] ... [INFO] [stderr] 136 | Ok(()) [INFO] [stderr] 137 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/device.rs:139:5 [INFO] [stderr] | [INFO] [stderr] 139 | async fn wait_for_message( [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 139 ~ fn wait_for_message( [INFO] [stderr] 140 | &self, [INFO] [stderr] 141 | mut receiver: tokio::sync::broadcast::Receiver, [INFO] [stderr] 142 ~ ) -> impl std::future::Future> + Send [INFO] [stderr] 143 | where [INFO] [stderr] 144 | T: crate::message::MessageInfo + std::marker::Sync + Clone + std::marker::Send, [INFO] [stderr] 145 ~ {async { [INFO] [stderr] 146 | let future = async move { [INFO] [stderr] ... [INFO] [stderr] 176 | } [INFO] [stderr] 177 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/device.rs:179:5 [INFO] [stderr] | [INFO] [stderr] 179 | async fn wait_for_ack( [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 179 ~ fn wait_for_ack( [INFO] [stderr] 180 | &self, [INFO] [stderr] 181 | mut receiver: tokio::sync::broadcast::Receiver, [INFO] [stderr] 182 | message_id: u16, [INFO] [stderr] 183 ~ ) -> impl std::future::Future> + Send {async { [INFO] [stderr] 184 | let future = async move { [INFO] [stderr] ... [INFO] [stderr] 218 | } [INFO] [stderr] 219 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/device.rs:221:5 [INFO] [stderr] | [INFO] [stderr] 221 | async fn request(&self) -> Result [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 221 ~ fn request(&self) -> impl std::future::Future> + Send [INFO] [stderr] 222 | where [INFO] [stderr] 223 | T: crate::message::MessageInfo + std::marker::Sync + Clone + std::marker::Send, [INFO] [stderr] 224 ~ {async { [INFO] [stderr] 225 | let receiver = self.subscribe(); [INFO] [stderr] ... [INFO] [stderr] 229 | self.wait_for_message(receiver).await [INFO] [stderr] 230 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/device.rs:233:5 [INFO] [stderr] | [INFO] [stderr] 233 | async fn device_information(&self) -> Result { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 233 ~ fn device_information(&self) -> impl std::future::Future> + Send {async { [INFO] [stderr] 234 | self.request().await [INFO] [stderr] 235 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/device.rs:237:5 [INFO] [stderr] | [INFO] [stderr] 237 | async fn protocol_version(&self) -> Result { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 237 ~ fn protocol_version(&self) -> impl std::future::Future> + Send {async { [INFO] [stderr] 238 | self.request().await [INFO] [stderr] 239 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/device.rs:243:5 [INFO] [stderr] | [INFO] [stderr] 243 | async fn set_device_id(&self, device_id: u8) -> Result<(), PingError> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 243 ~ fn set_device_id(&self, device_id: u8) -> impl std::future::Future> + Send {async { [INFO] [stderr] 244 | let request = common::Messages::SetDeviceId(common::SetDeviceIdStruct { device_id }); [INFO] [stderr] ... [INFO] [stderr] 250 | .await [INFO] [stderr] 251 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `bluerobotics-ping` (lib) generated 15 warnings (run `cargo fix --lib -p bluerobotics-ping` to apply 4 suggestions) [INFO] [stderr] warning: unused imports: `Duration` and `sleep` [INFO] [stderr] --> tests/async_codec.rs:5:19 [INFO] [stderr] | [INFO] [stderr] 5 | use tokio::time::{sleep, Duration}; [INFO] [stderr] | ^^^^^ ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `bluerobotics-ping` (test "async_codec") generated 1 warning (run `cargo fix --test "async_codec"` to apply 1 suggestion) [INFO] [stderr] warning: `bluerobotics-ping` (lib test) generated 15 warnings (15 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bluerobotics_ping-7c302025171e55d3) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test codec::tests::test_ping_codec ... ok [INFO] [stderr] Running tests/async_codec.rs (/opt/rustwide/target/debug/deps/async_codec-55a161c241848b51) [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running tests/builder.rs (/opt/rustwide/target/debug/deps/builder-de51d97d20eede6a) [INFO] [stdout] test test_run_ping_test ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_inner ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running tests/deserialize.rs (/opt/rustwide/target/debug/deps/deserialize-96ea03e020944cf1) [INFO] [stdout] running 1 test [INFO] [stdout] test test_simple_deserialization ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/packer.rs (/opt/rustwide/target/debug/deps/packer-159c142fa19b520b) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running tests/schema_test.rs (/opt/rustwide/target/debug/deps/schema_test-5edc5a12ce255c0e) [INFO] [stderr] Running tests/serialize.rs (/opt/rustwide/target/debug/deps/serialize-0ffcebe28e3b54b5) [INFO] [stdout] test test_same_packer ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_simple_serialization ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests bluerobotics_ping [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8bd6182b79a341c61bdca4d4bc5009017714c1571b391f32f7627c17cab72f21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bd6182b79a341c61bdca4d4bc5009017714c1571b391f32f7627c17cab72f21", kill_on_drop: false }` [INFO] [stdout] 8bd6182b79a341c61bdca4d4bc5009017714c1571b391f32f7627c17cab72f21