[INFO] cloning repository https://github.com/gnist-dev/bibliotheca [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gnist-dev/bibliotheca" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgnist-dev%2Fbibliotheca"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgnist-dev%2Fbibliotheca'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] bfb679db2070b0853a5fba2f3ed8025e01be7b69 [INFO] testing gnist-dev/bibliotheca against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgnist-dev%2Fbibliotheca" "/workspace/builds/worker-1-tc2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gnist-dev/bibliotheca [INFO] finished tweaking git repo https://github.com/gnist-dev/bibliotheca [INFO] tweaked toml for git repo https://github.com/gnist-dev/bibliotheca written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gnist-dev/bibliotheca on toolchain 1.101.0-beta.1 [INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"` [INFO] crate git repo https://github.com/gnist-dev/bibliotheca already has a lockfile, it will not be regenerated [INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"` [INFO] [stdout] b9f7731d40a22b05a505f4dd0672a322aa1f10d34a7667726aab3bdb16ad832b [INFO] running `"docker" "start" "b9f7731d40a22b05a505f4dd0672a322aa1f10d34a7667726aab3bdb16ad832b"` [INFO] running `"docker" "inspect" "b9f7731d40a22b05a505f4dd0672a322aa1f10d34a7667726aab3bdb16ad832b"` [INFO] running `"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" "b9f7731d40a22b05a505f4dd0672a322aa1f10d34a7667726aab3bdb16ad832b" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"` [INFO] running `"docker" "inspect" "b9f7731d40a22b05a505f4dd0672a322aa1f10d34a7667726aab3bdb16ad832b"` [INFO] running `"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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b9f7731d40a22b05a505f4dd0672a322aa1f10d34a7667726aab3bdb16ad832b" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"` [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling typenum v1.20.0 [INFO] [stderr] Compiling tokio v1.52.1 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Compiling openssl v0.10.78 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling axum-macros v0.5.1 [INFO] [stderr] Compiling base64ct v1.8.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling winnow v1.0.2 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling toml_parser v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling email-encoding v0.4.1 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling openssl-sys v0.9.114 [INFO] [stderr] Compiling toml_writer v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling quoted_printable v0.5.2 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling memo-map v0.3.3 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling serde_spanned v1.1.1 [INFO] [stderr] Compiling serde_html_form v0.2.8 [INFO] [stderr] Compiling toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling toml v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling minijinja v2.19.0 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling hyper v1.9.0 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling axum v0.8.9 [INFO] [stderr] Compiling lettre v0.11.21 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling axum-extra v0.12.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling bibliotheca v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated module `std::u8`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/auth.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::u8; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u8::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/auth.rs:211:24 [INFO] [stdout] | [INFO] [stdout] 211 | let max = (u8::MAX / CHARSET.len() as u8) * CHARSET.len() as u8; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/db.rs:620:17 [INFO] [stdout] | [INFO] [stdout] 619 | _ => Err(DbError::FailedToUpdateRow), [INFO] [stdout] | - matches any value [INFO] [stdout] 620 | Error::Database(db_err) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/interop/email.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | Err(e) => Err(MailError::NoMailSent), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/handlers/library.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/db.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | DatabaseError(String), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DbError` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - DatabaseError(String), [INFO] [stdout] 17 + DatabaseError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TableCheck` is never constructed [INFO] [stdout] --> src/db.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum DbError { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | TableCheck, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DbError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_user` and `is_first_login` are never used [INFO] [stdout] --> src/db.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 32 | impl Db { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn add_user( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 490 | pub async fn is_first_login(&self, user_id: &u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `user_id`, and `session_id` are never read [INFO] [stdout] --> src/auth.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Session { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 36 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 37 | pub user_id: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | pub session_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/interop/email.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl MailSender { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 22 | pub fn new(server: String, user: String, password: String, admin_mail: String) -> MailSender { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 3m 15s [INFO] running `"docker" "inspect" "b9f7731d40a22b05a505f4dd0672a322aa1f10d34a7667726aab3bdb16ad832b"` [INFO] running `"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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b9f7731d40a22b05a505f4dd0672a322aa1f10d34a7667726aab3bdb16ad832b" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"` [INFO] [stderr] Compiling bibliotheca v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated module `std::u8`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/auth.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::u8; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u8::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/auth.rs:211:24 [INFO] [stdout] | [INFO] [stdout] 211 | let max = (u8::MAX / CHARSET.len() as u8) * CHARSET.len() as u8; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/db.rs:620:17 [INFO] [stdout] | [INFO] [stdout] 619 | _ => Err(DbError::FailedToUpdateRow), [INFO] [stdout] | - matches any value [INFO] [stdout] 620 | Error::Database(db_err) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/interop/email.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | Err(e) => Err(MailError::NoMailSent), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/handlers/library.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TableCheck` is never constructed [INFO] [stdout] --> src/db.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum DbError { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | TableCheck, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DbError` 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: method `is_first_login` is never used [INFO] [stdout] --> src/db.rs:490:18 [INFO] [stdout] | [INFO] [stdout] 32 | impl Db { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 490 | pub async fn is_first_login(&self, user_id: &u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `user_id`, and `session_id` are never read [INFO] [stdout] --> src/auth.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Session { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 36 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 37 | pub user_id: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | pub session_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/interop/email.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl MailSender { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 22 | pub fn new(server: String, user: String, password: String, admin_mail: String) -> MailSender { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 6.92s [INFO] running `"docker" "inspect" "b9f7731d40a22b05a505f4dd0672a322aa1f10d34a7667726aab3bdb16ad832b"` [INFO] running `"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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b9f7731d40a22b05a505f4dd0672a322aa1f10d34a7667726aab3bdb16ad832b" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"` [INFO] [stderr] warning: use of deprecated module `std::u8`: all constants in this module replaced by associated constants on the type [INFO] [stderr] --> src/auth.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | use std::u8; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::u8::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stderr] --> src/auth.rs:211:24 [INFO] [stderr] | [INFO] [stderr] 211 | let max = (u8::MAX / CHARSET.len() as u8) * CHARSET.len() as u8; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/db.rs:620:17 [INFO] [stderr] | [INFO] [stderr] 619 | _ => Err(DbError::FailedToUpdateRow), [INFO] [stderr] | - matches any value [INFO] [stderr] 620 | Error::Database(db_err) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/interop/email.rs:43:17 [INFO] [stderr] | [INFO] [stderr] 43 | Err(e) => Err(MailError::NoMailSent), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/handlers/library.rs:289:13 [INFO] [stderr] | [INFO] [stderr] 289 | Err(err) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] [INFO] [stderr] warning: variant `TableCheck` is never constructed [INFO] [stderr] --> src/db.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub enum DbError { [INFO] [stderr] | ------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 12 | TableCheck, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DbError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `is_first_login` is never used [INFO] [stderr] --> src/db.rs:490:18 [INFO] [stderr] | [INFO] [stderr] 32 | impl Db { [INFO] [stderr] | ------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 490 | pub async fn is_first_login(&self, user_id: &u32) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `user_id`, and `session_id` are never read [INFO] [stderr] --> src/auth.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 35 | pub struct Session { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 36 | pub id: u32, [INFO] [stderr] | ^^ [INFO] [stderr] 37 | pub user_id: u32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 38 | pub session_id: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/interop/email.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 21 | impl MailSender { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] 22 | pub fn new(server: String, user: String, password: String, admin_mail: String) -> MailSender { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `bibliotheca` (bin "bibliotheca" test) generated 9 warnings (run `cargo fix --bin "bibliotheca" -p bibliotheca --tests` to apply 2 suggestions) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.25s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/build/bibliotheca/4cfb57b006a36426/out/bibliotheca-4cfb57b006a36426) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test utils::tests::time ... ok [INFO] [stdout] test utils::tests::expiration_logic ... FAILED [INFO] [stdout] test utils::tests::setup ... FAILED [INFO] [stdout] test utils::tests::borrow ... FAILED [INFO] [stdout] test utils::tests::invite_user ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- utils::tests::expiration_logic stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'utils::tests::expiration_logic' (1569) panicked at src/utils/tests.rs:115:5: [INFO] [stdout] assertion failed: !date::is_expired(future.to_string()).expect("testing") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58e15213f271 - <::print::DisplayBacktrace as core[5c14b8d5a259cc4e]::fmt::Display>::fmt [INFO] [stdout] 1: 0x58e15215441a - core[5c14b8d5a259cc4e]::fmt::write [INFO] [stdout] 2: 0x58e15214382c - as core[5c14b8d5a259cc4e]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x58e15211b6d6 - std[218a0f7bb9a8af32]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x58e1521373f9 - std[218a0f7bb9a8af32]::panicking::default_hook [INFO] [stdout] 5: 0x58e151ebe330 - test[2df5162924bba3e2]::test_main_inner::{closure#0} [INFO] [stdout] 6: 0x58e152137722 - std[218a0f7bb9a8af32]::panicking::panic_with_hook [INFO] [stdout] 7: 0x58e15211b7b4 - std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x58e1521140b9 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x58e15211c38d - __rustc[abc93889656912e2]::rust_begin_unwind [INFO] [stdout] 10: 0x58e15215517c - core[5c14b8d5a259cc4e]::panicking::panic_fmt [INFO] [stdout] 11: 0x58e152155142 - core[5c14b8d5a259cc4e]::panicking::panic [INFO] [stderr] error: test failed, to rerun pass `--bin bibliotheca` [INFO] [stdout] 12: 0x58e151e81e77 - >::call_once [INFO] [stdout] 13: 0x58e151eb119b - test[2df5162924bba3e2]::__rust_begin_short_backtrace::, fn() -> core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>> [INFO] [stdout] 14: 0x58e151ebe955 - test[2df5162924bba3e2]::run_test::{closure#0} [INFO] [stdout] 15: 0x58e151eb7da4 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 16: 0x58e151ec18e2 - ::{closure#1} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 17: 0x58e15213eacf - ::new::thread_start [INFO] [stdout] 18: 0x702c8c3dadfa - [INFO] [stdout] 19: 0x702c8c46e3d4 - clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- utils::tests::setup stdout ---- [INFO] [stdout] failed to connect to db and start db_pool due to: error returned from database: (code: 14) unable to open database file [INFO] [stdout] [INFO] [stdout] thread 'utils::tests::setup' (1571) panicked at src/utils/tests.rs:6:45: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: DbPool [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58e15213f271 - <::print::DisplayBacktrace as core[5c14b8d5a259cc4e]::fmt::Display>::fmt [INFO] [stdout] 1: 0x58e15215441a - core[5c14b8d5a259cc4e]::fmt::write [INFO] [stdout] 2: 0x58e15214382c - as core[5c14b8d5a259cc4e]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x58e15211b6d6 - std[218a0f7bb9a8af32]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x58e1521373f9 - std[218a0f7bb9a8af32]::panicking::default_hook [INFO] [stdout] 5: 0x58e151ebe330 - test[2df5162924bba3e2]::test_main_inner::{closure#0} [INFO] [stdout] 6: 0x58e152137722 - std[218a0f7bb9a8af32]::panicking::panic_with_hook [INFO] [stdout] 7: 0x58e15211b782 - std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x58e1521140b9 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x58e15211c38d - __rustc[abc93889656912e2]::rust_begin_unwind [INFO] [stdout] 10: 0x58e15215517c - core[5c14b8d5a259cc4e]::panicking::panic_fmt [INFO] [stdout] 11: 0x58e1521595a2 - core[5c14b8d5a259cc4e]::result::unwrap_failed::unwrap_failed_inner [INFO] [stdout] 12: 0x58e151eb03e4 - core[5c14b8d5a259cc4e]::result::unwrap_failed:: [INFO] [stdout] 13: 0x58e151e80faf - bibliotheca[5d75cd22ba21d295]::utils::tests::setup::{closure#0} [INFO] [stdout] 14: 0x58e151ea9a33 - ::enter::, ::block_on>>>::{closure#0}::{closure#0}> [INFO] [stdout] 15: 0x58e151ea1659 - >::with::, core[5c14b8d5a259cc4e]::option::Option<()>), ::enter<::block_on>>>::{closure#0}, core[5c14b8d5a259cc4e]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[f65cf102c2e86268]::boxed::Box, core[5c14b8d5a259cc4e]::option::Option<()>)> [INFO] [stdout] 16: 0x58e151ea9314 - ::block_on::>> [INFO] [stdout] 17: 0x58e151e8205e - >::call_once [INFO] [stdout] 18: 0x58e151eb119b - test[2df5162924bba3e2]::__rust_begin_short_backtrace::, fn() -> core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>> [INFO] [stdout] 19: 0x58e151ebe955 - test[2df5162924bba3e2]::run_test::{closure#0} [INFO] [stdout] 20: 0x58e151eb7da4 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 21: 0x58e151ec18e2 - ::{closure#1} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 22: 0x58e15213eacf - ::new::thread_start [INFO] [stdout] 23: 0x702c8c3dadfa - [INFO] [stdout] 24: 0x702c8c46e3d4 - clone [INFO] [stdout] 25: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- utils::tests::borrow stdout ---- [INFO] [stdout] failed to connect to db and start db_pool due to: error returned from database: (code: 14) unable to open database file [INFO] [stdout] [INFO] [stdout] thread 'utils::tests::borrow' (1568) panicked at src/utils/tests.rs:75:45: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: DbPool [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58e15213f271 - <::print::DisplayBacktrace as core[5c14b8d5a259cc4e]::fmt::Display>::fmt [INFO] [stdout] 1: 0x58e15215441a - core[5c14b8d5a259cc4e]::fmt::write [INFO] [stdout] 2: 0x58e15214382c - as core[5c14b8d5a259cc4e]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x58e15211b6d6 - std[218a0f7bb9a8af32]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x58e1521373f9 - std[218a0f7bb9a8af32]::panicking::default_hook [INFO] [stdout] 5: 0x58e151ebe330 - test[2df5162924bba3e2]::test_main_inner::{closure#0} [INFO] [stdout] 6: 0x58e152137722 - std[218a0f7bb9a8af32]::panicking::panic_with_hook [INFO] [stdout] 7: 0x58e15211b782 - std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x58e1521140b9 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x58e15211c38d - __rustc[abc93889656912e2]::rust_begin_unwind [INFO] [stdout] 10: 0x58e15215517c - core[5c14b8d5a259cc4e]::panicking::panic_fmt [INFO] [stdout] 11: 0x58e1521595a2 - core[5c14b8d5a259cc4e]::result::unwrap_failed::unwrap_failed_inner [INFO] [stdout] 12: 0x58e151eb03e4 - core[5c14b8d5a259cc4e]::result::unwrap_failed:: [INFO] [stdout] 13: 0x58e151e81714 - bibliotheca[5d75cd22ba21d295]::utils::tests::borrow::{closure#0} [INFO] [stdout] 14: 0x58e151ea9a33 - ::enter::, ::block_on>>>::{closure#0}::{closure#0}> [INFO] [stdout] 15: 0x58e151ea1659 - >::with::, core[5c14b8d5a259cc4e]::option::Option<()>), ::enter<::block_on>>>::{closure#0}, core[5c14b8d5a259cc4e]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[f65cf102c2e86268]::boxed::Box, core[5c14b8d5a259cc4e]::option::Option<()>)> [INFO] [stdout] 16: 0x58e151ea9314 - ::block_on::>> [INFO] [stdout] 17: 0x58e151e8218e - >::call_once [INFO] [stdout] 18: 0x58e151eb119b - test[2df5162924bba3e2]::__rust_begin_short_backtrace::, fn() -> core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>> [INFO] [stdout] 19: 0x58e151ebe955 - test[2df5162924bba3e2]::run_test::{closure#0} [INFO] [stdout] 20: 0x58e151eb7da4 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 21: 0x58e151ec18e2 - ::{closure#1} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 22: 0x58e15213eacf - ::new::thread_start [INFO] [stdout] 23: 0x702c8c3dadfa - [INFO] [stdout] 24: 0x702c8c46e3d4 - clone [INFO] [stdout] 25: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- utils::tests::invite_user stdout ---- [INFO] [stdout] failed to connect to db and start db_pool due to: error returned from database: (code: 14) unable to open database file [INFO] [stdout] [INFO] [stdout] thread 'utils::tests::invite_user' (1570) panicked at src/utils/tests.rs:122:45: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: DbPool [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58e15213f271 - <::print::DisplayBacktrace as core[5c14b8d5a259cc4e]::fmt::Display>::fmt [INFO] [stdout] 1: 0x58e15215441a - core[5c14b8d5a259cc4e]::fmt::write [INFO] [stdout] 2: 0x58e15214382c - as core[5c14b8d5a259cc4e]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x58e15211b6d6 - std[218a0f7bb9a8af32]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x58e1521373f9 - std[218a0f7bb9a8af32]::panicking::default_hook [INFO] [stdout] 5: 0x58e151ebe330 - test[2df5162924bba3e2]::test_main_inner::{closure#0} [INFO] [stdout] 6: 0x58e152137722 - std[218a0f7bb9a8af32]::panicking::panic_with_hook [INFO] [stdout] 7: 0x58e15211b782 - std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x58e1521140b9 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x58e15211c38d - __rustc[abc93889656912e2]::rust_begin_unwind [INFO] [stdout] 10: 0x58e15215517c - core[5c14b8d5a259cc4e]::panicking::panic_fmt [INFO] [stdout] 11: 0x58e1521595a2 - core[5c14b8d5a259cc4e]::result::unwrap_failed::unwrap_failed_inner [INFO] [stdout] 12: 0x58e151eb03e4 - core[5c14b8d5a259cc4e]::result::unwrap_failed:: [INFO] [stdout] 13: 0x58e151e80251 - bibliotheca[5d75cd22ba21d295]::utils::tests::invite_user::{closure#0} [INFO] [stdout] 14: 0x58e151ea9a33 - ::enter::, ::block_on>>>::{closure#0}::{closure#0}> [INFO] [stdout] 15: 0x58e151ea1659 - >::with::, core[5c14b8d5a259cc4e]::option::Option<()>), ::enter<::block_on>>>::{closure#0}, core[5c14b8d5a259cc4e]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[f65cf102c2e86268]::boxed::Box, core[5c14b8d5a259cc4e]::option::Option<()>)> [INFO] [stdout] 16: 0x58e151ea9314 - ::block_on::>> [INFO] [stdout] 17: 0x58e151e81b1e - >::call_once [INFO] [stdout] 18: 0x58e151eb119b - test[2df5162924bba3e2]::__rust_begin_short_backtrace::, fn() -> core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>> [INFO] [stdout] 19: 0x58e151ebe955 - test[2df5162924bba3e2]::run_test::{closure#0} [INFO] [stdout] 20: 0x58e151eb7da4 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 21: 0x58e151ec18e2 - ::{closure#1} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 22: 0x58e15213eacf - ::new::thread_start [INFO] [stdout] 23: 0x702c8c3dadfa - [INFO] [stdout] 24: 0x702c8c46e3d4 - clone [INFO] [stdout] 25: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] utils::tests::borrow [INFO] [stdout] utils::tests::expiration_logic [INFO] [stdout] utils::tests::invite_user [INFO] [stdout] utils::tests::setup [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `"docker" "inspect" "b9f7731d40a22b05a505f4dd0672a322aa1f10d34a7667726aab3bdb16ad832b"` [INFO] running `"docker" "rm" "-f" "b9f7731d40a22b05a505f4dd0672a322aa1f10d34a7667726aab3bdb16ad832b"` [INFO] [stdout] b9f7731d40a22b05a505f4dd0672a322aa1f10d34a7667726aab3bdb16ad832b