[INFO] fetching crate music-lounge-core 0.7.0... [INFO] checking music-lounge-core-0.7.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate music-lounge-core 0.7.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate music-lounge-core 0.7.0 [INFO] finished tweaking crates.io crate music-lounge-core 0.7.0 [INFO] tweaked toml for crates.io crate music-lounge-core 0.7.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate music-lounge-core 0.7.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 212 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding lofty v0.18.2 (available: v0.22.4) [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 avif-serialize v0.8.6 [INFO] [stderr] Downloaded rust-utils v0.16.0 [INFO] [stderr] Downloaded lofty_attr v0.9.0 [INFO] [stderr] Downloaded ogg_pager v0.6.1 [INFO] [stderr] Downloaded rust-utils-macros v0.1.0 [INFO] [stderr] Downloaded cursive_core v0.4.6 [INFO] [stderr] Downloaded lofty v0.18.2 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 307b0e5adfca6bfc003d51943ff83415e144f286bdc1eda1ae2a85478f6971ee [INFO] running `Command { std: "docker" "start" "-a" "307b0e5adfca6bfc003d51943ff83415e144f286bdc1eda1ae2a85478f6971ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "307b0e5adfca6bfc003d51943ff83415e144f286bdc1eda1ae2a85478f6971ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "307b0e5adfca6bfc003d51943ff83415e144f286bdc1eda1ae2a85478f6971ee", kill_on_drop: false }` [INFO] [stdout] 307b0e5adfca6bfc003d51943ff83415e144f286bdc1eda1ae2a85478f6971ee [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bf9a6216d82c6fc9a727b6091e538f27ae0e8c592b59e17b23010ec369d078c [INFO] running `Command { std: "docker" "start" "-a" "6bf9a6216d82c6fc9a727b6091e538f27ae0e8c592b59e17b23010ec369d078c", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking rgb v0.8.52 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking imgref v1.11.0 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking avif-serialize v0.8.6 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking jpeg-decoder v0.3.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking toml_writer v1.0.2 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking gif v0.13.3 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking image-webp v0.2.3 [INFO] [stderr] Checking ogg_pager v0.6.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking zune-jpeg v0.4.20 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking color-thief v0.2.2 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking serde_spanned v1.0.0 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking toml_parser v1.0.2 [INFO] [stderr] Checking toml v0.9.5 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling lofty_attr v0.9.0 [INFO] [stderr] Compiling rust-utils-macros v0.1.0 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking lofty v0.18.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking av1-grain v0.2.4 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking ron v0.10.1 [INFO] [stderr] Checking rust-utils v0.16.0 [INFO] [stderr] Checking ravif v0.11.20 [INFO] [stderr] Checking image v0.25.6 [INFO] [stderr] Checking music-lounge-core v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/library/playlist.rs:227:30 [INFO] [stdout] | [INFO] [stdout] 227 | let mut rand = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/library/playlist.rs:280:30 [INFO] [stdout] | [INFO] [stdout] 280 | let mut rand = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `get_save_dir` has an incompatible type for trait [INFO] [stdout] --> src/config/mod.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | fn get_save_dir() -> String { format!("{}/.config/music-lounge", env::var("HOME").expect("Where the hell is your home folder?!")) } [INFO] [stdout] | ^^^^^^ expected `PathBuf`, found `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn() -> PathBuf` [INFO] [stdout] found signature `fn() -> std::string::String` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 72 - fn get_save_dir() -> String { format!("{}/.config/music-lounge", env::var("HOME").expect("Where the hell is your home folder?!")) } [INFO] [stdout] 72 + fn get_save_dir() -> PathBuf { format!("{}/.config/music-lounge", env::var("HOME").expect("Where the hell is your home folder?!")) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/library/playlist.rs:227:30 [INFO] [stdout] | [INFO] [stdout] 227 | let mut rand = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/library/playlist.rs:280:30 [INFO] [stdout] | [INFO] [stdout] 280 | let mut rand = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `choose_multiple` found for struct `Vec` in the current scope [INFO] [stdout] --> src/library/playlist.rs:282:34 [INFO] [stdout] | [INFO] [stdout] 282 | for (i, image) in images.choose_multiple(&mut rand, 4).enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `choose_mut` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.9.2/src/seq/slice.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | / fn choose_mut(&mut self, rng: &mut R) -> Option<&mut Self::Output> [INFO] [stdout] 250 | | where [INFO] [stdout] 251 | | R: Rng + ?Sized, [INFO] [stdout] | |________________________^ [INFO] [stdout] help: trait `IndexedRandom` which provides `choose_multiple` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rand::prelude::IndexedRandom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `get_save_dir` has an incompatible type for trait [INFO] [stdout] --> src/config/mod.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | fn get_save_dir() -> String { format!("{}/.config/music-lounge", env::var("HOME").expect("Where the hell is your home folder?!")) } [INFO] [stdout] | ^^^^^^ expected `PathBuf`, found `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn() -> PathBuf` [INFO] [stdout] found signature `fn() -> std::string::String` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 72 - fn get_save_dir() -> String { format!("{}/.config/music-lounge", env::var("HOME").expect("Where the hell is your home folder?!")) } [INFO] [stdout] 72 + fn get_save_dir() -> PathBuf { format!("{}/.config/music-lounge", env::var("HOME").expect("Where the hell is your home folder?!")) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `choose_multiple` found for struct `Vec` in the current scope [INFO] [stdout] --> src/library/playlist.rs:282:34 [INFO] [stdout] | [INFO] [stdout] 282 | for (i, image) in images.choose_multiple(&mut rand, 4).enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `choose_mut` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.9.2/src/seq/slice.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | / fn choose_mut(&mut self, rng: &mut R) -> Option<&mut Self::Output> [INFO] [stdout] 250 | | where [INFO] [stdout] 251 | | R: Rng + ?Sized, [INFO] [stdout] | |________________________^ [INFO] [stdout] help: trait `IndexedRandom` which provides `choose_multiple` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rand::prelude::IndexedRandom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `music-lounge-core` (lib) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0053, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `music-lounge-core` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6bf9a6216d82c6fc9a727b6091e538f27ae0e8c592b59e17b23010ec369d078c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bf9a6216d82c6fc9a727b6091e538f27ae0e8c592b59e17b23010ec369d078c", kill_on_drop: false }` [INFO] [stdout] 6bf9a6216d82c6fc9a727b6091e538f27ae0e8c592b59e17b23010ec369d078c