[INFO] cloning repository https://github.com/gnist-dev/bibliotheca [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgnist-dev%2Fbibliotheca'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bfb679db2070b0853a5fba2f3ed8025e01be7b69 [INFO] checking gnist-dev/bibliotheca/bfb679db2070b0853a5fba2f3ed8025e01be7b69 against da86f4d0726be475afbbffe40cb2f65741c51ad3 for pr-159877 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgnist-dev%2Fbibliotheca" "/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/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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gnist-dev/bibliotheca on toolchain da86f4d0726be475afbbffe40cb2f65741c51ad3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gnist-dev/bibliotheca 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" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lettre v0.11.21 [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:1fa6594d87c8fa7b311925a7a77a16f539833322d9dfba4ce891f211db2f90b1" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] dd045738af029e4b4ebb5cffcc4527e21233f40c9e6ae87f0fd6d95ae5aa975d [INFO] running `Command { std: "docker" "start" "dd045738af029e4b4ebb5cffcc4527e21233f40c9e6ae87f0fd6d95ae5aa975d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd045738af029e4b4ebb5cffcc4527e21233f40c9e6ae87f0fd6d95ae5aa975d", 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" "dd045738af029e4b4ebb5cffcc4527e21233f40c9e6ae87f0fd6d95ae5aa975d" "/opt/rustwide/cargo-home/bin/cargo" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd045738af029e4b4ebb5cffcc4527e21233f40c9e6ae87f0fd6d95ae5aa975d", 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" "dd045738af029e4b4ebb5cffcc4527e21233f40c9e6ae87f0fd6d95ae5aa975d" "/opt/rustwide/cargo-home/bin/cargo" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Checking mio v1.2.0 [INFO] [stderr] Compiling libc v0.2.185 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling typenum v1.20.0 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking tokio v1.52.1 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling openssl-sys v0.9.114 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Checking hashbrown v0.17.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Checking icu_provider v2.2.0 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking icu_properties v2.2.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Checking bitflags v2.11.1 [INFO] [stderr] Compiling openssl v0.10.78 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking hyper v1.9.0 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Compiling axum-macros v0.5.1 [INFO] [stderr] Checking base64ct v1.8.3 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking serde_html_form v0.2.8 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking email-encoding v0.4.1 [INFO] [stderr] Checking toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Checking serde_spanned v1.1.1 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Checking memo-map v0.3.3 [INFO] [stderr] Checking quoted_printable v0.5.2 [INFO] [stderr] Checking email_address v0.2.9 [INFO] [stderr] Checking minijinja v2.19.0 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking toml v1.1.2+spec-1.1.0 [INFO] [stderr] Checking getrandom v0.4.2 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking axum v0.8.9 [INFO] [stderr] Checking cookie v0.18.1 [INFO] [stderr] Checking lettre v0.11.21 [INFO] [stderr] Checking axum-extra v0.12.6 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking bibliotheca v0.1.0 (/opt/rustwide/workdir) [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: 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: 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] [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 `dev` profile [unoptimized + debuginfo] target(s) in 57.79s [INFO] running `Command { std: "docker" "inspect" "dd045738af029e4b4ebb5cffcc4527e21233f40c9e6ae87f0fd6d95ae5aa975d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd045738af029e4b4ebb5cffcc4527e21233f40c9e6ae87f0fd6d95ae5aa975d", kill_on_drop: false }` [INFO] [stdout] dd045738af029e4b4ebb5cffcc4527e21233f40c9e6ae87f0fd6d95ae5aa975d