[INFO] cloning repository https://github.com/tendan/remote-rc-bluetooth-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tendan/remote-rc-bluetooth-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftendan%2Fremote-rc-bluetooth-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftendan%2Fremote-rc-bluetooth-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1c7613fc5dd2814f8bb30148d7c6827e98877838 [INFO] building tendan/remote-rc-bluetooth-server against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftendan%2Fremote-rc-bluetooth-server" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tendan/remote-rc-bluetooth-server [INFO] finished tweaking git repo https://github.com/tendan/remote-rc-bluetooth-server [INFO] tweaked toml for git repo https://github.com/tendan/remote-rc-bluetooth-server written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tendan/remote-rc-bluetooth-server on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tendan/remote-rc-bluetooth-server 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dbus-crossroads v0.5.2 [INFO] [stderr] Downloaded custom_debug_derive v0.6.2 [INFO] [stderr] Downloaded macaddr v1.0.1 [INFO] [stderr] Downloaded custom_debug v0.6.2 [INFO] [stderr] Downloaded dbus-tokio v0.7.6 [INFO] [stderr] Downloaded zbus_macros v5.7.0 [INFO] [stderr] Downloaded zbus v5.7.0 [INFO] [stderr] Downloaded bluer v0.17.3 [INFO] [stderr] Downloaded rppal v0.22.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43fb20a83f47b25e6ab755efe97a9b71ed39be8434f89e920c931815afa4dc99 [INFO] running `Command { std: "docker" "start" "-a" "43fb20a83f47b25e6ab755efe97a9b71ed39be8434f89e920c931815afa4dc99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43fb20a83f47b25e6ab755efe97a9b71ed39be8434f89e920c931815afa4dc99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43fb20a83f47b25e6ab755efe97a9b71ed39be8434f89e920c931815afa4dc99", kill_on_drop: false }` [INFO] [stdout] 43fb20a83f47b25e6ab755efe97a9b71ed39be8434f89e920c931815afa4dc99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d09dab7f90511b4111b94b5bb56d119803f543745f7e5e5c69f556521f8e5a8 [INFO] running `Command { std: "docker" "start" "-a" "3d09dab7f90511b4111b94b5bb56d119803f543745f7e5e5c69f556521f8e5a8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Compiling endi v1.1.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling jiff v0.2.13 [INFO] [stderr] Compiling macaddr v1.0.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling rppal v0.22.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling enumflags2_derive v0.7.11 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling async-signal v0.2.10 [INFO] [stderr] Compiling async-process v2.3.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling custom_debug_derive v0.6.2 [INFO] [stderr] Compiling custom_debug v0.6.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling dbus v0.9.7 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling zvariant_utils v3.2.0 [INFO] [stderr] Compiling enumflags2 v0.7.11 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling zvariant_derive v5.5.3 [INFO] [stderr] Compiling dbus-crossroads v0.5.2 [INFO] [stderr] Compiling dbus-tokio v0.7.6 [INFO] [stderr] Compiling bluer v0.17.3 [INFO] [stderr] Compiling zvariant v5.5.3 [INFO] [stderr] Compiling zbus_names v4.2.0 [INFO] [stderr] Compiling zbus_macros v5.7.0 [INFO] [stderr] Compiling zbus v5.7.0 [INFO] [stderr] Compiling remote-rc-bluetooth-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `atomic::AtomicBool` [INFO] [stdout] --> src/core/commands.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{atomic::AtomicBool, Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CharacteristicControlEvent`, `CharacteristicControl`, `CharacteristicReader`, `CharacteristicWriter`, and `Error` [INFO] [stdout] --> src/core/control.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | CharacteristicControl, CharacteristicControlEvent [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | }, [INFO] [stdout] 5 | CharacteristicReader, CharacteristicWriter [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | }, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `atomic::AtomicBool`, and `time::Duration` [INFO] [stdout] --> src/core/control.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{sync::{atomic::AtomicBool, Arc}, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StreamExt` and `future` [INFO] [stdout] --> src/core/control.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::{future, StreamExt}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncBufReadExt`, `AsyncReadExt`, `BufReader`, `sync::Mutex`, and `time::interval` [INFO] [stdout] --> src/core/control.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | io::{AsyncBufReadExt, AsyncReadExt, BufReader}, sync::Mutex, time::interval [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/core/control.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use log::{error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CharacteristicRead` [INFO] [stdout] --> src/core/app.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | CharacteristicRead, CharacteristicWrite, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicBool` and `Ordering` [INFO] [stdout] --> src/core/app.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | use std::{sync::{atomic::{AtomicBool, Ordering}, Arc}, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `receive_dummy_command` and `send_dummy_command` [INFO] [stdout] --> src/core/app.rs:22:41 [INFO] [stdout] | [INFO] [stdout] 22 | use super::{commands::{control_command, receive_dummy_command, send_dummy_command}, control::on_disconnect}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Channel` [INFO] [stdout] --> src/core/hardware.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use rppal::{gpio::Gpio, pwm::{Channel, Polarity, Pwm}}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/core/adapter.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AdapterEvent` and `Adapter` [INFO] [stdout] --> src/core/adapter.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use bluer::{Adapter, AdapterEvent}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Discoverable`, `Discovering`, `Pairable`, and `Powered` [INFO] [stdout] --> src/core/adapter.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Discoverable, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | Discovering, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | Pairable, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | Powered, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/core/adapter.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use log::{info, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> src/core/adapter.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use futures::{Stream, StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/core/adapter.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use futures::{Stream, StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/core/commands.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | Box::new(move |new_value, req| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dummy_value` [INFO] [stdout] --> src/core/app.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let dummy_value = value.clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dummy_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PULSE_NEUTRAL_US` is never used [INFO] [stdout] --> src/config/spec.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const PULSE_NEUTRAL_US: u64 = 1500; // Center the wheel [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_dummy_command` is never used [INFO] [stdout] --> src/core/commands.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn send_dummy_command(previous_value: Arc>>) -> CharacteristicReadFun { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `receive_dummy_command` is never used [INFO] [stdout] --> src/core/commands.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn receive_dummy_command(previous_value: Arc>>) -> CharacteristicWriteFun { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/core/app.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | ... on_disconnect(/* current_acc */); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 65 | let _ = on_disconnect(/* current_acc */); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bluer v0.17.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "3d09dab7f90511b4111b94b5bb56d119803f543745f7e5e5c69f556521f8e5a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d09dab7f90511b4111b94b5bb56d119803f543745f7e5e5c69f556521f8e5a8", kill_on_drop: false }` [INFO] [stdout] 3d09dab7f90511b4111b94b5bb56d119803f543745f7e5e5c69f556521f8e5a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 884d3e931af66cf3961bc3f233727555569462a57821a07f7e87adb5777fbf0b [INFO] running `Command { std: "docker" "start" "-a" "884d3e931af66cf3961bc3f233727555569462a57821a07f7e87adb5777fbf0b", kill_on_drop: false }` [INFO] [stderr] Compiling remote-rc-bluetooth-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `atomic::AtomicBool` [INFO] [stdout] --> src/core/commands.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{atomic::AtomicBool, Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CharacteristicControlEvent`, `CharacteristicControl`, `CharacteristicReader`, `CharacteristicWriter`, and `Error` [INFO] [stdout] --> src/core/control.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | CharacteristicControl, CharacteristicControlEvent [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | }, [INFO] [stdout] 5 | CharacteristicReader, CharacteristicWriter [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | }, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `atomic::AtomicBool`, and `time::Duration` [INFO] [stdout] --> src/core/control.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{sync::{atomic::AtomicBool, Arc}, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StreamExt` and `future` [INFO] [stdout] --> src/core/control.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::{future, StreamExt}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncBufReadExt`, `AsyncReadExt`, `BufReader`, `sync::Mutex`, and `time::interval` [INFO] [stdout] --> src/core/control.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | io::{AsyncBufReadExt, AsyncReadExt, BufReader}, sync::Mutex, time::interval [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/core/control.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use log::{error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CharacteristicRead` [INFO] [stdout] --> src/core/app.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | CharacteristicRead, CharacteristicWrite, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicBool` and `Ordering` [INFO] [stdout] --> src/core/app.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | use std::{sync::{atomic::{AtomicBool, Ordering}, Arc}, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `receive_dummy_command` and `send_dummy_command` [INFO] [stdout] --> src/core/app.rs:22:41 [INFO] [stdout] | [INFO] [stdout] 22 | use super::{commands::{control_command, receive_dummy_command, send_dummy_command}, control::on_disconnect}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Channel` [INFO] [stdout] --> src/core/hardware.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use rppal::{gpio::Gpio, pwm::{Channel, Polarity, Pwm}}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/core/adapter.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AdapterEvent` and `Adapter` [INFO] [stdout] --> src/core/adapter.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use bluer::{Adapter, AdapterEvent}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Discoverable`, `Discovering`, `Pairable`, and `Powered` [INFO] [stdout] --> src/core/adapter.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Discoverable, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | Discovering, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | Pairable, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | Powered, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/core/adapter.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use log::{info, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> src/core/adapter.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use futures::{Stream, StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/core/adapter.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use futures::{Stream, StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/core/commands.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | Box::new(move |new_value, req| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dummy_value` [INFO] [stdout] --> src/core/app.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let dummy_value = value.clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dummy_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PULSE_NEUTRAL_US` is never used [INFO] [stdout] --> src/config/spec.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const PULSE_NEUTRAL_US: u64 = 1500; // Center the wheel [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_dummy_command` is never used [INFO] [stdout] --> src/core/commands.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn send_dummy_command(previous_value: Arc>>) -> CharacteristicReadFun { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `receive_dummy_command` is never used [INFO] [stdout] --> src/core/commands.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn receive_dummy_command(previous_value: Arc>>) -> CharacteristicWriteFun { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/core/app.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | ... on_disconnect(/* current_acc */); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 65 | let _ = on_disconnect(/* current_acc */); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.52s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bluer v0.17.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "884d3e931af66cf3961bc3f233727555569462a57821a07f7e87adb5777fbf0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "884d3e931af66cf3961bc3f233727555569462a57821a07f7e87adb5777fbf0b", kill_on_drop: false }` [INFO] [stdout] 884d3e931af66cf3961bc3f233727555569462a57821a07f7e87adb5777fbf0b