[INFO] cloning repository https://github.com/NOT16180/keeplisten [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NOT16180/keeplisten" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNOT16180%2Fkeeplisten", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNOT16180%2Fkeeplisten'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f1329dca30213d1a3257ae68600dfc7eb8de12d [INFO] testing NOT16180/keeplisten against master#160e7623e8cbbf1feab2b6e2a24733a98c7bde9c for pr-145628-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNOT16180%2Fkeeplisten" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/NOT16180/keeplisten [INFO] finished tweaking git repo https://github.com/NOT16180/keeplisten [INFO] tweaked toml for git repo https://github.com/NOT16180/keeplisten written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NOT16180/keeplisten on toolchain 160e7623e8cbbf1feab2b6e2a24733a98c7bde9c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/NOT16180/keeplisten 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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nix v0.30.1 [INFO] [stderr] Downloaded syn v2.0.103 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99aad21d9ca2b09dd49775cec618c47709c691b0dbf139fae2f8469aaa2d8cd2 [INFO] running `Command { std: "docker" "start" "-a" "99aad21d9ca2b09dd49775cec618c47709c691b0dbf139fae2f8469aaa2d8cd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99aad21d9ca2b09dd49775cec618c47709c691b0dbf139fae2f8469aaa2d8cd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99aad21d9ca2b09dd49775cec618c47709c691b0dbf139fae2f8469aaa2d8cd2", kill_on_drop: false }` [INFO] [stdout] 99aad21d9ca2b09dd49775cec618c47709c691b0dbf139fae2f8469aaa2d8cd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 677e822aafd2fbd0350095007750a69e68b4c7ab088f58beaac02939dcadbd7b [INFO] running `Command { std: "docker" "start" "-a" "677e822aafd2fbd0350095007750a69e68b4c7ab088f58beaac02939dcadbd7b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling keeplisten v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/youtube.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/audio.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::{Mutex, Arc}; [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: `std::thread` [INFO] [stdout] --> src/audio.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/youtube.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | if let Ok(json) = serde_json::from_str::(line) { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/youtube.rs:243:35 [INFO] [stdout] | [INFO] [stdout] 243 | let json: serde_json::Value = serde_json::from_str(&output_str)?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*child` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/audio.rs:160:15 [INFO] [stdout] | [INFO] [stdout] 158 | if let Some(child) = audio_child.as_ref() { [INFO] [stdout] | ----- consider changing this binding's type to be: `&mut std::process::Child` [INFO] [stdout] 159 | // Check if process is still running [INFO] [stdout] 160 | match child.try_wait() { [INFO] [stdout] | ^^^^^ `child` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/youtube.rs:243:15 [INFO] [stdout] | [INFO] [stdout] 243 | let json: serde_json::Value = serde_json::from_str(&output_str)?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/youtube.rs:38:50 [INFO] [stdout] | [INFO] [stdout] 38 | if let Ok(json) = serde_json::from_str::(line) { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `keeplisten` (bin "keeplisten") due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "677e822aafd2fbd0350095007750a69e68b4c7ab088f58beaac02939dcadbd7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "677e822aafd2fbd0350095007750a69e68b4c7ab088f58beaac02939dcadbd7b", kill_on_drop: false }` [INFO] [stdout] 677e822aafd2fbd0350095007750a69e68b4c7ab088f58beaac02939dcadbd7b