[INFO] cloning repository https://github.com/nachomglz/playswitch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nachomglz/playswitch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnachomglz%2Fplayswitch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnachomglz%2Fplayswitch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cc11cac7c14c086612e8f914235c9b04170b4e15 [INFO] checking nachomglz/playswitch against try#2b43d8e161cfe46fae25518efb124c3c1d0fa392 for pr-145604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnachomglz%2Fplayswitch" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nachomglz/playswitch [INFO] finished tweaking git repo https://github.com/nachomglz/playswitch [INFO] tweaked toml for git repo https://github.com/nachomglz/playswitch written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nachomglz/playswitch on toolchain 2b43d8e161cfe46fae25518efb124c3c1d0fa392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nachomglz/playswitch 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" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded errno v0.3.5 [INFO] [stderr] Downloaded rustix v0.38.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3097b94ae6d99ec1c0712e67c6e02a11973702a799606ae21cf09166997d68e [INFO] running `Command { std: "docker" "start" "-a" "b3097b94ae6d99ec1c0712e67c6e02a11973702a799606ae21cf09166997d68e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3097b94ae6d99ec1c0712e67c6e02a11973702a799606ae21cf09166997d68e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3097b94ae6d99ec1c0712e67c6e02a11973702a799606ae21cf09166997d68e", kill_on_drop: false }` [INFO] [stdout] b3097b94ae6d99ec1c0712e67c6e02a11973702a799606ae21cf09166997d68e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48a9beef240a6ea50f28a5a85c91442aae535db76f5d351150d1410ab5d0bd37 [INFO] running `Command { std: "docker" "start" "-a" "48a9beef240a6ea50f28a5a85c91442aae535db76f5d351150d1410ab5d0bd37", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking base64 v0.21.4 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking tokio-util v0.7.9 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.22 [INFO] [stderr] Checking playswitch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let token = std::env::var("SPOTIFY_TOKEN").unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_env` is never used [INFO] [stdout] --> src/utils.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn check_env() -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let token = std::env::var("SPOTIFY_TOKEN").unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_env` is never used [INFO] [stdout] --> src/utils.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn check_env() -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_current_user_id` is never used [INFO] [stdout] --> src/utils.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn get_current_user_id() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_current_user_id` is never used [INFO] [stdout] --> src/utils.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn get_current_user_id() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.71s [INFO] running `Command { std: "docker" "inspect" "48a9beef240a6ea50f28a5a85c91442aae535db76f5d351150d1410ab5d0bd37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48a9beef240a6ea50f28a5a85c91442aae535db76f5d351150d1410ab5d0bd37", kill_on_drop: false }` [INFO] [stdout] 48a9beef240a6ea50f28a5a85c91442aae535db76f5d351150d1410ab5d0bd37