[INFO] cloning repository https://github.com/SuperTaeyun/vcastle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SuperTaeyun/vcastle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuperTaeyun%2Fvcastle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuperTaeyun%2Fvcastle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eca702f7a7162e1cc38ed2e63dcc22372f51601e [INFO] checking SuperTaeyun/vcastle against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuperTaeyun%2Fvcastle" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SuperTaeyun/vcastle on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SuperTaeyun/vcastle [INFO] finished tweaking git repo https://github.com/SuperTaeyun/vcastle [INFO] tweaked toml for git repo https://github.com/SuperTaeyun/vcastle written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SuperTaeyun/vcastle already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.194 [INFO] [stderr] Downloaded tracing-appender v0.2.3 [INFO] [stderr] Downloaded serde_derive v1.0.194 [INFO] [stderr] Downloaded crossbeam-channel v0.5.10 [INFO] [stderr] Downloaded proc-macro2 v1.0.74 [INFO] [stderr] Downloaded serde_json v1.0.110 [INFO] [stderr] Downloaded syn v2.0.46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0721c3c4f0503a5a6fa110585673263b23a04587c5cf823718362d63e4f0acc [INFO] running `Command { std: "docker" "start" "-a" "a0721c3c4f0503a5a6fa110585673263b23a04587c5cf823718362d63e4f0acc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0721c3c4f0503a5a6fa110585673263b23a04587c5cf823718362d63e4f0acc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0721c3c4f0503a5a6fa110585673263b23a04587c5cf823718362d63e4f0acc", kill_on_drop: false }` [INFO] [stdout] a0721c3c4f0503a5a6fa110585673263b23a04587c5cf823718362d63e4f0acc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4b22facc304b9e79fc3bbc332b535a4ef77bdfe2c040e57c5f390ffe83c41fe [INFO] running `Command { std: "docker" "start" "-a" "c4b22facc304b9e79fc3bbc332b535a4ef77bdfe2c040e57c5f390ffe83c41fe", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.74 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling serde_json v1.0.110 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking crossbeam-channel v0.5.10 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling axum-core v0.4.2 [INFO] [stderr] Compiling axum v0.7.3 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling syn v2.0.46 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking time v0.3.31 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Checking http-body-util v0.1.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.194 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking tracing-appender v0.2.3 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Checking h2 v0.4.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking http-serde v2.0.0 [INFO] [stderr] Checking serde_path_to_error v0.1.15 [INFO] [stderr] Checking hyper v1.1.0 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-util v0.1.2 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.23 [INFO] [stderr] Checking youtube_data v0.1.0 (/opt/rustwide/workdir/youtube_data) [INFO] [stdout] warning: type `ChannelList<'_>` is more private than the item `ChannelsService::list` [INFO] [stdout] --> youtube_data/src/channels.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn list(&self, part: Vec) -> ChannelList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ChannelsService::list` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ChannelList<'_>` is only usable at visibility `pub(self)` [INFO] [stdout] --> youtube_data/src/channels.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | struct ChannelList<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `YouTubeErrorDetail` is more private than the item `error::YouTubeError::errors` [INFO] [stdout] --> youtube_data/src/error.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | pub(crate) fn errors(&self) -> &[YouTubeErrorDetail] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `error::YouTubeError::errors` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `YouTubeErrorDetail` is only usable at visibility `pub(self)` [INFO] [stdout] --> youtube_data/src/error.rs:255:1 [INFO] [stdout] | [INFO] [stdout] 255 | struct YouTubeErrorDetail { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SearchList<'_>` is more private than the item `SearchService::list` [INFO] [stdout] --> youtube_data/src/search.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn list(&self, part: Vec) -> SearchList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `SearchService::list` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `SearchList<'_>` is only usable at visibility `pub(self)` [INFO] [stdout] --> youtube_data/src/search.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | struct SearchList<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `VideoList<'_>` is more private than the item `VideosService::list` [INFO] [stdout] --> youtube_data/src/videos.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn list(&self, part: Vec) -> VideoList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `VideosService::list` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `VideoList<'_>` is only usable at visibility `pub(self)` [INFO] [stdout] --> youtube_data/src/videos.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | struct VideoList<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ChannelsService` is more private than the item `YouTube::channels` [INFO] [stdout] --> youtube_data/src/lib.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn channels(&self) -> &ChannelsService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `YouTube::channels` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ChannelsService` is only usable at visibility `pub(crate)` [INFO] [stdout] --> youtube_data/src/channels.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) struct ChannelsService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SearchService` is more private than the item `YouTube::search` [INFO] [stdout] --> youtube_data/src/lib.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn search(&self) -> &SearchService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `YouTube::search` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SearchService` is only usable at visibility `pub(crate)` [INFO] [stdout] --> youtube_data/src/search.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct SearchService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `VideosService` is more private than the item `YouTube::videos` [INFO] [stdout] --> youtube_data/src/lib.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn videos(&self) -> &VideosService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `YouTube::videos` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `VideosService` is only usable at visibility `pub(crate)` [INFO] [stdout] --> youtube_data/src/videos.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct VideosService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `YouTubeDataApi` is more private than the item `ListApi` [INFO] [stdout] --> youtube_data/src/lib.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | pub trait ListApi: YouTubeDataApi [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ trait `ListApi` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `YouTubeDataApi` is only usable at visibility `pub(crate)` [INFO] [stdout] --> youtube_data/src/lib.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | pub(crate) trait YouTubeDataApi: RequestBase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_agent` is never read [INFO] [stdout] --> youtube_data/src/lib.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct YouTube { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | pub(crate) user_agent: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `YouTube` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `part`, `managed_by_me`, `hl`, `max_results`, `on_behalf_of_content_owner`, and `page_token` are never used [INFO] [stdout] --> youtube_data/src/channels.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 166 | impl<'a> ChannelList<'a> { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn part(&mut self, part: Vec) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn managed_by_me(&mut self, managed_by_me: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn hl(&mut self, hl: &'a str) -> &mut Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn max_results(&mut self, max_results: u32) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub fn on_behalf_of_content_owner(&mut self, on_behalf_of_content_owner: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn page_token(&mut self, page_token: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ServerError` is never constructed [INFO] [stdout] --> youtube_data/src/error.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub(crate) enum ErrorKind { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 167 | ServerError, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `message`, `errors`, and `status` are never used [INFO] [stdout] --> youtube_data/src/error.rs:210:19 [INFO] [stdout] | [INFO] [stdout] 205 | impl YouTubeError { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 210 | pub(crate) fn message(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub(crate) fn errors(&self) -> &[YouTubeErrorDetail] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub(crate) fn status(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `on_behalf_of_content_owner` is never read [INFO] [stdout] --> youtube_data/src/search.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct SearchList<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | on_behalf_of_content_owner: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> youtube_data/src/search.rs:373:12 [INFO] [stdout] | [INFO] [stdout] 326 | impl<'a> SearchList<'a> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 373 | pub fn part(&mut self, part: Vec) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | pub fn channel_type(&mut self, channel_type: ChannelType) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 408 | pub fn location(&mut self, location: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | pub fn location_radius(&mut self, location_radius: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | pub fn on_behalf_of_content_owner(&mut self, on_behalf_of_content_owner: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 429 | pub fn order(&mut self, order: Order) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | pub fn page_token(&mut self, page_token: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 439 | pub fn published_after(&mut self, published_after: DateTime) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 444 | pub fn published_before(&mut self, published_before: DateTime) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | pub fn region_code(&mut self, region_code: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | pub fn relevance_language(&mut self, relevance_language: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 464 | pub fn safe_search(&mut self, safe_search: SafeSearch) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 469 | pub fn topic_id(&mut self, topic_id: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 479 | pub fn video_caption(&mut self, video_caption: VideoCaption) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | pub fn video_category_id(&mut self, video_category_id: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 489 | pub fn video_definition(&mut self, video_definition: VideoDefinition) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 494 | pub fn video_dimension(&mut self, video_dimension: VideoDimension) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | pub fn video_duration(&mut self, video_duration: VideoDuration) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn video_embeddable(&mut self, video_embeddable: VideoEmbeddable) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 509 | pub fn video_license(&mut self, video_license: VideoLicense) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 514 | pub fn video_paid_product_placement( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 522 | pub fn video_syndicated(&mut self, video_syndicated: VideoSyndicated) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 527 | pub fn video_type(&mut self, video_type: VideoType) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> youtube_data/src/videos.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 154 | impl<'a> VideoList<'a> { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn part(&mut self, part: Vec) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn hl(&mut self, hl: &'a str) -> &mut Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn max_height(&mut self, max_height: u32) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn max_width(&mut self, max_width: u32) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn on_behalf_of_content_owner(&mut self, on_behalf_of_content_owner: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn page_token(&mut self, page_token: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub fn region_code(&mut self, region_code: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn video_category_id(&mut self, video_category_id: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ChannelList<'_>` is more private than the item `ChannelsService::list` [INFO] [stdout] --> youtube_data/src/channels.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn list(&self, part: Vec) -> ChannelList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ChannelsService::list` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ChannelList<'_>` is only usable at visibility `pub(self)` [INFO] [stdout] --> youtube_data/src/channels.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | struct ChannelList<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `YouTubeErrorDetail` is more private than the item `YouTubeError::errors` [INFO] [stdout] --> youtube_data/src/error.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | pub(crate) fn errors(&self) -> &[YouTubeErrorDetail] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `YouTubeError::errors` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `YouTubeErrorDetail` is only usable at visibility `pub(self)` [INFO] [stdout] --> youtube_data/src/error.rs:255:1 [INFO] [stdout] | [INFO] [stdout] 255 | struct YouTubeErrorDetail { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SearchList<'_>` is more private than the item `SearchService::list` [INFO] [stdout] --> youtube_data/src/search.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn list(&self, part: Vec) -> SearchList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `SearchService::list` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `SearchList<'_>` is only usable at visibility `pub(self)` [INFO] [stdout] --> youtube_data/src/search.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | struct SearchList<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `VideoList<'_>` is more private than the item `VideosService::list` [INFO] [stdout] --> youtube_data/src/videos.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn list(&self, part: Vec) -> VideoList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `VideosService::list` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `VideoList<'_>` is only usable at visibility `pub(self)` [INFO] [stdout] --> youtube_data/src/videos.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | struct VideoList<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ChannelsService` is more private than the item `YouTube::channels` [INFO] [stdout] --> youtube_data/src/lib.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn channels(&self) -> &ChannelsService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `YouTube::channels` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ChannelsService` is only usable at visibility `pub(crate)` [INFO] [stdout] --> youtube_data/src/channels.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) struct ChannelsService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SearchService` is more private than the item `YouTube::search` [INFO] [stdout] --> youtube_data/src/lib.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn search(&self) -> &SearchService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `YouTube::search` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SearchService` is only usable at visibility `pub(crate)` [INFO] [stdout] --> youtube_data/src/search.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct SearchService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `VideosService` is more private than the item `YouTube::videos` [INFO] [stdout] --> youtube_data/src/lib.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn videos(&self) -> &VideosService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `YouTube::videos` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `VideosService` is only usable at visibility `pub(crate)` [INFO] [stdout] --> youtube_data/src/videos.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct VideosService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `YouTubeDataApi` is more private than the item `ListApi` [INFO] [stdout] --> youtube_data/src/lib.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | pub trait ListApi: YouTubeDataApi [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ trait `ListApi` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `YouTubeDataApi` is only usable at visibility `pub(crate)` [INFO] [stdout] --> youtube_data/src/lib.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | pub(crate) trait YouTubeDataApi: RequestBase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `api_key`, `client`, `base_path`, and `user_agent` are never read [INFO] [stdout] --> youtube_data/src/lib.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct YouTube { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 18 | /// The API key used to authenticate requests to the YouTube Data API. [INFO] [stdout] 19 | pub(crate) api_key: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub(crate) client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub(crate) base_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub(crate) user_agent: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `YouTube` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `api_path`, `url`, `insert_query_parameter`, `insert_query_parameters`, and `insert_date_time_query_parameter` are never used [INFO] [stdout] --> youtube_data/src/lib.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub(crate) trait RequestBase { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 70 | fn api_path(&self) -> &str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 71 | [INFO] [stdout] 72 | fn url(&self, base_path: impl Into) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn insert_query_parameter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn insert_query_parameters( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn insert_date_time_query_parameter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> youtube_data/src/lib.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 125 | pub(crate) trait YouTubeDataApi: RequestBase { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] 126 | async fn send(&self, request: reqwest::RequestBuilder) -> error::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `youtube` is never read [INFO] [stdout] --> youtube_data/src/channels.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) struct ChannelsService { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 17 | youtube: Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChannelsService` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `list` is never used [INFO] [stdout] --> youtube_data/src/channels.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl ChannelsService { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn list(&self, part: Vec) -> ChannelList { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChannelList` is never constructed [INFO] [stdout] --> youtube_data/src/channels.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct ChannelList<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> youtube_data/src/channels.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 166 | impl<'a> ChannelList<'a> { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 167 | pub fn new(service: &'a ChannelsService, part: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn part(&mut self, part: Vec) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn for_username(&mut self, for_username: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn id(&mut self, id: &'a str) -> &mut Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn managed_by_me(&mut self, managed_by_me: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn mine(&mut self, mine: bool) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn hl(&mut self, hl: &'a str) -> &mut Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn max_results(&mut self, max_results: u32) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub fn on_behalf_of_content_owner(&mut self, on_behalf_of_content_owner: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn page_token(&mut self, page_token: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `invalid_parameter`, `incompatible_parameters`, `missing_required_parameter`, `authorization_required`, and `client_error` are never used [INFO] [stdout] --> youtube_data/src/error.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 47 | impl Error { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub(crate) fn invalid_parameter(message: impl Into) -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub(crate) fn incompatible_parameters(message: impl Into) -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub(crate) fn missing_required_parameter(message: impl Into) -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub(crate) fn authorization_required(message: impl Into) -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub(crate) fn client_error(source: YouTubeError, url: Url) -> Error { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BuilderError`, `ClientError`, and `ServerError` are never constructed [INFO] [stdout] --> youtube_data/src/error.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub(crate) enum ErrorKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 160 | /// An error occurred while building the request. [INFO] [stdout] 161 | BuilderError(BuilderErrorKind), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | ClientError, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | ServerError, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidParameter`, `IncompatibleParameters`, `MissingRequiredParameter`, and `AuthorizationRequired` are never constructed [INFO] [stdout] --> youtube_data/src/error.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 175 | pub(crate) enum BuilderErrorKind { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 176 | /// The request specifies an invalid parameter value. [INFO] [stdout] 177 | InvalidParameter { message: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | IncompatibleParameters { message: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | MissingRequiredParameter { message: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | AuthorizationRequired { message: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BuilderErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `code`, `message`, `errors`, and `status` are never used [INFO] [stdout] --> youtube_data/src/error.rs:206:19 [INFO] [stdout] | [INFO] [stdout] 205 | impl YouTubeError { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 206 | pub(crate) fn code(&self) -> StatusCode { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub(crate) fn message(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub(crate) fn errors(&self) -> &[YouTubeErrorDetail] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub(crate) fn status(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `youtube` is never read [INFO] [stdout] --> youtube_data/src/search.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct SearchService { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 15 | youtube: Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchService` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `list` is never used [INFO] [stdout] --> youtube_data/src/search.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl SearchService { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn list(&self, part: Vec) -> SearchList { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchList` is never constructed [INFO] [stdout] --> youtube_data/src/search.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct SearchList<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> youtube_data/src/search.rs:327:12 [INFO] [stdout] | [INFO] [stdout] 326 | impl<'a> SearchList<'a> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 327 | pub fn new(service: &'a SearchService, part: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 373 | pub fn part(&mut self, part: Vec) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 378 | pub fn for_content_owner(&mut self, for_content_owner: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | pub fn for_developer(&mut self, for_developer: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | pub fn for_mine(&mut self, for_mine: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 393 | pub fn channel_id(&mut self, channel_id: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | pub fn channel_type(&mut self, channel_type: ChannelType) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | pub fn event_type(&mut self, event_type: EventType) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 408 | pub fn location(&mut self, location: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | pub fn location_radius(&mut self, location_radius: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn max_results(&mut self, max_results: u32) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | pub fn on_behalf_of_content_owner(&mut self, on_behalf_of_content_owner: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 429 | pub fn order(&mut self, order: Order) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | pub fn page_token(&mut self, page_token: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 439 | pub fn published_after(&mut self, published_after: DateTime) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 444 | pub fn published_before(&mut self, published_before: DateTime) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 449 | pub fn q(&mut self, q: &'a str) -> &mut Self { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 454 | pub fn region_code(&mut self, region_code: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | pub fn relevance_language(&mut self, relevance_language: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 464 | pub fn safe_search(&mut self, safe_search: SafeSearch) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 469 | pub fn topic_id(&mut self, topic_id: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub fn resource_type(&mut self, resource_type: Vec) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 479 | pub fn video_caption(&mut self, video_caption: VideoCaption) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | pub fn video_category_id(&mut self, video_category_id: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 489 | pub fn video_definition(&mut self, video_definition: VideoDefinition) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 494 | pub fn video_dimension(&mut self, video_dimension: VideoDimension) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | pub fn video_duration(&mut self, video_duration: VideoDuration) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn video_embeddable(&mut self, video_embeddable: VideoEmbeddable) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 509 | pub fn video_license(&mut self, video_license: VideoLicense) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 514 | pub fn video_paid_product_placement( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 522 | pub fn video_syndicated(&mut self, video_syndicated: VideoSyndicated) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 527 | pub fn video_type(&mut self, video_type: VideoType) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `type_must_set_be_video` is never used [INFO] [stdout] --> youtube_data/src/search.rs:957:4 [INFO] [stdout] | [INFO] [stdout] 957 | fn type_must_set_be_video(parameter: &str) -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `youtube` is never read [INFO] [stdout] --> youtube_data/src/videos.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct VideosService { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 16 | youtube: Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VideosService` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `list` is never used [INFO] [stdout] --> youtube_data/src/videos.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl VideosService { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn list(&self, part: Vec) -> VideoList { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VideoList` is never constructed [INFO] [stdout] --> youtube_data/src/videos.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | struct VideoList<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> youtube_data/src/videos.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 154 | impl<'a> VideoList<'a> { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 155 | pub fn new(service: &'a VideosService, part: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn part(&mut self, part: Vec) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn chart(&mut self, chart: Chart) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn id(&mut self, id: Vec<&'a str>) -> &mut Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn my_rating(&mut self, my_rating: MyRating) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn hl(&mut self, hl: &'a str) -> &mut Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn max_height(&mut self, max_height: u32) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn max_results(&mut self, max_results: u32) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn max_width(&mut self, max_width: u32) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn on_behalf_of_content_owner(&mut self, on_behalf_of_content_owner: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn page_token(&mut self, page_token: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub fn region_code(&mut self, region_code: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn video_category_id(&mut self, video_category_id: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking vcastle v0.1.0 (/opt/rustwide/workdir/vcastle) [INFO] [stdout] warning: type alias `ApiResult` is never used [INFO] [stdout] --> vcastle/src/error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type ApiResult = Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `JsonResult` is never used [INFO] [stdout] --> vcastle/src/error.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type JsonResult = ApiResult>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ApiResult` is never used [INFO] [stdout] --> vcastle/src/error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type ApiResult = Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `JsonResult` is never used [INFO] [stdout] --> vcastle/src/error.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type JsonResult = ApiResult>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.62s [INFO] running `Command { std: "docker" "inspect" "c4b22facc304b9e79fc3bbc332b535a4ef77bdfe2c040e57c5f390ffe83c41fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4b22facc304b9e79fc3bbc332b535a4ef77bdfe2c040e57c5f390ffe83c41fe", kill_on_drop: false }` [INFO] [stdout] c4b22facc304b9e79fc3bbc332b535a4ef77bdfe2c040e57c5f390ffe83c41fe