[INFO] cloning repository https://github.com/lucalewin/sanctum [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lucalewin/sanctum" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucalewin%2Fsanctum", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucalewin%2Fsanctum'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3754671c21f29d99022c62fcca1cb6610bc849e4 [INFO] checking lucalewin/sanctum/3754671c21f29d99022c62fcca1cb6610bc849e4 against master#e22dab387f6b4f6a87dfc54ac2f6013dddb41e68 for pr-136776-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucalewin%2Fsanctum" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lucalewin/sanctum [INFO] finished tweaking git repo https://github.com/lucalewin/sanctum [INFO] tweaked toml for git repo https://github.com/lucalewin/sanctum written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lucalewin/sanctum on toolchain e22dab387f6b4f6a87dfc54ac2f6013dddb41e68 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lucalewin/sanctum 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" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-2-tc1/source/sanctum/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-properties v0.1.4 [INFO] [stderr] Downloaded whoami v1.6.1 [INFO] [stderr] Downloaded owo-colors v4.2.3 [INFO] [stderr] Downloaded indoc v2.0.7 [INFO] [stderr] Downloaded num-bigint-dig v0.8.6 [INFO] [stderr] Downloaded backon v1.6.0 [INFO] [stderr] Downloaded axum-extra v0.12.1 [INFO] [stderr] Downloaded jsonwebtoken v10.2.0 [INFO] [stderr] Downloaded voprf v0.5.0 [INFO] [stderr] Downloaded opaque-ke v4.0.1 [INFO] [stderr] Downloaded unicode-normalization v0.1.25 [INFO] [stderr] Downloaded redis v0.32.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2190e4db263c534350bccaf6f7514a9ad1512cd92362ff2be83daa1c446629e4 [INFO] running `Command { std: "docker" "start" "-a" "2190e4db263c534350bccaf6f7514a9ad1512cd92362ff2be83daa1c446629e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2190e4db263c534350bccaf6f7514a9ad1512cd92362ff2be83daa1c446629e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2190e4db263c534350bccaf6f7514a9ad1512cd92362ff2be83daa1c446629e4", kill_on_drop: false }` [INFO] [stdout] 2190e4db263c534350bccaf6f7514a9ad1512cd92362ff2be83daa1c446629e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3795a7b9404545d7e92e0370dfb7e1a9e0cea18bfc98aa169fd15b726956a766 [INFO] running `Command { std: "docker" "start" "-a" "3795a7b9404545d7e92e0370dfb7e1a9e0cea18bfc98aa169fd15b726956a766", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/sanctum/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling aws-lc-sys v0.32.3 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Checking toml_datetime v0.7.3 [INFO] [stderr] Checking serde_spanned v1.0.3 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking toml_writer v1.0.4 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling owo-colors v4.2.3 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Compiling color-spantrace v0.3.0 [INFO] [stderr] Compiling aws-lc-rs v1.14.1 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking gimli v0.32.3 [INFO] [stderr] Compiling instability v0.3.9 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking toml_parser v1.0.4 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Checking toml v0.9.8 [INFO] [stderr] Checking backon v1.6.0 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking pem v3.0.6 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling derive-where v1.6.0 [INFO] [stderr] Checking addr2line v0.25.1 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking axum-core v0.5.5 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking serdect v0.2.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking rustls-pki-types v1.13.0 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking secrecy v0.10.3 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking headers v0.4.1 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Checking tracing-error v0.2.1 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking color-eyre v0.6.5 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking voprf v0.5.0 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking ratatui v0.29.0 [INFO] [stderr] Checking opaque-ke v4.0.1 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking jsonwebtoken v10.2.0 [INFO] [stderr] Checking sanctum-shared v0.1.0 (/opt/rustwide/workdir/sanctum-shared) [INFO] [stderr] Checking hyper v1.8.0 [INFO] [stderr] Checking redis v0.32.7 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking axum v0.8.6 [INFO] [stderr] Checking reqwest v0.12.24 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking sanctum-client v0.1.0 (/opt/rustwide/workdir/sanctum-client) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> sanctum-client/src/client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Duration; [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: `tokio::time::sleep` [INFO] [stdout] --> sanctum-client/src/client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> sanctum-client/src/crypto.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | AeadCore, ChaCha20Poly1305, Key, KeyInit, Nonce, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> sanctum-client/src/client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Duration; [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: `tokio::time::sleep` [INFO] [stdout] --> sanctum-client/src/client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> sanctum-client/src/crypto.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | AeadCore, ChaCha20Poly1305, Key, KeyInit, Nonce, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> sanctum-client/src/client.rs:409:13 [INFO] [stdout] | [INFO] [stdout] 409 | base64::encode(data) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> sanctum-client/src/client.rs:413:13 [INFO] [stdout] | [INFO] [stdout] 413 | base64::decode(encoded).map_err(|_| Error::InvalidBase64) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> sanctum-client/src/client.rs:409:13 [INFO] [stdout] | [INFO] [stdout] 409 | base64::encode(data) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> sanctum-client/src/client.rs:413:13 [INFO] [stdout] | [INFO] [stdout] 413 | base64::decode(encoded).map_err(|_| Error::InvalidBase64) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api_client` [INFO] [stdout] --> sanctum-client/src/client.rs:386:18 [INFO] [stdout] | [INFO] [stdout] 386 | let Some(api_client) = &self.api_client else { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api_client` [INFO] [stdout] --> sanctum-client/src/client.rs:394:18 [INFO] [stdout] | [INFO] [stdout] 394 | let Some(api_client) = &self.api_client else { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api_client` [INFO] [stdout] --> sanctum-client/src/client.rs:386:18 [INFO] [stdout] | [INFO] [stdout] 386 | let Some(api_client) = &self.api_client else { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api_client` [INFO] [stdout] --> sanctum-client/src/client.rs:394:18 [INFO] [stdout] | [INFO] [stdout] 394 | let Some(api_client) = &self.api_client else { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_sync` is never read [INFO] [stdout] --> sanctum-client/src/client.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct UnlockedClient { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 87 | last_sync: Mutex>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `b64_decode` is never used [INFO] [stdout] --> sanctum-client/src/client.rs:412:4 [INFO] [stdout] | [INFO] [stdout] 412 | fn b64_decode(encoded: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_sync` is never read [INFO] [stdout] --> sanctum-client/src/client.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct UnlockedClient { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 87 | last_sync: Mutex>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `b64_decode` is never used [INFO] [stdout] --> sanctum-client/src/client.rs:412:4 [INFO] [stdout] | [INFO] [stdout] 412 | fn b64_decode(encoded: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking sanctum-tui v0.1.0 (/opt/rustwide/workdir/sanctum-tui) [INFO] [stderr] Checking axum-extra v0.12.1 [INFO] [stderr] Checking sanctum v0.1.0 (/opt/rustwide/workdir/sanctum) [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> sanctum/src/auth.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | let user = sqlx::query!("SELECT id FROM users WHERE email = $1", payload.email) [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` (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] --> sanctum/src/auth.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | / sqlx::query!( [INFO] [stdout] 75 | | "INSERT INTO users (email, salt, password_file) VALUES ($1, $2, $3)", [INFO] [stdout] 76 | | normalize_email(&payload.email), [INFO] [stdout] 77 | | payload.salt, [INFO] [stdout] 78 | | encoded_password_file [INFO] [stdout] 79 | | ) [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` (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] --> sanctum/src/auth.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | let user = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 96 | | "SELECT id, email, password_file FROM users WHERE email = $1", [INFO] [stdout] 97 | | payload.email [INFO] [stdout] 98 | | ) [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` (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] --> sanctum/src/auth.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 137 | let user = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 138 | | "SELECT * FROM users WHERE email = $1", [INFO] [stdout] 139 | | normalize_email(&payload.email) [INFO] [stdout] 140 | | ) [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` (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] --> sanctum/src/middleware.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | let vault = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 88 | | Vault, [INFO] [stdout] 89 | | "SELECT * FROM vaults WHERE id = $1 AND user_id = $2", [INFO] [stdout] 90 | | vault_id, [INFO] [stdout] 91 | | user_id [INFO] [stdout] 92 | | ) [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] --> sanctum/src/vault.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | / sqlx::query_as!( [INFO] [stdout] 59 | | Vault, [INFO] [stdout] 60 | | r#" [INFO] [stdout] 61 | | SELECT * FROM vaults [INFO] [stdout] ... | [INFO] [stdout] 66 | | since [INFO] [stdout] 67 | | ) [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] --> sanctum/src/vault.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | / sqlx::query_as!( [INFO] [stdout] 73 | | Vault, [INFO] [stdout] 74 | | r#" [INFO] [stdout] 75 | | SELECT * FROM vaults [INFO] [stdout] ... | [INFO] [stdout] 78 | | user_id [INFO] [stdout] 79 | | ) [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] --> sanctum/src/vault.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | let vault = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 100 | | Vault, [INFO] [stdout] 101 | | "INSERT INTO vaults [INFO] [stdout] 102 | | (user_id, encrypted_name, encrypted_vault_key) [INFO] [stdout] ... | [INFO] [stdout] 106 | | payload.encrypted_vault_key [INFO] [stdout] 107 | | ) [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] --> sanctum/src/vault.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | let vault = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 123 | | Vault, [INFO] [stdout] 124 | | "SELECT * FROM vaults WHERE id = $1 AND user_id = $2", [INFO] [stdout] 125 | | vault_id, [INFO] [stdout] 126 | | user_id [INFO] [stdout] 127 | | ) [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] --> sanctum/src/vault.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | let existing = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 158 | | Vault, [INFO] [stdout] 159 | | "SELECT * FROM vaults WHERE id = $1 FOR UPDATE", [INFO] [stdout] 160 | | vault_id [INFO] [stdout] 161 | | ) [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] --> sanctum/src/vault.rs:186:23 [INFO] [stdout] | [INFO] [stdout] 186 | let updated = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 187 | | Vault, [INFO] [stdout] 188 | | "UPDATE vaults [INFO] [stdout] 189 | | SET [INFO] [stdout] ... | [INFO] [stdout] 197 | | vault_id [INFO] [stdout] 198 | | ) [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] --> sanctum/src/vault.rs:209:19 [INFO] [stdout] | [INFO] [stdout] 209 | let created = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 210 | | Vault, [INFO] [stdout] 211 | | "INSERT INTO vaults [INFO] [stdout] 212 | | (id, user_id, encrypted_name, encrypted_vault_key) [INFO] [stdout] ... | [INFO] [stdout] 218 | | payload.encrypted_vault_key [INFO] [stdout] 219 | | ) [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] --> sanctum/src/vault.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | / sqlx::query!( [INFO] [stdout] 236 | | "DELETE FROM vaults WHERE id = $1 AND user_id = $2", [INFO] [stdout] 237 | | vault_id, [INFO] [stdout] 238 | | user_id [INFO] [stdout] 239 | | ) [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` (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] --> sanctum/src/vault.rs:255:19 [INFO] [stdout] | [INFO] [stdout] 255 | let records = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 256 | | Record, [INFO] [stdout] 257 | | "SELECT * FROM records WHERE vault_id = $1", [INFO] [stdout] 258 | | vault.id, [INFO] [stdout] 259 | | ) [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] --> sanctum/src/vault.rs:272:18 [INFO] [stdout] | [INFO] [stdout] 272 | let record = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 273 | | Record, [INFO] [stdout] 274 | | "INSERT INTO records (vault_id, encrypted_record_key, encrypted_data_blob) VALUES ($1, $2, $3) RETURNING *", [INFO] [stdout] 275 | | vault.id, [INFO] [stdout] 276 | | payload.encrypted_record_key, [INFO] [stdout] 277 | | payload.encrypted_data_blob [INFO] [stdout] 278 | | ) [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] --> sanctum/src/vault.rs:291:18 [INFO] [stdout] | [INFO] [stdout] 291 | let record = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 292 | | Record, [INFO] [stdout] 293 | | "SELECT * FROM records WHERE vault_id = $1 AND id = $2", [INFO] [stdout] 294 | | vault.id, [INFO] [stdout] 295 | | record_id [INFO] [stdout] 296 | | ) [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] --> sanctum/src/vault.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | / sqlx::query!( [INFO] [stdout] 319 | | "DELETE FROM records WHERE vault_id = $1 AND id = $2", [INFO] [stdout] 320 | | vault.id, [INFO] [stdout] 321 | | record_id [INFO] [stdout] 322 | | ) [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/middleware.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | let vault = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 88 | | Vault, [INFO] [stdout] 89 | | "SELECT * FROM vaults WHERE id = $1 AND user_id = $2", [INFO] [stdout] 90 | | vault_id, [INFO] [stdout] ... | [INFO] [stdout] 93 | | .fetch_optional(&state.db) [INFO] [stdout] 94 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/auth.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | let user = sqlx::query!("SELECT id FROM users WHERE email = $1", payload.email) [INFO] [stdout] | ________________^ [INFO] [stdout] 37 | | .fetch_optional(&state.db) [INFO] [stdout] 38 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/auth.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | / sqlx::query!( [INFO] [stdout] 75 | | "INSERT INTO users (email, salt, password_file) VALUES ($1, $2, $3)", [INFO] [stdout] 76 | | normalize_email(&payload.email), [INFO] [stdout] 77 | | payload.salt, [INFO] [stdout] ... | [INFO] [stdout] 80 | | .execute(&state.db) [INFO] [stdout] 81 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/auth.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | let user = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 96 | | "SELECT id, email, password_file FROM users WHERE email = $1", [INFO] [stdout] 97 | | payload.email [INFO] [stdout] ... | [INFO] [stdout] 100 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/auth.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 137 | let user = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 138 | | "SELECT * FROM users WHERE email = $1", [INFO] [stdout] 139 | | normalize_email(&payload.email) [INFO] [stdout] ... | [INFO] [stdout] 142 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/vault.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let result = if let Some(timestamp) = params.since { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | let vaults = result.map_err(|e| { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 52 | let result: /* Type */ = if let Some(timestamp) = params.since { [INFO] [stdout] | ++++++++++++ [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] --> sanctum/src/auth.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | let user = sqlx::query!("SELECT id FROM users WHERE email = $1", payload.email) [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` (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] --> sanctum/src/auth.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | / sqlx::query!( [INFO] [stdout] 75 | | "INSERT INTO users (email, salt, password_file) VALUES ($1, $2, $3)", [INFO] [stdout] 76 | | normalize_email(&payload.email), [INFO] [stdout] 77 | | payload.salt, [INFO] [stdout] 78 | | encoded_password_file [INFO] [stdout] 79 | | ) [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` (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] --> sanctum/src/auth.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | let user = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 96 | | "SELECT id, email, password_file FROM users WHERE email = $1", [INFO] [stdout] 97 | | payload.email [INFO] [stdout] 98 | | ) [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` (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] --> sanctum/src/auth.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 137 | let user = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 138 | | "SELECT * FROM users WHERE email = $1", [INFO] [stdout] 139 | | normalize_email(&payload.email) [INFO] [stdout] 140 | | ) [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` (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] --> sanctum/src/middleware.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | let vault = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 88 | | Vault, [INFO] [stdout] 89 | | "SELECT * FROM vaults WHERE id = $1 AND user_id = $2", [INFO] [stdout] 90 | | vault_id, [INFO] [stdout] 91 | | user_id [INFO] [stdout] 92 | | ) [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[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/vault.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | let vault = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 100 | | Vault, [INFO] [stdout] 101 | | "INSERT INTO vaults [INFO] [stdout] 102 | | (user_id, encrypted_name, encrypted_vault_key) [INFO] [stdout] ... | [INFO] [stdout] 108 | | .fetch_one(&state.db) [INFO] [stdout] 109 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/vault.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | let vault = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 123 | | Vault, [INFO] [stdout] 124 | | "SELECT * FROM vaults WHERE id = $1 AND user_id = $2", [INFO] [stdout] 125 | | vault_id, [INFO] [stdout] ... | [INFO] [stdout] 128 | | .fetch_optional(&state.db) [INFO] [stdout] 129 | | .await [INFO] [stdout] | |__________^ cannot infer type [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] --> sanctum/src/vault.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | / sqlx::query_as!( [INFO] [stdout] 59 | | Vault, [INFO] [stdout] 60 | | r#" [INFO] [stdout] 61 | | SELECT * FROM vaults [INFO] [stdout] ... | [INFO] [stdout] 66 | | since [INFO] [stdout] 67 | | ) [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] --> sanctum/src/vault.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | / sqlx::query_as!( [INFO] [stdout] 73 | | Vault, [INFO] [stdout] 74 | | r#" [INFO] [stdout] 75 | | SELECT * FROM vaults [INFO] [stdout] ... | [INFO] [stdout] 78 | | user_id [INFO] [stdout] 79 | | ) [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[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/vault.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | let existing = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 158 | | Vault, [INFO] [stdout] 159 | | "SELECT * FROM vaults WHERE id = $1 FOR UPDATE", [INFO] [stdout] 160 | | vault_id [INFO] [stdout] 161 | | ) [INFO] [stdout] 162 | | .fetch_optional(&mut *tx) [INFO] [stdout] 163 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/vault.rs:186:23 [INFO] [stdout] | [INFO] [stdout] 186 | let updated = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 187 | | Vault, [INFO] [stdout] 188 | | "UPDATE vaults [INFO] [stdout] 189 | | SET [INFO] [stdout] ... | [INFO] [stdout] 199 | | .fetch_one(&mut *tx) [INFO] [stdout] 200 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/vault.rs:209:19 [INFO] [stdout] | [INFO] [stdout] 209 | let created = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 210 | | Vault, [INFO] [stdout] 211 | | "INSERT INTO vaults [INFO] [stdout] 212 | | (id, user_id, encrypted_name, encrypted_vault_key) [INFO] [stdout] ... | [INFO] [stdout] 220 | | .fetch_one(&mut *tx) [INFO] [stdout] 221 | | .await [INFO] [stdout] | |__________^ cannot infer type [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] --> sanctum/src/vault.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | let vault = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 100 | | Vault, [INFO] [stdout] 101 | | "INSERT INTO vaults [INFO] [stdout] 102 | | (user_id, encrypted_name, encrypted_vault_key) [INFO] [stdout] ... | [INFO] [stdout] 106 | | payload.encrypted_vault_key [INFO] [stdout] 107 | | ) [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] --> sanctum/src/vault.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | let vault = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 123 | | Vault, [INFO] [stdout] 124 | | "SELECT * FROM vaults WHERE id = $1 AND user_id = $2", [INFO] [stdout] 125 | | vault_id, [INFO] [stdout] 126 | | user_id [INFO] [stdout] 127 | | ) [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] --> sanctum/src/vault.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | let existing = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 158 | | Vault, [INFO] [stdout] 159 | | "SELECT * FROM vaults WHERE id = $1 FOR UPDATE", [INFO] [stdout] 160 | | vault_id [INFO] [stdout] 161 | | ) [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] --> sanctum/src/vault.rs:186:23 [INFO] [stdout] | [INFO] [stdout] 186 | let updated = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 187 | | Vault, [INFO] [stdout] 188 | | "UPDATE vaults [INFO] [stdout] 189 | | SET [INFO] [stdout] ... | [INFO] [stdout] 197 | | vault_id [INFO] [stdout] 198 | | ) [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] --> sanctum/src/vault.rs:209:19 [INFO] [stdout] | [INFO] [stdout] 209 | let created = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 210 | | Vault, [INFO] [stdout] 211 | | "INSERT INTO vaults [INFO] [stdout] 212 | | (id, user_id, encrypted_name, encrypted_vault_key) [INFO] [stdout] ... | [INFO] [stdout] 218 | | payload.encrypted_vault_key [INFO] [stdout] 219 | | ) [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] --> sanctum/src/vault.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | / sqlx::query!( [INFO] [stdout] 236 | | "DELETE FROM vaults WHERE id = $1 AND user_id = $2", [INFO] [stdout] 237 | | vault_id, [INFO] [stdout] 238 | | user_id [INFO] [stdout] 239 | | ) [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/vault.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | / sqlx::query!( [INFO] [stdout] 236 | | "DELETE FROM vaults WHERE id = $1 AND user_id = $2", [INFO] [stdout] 237 | | vault_id, [INFO] [stdout] 238 | | user_id [INFO] [stdout] 239 | | ) [INFO] [stdout] 240 | | .execute(&state.db) [INFO] [stdout] 241 | | .await [INFO] [stdout] | |__________^ cannot infer type [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] --> sanctum/src/vault.rs:255:19 [INFO] [stdout] | [INFO] [stdout] 255 | let records = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 256 | | Record, [INFO] [stdout] 257 | | "SELECT * FROM records WHERE vault_id = $1", [INFO] [stdout] 258 | | vault.id, [INFO] [stdout] 259 | | ) [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] --> sanctum/src/vault.rs:272:18 [INFO] [stdout] | [INFO] [stdout] 272 | let record = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 273 | | Record, [INFO] [stdout] 274 | | "INSERT INTO records (vault_id, encrypted_record_key, encrypted_data_blob) VALUES ($1, $2, $3) RETURNING *", [INFO] [stdout] 275 | | vault.id, [INFO] [stdout] 276 | | payload.encrypted_record_key, [INFO] [stdout] 277 | | payload.encrypted_data_blob [INFO] [stdout] 278 | | ) [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] --> sanctum/src/vault.rs:291:18 [INFO] [stdout] | [INFO] [stdout] 291 | let record = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 292 | | Record, [INFO] [stdout] 293 | | "SELECT * FROM records WHERE vault_id = $1 AND id = $2", [INFO] [stdout] 294 | | vault.id, [INFO] [stdout] 295 | | record_id [INFO] [stdout] 296 | | ) [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] --> sanctum/src/vault.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | / sqlx::query!( [INFO] [stdout] 319 | | "DELETE FROM records WHERE vault_id = $1 AND id = $2", [INFO] [stdout] 320 | | vault.id, [INFO] [stdout] 321 | | record_id [INFO] [stdout] 322 | | ) [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/vault.rs:255:19 [INFO] [stdout] | [INFO] [stdout] 255 | let records = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 256 | | Record, [INFO] [stdout] 257 | | "SELECT * FROM records WHERE vault_id = $1", [INFO] [stdout] 258 | | vault.id, [INFO] [stdout] 259 | | ) [INFO] [stdout] 260 | | .fetch_all(&state.db) [INFO] [stdout] 261 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/vault.rs:272:18 [INFO] [stdout] | [INFO] [stdout] 272 | let record = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 273 | | Record, [INFO] [stdout] 274 | | "INSERT INTO records (vault_id, encrypted_record_key, encrypted_data_blob) VALUES ($1, $2, $3) RETURNING *", [INFO] [stdout] 275 | | vault.id, [INFO] [stdout] ... | [INFO] [stdout] 279 | | .fetch_one(&state.db) [INFO] [stdout] 280 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/vault.rs:291:18 [INFO] [stdout] | [INFO] [stdout] 291 | let record = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 292 | | Record, [INFO] [stdout] 293 | | "SELECT * FROM records WHERE vault_id = $1 AND id = $2", [INFO] [stdout] 294 | | vault.id, [INFO] [stdout] ... | [INFO] [stdout] 297 | | .fetch_optional(&state.db) [INFO] [stdout] 298 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/vault.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | / sqlx::query!( [INFO] [stdout] 319 | | "DELETE FROM records WHERE vault_id = $1 AND id = $2", [INFO] [stdout] 320 | | vault.id, [INFO] [stdout] 321 | | record_id [INFO] [stdout] 322 | | ) [INFO] [stdout] 323 | | .execute(&state.db) [INFO] [stdout] 324 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/middleware.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | let vault = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 88 | | Vault, [INFO] [stdout] 89 | | "SELECT * FROM vaults WHERE id = $1 AND user_id = $2", [INFO] [stdout] 90 | | vault_id, [INFO] [stdout] ... | [INFO] [stdout] 93 | | .fetch_optional(&state.db) [INFO] [stdout] 94 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/auth.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | let user = sqlx::query!("SELECT id FROM users WHERE email = $1", payload.email) [INFO] [stdout] | ________________^ [INFO] [stdout] 37 | | .fetch_optional(&state.db) [INFO] [stdout] 38 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/auth.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | / sqlx::query!( [INFO] [stdout] 75 | | "INSERT INTO users (email, salt, password_file) VALUES ($1, $2, $3)", [INFO] [stdout] 76 | | normalize_email(&payload.email), [INFO] [stdout] 77 | | payload.salt, [INFO] [stdout] ... | [INFO] [stdout] 80 | | .execute(&state.db) [INFO] [stdout] 81 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/auth.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | let user = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 96 | | "SELECT id, email, password_file FROM users WHERE email = $1", [INFO] [stdout] 97 | | payload.email [INFO] [stdout] ... | [INFO] [stdout] 100 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/auth.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 137 | let user = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 138 | | "SELECT * FROM users WHERE email = $1", [INFO] [stdout] 139 | | normalize_email(&payload.email) [INFO] [stdout] ... | [INFO] [stdout] 142 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/vault.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let result = if let Some(timestamp) = params.since { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | let vaults = result.map_err(|e| { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 52 | let result: /* Type */ = if let Some(timestamp) = params.since { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/vault.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | let vault = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 100 | | Vault, [INFO] [stdout] 101 | | "INSERT INTO vaults [INFO] [stdout] 102 | | (user_id, encrypted_name, encrypted_vault_key) [INFO] [stdout] ... | [INFO] [stdout] 108 | | .fetch_one(&state.db) [INFO] [stdout] 109 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/vault.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | let vault = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 123 | | Vault, [INFO] [stdout] 124 | | "SELECT * FROM vaults WHERE id = $1 AND user_id = $2", [INFO] [stdout] 125 | | vault_id, [INFO] [stdout] ... | [INFO] [stdout] 128 | | .fetch_optional(&state.db) [INFO] [stdout] 129 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/vault.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | let existing = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 158 | | Vault, [INFO] [stdout] 159 | | "SELECT * FROM vaults WHERE id = $1 FOR UPDATE", [INFO] [stdout] 160 | | vault_id [INFO] [stdout] 161 | | ) [INFO] [stdout] 162 | | .fetch_optional(&mut *tx) [INFO] [stdout] 163 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/vault.rs:186:23 [INFO] [stdout] | [INFO] [stdout] 186 | let updated = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 187 | | Vault, [INFO] [stdout] 188 | | "UPDATE vaults [INFO] [stdout] 189 | | SET [INFO] [stdout] ... | [INFO] [stdout] 199 | | .fetch_one(&mut *tx) [INFO] [stdout] 200 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/vault.rs:209:19 [INFO] [stdout] | [INFO] [stdout] 209 | let created = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 210 | | Vault, [INFO] [stdout] 211 | | "INSERT INTO vaults [INFO] [stdout] 212 | | (id, user_id, encrypted_name, encrypted_vault_key) [INFO] [stdout] ... | [INFO] [stdout] 220 | | .fetch_one(&mut *tx) [INFO] [stdout] 221 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/vault.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | / sqlx::query!( [INFO] [stdout] 236 | | "DELETE FROM vaults WHERE id = $1 AND user_id = $2", [INFO] [stdout] 237 | | vault_id, [INFO] [stdout] 238 | | user_id [INFO] [stdout] 239 | | ) [INFO] [stdout] 240 | | .execute(&state.db) [INFO] [stdout] 241 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/vault.rs:255:19 [INFO] [stdout] | [INFO] [stdout] 255 | let records = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 256 | | Record, [INFO] [stdout] 257 | | "SELECT * FROM records WHERE vault_id = $1", [INFO] [stdout] 258 | | vault.id, [INFO] [stdout] 259 | | ) [INFO] [stdout] 260 | | .fetch_all(&state.db) [INFO] [stdout] 261 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/vault.rs:272:18 [INFO] [stdout] | [INFO] [stdout] 272 | let record = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 273 | | Record, [INFO] [stdout] 274 | | "INSERT INTO records (vault_id, encrypted_record_key, encrypted_data_blob) VALUES ($1, $2, $3) RETURNING *", [INFO] [stdout] 275 | | vault.id, [INFO] [stdout] ... | [INFO] [stdout] 279 | | .fetch_one(&state.db) [INFO] [stdout] 280 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/vault.rs:291:18 [INFO] [stdout] | [INFO] [stdout] 291 | let record = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 292 | | Record, [INFO] [stdout] 293 | | "SELECT * FROM records WHERE vault_id = $1 AND id = $2", [INFO] [stdout] 294 | | vault.id, [INFO] [stdout] ... | [INFO] [stdout] 297 | | .fetch_optional(&state.db) [INFO] [stdout] 298 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> sanctum/src/vault.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | / sqlx::query!( [INFO] [stdout] 319 | | "DELETE FROM records WHERE vault_id = $1 AND id = $2", [INFO] [stdout] 320 | | vault.id, [INFO] [stdout] 321 | | record_id [INFO] [stdout] 322 | | ) [INFO] [stdout] 323 | | .execute(&state.db) [INFO] [stdout] 324 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sanctum` (bin "sanctum") due to 33 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sanctum` (bin "sanctum" test) due to 33 previous errors [INFO] running `Command { std: "docker" "inspect" "3795a7b9404545d7e92e0370dfb7e1a9e0cea18bfc98aa169fd15b726956a766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3795a7b9404545d7e92e0370dfb7e1a9e0cea18bfc98aa169fd15b726956a766", kill_on_drop: false }` [INFO] [stdout] 3795a7b9404545d7e92e0370dfb7e1a9e0cea18bfc98aa169fd15b726956a766