[INFO] fetching crate bluerobotics-ping 0.3.5... [INFO] testing bluerobotics-ping-0.3.5 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate bluerobotics-ping 0.3.5 into /workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bluerobotics-ping 0.3.5 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-serial v5.4.5 [INFO] [stderr] Downloaded mio-serial v5.0.6 [INFO] [stderr] Downloaded borrow-or-share v0.2.2 [INFO] [stderr] Downloaded udp-stream v0.0.12 [INFO] [stderr] Downloaded uuid-simd v0.8.0 [INFO] [stderr] Downloaded email_address v0.2.9 [INFO] [stderr] Downloaded schemars_derive v0.9.0 [INFO] [stderr] Downloaded fluent-uri v0.3.2 [INFO] [stderr] Downloaded jsonschema v0.30.0 [INFO] [stderr] Downloaded fraction v0.15.3 [INFO] [stderr] Downloaded serialport v4.7.1 [INFO] [stderr] Downloaded referencing v0.30.0 [INFO] [stderr] Downloaded num-cmp v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa6cdbf12cd21ef59e493eafbb838d4539a7e7c3615b66e08a231678f704eb65 [INFO] running `Command { std: "docker" "start" "-a" "fa6cdbf12cd21ef59e493eafbb838d4539a7e7c3615b66e08a231678f704eb65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa6cdbf12cd21ef59e493eafbb838d4539a7e7c3615b66e08a231678f704eb65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa6cdbf12cd21ef59e493eafbb838d4539a7e7c3615b66e08a231678f704eb65", kill_on_drop: false }` [INFO] [stdout] fa6cdbf12cd21ef59e493eafbb838d4539a7e7c3615b66e08a231678f704eb65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a6b4241fc268975de90a2ae962458cc31b6e7b83edc3479e0a562ceb4c74da89 [INFO] running `Command { std: "docker" "start" "-a" "a6b4241fc268975de90a2ae962458cc31b6e7b83edc3479e0a562ceb4c74da89", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling clap_builder v4.5.37 [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 serialport v4.7.1 [INFO] [stderr] Compiling mio-serial v5.0.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [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 clap_derive v4.5.32 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling arbitrary v1.4.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling clap v4.5.37 [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 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/x86_64-unknown-linux-musl/debug/build/bluerobotics-ping-f99aafb23a2eeaaa/out/bluebps.rs:1:13807 [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/x86_64-unknown-linux-musl/debug/build/bluerobotics-ping-f99aafb23a2eeaaa/out/bluebps.rs:1:13931 [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/x86_64-unknown-linux-musl/debug/build/bluerobotics-ping-f99aafb23a2eeaaa/out/bluebps.rs:1:26991 [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/x86_64-unknown-linux-musl/debug/build/bluerobotics-ping-f99aafb23a2eeaaa/out/bluebps.rs:1:27118 [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/x86_64-unknown-linux-musl/debug/build/bluerobotics-ping-f99aafb23a2eeaaa/out/ping1d.rs:1:5808 [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/x86_64-unknown-linux-musl/debug/build/bluerobotics-ping-f99aafb23a2eeaaa/out/ping1d.rs:1:5936 [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: variable does not need to be mutable [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/bluerobotics-ping-f99aafb23a2eeaaa/out/ping360.rs:1:10489 [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/x86_64-unknown-linux-musl/debug/build/bluerobotics-ping-f99aafb23a2eeaaa/out/ping360.rs:1:10611 [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: 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 1m 01s [INFO] running `Command { std: "docker" "inspect" "a6b4241fc268975de90a2ae962458cc31b6e7b83edc3479e0a562ceb4c74da89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6b4241fc268975de90a2ae962458cc31b6e7b83edc3479e0a562ceb4c74da89", kill_on_drop: false }` [INFO] [stdout] a6b4241fc268975de90a2ae962458cc31b6e7b83edc3479e0a562ceb4c74da89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] fefde6025528947983c777ab3b5a73d377ee95f09516c8b891faf68fcbbe83ac [INFO] running `Command { std: "docker" "start" "-a" "fefde6025528947983c777ab3b5a73d377ee95f09516c8b891faf68fcbbe83ac", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling borrow-or-share v0.2.2 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling mio-serial v5.0.6 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling fancy-regex v0.14.0 [INFO] [stderr] Compiling uuid-simd v0.8.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling fraction v0.15.3 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling num-cmp v0.1.0 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling rand v0.9.1 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling derive_arbitrary v1.4.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling arbitrary v1.4.1 [INFO] [stderr] Compiling tracing-test-macro v0.2.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling udp-stream v0.0.12 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling tokio-serial v5.4.5 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling tracing-test v0.2.5 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling fluent-uri v0.3.2 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling bluerobotics-ping v0.3.5 (/opt/rustwide/workdir) [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling referencing v0.30.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling jsonschema v0.30.0 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/bluerobotics-ping-e2060e41f4cafdf1/out/bluebps.rs:1:23957 [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/x86_64-unknown-linux-musl/debug/build/bluerobotics-ping-e2060e41f4cafdf1/out/bluebps.rs:1:24084 [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/x86_64-unknown-linux-musl/debug/build/bluerobotics-ping-e2060e41f4cafdf1/out/bluebps.rs:1:32126 [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/x86_64-unknown-linux-musl/debug/build/bluerobotics-ping-e2060e41f4cafdf1/out/bluebps.rs:1:32250 [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/x86_64-unknown-linux-musl/debug/build/bluerobotics-ping-e2060e41f4cafdf1/out/ping1d.rs:1:32638 [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/x86_64-unknown-linux-musl/debug/build/bluerobotics-ping-e2060e41f4cafdf1/out/ping1d.rs:1:32766 [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: variable does not need to be mutable [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/bluerobotics-ping-e2060e41f4cafdf1/out/ping360.rs:1:3665 [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/x86_64-unknown-linux-musl/debug/build/bluerobotics-ping-e2060e41f4cafdf1/out/ping360.rs:1:3787 [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: 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/x86_64-unknown-linux-musl/debug/build/bluerobotics-ping-e2060e41f4cafdf1/out/bluebps.rs:1:23957 [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/x86_64-unknown-linux-musl/debug/build/bluerobotics-ping-e2060e41f4cafdf1/out/bluebps.rs:1:24084 [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/x86_64-unknown-linux-musl/debug/build/bluerobotics-ping-e2060e41f4cafdf1/out/bluebps.rs:1:32126 [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/x86_64-unknown-linux-musl/debug/build/bluerobotics-ping-e2060e41f4cafdf1/out/bluebps.rs:1:32250 [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/x86_64-unknown-linux-musl/debug/build/bluerobotics-ping-e2060e41f4cafdf1/out/ping1d.rs:1:32638 [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/x86_64-unknown-linux-musl/debug/build/bluerobotics-ping-e2060e41f4cafdf1/out/ping1d.rs:1:32766 [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: variable does not need to be mutable [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/bluerobotics-ping-e2060e41f4cafdf1/out/ping360.rs:1:3665 [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/x86_64-unknown-linux-musl/debug/build/bluerobotics-ping-e2060e41f4cafdf1/out/ping360.rs:1:3787 [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: 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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcHx0jLI/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libbluerobotics_ping-0a7d762cb4cd011b.rlib,libserde_bytes-a3ea1b48180df690.rlib,libserde-3c7211b3dfe85b38.rlib,libtokio_util-9895ecb1087e781f.rlib,libudp_stream-1c42d4b3e1f5b12f.rlib,libtracing_subscriber-1702dcbd930defba.rlib,libsharded_slab-5f9488bef5ca37f0.rlib,liblazy_static-f3dc5c13b01a78ba.rlib,libmatchers-5ff2d3b779cb6962.rlib,libregex_automata-82f4c97e0059d443.rlib,libregex_syntax-daf98d1477afd15c.rlib,libregex-118ed902b6d442e1.rlib,libregex_automata-d31993ed41eac118.rlib,libaho_corasick-c063ac496b2e1cc2.rlib,libregex_syntax-68ebd4ae9920c658.rlib,libnu_ansi_term-0e6c7c39d87f9499.rlib,liboverload-a584f461fa7ce30b.rlib,libtracing-fa139957bb194e1d.rlib,libthread_local-ab2fc08421247d8d.rlib,libtracing_log-05e30a0ff355f6b9.rlib,libtracing_core-ec52a33076c7eb7c.rlib,libonce_cell-9f23038a26dfc6d0.rlib,libtokio_serial-e8efe792c1732487.rlib,libfutures-6b2e19bcf2584706.rlib,libfutures_executor-57efbd35884129cb.rlib,libfutures_util-a9567c07dbc4a6a1.rlib,libmemchr-8eb551391861f369.rlib,libfutures_io-48a223b618848720.rlib,libslab-14567880f3b21ac9.rlib,libfutures_channel-6b1034c5b0c9853e.rlib,libfutures_sink-5bcde6d6efedd2a7.rlib,libfutures_task-668b9442d038e652.rlib,libpin_utils-b08f1197f0cdae19.rlib,libfutures_core-aea49b3401aac6bb.rlib,libmio_serial-ea6bc973edf109d7.rlib,libnix-f1cb292c25bad9e8.rlib,libserialport-8a55a9593c549c62.rlib,libbitflags-f9de808196a3ee90.rlib,libnix-db0b1585c0471a2b.rlib,libbitflags-e274cd04b58a060d.rlib,libtokio-3afe706959dd4b55.rlib,libsignal_hook_registry-4e2514ebd4f68600.rlib,libsocket2-43415bae39be8204.rlib,libbytes-0deeb68a8e6966b8.rlib,libmio-25cbba021756af53.rlib,liblog-7ed48074b9f3458e.rlib,libparking_lot-1bf99c2b41dc48cd.rlib,libparking_lot_core-024399270feee942.rlib,liblibc-41a7b11af4337826.rlib,libcfg_if-66d55f6b302e88c8.rlib,libsmallvec-fe0f0a076ac92647.rlib,liblock_api-753221fb933900b6.rlib,libscopeguard-40b6106e8a70fb66.rlib,libpin_project_lite-0d5016e1f2870cc0.rlib,libclap-acf15d7a68db549d.rlib,libclap_builder-675e431456299e76.rlib,libstrsim-e5a1ceb0bdbece3f.rlib,libanstream-527927351f6d80a2.rlib,libanstyle_query-ebe1135144359f1f.rlib,libis_terminal_polyfill-67333c1fd864e7ce.rlib,libcolorchoice-aaa33b9b4c6e047f.rlib,libanstyle_parse-5c3251d51efe2012.rlib,libutf8parse-566e819dd32c0a03.rlib,libclap_lex-b04abc9e061f964d.rlib,libanstyle-b75f78861eab6f9d.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcHx0jLI/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/ping_1d-0fbd62377177cb39" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bluerobotics-ping` (example "ping_1d") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "fefde6025528947983c777ab3b5a73d377ee95f09516c8b891faf68fcbbe83ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fefde6025528947983c777ab3b5a73d377ee95f09516c8b891faf68fcbbe83ac", kill_on_drop: false }` [INFO] [stdout] fefde6025528947983c777ab3b5a73d377ee95f09516c8b891faf68fcbbe83ac