[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#18a6d911caba59605eb03db1452848a85d2e5879 for pr-112743 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmegahomyak%2Fnetschoolapi_rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/megahomyak/netschoolapi_rust on toolchain 18a6d911caba59605eb03db1452848a85d2e5879 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "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-0-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" "+18a6d911caba59605eb03db1452848a85d2e5879" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded concat_strs_impl v1.0.1 [INFO] [stderr] Downloaded concat_strs v1.0.2 [INFO] [stderr] Downloaded publicsuffix v2.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8eba4018c8dd07d6ef0f54d15d54706ce79fe1b69e16440cd31fc2a92764ee30 [INFO] running `Command { std: "docker" "start" "-a" "8eba4018c8dd07d6ef0f54d15d54706ce79fe1b69e16440cd31fc2a92764ee30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8eba4018c8dd07d6ef0f54d15d54706ce79fe1b69e16440cd31fc2a92764ee30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8eba4018c8dd07d6ef0f54d15d54706ce79fe1b69e16440cd31fc2a92764ee30", kill_on_drop: false }` [INFO] [stdout] 8eba4018c8dd07d6ef0f54d15d54706ce79fe1b69e16440cd31fc2a92764ee30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96b1f697d823c9f9127e997d70a1854dd1177287a2e24c3672bca58a64f218c7 [INFO] running `Command { std: "docker" "start" "-a" "96b1f697d823c9f9127e997d70a1854dd1177287a2e24c3672bca58a64f218c7", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [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 cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling memchr v2.5.0 [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 mio v0.8.4 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Compiling futures-task v0.3.23 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.23 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling futures-channel v0.3.23 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking futures-sink v0.3.23 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking idna v0.2.3 [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 openssl-probe v0.1.5 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking publicsuffix v2.2.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling async-trait v0.1.57 [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 encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking h2 v0.3.14 [INFO] [stderr] Checking time v0.3.13 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling concat_strs_impl v1.0.1 [INFO] [stderr] Checking concat_strs v1.0.2 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [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: 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] = 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] = note: `#[warn(dead_code)]` on by default [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: 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: 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: 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: 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: variant `IllFormedUrl` is never constructed [INFO] [stdout] --> src/web_clients/web_client_trait.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum RequestError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 7 | IllFormedUrl, [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: variant `IllFormedUrl` is never constructed [INFO] [stdout] --> src/web_clients/web_client_trait.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum RequestError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 7 | IllFormedUrl, [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`, `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: 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: 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 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: 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: 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: 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: 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: 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: 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 `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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.08s [INFO] running `Command { std: "docker" "inspect" "96b1f697d823c9f9127e997d70a1854dd1177287a2e24c3672bca58a64f218c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96b1f697d823c9f9127e997d70a1854dd1177287a2e24c3672bca58a64f218c7", kill_on_drop: false }` [INFO] [stdout] 96b1f697d823c9f9127e997d70a1854dd1177287a2e24c3672bca58a64f218c7