[INFO] cloning repository https://github.com/megahomyak/netschoolapi_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/megahomyak/netschoolapi_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmegahomyak%2Fnetschoolapi_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmegahomyak%2Fnetschoolapi_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 88a425a326f48326e7a4cb3dc72622801d4d6503 [INFO] checking megahomyak/netschoolapi_rust against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmegahomyak%2Fnetschoolapi_rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/megahomyak/netschoolapi_rust on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/megahomyak/netschoolapi_rust [INFO] finished tweaking git repo https://github.com/megahomyak/netschoolapi_rust [INFO] tweaked toml for git repo https://github.com/megahomyak/netschoolapi_rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/megahomyak/netschoolapi_rust 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] warning: spurious network error (3 tries remaining): [28] Timeout was reached (Operation too slow. Less than 10 bytes/sec transferred the last 30 seconds) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.82 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.82 [INFO] [stderr] Downloaded concat_strs_impl v1.0.1 [INFO] [stderr] Downloaded concat_strs v1.0.2 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.82 [INFO] [stderr] Downloaded encoding_index_tests v0.1.4 [INFO] [stderr] Downloaded psl-types v2.0.11 [INFO] [stderr] Downloaded time-macros v0.2.4 [INFO] [stderr] Downloaded encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Downloaded cookie v0.16.0 [INFO] [stderr] Downloaded reqwest v0.11.11 [INFO] [stderr] Downloaded native-tls v0.2.10 [INFO] [stderr] Downloaded encoding v0.2.33 [INFO] [stderr] Downloaded encoding-index-japanese v1.20141219.5 [INFO] [stderr] Downloaded time v0.3.13 [INFO] [stderr] Downloaded unicode-normalization v0.1.21 [INFO] [stderr] Downloaded encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Downloaded encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Downloaded wasm-bindgen v0.2.82 [INFO] [stderr] Downloaded openssl v0.10.41 [INFO] [stderr] Downloaded js-sys v0.3.59 [INFO] [stderr] Downloaded encoding-index-korean v1.20141219.5 [INFO] [stderr] Downloaded publicsuffix v2.2.2 [INFO] [stderr] Downloaded openssl-sys v0.9.75 [INFO] [stderr] Downloaded cookie_store v0.16.1 [INFO] [stderr] Downloaded ipnet v2.5.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.82 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.32 [INFO] [stderr] Downloaded web-sys v0.3.59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73b59916433d839c98bfbe5385f05bde9abe65e3eb3f3621a1e150c865b1c748 [INFO] running `Command { std: "docker" "start" "-a" "73b59916433d839c98bfbe5385f05bde9abe65e3eb3f3621a1e150c865b1c748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73b59916433d839c98bfbe5385f05bde9abe65e3eb3f3621a1e150c865b1c748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73b59916433d839c98bfbe5385f05bde9abe65e3eb3f3621a1e150c865b1c748", kill_on_drop: false }` [INFO] [stdout] 73b59916433d839c98bfbe5385f05bde9abe65e3eb3f3621a1e150c865b1c748 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93e31580d56c72338908ab2a4a7e701f73e9c96c6cdb8f9139a04b0a27a389fb [INFO] running `Command { std: "docker" "start" "-a" "93e31580d56c72338908ab2a4a7e701f73e9c96c6cdb8f9139a04b0a27a389fb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling futures-task v0.3.23 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling futures-util v0.3.23 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking futures-sink v0.3.23 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-channel v0.3.23 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking time v0.3.13 [INFO] [stderr] Checking publicsuffix v2.2.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling concat_strs_impl v1.0.1 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking concat_strs v1.0.2 [INFO] [stderr] Checking h2 v0.3.14 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking cookie_store v0.16.1 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking netschoolapi_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `username`, `password`, and `school_info` are never read [INFO] [stdout] --> src/auth_data.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AuthData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 4 | pub username: Username, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | pub password: Password, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | pub school_info: SchoolInfo, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username`, `password`, and `school_info` are never read [INFO] [stdout] --> src/auth_data.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AuthData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 4 | pub username: Username, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | pub password: Password, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | pub school_info: SchoolInfo, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `log_out` are never used [INFO] [stdout] --> src/web_clients/logged_in_web_client.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl LoggedInWebClient { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 13 | pub const fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn log_out(self) -> LoggedOutWebClient { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `log_out` are never used [INFO] [stdout] --> src/web_clients/logged_in_web_client.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl LoggedInWebClient { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 13 | pub const fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn log_out(self) -> LoggedOutWebClient { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `log_in` are never used [INFO] [stdout] --> src/web_clients/logged_out_web_client.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl LoggedOutWebClient { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 12 | pub const fn new(inner_client: WebClientWithCookies, base_url: UrlWithApiBaseRoute) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn log_in(self, access_token: reqwest::header::HeaderValue) -> LoggedInWebClient { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `log_in` are never used [INFO] [stdout] --> src/web_clients/logged_out_web_client.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl LoggedOutWebClient { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 12 | pub const fn new(inner_client: WebClientWithCookies, base_url: UrlWithApiBaseRoute) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn log_in(self, access_token: reqwest::header::HeaderValue) -> LoggedInWebClient { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestBuilder` is never constructed [INFO] [stdout] --> src/web_clients/request_builder.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct RequestBuilder(reqwest::RequestBuilder); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestBuilder` is never constructed [INFO] [stdout] --> src/web_clients/request_builder.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct RequestBuilder(reqwest::RequestBuilder); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `send`, `json`, `new`, and `query` are never used [INFO] [stdout] --> src/web_clients/request_builder.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 5 | impl RequestBuilder { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 6 | pub async fn send(self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn json(mut self, json: &T) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub const fn new(inner: reqwest::RequestBuilder) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn query(mut self, query: &T) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/web_clients/url_ending_with_a_slash.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | ParseError(url::ParseError), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 | ParseError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `send`, `json`, `new`, and `query` are never used [INFO] [stdout] --> src/web_clients/request_builder.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 5 | impl RequestBuilder { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 6 | pub async fn send(self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn json(mut self, json: &T) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub const fn new(inner: reqwest::RequestBuilder) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn query(mut self, query: &T) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/web_clients/url_with_api_base_route.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct UrlWithApiBaseRoute(UrlEndingWithASlash); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/web_clients/url_ending_with_a_slash.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | ParseError(url::ParseError), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 | ParseError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inner` is never used [INFO] [stdout] --> src/web_clients/url_with_api_base_route.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 5 | impl UrlWithApiBaseRoute { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 6 | pub const fn inner(&self) -> &reqwest::Url { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/web_clients/url_with_api_base_route.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct UrlWithApiBaseRoute(UrlEndingWithASlash); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/web_clients/web_client_with_cookies.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct WebClientWithCookies(reqwest::Client); [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inner` is never used [INFO] [stdout] --> src/web_clients/url_with_api_base_route.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 5 | impl UrlWithApiBaseRoute { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 6 | pub const fn inner(&self) -> &reqwest::Url { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `inner` are never used [INFO] [stdout] --> src/web_clients/web_client_with_cookies.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl WebClientWithCookies { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 4 | pub fn new(client_builder: reqwest::ClientBuilder) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub const fn inner(&self) -> &reqwest::Client { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/web_clients/web_client_with_cookies.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct WebClientWithCookies(reqwest::Client); [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RequestError` is never used [INFO] [stdout] --> src/web_clients/web_client_trait.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum RequestError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequestError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `inner` are never used [INFO] [stdout] --> src/web_clients/web_client_with_cookies.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl WebClientWithCookies { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 4 | pub fn new(client_builder: reqwest::ClientBuilder) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub const fn inner(&self) -> &reqwest::Client { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_headers`, `inner`, and `base_url` are never used [INFO] [stdout] --> src/web_clients/web_client_trait.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait WebClient { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 11 | fn add_headers(&self, request_builder: reqwest::RequestBuilder) -> reqwest::RequestBuilder; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | fn inner(&self) -> &WebClientWithCookies; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | fn base_url(&self) -> &UrlWithApiBaseRoute; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RequestError` is never used [INFO] [stdout] --> src/web_clients/web_client_trait.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum RequestError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequestError` 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 `add_headers`, `inner`, and `base_url` are never used [INFO] [stdout] --> src/web_clients/web_client_trait.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait WebClient { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 11 | fn add_headers(&self, request_builder: reqwest::RequestBuilder) -> reqwest::RequestBuilder; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | fn inner(&self) -> &WebClientWithCookies; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | fn base_url(&self) -> &UrlWithApiBaseRoute; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `request`, `get`, `post`, and `into_inner` are never used [INFO] [stdout] --> src/web_clients/web_client_wrapper.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl WebClientWrapper { [INFO] [stdout] | ---------------------------------------------- associated items in this implementation [INFO] [stdout] 11 | pub const fn new(inner: Inner) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn request( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get(&self, url: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn post(&self, url: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn into_inner(self) -> Inner { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoggedInClient` is never constructed [INFO] [stdout] --> src/net_school_clients/logged_in_client.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct LoggedInClient { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/net_school_clients/logged_in_client.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl LoggedInClient { [INFO] [stdout] | ----------------------------------------------------------- associated function in this implementation [INFO] [stdout] 15 | pub const fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `request`, `get`, `post`, and `into_inner` are never used [INFO] [stdout] --> src/web_clients/web_client_wrapper.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl WebClientWrapper { [INFO] [stdout] | ---------------------------------------------- associated items in this implementation [INFO] [stdout] 11 | pub const fn new(inner: Inner) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn request( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get(&self, url: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn post(&self, url: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn into_inner(self) -> Inner { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoggedInClient` is never constructed [INFO] [stdout] --> src/net_school_clients/logged_in_client.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct LoggedInClient { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `log_out_anyway` and `log_out` are never used [INFO] [stdout] --> src/net_school_clients/logged_in_client.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 26 | impl LoggedInClient { [INFO] [stdout] | ----------------------------------------------------------------------- methods in this implementation [INFO] [stdout] 27 | pub async fn log_out_anyway( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub async fn log_out( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/net_school_clients/logged_in_client.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl LoggedInClient { [INFO] [stdout] | ----------------------------------------------------------- associated function in this implementation [INFO] [stdout] 15 | pub const fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `auth_data` and `web_client` are never read [INFO] [stdout] --> src/net_school_clients/inactive_client.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct InactiveClient { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 19 | auth_data: AuthData, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | web_client: WebClientWrapper, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `log_out_anyway` and `log_out` are never used [INFO] [stdout] --> src/net_school_clients/logged_in_client.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 26 | impl LoggedInClient { [INFO] [stdout] | ----------------------------------------------------------------------- methods in this implementation [INFO] [stdout] 27 | pub async fn log_out_anyway( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub async fn log_out( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/net_school_clients/inactive_client.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | RequestError(reqwest::Error), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 | RequestError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `auth_data` and `web_client` are never read [INFO] [stdout] --> src/net_school_clients/inactive_client.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct InactiveClient { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 19 | auth_data: AuthData, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | web_client: WebClientWrapper, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidCharactersInPassword` and `InvalidCredentials` are never constructed [INFO] [stdout] --> src/net_school_clients/inactive_client.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum AuthError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 27 | InvalidCharactersInPassword, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | InvalidCredentials(reqwest::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/net_school_clients/inactive_client.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | RequestError(reqwest::Error), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 | RequestError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RequestError` and `InvalidJsonInServerResponse` are never constructed [INFO] [stdout] --> src/net_school_clients/inactive_client.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum SchoolsGettingError { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 43 | RequestError(reqwest::Error), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 44 | /// It's either the response is not JSON at all, or it does not match the expected structure. [INFO] [stdout] 45 | InvalidJsonInServerResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidCharactersInPassword` and `InvalidCredentials` are never constructed [INFO] [stdout] --> src/net_school_clients/inactive_client.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum AuthError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 27 | InvalidCharactersInPassword, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | InvalidCredentials(reqwest::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/net_school_clients/inactive_client.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | SchoolsGettingError(SchoolsGettingError), [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 49 | SchoolsGettingError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RequestError` and `InvalidJsonInServerResponse` are never constructed [INFO] [stdout] --> src/net_school_clients/inactive_client.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum SchoolsGettingError { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 43 | RequestError(reqwest::Error), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 44 | /// It's either the response is not JSON at all, or it does not match the expected structure. [INFO] [stdout] 45 | InvalidJsonInServerResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SchoolNotFound` is never constructed [INFO] [stdout] --> src/net_school_clients/inactive_client.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum SchoolByNameGettingError { [INFO] [stdout] | ------------------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 51 | SchoolNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_auth_data` is never used [INFO] [stdout] --> src/net_school_clients/inactive_client.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl InactiveClient { [INFO] [stdout] | ----------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn set_auth_data(&mut self, auth_data: AuthData) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/net_school_clients/inactive_client.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | SchoolsGettingError(SchoolsGettingError), [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 49 | SchoolsGettingError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SchoolNotFound` is never constructed [INFO] [stdout] --> src/net_school_clients/inactive_client.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum SchoolByNameGettingError { [INFO] [stdout] | ------------------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 51 | SchoolNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_auth_data` is never used [INFO] [stdout] --> src/net_school_clients/inactive_client.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl InactiveClient { [INFO] [stdout] | ----------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn set_auth_data(&mut self, auth_data: AuthData) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `schools`, `school_by_name`, and `log_in` are never used [INFO] [stdout] --> src/net_school_clients/inactive_client.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 76 | / impl + Send + Sync, Password: Borrow + Send + Sync> [INFO] [stdout] 77 | | InactiveClient [INFO] [stdout] | |______________________________________- methods in this implementation [INFO] [stdout] 78 | { [INFO] [stdout] 79 | pub async fn schools(&self) -> Result, SchoolsGettingError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub async fn school_by_name( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub async fn log_in(mut self) -> Result, (AuthError, Self)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/net_school_clients/logged_out_client.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl LoggedOutClient { [INFO] [stdout] | ------------------------------------------------------------ associated function in this implementation [INFO] [stdout] 17 | pub const fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `schools`, `school_by_name`, and `log_in` are never used [INFO] [stdout] --> src/net_school_clients/inactive_client.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 76 | / impl + Send + Sync, Password: Borrow + Send + Sync> [INFO] [stdout] 77 | | InactiveClient [INFO] [stdout] | |______________________________________- methods in this implementation [INFO] [stdout] 78 | { [INFO] [stdout] 79 | pub async fn schools(&self) -> Result, SchoolsGettingError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub async fn school_by_name( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub async fn log_in(mut self) -> Result, (AuthError, Self)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `number`, `string`, `get`, and `index` are never used [INFO] [stdout] --> src/json.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait Json [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 36 | fn number(&self) -> Option; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | fn string(&self) -> Option<&str>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 38 | fn get(&self, key: &str) -> Option<&serde_json::Value>; [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | fn index(&self, index: usize) -> Option<&serde_json::Value>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/net_school_clients/logged_out_client.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl LoggedOutClient { [INFO] [stdout] | ------------------------------------------------------------ associated function in this implementation [INFO] [stdout] 17 | pub const fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `student_id`, `year_id`, and `assignment_types` are never read [INFO] [stdout] --> src/user_data.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct UserData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 12 | student_id: BigInt, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | year_id: BigInt, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | assignment_types: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `number`, `string`, `get`, and `index` are never used [INFO] [stdout] --> src/json.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait Json [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 36 | fn number(&self) -> Option; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | fn string(&self) -> Option<&str>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 38 | fn get(&self, key: &str) -> Option<&serde_json::Value>; [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | fn index(&self, index: usize) -> Option<&serde_json::Value>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RequestError` and `InvalidJsonInServerResponse` are never constructed [INFO] [stdout] --> src/user_data.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum MakingError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 19 | RequestError(reqwest::Error), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | /// It's either the response is not JSON at all, or it does not match the expected structure. [INFO] [stdout] 21 | InvalidJsonInServerResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `student_id`, `year_id`, and `assignment_types` are never read [INFO] [stdout] --> src/user_data.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct UserData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 12 | student_id: BigInt, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | year_id: BigInt, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | assignment_types: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `make` is never used [INFO] [stdout] --> src/user_data.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 24 | impl UserData { [INFO] [stdout] | ----------------------------------------------------------------- associated function in this implementation [INFO] [stdout] 25 | pub async fn make( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RequestError` and `InvalidJsonInServerResponse` are never constructed [INFO] [stdout] --> src/user_data.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum MakingError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 19 | RequestError(reqwest::Error), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | /// It's either the response is not JSON at all, or it does not match the expected structure. [INFO] [stdout] 21 | InvalidJsonInServerResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `student_id`, `year_id`, `assignment_types`, and `auth_data` are never used [INFO] [stdout] --> src/user_data.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 92 | impl UserData { [INFO] [stdout] | ----------------------------------------------------- methods in this implementation [INFO] [stdout] 93 | pub const fn student_id(&self) -> &BigInt { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub const fn year_id(&self) -> &BigInt { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub const fn assignment_types(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub const fn auth_data(&self) -> &AuthData { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `make` is never used [INFO] [stdout] --> src/user_data.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 24 | impl UserData { [INFO] [stdout] | ----------------------------------------------------------------- associated function in this implementation [INFO] [stdout] 25 | pub async fn make( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Regular` is never constructed [INFO] [stdout] --> src/schemas.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum LoginType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 11 | /// With username and password. [INFO] [stdout] 12 | Regular = 1, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/schemas.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct SchoolInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 58 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `student_id`, `year_id`, `assignment_types`, and `auth_data` are never used [INFO] [stdout] --> src/user_data.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 92 | impl UserData { [INFO] [stdout] | ----------------------------------------------------- methods in this implementation [INFO] [stdout] 93 | pub const fn student_id(&self) -> &BigInt { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub const fn year_id(&self) -> &BigInt { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub const fn assignment_types(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub const fn auth_data(&self) -> &AuthData { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `auth_token` is never read [INFO] [stdout] --> src/schemas.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct AuthResponse { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 82 | #[serde(rename(deserialize = "at"))] [INFO] [stdout] 83 | pub auth_token: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Regular` is never constructed [INFO] [stdout] --> src/schemas.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum LoginType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 11 | /// With username and password. [INFO] [stdout] 12 | Regular = 1, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `student_id` is never read [INFO] [stdout] --> src/schemas.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Student { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 88 | #[serde(rename(serialize = "studentId"))] [INFO] [stdout] 89 | pub student_id: BigInt, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/schemas.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct SchoolInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 58 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `students` and `current_student_id` are never read [INFO] [stdout] --> src/schemas.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct DiaryInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 94 | pub students: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 95 | #[serde(rename(serialize = "currentStudentId"))] [INFO] [stdout] 96 | pub current_student_id: BigInt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `auth_token` is never read [INFO] [stdout] --> src/schemas.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct AuthResponse { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 82 | #[serde(rename(deserialize = "at"))] [INFO] [stdout] 83 | pub auth_token: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/schemas.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct CurrentYear { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 101 | pub id: BigInt, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `student_id` is never read [INFO] [stdout] --> src/schemas.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Student { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 88 | #[serde(rename(serialize = "studentId"))] [INFO] [stdout] 89 | pub student_id: BigInt, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> src/schemas.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct Assignment { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 106 | pub id: BigInt, [INFO] [stdout] | ^^ [INFO] [stdout] 107 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `students` and `current_student_id` are never read [INFO] [stdout] --> src/schemas.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct DiaryInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 94 | pub students: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 95 | #[serde(rename(serialize = "currentStudentId"))] [INFO] [stdout] 96 | pub current_student_id: BigInt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/schemas.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct CurrentYear { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 101 | pub id: BigInt, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> src/schemas.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct Assignment { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 106 | pub id: BigInt, [INFO] [stdout] | ^^ [INFO] [stdout] 107 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.08s [INFO] running `Command { std: "docker" "inspect" "93e31580d56c72338908ab2a4a7e701f73e9c96c6cdb8f9139a04b0a27a389fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93e31580d56c72338908ab2a4a7e701f73e9c96c6cdb8f9139a04b0a27a389fb", kill_on_drop: false }` [INFO] [stdout] 93e31580d56c72338908ab2a4a7e701f73e9c96c6cdb8f9139a04b0a27a389fb