[INFO] fetching crate starberry_oauth 0.6.4... [INFO] building starberry_oauth-0.6.4 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate starberry_oauth 0.6.4 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate starberry_oauth 0.6.4 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate starberry_oauth 0.6.4 [INFO] tweaked toml for crates.io crate starberry_oauth 0.6.4 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate starberry_oauth 0.6.4 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate starberry_oauth 0.6.4 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dtor-proc-macro v0.0.5 [INFO] [stderr] Downloaded ctor-proc-macro v0.0.5 [INFO] [stderr] Downloaded dtor v0.0.6 [INFO] [stderr] Downloaded starberry_core v0.6.8 [INFO] [stderr] Downloaded starberry_lib v0.7.2 [INFO] [stderr] Downloaded akari_macro v0.2.0 [INFO] [stderr] Downloaded ctor v0.4.2 [INFO] [stderr] Downloaded starberry_sql v0.6.4 [INFO] [stderr] Downloaded sbmstd v0.6.3 [INFO] [stderr] Downloaded akari v0.2.5 [INFO] [stderr] Downloaded starberry_macro v0.6.3 [INFO] [stderr] Downloaded webpki-root-certs v1.0.1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 958a604400c6202b9430664f6fdda073f77f43b6f21044b17ed4553cae3a5029 [INFO] running `Command { std: "docker" "start" "-a" "958a604400c6202b9430664f6fdda073f77f43b6f21044b17ed4553cae3a5029", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "958a604400c6202b9430664f6fdda073f77f43b6f21044b17ed4553cae3a5029", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "958a604400c6202b9430664f6fdda073f77f43b6f21044b17ed4553cae3a5029", kill_on_drop: false }` [INFO] [stdout] 958a604400c6202b9430664f6fdda073f77f43b6f21044b17ed4553cae3a5029 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd613b5e7483205f3c4ed9fe8fccabfec8f911ddd7351fb6ddced75e61648ad2 [INFO] running `Command { std: "docker" "start" "-a" "fd613b5e7483205f3c4ed9fe8fccabfec8f911ddd7351fb6ddced75e61648ad2", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling dtor-proc-macro v0.0.5 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling dtor v0.0.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling brotli v3.5.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling ctor-proc-macro v0.0.5 [INFO] [stderr] Compiling ctor v0.4.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling akari_macro v0.2.0 [INFO] [stderr] Compiling akari v0.2.5 [INFO] [stderr] Compiling starberry_macro v0.6.3 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling zstd v0.12.4 [INFO] [stderr] Compiling starberry_lib v0.7.2 [INFO] [stderr] Compiling rustls-platform-verifier v0.5.3 [INFO] [stderr] Compiling starberry_core v0.6.8 [INFO] [stderr] Compiling sbmstd v0.6.3 [INFO] [stderr] Compiling starberry_sql v0.6.4 [INFO] [stderr] Compiling starberry_oauth v0.6.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/oauth_core/oauth_provider.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/oauth_core/oauth_provider.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::types::UserContext` [INFO] [stdout] --> src/oauth_core/oauth_provider.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use super::types::UserContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `future::Future` and `pin::Pin` [INFO] [stdout] --> src/oauth_core/memory.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{sync::Arc, pin::Pin, future::Future}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/oauth_core/middleware.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::{Instant, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `starberry_macro::middleware` [INFO] [stdout] --> src/oauth_core/middleware.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use starberry_macro::middleware; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `future::Future` and `pin::Pin` [INFO] [stdout] --> src/oauth_core/jwt.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{pin::Pin, future::Future}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `future::Future` and `pin::Pin` [INFO] [stdout] --> src/oauth_core/db.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{pin::Pin, future::Future}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `future::Future` and `pin::Pin` [INFO] [stdout] --> src/oauth_core/cookie.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{pin::Pin, future::Future, collections::HashMap, time::{SystemTime, UNIX_EPOCH}}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/oauth_core/cookie.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpResponse` [INFO] [stdout] --> src/oauth_core/oauth_client.rs:8:56 [INFO] [stdout] | [INFO] [stdout] 8 | use super::http_client::{OAuthHttpClient, HttpRequest, HttpResponse, RedirectPolicy}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt`, `AsyncWriteExt`, `BufReader`, and `BufWriter` [INFO] [stdout] --> src/oauth_core/http_client.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::io::{AsyncReadExt, AsyncWriteExt, BufReader, BufWriter}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `starberry_core::http::response::HttpResponse as CoreHttpResponse` [INFO] [stdout] --> src/oauth_core/http_client.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use starberry_core::http::response::HttpResponse as CoreHttpResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `starberry_core::connection::Tx` [INFO] [stdout] --> src/oauth_core/http_client.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use starberry_core::connection::Tx; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rx` [INFO] [stdout] --> src/oauth_core/context.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use starberry_core::connection::{Rx, Tx}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpReqCtx` and `HttpResCtx` [INFO] [stdout] --> src/oauth_core/context.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use starberry_core::http::context::{HttpReqCtx, HttpResCtx}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ring::deprecated_constant_time::verify_slices_are_equal`: To be removed. Internal function not intended for external use with no promises regarding side channels. [INFO] [stdout] --> src/oauth_core/crypto.rs:3:78 [INFO] [stdout] | [INFO] [stdout] 3 | use ring::{digest, hmac, aead, signature, error::Unspecified, constant_time::verify_slices_are_equal}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ring::deprecated_constant_time::verify_slices_are_equal`: To be removed. Internal function not intended for external use with no promises regarding side channels. [INFO] [stdout] --> src/oauth_core/crypto.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | verify_slices_are_equal(a, b).is_ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ring::rsa::KeyPair::public_modulus_len`: Use `public().modulus_len()` [INFO] [stdout] --> src/oauth_core/crypto.rs:60:36 [INFO] [stdout] | [INFO] [stdout] 60 | let mut buf = vec![0; key_pair.public_modulus_len()]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `authorizer` [INFO] [stdout] --> src/oauth_core/middleware.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let authorizer = self.authorizer.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_authorizer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/oauth_core/oauth_client.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let mut params = vec![ [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kty` and `use_` are never read [INFO] [stdout] --> src/oauth_core/jwks.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct Jwk { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 17 | kty: String, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use_: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Jwk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_conns` is never read [INFO] [stdout] --> src/oauth_core/http_client.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct CoreHttpClient { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | max_conns: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CoreHttpClient` 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 `get_pool` is never used [INFO] [stdout] --> src/oauth_core/http_client.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 122 | impl CoreHttpClient { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | async fn get_pool(&self, host_port: &str) -> Arc> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 42s [INFO] running `Command { std: "docker" "inspect" "fd613b5e7483205f3c4ed9fe8fccabfec8f911ddd7351fb6ddced75e61648ad2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd613b5e7483205f3c4ed9fe8fccabfec8f911ddd7351fb6ddced75e61648ad2", kill_on_drop: false }` [INFO] [stdout] fd613b5e7483205f3c4ed9fe8fccabfec8f911ddd7351fb6ddced75e61648ad2 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42b0432a39873d8702f6506169f978e91dba4d641ba25ad877dea39d9d35ab07 [INFO] running `Command { std: "docker" "start" "-a" "42b0432a39873d8702f6506169f978e91dba4d641ba25ad877dea39d9d35ab07", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/oauth_core/oauth_provider.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/oauth_core/oauth_provider.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::types::UserContext` [INFO] [stdout] --> src/oauth_core/oauth_provider.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use super::types::UserContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `future::Future` and `pin::Pin` [INFO] [stdout] --> src/oauth_core/memory.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{sync::Arc, pin::Pin, future::Future}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/oauth_core/middleware.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::{Instant, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `starberry_macro::middleware` [INFO] [stdout] --> src/oauth_core/middleware.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use starberry_macro::middleware; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `future::Future` and `pin::Pin` [INFO] [stdout] --> src/oauth_core/jwt.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{pin::Pin, future::Future}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `future::Future` and `pin::Pin` [INFO] [stdout] --> src/oauth_core/db.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{pin::Pin, future::Future}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `future::Future` and `pin::Pin` [INFO] [stdout] --> src/oauth_core/cookie.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{pin::Pin, future::Future, collections::HashMap, time::{SystemTime, UNIX_EPOCH}}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/oauth_core/cookie.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpResponse` [INFO] [stdout] --> src/oauth_core/oauth_client.rs:8:56 [INFO] [stdout] | [INFO] [stdout] 8 | use super::http_client::{OAuthHttpClient, HttpRequest, HttpResponse, RedirectPolicy}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt`, `AsyncWriteExt`, `BufReader`, and `BufWriter` [INFO] [stdout] --> src/oauth_core/http_client.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::io::{AsyncReadExt, AsyncWriteExt, BufReader, BufWriter}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `starberry_core::http::response::HttpResponse as CoreHttpResponse` [INFO] [stdout] --> src/oauth_core/http_client.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use starberry_core::http::response::HttpResponse as CoreHttpResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `starberry_core::connection::Tx` [INFO] [stdout] --> src/oauth_core/http_client.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use starberry_core::connection::Tx; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rx` [INFO] [stdout] --> src/oauth_core/context.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use starberry_core::connection::{Rx, Tx}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpReqCtx` and `HttpResCtx` [INFO] [stdout] --> src/oauth_core/context.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use starberry_core::http::context::{HttpReqCtx, HttpResCtx}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ring::deprecated_constant_time::verify_slices_are_equal`: To be removed. Internal function not intended for external use with no promises regarding side channels. [INFO] [stdout] --> src/oauth_core/crypto.rs:3:78 [INFO] [stdout] | [INFO] [stdout] 3 | use ring::{digest, hmac, aead, signature, error::Unspecified, constant_time::verify_slices_are_equal}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ring::deprecated_constant_time::verify_slices_are_equal`: To be removed. Internal function not intended for external use with no promises regarding side channels. [INFO] [stdout] --> src/oauth_core/crypto.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | verify_slices_are_equal(a, b).is_ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ring::rsa::KeyPair::public_modulus_len`: Use `public().modulus_len()` [INFO] [stdout] --> src/oauth_core/crypto.rs:60:36 [INFO] [stdout] | [INFO] [stdout] 60 | let mut buf = vec![0; key_pair.public_modulus_len()]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `authorizer` [INFO] [stdout] --> src/oauth_core/middleware.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let authorizer = self.authorizer.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_authorizer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/oauth_core/oauth_client.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let mut params = vec![ [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kty` and `use_` are never read [INFO] [stdout] --> src/oauth_core/jwks.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct Jwk { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 17 | kty: String, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use_: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Jwk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_conns` is never read [INFO] [stdout] --> src/oauth_core/http_client.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct CoreHttpClient { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | max_conns: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CoreHttpClient` 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 `get_pool` is never used [INFO] [stdout] --> src/oauth_core/http_client.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 122 | impl CoreHttpClient { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | async fn get_pool(&self, host_port: &str) -> Arc> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling starberry_oauth v0.6.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `JWTAlgorithm` [INFO] [stdout] --> tests/plugins_compile.rs:4:44 [INFO] [stdout] | [INFO] [stdout] 4 | oauth_core::types::{Token, TokenModel, JWTAlgorithm, OAuthContext}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AppBuilder` and `App` [INFO] [stdout] --> examples/social.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | use starberry_core::app::application::{App, AppBuilder}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `starberry_core::app::protocol::ProtocolHandlerBuilder` [INFO] [stdout] --> examples/social.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use starberry_core::app::protocol::ProtocolHandlerBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `starberry_core::http::context::HttpReqCtx` [INFO] [stdout] --> examples/social.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use starberry_core::http::context::HttpReqCtx; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `starberry_oauth::OAuthLayer` [INFO] [stdout] --> examples/social.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use starberry_oauth::OAuthLayer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> examples/social.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> examples/social.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AppBuilder` [INFO] [stdout] --> examples/openid.rs:4:45 [INFO] [stdout] | [INFO] [stdout] 4 | use starberry_core::app::application::{App, AppBuilder}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OAuthHttpClient` [INFO] [stdout] --> tests/flow_test.rs:2:133 [INFO] [stdout] | [INFO] [stdout] 2 | ...efreshTokenFlow, InMemoryTokenStorage, InMemoryHttpClient, OAuthHttpClient}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `starberry_core::http::http_value::HttpVersion` [INFO] [stdout] --> tests/error_response.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use starberry_core::http::http_value::HttpVersion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/oauth_core/oauth_provider.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/oauth_core/oauth_provider.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::types::UserContext` [INFO] [stdout] --> src/oauth_core/oauth_provider.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use super::types::UserContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `future::Future` and `pin::Pin` [INFO] [stdout] --> src/oauth_core/memory.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{sync::Arc, pin::Pin, future::Future}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/oauth_core/middleware.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::{Instant, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `starberry_macro::middleware` [INFO] [stdout] --> src/oauth_core/middleware.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use starberry_macro::middleware; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `future::Future` and `pin::Pin` [INFO] [stdout] --> src/oauth_core/jwt.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{pin::Pin, future::Future}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `future::Future` and `pin::Pin` [INFO] [stdout] --> src/oauth_core/db.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{pin::Pin, future::Future}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `future::Future` and `pin::Pin` [INFO] [stdout] --> src/oauth_core/cookie.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{pin::Pin, future::Future, collections::HashMap, time::{SystemTime, UNIX_EPOCH}}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/oauth_core/cookie.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpResponse` [INFO] [stdout] --> src/oauth_core/oauth_client.rs:8:56 [INFO] [stdout] | [INFO] [stdout] 8 | use super::http_client::{OAuthHttpClient, HttpRequest, HttpResponse, RedirectPolicy}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt`, `AsyncWriteExt`, `BufReader`, and `BufWriter` [INFO] [stdout] --> src/oauth_core/http_client.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::io::{AsyncReadExt, AsyncWriteExt, BufReader, BufWriter}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `starberry_core::http::response::HttpResponse as CoreHttpResponse` [INFO] [stdout] --> src/oauth_core/http_client.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use starberry_core::http::response::HttpResponse as CoreHttpResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `starberry_core::connection::Tx` [INFO] [stdout] --> src/oauth_core/http_client.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use starberry_core::connection::Tx; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rx` [INFO] [stdout] --> src/oauth_core/context.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use starberry_core::connection::{Rx, Tx}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpReqCtx` and `HttpResCtx` [INFO] [stdout] --> src/oauth_core/context.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use starberry_core::http::context::{HttpReqCtx, HttpResCtx}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ring::deprecated_constant_time::verify_slices_are_equal`: To be removed. Internal function not intended for external use with no promises regarding side channels. [INFO] [stdout] --> src/oauth_core/crypto.rs:3:78 [INFO] [stdout] | [INFO] [stdout] 3 | use ring::{digest, hmac, aead, signature, error::Unspecified, constant_time::verify_slices_are_equal}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ring::deprecated_constant_time::verify_slices_are_equal`: To be removed. Internal function not intended for external use with no promises regarding side channels. [INFO] [stdout] --> src/oauth_core/crypto.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | verify_slices_are_equal(a, b).is_ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ring::rsa::KeyPair::public_modulus_len`: Use `public().modulus_len()` [INFO] [stdout] --> src/oauth_core/crypto.rs:60:36 [INFO] [stdout] | [INFO] [stdout] 60 | let mut buf = vec![0; key_pair.public_modulus_len()]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `authorizer` [INFO] [stdout] --> src/oauth_core/middleware.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let authorizer = self.authorizer.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_authorizer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/oauth_core/oauth_client.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let mut params = vec![ [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kty` and `use_` are never read [INFO] [stdout] --> src/oauth_core/jwks.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct Jwk { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 17 | kty: String, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use_: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Jwk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_conns` is never read [INFO] [stdout] --> src/oauth_core/http_client.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct CoreHttpClient { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | max_conns: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CoreHttpClient` 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 `get_pool` is never used [INFO] [stdout] --> src/oauth_core/http_client.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 122 | impl CoreHttpClient { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | async fn get_pool(&self, host_port: &str) -> Arc> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.81s [INFO] running `Command { std: "docker" "inspect" "42b0432a39873d8702f6506169f978e91dba4d641ba25ad877dea39d9d35ab07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42b0432a39873d8702f6506169f978e91dba4d641ba25ad877dea39d9d35ab07", kill_on_drop: false }` [INFO] [stdout] 42b0432a39873d8702f6506169f978e91dba4d641ba25ad877dea39d9d35ab07