[INFO] fetching crate sunk 0.1.2... [INFO] testing sunk-0.1.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate sunk 0.1.2 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate sunk 0.1.2 [INFO] finished tweaking crates.io crate sunk 0.1.2 [INFO] tweaked toml for crates.io crate sunk 0.1.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sunk 0.1.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 190 packages to latest compatible versions [INFO] [stderr] Adding md5 v0.6.1 (available: v0.8.0) [INFO] [stderr] Adding rand v0.6.5 (available: v0.9.2) [INFO] [stderr] Adding reqwest v0.9.24 (available: v0.12.23) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d58f3b06c606662e4528a7f353720999c3e23c435eea509d484323c74e376df8 [INFO] running `Command { std: "docker" "start" "-a" "d58f3b06c606662e4528a7f353720999c3e23c435eea509d484323c74e376df8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d58f3b06c606662e4528a7f353720999c3e23c435eea509d484323c74e376df8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d58f3b06c606662e4528a7f353720999c3e23c435eea509d484323c74e376df8", kill_on_drop: false }` [INFO] [stdout] d58f3b06c606662e4528a7f353720999c3e23c435eea509d484323c74e376df8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c296d73312cf87d3e2239ecaee211e3c46d33bde0ae5c0ac22ce854263e5a3ea [INFO] running `Command { std: "docker" "start" "-a" "c296d73312cf87d3e2239ecaee211e3c46d33bde0ae5c0ac22ce854263e5a3ea", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling md5 v0.6.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling failure v0.1.8 [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 serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core 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 native-tls v0.2.14 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling publicsuffix v1.5.6 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling reqwest v0.9.24 [INFO] [stderr] Compiling sunk v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Album`, `Artist`, and `Song` [INFO] [stdout] --> src/client.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | use {Album, Artist, Error, Genre, Hls, Lyrics, MusicFolder, Result, Song, UrlError, Version}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/client.rs:146:16 [INFO] [stdout] | [INFO] [stdout] 146 | #[cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/user.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | /// Sets the user's username. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/user.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | /// Sets the user's password. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/user.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | /// Set's the user's email. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/user.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | /// Enables LDAP authentication for the user. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/user.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | /// Bestows admin rights onto the user. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/user.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | /// Allows the user to change personal settings and their own password. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/user.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | /// Allows the user to play files. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/user.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | /// Allows the user to play files in jukebox mode. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/user.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 240 | /// Allows the user to download files. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/user.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | /// Allows the user to upload files. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/user.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 244 | /// Allows the user to change cover art and tags. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/user.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | /// Allows the user to create and edit comments and ratings. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/user.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 248 | /// Allows the user to administrate podcasts. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/user.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | /// Allows the user to share files with others. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/user.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 252 | /// Allows the user to start video coversions. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/user.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | /// IDs of the music folders the user is allowed to access. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/user.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | / /// The maximum bit rate (in Kbps) the user is allowed to stream at. Higher [INFO] [stdout] 257 | | /// bit rate streams will be downsampled to their limit. [INFO] [stdout] | |_____-------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RandomSongs` [INFO] [stdout] --> src/lib.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | use self::song::{Lyrics, RandomSongs, Song}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::video::Video` [INFO] [stdout] --> src/lib.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | use self::video::Video; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `failure::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/media/mod.rs:258:18 [INFO] [stdout] | [INFO] [stdout] 258 | .trim_right_matches(",") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 258 - .trim_right_matches(",") [INFO] [stdout] 258 + .trim_end_matches(",") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `failure::core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/media/mod.rs:236:29 [INFO] [stdout] | [INFO] [stdout] 236 | return Ok(s.trim_left_matches(head)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 236 - return Ok(s.trim_left_matches(head)); [INFO] [stdout] 236 + return Ok(s.trim_start_matches(head)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `artist_id` is never read [INFO] [stdout] --> src/collections/album.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Album { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | artist_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Album` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `created` is never read [INFO] [stdout] --> src/collections/album.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 126 | struct _Album { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 134 | created: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `_Album` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `duration` are never read [INFO] [stdout] --> src/collections/playlist.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Playlist { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 10 | id: u64, [INFO] [stdout] 11 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | duration: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Playlist` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `comment`, `owner`, `created`, and `changed` are never read [INFO] [stdout] --> src/collections/playlist.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 36 | struct _Playlist { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | comment: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 41 | owner: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | created: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | changed: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `_Playlist` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_playlists` is never used [INFO] [stdout] --> src/collections/playlist.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn get_playlists(client: &Client, user: Option) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_playlist` is never used [INFO] [stdout] --> src/collections/playlist.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn create_playlist(client: &Client, name: String, songs: &[u64]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_playlist` is never used [INFO] [stdout] --> src/collections/playlist.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn update_playlist<'a, B, S>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_playlist` is never used [INFO] [stdout] --> src/collections/playlist.rs:149:4 [INFO] [stdout] | [INFO] [stdout] 149 | fn delete_playlist(client: &Client, id: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/media/mod.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 297 | struct _NowPlaying { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 302 | is_dir: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 303 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 304 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 305 | content_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 306 | suffix: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 307 | transcoded_content_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 308 | transcoded_suffix: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 309 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 310 | is_video: bool, [INFO] [stdout] 311 | created: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 312 | #[serde(rename = "type")] [INFO] [stdout] 313 | media_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/media/podcast.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Podcast { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 9 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | cover_art: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | image_url: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | episodes: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | error: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Podcast` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/media/podcast.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Episode { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 22 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 23 | parent: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | is_dir: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | album: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | artist: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | year: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | cover_art: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 30 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | content_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 32 | suffix: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | duration: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | bitrate: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 35 | is_video: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | created: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | artist_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 38 | media_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 39 | stream_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 40 | channel_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 41 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 42 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | publish_date: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Episode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `album_id`, `artist_id`, `suffix`, `transcoded_suffix`, `path`, and `media_type` are never read [INFO] [stdout] --> src/media/song.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Song { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | album_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | artist_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | suffix: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | transcoded_suffix: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | /// Will always be "song". [INFO] [stdout] 49 | media_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Song` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/media/song.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 255 | struct _Song { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 256 | id: String, [INFO] [stdout] 257 | parent: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 258 | is_dir: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | bit_rate: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 273 | path: String, [INFO] [stdout] 274 | is_video: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 275 | play_count: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 276 | disc_number: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 277 | created: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `_Song` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/media/video.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Video { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | pub id: usize, [INFO] [stdout] 11 | parent: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | is_dir: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | suffix: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | transcoded_suffix: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | bitrate: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | is_video: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | created: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | play_count: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | pub media_type: String, [INFO] [stdout] 28 | bookmark_position: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | original_height: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | original_width: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Video` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Annotatable` is never used [INFO] [stdout] --> src/annotate.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Annotatable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status` and `version` are never read [INFO] [stdout] --> src/response.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct InnerResponse { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 16 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InnerResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_err` is never used [INFO] [stdout] --> src/response.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl Response { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn is_err(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 12 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 12 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_UrlError` [INFO] [stdout] 44 | pub enum UrlError { [INFO] [stdout] | -------- `UrlError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_UrlError` [INFO] [stdout] 44 | pub enum UrlError { [INFO] [stdout] | -------- `UrlError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ApiError` [INFO] [stdout] 62 | pub enum ApiError { [INFO] [stdout] | -------- `ApiError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an enum [INFO] [stdout] --> src/collections/album.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum ListType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/collections/album.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | AlphaByArtist, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/collections/album.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | AlphaByName, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/collections/album.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Frequent, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/collections/album.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Highest, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/collections/album.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Newest, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/collections/album.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Random, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/collections/album.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Recent, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/collections/album.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Starred, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/collections/album.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Album { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/collections/album.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub id: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/collections/album.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/collections/album.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub artist: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/collections/album.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub duration: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/collections/album.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub year: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/collections/album.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub genre: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/collections/album.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub song_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/collections/album.rs:187:1 [INFO] [stdout] | [INFO] [stdout] 187 | pub struct AlbumInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/collections/album.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | pub notes: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/collections/album.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | pub lastfm_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/collections/album.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | pub musicbrainz_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/collections/album.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | pub image_urls: (String, String, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/collections/artist.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/collections/artist.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/collections/artist.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub album_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/collections/artist.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn get(client: &Client, id: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/collections/playlist.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Playlist { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/media/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod podcast; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/media/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod song; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/media/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub mod video; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/media/podcast.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Podcast { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/media/podcast.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Episode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/media/radio.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RadioStation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/media/radio.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/media/radio.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub stream_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/media/radio.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub homepage_url: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/media/radio.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn id(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/media/radio.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn list(client: &Client) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/media/radio.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn create(client: &Client, name: &str, url: &str, homepage: Option<&str>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/media/radio.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn update(&self, client: &Client) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/media/radio.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn delete(&self, client: &Client) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/media/song.rs:107:36 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn random_with<'a>(client: &Client) -> RandomSongs { [INFO] [stdout] | ^^^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 107 | pub fn random_with<'a>(client: &Client) -> RandomSongs<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/media/video.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Video { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/media/video.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/media/video.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub title: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/media/video.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub album: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/media/video.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/media/video.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub duration: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/media/video.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub media_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/media/video.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get(client: &Client, id: usize) -> Result