[INFO] cloning repository https://github.com/BenNotBen1224/Berkeley-NanoTech [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BenNotBen1224/Berkeley-NanoTech" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenNotBen1224%2FBerkeley-NanoTech", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenNotBen1224%2FBerkeley-NanoTech'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb532626e615aa841ec298ea7f0ad76994227af1 [INFO] testing BenNotBen1224/Berkeley-NanoTech against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenNotBen1224%2FBerkeley-NanoTech" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/BenNotBen1224/Berkeley-NanoTech [INFO] finished tweaking git repo https://github.com/BenNotBen1224/Berkeley-NanoTech [INFO] tweaked toml for git repo https://github.com/BenNotBen1224/Berkeley-NanoTech written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/BenNotBen1224/Berkeley-NanoTech on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/BenNotBen1224/Berkeley-NanoTech 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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 679a83db0113bc0bae9ebd1b0f088cf112435719dfcc6997af5cc065d84497d3 [INFO] running `Command { std: "docker" "start" "-a" "679a83db0113bc0bae9ebd1b0f088cf112435719dfcc6997af5cc065d84497d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "679a83db0113bc0bae9ebd1b0f088cf112435719dfcc6997af5cc065d84497d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "679a83db0113bc0bae9ebd1b0f088cf112435719dfcc6997af5cc065d84497d3", kill_on_drop: false }` [INFO] [stdout] 679a83db0113bc0bae9ebd1b0f088cf112435719dfcc6997af5cc065d84497d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fcd1358c83688f9cab48340dee855cdc2a978062a26b727e527e2a4c99bbf3c2 [INFO] running `Command { std: "docker" "start" "-a" "fcd1358c83688f9cab48340dee855cdc2a978062a26b727e527e2a4c99bbf3c2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.166 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling allocator-api2 v0.2.20 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling psm v0.1.24 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling bstr v1.11.0 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling deunicode v1.6.0 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling email-encoding v0.3.1 [INFO] [stderr] Compiling hostname v0.4.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling quoted_printable v0.5.1 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling http-range-header v0.4.2 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling globset v0.4.15 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling pest v2.7.14 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling hashlink v0.9.1 [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 pest_meta v2.7.14 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling pest_generator v2.7.14 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling tower v0.5.1 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling pest_derive v2.7.14 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling rusqlite v0.32.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tokio-rusqlite v0.6.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling lettre v0.11.10 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling axum-extra v0.9.6 [INFO] [stderr] Compiling central-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `axum::response::AppendHeaders` [INFO] [stdout] --> src/utils/session/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::response::AppendHeaders; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cookie::Cookie` [INFO] [stdout] --> src/utils/session/mod.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use axum_extra::extract::{cookie::Cookie, PrivateCookieJar}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> src/utils/session/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `database::user::User` and `utils::app_state::AppState` [INFO] [stdout] --> src/utils/session/mod.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::{database::user::User, utils::app_state::AppState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/utils/email.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `iter` [INFO] [stdout] --> src/api/mod.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, iter}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete` [INFO] [stdout] --> src/api/mod.rs:3:54 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{middleware::from_fn_with_state, routing::{delete, put}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::session::Permission` [INFO] [stdout] --> src/api/mod.rs:5:66 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{middleware::auth::admin_required, router_prelude::*, utils::session::Permission}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WARNING_SUCCESS` should have an upper camel case name [INFO] [stdout] --> src/api/response.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | WARNING_SUCCESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WarningSuccess` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Router` [INFO] [stdout] --> src/admin/guard.rs:2:61 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::{extract::FromRequestParts, http::request::Parts, Router}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `session::session_signature_from_cookies` [INFO] [stdout] --> src/admin/guard.rs:5:62 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::{app_error::AppError, app_state::AppState, session::session_signature_from_cookies}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/admin/login.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::sleep` [INFO] [stdout] --> src/admin/login.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoMapRequestResult`, `IntoResponse`, and `StatusCode` [INFO] [stdout] --> src/middleware/auth.rs:2:49 [INFO] [stdout] | [INFO] [stdout] 2 | body::Body, extract::State, http::{Request, StatusCode}, middleware::{IntoMapRequestResult, Next}, response::{IntoResponse, Response} [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> src/middleware/auth.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/private/auth.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::sleep` [INFO] [stdout] --> src/private/auth.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `warn` [INFO] [stdout] --> src/private/auth.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{error, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `session::Permission` [INFO] [stdout] --> src/database/user/schema.rs:1:46 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils::{app_state::tables::Table, session::Permission}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `NaiveDateTime` [INFO] [stdout] --> src/database/user/mod.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use chrono::{DateTime, NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `prelude::AppError` and `utils::session::Permission` [INFO] [stdout] --> src/database/account/test.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{prelude::AppError, utils::session::Permission}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/database/account/test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusqlite::params` [INFO] [stdout] --> src/database/account/test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rusqlite::params; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::tempdir` [INFO] [stdout] --> src/database/account/test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tempfile::tempdir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_rusqlite::Connection` [INFO] [stdout] --> src/database/account/test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio_rusqlite::Connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/database/experiment/cache.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{BTreeMap, HashMap}, path::PathBuf, sync::{Arc, Mutex}}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/api/user.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | todo!("Ensure user requesting is superadmin or self"); [INFO] [stdout] | ----------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 53 | todo!("Check password update rate limit"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::panic` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_state` [INFO] [stdout] --> src/api/user.rs:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | pub async fn update_password(State(app_state): State, Path(username): Path, Json(password): Json) -> Result src/api/user.rs:49:70 [INFO] [stdout] | [INFO] [stdout] 49 | ...te): State, Path(username): Path, Json(password): Json) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hashed_new_pwd` [INFO] [stdout] --> src/api/user.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let hashed_new_pwd = utils::cryptography::hash(password).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hashed_new_pwd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/admin/login.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/database/experiment/cache.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn get_data(&self, id: u64) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/database/experiment/cache.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | if let Some(id) = cache.get(&expt.metadata.experiment_id) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/database/experiment/cache.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn delete_experiment(&mut self, id: u64) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `anon_session_db` is never read [INFO] [stdout] --> src/utils/app_state/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | anon_session_db: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, 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: fields `email` and `token` are never read [INFO] [stdout] --> src/utils/app_state/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct PwdResetToken { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 32 | email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `drop_table` is never used [INFO] [stdout] --> src/utils/app_state/tables.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Table { [INFO] [stdout] | ----- associated function in this trait [INFO] [stdout] 7 | fn create_table() -> String; [INFO] [stdout] 8 | fn drop_table() -> String; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mock_setup` is never used [INFO] [stdout] --> src/utils/app_state/tables.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn mock_setup() -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `validate_permissions` is never used [INFO] [stdout] --> src/utils/session/state_handling.rs:87:14 [INFO] [stdout] | [INFO] [stdout] 11 | impl AppState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | async fn validate_permissions(&self, user: &User, acls: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnonSession` is never constructed [INFO] [stdout] --> src/utils/session/anon_handling.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AnonSession { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_password_reset_handler` is never used [INFO] [stdout] --> src/utils/email.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | pub async fn validate_password_reset_handler( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `experiment_file_upload` is never used [INFO] [stdout] --> src/api/experiment.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn experiment_file_upload() -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogoutForm` is never constructed [INFO] [stdout] --> src/admin/login.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct LogoutForm { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `access_code` is never read [INFO] [stdout] --> src/private/auth.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct RegisterForm { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | access_code: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegisterForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.68s [INFO] running `Command { std: "docker" "inspect" "fcd1358c83688f9cab48340dee855cdc2a978062a26b727e527e2a4c99bbf3c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcd1358c83688f9cab48340dee855cdc2a978062a26b727e527e2a4c99bbf3c2", kill_on_drop: false }` [INFO] [stdout] fcd1358c83688f9cab48340dee855cdc2a978062a26b727e527e2a4c99bbf3c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4be7c59c142642b784a9256c7a0b36c9dfe344b90caf47f003356eb188b997a6 [INFO] running `Command { std: "docker" "start" "-a" "4be7c59c142642b784a9256c7a0b36c9dfe344b90caf47f003356eb188b997a6", kill_on_drop: false }` [INFO] [stderr] Compiling central-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `axum::response::AppendHeaders` [INFO] [stdout] --> src/utils/session/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::response::AppendHeaders; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cookie::Cookie` [INFO] [stdout] --> src/utils/session/mod.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use axum_extra::extract::{cookie::Cookie, PrivateCookieJar}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> src/utils/session/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `database::user::User` and `utils::app_state::AppState` [INFO] [stdout] --> src/utils/session/mod.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::{database::user::User, utils::app_state::AppState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/utils/email.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `iter` [INFO] [stdout] --> src/api/mod.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, iter}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete` [INFO] [stdout] --> src/api/mod.rs:3:54 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{middleware::from_fn_with_state, routing::{delete, put}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::session::Permission` [INFO] [stdout] --> src/api/mod.rs:5:66 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{middleware::auth::admin_required, router_prelude::*, utils::session::Permission}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WARNING_SUCCESS` should have an upper camel case name [INFO] [stdout] --> src/api/response.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | WARNING_SUCCESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WarningSuccess` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Router` [INFO] [stdout] --> src/admin/guard.rs:2:61 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::{extract::FromRequestParts, http::request::Parts, Router}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `session::session_signature_from_cookies` [INFO] [stdout] --> src/admin/guard.rs:5:62 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::{app_error::AppError, app_state::AppState, session::session_signature_from_cookies}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/admin/login.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::sleep` [INFO] [stdout] --> src/admin/login.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoMapRequestResult`, `IntoResponse`, and `StatusCode` [INFO] [stdout] --> src/middleware/auth.rs:2:49 [INFO] [stdout] | [INFO] [stdout] 2 | body::Body, extract::State, http::{Request, StatusCode}, middleware::{IntoMapRequestResult, Next}, response::{IntoResponse, Response} [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> src/middleware/auth.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/private/auth.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::sleep` [INFO] [stdout] --> src/private/auth.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `warn` [INFO] [stdout] --> src/private/auth.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{error, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `session::Permission` [INFO] [stdout] --> src/database/user/schema.rs:1:46 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils::{app_state::tables::Table, session::Permission}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::tempdir` [INFO] [stdout] --> src/database/user/tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tempfile::tempdir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_rusqlite::Connection` [INFO] [stdout] --> src/database/user/tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio_rusqlite::Connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `NaiveDateTime` [INFO] [stdout] --> src/database/user/mod.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use chrono::{DateTime, NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `prelude::AppError` and `utils::session::Permission` [INFO] [stdout] --> src/database/account/test.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{prelude::AppError, utils::session::Permission}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/database/account/test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusqlite::params` [INFO] [stdout] --> src/database/account/test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rusqlite::params; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::tempdir` [INFO] [stdout] --> src/database/account/test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tempfile::tempdir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_rusqlite::Connection` [INFO] [stdout] --> src/database/account/test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio_rusqlite::Connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/database/experiment/cache.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{BTreeMap, HashMap}, path::PathBuf, sync::{Arc, Mutex}}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/api/user.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | todo!("Ensure user requesting is superadmin or self"); [INFO] [stdout] | ----------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 53 | todo!("Check password update rate limit"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::panic` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_state` [INFO] [stdout] --> src/api/user.rs:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | pub async fn update_password(State(app_state): State, Path(username): Path, Json(password): Json) -> Result src/api/user.rs:49:70 [INFO] [stdout] | [INFO] [stdout] 49 | ...te): State, Path(username): Path, Json(password): Json) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hashed_new_pwd` [INFO] [stdout] --> src/api/user.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let hashed_new_pwd = utils::cryptography::hash(password).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hashed_new_pwd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/admin/login.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/database/experiment/cache.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn get_data(&self, id: u64) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/database/experiment/cache.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | if let Some(id) = cache.get(&expt.metadata.experiment_id) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/database/experiment/cache.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn delete_experiment(&mut self, id: u64) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `anon_session_db` is never read [INFO] [stdout] --> src/utils/app_state/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | anon_session_db: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, 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: fields `email` and `token` are never read [INFO] [stdout] --> src/utils/app_state/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct PwdResetToken { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 32 | email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `validate_permissions` is never used [INFO] [stdout] --> src/utils/session/state_handling.rs:87:14 [INFO] [stdout] | [INFO] [stdout] 11 | impl AppState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | async fn validate_permissions(&self, user: &User, acls: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnonSession` is never constructed [INFO] [stdout] --> src/utils/session/anon_handling.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AnonSession { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_password_reset_handler` is never used [INFO] [stdout] --> src/utils/email.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | pub async fn validate_password_reset_handler( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `experiment_file_upload` is never used [INFO] [stdout] --> src/api/experiment.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn experiment_file_upload() -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogoutForm` is never constructed [INFO] [stdout] --> src/admin/login.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct LogoutForm { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `access_code` is never read [INFO] [stdout] --> src/private/auth.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct RegisterForm { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | access_code: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegisterForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.57s [INFO] running `Command { std: "docker" "inspect" "4be7c59c142642b784a9256c7a0b36c9dfe344b90caf47f003356eb188b997a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4be7c59c142642b784a9256c7a0b36c9dfe344b90caf47f003356eb188b997a6", kill_on_drop: false }` [INFO] [stdout] 4be7c59c142642b784a9256c7a0b36c9dfe344b90caf47f003356eb188b997a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ca3a441579e0014b672ebbf146ff34aece99c1965084fe95bc880432c9e7e479 [INFO] running `Command { std: "docker" "start" "-a" "ca3a441579e0014b672ebbf146ff34aece99c1965084fe95bc880432c9e7e479", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `axum::response::AppendHeaders` [INFO] [stderr] --> src/utils/session/mod.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use axum::response::AppendHeaders; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `cookie::Cookie` [INFO] [stderr] --> src/utils/session/mod.rs:2:27 [INFO] [stderr] | [INFO] [stderr] 2 | use axum_extra::extract::{cookie::Cookie, PrivateCookieJar}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::prelude::*` [INFO] [stderr] --> src/utils/session/mod.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `database::user::User` and `utils::app_state::AppState` [INFO] [stderr] --> src/utils/session/mod.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | use crate::{database::user::User, utils::app_state::AppState}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/utils/email.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: unused imports: `collections::HashMap` and `iter` [INFO] [stdout] running 5 tests [INFO] [stderr] --> src/api/mod.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{collections::HashMap, iter}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `delete` [INFO] [stderr] --> src/api/mod.rs:3:54 [INFO] [stderr] | [INFO] [stderr] 3 | use axum::{middleware::from_fn_with_state, routing::{delete, put}}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `utils::session::Permission` [INFO] [stderr] --> src/api/mod.rs:5:66 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::{middleware::auth::admin_required, router_prelude::*, utils::session::Permission}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `WARNING_SUCCESS` should have an upper camel case name [INFO] [stderr] --> src/api/response.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | WARNING_SUCCESS, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WarningSuccess` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Router` [INFO] [stderr] --> src/admin/guard.rs:2:61 [INFO] [stderr] | [INFO] [stderr] 2 | use axum::{extract::FromRequestParts, http::request::Parts, Router}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `session::session_signature_from_cookies` [INFO] [stderr] --> src/admin/guard.rs:5:62 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::utils::{app_error::AppError, app_state::AppState, session::session_signature_from_cookies}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/admin/login.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::time::sleep` [INFO] [stderr] --> src/admin/login.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use tokio::time::sleep; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `IntoMapRequestResult`, `IntoResponse`, and `StatusCode` [INFO] [stderr] --> src/middleware/auth.rs:2:49 [INFO] [stderr] | [INFO] [stderr] 2 | body::Body, extract::State, http::{Request, StatusCode}, middleware::{IntoMapRequestResult, Next}, response::{IntoResponse, Response} [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::prelude::*` [INFO] [stderr] --> src/middleware/auth.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/private/auth.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::time::sleep` [INFO] [stderr] --> src/private/auth.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use tokio::time::sleep; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `error` and `warn` [INFO] [stderr] --> src/private/auth.rs:8:15 [INFO] [stderr] | [INFO] [stderr] 8 | use tracing::{error, warn}; [INFO] [stderr] | ^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `session::Permission` [INFO] [stderr] --> src/database/user/schema.rs:1:46 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::utils::{app_state::tables::Table, session::Permission}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tempfile::tempdir` [INFO] [stderr] --> src/database/user/tests.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use tempfile::tempdir; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio_rusqlite::Connection` [INFO] [stderr] --> src/database/user/tests.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use tokio_rusqlite::Connection; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DateTime` and `NaiveDateTime` [INFO] [stderr] --> src/database/user/mod.rs:9:14 [INFO] [stderr] | [INFO] [stderr] 9 | use chrono::{DateTime, NaiveDateTime}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `prelude::AppError` and `utils::session::Permission` [INFO] [stderr] --> src/database/account/test.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::{prelude::AppError, utils::session::Permission}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/database/account/test.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rusqlite::params` [INFO] [stderr] --> src/database/account/test.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use rusqlite::params; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tempfile::tempdir` [INFO] [stderr] --> src/database/account/test.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use tempfile::tempdir; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio_rusqlite::Connection` [INFO] [stderr] --> src/database/account/test.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use tokio_rusqlite::Connection; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `HashMap` [INFO] [stderr] --> src/database/experiment/cache.rs:1:35 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{collections::{BTreeMap, HashMap}, path::PathBuf, sync::{Arc, Mutex}}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/api/user.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 52 | todo!("Ensure user requesting is superadmin or self"); [INFO] [stderr] | ----------------------------------------------------- any code following this expression is unreachable [INFO] [stderr] 53 | todo!("Check password update rate limit"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `$crate::panic` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app_state` [INFO] [stderr] --> src/api/user.rs:49:36 [INFO] [stderr] | [INFO] [stderr] 49 | pub async fn update_password(State(app_state): State, Path(username): Path, Json(password): Json) -> Result src/api/user.rs:49:70 [INFO] [stderr] | [INFO] [stderr] 49 | ...te): State, Path(username): Path, Json(password): Json) -> Result, AppError> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hashed_new_pwd` [INFO] [stderr] --> src/api/user.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | let hashed_new_pwd = utils::cryptography::hash(password).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hashed_new_pwd` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/admin/login.rs:53:13 [INFO] [stderr] | [INFO] [stderr] 53 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/database/experiment/cache.rs:50:28 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn get_data(&self, id: u64) -> Result { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/database/experiment/cache.rs:64:21 [INFO] [stderr] | [INFO] [stderr] 64 | if let Some(id) = cache.get(&expt.metadata.experiment_id) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/database/experiment/cache.rs:71:41 [INFO] [stderr] | [INFO] [stderr] 71 | pub fn delete_experiment(&mut self, id: u64) -> Result { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: field `anon_session_db` is never read [INFO] [stderr] --> src/utils/app_state/mod.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct AppState { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 23 | anon_session_db: Arc>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppState` has a derived impl for the trait `Clone`, 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: fields `email` and `token` are never read [INFO] [stderr] --> src/utils/app_state/mod.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct PwdResetToken { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 32 | email: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 33 | token: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `validate_permissions` is never used [INFO] [stderr] --> src/utils/session/state_handling.rs:87:14 [INFO] [stderr] | [INFO] [stderr] 11 | impl AppState { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 87 | async fn validate_permissions(&self, user: &User, acls: Vec) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AnonSession` is never constructed [INFO] [stderr] --> src/utils/session/anon_handling.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct AnonSession { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `validate_password_reset_handler` is never used [INFO] [stderr] --> src/utils/email.rs:129:14 [INFO] [stderr] | [INFO] [stderr] 129 | pub async fn validate_password_reset_handler( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `experiment_file_upload` is never used [INFO] [stderr] --> src/api/experiment.rs:17:14 [INFO] [stderr] | [INFO] [stderr] 17 | pub async fn experiment_file_upload() -> Result, AppError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `LogoutForm` is never constructed [INFO] [stderr] --> src/admin/login.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct LogoutForm { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `access_code` is never read [INFO] [stderr] --> src/private/auth.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 33 | pub struct RegisterForm { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 36 | access_code: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RegisterForm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `central-server` (bin "central-server" test) generated 44 warnings (run `cargo fix --bin "central-server" --tests` to apply 27 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/central_server-7183ad4a63e5fbc1) [INFO] [stdout] test database::user::tests::password_update_rate_limit ... FAILED [INFO] [stdout] test database::user::tests::duplicate_user ... FAILED [INFO] [stdout] test database::user::tests::full ... FAILED [INFO] [stdout] test database::user::tests::no_user ... FAILED [INFO] [stdout] test utils::cryptography::test::test_salt ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- database::user::tests::password_update_rate_limit stdout ---- [INFO] [stdout] Error: Rusqlite(SqliteFailure(Error { code: Unknown, extended_code: 1 }, Some("table users has no column named password_update_log"))) [INFO] [stdout] [INFO] [stdout] ---- database::user::tests::duplicate_user stdout ---- [INFO] [stdout] Error: Rusqlite(SqliteFailure(Error { code: Unknown, extended_code: 1 }, Some("table users has no column named password_update_log"))) [INFO] [stdout] [INFO] [stdout] ---- database::user::tests::full stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'database::user::tests::full' (26) panicked at src/database/user/tests.rs:22:30: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Rusqlite(SqliteFailure(Error { code: Unknown, extended_code: 1 }, Some("table users has no column named password_update_log"))) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x654297e4d2a2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x654297e4d2a2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x654297e4d2a2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x654297e4d2a2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x654297e5eb9f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x654297e5eb9f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x654297e19473 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x654297e19473 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x654297e25d42 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x654297e2ae6f - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x654297e2ad01 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x654297af9cee - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x654297af9cee - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x654297e2b5be - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x654297e2b5be - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x654297e2b2da - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x654297e25e89 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x654297e0d14d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x654297e66bb0 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x654297e66096 - core::result::unwrap_failed::h3188dfca3824df71 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x654297a89434 - core::result::Result::unwrap::hac680dc2d991b302 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x654297a89434 - central_server::database::user::tests::full::{{closure}}::h88a95db4e2e04e01 [INFO] [stdout] at /opt/rustwide/workdir/src/database/user/tests.rs:22:30 [INFO] [stdout] 22: 0x654297a9943f - as core::future::future::Future>::poll::h1f717e25f9825f5d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/future/future.rs:133:9 [INFO] [stdout] 23: 0x654297a994fb - as core::future::future::Future>::poll::h5948e39db6a92afc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/future/future.rs:133:9 [INFO] [stdout] 24: 0x654297aca35b - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h2d837b0f5d187738 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/scheduler/current_thread/mod.rs:729:73 [INFO] [stdout] 25: 0x654297aca27b - tokio::runtime::coop::with_budget::h56e2814de8e146e1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/coop.rs:107:5 [INFO] [stdout] 26: 0x654297aca27b - tokio::runtime::coop::budget::ha206168d2b883e8c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/coop.rs:73:5 [INFO] [stdout] 27: 0x654297aca27b - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::haadc21135c7316fd [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/scheduler/current_thread/mod.rs:729:25 [INFO] [stdout] 28: 0x654297ac6d8d - tokio::runtime::scheduler::current_thread::Context::enter::ha720178ae697b96a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/scheduler/current_thread/mod.rs:428:19 [INFO] [stdout] 29: 0x654297ac96b0 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::hbc1a1bc84df408d1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/scheduler/current_thread/mod.rs:728:44 [INFO] [stdout] 30: 0x654297ac87bb - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::hafccb5215f34aeb3 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/scheduler/current_thread/mod.rs:807:68 [INFO] [stdout] 31: 0x654297a9925a - tokio::runtime::context::scoped::Scoped::set::hf3246bc7d20c61ee [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 32: 0x654297ab21aa - tokio::runtime::context::set_scheduler::{{closure}}::hd99268a8acdbc33b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/context.rs:180:38 [INFO] [stdout] 33: 0x654297a934f1 - std::thread::local::LocalKey::try_with::h267dc7b71ae7f61e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/local.rs:315:12 [INFO] [stdout] 34: 0x654297a9301c - std::thread::local::LocalKey::with::h3c3be68ba192f54e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/local.rs:279:20 [INFO] [stdout] 35: 0x654297ab20f1 - tokio::runtime::context::set_scheduler::h634e141a2b840646 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/context.rs:180:17 [INFO] [stdout] 36: 0x654297ac807e - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h0d2a00c3de023b83 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/scheduler/current_thread/mod.rs:807:27 [INFO] [stdout] 37: 0x654297ac8888 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h8e9c2fe79cb8118c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/scheduler/current_thread/mod.rs:716:24 [INFO] [stdout] 38: 0x654297ac67d2 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hf5bd8978fef6ff75 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/scheduler/current_thread/mod.rs:196:33 [INFO] [stdout] 39: 0x654297ab2771 - tokio::runtime::context::runtime::enter_runtime::haf618f38f9c7c2d3 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 40: 0x654297ac60e6 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h34a2c9ac4ef1a7d7 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/scheduler/current_thread/mod.rs:184:9 [INFO] [stdout] 41: 0x654297ab65f8 - tokio::runtime::runtime::Runtime::block_on_inner::hb70b87cbd4993696 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/runtime.rs:368:52 [INFO] [stdout] 42: 0x654297ab67df - tokio::runtime::runtime::Runtime::block_on::h56b2448b2e36ffbf [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/runtime.rs:342:18 [INFO] [stdout] 43: 0x654297a88920 - central_server::database::user::tests::full::hdfcd3b3e9216598a [INFO] [stdout] at /opt/rustwide/workdir/src/database/user/tests.rs:102:7 [INFO] [stdout] 44: 0x654297a889cc - central_server::database::user::tests::full::{{closure}}::h41d84978f1d8d556 [INFO] [stdout] at /opt/rustwide/workdir/src/database/user/tests.rs:11:20 [INFO] [stdout] 45: 0x654297a829b6 - core::ops::function::FnOnce::call_once::hf6e5d489ab0dc665 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 46: 0x654297af9b5b - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 47: 0x654297af9b5b - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 48: 0x654297b0f5b5 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 49: 0x654297b0f5b5 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 50: 0x654297b0f5b5 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 51: 0x654297b0f5b5 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 52: 0x654297b0f5b5 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 53: 0x654297b0f5b5 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 54: 0x654297b0f5b5 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 55: 0x654297ae5f84 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 56: 0x654297ae5f84 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 57: 0x654297ae986a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 58: 0x654297ae986a - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 59: 0x654297ae986a - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 60: 0x654297ae986a - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 61: 0x654297ae986a - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 62: 0x654297ae986a - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 63: 0x654297ae986a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 64: 0x654297e2004f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 65: 0x654297e2004f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 66: 0x740da10b0aa4 - [INFO] [stdout] 67: 0x740da113da34 - clone [INFO] [stdout] 68: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- database::user::tests::no_user stdout ---- [INFO] [stdout] [src/database/user/tests.rs:110:5] &user = Err( [INFO] [stdout] Rusqlite( [INFO] [stdout] SqlInputError { [INFO] [stdout] error: Error { [INFO] [stdout] code: Unknown, [INFO] [stdout] extended_code: 1, [INFO] [stdout] }, [INFO] [stdout] msg: "no such column: password_update_log", [INFO] [stdout] sql: "SELECT username, hashed_pwd, permissions, password_update_log FROM users WHERE username = ?1", [INFO] [stdout] offset: 42, [INFO] [stdout] }, [INFO] [stdout] ), [INFO] [stdout] ) [INFO] [stdout] [INFO] [stdout] thread 'database::user::tests::no_user' (27) panicked at src/database/user/tests.rs:111:5: [INFO] [stdout] assertion failed: user.is_ok() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x654297e4d2a2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x654297e4d2a2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x654297e4d2a2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x654297e4d2a2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x654297e5eb9f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x654297e5eb9f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x654297e19473 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x654297e19473 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x654297e25d42 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x654297e2ae6f - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x654297e2ad01 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x654297af9cee - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x654297af9cee - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x654297e2b5be - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x654297e2b5be - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x654297e2b2a6 - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:700:13 [INFO] [stdout] 16: 0x654297e25e89 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x654297e0d14d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x654297e66bb0 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x654297e66b8c - core::panicking::panic::h4b0b98c4b214b6ac [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:145:5 [INFO] [stdout] 20: 0x654297a8c4d9 - central_server::database::user::tests::no_user::{{closure}}::h2505f10e3636c402 [INFO] [stdout] at /opt/rustwide/workdir/src/database/user/tests.rs:111:5 [INFO] [stdout] 21: 0x654297a9943f - as core::future::future::Future>::poll::h1f717e25f9825f5d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/future/future.rs:133:9 [INFO] [stdout] 22: 0x654297a994fb - as core::future::future::Future>::poll::h5948e39db6a92afc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/future/future.rs:133:9 [INFO] [stdout] 23: 0x654297aca35b - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h2d837b0f5d187738 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/scheduler/current_thread/mod.rs:729:73 [INFO] [stdout] 24: 0x654297aca27b - tokio::runtime::coop::with_budget::h56e2814de8e146e1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/coop.rs:107:5 [INFO] [stdout] 25: 0x654297aca27b - tokio::runtime::coop::budget::ha206168d2b883e8c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/coop.rs:73:5 [INFO] [stdout] 26: 0x654297aca27b - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::haadc21135c7316fd [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/scheduler/current_thread/mod.rs:729:25 [INFO] [stdout] 27: 0x654297ac6d8d - tokio::runtime::scheduler::current_thread::Context::enter::ha720178ae697b96a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/scheduler/current_thread/mod.rs:428:19 [INFO] [stdout] 28: 0x654297ac96b0 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::hbc1a1bc84df408d1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/scheduler/current_thread/mod.rs:728:44 [INFO] [stdout] 29: 0x654297ac87bb - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::hafccb5215f34aeb3 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/scheduler/current_thread/mod.rs:807:68 [INFO] [stdout] 30: 0x654297a9925a - tokio::runtime::context::scoped::Scoped::set::hf3246bc7d20c61ee [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 31: 0x654297ab21aa - tokio::runtime::context::set_scheduler::{{closure}}::hd99268a8acdbc33b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/context.rs:180:38 [INFO] [stdout] 32: 0x654297a934f1 - std::thread::local::LocalKey::try_with::h267dc7b71ae7f61e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/local.rs:315:12 [INFO] [stdout] 33: 0x654297a9301c - std::thread::local::LocalKey::with::h3c3be68ba192f54e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/local.rs:279:20 [INFO] [stdout] 34: 0x654297ab20f1 - tokio::runtime::context::set_scheduler::h634e141a2b840646 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/context.rs:180:17 [INFO] [stdout] 35: 0x654297ac807e - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h0d2a00c3de023b83 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/scheduler/current_thread/mod.rs:807:27 [INFO] [stdout] 36: 0x654297ac8888 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h8e9c2fe79cb8118c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/scheduler/current_thread/mod.rs:716:24 [INFO] [stdout] 37: 0x654297ac67d2 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hf5bd8978fef6ff75 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/scheduler/current_thread/mod.rs:196:33 [INFO] [stdout] 38: 0x654297ab2771 - tokio::runtime::context::runtime::enter_runtime::haf618f38f9c7c2d3 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 39: 0x654297ac60e6 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h34a2c9ac4ef1a7d7 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/scheduler/current_thread/mod.rs:184:9 [INFO] [stdout] 40: 0x654297ab65f8 - tokio::runtime::runtime::Runtime::block_on_inner::hb70b87cbd4993696 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/runtime.rs:368:52 [INFO] [stdout] 41: 0x654297ab67df - tokio::runtime::runtime::Runtime::block_on::h56b2448b2e36ffbf [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/runtime/runtime.rs:342:18 [INFO] [stdout] 42: 0x654297a8bdfd - central_server::database::user::tests::no_user::h85e5a66c72a23092 [INFO] [stdout] at /opt/rustwide/workdir/src/database/user/tests.rs:113:7 [INFO] [stdout] 43: 0x654297a8c70c - central_server::database::user::tests::no_user::{{closure}}::h67577d4bd0c6cdb6 [INFO] [stdout] at /opt/rustwide/workdir/src/database/user/tests.rs:107:23 [INFO] [stdout] 44: 0x654297a82936 - core::ops::function::FnOnce::call_once::hef9971fa17226b39 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 45: 0x654297af9b5b - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 46: 0x654297af9b5b - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 47: 0x654297b0f5b5 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 48: 0x654297b0f5b5 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 49: 0x654297b0f5b5 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 50: 0x654297b0f5b5 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 51: 0x654297b0f5b5 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 52: 0x654297b0f5b5 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 53: 0x654297b0f5b5 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 54: 0x654297ae5f84 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 55: 0x654297ae5f84 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 56: 0x654297ae986a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 57: 0x654297ae986a - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 58: 0x654297ae986a - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 59: 0x654297ae986a - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 60: 0x654297ae986a - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 61: 0x654297ae986a - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 62: 0x654297ae986a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 63: 0x654297e2004f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 64: 0x654297e2004f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 65: 0x740da10b0aa4 - [INFO] [stdout] 66: 0x740da113da34 - clone [INFO] [stdout] 67: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] database::user::tests::duplicate_user [INFO] [stdout] database::user::tests::full [INFO] [stdout] database::user::tests::no_user [INFO] [stdout] database::user::tests::password_update_rate_limit [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.09s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin central-server` [INFO] running `Command { std: "docker" "inspect" "ca3a441579e0014b672ebbf146ff34aece99c1965084fe95bc880432c9e7e479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca3a441579e0014b672ebbf146ff34aece99c1965084fe95bc880432c9e7e479", kill_on_drop: false }` [INFO] [stdout] ca3a441579e0014b672ebbf146ff34aece99c1965084fe95bc880432c9e7e479