[INFO] cloning repository https://github.com/frederik-uni/ps5-raspberry-controller [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frederik-uni/ps5-raspberry-controller" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrederik-uni%2Fps5-raspberry-controller", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrederik-uni%2Fps5-raspberry-controller'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 228fff1a79169f6c96d307c9ca4a21500c177526 [INFO] checking frederik-uni/ps5-raspberry-controller against master#ddaf12390d3ffb7d5ba74491a48f3cd528e5d777 for pr-146504 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrederik-uni%2Fps5-raspberry-controller" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/frederik-uni/ps5-raspberry-controller [INFO] finished tweaking git repo https://github.com/frederik-uni/ps5-raspberry-controller [INFO] tweaked toml for git repo https://github.com/frederik-uni/ps5-raspberry-controller written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/frederik-uni/ps5-raspberry-controller on toolchain ddaf12390d3ffb7d5ba74491a48f3cd528e5d777 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/frederik-uni/ps5-raspberry-controller 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" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e15a6161ba1c33405ca9aeddb024d6d2cfde06fd5ccccd2d33b2d03e6de732cc [INFO] running `Command { std: "docker" "start" "-a" "e15a6161ba1c33405ca9aeddb024d6d2cfde06fd5ccccd2d33b2d03e6de732cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e15a6161ba1c33405ca9aeddb024d6d2cfde06fd5ccccd2d33b2d03e6de732cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e15a6161ba1c33405ca9aeddb024d6d2cfde06fd5ccccd2d33b2d03e6de732cc", kill_on_drop: false }` [INFO] [stdout] e15a6161ba1c33405ca9aeddb024d6d2cfde06fd5ccccd2d33b2d03e6de732cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c607dfe5b53d0aa84403a721c8c14db12e14aedbc805063766876dfd01fec42a [INFO] running `Command { std: "docker" "start" "-a" "c607dfe5b53d0aa84403a721c8c14db12e14aedbc805063766876dfd01fec42a", kill_on_drop: false }` [INFO] [stderr] Compiling winnow v0.7.6 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking xdg-home v1.3.0 [INFO] [stderr] Checking macaddr v1.0.1 [INFO] [stderr] Compiling hidapi v2.6.3 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [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 enumflags2_derive v0.7.11 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking async-io v2.4.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling custom_debug_derive v0.6.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking async-signal v0.2.10 [INFO] [stderr] Checking async-process v2.3.0 [INFO] [stderr] Checking custom_debug v0.6.2 [INFO] [stderr] Checking dbus v0.9.7 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking zvariant_utils v3.2.0 [INFO] [stderr] Checking enumflags2 v0.7.11 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Compiling zvariant_derive v5.4.0 [INFO] [stderr] Checking dbus-crossroads v0.5.2 [INFO] [stderr] Checking dbus-tokio v0.7.6 [INFO] [stderr] Compiling bluer v0.17.3 [INFO] [stderr] Compiling zvariant v5.4.0 [INFO] [stderr] Checking zbus_names v4.2.0 [INFO] [stderr] Compiling zbus_macros v5.5.0 [INFO] [stderr] Checking zbus v5.5.0 [INFO] [stderr] Checking bt_hid_gamepad v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bluetooth.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 282 | panic!("Device not found"); [INFO] [stdout] | -------------------------- any code following this expression is unreachable [INFO] [stdout] 283 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_handle` [INFO] [stdout] --> src/bluetooth.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | let app_handle = adapter.serve_gatt_application(app).await?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_handle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bluetooth.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 282 | panic!("Device not found"); [INFO] [stdout] | -------------------------- any code following this expression is unreachable [INFO] [stdout] 283 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_handle` [INFO] [stdout] --> src/bluetooth.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | let app_handle = adapter.serve_gatt_application(app).await?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_handle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HID_REPORT_UUID` is never used [INFO] [stdout] --> src/bluetooth.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const HID_REPORT_UUID: Uuid = bluetooth_uuid_from_u16(0x2A4D); // Report [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_state` is never used [INFO] [stdout] --> src/bluetooth.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl DualSenseController { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn get_state(&self) -> ControllerState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/interfaces/internal.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Macro { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 74 | //input [INFO] [stdout] 75 | include: Buttons, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 76 | exclude: Buttons, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 77 | //output [INFO] [stdout] 78 | filter: Buttons, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 79 | add: Buttons, [INFO] [stdout] | ^^^ [INFO] [stdout] 80 | switch_profile: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 81 | hold_sensitivity: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | macro_list: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PressJoystick`, `Press`, `ReleaseJoystick`, `Release`, and `Sleep` are never constructed [INFO] [stdout] --> src/interfaces/internal.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 85 | enum MacroAction { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 86 | PressJoystick { left: Axis2D, right: Axis2D }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 87 | Press(Buttons), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 88 | ReleaseJoystick { left: Axis2D, right: Axis2D }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 89 | Release(Buttons), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 90 | Sleep(u64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures_util::Future` that must be used [INFO] [stdout] --> src/bluetooth.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | / session.register_agent(Agent { [INFO] [stdout] 144 | | request_default: true, [INFO] [stdout] 145 | | request_pin_code: Some(Box::new(|_device| { [INFO] [stdout] 146 | | Box::pin(async { Ok("0000".to_string()) }) // auto-accept PIN [INFO] [stdout] ... | [INFO] [stdout] 162 | | _non_exhaustive: (), [INFO] [stdout] 163 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HID_REPORT_UUID` is never used [INFO] [stdout] --> src/bluetooth.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const HID_REPORT_UUID: Uuid = bluetooth_uuid_from_u16(0x2A4D); // Report [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_state` is never used [INFO] [stdout] --> src/bluetooth.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl DualSenseController { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn get_state(&self) -> ControllerState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/interfaces/internal.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Macro { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 74 | //input [INFO] [stdout] 75 | include: Buttons, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 76 | exclude: Buttons, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 77 | //output [INFO] [stdout] 78 | filter: Buttons, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 79 | add: Buttons, [INFO] [stdout] | ^^^ [INFO] [stdout] 80 | switch_profile: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 81 | hold_sensitivity: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | macro_list: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PressJoystick`, `Press`, `ReleaseJoystick`, `Release`, and `Sleep` are never constructed [INFO] [stdout] --> src/interfaces/internal.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 85 | enum MacroAction { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 86 | PressJoystick { left: Axis2D, right: Axis2D }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 87 | Press(Buttons), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 88 | ReleaseJoystick { left: Axis2D, right: Axis2D }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 89 | Release(Buttons), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 90 | Sleep(u64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures_util::Future` that must be used [INFO] [stdout] --> src/bluetooth.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | / session.register_agent(Agent { [INFO] [stdout] 144 | | request_default: true, [INFO] [stdout] 145 | | request_pin_code: Some(Box::new(|_device| { [INFO] [stdout] 146 | | Box::pin(async { Ok("0000".to_string()) }) // auto-accept PIN [INFO] [stdout] ... | [INFO] [stdout] 162 | | _non_exhaustive: (), [INFO] [stdout] 163 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.69s [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 1` [INFO] running `Command { std: "docker" "inspect" "c607dfe5b53d0aa84403a721c8c14db12e14aedbc805063766876dfd01fec42a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c607dfe5b53d0aa84403a721c8c14db12e14aedbc805063766876dfd01fec42a", kill_on_drop: false }` [INFO] [stdout] c607dfe5b53d0aa84403a721c8c14db12e14aedbc805063766876dfd01fec42a