[INFO] fetching crate mprizzle 0.0.8... [INFO] testing mprizzle-0.0.8 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate mprizzle 0.0.8 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate mprizzle 0.0.8 [INFO] finished tweaking crates.io crate mprizzle 0.0.8 [INFO] tweaked toml for crates.io crate mprizzle 0.0.8 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mprizzle 0.0.8 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mprizzle 0.0.8 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enumflags2_derive v0.7.11 [INFO] [stderr] Downloaded zvariant_derive v5.4.0 [INFO] [stderr] Downloaded zvariant_utils v3.2.0 [INFO] [stderr] Downloaded enumflags2 v0.7.11 [INFO] [stderr] Downloaded zbus_names v4.2.0 [INFO] [stderr] Downloaded zbus_macros v5.5.0 [INFO] [stderr] Downloaded zbus v5.5.0 [INFO] [stderr] Downloaded zvariant v5.4.0 [INFO] [stderr] Downloaded winnow v0.7.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fc971e30d71ab2e1938910ed4e9cf1c393598ef166d1a3a1fc426101fa578da [INFO] running `Command { std: "docker" "start" "-a" "2fc971e30d71ab2e1938910ed4e9cf1c393598ef166d1a3a1fc426101fa578da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fc971e30d71ab2e1938910ed4e9cf1c393598ef166d1a3a1fc426101fa578da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fc971e30d71ab2e1938910ed4e9cf1c393598ef166d1a3a1fc426101fa578da", kill_on_drop: false }` [INFO] [stdout] 2fc971e30d71ab2e1938910ed4e9cf1c393598ef166d1a3a1fc426101fa578da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 178045da859813388445a435848cf1809651e96be0ae3154fdd7940d6a1857b0 [INFO] running `Command { std: "docker" "start" "-a" "178045da859813388445a435848cf1809651e96be0ae3154fdd7940d6a1857b0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling winnow v0.7.9 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling endi v1.1.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling xdg-home v1.3.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling enumflags2_derive v0.7.11 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling zvariant_utils v3.2.0 [INFO] [stderr] Compiling enumflags2 v0.7.11 [INFO] [stderr] Compiling zvariant_derive v5.4.0 [INFO] [stderr] Compiling zvariant v5.4.0 [INFO] [stderr] Compiling zbus_names v4.2.0 [INFO] [stderr] Compiling zbus_macros v5.5.0 [INFO] [stderr] Compiling zbus v5.5.0 [INFO] [stderr] Compiling mprizzle v0.0.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/player.rs:264:27 [INFO] [stdout] | [INFO] [stdout] 264 | pub async fn metadata(&self) -> MprisResult { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 264 | pub async fn metadata(&self) -> MprisResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/main.rs:13:54 [INFO] [stdout] | [INFO] [stdout] 13 | mprizzle::MprisEvent::PlayerAttached(id) => println!("attached"), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/main.rs:14:54 [INFO] [stdout] | [INFO] [stdout] 14 | mprizzle::MprisEvent::PlayerDetached(id) => println!("detached"), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/main.rs:15:63 [INFO] [stdout] | [INFO] [stdout] 15 | mprizzle::MprisEvent::PlayerPropertiesChanged(id) => println!("props changed"), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/main.rs:16:52 [INFO] [stdout] | [INFO] [stdout] 16 | mprizzle::MprisEvent::PlayerSeeked(id) => println!("player seeked"), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/main.rs:17:54 [INFO] [stdout] | [INFO] [stdout] 17 | mprizzle::MprisEvent::PlayerPosition(id, pos) => println!("pos changed"), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/main.rs:17:58 [INFO] [stdout] | [INFO] [stdout] 17 | mprizzle::MprisEvent::PlayerPosition(id, pos) => println!("pos changed"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.68s [INFO] running `Command { std: "docker" "inspect" "178045da859813388445a435848cf1809651e96be0ae3154fdd7940d6a1857b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "178045da859813388445a435848cf1809651e96be0ae3154fdd7940d6a1857b0", kill_on_drop: false }` [INFO] [stdout] 178045da859813388445a435848cf1809651e96be0ae3154fdd7940d6a1857b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7eea762a020403629c726555bea3b108fa155bc20ed583e2aa6238de6e748b7a [INFO] running `Command { std: "docker" "start" "-a" "7eea762a020403629c726555bea3b108fa155bc20ed583e2aa6238de6e748b7a", kill_on_drop: false }` [INFO] [stderr] Compiling mprizzle v0.0.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/player.rs:264:27 [INFO] [stdout] | [INFO] [stdout] 264 | pub async fn metadata(&self) -> MprisResult { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 264 | pub async fn metadata(&self) -> MprisResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/main.rs:13:54 [INFO] [stdout] | [INFO] [stdout] 13 | mprizzle::MprisEvent::PlayerAttached(id) => println!("attached"), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/main.rs:14:54 [INFO] [stdout] | [INFO] [stdout] 14 | mprizzle::MprisEvent::PlayerDetached(id) => println!("detached"), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/main.rs:15:63 [INFO] [stdout] | [INFO] [stdout] 15 | mprizzle::MprisEvent::PlayerPropertiesChanged(id) => println!("props changed"), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/main.rs:16:52 [INFO] [stdout] | [INFO] [stdout] 16 | mprizzle::MprisEvent::PlayerSeeked(id) => println!("player seeked"), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/main.rs:17:54 [INFO] [stdout] | [INFO] [stdout] 17 | mprizzle::MprisEvent::PlayerPosition(id, pos) => println!("pos changed"), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/main.rs:17:58 [INFO] [stdout] | [INFO] [stdout] 17 | mprizzle::MprisEvent::PlayerPosition(id, pos) => println!("pos changed"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/player.rs:264:27 [INFO] [stdout] | [INFO] [stdout] 264 | pub async fn metadata(&self) -> MprisResult { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 264 | pub async fn metadata(&self) -> MprisResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.41s [INFO] running `Command { std: "docker" "inspect" "7eea762a020403629c726555bea3b108fa155bc20ed583e2aa6238de6e748b7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7eea762a020403629c726555bea3b108fa155bc20ed583e2aa6238de6e748b7a", kill_on_drop: false }` [INFO] [stdout] 7eea762a020403629c726555bea3b108fa155bc20ed583e2aa6238de6e748b7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 926f1baac64d4b735bf2ab5164473eeb4c0c73fe8bd32ce72272937ebb109acf [INFO] running `Command { std: "docker" "start" "-a" "926f1baac64d4b735bf2ab5164473eeb4c0c73fe8bd32ce72272937ebb109acf", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] [INFO] [stderr] --> src/player.rs:264:27 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 264 | pub async fn metadata(&self) -> MprisResult { [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 264 | pub async fn metadata(&self) -> MprisResult> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `mprizzle` (lib) generated 1 warning (run `cargo fix --lib -p mprizzle` to apply 1 suggestion) [INFO] [stderr] warning: `mprizzle` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/main.rs:13:54 [INFO] [stderr] | [INFO] [stderr] 13 | mprizzle::MprisEvent::PlayerAttached(id) => println!("attached"), [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/main.rs:14:54 [INFO] [stderr] | [INFO] [stderr] 14 | mprizzle::MprisEvent::PlayerDetached(id) => println!("detached"), [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/main.rs:15:63 [INFO] [stderr] | [INFO] [stderr] 15 | mprizzle::MprisEvent::PlayerPropertiesChanged(id) => println!("props changed"), [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/main.rs:16:52 [INFO] [stderr] | [INFO] [stderr] 16 | mprizzle::MprisEvent::PlayerSeeked(id) => println!("player seeked"), [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/main.rs:17:54 [INFO] [stderr] | [INFO] [stderr] 17 | mprizzle::MprisEvent::PlayerPosition(id, pos) => println!("pos changed"), [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pos` [INFO] [stderr] --> src/main.rs:17:58 [INFO] [stderr] | [INFO] [stderr] 17 | mprizzle::MprisEvent::PlayerPosition(id, pos) => println!("pos changed"), [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stderr] [INFO] [stderr] warning: `mprizzle` (bin "mprizzle" test) generated 6 warnings (run `cargo fix --bin "mprizzle" -p mprizzle --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mprizzle-0ad0d71a6a5e6ca4) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mprizzle-ccfbf06ffc7130e1) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests mprizzle [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 8) - compile ... FAILED [INFO] [stdout] test src/player.rs - player::MprisPlayer (line 73) - compile ... FAILED [INFO] [stdout] test src/mprizzle.rs - mprizzle::Mpris (line 73) - compile ... FAILED [INFO] [stdout] test src/identity.rs - identity::PlayerIdentity (line 10) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 8) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `new_without_options` found for struct `Mpris` in the current scope [INFO] [stdout] --> src/lib.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | let mut mpris = Mpris::new_without_options().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Mpris` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut mpris = Mpris::new_without_options().await?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | let shared_players = mpris.players(); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `mpris` an explicit type [INFO] [stdout] | [INFO] [stdout] 14 | let mut mpris: /* Type */ = Mpris::new_without_options().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `short` found for struct `MprisPlayer` in the current scope [INFO] [stdout] --> src/lib.rs:23:90 [INFO] [stdout] | [INFO] [stdout] 23 | MprisEvent::PlayerAttached(identity) => println!("NEW PLAYER = {}", identity.short()), [INFO] [stdout] | ^^^^^ method not found in `MprisPlayer` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | let players = shared_players.lock().await; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | if let Some(player) = players.iter().find(|p| *p.identity() == identity) { [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `players` an explicit type [INFO] [stdout] | [INFO] [stdout] 28 | let players: /* Type */ = shared_players.lock().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:29:60 [INFO] [stdout] | [INFO] [stdout] 29 | if let Some(player) = players.iter().find(|p| *p.identity() == identity) { [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 29 | if let Some(player) = players.iter().find(|p: /* Type */| *p.identity() == identity) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:30:83 [INFO] [stdout] | [INFO] [stdout] 30 | println!("PLAYER PROP CHANGED: {} = {:#?}", identity.short(), player.metadata().await?); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | let players = shared_players.lock().await; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | if let Some(_) = players.iter().find(|p| *p.identity() == identity) { [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `players` an explicit type [INFO] [stdout] | [INFO] [stdout] 36 | let players: /* Type */ = shared_players.lock().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:37:55 [INFO] [stdout] | [INFO] [stdout] 37 | if let Some(_) = players.iter().find(|p| *p.identity() == identity) { [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 37 | if let Some(_) = players.iter().find(|p: /* Type */| *p.identity() == identity) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/player.rs - player::MprisPlayer (line 73) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Player` [INFO] [stdout] --> src/player.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | let spotify = Player::new(mpris.connection(), PlayerIdentity::new("org.mpris.MediaPlayer2.spotify".into())).await?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Player` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/player.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let spotify = Player::new(mpris.connection(), PlayerIdentity::new("org.mpris.MediaPlayer2.spotify".into())).await?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 84 | [INFO] [stdout] 85 | let metadata = spotify.metadata().await?; [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `spotify` an explicit type [INFO] [stdout] | [INFO] [stdout] 83 | let spotify: /* Type */ = Player::new(mpris.connection(), PlayerIdentity::new("org.mpris.MediaPlayer2.spotify".into())).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/player.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let metadata = spotify.metadata().await?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 86 | [INFO] [stdout] 87 | let title = metadata.title()?.unwrap_or("No Title".into()); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `metadata` an explicit type [INFO] [stdout] | [INFO] [stdout] 85 | let metadata: /* Type */ = spotify.metadata().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `println` [INFO] [stdout] --> src/player.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | println("Current song: {title}"); [INFO] [stdout] | ^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 88 | println!("Current song: {title}"); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0423, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/mprizzle.rs - mprizzle::Mpris (line 73) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `mpris` [INFO] [stdout] --> src/mprizzle.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | use mpris::Mpris; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `mpris` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mpris`, use `cargo add mpris` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MprisEvent` [INFO] [stdout] --> src/mprizzle.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | MprisEvent::PlayerAttached(player) => println!("ATTACHED = {:?}", player.identity().short()), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MprisEvent` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 74 + use mprizzle::MprisEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MprisEvent` [INFO] [stdout] --> src/mprizzle.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | MprisEvent::PlayerDetached(identity) => println!("DETACHED = {:?}", identity.short()), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MprisEvent` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 74 + use mprizzle::MprisEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/mprizzle.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let mpris = Mpris::new(None).await?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | mpris.watch(); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `mpris` an explicit type [INFO] [stdout] | [INFO] [stdout] 78 | let mpris: /* Type */ = Mpris::new(None).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/identity.rs - identity::PlayerIdentity (line 10) stdout ---- [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/identity.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | assert!("spotify", spotify_identity.short()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 13 | assert!("spotify", "{}", spotify_identity.short()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/identity.rs:14:43 [INFO] [stdout] | [INFO] [stdout] 14 | assert!("org.mpris.MediaPlayer2.spotify", spotify_identity.bus()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 14 | assert!("org.mpris.MediaPlayer2.spotify", "{}", spotify_identity.bus()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayerIdentity` [INFO] [stdout] --> src/identity.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | let spotify_identity = PlayerIdentity::new("org.mpris.MediaPlayer2.spotify".into())?; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PlayerIdentity` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use mprizzle::PlayerIdentity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0600]: cannot apply unary operator `!` to type `&'static str` [INFO] [stdout] --> src/identity.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | assert!("spotify", spotify_identity.short()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot apply unary operator `!` [INFO] [stdout] [INFO] [stdout] error[E0600]: cannot apply unary operator `!` to type `&'static str` [INFO] [stdout] --> src/identity.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | assert!("org.mpris.MediaPlayer2.spotify", spotify_identity.bus()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot apply unary operator `!` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0600. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/identity.rs - identity::PlayerIdentity (line 10) [INFO] [stdout] src/lib.rs - (line 8) [INFO] [stdout] src/mprizzle.rs - mprizzle::Mpris (line 73) [INFO] [stdout] src/player.rs - player::MprisPlayer (line 73) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.44s; merged doctests compilation took 0.21s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "926f1baac64d4b735bf2ab5164473eeb4c0c73fe8bd32ce72272937ebb109acf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "926f1baac64d4b735bf2ab5164473eeb4c0c73fe8bd32ce72272937ebb109acf", kill_on_drop: false }` [INFO] [stdout] 926f1baac64d4b735bf2ab5164473eeb4c0c73fe8bd32ce72272937ebb109acf