[INFO] cloning repository https://github.com/phayes/tidalrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/phayes/tidalrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphayes%2Ftidalrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphayes%2Ftidalrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7134a9fa38e654f04be0d8a9a69a1c62ea714f83 [INFO] testing phayes/tidalrs against beta-2025-09-21 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphayes%2Ftidalrs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/phayes/tidalrs [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/phayes/tidalrs [INFO] tweaked toml for git repo https://github.com/phayes/tidalrs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/phayes/tidalrs on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/phayes/tidalrs 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1efef2958592c78d7b4adc6b4600c803987d1e2618cd20f92e484d1112c4759 [INFO] running `Command { std: "docker" "start" "-a" "c1efef2958592c78d7b4adc6b4600c803987d1e2618cd20f92e484d1112c4759", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1efef2958592c78d7b4adc6b4600c803987d1e2618cd20f92e484d1112c4759", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1efef2958592c78d7b4adc6b4600c803987d1e2618cd20f92e484d1112c4759", kill_on_drop: false }` [INFO] [stdout] c1efef2958592c78d7b4adc6b4600c803987d1e2618cd20f92e484d1112c4759 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1613bf963a33c382789eb617d059b6fac2e92b48da9e3d2ddc738ba301dde093 [INFO] running `Command { std: "docker" "start" "-a" "1613bf963a33c382789eb617d059b6fac2e92b48da9e3d2ddc738ba301dde093", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde_core v1.0.223 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling cc v1.2.37 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling serde v1.0.223 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling mediatype v0.20.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rangemap v1.6.0 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling tempfile v3.22.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rustls-webpki v0.103.5 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.223 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [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 thiserror-impl v2.0.16 [INFO] [stderr] Compiling tracing v0.1.41 [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 icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling stream-download v0.22.4 [INFO] [stderr] Compiling tidalrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 33s [INFO] running `Command { std: "docker" "inspect" "1613bf963a33c382789eb617d059b6fac2e92b48da9e3d2ddc738ba301dde093", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1613bf963a33c382789eb617d059b6fac2e92b48da9e3d2ddc738ba301dde093", kill_on_drop: false }` [INFO] [stdout] 1613bf963a33c382789eb617d059b6fac2e92b48da9e3d2ddc738ba301dde093 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdbea4d556537d653937eee8532c2213853c87f531e790e2e1e89986a7513615 [INFO] running `Command { std: "docker" "start" "-a" "cdbea4d556537d653937eee8532c2213853c87f531e790e2e1e89986a7513615", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling extended v0.1.0 [INFO] [stderr] Compiling cpal v0.16.0 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling symphonia-utils-xiph v0.5.4 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling symphonia-codec-vorbis v0.5.4 [INFO] [stderr] Compiling symphonia-bundle-flac v0.5.4 [INFO] [stderr] Compiling symphonia-format-ogg v0.5.4 [INFO] [stderr] Compiling symphonia-format-isomp4 v0.5.4 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling symphonia-format-riff v0.5.4 [INFO] [stderr] Compiling symphonia-codec-pcm v0.5.4 [INFO] [stderr] Compiling symphonia-codec-aac v0.5.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling rodio v0.21.1 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling stream-download v0.22.4 [INFO] [stderr] Compiling tidalrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "cdbea4d556537d653937eee8532c2213853c87f531e790e2e1e89986a7513615", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdbea4d556537d653937eee8532c2213853c87f531e790e2e1e89986a7513615", kill_on_drop: false }` [INFO] [stdout] cdbea4d556537d653937eee8532c2213853c87f531e790e2e1e89986a7513615 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 97b17f9d40a757715d3d5fc9308cae3a0df0d43101ebfdd4cba7986f1b126523 [INFO] running `Command { std: "docker" "start" "-a" "97b17f9d40a757715d3d5fc9308cae3a0df0d43101ebfdd4cba7986f1b126523", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tidalrs-8e1630cd934fc2ec) [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-e5b767ec542610e6) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test test_builder_pattern_chaining ... ok [INFO] [stdout] test test_builder_pattern_basic ... ok [INFO] [stdout] test test_builder_pattern_with_country_code ... ok [INFO] [stdout] test test_builder_pattern_with_device_type ... ok [INFO] [stdout] test test_builder_pattern_with_client ... ok [INFO] [stdout] test test_builder_pattern_country_code_fallback ... ok [INFO] [stdout] test test_builder_pattern_country_code_final_fallback ... ok [INFO] [stdout] test test_builder_pattern_country_code_priority ... 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_tidal_api_error_deserialization_camel_case ... ok [INFO] [stdout] test test_tidal_api_error_deserialization_missing_user_message ... ok [INFO] [stdout] test test_tidal_api_error_deserialization_mixed_case ... ok [INFO] [stdout] test test_builder_pattern_with_locale ... ok [INFO] [stdout] test test_tidal_api_error_deserialization_snake_case ... 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 56 tests [INFO] [stdout] test src/../README.md - (line 170) ... FAILED [INFO] [stdout] test src/../README.md - (line 233) ... FAILED [INFO] [stdout] test src/../README.md - (line 154) ... FAILED [INFO] [stdout] test src/../README.md - (line 28) ... FAILED [INFO] [stdout] test src/../README.md - (line 244) ... FAILED [INFO] [stdout] test src/../README.md - (line 60) ... FAILED [INFO] [stdout] test src/../README.md - (line 80) ... FAILED [INFO] [stdout] test src/../README.md - (line 135) ... FAILED [INFO] [stdout] test src/../README.md - (line 118) ... FAILED [INFO] [stdout] test src/../README.md - (line 217) ... FAILED [INFO] [stdout] test src/../README.md - (line 193) ... FAILED [INFO] [stdout] test src/album.rs - album::TidalClient::album_tracks (line 202) - compile ... FAILED [INFO] [stdout] test src/album.rs - album::TidalClient::add_favorite_album (line 288) - compile ... FAILED [INFO] [stdout] test src/../README.md - (line 96) ... FAILED [INFO] [stdout] test src/artist.rs - artist::TidalClient::artist (line 176) - compile ... FAILED [INFO] [stdout] test src/album.rs - album::TidalClient::album (line 167) - compile ... FAILED [INFO] [stdout] test src/album.rs - album::TidalClient::remove_favorite_album (line 319) - compile ... FAILED [INFO] [stdout] test src/artist.rs - artist::TidalClient::add_favorite_artist (line 301) - compile ... FAILED [INFO] [stdout] test src/album.rs - album::TidalClient::favorite_albums (line 246) - compile ... FAILED [INFO] [stdout] test src/artist.rs - artist::TidalClient::artist_albums (line 258) - compile ... FAILED [INFO] [stdout] test src/artist.rs - artist::TidalClient::remove_favorite_artist (line 332) - compile ... FAILED [INFO] [stdout] test src/lib.rs - AudioQuality (line 972) - compile ... ok [INFO] [stdout] test src/artist.rs - artist::TidalClient::favorite_artists (line 209) - compile ... FAILED [INFO] [stdout] test src/lib.rs - DeviceAuthorizationResponse (line 31) - compile ... ok [INFO] [stdout] test src/lib.rs - Authz (line 314) - compile ... ok [INFO] [stdout] test src/lib.rs - TidalClient::authorize (line 898) - compile ... FAILED [INFO] [stdout] test src/lib.rs - TidalClient::device_authorization (line 853) - compile ... ok [INFO] [stdout] test src/lib.rs - TidalClient::get_authz (line 631) - compile ... ok [INFO] [stdout] test src/lib.rs - TidalClient::with_authz (line 423) - compile ... ok [INFO] [stdout] test src/lib.rs - List (line 1140) - compile ... ok [INFO] [stdout] test src/lib.rs - TidalClient (line 269) - compile ... ok [INFO] [stdout] test src/lib.rs - TidalClient::new (line 366) - compile ... ok [INFO] [stdout] test src/lib.rs - TidalClient::on_authz_refresh (line 604) - compile ... FAILED [INFO] [stdout] test src/lib.rs - TidalClient::with_country_code (line 499) - compile ... ok [INFO] [stdout] test src/lib.rs - TidalClient::with_authz_refresh_callback (line 522) - compile ... ok [INFO] [stdout] test src/lib.rs - TidalClient::with_client (line 395) - compile ... ok [INFO] [stdout] test src/playlist.rs - playlist::TidalClient::add_tracks_to_playlist (line 239) - compile ... FAILED [INFO] [stdout] test src/lib.rs - TidalClient::with_device_type (line 476) - compile ... ok [INFO] [stdout] test src/lib.rs - TidalClient::with_locale (line 451) - compile ... ok [INFO] [stdout] test src/playlist.rs - playlist::TidalClient::playlist (line 132) - compile ... FAILED [INFO] [stdout] test src/playlist.rs - playlist::TidalClient::create_playlist (line 206) - compile ... FAILED [INFO] [stdout] test src/search.rs - search::SearchQuery<'a>::new (line 48) - compile ... ok [INFO] [stdout] test src/playlist.rs - playlist::TidalClient::playlist_tracks (line 165) - compile ... FAILED [INFO] [stdout] test src/playlist.rs - playlist::TidalClient::remove_track_from_playlist_by_index (line 285) - compile ... FAILED [INFO] [stdout] test src/playlist.rs - playlist::TidalClient::remove_track_from_playlist (line 321) - compile ... FAILED [INFO] [stdout] test src/track.rs - track::TidalClient::add_favorite_track (line 323) - compile ... FAILED [INFO] [stdout] test src/track.rs - track::TidalClient::remove_favorite_track (line 354) - compile ... FAILED [INFO] [stdout] test src/track.rs - track::TidalClient::favorite_tracks (line 281) - compile ... FAILED [INFO] [stdout] test src/search.rs - search::TidalClient::search (line 84) - compile ... FAILED [INFO] [stdout] test src/track.rs - track::TidalClient::track (line 159) - compile ... FAILED [INFO] [stdout] test src/track.rs - track::TidalClient::track_dash_playback_info (line 234) - compile ... FAILED [INFO] [stdout] test src/playlist.rs - playlist::TidalClient::user_playlists (line 374) - compile ... FAILED [INFO] [stdout] test src/track.rs - track::TidalClient::track_stream (line 117) - compile ... FAILED [INFO] [stdout] test src/track.rs - track::TrackStream::stream (line 528) - compile ... FAILED [INFO] [stdout] test src/track.rs - track::TidalClient::track_playback_info (line 196) - compile ... FAILED [INFO] [stdout] test src/track.rs - track::TrackDashPlaybackInfo::unpack_manifest (line 491) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 4 | 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] 9 | 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] 12 | 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] 18 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_170_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 3 | // Create a new playlist [INFO] [stdout] 4 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_170_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 9 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_170_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 12 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_170_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 18 | 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/../README.md - (line 233) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TidalClient` [INFO] [stdout] --> src/../README.md:234:14 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 2 + use tidalrs::TidalClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceType` [INFO] [stdout] --> src/../README.md:237:23 [INFO] [stdout] | [INFO] [stdout] 6 | .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] 2 + 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 154) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/../README.md:156:14 [INFO] [stdout] | [INFO] [stdout] 4 | 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] 8 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_154_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 3 | // Get artist details [INFO] [stdout] 4 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_154_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 8 | 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 28) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AudioQuality` [INFO] [stdout] --> src/../README.md:50:55 [INFO] [stdout] | [INFO] [stdout] 24 | 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] 4 + 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 244) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TidalClient` [INFO] [stdout] --> src/../README.md:247:14 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 2 + 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 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] 10 | 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] 4 | 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] 11 | 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] 11 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_80_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] 3 | // Start device authorization [INFO] [stdout] 4 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_80_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 11 | 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/../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] 4 | 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] 8 | 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] 14 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_135_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 3 | // Get album information [INFO] [stdout] 4 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_135_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 8 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_135_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 14 | 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 118) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/../README.md:120:13 [INFO] [stdout] | [INFO] [stdout] 4 | 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] 8 | let stream = client.track_stream(123456789, AudioQuality::Lossless).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AudioQuality` [INFO] [stdout] --> src/../README.md:124:45 [INFO] [stdout] | [INFO] [stdout] 8 | 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] 2 + 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] 12 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_118_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 3 | // Get track details [INFO] [stdout] 4 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_118_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 8 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_118_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 9 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_118_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 12 | 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 217) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/../README.md:227:14 [INFO] [stdout] | [INFO] [stdout] 13 | 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] 13 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_217_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 13 | 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 193) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/../README.md:195:23 [INFO] [stdout] | [INFO] [stdout] 4 | 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] 10 | 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] 16 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_193_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 3 | // Get favorite tracks [INFO] [stdout] 4 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_193_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 10 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_193_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 16 | 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/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] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_album_rs_202_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 3 | 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/album.rs - album::TidalClient::add_favorite_album (line 288) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/album.rs:289:1 [INFO] [stdout] | [INFO] [stdout] 3 | 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:289:38 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_album_rs_288_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 3 | 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/../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] 11 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_96_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 11 | 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/artist.rs - artist::TidalClient::artist (line 176) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/artist.rs:177:14 [INFO] [stdout] | [INFO] [stdout] 3 | 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:177:39 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_artist_rs_176_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] 3 | 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/album.rs - album::TidalClient::album (line 167) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/album.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 3 | 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:168:37 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_album_rs_167_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 3 | 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/album.rs - album::TidalClient::remove_favorite_album (line 319) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/album.rs:320:1 [INFO] [stdout] | [INFO] [stdout] 3 | 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:320:41 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_album_rs_319_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 3 | 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::add_favorite_artist (line 301) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/artist.rs:302:1 [INFO] [stdout] | [INFO] [stdout] 3 | 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:302:39 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_artist_rs_301_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] 3 | 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/album.rs - album::TidalClient::favorite_albums (line 246) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/album.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 3 | 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:247:68 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_album_rs_246_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 3 | 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/artist.rs - artist::TidalClient::artist_albums (line 258) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/artist.rs:259:14 [INFO] [stdout] | [INFO] [stdout] 3 | 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:259:68 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_artist_rs_258_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] 3 | 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::remove_favorite_artist (line 332) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/artist.rs:333:1 [INFO] [stdout] | [INFO] [stdout] 3 | 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:333:42 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_artist_rs_332_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] 3 | 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 209) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/artist.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 3 | 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:210:69 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_artist_rs_209_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] 3 | 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 898) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:905:64 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_898_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 10 | 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 604) stdout ---- [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:611:44 [INFO] [stdout] | [INFO] [stdout] 10 | .with_authz_refresh_callback(Arc::new(|new_authz| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | 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] 10 | .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::add_tracks_to_playlist (line 239) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/playlist.rs:240:16 [INFO] [stdout] | [INFO] [stdout] 3 | 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:242:1 [INFO] [stdout] | [INFO] [stdout] 5 | 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:240:72 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_playlist_rs_239_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] 3 | 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:242:90 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_playlist_rs_239_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 5 | 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::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] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_playlist_rs_132_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] 3 | 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::create_playlist (line 206) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/playlist.rs:207:16 [INFO] [stdout] | [INFO] [stdout] 3 | 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:207:92 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_playlist_rs_206_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] 3 | 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::playlist_tracks (line 165) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/playlist.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 3 | 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:166:96 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_playlist_rs_165_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] 3 | 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::remove_track_from_playlist_by_index (line 285) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/playlist.rs:286:16 [INFO] [stdout] | [INFO] [stdout] 3 | 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:287:1 [INFO] [stdout] | [INFO] [stdout] 4 | 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:286:72 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_playlist_rs_285_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] 3 | 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:287:88 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_playlist_rs_285_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] 3 | let playlist = client.playlist("12345678-1234-1234-1234-123456789abc").await?; [INFO] [stdout] 4 | 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::remove_track_from_playlist (line 321) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/playlist.rs:322:16 [INFO] [stdout] | [INFO] [stdout] 3 | 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:323:1 [INFO] [stdout] | [INFO] [stdout] 4 | 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:322:72 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_playlist_rs_321_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] 3 | 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:323:87 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_playlist_rs_321_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] 3 | let playlist = client.playlist("12345678-1234-1234-1234-123456789abc").await?; [INFO] [stdout] 4 | 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/track.rs - track::TidalClient::add_favorite_track (line 323) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/track.rs:324:1 [INFO] [stdout] | [INFO] [stdout] 3 | 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:324:38 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_track_rs_323_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 3 | 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 354) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/track.rs:355:1 [INFO] [stdout] | [INFO] [stdout] 3 | 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:355:41 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_track_rs_354_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 3 | 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::favorite_tracks (line 281) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/track.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 3 | 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:282:68 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_track_rs_281_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 3 | 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/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] 6 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_search_rs_84_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 5 | let search_query = tidalrs::SearchQuery::new("The Beatles"); [INFO] [stdout] 6 | 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::track (line 159) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/track.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 3 | 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:160:37 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_track_rs_159_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 3 | 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 234) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/track.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 5 | 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:236:93 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_track_rs_234_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 5 | 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/playlist.rs - playlist::TidalClient::user_playlists (line 374) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/playlist.rs:375:17 [INFO] [stdout] | [INFO] [stdout] 3 | 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:375:55 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_playlist_rs_374_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] 3 | 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/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] 5 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_track_rs_117_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 5 | 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::TrackStream::stream (line 528) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/track.rs:530:20 [INFO] [stdout] | [INFO] [stdout] 5 | 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:530:84 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_track_rs_528_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 5 | 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:531:36 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_track_rs_528_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 5 | let track_stream = client.track_stream(123456789, tidalrs::AudioQuality::Lossless).await?; [INFO] [stdout] 6 | 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:540:2 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_track_rs_528_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 15 | .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/track.rs - track::TidalClient::track_playback_info (line 196) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/track.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 5 | 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:198:92 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_track_rs_196_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 5 | 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::TrackDashPlaybackInfo::unpack_manifest (line 491) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/track.rs:493:17 [INFO] [stdout] | [INFO] [stdout] 5 | 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:493:93 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_track_rs_491_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 5 | 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] [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 288) [INFO] [stdout] src/album.rs - album::TidalClient::album (line 167) [INFO] [stdout] src/album.rs - album::TidalClient::album_tracks (line 202) [INFO] [stdout] src/album.rs - album::TidalClient::favorite_albums (line 246) [INFO] [stdout] src/album.rs - album::TidalClient::remove_favorite_album (line 319) [INFO] [stdout] src/artist.rs - artist::TidalClient::add_favorite_artist (line 301) [INFO] [stdout] src/artist.rs - artist::TidalClient::artist (line 176) [INFO] [stdout] src/artist.rs - artist::TidalClient::artist_albums (line 258) [INFO] [stdout] src/artist.rs - artist::TidalClient::favorite_artists (line 209) [INFO] [stdout] src/artist.rs - artist::TidalClient::remove_favorite_artist (line 332) [INFO] [stdout] src/lib.rs - TidalClient::authorize (line 898) [INFO] [stdout] src/lib.rs - TidalClient::on_authz_refresh (line 604) [INFO] [stdout] src/playlist.rs - playlist::TidalClient::add_tracks_to_playlist (line 239) [INFO] [stdout] src/playlist.rs - playlist::TidalClient::create_playlist (line 206) [INFO] [stdout] src/playlist.rs - playlist::TidalClient::playlist (line 132) [INFO] [stdout] src/playlist.rs - playlist::TidalClient::playlist_tracks (line 165) [INFO] [stdout] src/playlist.rs - playlist::TidalClient::remove_track_from_playlist (line 321) [INFO] [stdout] src/playlist.rs - playlist::TidalClient::remove_track_from_playlist_by_index (line 285) [INFO] [stdout] src/playlist.rs - playlist::TidalClient::user_playlists (line 374) [INFO] [stdout] src/search.rs - search::TidalClient::search (line 84) [INFO] [stdout] src/track.rs - track::TidalClient::add_favorite_track (line 323) [INFO] [stdout] src/track.rs - track::TidalClient::favorite_tracks (line 281) [INFO] [stdout] src/track.rs - track::TidalClient::remove_favorite_track (line 354) [INFO] [stdout] src/track.rs - track::TidalClient::track (line 159) [INFO] [stdout] src/track.rs - track::TidalClient::track_dash_playback_info (line 234) [INFO] [stdout] src/track.rs - track::TidalClient::track_playback_info (line 196) [INFO] [stdout] src/track.rs - track::TidalClient::track_stream (line 117) [INFO] [stdout] src/track.rs - track::TrackDashPlaybackInfo::unpack_manifest (line 491) [INFO] [stdout] src/track.rs - track::TrackStream::stream (line 528) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 15 passed; 41 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.39s [INFO] [stdout] [INFO] [stdout] all doctests ran in 4.92s; merged doctests compilation took 0.52s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "97b17f9d40a757715d3d5fc9308cae3a0df0d43101ebfdd4cba7986f1b126523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97b17f9d40a757715d3d5fc9308cae3a0df0d43101ebfdd4cba7986f1b126523", kill_on_drop: false }` [INFO] [stdout] 97b17f9d40a757715d3d5fc9308cae3a0df0d43101ebfdd4cba7986f1b126523