[INFO] cloning repository https://github.com/Oinosseus/sslo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Oinosseus/sslo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOinosseus%2Fsslo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOinosseus%2Fsslo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e19603790cd84f08a257895d1437b1cac77dff0 [INFO] testing Oinosseus/sslo against master#552a959051cebf8f88a8f558399baf733bec9ce0 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOinosseus%2Fsslo" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Oinosseus/sslo on toolchain 552a959051cebf8f88a8f558399baf733bec9ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Oinosseus/sslo [INFO] finished tweaking git repo https://github.com/Oinosseus/sslo [INFO] tweaked toml for git repo https://github.com/Oinosseus/sslo written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Oinosseus/sslo 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" "+552a959051cebf8f88a8f558399baf733bec9ce0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror v1.0.67 [INFO] [stderr] Downloaded mirai-annotations v1.12.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.67 [INFO] [stderr] Downloaded aws-lc-rs v1.10.0 [INFO] [stderr] Downloaded lettre v0.11.10 [INFO] [stderr] Downloaded aws-lc-sys v0.22.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92495529a876a9a192d045673a41efa9cb8413869f3a4e4eb0a56b442f533434 [INFO] running `Command { std: "docker" "start" "-a" "92495529a876a9a192d045673a41efa9cb8413869f3a4e4eb0a56b442f533434", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92495529a876a9a192d045673a41efa9cb8413869f3a4e4eb0a56b442f533434", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92495529a876a9a192d045673a41efa9cb8413869f3a4e4eb0a56b442f533434", kill_on_drop: false }` [INFO] [stdout] 92495529a876a9a192d045673a41efa9cb8413869f3a4e4eb0a56b442f533434 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2dfa7fbfec71e01962f7fa11da4ebbd7ab6da3213365ec507f7ae5cb6acd4dcb [INFO] running `Command { std: "docker" "start" "-a" "2dfa7fbfec71e01962f7fa11da4ebbd7ab6da3213365ec507f7ae5cb6acd4dcb", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling aws-lc-rs v1.10.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling thiserror v1.0.67 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling mirai-annotations v1.12.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling rustix v0.38.38 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling rustls v0.23.16 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling cc v1.1.34 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling shellexpand v3.1.0 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling rust-embed-utils v8.5.0 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling blake2b_simd v1.0.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling anstream v0.6.17 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling hostname v0.4.0 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling aws-lc-sys v0.22.0 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling psm v0.1.23 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Compiling rust-argon2 v2.1.0 [INFO] [stderr] Compiling clap_builder v4.5.20 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling email-encoding v0.3.0 [INFO] [stderr] Compiling quoted_printable v0.5.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.67 [INFO] [stderr] Compiling tokio v1.41.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling rust-embed-impl v8.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling rust-embed v8.5.0 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling chumsky v0.9.3 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling clap v4.5.20 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling tower v0.5.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna v1.0.2 [INFO] [stderr] Compiling sqlx-core v0.8.2 [INFO] [stderr] Compiling lettre v0.11.10 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling sqlx-sqlite v0.8.2 [INFO] [stderr] Compiling hyper v1.5.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling axum v0.7.7 [INFO] [stderr] Compiling axum-server v0.7.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.2 [INFO] [stderr] Compiling sqlx-macros v0.8.2 [INFO] [stderr] Compiling sqlx v0.8.2 [INFO] [stderr] Compiling sslo_lib v0.1.0 (/opt/rustwide/workdir/sslo_lib) [INFO] [stderr] Compiling sslo_central v0.1.0 (/opt/rustwide/workdir/sslo_central) [INFO] [stderr] Compiling sslo_league v0.1.0 (/opt/rustwide/workdir/sslo_league) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> sslo_league/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> sslo_league/src/main.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{error, Level, Record}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `REFRESH` [INFO] [stdout] --> sslo_league/src/http/routes_rest_v0/login_email.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::http::header::{REFRESH, SET_COOKIE}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::RngCore` [INFO] [stdout] --> sslo_league/src/http/routes_rest_v0/user.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::RngCore; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> sslo_league/src/db/members/cookie_logins.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_state` [INFO] [stdout] --> sslo_league/src/http/routes_html/login.rs:185:35 [INFO] [stdout] | [INFO] [stdout] 185 | pub async fn handler_logout(State(app_state): State, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cookie_value` is never read [INFO] [stdout] --> sslo_league/src/http/routes_html/login.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let mut cookie_value: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_state` [INFO] [stdout] --> sslo_league/src/http/routes_html/user.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn handler_settings(State(app_state): State, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> sslo_league/src/http/routes_html/user.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | ... OriginalUri(uri): OriginalUri, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_state` [INFO] [stdout] --> sslo_league/src/http/routes_rest_v0/user.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn handler_update_settings(State(app_state): State, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> sslo_league/src/http/routes_rest_v0/user.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> sslo_league/src/db/members/users.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> sslo_league/src/db/members/users.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `process_duration` [INFO] [stdout] --> sslo_league/src/db/members/cookie_logins.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let process_duration = std::time::Instant::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `user` is never used [INFO] [stdout] --> sslo_league/src/http/http_user.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl HttpUser { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn user(&self) -> Option<&crate::db::members::users::User> { self.user.as_ref()} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cookie_login_from_id` and `user_from_id` are never used [INFO] [stdout] --> sslo_league/src/db/members.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl DbMembers { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub async fn cookie_login_from_id(&self, rowid: i64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub async fn user_from_id(&self, rowid: i64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `email`, `password_last_usage`, and `password_last_user_agent` are never read [INFO] [stdout] --> sslo_league/src/db/members/users.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 9 | struct DbRow { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub email: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub password_last_usage: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | pub password_last_user_agent: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_password` is never used [INFO] [stdout] --> sslo_league/src/db/members/users.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl User { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn has_password(&self) -> bool { self.db_row.password.is_some() } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user`, `creation`, and `last_user_agent` are never read [INFO] [stdout] --> sslo_league/src/db/members/cookie_logins.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | struct DbRow { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | pub rowid: i64, [INFO] [stdout] 11 | pub user: i64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub token: String, [INFO] [stdout] 13 | pub creation: DateTime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | pub last_user_agent: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `last_user_agent` is never used [INFO] [stdout] --> sslo_league/src/db/members/cookie_logins.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl CookieLogin { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn last_user_agent(&self) -> Option<&String> { self.row.last_user_agent.as_ref() } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 05s [INFO] running `Command { std: "docker" "inspect" "2dfa7fbfec71e01962f7fa11da4ebbd7ab6da3213365ec507f7ae5cb6acd4dcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dfa7fbfec71e01962f7fa11da4ebbd7ab6da3213365ec507f7ae5cb6acd4dcb", kill_on_drop: false }` [INFO] [stdout] 2dfa7fbfec71e01962f7fa11da4ebbd7ab6da3213365ec507f7ae5cb6acd4dcb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3df94a8bf12fc791211d624b333fa48ce07a26861201b739e8134eb5533ccdf0 [INFO] running `Command { std: "docker" "start" "-a" "3df94a8bf12fc791211d624b333fa48ce07a26861201b739e8134eb5533ccdf0", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling sslo_lib v0.1.0 (/opt/rustwide/workdir/sslo_lib) [INFO] [stderr] Compiling sslo_central v0.1.0 (/opt/rustwide/workdir/sslo_central) [INFO] [stderr] Compiling sslo_league v0.1.0 (/opt/rustwide/workdir/sslo_league) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> sslo_league/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> sslo_league/src/main.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{error, Level, Record}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `REFRESH` [INFO] [stdout] --> sslo_league/src/http/routes_rest_v0/login_email.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::http::header::{REFRESH, SET_COOKIE}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::RngCore` [INFO] [stdout] --> sslo_league/src/http/routes_rest_v0/user.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::RngCore; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> sslo_league/src/db/members/cookie_logins.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_state` [INFO] [stdout] --> sslo_league/src/http/routes_html/login.rs:185:35 [INFO] [stdout] | [INFO] [stdout] 185 | pub async fn handler_logout(State(app_state): State, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cookie_value` is never read [INFO] [stdout] --> sslo_league/src/http/routes_html/login.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let mut cookie_value: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_state` [INFO] [stdout] --> sslo_league/src/http/routes_html/user.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn handler_settings(State(app_state): State, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> sslo_league/src/http/routes_html/user.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | ... OriginalUri(uri): OriginalUri, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_state` [INFO] [stdout] --> sslo_league/src/http/routes_rest_v0/user.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn handler_update_settings(State(app_state): State, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> sslo_league/src/http/routes_rest_v0/user.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> sslo_league/src/db/members/users.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> sslo_league/src/db/members/users.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `process_duration` [INFO] [stdout] --> sslo_league/src/db/members/cookie_logins.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let process_duration = std::time::Instant::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `user` is never used [INFO] [stdout] --> sslo_league/src/http/http_user.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl HttpUser { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn user(&self) -> Option<&crate::db::members::users::User> { self.user.as_ref()} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cookie_login_from_id` and `user_from_id` are never used [INFO] [stdout] --> sslo_league/src/db/members.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl DbMembers { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub async fn cookie_login_from_id(&self, rowid: i64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub async fn user_from_id(&self, rowid: i64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `email`, `password_last_usage`, and `password_last_user_agent` are never read [INFO] [stdout] --> sslo_league/src/db/members/users.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 9 | struct DbRow { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub email: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub password_last_usage: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | pub password_last_user_agent: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_password` is never used [INFO] [stdout] --> sslo_league/src/db/members/users.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl User { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn has_password(&self) -> bool { self.db_row.password.is_some() } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user`, `creation`, and `last_user_agent` are never read [INFO] [stdout] --> sslo_league/src/db/members/cookie_logins.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | struct DbRow { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | pub rowid: i64, [INFO] [stdout] 11 | pub user: i64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub token: String, [INFO] [stdout] 13 | pub creation: DateTime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | pub last_user_agent: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `last_user_agent` is never used [INFO] [stdout] --> sslo_league/src/db/members/cookie_logins.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl CookieLogin { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn last_user_agent(&self) -> Option<&String> { self.row.last_user_agent.as_ref() } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.39s [INFO] running `Command { std: "docker" "inspect" "3df94a8bf12fc791211d624b333fa48ce07a26861201b739e8134eb5533ccdf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3df94a8bf12fc791211d624b333fa48ce07a26861201b739e8134eb5533ccdf0", kill_on_drop: false }` [INFO] [stdout] 3df94a8bf12fc791211d624b333fa48ce07a26861201b739e8134eb5533ccdf0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b3365aaf2d9f53b3ed3c7c180dfe5d2c2021fddaebe22d5bad24eed467deefa8 [INFO] running `Command { std: "docker" "start" "-a" "b3365aaf2d9f53b3ed3c7c180dfe5d2c2021fddaebe22d5bad24eed467deefa8", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> sslo_league/src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `error` [INFO] [stderr] --> sslo_league/src/main.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | use log::{error, Level, Record}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `REFRESH` [INFO] [stderr] --> sslo_league/src/http/routes_rest_v0/login_email.rs:2:26 [INFO] [stderr] | [INFO] [stderr] 2 | use axum::http::header::{REFRESH, SET_COOKIE}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand::RngCore` [INFO] [stderr] --> sslo_league/src/http/routes_rest_v0/user.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use rand::RngCore; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> sslo_league/src/db/members/cookie_logins.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app_state` [INFO] [stderr] --> sslo_league/src/http/routes_html/login.rs:185:35 [INFO] [stderr] | [INFO] [stderr] 185 | pub async fn handler_logout(State(app_state): State, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `cookie_value` is never read [INFO] [stderr] --> sslo_league/src/http/routes_html/login.rs:188:13 [INFO] [stderr] | [INFO] [stderr] 188 | let mut cookie_value: Option = None; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app_state` [INFO] [stderr] --> sslo_league/src/http/routes_html/user.rs:9:37 [INFO] [stderr] | [INFO] [stderr] 9 | pub async fn handler_settings(State(app_state): State, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `uri` [INFO] [stderr] --> sslo_league/src/http/routes_html/user.rs:10:43 [INFO] [stderr] | [INFO] [stderr] 10 | ... OriginalUri(uri): OriginalUri, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app_state` [INFO] [stderr] --> sslo_league/src/http/routes_rest_v0/user.rs:23:44 [INFO] [stderr] | [INFO] [stderr] 23 | pub async fn handler_update_settings(State(app_state): State, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> sslo_league/src/http/routes_rest_v0/user.rs:44:21 [INFO] [stderr] | [INFO] [stderr] 44 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> sslo_league/src/db/members/users.rs:211:21 [INFO] [stderr] | [INFO] [stderr] 211 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> sslo_league/src/db/members/users.rs:226:21 [INFO] [stderr] | [INFO] [stderr] 226 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `process_duration` [INFO] [stderr] --> sslo_league/src/db/members/cookie_logins.rs:114:13 [INFO] [stderr] | [INFO] [stderr] 114 | let process_duration = std::time::Instant::now(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process_duration` [INFO] [stderr] [INFO] [stderr] warning: method `user` is never used [INFO] [stderr] --> sslo_league/src/http/http_user.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl HttpUser { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 38 | pub fn user(&self) -> Option<&crate::db::members::users::User> { self.user.as_ref()} [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `cookie_login_from_id` and `user_from_id` are never used [INFO] [stderr] --> sslo_league/src/db/members.rs:29:18 [INFO] [stderr] | [INFO] [stderr] 14 | impl DbMembers { [INFO] [stderr] | -------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 29 | pub async fn cookie_login_from_id(&self, rowid: i64) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | pub async fn user_from_id(&self, rowid: i64) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `email`, `password_last_usage`, and `password_last_user_agent` are never read [INFO] [stderr] --> sslo_league/src/db/members/users.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 9 | struct DbRow { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 15 | pub email: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 20 | pub password_last_usage: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 21 | pub password_last_user_agent: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `has_password` is never used [INFO] [stderr] --> sslo_league/src/db/members/users.rs:89:12 [INFO] [stderr] | [INFO] [stderr] 30 | impl User { [INFO] [stderr] | --------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 89 | pub fn has_password(&self) -> bool { self.db_row.password.is_some() } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `user`, `creation`, and `last_user_agent` are never read [INFO] [stderr] --> sslo_league/src/db/members/cookie_logins.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 9 | struct DbRow { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 10 | pub rowid: i64, [INFO] [stderr] 11 | pub user: i64, [INFO] [stderr] | ^^^^ [INFO] [stderr] 12 | pub token: String, [INFO] [stderr] 13 | pub creation: DateTime, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 14 | pub last_user_agent: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `last_user_agent` is never used [INFO] [stderr] --> sslo_league/src/db/members/cookie_logins.rs:191:12 [INFO] [stderr] | [INFO] [stderr] 24 | impl CookieLogin { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 191 | pub fn last_user_agent(&self) -> Option<&String> { self.row.last_user_agent.as_ref() } [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `sslo_league` (bin "sslo_league" test) generated 20 warnings (run `cargo fix --bin "sslo_league" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sslo_central-2624e13eb7098593) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sslo_league-80142f8f8e20512f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sslo_lib-d8b285ddddf664b3) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test token::tests::invalid ... ok [INFO] [stdout] test token::tests::normal_function ... ok [INFO] [stdout] test token::tests::manipulation ... ok [INFO] [stdout] test token::tests::time ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.73s [INFO] [stdout] [INFO] [stderr] Doc-tests sslo_lib [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b3365aaf2d9f53b3ed3c7c180dfe5d2c2021fddaebe22d5bad24eed467deefa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3365aaf2d9f53b3ed3c7c180dfe5d2c2021fddaebe22d5bad24eed467deefa8", kill_on_drop: false }` [INFO] [stdout] b3365aaf2d9f53b3ed3c7c180dfe5d2c2021fddaebe22d5bad24eed467deefa8