[INFO] cloning repository https://github.com/jansenmtan/osu-lazer-scrobbler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jansenmtan/osu-lazer-scrobbler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjansenmtan%2Fosu-lazer-scrobbler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjansenmtan%2Fosu-lazer-scrobbler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 722abe0c5db497e26b52c64b11502d43e1f1c018 [INFO] testing jansenmtan/osu-lazer-scrobbler against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjansenmtan%2Fosu-lazer-scrobbler" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jansenmtan/osu-lazer-scrobbler [INFO] finished tweaking git repo https://github.com/jansenmtan/osu-lazer-scrobbler [INFO] tweaked toml for git repo https://github.com/jansenmtan/osu-lazer-scrobbler written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jansenmtan/osu-lazer-scrobbler on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jansenmtan/osu-lazer-scrobbler 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chunked_transfer v1.5.0 [INFO] [stderr] Downloaded cookie_store v0.12.0 [INFO] [stderr] Downloaded wrapped-vec v0.3.0 [INFO] [stderr] Downloaded publicsuffix v1.5.6 [INFO] [stderr] Downloaded leaky-bucket-lite v0.5.2 [INFO] [stderr] Downloaded smallstr v0.3.0 [INFO] [stderr] Downloaded linemux v0.3.0 [INFO] [stderr] Downloaded cc v1.1.15 [INFO] [stderr] Downloaded ureq v1.5.5 [INFO] [stderr] Downloaded rosu-mods v0.1.1 [INFO] [stderr] Downloaded rosu-v2 v0.9.0 [INFO] [stderr] Downloaded serde_json v1.0.127 [INFO] [stderr] Downloaded sysinfo v0.31.4 [INFO] [stderr] Downloaded rustls-webpki v0.102.7 [INFO] [stderr] Downloaded rustfm-scrobble v1.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fbb8edd24581804222d28856246477ed5189218b34c939de4f91619d2e0da5f [INFO] running `Command { std: "docker" "start" "-a" "6fbb8edd24581804222d28856246477ed5189218b34c939de4f91619d2e0da5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fbb8edd24581804222d28856246477ed5189218b34c939de4f91619d2e0da5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fbb8edd24581804222d28856246477ed5189218b34c939de4f91619d2e0da5f", kill_on_drop: false }` [INFO] [stdout] 6fbb8edd24581804222d28856246477ed5189218b34c939de4f91619d2e0da5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef7f56e647c53fdd4253b8a6b8d09df81dcc75bcd372b78ebc7db1a3490b8093 [INFO] running `Command { std: "docker" "start" "-a" "ef7f56e647c53fdd4253b8a6b8d09df81dcc75bcd372b78ebc7db1a3490b8093", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling const_fn v0.4.10 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling publicsuffix v1.5.6 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling chunked_transfer v1.5.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling notify v5.2.0 [INFO] [stderr] Compiling wrapped-vec v0.3.0 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling ipnet v2.10.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling sysinfo v0.31.4 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling leaky-bucket-lite v0.5.2 [INFO] [stderr] Compiling linemux v0.3.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling smallstr v0.3.0 [INFO] [stderr] Compiling rosu-mods v0.1.1 [INFO] [stderr] Compiling cookie_store v0.12.0 [INFO] [stderr] Compiling ureq v1.5.5 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling rustfm-scrobble v1.1.1 [INFO] [stderr] Compiling hyper-util v0.1.7 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.7 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling rosu-v2 v0.9.0 [INFO] [stderr] Compiling osu-lazer-scrobbler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/lookout.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [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: `Process` [INFO] [stdout] --> src/lookout.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use sysinfo::{Pid, Process, ProcessesToUpdate, System}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lookout` is never constructed [INFO] [stdout] --> src/lookout.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Lookout { [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 `get_osu_lazer_pid` is never used [INFO] [stdout] --> src/lookout.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_osu_lazer_pid(system: &mut System) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `run_time`, `watch_start`, and `watch_stop` are never used [INFO] [stdout] --> src/lookout.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Lookout { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 25 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn run_time(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub async fn watch_start(&mut self) -> Pid { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub async fn watch_stop(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `now_playing_track` is never read [INFO] [stdout] --> src/scrobbler.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct Manager { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 13 | pub(crate) scrobbler: rustfm_scrobble::Scrobbler, [INFO] [stdout] 14 | now_playing_track: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `time_elapsed_since_playing` is never used [INFO] [stdout] --> src/scrobbler.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn time_elapsed_since_playing(scrobble: &rustfm_scrobble::Scrobble) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `now_playing` and `scrobble` are never used [INFO] [stdout] --> src/scrobbler.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl Manager { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | fn now_playing(&mut self, artist: String, track: String, album: String) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | async fn scrobble(&self) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 27s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wrapped-vec v0.3.0 [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" "ef7f56e647c53fdd4253b8a6b8d09df81dcc75bcd372b78ebc7db1a3490b8093", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef7f56e647c53fdd4253b8a6b8d09df81dcc75bcd372b78ebc7db1a3490b8093", kill_on_drop: false }` [INFO] [stdout] ef7f56e647c53fdd4253b8a6b8d09df81dcc75bcd372b78ebc7db1a3490b8093 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ace76c88e769f6da303254169725cf88ef2c1f99a691c121810d5a88a41d7d8 [INFO] running `Command { std: "docker" "start" "-a" "0ace76c88e769f6da303254169725cf88ef2c1f99a691c121810d5a88a41d7d8", kill_on_drop: false }` [INFO] [stderr] Compiling osu-lazer-scrobbler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/lookout.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [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: `Process` [INFO] [stdout] --> src/lookout.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use sysinfo::{Pid, Process, ProcessesToUpdate, System}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lookout` is never constructed [INFO] [stdout] --> src/lookout.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Lookout { [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 `get_osu_lazer_pid` is never used [INFO] [stdout] --> src/lookout.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_osu_lazer_pid(system: &mut System) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `run_time`, `watch_start`, and `watch_stop` are never used [INFO] [stdout] --> src/lookout.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Lookout { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 25 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn run_time(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub async fn watch_start(&mut self) -> Pid { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub async fn watch_stop(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `now_playing_track` is never read [INFO] [stdout] --> src/scrobbler.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct Manager { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 13 | pub(crate) scrobbler: rustfm_scrobble::Scrobbler, [INFO] [stdout] 14 | now_playing_track: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `time_elapsed_since_playing` is never used [INFO] [stdout] --> src/scrobbler.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn time_elapsed_since_playing(scrobble: &rustfm_scrobble::Scrobble) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `now_playing` and `scrobble` are never used [INFO] [stdout] --> src/scrobbler.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl Manager { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | fn now_playing(&mut self, artist: String, track: String, album: String) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | async fn scrobble(&self) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.63s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wrapped-vec v0.3.0 [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" "0ace76c88e769f6da303254169725cf88ef2c1f99a691c121810d5a88a41d7d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ace76c88e769f6da303254169725cf88ef2c1f99a691c121810d5a88a41d7d8", kill_on_drop: false }` [INFO] [stdout] 0ace76c88e769f6da303254169725cf88ef2c1f99a691c121810d5a88a41d7d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0ce52037b7d8534620ea78b6f29f8f06062bddca87ef21d8ad772c4f42c11a78 [INFO] running `Command { std: "docker" "start" "-a" "0ce52037b7d8534620ea78b6f29f8f06062bddca87ef21d8ad772c4f42c11a78", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/lookout.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Process` [INFO] [stderr] --> src/lookout.rs:2:20 [INFO] [stderr] | [INFO] [stderr] 2 | use sysinfo::{Pid, Process, ProcessesToUpdate, System}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Lookout` is never constructed [INFO] [stderr] --> src/lookout.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Lookout { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `get_osu_lazer_pid` is never used [INFO] [stderr] --> src/lookout.rs:10:4 [INFO] [stderr] | [INFO] [stderr] 10 | fn get_osu_lazer_pid(system: &mut System) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `run_time`, `watch_start`, and `watch_stop` are never used [INFO] [stderr] --> src/lookout.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 24 | impl Lookout { [INFO] [stderr] | ------------ associated items in this implementation [INFO] [stderr] 25 | fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | fn run_time(&self) -> Option { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 38 | pub async fn watch_start(&mut self) -> Pid { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 48 | pub async fn watch_stop(&mut self) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `now_playing_track` is never read [INFO] [stderr] --> src/scrobbler.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub(crate) struct Manager { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 13 | pub(crate) scrobbler: rustfm_scrobble::Scrobbler, [INFO] [stderr] 14 | now_playing_track: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `time_elapsed_since_playing` is never used [INFO] [stderr] --> src/scrobbler.rs:17:4 [INFO] [stderr] | [INFO] [stderr] 17 | fn time_elapsed_since_playing(scrobble: &rustfm_scrobble::Scrobble) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `now_playing` and `scrobble` are never used [INFO] [stderr] --> src/scrobbler.rs:43:8 [INFO] [stderr] | [INFO] [stderr] 30 | impl Manager { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 43 | fn now_playing(&mut self, artist: String, track: String, album: String) -> Result<(), ()> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 59 | async fn scrobble(&self) -> Result<(), ()> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `osu-lazer-scrobbler` (bin "osu-lazer-scrobbler" test) generated 8 warnings (run `cargo fix --bin "osu-lazer-scrobbler" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wrapped-vec v0.3.0 [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/osu_lazer_scrobbler-a50aab2975a12db1) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test scrobbler::tests::test_raw_scrobble ... ignored [INFO] [stdout] test tests::test_get_runtime_path ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_get_runtime_path stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::test_get_runtime_path' (17) panicked at src/main.rs:24:72: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x57c8c139f292 - std::backtrace_rs::backtrace::libunwind::trace::h52580dd202462214 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x57c8c139f292 - std::backtrace_rs::backtrace::trace_unsynchronized::hc969519abce0f52b [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x57c8c139f292 - std::sys::backtrace::_print_fmt::hfd5825900b6e0030 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x57c8c139f292 - ::fmt::h427144ad75cfb218 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x57c8c13b12bf - core::fmt::rt::Argument::fmt::hd5ccc9cf97cea7f7 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x57c8c13b12bf - core::fmt::write::h593aaf5adf0f5dae [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x57c8c136add1 - std::io::default_write_fmt::h305b5a0727055346 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x57c8c136add1 - std::io::Write::write_fmt::h76f14a8a88733dc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x57c8c1377d92 - std::sys::backtrace::BacktraceLock::print::h3953113552dca3ca [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x57c8c137ccbf - std::panicking::default_hook::{{closure}}::h486b96ad75eafbb8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x57c8c137cb51 - std::panicking::default_hook::h99456317c5a1a20c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x57c8c0e3f28e - as core::ops::function::Fn>::call::h441e4551014e4cf8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x57c8c0e3f28e - test::test_main_with_exit_callback::{{closure}}::hdbca54e17f1a00e4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x57c8c137d37f - as core::ops::function::Fn>::call::h1e57b72c4e1d3045 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x57c8c137d37f - std::panicking::panic_with_hook::h67ab0df20212e4ea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x57c8c137d1da - std::panicking::panic_handler::{{closure}}::hc9e4a933ae92e208 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x57c8c1377ed9 - std::sys::backtrace::__rust_end_short_backtrace::hbfa72df9b68c2d19 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x57c8c135e95d - __rustc[8cce077e14951490]::rust_begin_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x57c8c13bc3e0 - core::panicking::panic_fmt::h49931053d20abf41 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x57c8c13bb486 - core::result::unwrap_failed::h7f5a2d4cf85d933f [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/result.rs:1854:5 [INFO] [stdout] 20: 0x57c8c0e17572 - core::result::Result::unwrap::hc5d6cb9217728df9 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/result.rs:1225:23 [INFO] [stdout] 21: 0x57c8c0e17572 - osu_lazer_scrobbler::get_runtime_path::hc5bd3aa38ea40d59 [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:24:72 [INFO] [stdout] 22: 0x57c8c0e17a51 - osu_lazer_scrobbler::tests::test_get_runtime_path::h4e2232c103612649 [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:47:22 [INFO] [stdout] 23: 0x57c8c0e17e37 - osu_lazer_scrobbler::tests::test_get_runtime_path::{{closure}}::heebaba301a48fcae [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:46:31 [INFO] [stdout] 24: 0x57c8c0e193c6 - core::ops::function::FnOnce::call_once::ha74eaecdb7e5992c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x57c8c0e3f04b - core::ops::function::FnOnce::call_once::h5d9016d521f5aee4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x57c8c0e3f04b - test::__rust_begin_short_backtrace::h123fcee610330442 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x57c8c0e54b35 - test::run_test_in_process::{{closure}}::h0442efda2e6359b2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x57c8c0e54b35 - as core::ops::function::FnOnce<()>>::call_once::hfe3528c8dd09682c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x57c8c0e54b35 - std::panicking::catch_unwind::do_call::hb1659f7844fe8531 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x57c8c0e54b35 - std::panicking::catch_unwind::hdc1f4be0019e72ad [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x57c8c0e54b35 - std::panic::catch_unwind::hd6d7ccfa4513e770 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x57c8c0e54b35 - test::run_test_in_process::h6bbb839ed0802366 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x57c8c0e54b35 - test::run_test::{{closure}}::he4fad7398c8acc11 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x57c8c0e2b4a4 - test::run_test::{{closure}}::h41975797e198d26c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x57c8c0e2b4a4 - std::sys::backtrace::__rust_begin_short_backtrace::hfb46c397857336f1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x57c8c0e2ee4a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hddf826a64f532bea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x57c8c0e2ee4a - as core::ops::function::FnOnce<()>>::call_once::hc3518c3eab91aeb3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x57c8c0e2ee4a - std::panicking::catch_unwind::do_call::h7bf3ad6dc012415a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x57c8c0e2ee4a - std::panicking::catch_unwind::h8b88f0375c767e36 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x57c8c0e2ee4a - std::panic::catch_unwind::h66cb5d61a90f7bc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x57c8c0e2ee4a - std::thread::Builder::spawn_unchecked_::{{closure}}::h65bc9d15fb966bbd [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x57c8c0e2ee4a - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8d2c9a8796342e5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x57c8c1371ebf - as core::ops::function::FnOnce>::call_once::hef12b47e5c033835 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x57c8c1371ebf - std::sys::pal::unix::thread::Thread::new::thread_start::h135087e7c97657bc [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 45: 0x7c0a6ccf9aa4 - [INFO] [stdout] 46: 0x7c0a6cd86a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_get_runtime_path [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin osu-lazer-scrobbler` [INFO] running `Command { std: "docker" "inspect" "0ce52037b7d8534620ea78b6f29f8f06062bddca87ef21d8ad772c4f42c11a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ce52037b7d8534620ea78b6f29f8f06062bddca87ef21d8ad772c4f42c11a78", kill_on_drop: false }` [INFO] [stdout] 0ce52037b7d8534620ea78b6f29f8f06062bddca87ef21d8ad772c4f42c11a78