[INFO] fetching crate sunk 0.1.2... [INFO] checking sunk-0.1.2 against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] extracting crate sunk 0.1.2 into /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sunk 0.1.2 on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "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.13.1) [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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded md5 v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d5b40f7047af0d0777520d348cda93703685584621393d09c970fa1498b44c3 [INFO] running `Command { std: "docker" "start" "-a" "0d5b40f7047af0d0777520d348cda93703685584621393d09c970fa1498b44c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d5b40f7047af0d0777520d348cda93703685584621393d09c970fa1498b44c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d5b40f7047af0d0777520d348cda93703685584621393d09c970fa1498b44c3", kill_on_drop: false }` [INFO] [stdout] 0d5b40f7047af0d0777520d348cda93703685584621393d09c970fa1498b44c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6deecf4df85ef51f80ea977e063cb576453ab706ecc4a1bbbbbd793b13eeaa9b [INFO] running `Command { std: "docker" "start" "-a" "6deecf4df85ef51f80ea977e063cb576453ab706ecc4a1bbbbbd793b13eeaa9b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking md5 v0.6.1 [INFO] [stderr] Checking sunk v0.1.2 (/opt/rustwide/workdir) [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 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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: 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: 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: 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: 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: 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: 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 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 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 [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/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/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/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 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 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: 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: 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: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: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:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub media_type: String, [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 an associated function [INFO] [stdout] --> src/media/video.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get(client: &Client, id: usize) -> Result