[INFO] fetching crate spotify-client 0.1.2... [INFO] testing spotify-client-0.1.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate spotify-client 0.1.2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate spotify-client 0.1.2 [INFO] finished tweaking crates.io crate spotify-client 0.1.2 [INFO] tweaked toml for crates.io crate spotify-client 0.1.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate spotify-client 0.1.2 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 337 packages to latest compatible versions [INFO] [stderr] Adding crypto-common v0.1.6 (available: v0.1.7) [INFO] [stderr] Adding flume v0.11.1 (available: v0.12.0) [INFO] [stderr] Adding librespot-connect v0.4.2 (available: v0.8.0) [INFO] [stderr] Adding librespot-core v0.4.2 (available: v0.8.0) [INFO] [stderr] Adding reqwest v0.12.4 (available: v0.12.28) [INFO] [stderr] Adding rspotify v0.13.3 (available: v0.16.0) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding toml v0.8.23 (available: v1.1.2+spec-1.1.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af713a101eb3f42e408697822f0f969a0c9349fe69e95ba097e15fbf878076a4 [INFO] running `Command { std: "docker" "start" "-a" "af713a101eb3f42e408697822f0f969a0c9349fe69e95ba097e15fbf878076a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af713a101eb3f42e408697822f0f969a0c9349fe69e95ba097e15fbf878076a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af713a101eb3f42e408697822f0f969a0c9349fe69e95ba097e15fbf878076a4", kill_on_drop: false }` [INFO] [stdout] af713a101eb3f42e408697822f0f969a0c9349fe69e95ba097e15fbf878076a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cc11c5a81c96395c0ddf7c2fa331285a7556436fa07695a5169362de9f94c45 [INFO] running `Command { std: "docker" "start" "-a" "0cc11c5a81c96395c0ddf7c2fa331285a7556436fa07695a5169362de9f94c45", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling rustc-demangle v0.1.27 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling semver v1.0.28 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling priority-queue v1.4.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling pbkdf2 v0.8.0 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling uuid v1.23.0 [INFO] [stderr] Compiling shannon v0.2.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling vergen v3.2.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling aes-ctr v0.6.0 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling nix v0.23.2 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling librespot-core v0.4.2 [INFO] [stderr] Compiling if-addrs v0.7.0 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling zerocopy-derive v0.6.6 [INFO] [stderr] Compiling winnow v1.0.1 [INFO] [stderr] Compiling anstyle-parse v1.0.0 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_parser v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling protobuf-codegen v2.28.0 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling zerocopy v0.6.6 [INFO] [stderr] Compiling toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling serde_spanned v1.1.1 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling maybe-async v0.2.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling shell-words v1.1.1 [INFO] [stderr] Compiling colorchoice v1.0.5 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling protobuf-codegen-pure v2.28.0 [INFO] [stderr] Compiling toml_writer v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling toml v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling tokio v1.51.1 [INFO] [stderr] Compiling anstream v1.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling rspotify-model v0.13.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling config_parser_derive v0.1.3 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling rspotify-macros v0.13.3 [INFO] [stderr] Compiling jiff v0.2.23 [INFO] [stderr] Compiling config_parser2 v0.1.7 [INFO] [stderr] Compiling ttl_cache v0.5.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling env_filter v1.0.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling librespot-protocol v0.4.2 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-socks v0.5.2 [INFO] [stderr] Compiling libmdns v0.7.5 [INFO] [stderr] Compiling env_logger v0.11.10 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling hyper v1.9.0 [INFO] [stderr] Compiling hyper-proxy v0.9.1 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling librespot-metadata v0.4.2 [INFO] [stderr] Compiling librespot-audio v0.4.2 [INFO] [stderr] Compiling librespot-discovery v0.4.2 [INFO] [stderr] Compiling librespot-playback v0.4.2 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.4 [INFO] [stderr] Compiling librespot-connect v0.4.2 [INFO] [stderr] Compiling rspotify-http v0.13.3 [INFO] [stderr] Compiling rspotify v0.13.3 [INFO] [stderr] Compiling spotify-client v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `file` [INFO] [stdout] --> src/config.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(feature = "file")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `env-file`, and `test_mod` [INFO] [stdout] = help: consider adding `file` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `file` [INFO] [stdout] --> src/config.rs:149:7 [INFO] [stdout] | [INFO] [stdout] 149 | #[cfg(feature = "file")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `env-file`, and `test_mod` [INFO] [stdout] = help: consider adding `file` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `file` [INFO] [stdout] --> src/config.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(feature = "file")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `env-file`, and `test_mod` [INFO] [stdout] = help: consider adding `file` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `file` [INFO] [stdout] --> src/config.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | #[cfg(not(feature = "file"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `env-file`, and `test_mod` [INFO] [stdout] = help: consider adding `file` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `file` [INFO] [stdout] --> src/config.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg(feature = "file")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `env-file`, and `test_mod` [INFO] [stdout] = help: consider adding `file` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `file` [INFO] [stdout] --> src/config.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | #[cfg(feature = "file")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `env-file`, and `test_mod` [INFO] [stdout] = help: consider adding `file` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FullAlbum` [INFO] [stdout] --> src/client/mod.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | FullPlaylist, FullAlbum, FullArtist, FullTrack, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `parse` has an incompatible type for trait [INFO] [stdout] --> src/config.rs:55:41 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug, Deserialize, Serialize, ConfigParse)] [INFO] [stdout] | ^^^^^^^^^^^ expected `toml::value::Value`, found `toml::Value` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut AppConfig, toml::value::Value) -> Result<_, _>` [INFO] [stdout] found signature `fn(&mut AppConfig, toml::Value) -> Result<_, _>` [INFO] [stdout] = note: this error originates in the derive macro `ConfigParse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/config.rs:55:41 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug, Deserialize, Serialize, ConfigParse)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `toml::value::Value`, found `toml::Value` [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `toml` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/toml-1.1.2+spec-1.1.0/src/value.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/toml-0.8.23/src/value.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum Value { [INFO] [stdout] | -------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/config_parser2-0.1.7/src/lib.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn parse(&mut self, value: toml::Value) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `ConfigParse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/model.rs:258:25 [INFO] [stdout] | [INFO] [stdout] 256 | let id = match track.linked_from { [INFO] [stdout] | ______________________- [INFO] [stdout] 257 | | Some(d) => d.id, [INFO] [stdout] | | ---- this is found to be of type `std::option::Option>` [INFO] [stdout] 258 | | None => track.id?, [INFO] [stdout] | | ^^^^^^^^^ expected `Option>`, found `TrackId<'_>` [INFO] [stdout] 259 | | }; [INFO] [stdout] | |_____________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option>` [INFO] [stdout] found struct `rspotify::rspotify_model::TrackId<'_>` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 258 | None => Some(track.id?), [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/model.rs:279:25 [INFO] [stdout] | [INFO] [stdout] 277 | let id = match track.linked_from { [INFO] [stdout] | ______________________- [INFO] [stdout] 278 | | Some(d) => d.id, [INFO] [stdout] | | ---- this is found to be of type `std::option::Option>` [INFO] [stdout] 279 | | None => track.id?, [INFO] [stdout] | | ^^^^^^^^^ expected `Option>`, found `TrackId<'_>` [INFO] [stdout] 280 | | }; [INFO] [stdout] | |_____________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option>` [INFO] [stdout] found struct `rspotify::rspotify_model::TrackId<'_>` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 279 | None => Some(track.id?), [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `user` is never read [INFO] [stdout] --> src/auth.rs:71:36 [INFO] [stdout] | [INFO] [stdout] 71 | let mut user: Option = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spotify-client` (lib) due to 4 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0cc11c5a81c96395c0ddf7c2fa331285a7556436fa07695a5169362de9f94c45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cc11c5a81c96395c0ddf7c2fa331285a7556436fa07695a5169362de9f94c45", kill_on_drop: false }` [INFO] [stdout] 0cc11c5a81c96395c0ddf7c2fa331285a7556436fa07695a5169362de9f94c45