[INFO] fetching crate spotify-client 0.1.2... [INFO] testing spotify-client-0.1.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate spotify-client 0.1.2 into /workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate spotify-client 0.1.2 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 335 packages to latest compatible versions [INFO] [stderr] Adding librespot-connect v0.4.2 (available: v0.7.1) [INFO] [stderr] Adding librespot-core v0.4.2 (available: v0.7.1) [INFO] [stderr] Adding reqwest v0.12.4 (available: v0.12.23) [INFO] [stderr] Adding rspotify v0.13.3 (available: v0.15.1) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding toml v0.8.23 (available: v0.9.7) [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 ttl_cache v0.5.1 [INFO] [stderr] Downloaded rspotify-http v0.13.3 [INFO] [stderr] Downloaded enum_dispatch v0.3.13 [INFO] [stderr] Downloaded rspotify-macros v0.13.3 [INFO] [stderr] Downloaded winreg v0.52.0 [INFO] [stderr] Downloaded tokio-socks v0.5.2 [INFO] [stderr] Downloaded config_parser_derive v0.1.3 [INFO] [stderr] Downloaded librespot-protocol v0.4.2 [INFO] [stderr] Downloaded nanorand v0.7.0 [INFO] [stderr] Downloaded if-addrs v0.7.0 [INFO] [stderr] Downloaded zerocopy v0.6.6 [INFO] [stderr] Downloaded librespot-playback v0.4.2 [INFO] [stderr] Downloaded protobuf-codegen v2.28.0 [INFO] [stderr] Downloaded protobuf-codegen-pure v2.28.0 [INFO] [stderr] Downloaded reqwest v0.12.4 [INFO] [stderr] Downloaded priority-queue v1.4.0 [INFO] [stderr] Downloaded librespot-core v0.4.2 [INFO] [stderr] Downloaded libmdns v0.7.5 [INFO] [stderr] Downloaded librespot-audio v0.4.2 [INFO] [stderr] Downloaded librespot-connect v0.4.2 [INFO] [stderr] Downloaded pbkdf2 v0.8.0 [INFO] [stderr] Downloaded vergen v3.2.0 [INFO] [stderr] Downloaded librespot-discovery v0.4.2 [INFO] [stderr] Downloaded aes-ctr v0.6.0 [INFO] [stderr] Downloaded config_parser2 v0.1.6 [INFO] [stderr] Downloaded protobuf v2.28.0 [INFO] [stderr] Downloaded librespot-metadata v0.4.2 [INFO] [stderr] Downloaded hyper-proxy v0.9.1 [INFO] [stderr] Downloaded shannon v0.2.0 [INFO] [stderr] Downloaded rspotify-model v0.13.3 [INFO] [stderr] Downloaded zerocopy-derive v0.6.6 [INFO] [stderr] Downloaded rspotify v0.13.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f98f01e518f8be2442ca3e31f6a6b6a9ccd473ccf552da85f6145f7e8c1ee012 [INFO] running `Command { std: "docker" "start" "-a" "f98f01e518f8be2442ca3e31f6a6b6a9ccd473ccf552da85f6145f7e8c1ee012", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f98f01e518f8be2442ca3e31f6a6b6a9ccd473ccf552da85f6145f7e8c1ee012", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f98f01e518f8be2442ca3e31f6a6b6a9ccd473ccf552da85f6145f7e8c1ee012", kill_on_drop: false }` [INFO] [stdout] f98f01e518f8be2442ca3e31f6a6b6a9ccd473ccf552da85f6145f7e8c1ee012 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfac1bc0e6b3c6838a4f2c59b19b2960139ef18aaa5c4f127203583fec1e5f3d [INFO] running `Command { std: "docker" "start" "-a" "bfac1bc0e6b3c6838a4f2c59b19b2960139ef18aaa5c4f127203583fec1e5f3d", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling thread-id v4.2.2 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling priority-queue v1.4.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling pbkdf2 v0.8.0 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling shannon v0.2.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling aes-ctr v0.6.0 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling nix v0.23.2 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling vergen v3.2.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling zerocopy-derive v0.6.6 [INFO] [stderr] Compiling if-addrs v0.7.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling librespot-core v0.4.2 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling serde_spanned v1.0.2 [INFO] [stderr] Compiling protobuf-codegen v2.28.0 [INFO] [stderr] Compiling zerocopy v0.6.6 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling toml_writer v1.0.3 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml v0.9.7 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling config_parser_derive v0.1.3 [INFO] [stderr] Compiling protobuf-codegen-pure v2.28.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling rspotify-model v0.13.3 [INFO] [stderr] Compiling rspotify-macros v0.13.3 [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 config_parser2 v0.1.6 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling librespot-protocol v0.4.2 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tokio-stream v0.1.17 [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.8 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling hyper-proxy v0.9.1 [INFO] [stderr] Compiling hyper v1.7.0 [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 hyper-util v0.1.17 [INFO] [stderr] Compiling librespot-playback v0.4.2 [INFO] [stderr] Compiling librespot-connect v0.4.2 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.4 [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)]` 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] warning: value assigned to `user` is never read [INFO] [stdout] --> src/auth.rs:71:13 [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)]` on by default [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: two different versions of crate `toml` are being used; two types coming from two different versions of the same crate are different types even if they look the same [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 `toml::Value` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/toml-0.9.7/src/value.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ this is the expected type `toml::value::Value` [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use config_parser2::*; [INFO] [stdout] | -------------- one version of crate `toml` used here, as a dependency of crate `config_parser2` [INFO] [stdout] ... [INFO] [stdout] 55 | #[derive(Debug, Deserialize, Serialize, ConfigParse)] [INFO] [stdout] | ----------- one version of crate `toml` used here, as a direct dependency of the current crate [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.6/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] 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" "bfac1bc0e6b3c6838a4f2c59b19b2960139ef18aaa5c4f127203583fec1e5f3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfac1bc0e6b3c6838a4f2c59b19b2960139ef18aaa5c4f127203583fec1e5f3d", kill_on_drop: false }` [INFO] [stdout] bfac1bc0e6b3c6838a4f2c59b19b2960139ef18aaa5c4f127203583fec1e5f3d