[INFO] cloning repository https://github.com/Lakret/music_box [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lakret/music_box" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLakret%2Fmusic_box", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLakret%2Fmusic_box'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7651be73ff19e3438c9df744b7803e43ee1a8628 [INFO] testing Lakret/music_box against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLakret%2Fmusic_box" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lakret/music_box on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Lakret/music_box [INFO] finished tweaking git repo https://github.com/Lakret/music_box [INFO] tweaked toml for git repo https://github.com/Lakret/music_box written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/Lakret/music_box already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/ramsayleung/rspotify` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded maybe-async v0.2.2 [INFO] [stderr] Downloaded webview-sys v0.5.1 [INFO] [stderr] Downloaded ureq v1.5.2 [INFO] [stderr] Downloaded path-slash v0.1.3 [INFO] [stderr] Downloaded actix-web-static-files v3.0.2 [INFO] [stderr] Downloaded web-view v0.6.3 [INFO] [stderr] Downloaded cpal v0.12.1 [INFO] [stderr] Downloaded tinyfiledialogs v3.3.10 [INFO] [stderr] Downloaded rodio v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91a192153ad232fb7a5d8a622895b18d93e5e8355d3323c7efe155e69fa1c012 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "91a192153ad232fb7a5d8a622895b18d93e5e8355d3323c7efe155e69fa1c012", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91a192153ad232fb7a5d8a622895b18d93e5e8355d3323c7efe155e69fa1c012", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91a192153ad232fb7a5d8a622895b18d93e5e8355d3323c7efe155e69fa1c012", kill_on_drop: false }` [INFO] [stdout] 91a192153ad232fb7a5d8a622895b18d93e5e8355d3323c7efe155e69fa1c012 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b98dcdc2c72cd722551069e3c59fd6ce665d6cfbacb45badbd72167761afc64 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3b98dcdc2c72cd722551069e3c59fd6ce665d6cfbacb45badbd72167761afc64", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling futures-io v0.3.7 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cpal v0.12.1 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling chunked_transfer v1.3.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling path-slash v0.1.3 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling humantime v2.0.1 [INFO] [stderr] Compiling urlencoding v1.1.1 [INFO] [stderr] Compiling glib-sys v0.9.1 [INFO] [stderr] Compiling gobject-sys v0.9.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling instant v0.1.8 [INFO] [stderr] Compiling gio-sys v0.9.1 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling ring v0.16.16 [INFO] [stderr] Compiling cairo-sys-rs v0.9.2 [INFO] [stderr] Compiling pango-sys v0.9.1 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.9.1 [INFO] [stderr] Compiling atk-sys v0.9.1 [INFO] [stderr] Compiling gdk-sys v0.9.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling alsa-sys v0.3.0 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling soup-sys v0.9.0 [INFO] [stderr] Compiling gtk-sys v0.9.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling webkit2gtk-sys v0.10.0 [INFO] [stderr] Compiling tinyfiledialogs v3.3.10 [INFO] [stderr] Compiling webview-sys v0.5.1 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling buf-min v0.1.1 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling tinyvec v1.0.1 [INFO] [stderr] Compiling standback v0.2.11 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Compiling cookie v0.14.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling encoding_rs v0.8.24 [INFO] [stderr] Compiling aho-corasick v0.7.14 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling tracing v0.1.21 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling ogg v0.7.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling addr2line v0.14.0 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling regex v1.4.1 [INFO] [stderr] Compiling lewton v0.10.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling backtrace v0.3.54 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling socket2 v0.3.15 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling javascriptcore-rs-sys v0.2.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling listenfd v0.3.3 [INFO] [stderr] Compiling sha-1 v0.9.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling publicsuffix v1.5.4 [INFO] [stderr] Compiling env_logger v0.8.1 [INFO] [stderr] Compiling minimp3 v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling alsa v0.4.2 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.7 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling async-trait v0.1.41 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling strum_macros v0.19.4 [INFO] [stderr] Compiling maybe-async v0.2.2 [INFO] [stderr] Compiling v_escape_derive v0.8.4 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling thiserror v1.0.21 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling web-view v0.6.3 [INFO] [stderr] Compiling dotenv v0.13.0 [INFO] [stderr] Compiling pin-project v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.7 [INFO] [stderr] Compiling rodio v0.12.0 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling strum v0.19.5 [INFO] [stderr] Compiling v_escape v0.13.2 [INFO] [stderr] Compiling v_htmlescape v0.10.4 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling futures v0.3.7 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling trust-dns-proto v0.19.5 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.5 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.5 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling cookie_store v0.12.0 [INFO] [stderr] Compiling ureq v1.5.2 [INFO] [stderr] Compiling actix-http v2.1.0 [INFO] [stderr] Compiling rspotify v0.10.0 (https://github.com/ramsayleung/rspotify#65f15816) [INFO] [stderr] Compiling awc v2.0.1 [INFO] [stderr] Compiling actix-web v3.2.0 [INFO] [stderr] Compiling music_box v0.1.0 (/opt/rustwide/workdir/music_box) [INFO] [stdout] warning: unused import: `crate::spotify` [INFO] [stdout] --> music_box/src/model.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::spotify; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Credentials`, `OAuth` [INFO] [stdout] --> music_box/src/spotify.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use rspotify::oauth2::{Credentials, OAuth, Token}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> music_box/src/model.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `path` [INFO] [stdout] --> music_box/src/model.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_existing_token` [INFO] [stdout] --> music_box/src/spotify.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn read_existing_token(serialized_token: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling actix-files v0.4.0 [INFO] [stderr] Compiling desktop v0.1.0 (/opt/rustwide/workdir/desktop) [INFO] [stdout] warning: function is never used: `play_local` [INFO] [stdout] --> music_box/src/main.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn play_local

(path: P) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_spotify_client` found for trait object `dyn music_box::MusicSource` in the current scope [INFO] [stdout] --> desktop/src/main.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | let spotify = MusicSource::new_spotify_client()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `dyn music_box::MusicSource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_local_dir_client` found for trait object `dyn music_box::MusicSource` in the current scope [INFO] [stdout] --> desktop/src/main.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | let local_dir = MusicSource::new_local_dir_client("Test Dir", "../music")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `dyn music_box::MusicSource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> desktop/src/main.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | let library = MusicLibrary::new(vec![spotify, local_dir]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/music_box/src/model.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new() -> MusicLibrary { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `desktop` due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3b98dcdc2c72cd722551069e3c59fd6ce665d6cfbacb45badbd72167761afc64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b98dcdc2c72cd722551069e3c59fd6ce665d6cfbacb45badbd72167761afc64", kill_on_drop: false }` [INFO] [stdout] 3b98dcdc2c72cd722551069e3c59fd6ce665d6cfbacb45badbd72167761afc64