[INFO] cloning repository https://github.com/rishiad/rust_auth_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rishiad/rust_auth_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frishiad%2Frust_auth_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frishiad%2Frust_auth_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 753ba3e08068db0c980ad2d8cbce34b6832da253 [INFO] checking rishiad/rust_auth_server against master#18a6d911caba59605eb03db1452848a85d2e5879 for pr-112743 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frishiad%2Frust_auth_server" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rishiad/rust_auth_server 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/rishiad/rust_auth_server [INFO] finished tweaking git repo https://github.com/rishiad/rust_auth_server [INFO] tweaked toml for git repo https://github.com/rishiad/rust_auth_server written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rishiad/rust_auth_server 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] Downloading crates ... [INFO] [stderr] Downloaded eyre v0.4.3 [INFO] [stderr] Downloaded color-backtrace v0.4.2 [INFO] [stderr] Downloaded actix-identity v0.5.2 [INFO] [stderr] Downloaded actix-web-httpauth v0.8.0 [INFO] [stderr] Downloaded color-eyre v0.3.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1076676042dc7529d5c3a9d0749451b2b7eb86fa88a7924181707d50234dd4a [INFO] running `Command { std: "docker" "start" "-a" "e1076676042dc7529d5c3a9d0749451b2b7eb86fa88a7924181707d50234dd4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1076676042dc7529d5c3a9d0749451b2b7eb86fa88a7924181707d50234dd4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1076676042dc7529d5c3a9d0749451b2b7eb86fa88a7924181707d50234dd4a", kill_on_drop: false }` [INFO] [stdout] e1076676042dc7529d5c3a9d0749451b2b7eb86fa88a7924181707d50234dd4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0843679bd6a288e31e402d2da26bf2f95b1a4e7a7a2e80cd17b43325e972260a [INFO] running `Command { std: "docker" "start" "-a" "0843679bd6a288e31e402d2da26bf2f95b1a4e7a7a2e80cd17b43325e972260a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking cpufeatures v0.2.5 [INFO] [stderr] Checking digest v0.10.5 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling zstd-sys v2.0.1+zstd.1.5.2 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking iana-time-zone v0.1.48 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking local-waker v0.1.3 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Checking polyval v0.5.3 [INFO] [stderr] Checking hkdf v0.12.3 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling thiserror v1.0.35 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling crossbeam-queue v0.3.6 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Compiling thiserror-impl v1.0.35 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking ghash v0.4.4 [INFO] [stderr] Checking brotli-decompressor v2.3.2 [INFO] [stderr] Checking actix-utils v3.0.0 [INFO] [stderr] Checking ctr v0.8.0 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking actix-rt v2.7.0 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Compiling bytestring v1.1.0 [INFO] [stderr] Checking aead v0.4.3 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking h2 v0.3.14 [INFO] [stderr] Checking actix-codec v0.5.0 [INFO] [stderr] Checking aes-gcm v0.9.4 [INFO] [stderr] Checking brotli v3.3.4 [INFO] [stderr] Checking time v0.3.14 [INFO] [stderr] Checking chrono v0.4.22 [INFO] [stderr] Compiling actix-router v0.5.1 [INFO] [stderr] Checking local-channel v0.1.3 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling bindgen v0.48.1 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling itertools v0.10.4 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling actix-web-codegen v4.1.0 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Checking actix-server v2.1.1 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling anyhow v1.0.65 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking serde_test v0.8.23 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling sqlx-rt v0.5.13 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling md-5 v0.10.4 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling eyre v0.4.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling unicode-segmentation v1.10.0 [INFO] [stderr] Compiling whoami v1.2.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling sqlx-core v0.5.13 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Checking tracing-error v0.1.2 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking owo-colors v1.3.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking color-spantrace v0.1.6 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Compiling validator v0.10.1 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking color-backtrace v0.4.2 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking futures-executor v0.3.24 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Compiling validator_derive v0.10.1 [INFO] [stderr] Checking color-eyre v0.3.4 [INFO] [stderr] Checking futures v0.3.24 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking jsonwebtoken v7.2.0 [INFO] [stderr] Checking config v0.10.1 [INFO] [stderr] Compiling sqlx-macros v0.5.13 [INFO] [stderr] Checking sqlx v0.5.13 [INFO] [stderr] Compiling argonautica v0.2.0 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking actix-http v3.2.2 [INFO] [stderr] Checking actix-web v4.2.1 [INFO] [stderr] Checking actix-session v0.7.2 [INFO] [stderr] Checking actix-web-httpauth v0.8.0 [INFO] [stderr] Checking actix-identity v0.5.2 [INFO] [stderr] Checking rustAuthServer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/config/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{time::Duration, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/handlers/user.rs:7:112 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{models::user::{NewUser, User}, db::{user::UserRepo, self}, config::crypto::CryptoService, errors::{self, AppError}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/handlers/auth.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | use futures::future::{ready, BoxFuture, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instrument` [INFO] [stdout] --> src/handlers/auth.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{debug, instrument}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::query::QueryAs` [INFO] [stdout] --> src/db/user.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | use sqlx::query::QueryAs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::watch::error` [INFO] [stdout] --> src/errors/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::watch::error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/config/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{time::Duration, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/handlers/user.rs:7:112 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{models::user::{NewUser, User}, db::{user::UserRepo, self}, config::crypto::CryptoService, errors::{self, AppError}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/handlers/auth.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | use futures::future::{ready, BoxFuture, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instrument` [INFO] [stdout] --> src/handlers/auth.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{debug, instrument}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::query::QueryAs` [INFO] [stdout] --> src/db/user.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | use sqlx::query::QueryAs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::watch::error` [INFO] [stdout] --> src/errors/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::watch::error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `config::crypto::CryptoService::hash_password::{closure#0}::TRACING_INSTRUMENT_WARNING`: found unrecognized input, expected one of: `name`, string literal, `target`, `parent`, `follows_from`, `level`, `skip`, `skip_all`, `fields`, `err`, `ret`, `,` [INFO] [stdout] --> src/config/crypto.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | #[instrument(self, password)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/config/crypto.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | #[instrument(self, password)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `config::crypto::CryptoService::hash_password::{closure#0}::TRACING_INSTRUMENT_WARNING`: found unrecognized input, expected one of: `name`, string literal, `target`, `parent`, `follows_from`, `level`, `skip`, `skip_all`, `fields`, `err`, `ret`, `,` [INFO] [stdout] --> src/config/crypto.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | #[instrument(self, password)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/config/crypto.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | #[instrument(self, password)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `config::crypto::CryptoService::hash_password::{closure#0}::TRACING_INSTRUMENT_WARNING`: found unrecognized input, expected one of: `name`, string literal, `target`, `parent`, `follows_from`, `level`, `skip`, `skip_all`, `fields`, `err`, `ret`, `,` [INFO] [stdout] --> src/config/crypto.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | #[instrument(self, password)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/config/crypto.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | #[instrument(self, password)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `config::crypto::CryptoService::hash_password::{closure#0}::TRACING_INSTRUMENT_WARNING`: found unrecognized input, expected one of: `name`, string literal, `target`, `parent`, `follows_from`, `level`, `skip`, `skip_all`, `fields`, `err`, `ret`, `,` [INFO] [stdout] --> src/config/crypto.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | #[instrument(self, password)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/config/crypto.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | #[instrument(self, password)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/handlers/auth.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | (Ok(bearer), Ok(repo), Ok(crypto_service)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/handlers/auth.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | (Ok(bearer), Ok(repo), Ok(crypto_service)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `rustAuthServer` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `rust_auth_server` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cryptoService` should have a snake case name [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let cryptoService = config.crypto_service(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `crypto_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `rustAuthServer` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `rust_auth_server` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cryptoService` should have a snake case name [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let cryptoService = config.crypto_service(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `crypto_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 44.51s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.6, nom v4.2.3, nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "0843679bd6a288e31e402d2da26bf2f95b1a4e7a7a2e80cd17b43325e972260a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0843679bd6a288e31e402d2da26bf2f95b1a4e7a7a2e80cd17b43325e972260a", kill_on_drop: false }` [INFO] [stdout] 0843679bd6a288e31e402d2da26bf2f95b1a4e7a7a2e80cd17b43325e972260a