[INFO] cloning repository https://github.com/525bigword/shuttle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/525bigword/shuttle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F525bigword%2Fshuttle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F525bigword%2Fshuttle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e4220d19b965e423b76ff24581433b355e9e6418 [INFO] testing 525bigword/shuttle against 1.99.0-beta.8 for beta-1.100-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F525bigword%2Fshuttle" "/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/525bigword/shuttle [INFO] finished tweaking git repo https://github.com/525bigword/shuttle [INFO] tweaked toml for git repo https://github.com/525bigword/shuttle written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/525bigword/shuttle on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/525bigword/shuttle 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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-bidi v0.3.10 [INFO] [stderr] Downloaded net2 v0.2.38 [INFO] [stderr] Downloaded ws v0.9.2 [INFO] [stderr] Downloaded mouse_position v0.1.3 [INFO] [stderr] Downloaded futures-core v0.3.26 [INFO] [stderr] Downloaded windows-tokens v0.39.0 [INFO] [stderr] Downloaded windows-implement v0.39.0 [INFO] [stderr] Downloaded x11 v2.21.0 [INFO] [stderr] Downloaded tokio-macros v1.8.2 [INFO] [stderr] Downloaded futures-sink v0.3.26 [INFO] [stderr] Downloaded windows-targets v0.42.1 [INFO] [stderr] Downloaded futures-task v0.3.26 [INFO] [stderr] Downloaded futures-macro v0.3.26 [INFO] [stderr] Downloaded custom_debug v0.5.0 [INFO] [stderr] Downloaded futures-io v0.3.26 [INFO] [stderr] Downloaded custom_debug_derive v0.5.0 [INFO] [stderr] Downloaded futures-channel v0.3.26 [INFO] [stderr] Downloaded dbus-tokio v0.7.5 [INFO] [stderr] Downloaded proc-macro2 v1.0.51 [INFO] [stderr] Downloaded futures-executor v0.3.26 [INFO] [stderr] Downloaded displaydoc v0.2.3 [INFO] [stderr] Downloaded dbus-crossroads v0.5.2 [INFO] [stderr] Downloaded async-trait v0.1.64 [INFO] [stderr] Downloaded bluest v0.5.3 [INFO] [stderr] Downloaded futures v0.3.26 [INFO] [stderr] Downloaded tokio-util v0.7.7 [INFO] [stderr] Downloaded serde_json v1.0.93 [INFO] [stderr] Downloaded dbus v0.9.7 [INFO] [stderr] Downloaded bluer v0.15.7 [INFO] [stderr] Downloaded futures-util v0.3.26 [INFO] [stderr] Downloaded regex v1.7.1 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.42.1 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.42.1 [INFO] [stderr] Downloaded tokio v1.25.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.39.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.39.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.42.1 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.42.1 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.42.1 [INFO] [stderr] Downloaded windows_i686_msvc v0.42.1 [INFO] [stderr] Downloaded windows_i686_gnu v0.42.1 [INFO] [stderr] Downloaded windows_i686_msvc v0.39.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.39.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.39.0 [INFO] [stderr] Downloaded libdbus-sys v0.2.4 [INFO] [stderr] Downloaded windows v0.39.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 3fc353d3b79d1e1c7d4a2889af1db0dd741b4412e7926d8b9f31ff8c4379bff9 [INFO] running `Command { std: "docker" "start" "3fc353d3b79d1e1c7d4a2889af1db0dd741b4412e7926d8b9f31ff8c4379bff9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fc353d3b79d1e1c7d4a2889af1db0dd741b4412e7926d8b9f31ff8c4379bff9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3fc353d3b79d1e1c7d4a2889af1db0dd741b4412e7926d8b9f31ff8c4379bff9" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fc353d3b79d1e1c7d4a2889af1db0dd741b4412e7926d8b9f31ff8c4379bff9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3fc353d3b79d1e1c7d4a2889af1db0dd741b4412e7926d8b9f31ff8c4379bff9" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling proc-macro2 v1.0.51 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.26 [INFO] [stderr] Compiling futures-task v0.3.26 [INFO] [stderr] Compiling futures-channel v0.3.26 [INFO] [stderr] Compiling futures-util v0.3.26 [INFO] [stderr] Compiling futures-sink v0.3.26 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling futures-io v0.3.26 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling tokio v1.25.0 [INFO] [stderr] Compiling rustversion v1.0.11 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde_json v1.0.93 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling uuid v1.3.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling unicode-bidi v0.3.10 [INFO] [stderr] Compiling async-trait v0.1.64 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling macaddr v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling libdbus-sys v0.2.4 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling net2 v0.2.38 [INFO] [stderr] Compiling nix v0.26.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling ws v0.9.2 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling mouse_position v0.1.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling futures-macro v0.3.26 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling custom_debug_derive v0.5.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling displaydoc v0.2.3 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling custom_debug v0.5.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling dbus v0.9.7 [INFO] [stderr] Compiling futures-executor v0.3.26 [INFO] [stderr] Compiling futures v0.3.26 [INFO] [stderr] Compiling tokio-stream v0.1.11 [INFO] [stderr] Compiling dbus-crossroads v0.5.2 [INFO] [stderr] Compiling dbus-tokio v0.7.5 [INFO] [stderr] Compiling bluer v0.15.7 [INFO] [stderr] Compiling bluest v0.5.3 [INFO] [stderr] Compiling shuttle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/device.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread; [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 import: `info` [INFO] [stdout] --> src/event.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use log::{info, debug}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mac` [INFO] [stdout] --> src/./os/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(mac)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mac)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mac)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mac` [INFO] [stdout] --> src/./os/mod.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(mac)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mac)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mac)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `uuid` is assigned to, but never used [INFO] [stdout] --> src/socket.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | let mut uuid = rt.block_on(future).to_vec(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_uuid` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `uuid` is never read [INFO] [stdout] --> src/socket.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | uuid = str_list; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/socket.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 172 | LockDevice => Socket::LockDevice, [INFO] [stdout] | ---------- matches any value [INFO] [stdout] 173 | Other => Socket::Other, [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/socket.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let LockDevice = Message::Text("LockDevice".to_string()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `LockDevice` [INFO] [stdout] --> src/socket.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let LockDevice = Message::Text("LockDevice".to_string()); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_LockDevice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Other` [INFO] [stdout] --> src/socket.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let Other = Message::Text("Other".to_string()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `LockDevice` [INFO] [stdout] --> src/socket.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | LockDevice => Socket::LockDevice, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_LockDevice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Other` [INFO] [stdout] --> src/socket.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | Other => Socket::Other, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect_device` is never used [INFO] [stdout] --> src/device.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn connect_device(device: &Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `message_to_socket` is never used [INFO] [stdout] --> src/socket.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 165 | impl Socket { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 166 | fn message_to_socket(socket: &Message) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/device.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | adapter.wait_available().await; [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] 21 | let _ = adapter.wait_available().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Future` that must be used [INFO] [stdout] --> src/device.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | adapter.connect_device(&device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Future` that must be used [INFO] [stdout] --> src/device.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | adapter.disconnect_device(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LockDevice` should have a snake case name [INFO] [stdout] --> src/socket.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let LockDevice = Message::Text("LockDevice".to_string()); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `lock_device` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Other` should have a snake case name [INFO] [stdout] --> src/socket.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let Other = Message::Text("Other".to_string()); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LockDevice` should have a snake case name [INFO] [stdout] --> src/socket.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | LockDevice => Socket::LockDevice, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `lock_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Other` should have a snake case name [INFO] [stdout] --> src/socket.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | Other => Socket::Other, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `other` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.27s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bluer v0.15.7 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "3fc353d3b79d1e1c7d4a2889af1db0dd741b4412e7926d8b9f31ff8c4379bff9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3fc353d3b79d1e1c7d4a2889af1db0dd741b4412e7926d8b9f31ff8c4379bff9" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling shuttle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/device.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread; [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 import: `info` [INFO] [stdout] --> src/event.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use log::{info, debug}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mac` [INFO] [stdout] --> src/./os/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(mac)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mac)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mac)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mac` [INFO] [stdout] --> src/./os/mod.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(mac)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mac)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mac)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uuid` [INFO] [stdout] --> src/device.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 110 | let (uuid, device) = super::get_device(services); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `uuid` is assigned to, but never used [INFO] [stdout] --> src/socket.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | let mut uuid = rt.block_on(future).to_vec(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_uuid` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `uuid` is never read [INFO] [stdout] --> src/socket.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | uuid = str_list; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/socket.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 172 | LockDevice => Socket::LockDevice, [INFO] [stdout] | ---------- matches any value [INFO] [stdout] 173 | Other => Socket::Other, [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/socket.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let LockDevice = Message::Text("LockDevice".to_string()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `LockDevice` [INFO] [stdout] --> src/socket.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let LockDevice = Message::Text("LockDevice".to_string()); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_LockDevice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Other` [INFO] [stdout] --> src/socket.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let Other = Message::Text("Other".to_string()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `LockDevice` [INFO] [stdout] --> src/socket.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | LockDevice => Socket::LockDevice, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_LockDevice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Other` [INFO] [stdout] --> src/socket.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | Other => Socket::Other, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `message_to_socket` is never used [INFO] [stdout] --> src/socket.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 165 | impl Socket { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 166 | fn message_to_socket(socket: &Message) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/device.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | adapter.wait_available().await; [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] 21 | let _ = adapter.wait_available().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Future` that must be used [INFO] [stdout] --> src/device.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | adapter.connect_device(&device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Future` that must be used [INFO] [stdout] --> src/device.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | adapter.disconnect_device(device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LockDevice` should have a snake case name [INFO] [stdout] --> src/socket.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let LockDevice = Message::Text("LockDevice".to_string()); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `lock_device` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Other` should have a snake case name [INFO] [stdout] --> src/socket.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let Other = Message::Text("Other".to_string()); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LockDevice` should have a snake case name [INFO] [stdout] --> src/socket.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | LockDevice => Socket::LockDevice, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `lock_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Other` should have a snake case name [INFO] [stdout] --> src/socket.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | Other => Socket::Other, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `other` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.81s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bluer v0.15.7 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "3fc353d3b79d1e1c7d4a2889af1db0dd741b4412e7926d8b9f31ff8c4379bff9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3fc353d3b79d1e1c7d4a2889af1db0dd741b4412e7926d8b9f31ff8c4379bff9" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> src/device.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `info` [INFO] [stderr] --> src/event.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | use log::{info, debug}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `mac` [INFO] [stderr] --> src/./os/mod.rs:5:7 [INFO] [stderr] | [INFO] [stderr] 5 | #[cfg(mac)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mac)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mac)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `mac` [INFO] [stderr] --> src/./os/mod.rs:15:7 [INFO] [stderr] | [INFO] [stderr] 15 | #[cfg(mac)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mac)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mac)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused variable: `uuid` [INFO] [stderr] --> src/device.rs:110:14 [INFO] [stderr] | [INFO] [stderr] 110 | let (uuid, device) = super::get_device(services); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable `uuid` is assigned to, but never used [INFO] [stderr] --> src/socket.rs:80:25 [INFO] [stderr] | [INFO] [stderr] 80 | let mut uuid = rt.block_on(future).to_vec(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_uuid` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `uuid` is never read [INFO] [stderr] --> src/socket.rs:81:21 [INFO] [stderr] | [INFO] [stderr] 81 | uuid = str_list; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/socket.rs:173:13 [INFO] [stderr] | [INFO] [stderr] 172 | LockDevice => Socket::LockDevice, [INFO] [stderr] | ---------- matches any value [INFO] [stderr] 173 | Other => Socket::Other, [INFO] [stderr] | ^^^^^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stderr] --> src/socket.rs:167:13 [INFO] [stderr] | [INFO] [stderr] 167 | let LockDevice = Message::Text("LockDevice".to_string()); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `LockDevice` [INFO] [stderr] --> src/socket.rs:167:13 [INFO] [stderr] | [INFO] [stderr] 167 | let LockDevice = Message::Text("LockDevice".to_string()); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_LockDevice` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `Other` [INFO] [stderr] --> src/socket.rs:168:13 [INFO] [stderr] | [INFO] [stderr] 168 | let Other = Message::Text("Other".to_string()); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Other` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `LockDevice` [INFO] [stderr] --> src/socket.rs:172:13 [INFO] [stderr] | [INFO] [stderr] 172 | LockDevice => Socket::LockDevice, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_LockDevice` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `Other` [INFO] [stderr] --> src/socket.rs:173:13 [INFO] [stderr] | [INFO] [stderr] 173 | Other => Socket::Other, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Other` [INFO] [stderr] [INFO] [stderr] warning: associated function `message_to_socket` is never used [INFO] [stderr] --> src/socket.rs:166:8 [INFO] [stderr] | [INFO] [stderr] 165 | impl Socket { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] 166 | fn message_to_socket(socket: &Message) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/device.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | adapter.wait_available().await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 21 | let _ = adapter.wait_available().await; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused implementer of `Future` that must be used [INFO] [stderr] --> src/device.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 48 | adapter.connect_device(&device); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: futures do nothing unless you `.await` or poll them [INFO] [stderr] [INFO] [stderr] warning: unused implementer of `Future` that must be used [INFO] [stderr] --> src/device.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | adapter.disconnect_device(device); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: futures do nothing unless you `.await` or poll them [INFO] [stderr] [INFO] [stderr] warning: variable `LockDevice` should have a snake case name [INFO] [stderr] --> src/socket.rs:167:13 [INFO] [stderr] | [INFO] [stderr] 167 | let LockDevice = Message::Text("LockDevice".to_string()); [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `lock_device` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable `Other` should have a snake case name [INFO] [stderr] --> src/socket.rs:168:13 [INFO] [stderr] | [INFO] [stderr] 168 | let Other = Message::Text("Other".to_string()); [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `other` [INFO] [stderr] [INFO] [stderr] warning: variable `LockDevice` should have a snake case name [INFO] [stderr] --> src/socket.rs:172:13 [INFO] [stderr] | [INFO] [stderr] 172 | LockDevice => Socket::LockDevice, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `lock_device` [INFO] [stderr] [INFO] [stderr] warning: variable `Other` should have a snake case name [INFO] [stderr] --> src/socket.rs:173:13 [INFO] [stderr] | [INFO] [stderr] 173 | Other => Socket::Other, [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `other` [INFO] [stderr] [INFO] [stderr] warning: `shuttle` (bin "shuttle" test) generated 20 warnings (run `cargo fix --bin "shuttle" -p shuttle --tests` to apply 7 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bluer v0.15.7 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/shuttle-34707d8dcfb1f9af) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stderr] error: test failed, to rerun pass `--bin shuttle` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/shuttle-34707d8dcfb1f9af` (signal: 11, SIGSEGV: invalid memory reference) [INFO] running `Command { std: "docker" "inspect" "3fc353d3b79d1e1c7d4a2889af1db0dd741b4412e7926d8b9f31ff8c4379bff9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fc353d3b79d1e1c7d4a2889af1db0dd741b4412e7926d8b9f31ff8c4379bff9", kill_on_drop: false }` [INFO] [stdout] 3fc353d3b79d1e1c7d4a2889af1db0dd741b4412e7926d8b9f31ff8c4379bff9