[INFO] fetching crate mprizzle 0.0.8... [INFO] testing mprizzle-0.0.8 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate mprizzle 0.0.8 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mprizzle 0.0.8 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zvariant_utils v3.2.0 [INFO] [stderr] Downloaded zbus_names v4.2.0 [INFO] [stderr] Downloaded zbus_macros v5.5.0 [INFO] [stderr] Downloaded zvariant v5.4.0 [INFO] [stderr] Downloaded zvariant_derive v5.4.0 [INFO] [stderr] Downloaded zbus v5.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7904899e9045000c46c967ef4514258fa6be5ee3835087414ff8aeccc48bf37f [INFO] running `Command { std: "docker" "start" "-a" "7904899e9045000c46c967ef4514258fa6be5ee3835087414ff8aeccc48bf37f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7904899e9045000c46c967ef4514258fa6be5ee3835087414ff8aeccc48bf37f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7904899e9045000c46c967ef4514258fa6be5ee3835087414ff8aeccc48bf37f", kill_on_drop: false }` [INFO] [stdout] 7904899e9045000c46c967ef4514258fa6be5ee3835087414ff8aeccc48bf37f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4a16847b765bac0fbef77661127b16d46629feacf455f2f42d3a85d91665353 [INFO] running `Command { std: "docker" "start" "-a" "e4a16847b765bac0fbef77661127b16d46629feacf455f2f42d3a85d91665353", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling winnow v0.7.9 [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 nix v0.29.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [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 xdg-home v1.3.0 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [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 async-broadcast v0.7.2 [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 tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [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 thiserror v2.0.12 [INFO] [stderr] Compiling futures-util v0.3.31 [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)]` 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 55.26s [INFO] running `Command { std: "docker" "inspect" "e4a16847b765bac0fbef77661127b16d46629feacf455f2f42d3a85d91665353", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4a16847b765bac0fbef77661127b16d46629feacf455f2f42d3a85d91665353", kill_on_drop: false }` [INFO] [stdout] e4a16847b765bac0fbef77661127b16d46629feacf455f2f42d3a85d91665353 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8694f2320e3557e7779d8d8effb942a4d922eef129f3462a25470fecd02cffef [INFO] running `Command { std: "docker" "start" "-a" "8694f2320e3557e7779d8d8effb942a4d922eef129f3462a25470fecd02cffef", kill_on_drop: false }` [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] Compiling mprizzle v0.0.8 (/opt/rustwide/workdir) [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)]` 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.11s [INFO] running `Command { std: "docker" "inspect" "8694f2320e3557e7779d8d8effb942a4d922eef129f3462a25470fecd02cffef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8694f2320e3557e7779d8d8effb942a4d922eef129f3462a25470fecd02cffef", kill_on_drop: false }` [INFO] [stdout] 8694f2320e3557e7779d8d8effb942a4d922eef129f3462a25470fecd02cffef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ea9f823348b0e910c4aca22ed4c3a24c56b89d4e764ae4152d55956c0db1daf0 [INFO] running `Command { std: "docker" "start" "-a" "ea9f823348b0e910c4aca22ed4c3a24c56b89d4e764ae4152d55956c0db1daf0", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/player.rs:264:27 [INFO] [stderr] | [INFO] [stderr] 264 | pub async fn metadata(&self) -> MprisResult { [INFO] [stderr] | ^^^^^ -------------- the same lifetime is hidden here [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: 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)]` 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 [INFO] [stderr] warning: `mprizzle` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mprizzle-0ad0d71a6a5e6ca4) [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] 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/identity.rs - identity::PlayerIdentity (line 10) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 8) - compile ... FAILED [INFO] [stdout] test src/mprizzle.rs - mprizzle::Mpris (line 73) - compile ... FAILED [INFO] [stdout] test src/player.rs - player::MprisPlayer (line 73) - compile ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 5 | 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] 5 | 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] 6 | 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] 6 | 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] 3 | 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] 2 + 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] 5 | 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] 6 | 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] ---- 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] 8 | let mut mpris = Mpris::new_without_options().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Mpris` [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] 17 | MprisEvent::PlayerAttached(identity) => println!("NEW PLAYER = {}", identity.short()), [INFO] [stdout] | ^^^^^ method not found in `MprisPlayer` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [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] 2 | 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] 16 | 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] 2 + 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] 17 | 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] 2 + use mprizzle::MprisEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [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] 12 | 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[E0423]: expected function, found macro `println` [INFO] [stdout] --> src/player.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 17 | println("Current song: {title}"); [INFO] [stdout] | ^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 17 | println!("Current song: {title}"); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [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.38s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.59s; merged doctests compilation took 0.21s [INFO] running `Command { std: "docker" "inspect" "ea9f823348b0e910c4aca22ed4c3a24c56b89d4e764ae4152d55956c0db1daf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea9f823348b0e910c4aca22ed4c3a24c56b89d4e764ae4152d55956c0db1daf0", kill_on_drop: false }` [INFO] [stdout] ea9f823348b0e910c4aca22ed4c3a24c56b89d4e764ae4152d55956c0db1daf0