[INFO] fetching crate tidalrs 0.4.1... [INFO] testing tidalrs-0.4.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate tidalrs 0.4.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate tidalrs 0.4.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate tidalrs 0.4.1 [INFO] tweaked toml for crates.io crate tidalrs 0.4.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tidalrs 0.4.1 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] crate crates.io crate tidalrs 0.4.1 already has a lockfile, it will not be regenerated [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 4be5f00724f5db1bb90b329bbcb9e355d197e4e78b39228d10054e800c314e65 [INFO] running `Command { std: "docker" "start" "-a" "4be5f00724f5db1bb90b329bbcb9e355d197e4e78b39228d10054e800c314e65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4be5f00724f5db1bb90b329bbcb9e355d197e4e78b39228d10054e800c314e65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4be5f00724f5db1bb90b329bbcb9e355d197e4e78b39228d10054e800c314e65", kill_on_drop: false }` [INFO] [stdout] 4be5f00724f5db1bb90b329bbcb9e355d197e4e78b39228d10054e800c314e65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 112c8dbfddc4ddf65e657adf73c9e279f78ef2d5e7886e931d2f1d19e461d7ac [INFO] running `Command { std: "docker" "start" "-a" "112c8dbfddc4ddf65e657adf73c9e279f78ef2d5e7886e931d2f1d19e461d7ac", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling webpki-roots v1.0.3 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling mediatype v0.20.0 [INFO] [stderr] Compiling rangemap v1.6.0 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling rustls-webpki v0.103.7 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling educe v0.6.0 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling stream-download v0.22.6 [INFO] [stderr] Compiling tidalrs v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "112c8dbfddc4ddf65e657adf73c9e279f78ef2d5e7886e931d2f1d19e461d7ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "112c8dbfddc4ddf65e657adf73c9e279f78ef2d5e7886e931d2f1d19e461d7ac", kill_on_drop: false }` [INFO] [stdout] 112c8dbfddc4ddf65e657adf73c9e279f78ef2d5e7886e931d2f1d19e461d7ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ebb0ddf2e21f21474fd6f1485edca3ff02f7d9c680c60f3224c60352a28f556 [INFO] running `Command { std: "docker" "start" "-a" "6ebb0ddf2e21f21474fd6f1485edca3ff02f7d9c680c60f3224c60352a28f556", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling extended v0.1.0 [INFO] [stderr] Compiling cpal v0.16.0 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling symphonia-core v0.5.5 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling symphonia-metadata v0.5.5 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling symphonia-codec-aac v0.5.5 [INFO] [stderr] Compiling symphonia-codec-pcm v0.5.5 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling symphonia-utils-xiph v0.5.5 [INFO] [stderr] Compiling symphonia-bundle-flac v0.5.5 [INFO] [stderr] Compiling symphonia-format-ogg v0.5.5 [INFO] [stderr] Compiling symphonia-codec-vorbis v0.5.5 [INFO] [stderr] Compiling symphonia-format-isomp4 v0.5.5 [INFO] [stderr] Compiling symphonia-format-riff v0.5.5 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.5 [INFO] [stderr] Compiling symphonia v0.5.5 [INFO] [stderr] Compiling rodio v0.21.1 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling env_filter v0.1.4 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling stream-download v0.22.6 [INFO] [stderr] Compiling tidalrs v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "6ebb0ddf2e21f21474fd6f1485edca3ff02f7d9c680c60f3224c60352a28f556", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ebb0ddf2e21f21474fd6f1485edca3ff02f7d9c680c60f3224c60352a28f556", kill_on_drop: false }` [INFO] [stdout] 6ebb0ddf2e21f21474fd6f1485edca3ff02f7d9c680c60f3224c60352a28f556 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7bc4e8ef3d3d45adfb5d019e6d6f9fb0b85ebcd03577987307538f104f3c333c [INFO] running `Command { std: "docker" "start" "-a" "7bc4e8ef3d3d45adfb5d019e6d6f9fb0b85ebcd03577987307538f104f3c333c", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tidalrs-d7c79ac29a2c0811) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/builder_pattern.rs (/opt/rustwide/target/debug/deps/builder_pattern-0f13c7a9c0e9cd77) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test test_builder_pattern_basic ... ok [INFO] [stdout] test test_builder_pattern_country_code_final_fallback ... ok [INFO] [stdout] test test_builder_pattern_chaining ... ok [INFO] [stdout] test test_builder_pattern_country_code_fallback ... ok [INFO] [stdout] test test_builder_pattern_with_authz ... ok [INFO] [stdout] test test_builder_pattern_with_authz_refresh_callback ... ok [INFO] [stdout] test test_builder_pattern_country_code_priority ... ok [INFO] [stdout] test test_tidal_api_error_deserialization_camel_case ... ok [INFO] [stdout] test test_tidal_api_error_deserialization_snake_case ... ok [INFO] [stdout] test test_builder_pattern_with_locale ... ok [INFO] [stdout] test test_builder_pattern_with_device_type ... ok [INFO] [stdout] test test_builder_pattern_with_country_code ... ok [INFO] [stdout] test test_tidal_api_error_deserialization_mixed_case ... ok [INFO] [stdout] test test_builder_pattern_with_client ... ok [INFO] [stdout] test test_tidal_api_error_deserialization_missing_user_message ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests tidalrs [INFO] [stdout] [INFO] [stdout] running 57 tests [INFO] [stdout] test src/../README.md - (line 217) ... FAILED [INFO] [stdout] test src/../README.md - (line 118) ... FAILED [INFO] [stdout] test src/../README.md - (line 244) ... FAILED [INFO] [stdout] test src/../README.md - (line 154) ... FAILED [INFO] [stdout] test src/../README.md - (line 193) ... FAILED [INFO] [stdout] test src/../README.md - (line 28) ... FAILED [INFO] [stdout] test src/../README.md - (line 233) ... FAILED [INFO] [stdout] test src/../README.md - (line 135) ... FAILED [INFO] [stdout] test src/../README.md - (line 170) ... FAILED [INFO] [stdout] test src/album.rs - album::TidalClient::album (line 168) - compile ... FAILED [INFO] [stdout] test src/../README.md - (line 60) ... FAILED [INFO] [stdout] test src/../README.md - (line 80) ... FAILED [INFO] [stdout] test src/album.rs - album::TidalClient::add_favorite_album (line 294) - compile ... FAILED [INFO] [stdout] test src/album.rs - album::TidalClient::album_tracks (line 202) - compile ... FAILED [INFO] [stdout] test src/../README.md - (line 96) ... FAILED [INFO] [stdout] test src/album.rs - album::TidalClient::favorite_albums (line 248) - compile ... FAILED [INFO] [stdout] test src/album.rs - album::TidalClient::remove_favorite_album (line 326) - compile ... FAILED [INFO] [stdout] test src/lib.rs - AudioQuality (line 1128) - compile ... ok [INFO] [stdout] test src/artist.rs - artist::TidalClient::artist_albums (line 268) - compile ... FAILED [INFO] [stdout] test src/artist.rs - artist::TidalClient::add_favorite_artist (line 313) - compile ... FAILED [INFO] [stdout] test src/artist.rs - artist::TidalClient::artist (line 183) - compile ... FAILED [INFO] [stdout] test src/lib.rs - DeviceAuthorizationResponse (line 35) - compile ... ok [INFO] [stdout] test src/artist.rs - artist::TidalClient::remove_favorite_artist (line 345) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Authz (line 329) - compile ... ok [INFO] [stdout] test src/artist.rs - artist::TidalClient::favorite_artists (line 215) - compile ... FAILED [INFO] [stdout] test src/lib.rs - TidalClient::with_authz (line 440) - compile ... ok [INFO] [stdout] test src/lib.rs - TidalClient::device_authorization (line 1009) - compile ... ok [INFO] [stdout] test src/lib.rs - TidalClient::get_authz (line 707) - compile ... ok [INFO] [stdout] test src/lib.rs - TidalClient::authorize (line 1054) - compile ... FAILED [INFO] [stdout] test src/lib.rs - TidalClient::on_authz_refresh (line 680) - compile ... FAILED [INFO] [stdout] test src/lib.rs - TidalClient (line 282) - compile ... ok [INFO] [stdout] test src/lib.rs - TidalClient::new (line 381) - compile ... ok [INFO] [stdout] test src/lib.rs - List (line 1296) - compile ... ok [INFO] [stdout] test src/lib.rs - TidalClient::with_country_code (line 516) - compile ... ok [INFO] [stdout] test src/lib.rs - TidalClient::with_authz_refresh_callback (line 539) - compile ... ok [INFO] [stdout] test src/lib.rs - TidalClient::with_locale (line 468) - compile ... ok [INFO] [stdout] test src/lib.rs - TidalClient::with_client (line 412) - compile ... ok [INFO] [stdout] test src/lib.rs - TidalClient::with_device_type (line 493) - compile ... ok [INFO] [stdout] test src/lib.rs - TidalClient::with_max_backoff_millis (line 575) - compile ... ok [INFO] [stdout] test src/playlist.rs - playlist::TidalClient::playlist_tracks (line 164) - compile ... FAILED [INFO] [stdout] test src/playlist.rs - playlist::TidalClient::create_playlist (line 207) - compile ... FAILED [INFO] [stdout] test src/playlist.rs - playlist::TidalClient::add_tracks_to_playlist (line 240) - compile ... FAILED [INFO] [stdout] test src/search.rs - search::SearchQuery<'a>::new (line 48) - compile ... ok [INFO] [stdout] test src/playlist.rs - playlist::TidalClient::remove_track_from_playlist_by_index (line 289) - compile ... FAILED [INFO] [stdout] test src/playlist.rs - playlist::TidalClient::playlist (line 132) - compile ... FAILED [INFO] [stdout] test src/playlist.rs - playlist::TidalClient::user_playlists (line 389) - compile ... FAILED [INFO] [stdout] test src/playlist.rs - playlist::TidalClient::remove_track_from_playlist (line 327) - compile ... FAILED [INFO] [stdout] test src/search.rs - search::TidalClient::search (line 84) - compile ... FAILED [INFO] [stdout] test src/track.rs - track::TidalClient::favorite_tracks (line 286) - compile ... FAILED [INFO] [stdout] test src/track.rs - track::TidalClient::add_favorite_track (line 332) - compile ... FAILED [INFO] [stdout] test src/track.rs - track::TidalClient::remove_favorite_track (line 364) - compile ... FAILED [INFO] [stdout] test src/track.rs - track::TidalClient::track_playback_info (line 197) - compile ... FAILED [INFO] [stdout] test src/track.rs - track::TidalClient::track (line 161) - compile ... FAILED [INFO] [stdout] test src/track.rs - track::TidalClient::track_dash_playback_info (line 237) - compile ... FAILED [INFO] [stdout] test src/track.rs - track::TidalClient::track_stream (line 117) - compile ... FAILED [INFO] [stdout] test src/track.rs - track::TrackDashPlaybackInfo::unpack_manifest (line 502) - compile ... FAILED [INFO] [stdout] test src/track.rs - track::TrackStream::stream (line 539) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/../README.md - (line 217) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/../README.md:227:14 [INFO] [stdout] | [INFO] [stdout] 227 | let stream = client.track_stream(track_id, AudioQuality::Lossless).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `track_id` in this scope [INFO] [stdout] --> src/../README.md:227:34 [INFO] [stdout] | [INFO] [stdout] 227 | let stream = client.track_stream(track_id, AudioQuality::Lossless).await?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.md:227:68 [INFO] [stdout] | [INFO] [stdout] 218 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_217_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 227 | let stream = client.track_stream(track_id, AudioQuality::Lossless).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 118) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/../README.md:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let track = client.track(123456789).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/../README.md:124:14 [INFO] [stdout] | [INFO] [stdout] 124 | let stream = client.track_stream(123456789, AudioQuality::Lossless).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AudioQuality` in this scope [INFO] [stdout] --> src/../README.md:124:45 [INFO] [stdout] | [INFO] [stdout] 124 | let stream = client.track_stream(123456789, AudioQuality::Lossless).await?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AudioQuality` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 118 + use tidalrs::AudioQuality; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/../README.md:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | client.add_favorite_track(123456789).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.md:120:37 [INFO] [stdout] | [INFO] [stdout] 118 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_118_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 119 | // Get track details [INFO] [stdout] 120 | let track = client.track(123456789).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.md:124:69 [INFO] [stdout] | [INFO] [stdout] 118 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_118_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 124 | let stream = client.track_stream(123456789, AudioQuality::Lossless).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.md:125:36 [INFO] [stdout] | [INFO] [stdout] 118 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_118_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 125 | let audio_stream = stream.stream().await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.md:128:38 [INFO] [stdout] | [INFO] [stdout] 118 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_118_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 128 | client.add_favorite_track(123456789).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 244) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `TidalClient` in this scope [INFO] [stdout] --> src/../README.md:247:14 [INFO] [stdout] | [INFO] [stdout] 247 | let client = TidalClient::new("client_id".to_string()) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `TidalClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 244 + use tidalrs::TidalClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 154) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/../README.md:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | let artist = client.artist(456789123).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/../README.md:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | let albums = client.artist_albums(456789123, Some(0), Some(20), None).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.md:156:39 [INFO] [stdout] | [INFO] [stdout] 154 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_154_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 155 | // Get artist details [INFO] [stdout] 156 | let artist = client.artist(456789123).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.md:160:71 [INFO] [stdout] | [INFO] [stdout] 154 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_154_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 160 | let albums = client.artist_albums(456789123, Some(0), Some(20), None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 193) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/../README.md:195:23 [INFO] [stdout] | [INFO] [stdout] 195 | let favorite_tracks = client.favorite_tracks(Some(0), Some(50), None, None).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/../README.md:201:23 [INFO] [stdout] | [INFO] [stdout] 201 | let favorite_albums = client.favorite_albums(Some(0), Some(20), None, None).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/../README.md:207:24 [INFO] [stdout] | [INFO] [stdout] 207 | let favorite_artists = client.favorite_artists(Some(0), Some(20), None, None).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.md:195:77 [INFO] [stdout] | [INFO] [stdout] 193 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_193_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 194 | // Get favorite tracks [INFO] [stdout] 195 | let favorite_tracks = client.favorite_tracks(Some(0), Some(50), None, None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.md:201:77 [INFO] [stdout] | [INFO] [stdout] 193 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_193_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 201 | let favorite_albums = client.favorite_albums(Some(0), Some(20), None, None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.md:207:79 [INFO] [stdout] | [INFO] [stdout] 193 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_193_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 207 | let favorite_artists = client.favorite_artists(Some(0), Some(20), None, None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 28) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `AudioQuality` in this scope [INFO] [stdout] --> src/../README.md:50:55 [INFO] [stdout] | [INFO] [stdout] 50 | let track_stream = client.track_stream(123456789, AudioQuality::Lossless).await?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AudioQuality` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 30 + use tidalrs::AudioQuality; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 233) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `TidalClient` in this scope [INFO] [stdout] --> src/../README.md:234:14 [INFO] [stdout] | [INFO] [stdout] 234 | let client = TidalClient::new("client_id".to_string()) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `TidalClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 233 + use tidalrs::TidalClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `DeviceType` in this scope [INFO] [stdout] --> src/../README.md:237:23 [INFO] [stdout] | [INFO] [stdout] 237 | .with_device_type(DeviceType::Browser); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DeviceType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 233 + use tidalrs::DeviceType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 135) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/../README.md:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let album = client.album(987654321).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/../README.md:141:14 [INFO] [stdout] | [INFO] [stdout] 141 | let tracks = client.album_tracks(987654321, Some(0), Some(50)).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/../README.md:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | client.add_favorite_album(987654321).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.md:137:37 [INFO] [stdout] | [INFO] [stdout] 135 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_135_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 136 | // Get album information [INFO] [stdout] 137 | let album = client.album(987654321).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.md:141:64 [INFO] [stdout] | [INFO] [stdout] 135 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_135_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 141 | let tracks = client.album_tracks(987654321, Some(0), Some(50)).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.md:147:38 [INFO] [stdout] | [INFO] [stdout] 135 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_135_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 147 | client.add_favorite_album(987654321).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 170) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/../README.md:172:16 [INFO] [stdout] | [INFO] [stdout] 172 | let playlist = client.create_playlist("My Playlist", "A great playlist").await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/../README.md:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | client.add_tracks_to_playlist(&playlist.uuid, &playlist.etag.unwrap(), track_ids, false).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/../README.md:180:14 [INFO] [stdout] | [INFO] [stdout] 180 | let tracks = client.playlist_tracks(&playlist.uuid, Some(0), Some(100)).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/../README.md:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | client.remove_track_from_playlist(&playlist.uuid, &playlist.etag.unwrap(), 123456789).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.md:172:74 [INFO] [stdout] | [INFO] [stdout] 170 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_170_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 171 | // Create a new playlist [INFO] [stdout] 172 | let playlist = client.create_playlist("My Playlist", "A great playlist").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.md:177:90 [INFO] [stdout] | [INFO] [stdout] 170 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_170_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 177 | client.add_tracks_to_playlist(&playlist.uuid, &playlist.etag.unwrap(), track_ids, false).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.md:180:73 [INFO] [stdout] | [INFO] [stdout] 170 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_170_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 180 | let tracks = client.playlist_tracks(&playlist.uuid, Some(0), Some(100)).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.md:186:87 [INFO] [stdout] | [INFO] [stdout] 170 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_170_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 186 | client.remove_track_from_playlist(&playlist.uuid, &playlist.etag.unwrap(), 123456789).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/album.rs - album::TidalClient::album (line 168) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/album.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let album = client.album(123456789).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/album.rs:169:37 [INFO] [stdout] | [INFO] [stdout] 168 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_album_rs_168_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 169 | let album = client.album(123456789).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 60) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `user_id` in this scope [INFO] [stdout] --> src/../README.md:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | user_id, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 80) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/../README.md:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | let device_auth = client.device_authorization().await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/../README.md:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | let authz_token = client.authorize(&device_auth.device_code, client_secret).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client_secret` in this scope [INFO] [stdout] --> src/../README.md:89:62 [INFO] [stdout] | [INFO] [stdout] 89 | let authz_token = client.authorize(&device_auth.device_code, client_secret).await?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.md:82:49 [INFO] [stdout] | [INFO] [stdout] 80 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_80_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] 81 | // Start device authorization [INFO] [stdout] 82 | let device_auth = client.device_authorization().await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.md:89:77 [INFO] [stdout] | [INFO] [stdout] 80 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_80_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 89 | let authz_token = client.authorize(&device_auth.device_code, client_secret).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/album.rs - album::TidalClient::add_favorite_album (line 294) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/album.rs:295:1 [INFO] [stdout] | [INFO] [stdout] 295 | client.add_favorite_album(123456789).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/album.rs:295:38 [INFO] [stdout] | [INFO] [stdout] 294 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_album_rs_294_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 295 | client.add_favorite_album(123456789).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/album.rs - album::TidalClient::album_tracks (line 202) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/album.rs:203:14 [INFO] [stdout] | [INFO] [stdout] 203 | let tracks = client.album_tracks(123456789, Some(0), Some(20)).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/album.rs:203:64 [INFO] [stdout] | [INFO] [stdout] 202 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_album_rs_202_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 203 | let tracks = client.album_tracks(123456789, Some(0), Some(20)).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 96) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/../README.md:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | let results = client.search(query).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.md:104:36 [INFO] [stdout] | [INFO] [stdout] 97 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_96_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 104 | let results = client.search(query).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/album.rs - album::TidalClient::favorite_albums (line 248) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/album.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | let favorites = client.favorite_albums(None, Some(10), None, None).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/album.rs:249:68 [INFO] [stdout] | [INFO] [stdout] 248 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_album_rs_248_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 249 | let favorites = client.favorite_albums(None, Some(10), None, None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/album.rs - album::TidalClient::remove_favorite_album (line 326) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/album.rs:327:1 [INFO] [stdout] | [INFO] [stdout] 327 | client.remove_favorite_album(123456789).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/album.rs:327:41 [INFO] [stdout] | [INFO] [stdout] 326 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_album_rs_326_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 327 | client.remove_favorite_album(123456789).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/artist.rs - artist::TidalClient::artist_albums (line 268) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/artist.rs:269:14 [INFO] [stdout] | [INFO] [stdout] 269 | let albums = client.artist_albums(123456789, None, Some(20), None).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/artist.rs:269:68 [INFO] [stdout] | [INFO] [stdout] 268 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_artist_rs_268_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] 269 | let albums = client.artist_albums(123456789, None, Some(20), None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/artist.rs - artist::TidalClient::add_favorite_artist (line 313) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/artist.rs:314:1 [INFO] [stdout] | [INFO] [stdout] 314 | client.add_favorite_artist(123456789).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/artist.rs:314:39 [INFO] [stdout] | [INFO] [stdout] 313 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_artist_rs_313_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] 314 | client.add_favorite_artist(123456789).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/artist.rs - artist::TidalClient::artist (line 183) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/artist.rs:184:14 [INFO] [stdout] | [INFO] [stdout] 184 | let artist = client.artist(123456789).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/artist.rs:184:39 [INFO] [stdout] | [INFO] [stdout] 183 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_artist_rs_183_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] 184 | let artist = client.artist(123456789).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/artist.rs - artist::TidalClient::remove_favorite_artist (line 345) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/artist.rs:346:1 [INFO] [stdout] | [INFO] [stdout] 346 | client.remove_favorite_artist(123456789).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/artist.rs:346:42 [INFO] [stdout] | [INFO] [stdout] 345 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_artist_rs_345_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] 346 | client.remove_favorite_artist(123456789).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/artist.rs - artist::TidalClient::favorite_artists (line 215) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/artist.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | let favorites = client.favorite_artists(None, Some(10), None, None).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/artist.rs:216:69 [INFO] [stdout] | [INFO] [stdout] 215 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_artist_rs_215_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] 216 | let favorites = client.favorite_artists(None, Some(10), None, None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TidalClient::authorize (line 1054) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:1061:64 [INFO] [stdout] | [INFO] [stdout] 1055 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_1054_0() { [INFO] [stdout] | ------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 1061 | let authz_token = client.authorize(device_code, client_secret).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TidalClient::on_authz_refresh (line 680) stdout ---- [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:687:44 [INFO] [stdout] | [INFO] [stdout] 687 | .with_authz_refresh_callback(Arc::new(|new_authz| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 688 | println!("Tokens refreshed for user: {}", new_authz.user_id); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 687 | .with_authz_refresh_callback(Arc::new(|new_authz: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/playlist.rs - playlist::TidalClient::playlist_tracks (line 164) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/playlist.rs:165:14 [INFO] [stdout] | [INFO] [stdout] 165 | let tracks = client.playlist_tracks("12345678-1234-1234-1234-123456789abc", Some(0), Some(20)).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/playlist.rs:165:96 [INFO] [stdout] | [INFO] [stdout] 164 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_playlist_rs_164_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] 165 | let tracks = client.playlist_tracks("12345678-1234-1234-1234-123456789abc", Some(0), Some(20)).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/playlist.rs - playlist::TidalClient::create_playlist (line 207) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/playlist.rs:208:16 [INFO] [stdout] | [INFO] [stdout] 208 | let playlist = client.create_playlist("My Favorites", "A collection of my favorite songs").await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/playlist.rs:208:92 [INFO] [stdout] | [INFO] [stdout] 207 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_playlist_rs_207_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] 208 | let playlist = client.create_playlist("My Favorites", "A collection of my favorite songs").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/playlist.rs - playlist::TidalClient::add_tracks_to_playlist (line 240) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/playlist.rs:241:16 [INFO] [stdout] | [INFO] [stdout] 241 | let playlist = client.playlist("12345678-1234-1234-1234-123456789abc").await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/playlist.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | client.add_tracks_to_playlist(&playlist.uuid, &playlist.etag.unwrap(), track_ids, false).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/playlist.rs:241:72 [INFO] [stdout] | [INFO] [stdout] 240 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_playlist_rs_240_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] 241 | let playlist = client.playlist("12345678-1234-1234-1234-123456789abc").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/playlist.rs:243:90 [INFO] [stdout] | [INFO] [stdout] 240 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_playlist_rs_240_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 243 | client.add_tracks_to_playlist(&playlist.uuid, &playlist.etag.unwrap(), track_ids, false).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/playlist.rs - playlist::TidalClient::remove_track_from_playlist_by_index (line 289) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/playlist.rs:290:16 [INFO] [stdout] | [INFO] [stdout] 290 | let playlist = client.playlist("12345678-1234-1234-1234-123456789abc").await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/playlist.rs:291:1 [INFO] [stdout] | [INFO] [stdout] 291 | client.remove_track_from_playlist_by_index(&playlist.uuid, &playlist.etag.unwrap(), 0).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/playlist.rs:290:72 [INFO] [stdout] | [INFO] [stdout] 289 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_playlist_rs_289_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] 290 | let playlist = client.playlist("12345678-1234-1234-1234-123456789abc").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/playlist.rs:291:88 [INFO] [stdout] | [INFO] [stdout] 289 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_playlist_rs_289_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] 290 | let playlist = client.playlist("12345678-1234-1234-1234-123456789abc").await?; [INFO] [stdout] 291 | client.remove_track_from_playlist_by_index(&playlist.uuid, &playlist.etag.unwrap(), 0).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/playlist.rs - playlist::TidalClient::playlist (line 132) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/playlist.rs:133:16 [INFO] [stdout] | [INFO] [stdout] 133 | let playlist = client.playlist("12345678-1234-1234-1234-123456789abc").await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/playlist.rs:133:72 [INFO] [stdout] | [INFO] [stdout] 132 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_playlist_rs_132_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] 133 | let playlist = client.playlist("12345678-1234-1234-1234-123456789abc").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/playlist.rs - playlist::TidalClient::user_playlists (line 389) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/playlist.rs:390:17 [INFO] [stdout] | [INFO] [stdout] 390 | let playlists = client.user_playlists(None, Some(10)).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/playlist.rs:390:55 [INFO] [stdout] | [INFO] [stdout] 389 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_playlist_rs_389_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] 390 | let playlists = client.user_playlists(None, Some(10)).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/playlist.rs - playlist::TidalClient::remove_track_from_playlist (line 327) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/playlist.rs:328:16 [INFO] [stdout] | [INFO] [stdout] 328 | let playlist = client.playlist("12345678-1234-1234-1234-123456789abc").await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/playlist.rs:329:1 [INFO] [stdout] | [INFO] [stdout] 329 | client.remove_track_from_playlist(&playlist.uuid, &playlist.etag.unwrap(), 123456789).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/playlist.rs:328:72 [INFO] [stdout] | [INFO] [stdout] 327 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_playlist_rs_327_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] 328 | let playlist = client.playlist("12345678-1234-1234-1234-123456789abc").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/playlist.rs:329:87 [INFO] [stdout] | [INFO] [stdout] 327 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_playlist_rs_327_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] 328 | let playlist = client.playlist("12345678-1234-1234-1234-123456789abc").await?; [INFO] [stdout] 329 | client.remove_track_from_playlist(&playlist.uuid, &playlist.etag.unwrap(), 123456789).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/search.rs - search::TidalClient::search (line 84) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/search.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | let results = client.search(search_query).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/search.rs:87:43 [INFO] [stdout] | [INFO] [stdout] 85 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_search_rs_84_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 86 | let search_query = tidalrs::SearchQuery::new("The Beatles"); [INFO] [stdout] 87 | let results = client.search(search_query).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/track.rs - track::TidalClient::favorite_tracks (line 286) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/track.rs:287:17 [INFO] [stdout] | [INFO] [stdout] 287 | let favorites = client.favorite_tracks(None, Some(10), None, None).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/track.rs:287:68 [INFO] [stdout] | [INFO] [stdout] 286 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_track_rs_286_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 287 | let favorites = client.favorite_tracks(None, Some(10), None, None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/track.rs - track::TidalClient::add_favorite_track (line 332) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/track.rs:333:1 [INFO] [stdout] | [INFO] [stdout] 333 | client.add_favorite_track(123456789).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/track.rs:333:38 [INFO] [stdout] | [INFO] [stdout] 332 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_track_rs_332_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 333 | client.add_favorite_track(123456789).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/track.rs - track::TidalClient::remove_favorite_track (line 364) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/track.rs:365:1 [INFO] [stdout] | [INFO] [stdout] 365 | client.remove_favorite_track(123456789).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/track.rs:365:41 [INFO] [stdout] | [INFO] [stdout] 364 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_track_rs_364_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 365 | client.remove_favorite_track(123456789).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/track.rs - track::TidalClient::track_playback_info (line 197) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/track.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | let playback_info = client.track_playback_info(123456789, tidalrs::AudioQuality::Lossless).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/track.rs:199:92 [INFO] [stdout] | [INFO] [stdout] 198 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_track_rs_197_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 199 | let playback_info = client.track_playback_info(123456789, tidalrs::AudioQuality::Lossless).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/track.rs - track::TidalClient::track (line 161) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/track.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | let track = client.track(123456789).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/track.rs:162:37 [INFO] [stdout] | [INFO] [stdout] 161 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_track_rs_161_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 162 | let track = client.track(123456789).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/track.rs - track::TidalClient::track_dash_playback_info (line 237) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/track.rs:239:17 [INFO] [stdout] | [INFO] [stdout] 239 | let dash_info = client.track_dash_playback_info(123456789, tidalrs::AudioQuality::Lossless).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/track.rs:239:93 [INFO] [stdout] | [INFO] [stdout] 238 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_track_rs_237_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 239 | let dash_info = client.track_dash_playback_info(123456789, tidalrs::AudioQuality::Lossless).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/track.rs - track::TidalClient::track_stream (line 117) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/track.rs:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | let stream = client.track_stream(123456789, tidalrs::AudioQuality::Lossless).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/track.rs:119:78 [INFO] [stdout] | [INFO] [stdout] 118 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_track_rs_117_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 119 | let stream = client.track_stream(123456789, tidalrs::AudioQuality::Lossless).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/track.rs - track::TrackDashPlaybackInfo::unpack_manifest (line 502) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/track.rs:504:17 [INFO] [stdout] | [INFO] [stdout] 504 | let dash_info = client.track_dash_playback_info(123456789, tidalrs::AudioQuality::Lossless).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/track.rs:504:93 [INFO] [stdout] | [INFO] [stdout] 503 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_track_rs_502_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 504 | let dash_info = client.track_dash_playback_info(123456789, tidalrs::AudioQuality::Lossless).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/track.rs - track::TrackStream::stream (line 539) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/track.rs:541:20 [INFO] [stdout] | [INFO] [stdout] 541 | let track_stream = client.track_stream(123456789, tidalrs::AudioQuality::Lossless).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/track.rs:541:84 [INFO] [stdout] | [INFO] [stdout] 540 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_track_rs_539_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 541 | let track_stream = client.track_stream(123456789, tidalrs::AudioQuality::Lossless).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/track.rs:542:36 [INFO] [stdout] | [INFO] [stdout] 540 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_track_rs_539_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 541 | let track_stream = client.track_stream(123456789, tidalrs::AudioQuality::Lossless).await?; [INFO] [stdout] 542 | let stream = track_stream.stream().await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/track.rs:551:2 [INFO] [stdout] | [INFO] [stdout] 540 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_track_rs_539_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 551 | .await [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/../README.md - (line 118) [INFO] [stdout] src/../README.md - (line 135) [INFO] [stdout] src/../README.md - (line 154) [INFO] [stdout] src/../README.md - (line 170) [INFO] [stdout] src/../README.md - (line 193) [INFO] [stdout] src/../README.md - (line 217) [INFO] [stdout] src/../README.md - (line 233) [INFO] [stdout] src/../README.md - (line 244) [INFO] [stdout] src/../README.md - (line 28) [INFO] [stdout] src/../README.md - (line 60) [INFO] [stdout] src/../README.md - (line 80) [INFO] [stdout] src/../README.md - (line 96) [INFO] [stdout] src/album.rs - album::TidalClient::add_favorite_album (line 294) [INFO] [stdout] src/album.rs - album::TidalClient::album (line 168) [INFO] [stdout] src/album.rs - album::TidalClient::album_tracks (line 202) [INFO] [stdout] src/album.rs - album::TidalClient::favorite_albums (line 248) [INFO] [stdout] src/album.rs - album::TidalClient::remove_favorite_album (line 326) [INFO] [stdout] src/artist.rs - artist::TidalClient::add_favorite_artist (line 313) [INFO] [stdout] src/artist.rs - artist::TidalClient::artist (line 183) [INFO] [stdout] src/artist.rs - artist::TidalClient::artist_albums (line 268) [INFO] [stdout] src/artist.rs - artist::TidalClient::favorite_artists (line 215) [INFO] [stdout] src/artist.rs - artist::TidalClient::remove_favorite_artist (line 345) [INFO] [stdout] src/lib.rs - TidalClient::authorize (line 1054) [INFO] [stdout] src/lib.rs - TidalClient::on_authz_refresh (line 680) [INFO] [stdout] src/playlist.rs - playlist::TidalClient::add_tracks_to_playlist (line 240) [INFO] [stdout] src/playlist.rs - playlist::TidalClient::create_playlist (line 207) [INFO] [stdout] src/playlist.rs - playlist::TidalClient::playlist (line 132) [INFO] [stdout] src/playlist.rs - playlist::TidalClient::playlist_tracks (line 164) [INFO] [stdout] src/playlist.rs - playlist::TidalClient::remove_track_from_playlist (line 327) [INFO] [stdout] src/playlist.rs - playlist::TidalClient::remove_track_from_playlist_by_index (line 289) [INFO] [stdout] src/playlist.rs - playlist::TidalClient::user_playlists (line 389) [INFO] [stdout] src/search.rs - search::TidalClient::search (line 84) [INFO] [stdout] src/track.rs - track::TidalClient::add_favorite_track (line 332) [INFO] [stdout] src/track.rs - track::TidalClient::favorite_tracks (line 286) [INFO] [stdout] src/track.rs - track::TidalClient::remove_favorite_track (line 364) [INFO] [stdout] src/track.rs - track::TidalClient::track (line 161) [INFO] [stdout] src/track.rs - track::TidalClient::track_dash_playback_info (line 237) [INFO] [stdout] src/track.rs - track::TidalClient::track_playback_info (line 197) [INFO] [stdout] src/track.rs - track::TidalClient::track_stream (line 117) [INFO] [stdout] src/track.rs - track::TrackDashPlaybackInfo::unpack_manifest (line 502) [INFO] [stdout] src/track.rs - track::TrackStream::stream (line 539) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 16 passed; 41 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.25s [INFO] [stdout] [INFO] [stdout] all doctests ran in 5.74s; merged doctests compilation took 0.47s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "7bc4e8ef3d3d45adfb5d019e6d6f9fb0b85ebcd03577987307538f104f3c333c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bc4e8ef3d3d45adfb5d019e6d6f9fb0b85ebcd03577987307538f104f3c333c", kill_on_drop: false }` [INFO] [stdout] 7bc4e8ef3d3d45adfb5d019e6d6f9fb0b85ebcd03577987307538f104f3c333c