[INFO] cloning repository https://github.com/kepinserius/HoloCrypt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kepinserius/HoloCrypt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkepinserius%2FHoloCrypt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkepinserius%2FHoloCrypt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 485576f9f48fed3a4ea9ae8590994e1ab2911f07 [INFO] testing kepinserius/HoloCrypt against beta-2025-09-21 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkepinserius%2FHoloCrypt" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 66% (2915/4388) Updating files: 67% (2940/4388) Updating files: 68% (2984/4388) Updating files: 69% (3028/4388) Updating files: 70% (3072/4388) Updating files: 71% (3116/4388) Updating files: 72% (3160/4388) Updating files: 73% (3204/4388) Updating files: 74% (3248/4388) Updating files: 74% (3278/4388) Updating files: 75% (3291/4388) Updating files: 76% (3335/4388) Updating files: 77% (3379/4388) Updating files: 78% (3423/4388) Updating files: 79% (3467/4388) Updating files: 79% (3496/4388) Updating files: 80% (3511/4388) Updating files: 81% (3555/4388) Updating files: 82% (3599/4388) Updating files: 83% (3643/4388) Updating files: 84% (3686/4388) Updating files: 84% (3691/4388) Updating files: 85% (3730/4388) Updating files: 86% (3774/4388) Updating files: 86% (3800/4388) Updating files: 87% (3818/4388) Updating files: 88% (3862/4388) Updating files: 88% (3900/4388) Updating files: 89% (3906/4388) Updating files: 90% (3950/4388) Updating files: 91% (3994/4388) Updating files: 92% (4037/4388) Updating files: 93% (4081/4388) Updating files: 94% (4125/4388) Updating files: 95% (4169/4388) Updating files: 96% (4213/4388) Updating files: 97% (4257/4388) Updating files: 98% (4301/4388) Updating files: 99% (4345/4388) Updating files: 100% (4388/4388) Updating files: 100% (4388/4388), done. [INFO] started tweaking git repo https://github.com/kepinserius/HoloCrypt [INFO] finished tweaking git repo https://github.com/kepinserius/HoloCrypt [INFO] tweaked toml for git repo https://github.com/kepinserius/HoloCrypt written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kepinserius/HoloCrypt on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kepinserius/HoloCrypt 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 896e21d933a1264103b76b84ba91568ce07bd15a3a151396e7cd0e532e620ce9 [INFO] running `Command { std: "docker" "start" "-a" "896e21d933a1264103b76b84ba91568ce07bd15a3a151396e7cd0e532e620ce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "896e21d933a1264103b76b84ba91568ce07bd15a3a151396e7cd0e532e620ce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "896e21d933a1264103b76b84ba91568ce07bd15a3a151396e7cd0e532e620ce9", kill_on_drop: false }` [INFO] [stdout] 896e21d933a1264103b76b84ba91568ce07bd15a3a151396e7cd0e532e620ce9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b4140f5f38c9b7f0d778d7a03b4b0496f02363eab863f8a34b8147a7a8559bf [INFO] running `Command { std: "docker" "start" "-a" "5b4140f5f38c9b7f0d778d7a03b4b0496f02363eab863f8a34b8147a7a8559bf", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling time v0.3.43 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling bcrypt v0.15.1 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling holocrypt_crypto v0.1.0 (/opt/rustwide/workdir/crypto) [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling ark-poly v0.4.2 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling ark-ec v0.4.2 [INFO] [stderr] Compiling ark-bls12-381 v0.4.0 [INFO] [stderr] Compiling holocrypt_zkp v0.1.0 (/opt/rustwide/workdir/zkp) [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling holocrypt_api v0.1.0 (/opt/rustwide/workdir/backend/holocrypt_api) [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> backend/holocrypt_api/src/db.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | ... let user = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 45 | | ... User, [INFO] [stdout] 46 | | ... "INSERT INTO users (id, username, password_hash, created_at) VALUES ($1, $2, $3, $4) RETURNING id, username, password_hash, cre... [INFO] [stdout] 47 | | ... uuid::Uuid::new_v4().to_string(), [INFO] [stdout] ... | [INFO] [stdout] 50 | | ... chrono::Utc::now() [INFO] [stdout] 51 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> backend/holocrypt_api/src/db.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 82 | | User, [INFO] [stdout] 83 | | "SELECT id, username, password_hash, created_at FROM users WHERE username = $1", [INFO] [stdout] 84 | | username [INFO] [stdout] 85 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> backend/holocrypt_api/src/db.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 117 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 118 | | User, [INFO] [stdout] 119 | | "SELECT id, username, password_hash, created_at FROM users WHERE id = $1", [INFO] [stdout] 120 | | id [INFO] [stdout] 121 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> backend/holocrypt_api/src/db.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | ... let message = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 141 | | ... Message, [INFO] [stdout] 142 | | ... "INSERT INTO messages (id, content, sender_id, recipient_id, marker_id, is_encrypted, created_at) VALUES ($1, $2, $3, $4, $5, $... [INFO] [stdout] 143 | | ... uuid::Uuid::new_v4().to_string(), [INFO] [stdout] ... | [INFO] [stdout] 149 | | ... chrono::Utc::now() [INFO] [stdout] 150 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> backend/holocrypt_api/src/db.rs:179:23 [INFO] [stdout] | [INFO] [stdout] 179 | let message = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 180 | | Message, [INFO] [stdout] 181 | | "SELECT id, content, sender_id, recipient_id, marker_id, is_encrypted, created_at FROM messages WHERE id = $1", [INFO] [stdout] 182 | | id [INFO] [stdout] 183 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> backend/holocrypt_api/src/db.rs:201:22 [INFO] [stdout] | [INFO] [stdout] 201 | let marker = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 202 | | Marker, [INFO] [stdout] 203 | | "INSERT INTO markers (id, marker_type, data, created_at) VALUES ($1, $2, $3, $4) RETURNING id, marker_type, data, created_at", [INFO] [stdout] 204 | | uuid::Uuid::new_v4().to_string(), [INFO] [stdout] ... | [INFO] [stdout] 207 | | chrono::Utc::now() [INFO] [stdout] 208 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> backend/holocrypt_api/src/db.rs:237:22 [INFO] [stdout] | [INFO] [stdout] 237 | let marker = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 238 | | Marker, [INFO] [stdout] 239 | | "SELECT id, marker_type, data, created_at FROM markers WHERE id = $1", [INFO] [stdout] 240 | | id [INFO] [stdout] 241 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `info` in module `logger` [INFO] [stdout] --> backend/holocrypt_api/src/routes/auth.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | logger::info(&format!("User registered: {}", user.id), None); [INFO] [stdout] | ^^^^ not found in `logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `info` in module `logger` [INFO] [stdout] --> backend/holocrypt_api/src/routes/auth.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | logger::info(&format!("User logged in: {}", user.id), None); [INFO] [stdout] | ^^^^ not found in `logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `info` in module `logger` [INFO] [stdout] --> backend/holocrypt_api/src/routes/markers.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | logger::info(&format!("Marker created: {}", marker.id), None); [INFO] [stdout] | ^^^^ not found in `logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `info` in module `logger` [INFO] [stdout] --> backend/holocrypt_api/src/routes/markers.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | logger::info(&format!("Marker retrieved: {}", id), None); [INFO] [stdout] | ^^^^ not found in `logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `create_message` in module `messages` [INFO] [stdout] --> backend/holocrypt_api/src/routes/mod.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | messages::create_message, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `get_message` in module `messages` [INFO] [stdout] --> backend/holocrypt_api/src/routes/mod.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | messages::get_message, [INFO] [stdout] | ^^^^^^^^^^^ not found in `messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PgPool` [INFO] [stdout] --> backend/holocrypt_api/src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{PgPool, postgres::PgPoolOptions}; [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: `State` [INFO] [stdout] --> backend/holocrypt_api/src/routes/mod.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use rocket::{Route, State}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::PgPool` [INFO] [stdout] --> backend/holocrypt_api/src/routes/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::PgPool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db::Database` [INFO] [stdout] --> backend/holocrypt_api/src/routes/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db::Database; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::User` [INFO] [stdout] --> backend/holocrypt_api/src/routes/auth.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::models::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::Marker` [INFO] [stdout] --> backend/holocrypt_api/src/routes/markers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::models::Marker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClientIp` and `RateLimiter` [INFO] [stdout] --> backend/holocrypt_api/src/security_fairing.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::security::{SecurityHeaders, RateLimiter, ClientIp}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> backend/holocrypt_api/src/security_fairing.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> backend/holocrypt_api/src/security_fairing.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `on_response` do not match the trait declaration [INFO] [stdout] --> backend/holocrypt_api/src/security_fairing.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | async fn on_response(&self, request: &Request<'_>, response: &mut Response<'_>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `0` of struct `ClientIp` is private [INFO] [stdout] --> backend/holocrypt_api/src/routes/auth.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | if !limiter.is_allowed(&client_ip.0) { [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `0` of struct `ClientIp` is private [INFO] [stdout] --> backend/holocrypt_api/src/routes/auth.rs:40:86 [INFO] [stdout] | [INFO] [stdout] 40 | logger::log_warning(&format!("Rate limit exceeded for IP: {}", client_ip.0), None); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `0` of struct `ClientIp` is private [INFO] [stdout] --> backend/holocrypt_api/src/routes/auth.rs:110:43 [INFO] [stdout] | [INFO] [stdout] 110 | if !limiter.is_allowed(&client_ip.0) { [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `0` of struct `ClientIp` is private [INFO] [stdout] --> backend/holocrypt_api/src/routes/auth.rs:111:86 [INFO] [stdout] | [INFO] [stdout] 111 | logger::log_warning(&format!("Rate limit exceeded for IP: {}", client_ip.0), None); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `0` of struct `ClientIp` is private [INFO] [stdout] --> backend/holocrypt_api/src/routes/markers.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | if !limiter.is_allowed(&client_ip.0) { [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `0` of struct `ClientIp` is private [INFO] [stdout] --> backend/holocrypt_api/src/routes/markers.rs:40:86 [INFO] [stdout] | [INFO] [stdout] 40 | logger::log_warning(&format!("Rate limit exceeded for IP: {}", client_ip.0), None); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `0` of struct `ClientIp` is private [INFO] [stdout] --> backend/holocrypt_api/src/routes/markers.rs:85:43 [INFO] [stdout] | [INFO] [stdout] 85 | if !limiter.is_allowed(&client_ip.0) { [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `0` of struct `ClientIp` is private [INFO] [stdout] --> backend/holocrypt_api/src/routes/markers.rs:86:86 [INFO] [stdout] | [INFO] [stdout] 86 | logger::log_warning(&format!("Rate limit exceeded for IP: {}", client_ip.0), None); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AppError: Responder<'_, '_>` is not satisfied [INFO] [stdout] --> backend/holocrypt_api/src/routes/auth.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 29 | #[post("/register", data = "")] [INFO] [stdout] | ------------------------------------- in this attribute macro expansion [INFO] [stdout] ... [INFO] [stdout] 35 | ) -> Result, AppError> { [INFO] [stdout] | ^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Responder<'_, '_>` is not implemented for `AppError` [INFO] [stdout] --> backend/holocrypt_api/src/error.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AppError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Responder<'r, 'o>`: [INFO] [stdout] `&'o [u8]` implements `Responder<'r, 'o>` [INFO] [stdout] `&'o str` implements `Responder<'r, 'o>` [INFO] [stdout] `()` implements `Responder<'r, 'static>` [INFO] [stdout] `(ContentType, R)` implements `Responder<'r, 'o>` [INFO] [stdout] `(Status, R)` implements `Responder<'r, 'o>` [INFO] [stdout] `Accepted` implements `Responder<'r, 'o>` [INFO] [stdout] `Arc<[u8]>` implements `Responder<'r, 'static>` [INFO] [stdout] `Arc` implements `Responder<'r, 'static>` [INFO] [stdout] and 39 others [INFO] [stdout] = note: required for `Result, AppError>` to implement `Responder<'_, '_>` [INFO] [stdout] note: required by a bound in `route::handler::, Status, (rocket::Data<'o>, Status)>>::from` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket-0.5.1/src/route/handler.rs:188:20 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn from>(req: &'r Request<'_>, responder: R) -> Outcome<'r> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `route::handler::, Status, (Data<'o>, Status)>>::from` [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AppError: Responder<'_, '_>` is not satisfied [INFO] [stdout] --> backend/holocrypt_api/src/routes/auth.rs:106:6 [INFO] [stdout] | [INFO] [stdout] 100 | #[post("/login", data = "")] [INFO] [stdout] | ---------------------------------- in this attribute macro expansion [INFO] [stdout] ... [INFO] [stdout] 106 | ) -> Result, AppError> { [INFO] [stdout] | ^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Responder<'_, '_>` is not implemented for `AppError` [INFO] [stdout] --> backend/holocrypt_api/src/error.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AppError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Responder<'r, 'o>`: [INFO] [stdout] `&'o [u8]` implements `Responder<'r, 'o>` [INFO] [stdout] `&'o str` implements `Responder<'r, 'o>` [INFO] [stdout] `()` implements `Responder<'r, 'static>` [INFO] [stdout] `(ContentType, R)` implements `Responder<'r, 'o>` [INFO] [stdout] `(Status, R)` implements `Responder<'r, 'o>` [INFO] [stdout] `Accepted` implements `Responder<'r, 'o>` [INFO] [stdout] `Arc<[u8]>` implements `Responder<'r, 'static>` [INFO] [stdout] `Arc` implements `Responder<'r, 'static>` [INFO] [stdout] and 39 others [INFO] [stdout] = note: required for `Result, AppError>` to implement `Responder<'_, '_>` [INFO] [stdout] note: required by a bound in `route::handler::, Status, (rocket::Data<'o>, Status)>>::from` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket-0.5.1/src/route/handler.rs:188:20 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn from>(req: &'r Request<'_>, responder: R) -> Outcome<'r> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `route::handler::, Status, (Data<'o>, Status)>>::from` [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AppError: Responder<'_, '_>` is not satisfied [INFO] [stdout] --> backend/holocrypt_api/src/routes/markers.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 29 | #[post("/markers", data = "")] [INFO] [stdout] | -------------------------------------- in this attribute macro expansion [INFO] [stdout] ... [INFO] [stdout] 35 | ) -> Result, AppError> { [INFO] [stdout] | ^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Responder<'_, '_>` is not implemented for `AppError` [INFO] [stdout] --> backend/holocrypt_api/src/error.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AppError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Responder<'r, 'o>`: [INFO] [stdout] `&'o [u8]` implements `Responder<'r, 'o>` [INFO] [stdout] `&'o str` implements `Responder<'r, 'o>` [INFO] [stdout] `()` implements `Responder<'r, 'static>` [INFO] [stdout] `(ContentType, R)` implements `Responder<'r, 'o>` [INFO] [stdout] `(Status, R)` implements `Responder<'r, 'o>` [INFO] [stdout] `Accepted` implements `Responder<'r, 'o>` [INFO] [stdout] `Arc<[u8]>` implements `Responder<'r, 'static>` [INFO] [stdout] `Arc` implements `Responder<'r, 'static>` [INFO] [stdout] and 39 others [INFO] [stdout] = note: required for `Result, AppError>` to implement `Responder<'_, '_>` [INFO] [stdout] note: required by a bound in `route::handler::, Status, (rocket::Data<'o>, Status)>>::from` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket-0.5.1/src/route/handler.rs:188:20 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn from>(req: &'r Request<'_>, responder: R) -> Outcome<'r> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `route::handler::, Status, (Data<'o>, Status)>>::from` [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AppError: Responder<'_, '_>` is not satisfied [INFO] [stdout] --> backend/holocrypt_api/src/routes/markers.rs:81:6 [INFO] [stdout] | [INFO] [stdout] 75 | #[get("/markers/")] [INFO] [stdout] | ----------------------- in this attribute macro expansion [INFO] [stdout] ... [INFO] [stdout] 81 | ) -> Result, AppError> { [INFO] [stdout] | ^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Responder<'_, '_>` is not implemented for `AppError` [INFO] [stdout] --> backend/holocrypt_api/src/error.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AppError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Responder<'r, 'o>`: [INFO] [stdout] `&'o [u8]` implements `Responder<'r, 'o>` [INFO] [stdout] `&'o str` implements `Responder<'r, 'o>` [INFO] [stdout] `()` implements `Responder<'r, 'static>` [INFO] [stdout] `(ContentType, R)` implements `Responder<'r, 'o>` [INFO] [stdout] `(Status, R)` implements `Responder<'r, 'o>` [INFO] [stdout] `Accepted` implements `Responder<'r, 'o>` [INFO] [stdout] `Arc<[u8]>` implements `Responder<'r, 'static>` [INFO] [stdout] `Arc` implements `Responder<'r, 'static>` [INFO] [stdout] and 39 others [INFO] [stdout] = note: required for `Result, AppError>` to implement `Responder<'_, '_>` [INFO] [stdout] note: required by a bound in `route::handler::, Status, (rocket::Data<'o>, Status)>>::from` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket-0.5.1/src/route/handler.rs:188:20 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn from>(req: &'r Request<'_>, responder: R) -> Outcome<'r> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `route::handler::, Status, (Data<'o>, Status)>>::from` [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Failure` found for enum `Outcome` in the current scope [INFO] [stdout] --> backend/holocrypt_api/src/middleware.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | Err(_) => Outcome::Failure((Status::Unauthorized, ())), [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `Outcome<_, (Status, _), Status>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Failure` found for enum `Outcome` in the current scope [INFO] [stdout] --> backend/holocrypt_api/src/middleware.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | Outcome::Failure((Status::Unauthorized, ())) [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `Outcome<_, (Status, _), Status>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Failure` found for enum `Outcome` in the current scope [INFO] [stdout] --> backend/holocrypt_api/src/security.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | None => Outcome::Failure((Status::BadRequest, ())), [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `Outcome<_, _, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Outcome<_, _, _>` consider using one of the following associated functions: [INFO] [stdout] route::handler::, Status, (rocket::Data<'o>, Status)>>::from [INFO] [stdout] route::handler::, Status, (rocket::Data<'o>, Status)>>::try_from [INFO] [stdout] route::handler::, Status, (rocket::Data<'o>, Status)>>::error [INFO] [stdout] route::handler::, Status, (rocket::Data<'o>, Status)>>::forward [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket-0.5.1/src/route/handler.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn from>(req: &'r Request<'_>, responder: R) -> Outcome<'r> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_from(req: &'r Request<'_>, result: Result) -> Outcome<'r> [INFO] [stdout] 212 | | where R: Responder<'r, 'o>, E: std::fmt::Debug [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn error(code: Status) -> Outcome<'r> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn forward(data: Data<'r>, status: Status) -> Outcome<'r> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> backend/holocrypt_api/src/security_fairing.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | async fn on_response(&self, request: &Request<'_>, response: &mut Response<'_>) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0195, E0277, E0422, E0425, E0599, E0616. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0195`. [INFO] [stdout] [INFO] [stderr] error: could not compile `holocrypt_api` (bin "holocrypt_api") due to 29 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5b4140f5f38c9b7f0d778d7a03b4b0496f02363eab863f8a34b8147a7a8559bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b4140f5f38c9b7f0d778d7a03b4b0496f02363eab863f8a34b8147a7a8559bf", kill_on_drop: false }` [INFO] [stdout] 5b4140f5f38c9b7f0d778d7a03b4b0496f02363eab863f8a34b8147a7a8559bf