[INFO] cloning repository https://github.com/MohnishGC/ADVAIK-AUTH-V1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MohnishGC/ADVAIK-AUTH-V1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMohnishGC%2FADVAIK-AUTH-V1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMohnishGC%2FADVAIK-AUTH-V1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45d7921bf75bd687f840b905ab664f21306db485 [INFO] checking MohnishGC/ADVAIK-AUTH-V1 against master#65407954098ca3c19f0d46092cb374b5d3e9dc3c for pr-157841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMohnishGC%2FADVAIK-AUTH-V1" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MohnishGC/ADVAIK-AUTH-V1 [INFO] finished tweaking git repo https://github.com/MohnishGC/ADVAIK-AUTH-V1 [INFO] tweaked toml for git repo https://github.com/MohnishGC/ADVAIK-AUTH-V1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MohnishGC/ADVAIK-AUTH-V1 on toolchain 65407954098ca3c19f0d46092cb374b5d3e9dc3c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65407954098ca3c19f0d46092cb374b5d3e9dc3c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MohnishGC/ADVAIK-AUTH-V1 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" "+65407954098ca3c19f0d46092cb374b5d3e9dc3c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pretty-hex v0.3.0 [INFO] [stderr] Downloaded connection-string v0.2.0 [INFO] [stderr] Downloaded md5 v0.6.1 [INFO] [stderr] Downloaded tiberius v0.12.3 [INFO] [stderr] Downloaded winauth v0.0.4 [INFO] [stderr] Downloaded crc16 v0.4.0 [INFO] [stderr] Downloaded mongodb-internal-macros v3.6.0 [INFO] [stderr] Downloaded typed-builder v0.22.0 [INFO] [stderr] Downloaded async-native-tls v0.4.0 [INFO] [stderr] Downloaded typed-builder-macro v0.22.0 [INFO] [stderr] Downloaded serde_with_macros v3.19.0 [INFO] [stderr] Downloaded mongocrypt v0.3.2 [INFO] [stderr] Downloaded mongocrypt-sys v0.1.5+1.15.1 [INFO] [stderr] Downloaded serde_yaml_ng v0.10.0 [INFO] [stderr] Downloaded ipconfig v0.3.4 [INFO] [stderr] Downloaded openssl-sys v0.9.113 [INFO] [stderr] Downloaded derive-where v1.6.1 [INFO] [stderr] Downloaded inout v0.2.2 [INFO] [stderr] Downloaded bcrypt v0.19.1 [INFO] [stderr] Downloaded bb8-tiberius v0.16.0 [INFO] [stderr] Downloaded config v0.13.4 [INFO] [stderr] Downloaded blowfish v0.10.0 [INFO] [stderr] Downloaded cipher v0.5.1 [INFO] [stderr] Downloaded bb8-mongodb v1.3.0 [INFO] [stderr] Downloaded bson v2.15.0 [INFO] [stderr] Downloaded bb8 v0.9.1 [INFO] [stderr] Downloaded redis v0.24.0 [INFO] [stderr] Downloaded serde_with v3.19.0 [INFO] [stderr] Downloaded openssl v0.10.77 [INFO] [stderr] Downloaded mongodb v3.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] bbcabaddfcfebf2f280f139d5ffd301491d49b67b5fcb9a09f0927e90d415a6d [INFO] running `Command { std: "docker" "start" "bbcabaddfcfebf2f280f139d5ffd301491d49b67b5fcb9a09f0927e90d415a6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bbcabaddfcfebf2f280f139d5ffd301491d49b67b5fcb9a09f0927e90d415a6d" "/opt/rustwide/cargo-home/bin/cargo" "+65407954098ca3c19f0d46092cb374b5d3e9dc3c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbcabaddfcfebf2f280f139d5ffd301491d49b67b5fcb9a09f0927e90d415a6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bbcabaddfcfebf2f280f139d5ffd301491d49b67b5fcb9a09f0927e90d415a6d" "/opt/rustwide/cargo-home/bin/cargo" "+65407954098ca3c19f0d46092cb374b5d3e9dc3c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking critical-section v1.2.0 [INFO] [stderr] Checking typenum v1.20.0 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Checking tokio v1.51.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Checking base64ct v1.8.3 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling openssl-sys v0.9.113 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling unicode-segmentation v1.13.2 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling tinyvec v1.11.0 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Checking uuid v1.23.0 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling openssl v0.10.77 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling pest v2.8.6 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking rand v0.9.3 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking hybrid-array v0.4.11 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling rustls v0.23.40 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking ahash v0.7.8 [INFO] [stderr] Compiling pest_meta v2.8.6 [INFO] [stderr] Checking radium v0.7.0 [INFO] [stderr] Checking rustls-webpki v0.103.13 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking ipnet v2.12.0 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Checking data-encoding v2.10.0 [INFO] [stderr] Checking tagptr v0.2.0 [INFO] [stderr] Checking semver v1.0.28 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling rsa v0.9.10 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Checking hickory-proto v0.25.2 [INFO] [stderr] Compiling pest_generator v2.8.6 [INFO] [stderr] Checking rustc_version v0.4.1 [INFO] [stderr] Checking moka v0.12.15 [INFO] [stderr] Compiling serde_with_macros v3.19.0 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking crypto-common v0.2.1 [INFO] [stderr] Checking inout v0.2.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling typed-builder-macro v0.22.0 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Checking serde_bytes v0.11.19 [INFO] [stderr] Checking dlv-list v0.3.0 [INFO] [stderr] Compiling crc16 v0.4.0 [INFO] [stderr] Checking resolv-conf v0.7.6 [INFO] [stderr] Checking cipher v0.5.1 [INFO] [stderr] Checking ordered-multimap v0.4.3 [INFO] [stderr] Checking hyper v1.9.0 [INFO] [stderr] Checking serde_with v3.19.0 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Compiling pest_derive v2.8.6 [INFO] [stderr] Compiling mongodb-internal-macros v3.6.0 [INFO] [stderr] Compiling bb8-mongodb v1.3.0 [INFO] [stderr] Checking bb8 v0.9.1 [INFO] [stderr] Checking asynchronous-codec v0.6.2 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling derive-where v1.6.1 [INFO] [stderr] Checking connection-string v0.2.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking pretty-hex v0.3.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking ron v0.7.1 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking async-native-tls v0.4.0 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking typed-builder v0.22.0 [INFO] [stderr] Checking rust-ini v0.18.0 [INFO] [stderr] Checking blowfish v0.10.0 [INFO] [stderr] Checking bson v2.15.0 [INFO] [stderr] Checking tiberius v0.12.3 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking hickory-resolver v0.25.2 [INFO] [stderr] Checking pem v3.0.6 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking simple_asn1 v0.6.4 [INFO] [stderr] Compiling sqlx-mysql v0.7.4 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking ed25519-dalek v2.2.0 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking bcrypt v0.19.1 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking config v0.13.4 [INFO] [stderr] Checking serde_yaml_ng v0.10.0 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking mongodb v3.6.0 [INFO] [stderr] Checking bb8-tiberius v0.16.0 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking redis v0.24.0 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking advaik-auth-v1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tiberius::Query` [INFO] [stdout] --> src/repository/mssql.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tiberius::Query; [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: `bb8_mongodb::MongodbConnectionManager` [INFO] [stdout] --> src/repository/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use bb8_mongodb::MongodbConnectionManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/services/session.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tiberius::Query` [INFO] [stdout] --> src/repository/mssql.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tiberius::Query; [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: `bb8_mongodb::MongodbConnectionManager` [INFO] [stdout] --> src/repository/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use bb8_mongodb::MongodbConnectionManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/services/session.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/repository/mod.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let mut client_options = [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: variable does not need to be mutable [INFO] [stdout] --> src/repository/mod.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let mut client_options = [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: variants `MappingError`, `DatabaseError`, `TokenExpired`, `LicenseExpired`, and `MaintenanceMode` are never constructed [INFO] [stdout] --> src/error.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum AdvaikError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | MappingError, // New: Error converting DB data to Rust struct [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | DatabaseError, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | TokenExpired, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | LicenseExpired, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | MaintenanceMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdvaikError` 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 `database_name` is never read [INFO] [stdout] --> src/repository/mongo.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct MongoStore { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | database_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_valid` is never used [INFO] [stdout] --> src/services/session.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl SessionService { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub async fn is_valid(&mut self, user_id: &str, token: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/handlers.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | / pbkdf2::pbkdf2::>( [INFO] [stdout] 86 | | payload.password.as_bytes(), [INFO] [stdout] 87 | | salt.as_bytes(), [INFO] [stdout] 88 | | 100_000, [INFO] [stdout] 89 | | &mut output_buffer, [INFO] [stdout] 90 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 85 | let _ = pbkdf2::pbkdf2::>( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/handlers.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | / session_guard [INFO] [stdout] 129 | | .create_session(&user.user_id, &new_token, expiry) [INFO] [stdout] 130 | | .await; [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 128 | let _ = session_guard [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MappingError`, `DatabaseError`, `TokenExpired`, `LicenseExpired`, and `MaintenanceMode` are never constructed [INFO] [stdout] --> src/error.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum AdvaikError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | MappingError, // New: Error converting DB data to Rust struct [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | DatabaseError, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | TokenExpired, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | LicenseExpired, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | MaintenanceMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdvaikError` 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 `database_name` is never read [INFO] [stdout] --> src/repository/mongo.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct MongoStore { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | database_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_valid` is never used [INFO] [stdout] --> src/services/session.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl SessionService { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub async fn is_valid(&mut self, user_id: &str, token: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/handlers.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | / pbkdf2::pbkdf2::>( [INFO] [stdout] 86 | | payload.password.as_bytes(), [INFO] [stdout] 87 | | salt.as_bytes(), [INFO] [stdout] 88 | | 100_000, [INFO] [stdout] 89 | | &mut output_buffer, [INFO] [stdout] 90 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 85 | let _ = pbkdf2::pbkdf2::>( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/handlers.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | / session_guard [INFO] [stdout] 129 | | .create_session(&user.user_id, &new_token, expiry) [INFO] [stdout] 130 | | .await; [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 128 | let _ = session_guard [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.24.0, sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "bbcabaddfcfebf2f280f139d5ffd301491d49b67b5fcb9a09f0927e90d415a6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbcabaddfcfebf2f280f139d5ffd301491d49b67b5fcb9a09f0927e90d415a6d", kill_on_drop: false }` [INFO] [stdout] bbcabaddfcfebf2f280f139d5ffd301491d49b67b5fcb9a09f0927e90d415a6d