[INFO] fetching crate music-lounge-core 0.7.0... [INFO] testing music-lounge-core-0.7.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-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 cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 214 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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 rust-utils-macros v0.1.0 [INFO] [stderr] Downloaded fax v0.2.6 [INFO] [stderr] Downloaded lofty_attr v0.9.0 [INFO] [stderr] Downloaded fax_derive v0.2.0 [INFO] [stderr] Downloaded ogg_pager v0.6.1 [INFO] [stderr] Downloaded cursive-macros v0.1.0 [INFO] [stderr] Downloaded rust-utils v0.16.0 [INFO] [stderr] Downloaded image-webp v0.2.4 [INFO] [stderr] Downloaded png v0.18.0 [INFO] [stderr] Downloaded ron v0.11.0 [INFO] [stderr] Downloaded lofty v0.18.2 [INFO] [stderr] Downloaded cursive_core v0.4.6 [INFO] [stderr] Downloaded color-thief v0.2.2 [INFO] [stderr] Downloaded tiff v0.10.3 [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38730a50a5d3919465a57eeb4038d5af8afad53006aad416d25e122fd1d57672 [INFO] running `Command { std: "docker" "start" "-a" "38730a50a5d3919465a57eeb4038d5af8afad53006aad416d25e122fd1d57672", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38730a50a5d3919465a57eeb4038d5af8afad53006aad416d25e122fd1d57672", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38730a50a5d3919465a57eeb4038d5af8afad53006aad416d25e122fd1d57672", kill_on_drop: false }` [INFO] [stdout] 38730a50a5d3919465a57eeb4038d5af8afad53006aad416d25e122fd1d57672 [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] baeb97f807fccbfe78ba7e3cb042039e158fd351d34dccec52325ab69cc7bf55 [INFO] running `Command { std: "docker" "start" "-a" "baeb97f807fccbfe78ba7e3cb042039e158fd351d34dccec52325ab69cc7bf55", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling avif-serialize v0.8.6 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling zune-jpeg v0.4.20 [INFO] [stderr] Compiling pxfm v0.1.20 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling toml_writer v1.0.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling if_chain v1.0.3 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling ogg_pager v0.6.1 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling color-thief v0.2.2 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling toml_parser v1.0.2 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling toml v0.9.5 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling moxcms v0.7.5 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling fax_derive v0.2.0 [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] Compiling profiling v1.0.17 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling tiff v0.10.3 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling lofty v0.18.2 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ron v0.11.0 [INFO] [stderr] Compiling rust-utils v0.16.0 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling image v0.25.7 [INFO] [stderr] Compiling 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] 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] running `Command { std: "docker" "inspect" "baeb97f807fccbfe78ba7e3cb042039e158fd351d34dccec52325ab69cc7bf55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baeb97f807fccbfe78ba7e3cb042039e158fd351d34dccec52325ab69cc7bf55", kill_on_drop: false }` [INFO] [stdout] baeb97f807fccbfe78ba7e3cb042039e158fd351d34dccec52325ab69cc7bf55