[INFO] cloning repository https://github.com/zapbu/auth_server_playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zapbu/auth_server_playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzapbu%2Fauth_server_playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzapbu%2Fauth_server_playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 41076c97222baf628f03798958b75d473321fa07 [INFO] checking zapbu/auth_server_playground against master#18a6d911caba59605eb03db1452848a85d2e5879 for pr-112743 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzapbu%2Fauth_server_playground" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zapbu/auth_server_playground 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/zapbu/auth_server_playground [INFO] finished tweaking git repo https://github.com/zapbu/auth_server_playground [INFO] tweaked toml for git repo https://github.com/zapbu/auth_server_playground written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zapbu/auth_server_playground 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] warning: /workspace/builds/worker-5-tc1/source/Cargo.toml: version requirement `2.0.2+1.0.3` for dependency `paseto` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded paseto v2.0.2+1.0.3 [INFO] [stderr] Downloaded axum-extra v0.3.6 [INFO] [stderr] Downloaded axum v0.5.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 53d7f5cfe52137830db27fc3ac6a7cd66ca307fa84098d2e169c5c07c28ac4f9 [INFO] running `Command { std: "docker" "start" "-a" "53d7f5cfe52137830db27fc3ac6a7cd66ca307fa84098d2e169c5c07c28ac4f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53d7f5cfe52137830db27fc3ac6a7cd66ca307fa84098d2e169c5c07c28ac4f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53d7f5cfe52137830db27fc3ac6a7cd66ca307fa84098d2e169c5c07c28ac4f9", kill_on_drop: false }` [INFO] [stdout] 53d7f5cfe52137830db27fc3ac6a7cd66ca307fa84098d2e169c5c07c28ac4f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 0fd62240a08894d04b8f6e51af314e1e0335ccb4fe9654ae72197c1a2430071c [INFO] running `Command { std: "docker" "start" "-a" "0fd62240a08894d04b8f6e51af314e1e0335ccb4fe9654ae72197c1a2430071c", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: version requirement `2.0.2+1.0.3` for dependency `paseto` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking crypto-common v0.1.4 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking ahash v0.7.6 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Compiling tokio v1.19.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling crc-catalog v2.1.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.0 [INFO] [stderr] Compiling crc v3.0.0 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking time v0.3.11 [INFO] [stderr] Compiling hashlink v0.8.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Compiling md-5 v0.10.1 [INFO] [stderr] Checking object v0.29.0 [INFO] [stderr] Compiling webpki-roots v0.22.3 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking chacha20 v0.7.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling validator_types v0.15.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking headers v0.3.7 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Checking matchit v0.5.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Checking sync_wrapper v0.1.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking chacha20poly1305 v0.8.2 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking pem v1.0.2 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Compiling axum-macros v0.2.3 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling sqlx-rt v0.6.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking axum-core v0.2.6 [INFO] [stderr] Checking pin-project v1.0.11 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Compiling validator_derive v0.15.0 [INFO] [stderr] Checking tracing-subscriber v0.3.14 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tower-http v0.3.4 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking sqlx-core v0.6.0 [INFO] [stderr] Checking jsonwebtoken v8.1.1 [INFO] [stderr] Checking validator v0.15.0 [INFO] [stderr] Checking paseto v2.0.2+1.0.3 [INFO] [stderr] Checking hyper v0.14.19 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking axum v0.5.11 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Compiling sqlx-macros v0.6.0 [INFO] [stderr] Checking axum-extra v0.3.6 [INFO] [stderr] Checking sqlx v0.6.0 [INFO] [stderr] Checking auth_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `extract::rejection::TypedHeaderRejection` [INFO] [stdout] --> src/error/auth_error.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | extract::rejection::TypedHeaderRejection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/handler/auth_handler.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cookie::Cookie` [INFO] [stdout] --> src/handler/auth_handler.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | extract::{cookie::Cookie, SignedCookieJar}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `config::constants::AUTH_COOKIE_NAME` [INFO] [stdout] --> src/handler/auth_handler.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | config::constants::AUTH_COOKIE_NAME, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/handler/test_handler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/model/user_model.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{NaiveDate, NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `google_create_user_callback` [INFO] [stdout] --> src/router/auth_router.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | google_create_user, google_create_user_callback, google_login, google_login_callback, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `extract::rejection::TypedHeaderRejection` [INFO] [stdout] --> src/error/auth_error.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | extract::rejection::TypedHeaderRejection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/handler/auth_handler.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cookie::Cookie` [INFO] [stdout] --> src/handler/auth_handler.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | extract::{cookie::Cookie, SignedCookieJar}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `config::constants::AUTH_COOKIE_NAME` [INFO] [stdout] --> src/handler/auth_handler.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | config::constants::AUTH_COOKIE_NAME, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/handler/test_handler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/model/user_model.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{NaiveDate, NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `google_create_user_callback` [INFO] [stdout] --> src/router/auth_router.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | google_create_user, google_create_user_callback, google_login, google_login_callback, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/handler/test_handler.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | Extension(o): Extension, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/handler/test_handler.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | Extension(o): Extension, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/config/env.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let env = get_env(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth_cookie` [INFO] [stdout] --> src/extractor/auth_user_extract.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | let auth_cookie = create_auth_cookie(new_auth_token); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auth_cookie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Env` is never used [INFO] [stdout] --> src/config/env.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Env { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/config/env.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Env { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 12 | pub fn as_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DuplicateUser` and `InvalidAuthHeader` are never constructed [INFO] [stdout] --> src/error/auth_error.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum AuthError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | DuplicateUser, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | #[error("`Authorization` header is invalid")] [INFO] [stdout] 20 | InvalidAuthHeader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `google_create_user_callback` is never used [INFO] [stdout] --> src/handler/auth_handler.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn google_create_user_callback( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `login_test` is never used [INFO] [stdout] --> src/handler/auth_handler.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | pub async fn login_test(_: LoginTestPath) -> Redirect { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_cookie_fn` is never used [INFO] [stdout] --> src/handler/test_handler.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn add_cookie_fn<'c>() -> Cookie<'c> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `refresh` is never used [INFO] [stdout] --> src/lib/jwt/auth_claims.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl AuthClaims { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn refresh(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotRefreshableToken` is never constructed [INFO] [stdout] --> src/lib/jwt/auth_token_validation_error.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum AuthTokenValidationError { [INFO] [stdout] | ------------------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | NotRefreshableToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthTokenValidationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token_url_for_create_user` is never read [INFO] [stdout] --> src/lib/oauth/google/google_oauth_client.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct GoogleOAuthClient { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | token_url_for_create_user: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GoogleOAuthClient` 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_token_for_create_user` is never used [INFO] [stdout] --> src/lib/oauth/google/google_oauth_client.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl GoogleOAuthClient { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub async fn get_token_for_create_user( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_str` and `to_string` are never used [INFO] [stdout] --> src/model/user_model.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Gender { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 13 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_str` and `to_string` are never used [INFO] [stdout] --> src/model/user_model.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Locale { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 56 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_user_and_get_id`, `is_user_exists_by_google_id`, and `update_user` are never used [INFO] [stdout] --> src/repo/user_repo.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl UserRepo { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub async fn create_user_and_get_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub async fn is_user_exists_by_google_id(&self, google_id: &str) -> AppResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub async fn update_user( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_string` is never used [INFO] [stdout] --> src/util/random.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn rand_string(len: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_date` is never used [INFO] [stdout] --> src/util/random.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn random_date() -> NaiveDate { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth_cookie` [INFO] [stdout] --> src/extractor/auth_user_extract.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | let auth_cookie = create_auth_cookie(new_auth_token); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auth_cookie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Env` is never used [INFO] [stdout] --> src/config/env.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Env { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/config/env.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Env { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 12 | pub fn as_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DuplicateUser` and `InvalidAuthHeader` are never constructed [INFO] [stdout] --> src/error/auth_error.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum AuthError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | DuplicateUser, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | #[error("`Authorization` header is invalid")] [INFO] [stdout] 20 | InvalidAuthHeader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `google_create_user_callback` is never used [INFO] [stdout] --> src/handler/auth_handler.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn google_create_user_callback( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `login_test` is never used [INFO] [stdout] --> src/handler/auth_handler.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | pub async fn login_test(_: LoginTestPath) -> Redirect { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_cookie_fn` is never used [INFO] [stdout] --> src/handler/test_handler.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn add_cookie_fn<'c>() -> Cookie<'c> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `refresh` is never used [INFO] [stdout] --> src/lib/jwt/auth_claims.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl AuthClaims { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn refresh(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotRefreshableToken` is never constructed [INFO] [stdout] --> src/lib/jwt/auth_token_validation_error.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum AuthTokenValidationError { [INFO] [stdout] | ------------------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | NotRefreshableToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthTokenValidationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token_url_for_create_user` is never read [INFO] [stdout] --> src/lib/oauth/google/google_oauth_client.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct GoogleOAuthClient { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | token_url_for_create_user: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GoogleOAuthClient` 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_token_for_create_user` is never used [INFO] [stdout] --> src/lib/oauth/google/google_oauth_client.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl GoogleOAuthClient { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub async fn get_token_for_create_user( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/model/user_model.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Gender { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 13 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_str` and `to_string` are never used [INFO] [stdout] --> src/model/user_model.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Locale { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 56 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_date` is never used [INFO] [stdout] --> src/util/random.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn random_date() -> NaiveDate { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_config__dir_path` should have a snake case name [INFO] [stdout] --> src/config/config.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn test_config__dir_path() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_config_dir_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.17s [INFO] running `Command { std: "docker" "inspect" "0fd62240a08894d04b8f6e51af314e1e0335ccb4fe9654ae72197c1a2430071c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fd62240a08894d04b8f6e51af314e1e0335ccb4fe9654ae72197c1a2430071c", kill_on_drop: false }` [INFO] [stdout] 0fd62240a08894d04b8f6e51af314e1e0335ccb4fe9654ae72197c1a2430071c