[INFO] cloning repository https://github.com/legop3/spotifyled [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/legop3/spotifyled" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flegop3%2Fspotifyled", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flegop3%2Fspotifyled'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 824594d776e27fbd5c7a72b57af64a0434c75ae4 [INFO] building legop3/spotifyled against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flegop3%2Fspotifyled" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/legop3/spotifyled [INFO] finished tweaking git repo https://github.com/legop3/spotifyled [INFO] tweaked toml for git repo https://github.com/legop3/spotifyled written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/legop3/spotifyled 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/legop3/spotifyled 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 thiserror v1.0.31 [INFO] [stderr] Downloaded dashmap v5.3.4 [INFO] [stderr] Downloaded dbus-tokio v0.7.5 [INFO] [stderr] Downloaded pkg-config v0.3.25 [INFO] [stderr] Downloaded async-trait v0.1.56 [INFO] [stderr] Downloaded xml-rs v0.8.4 [INFO] [stderr] Downloaded serde_derive v1.0.139 [INFO] [stderr] Downloaded serde v1.0.139 [INFO] [stderr] Downloaded bluez-generated v0.2.1 [INFO] [stderr] Downloaded itertools v0.10.3 [INFO] [stderr] Downloaded dbus v0.9.6 [INFO] [stderr] Downloaded btleplug v0.9.2 [INFO] [stderr] Downloaded cocoa v0.24.0 [INFO] [stderr] Downloaded futures v0.3.21 [INFO] [stderr] Downloaded bluez-async v0.5.5 [INFO] [stderr] Downloaded libdbus-sys v0.2.2 [INFO] [stderr] Downloaded futures-executor v0.3.21 [INFO] [stderr] Downloaded futures-io v0.3.21 [INFO] [stderr] Downloaded thiserror-impl v1.0.31 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.33.0 [INFO] [stderr] Downloaded tokio v1.20.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.33.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.33.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.33.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.33.0 [INFO] [stderr] Downloaded serde-xml-rs v0.5.1 [INFO] [stderr] Downloaded windows v0.33.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 55b20dce00bc1bc82d629390f27813f73b1569962f0239516e5b6d222de62314 [INFO] running `Command { std: "docker" "start" "-a" "55b20dce00bc1bc82d629390f27813f73b1569962f0239516e5b6d222de62314", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55b20dce00bc1bc82d629390f27813f73b1569962f0239516e5b6d222de62314", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55b20dce00bc1bc82d629390f27813f73b1569962f0239516e5b6d222de62314", kill_on_drop: false }` [INFO] [stdout] 55b20dce00bc1bc82d629390f27813f73b1569962f0239516e5b6d222de62314 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 330b7c5aa19bea5d8ad7c78d82cc979cc37609b56e90b866e06a65694184e440 [INFO] running `Command { std: "docker" "start" "-a" "330b7c5aa19bea5d8ad7c78d82cc979cc37609b56e90b866e06a65694184e440", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling hashbrown v0.12.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling libdbus-sys v0.2.2 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling dashmap v5.3.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling dbus v0.9.6 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling serde-xml-rs v0.5.1 [INFO] [stderr] Compiling dbus-tokio v0.7.5 [INFO] [stderr] Compiling bluez-generated v0.2.1 [INFO] [stderr] Compiling bluez-async v0.5.5 [INFO] [stderr] Compiling btleplug v0.9.2 [INFO] [stderr] Compiling spotifyled v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `btleplug::api::UUID` [INFO] [stdout] --> src/device.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use btleplug::api::{Central, Peripheral, UUID}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `UUID` in `api` [INFO] [stdout] | help: a similar name exists in the module: `Uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `btleplug::bluez::adapter::ConnectedAdapter` [INFO] [stdout] --> src/device.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use btleplug::bluez::{adapter::ConnectedAdapter, manager::Manager}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `ConnectedAdapter` in `bluez::adapter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winrtble` in `btleplug` [INFO] [stdout] --> src/device.rs:106:27 [INFO] [stdout] | [INFO] [stdout] 106 | peripheral: btleplug::winrtble::peripheral::Peripheral, [INFO] [stdout] | ^^^^^^^^ could not find `winrtble` in `btleplug` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/btleplug-0.9.2/src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 108 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 109 | mod winrtble; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `bluez` is private [INFO] [stdout] --> src/device.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use btleplug::bluez::{adapter::ConnectedAdapter, manager::Manager}; [INFO] [stdout] | ^^^^^ ------- module `adapter` is not publicly re-exported [INFO] [stdout] | | [INFO] [stdout] | private module [INFO] [stdout] | [INFO] [stdout] note: the module `bluez` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/btleplug-0.9.2/src/lib.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | mod bluez; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `bluez` is private [INFO] [stdout] --> src/device.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use btleplug::bluez::{adapter::ConnectedAdapter, manager::Manager}; [INFO] [stdout] | ^^^^^ private module ------- module `manager` is not publicly re-exported [INFO] [stdout] | [INFO] [stdout] note: the module `bluez` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/btleplug-0.9.2/src/lib.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | mod bluez; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/device.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let peripheral; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | while peripheral.connect().is_err() { [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `peripheral` an explicit type [INFO] [stdout] | [INFO] [stdout] 115 | let peripheral: /* Type */; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/main.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let device = BleLedDevice::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spotifyled` (bin "spotifyled") due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "330b7c5aa19bea5d8ad7c78d82cc979cc37609b56e90b866e06a65694184e440", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "330b7c5aa19bea5d8ad7c78d82cc979cc37609b56e90b866e06a65694184e440", kill_on_drop: false }` [INFO] [stdout] 330b7c5aa19bea5d8ad7c78d82cc979cc37609b56e90b866e06a65694184e440