[INFO] cloning repository https://github.com/rpask00/lockdown-service [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rpask00/lockdown-service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frpask00%2Flockdown-service", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frpask00%2Flockdown-service'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71eef4059f6834d611a737b612188559c5f7b269 [INFO] checking rpask00/lockdown-service against master#c3def263a44e07e09ae6d57abfc8650227fb4972 for pr-118833 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frpask00%2Flockdown-service" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rpask00/lockdown-service on toolchain c3def263a44e07e09ae6d57abfc8650227fb4972 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rpask00/lockdown-service [INFO] finished tweaking git repo https://github.com/rpask00/lockdown-service [INFO] tweaked toml for git repo https://github.com/rpask00/lockdown-service written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rpask00/lockdown-service 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" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking rpask00/lockdown-service against try#29596578cb5035fa2b7ac7fbdfea23fab38836e7 for pr-118833 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frpask00%2Flockdown-service" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rpask00/lockdown-service on toolchain 29596578cb5035fa2b7ac7fbdfea23fab38836e7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+29596578cb5035fa2b7ac7fbdfea23fab38836e7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rpask00/lockdown-service [INFO] finished tweaking git repo https://github.com/rpask00/lockdown-service [INFO] tweaked toml for git repo https://github.com/rpask00/lockdown-service written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rpask00/lockdown-service 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" "+29596578cb5035fa2b7ac7fbdfea23fab38836e7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 rocket-multipart-form-data v0.10.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+29596578cb5035fa2b7ac7fbdfea23fab38836e7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef21c7cdc64754359f68c890d7b9aae93d5c28aec441c423d247b09ed3c733bc [INFO] running `Command { std: "docker" "start" "-a" "ef21c7cdc64754359f68c890d7b9aae93d5c28aec441c423d247b09ed3c733bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef21c7cdc64754359f68c890d7b9aae93d5c28aec441c423d247b09ed3c733bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef21c7cdc64754359f68c890d7b9aae93d5c28aec441c423d247b09ed3c733bc", kill_on_drop: false }` [INFO] [stdout] ef21c7cdc64754359f68c890d7b9aae93d5c28aec441c423d247b09ed3c733bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+29596578cb5035fa2b7ac7fbdfea23fab38836e7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ecd66b83a27fa66cb653e16229da1141a5f5eac0e6d8c3f9dfd8abe5e418c3e [INFO] running `Command { std: "docker" "start" "-a" "6ecd66b83a27fa66cb653e16229da1141a5f5eac0e6d8c3f9dfd8abe5e418c3e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling time-macros v0.2.14 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling yansi v1.0.0-rc.1 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.30 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking deranged v0.3.8 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking base64 v0.21.3 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling ref-cast v1.0.20 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling time v0.3.28 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Checking polyval v0.6.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hkdf v0.12.3 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Compiling uncased v0.9.9 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling rustix v0.38.11 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Checking ghash v0.5.0 [INFO] [stderr] Checking aes v0.8.3 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking winnow v0.5.15 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Checking aes-gcm v0.10.2 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Checking aho-corasick v1.0.5 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling figment v0.10.10 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Compiling crc-catalog v2.2.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Compiling webpki v0.22.1 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.3 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling sqlformat v0.2.1 [INFO] [stderr] Compiling stringprep v0.1.3 [INFO] [stderr] Compiling md-5 v0.10.5 [INFO] [stderr] Compiling rocket v0.5.0-rc.3 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling pear_codegen v0.2.7 [INFO] [stderr] Compiling ref-cast-impl v1.0.20 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling uuid v1.4.1 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling sqlx-rt v0.6.3 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking pear v0.2.7 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Checking zeroize v1.6.0 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking bcrypt v0.15.0 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.3 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.3 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking serde_spanned v0.6.3 [INFO] [stderr] Checking toml_datetime v0.6.3 [INFO] [stderr] Checking ubyte v0.10.3 [INFO] [stderr] Checking chrono v0.4.30 [INFO] [stderr] Checking toml_edit v0.19.14 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking sqlx-core v0.6.3 [INFO] [stderr] Checking jsonwebtoken v8.3.0 [INFO] [stderr] Checking toml v0.7.6 [INFO] [stderr] Compiling sqlx-macros v0.6.3 [INFO] [stderr] Checking sqlx v0.6.3 [INFO] [stderr] Checking rocket-multipart-form-data v0.10.6 [INFO] [stderr] Checking lockdown-service v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/users_dao.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | let record = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 51 | | r#" [INFO] [stdout] 52 | | SELECT * FROM users WHERE id = $1 [INFO] [stdout] 53 | | "#, [INFO] [stdout] 54 | | id [INFO] [stdout] 55 | | ).fetch_one(&self.db) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/users_dao.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | let record = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 78 | | r#" [INFO] [stdout] 79 | | INSERT INTO users ( username, first_name, last_name,password, email, salt ) [INFO] [stdout] 80 | | VALUES ( $1, $2, $3, $4, $5, $6 ) [INFO] [stdout] ... | [INFO] [stdout] 88 | | general_purpose::STANDARD.encode(&salt) [INFO] [stdout] 89 | | ).fetch_one(&self.db) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/users_dao.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | / sqlx::query!( [INFO] [stdout] 121 | | r#" [INFO] [stdout] 122 | | UPDATE users [INFO] [stdout] 123 | | SET username = $1, first_name = $2, last_name = $3, email = $4 [INFO] [stdout] ... | [INFO] [stdout] 131 | | user_id [INFO] [stdout] 132 | | ).fetch_one(&self.db) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/users_dao.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | sqlx::query!("DELETE FROM users WHERE id = $1", user_id) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/auth_dao.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | let record = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 54 | | r#" [INFO] [stdout] 55 | | SELECT * FROM users WHERE username = $1 [INFO] [stdout] 56 | | "#, [INFO] [stdout] 57 | | credentials.username [INFO] [stdout] 58 | | ).fetch_one(&self.db) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/auth_dao.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | let record = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 71 | | r#" [INFO] [stdout] 72 | | SELECT * FROM users WHERE username = $1 AND password = $2 [INFO] [stdout] 73 | | "#, [INFO] [stdout] 74 | | credentials.username, [INFO] [stdout] 75 | | hashed_password [INFO] [stdout] 76 | | ).fetch_one(&self.db) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/auth_dao.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 113 | let record = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 114 | | r#" [INFO] [stdout] 115 | | SELECT COUNT(*) as c FROM token_blacklist WHERE token = $1 [INFO] [stdout] 116 | | "#, [INFO] [stdout] 117 | | token.0 [INFO] [stdout] 118 | | ).fetch_one(&self.db) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/login_dao.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | let record = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 39 | | r#" [INFO] [stdout] 40 | | INSERT INTO logins (username, note, password, email, linked_websites, collections, owner_id) [INFO] [stdout] 41 | | VALUES ($1, $2, $3, $4, $5, $6, $7) [INFO] [stdout] ... | [INFO] [stdout] 50 | | owner_id [INFO] [stdout] 51 | | ).fetch_one(&self.db) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/login_dao.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | let records = sqlx::query!(r#" [INFO] [stdout] | _______________________^ [INFO] [stdout] 70 | | SELECT id, used_at, username, password,note, email, linked_websites, collections [INFO] [stdout] 71 | | FROM logins [INFO] [stdout] 72 | | WHERE owner_id = $1 [INFO] [stdout] 73 | | "#, [INFO] [stdout] 74 | | owner_id [INFO] [stdout] 75 | | ).fetch_all(&self.db).await [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/login_dao.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | let record = sqlx::query!(r#" SELECT * FROM logins WHERE id = $1"#, id).fetch_one(&self.db).await.map_err( [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/login_dao.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | let record = sqlx::query!(r#" SELECT owner_id FROM logins WHERE id = $1"#, id).fetch_one(&self.db).await.map_err( [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/login_dao.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | sqlx::query!(r#"DELETE FROM logins WHERE id = ANY($1)"#, ids).execute(&self.db).await.map_err( [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/login_dao.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | / sqlx::query!(r#" [INFO] [stdout] 147 | | Update logins [INFO] [stdout] 148 | | set username = $1, note = $2, password = $3, email = $4, linked_websites = $5, collections = $6 [INFO] [stdout] 149 | | where id = $7 [INFO] [stdout] ... | [INFO] [stdout] 157 | | id [INFO] [stdout] 158 | | ).execute(&self.db) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/users_dao.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | let record = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 51 | | r#" [INFO] [stdout] 52 | | SELECT * FROM users WHERE id = $1 [INFO] [stdout] 53 | | "#, [INFO] [stdout] 54 | | id [INFO] [stdout] 55 | | ).fetch_one(&self.db) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/users_dao.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | let record = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 78 | | r#" [INFO] [stdout] 79 | | INSERT INTO users ( username, first_name, last_name,password, email, salt ) [INFO] [stdout] 80 | | VALUES ( $1, $2, $3, $4, $5, $6 ) [INFO] [stdout] ... | [INFO] [stdout] 88 | | general_purpose::STANDARD.encode(&salt) [INFO] [stdout] 89 | | ).fetch_one(&self.db) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/users_dao.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | / sqlx::query!( [INFO] [stdout] 121 | | r#" [INFO] [stdout] 122 | | UPDATE users [INFO] [stdout] 123 | | SET username = $1, first_name = $2, last_name = $3, email = $4 [INFO] [stdout] ... | [INFO] [stdout] 131 | | user_id [INFO] [stdout] 132 | | ).fetch_one(&self.db) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/users_dao.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | sqlx::query!("DELETE FROM users WHERE id = $1", user_id) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/auth_dao.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | let record = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 54 | | r#" [INFO] [stdout] 55 | | SELECT * FROM users WHERE username = $1 [INFO] [stdout] 56 | | "#, [INFO] [stdout] 57 | | credentials.username [INFO] [stdout] 58 | | ).fetch_one(&self.db) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/auth_dao.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | let record = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 71 | | r#" [INFO] [stdout] 72 | | SELECT * FROM users WHERE username = $1 AND password = $2 [INFO] [stdout] 73 | | "#, [INFO] [stdout] 74 | | credentials.username, [INFO] [stdout] 75 | | hashed_password [INFO] [stdout] 76 | | ).fetch_one(&self.db) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/auth_dao.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 113 | let record = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 114 | | r#" [INFO] [stdout] 115 | | SELECT COUNT(*) as c FROM token_blacklist WHERE token = $1 [INFO] [stdout] 116 | | "#, [INFO] [stdout] 117 | | token.0 [INFO] [stdout] 118 | | ).fetch_one(&self.db) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/payment_dao.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | ... let record = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 32 | | ... r#" [INFO] [stdout] 33 | | ... INSERT INTO payments (card_holder, card_number, security_code, expiration_month, expiration_year, name, color, note, owne... [INFO] [stdout] 34 | | ... VALUES ($1, $2, $3, $4, $5, $6, $7,$8, $9 ) [INFO] [stdout] ... | [INFO] [stdout] 45 | | ... owner_id [INFO] [stdout] 46 | | ... ).fetch_one(&self.db) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/payment_dao.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | / ... sqlx::query!(r#" [INFO] [stdout] 95 | | ... Update payments set card_holder = $1, card_number = $2, security_code = $3, expiration_month = $4, expiration_year = $5, name =... [INFO] [stdout] 96 | | ... where id = $9 [INFO] [stdout] 97 | | ... "#, [INFO] [stdout] ... | [INFO] [stdout] 106 | | ... id [INFO] [stdout] 107 | | ... ).execute(&self.db) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/payment_dao.rs:116:22 [INFO] [stdout] | [INFO] [stdout] 116 | let record = sqlx::query!(r#" SELECT * FROM payments WHERE id = $1"#, id).fetch_one(&self.db) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/payment_dao.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | let record = sqlx::query!(r#" [INFO] [stdout] | ______________________^ [INFO] [stdout] 136 | | SELECT * FROM payments WHERE owner_id = $1 [INFO] [stdout] 137 | | "#, owner_id ).fetch_all(&self.db) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/payment_dao.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | sqlx::query!(r#"DELETE FROM logins WHERE id = $1"#, id).execute(&self.db).await.map_err( [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/login_dao.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | let record = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 39 | | r#" [INFO] [stdout] 40 | | INSERT INTO logins (username, note, password, email, linked_websites, collections, owner_id) [INFO] [stdout] 41 | | VALUES ($1, $2, $3, $4, $5, $6, $7) [INFO] [stdout] ... | [INFO] [stdout] 50 | | owner_id [INFO] [stdout] 51 | | ).fetch_one(&self.db) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/login_dao.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | let records = sqlx::query!(r#" [INFO] [stdout] | _______________________^ [INFO] [stdout] 70 | | SELECT id, used_at, username, password,note, email, linked_websites, collections [INFO] [stdout] 71 | | FROM logins [INFO] [stdout] 72 | | WHERE owner_id = $1 [INFO] [stdout] 73 | | "#, [INFO] [stdout] 74 | | owner_id [INFO] [stdout] 75 | | ).fetch_all(&self.db).await [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/login_dao.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | let record = sqlx::query!(r#" SELECT * FROM logins WHERE id = $1"#, id).fetch_one(&self.db).await.map_err( [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/login_dao.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | let record = sqlx::query!(r#" SELECT owner_id FROM logins WHERE id = $1"#, id).fetch_one(&self.db).await.map_err( [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/login_dao.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | sqlx::query!(r#"DELETE FROM logins WHERE id = ANY($1)"#, ids).execute(&self.db).await.map_err( [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/secured_note_dao.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let record = sqlx::query!(r#" [INFO] [stdout] | ______________________^ [INFO] [stdout] 35 | | INSERT INTO secured_notes (name, content, color, owner_id) [INFO] [stdout] 36 | | VALUES ($1, $2, $3, $4) [INFO] [stdout] 37 | | RETURNING id, name, content, created_at, modified_at, color, owner_id [INFO] [stdout] ... | [INFO] [stdout] 42 | | owner_id, [INFO] [stdout] 43 | | ).fetch_one(&self.db) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/secured_note_dao.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | let record = sqlx::query!(r#" [INFO] [stdout] | ______________________^ [INFO] [stdout] 59 | | Select * FROM secured_notes [INFO] [stdout] 60 | | WHERE id = $1 [INFO] [stdout] 61 | | "#, [INFO] [stdout] 62 | | id [INFO] [stdout] 63 | | ).fetch_one(&self.db).await [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/login_dao.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | / sqlx::query!(r#" [INFO] [stdout] 147 | | Update logins [INFO] [stdout] 148 | | set username = $1, note = $2, password = $3, email = $4, linked_websites = $5, collections = $6 [INFO] [stdout] 149 | | where id = $7 [INFO] [stdout] ... | [INFO] [stdout] 157 | | id [INFO] [stdout] 158 | | ).execute(&self.db) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/secured_note_dao.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | let record = sqlx::query!(r#" [INFO] [stdout] | ______________________^ [INFO] [stdout] 78 | | Select * FROM secured_notes [INFO] [stdout] 79 | | WHERE owner_id = $1 [INFO] [stdout] 80 | | ORDER BY id [INFO] [stdout] 81 | | "#, [INFO] [stdout] 82 | | owner_id [INFO] [stdout] 83 | | ).fetch_all(&self.db).await [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/secured_note_dao.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | let record = sqlx::query!(r#" [INFO] [stdout] | ______________________^ [INFO] [stdout] 113 | | UPDATE secured_notes set name = $1, content = $2, color = $3 [INFO] [stdout] 114 | | WHERE id = $4 [INFO] [stdout] 115 | | RETURNING * [INFO] [stdout] ... | [INFO] [stdout] 120 | | id [INFO] [stdout] 121 | | ).fetch_one(&self.db) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/secured_note_dao.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | / sqlx::query!(r#" [INFO] [stdout] 137 | | DELETE FROM secured_notes where id = $1 [INFO] [stdout] 138 | | "#, id).execute(&self.db).await [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/secured_note_dao.rs:145:22 [INFO] [stdout] | [INFO] [stdout] 145 | let record = sqlx::query!(r#" SELECT owner_id FROM secured_notes WHERE id = $1"#, id).fetch_one(&self.db).await.map_err( [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/secured_note_dao.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | let records = sqlx::query!(r#" [INFO] [stdout] | _______________________^ [INFO] [stdout] 154 | | SELECT type as file_type, * from note_attachments [INFO] [stdout] 155 | | where note_id = $1 [INFO] [stdout] 156 | | "#, note_id).fetch_all(&self.db).await [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/secured_note_dao.rs:172:22 [INFO] [stdout] | [INFO] [stdout] 172 | let record = sqlx::query!(r#" [INFO] [stdout] | ______________________^ [INFO] [stdout] 173 | | INSERT INTO note_attachments (name, size, type, note_id, owner_id) [INFO] [stdout] 174 | | VALUES ($1, $2, $3, $4, $5) [INFO] [stdout] 175 | | RETURNING id, name, created_at, size, type, note_id, type as file_type, owner_id [INFO] [stdout] 176 | | "#, [INFO] [stdout] 177 | | file.name, file.size, file.file_type, note_id, owner_id [INFO] [stdout] 178 | | ).fetch_one(&self.db).await [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/secured_note_dao.rs:194:22 [INFO] [stdout] | [INFO] [stdout] 194 | let record = sqlx::query!(r#" [INFO] [stdout] | ______________________^ [INFO] [stdout] 195 | | SELECT type as file_type, * from note_attachments where id = $1 [INFO] [stdout] 196 | | "#, id).fetch_one(&self.db).await [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/secured_note_dao.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | sqlx::query!(r#"DELETE from note_attachments where id = $1"#,id) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/payment_dao.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | ... let record = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 32 | | ... r#" [INFO] [stdout] 33 | | ... INSERT INTO payments (card_holder, card_number, security_code, expiration_month, expiration_year, name, color, note, owne... [INFO] [stdout] 34 | | ... VALUES ($1, $2, $3, $4, $5, $6, $7,$8, $9 ) [INFO] [stdout] ... | [INFO] [stdout] 45 | | ... owner_id [INFO] [stdout] 46 | | ... ).fetch_one(&self.db) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/payment_dao.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | / ... sqlx::query!(r#" [INFO] [stdout] 95 | | ... Update payments set card_holder = $1, card_number = $2, security_code = $3, expiration_month = $4, expiration_year = $5, name =... [INFO] [stdout] 96 | | ... where id = $9 [INFO] [stdout] 97 | | ... "#, [INFO] [stdout] ... | [INFO] [stdout] 106 | | ... id [INFO] [stdout] 107 | | ... ).execute(&self.db) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/payment_dao.rs:116:22 [INFO] [stdout] | [INFO] [stdout] 116 | let record = sqlx::query!(r#" SELECT * FROM payments WHERE id = $1"#, id).fetch_one(&self.db) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/payment_dao.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | let record = sqlx::query!(r#" [INFO] [stdout] | ______________________^ [INFO] [stdout] 136 | | SELECT * FROM payments WHERE owner_id = $1 [INFO] [stdout] 137 | | "#, owner_id ).fetch_all(&self.db) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/payment_dao.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | sqlx::query!(r#"DELETE FROM logins WHERE id = $1"#, id).execute(&self.db).await.map_err( [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/secured_note_dao.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let record = sqlx::query!(r#" [INFO] [stdout] | ______________________^ [INFO] [stdout] 35 | | INSERT INTO secured_notes (name, content, color, owner_id) [INFO] [stdout] 36 | | VALUES ($1, $2, $3, $4) [INFO] [stdout] 37 | | RETURNING id, name, content, created_at, modified_at, color, owner_id [INFO] [stdout] ... | [INFO] [stdout] 42 | | owner_id, [INFO] [stdout] 43 | | ).fetch_one(&self.db) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/secured_note_dao.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | let record = sqlx::query!(r#" [INFO] [stdout] | ______________________^ [INFO] [stdout] 59 | | Select * FROM secured_notes [INFO] [stdout] 60 | | WHERE id = $1 [INFO] [stdout] 61 | | "#, [INFO] [stdout] 62 | | id [INFO] [stdout] 63 | | ).fetch_one(&self.db).await [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/secured_note_dao.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | let record = sqlx::query!(r#" [INFO] [stdout] | ______________________^ [INFO] [stdout] 78 | | Select * FROM secured_notes [INFO] [stdout] 79 | | WHERE owner_id = $1 [INFO] [stdout] 80 | | ORDER BY id [INFO] [stdout] 81 | | "#, [INFO] [stdout] 82 | | owner_id [INFO] [stdout] 83 | | ).fetch_all(&self.db).await [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/secured_note_dao.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | let record = sqlx::query!(r#" [INFO] [stdout] | ______________________^ [INFO] [stdout] 113 | | UPDATE secured_notes set name = $1, content = $2, color = $3 [INFO] [stdout] 114 | | WHERE id = $4 [INFO] [stdout] 115 | | RETURNING * [INFO] [stdout] ... | [INFO] [stdout] 120 | | id [INFO] [stdout] 121 | | ).fetch_one(&self.db) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/secured_note_dao.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | / sqlx::query!(r#" [INFO] [stdout] 137 | | DELETE FROM secured_notes where id = $1 [INFO] [stdout] 138 | | "#, id).execute(&self.db).await [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/secured_note_dao.rs:145:22 [INFO] [stdout] | [INFO] [stdout] 145 | let record = sqlx::query!(r#" SELECT owner_id FROM secured_notes WHERE id = $1"#, id).fetch_one(&self.db).await.map_err( [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/secured_note_dao.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | let records = sqlx::query!(r#" [INFO] [stdout] | _______________________^ [INFO] [stdout] 154 | | SELECT type as file_type, * from note_attachments [INFO] [stdout] 155 | | where note_id = $1 [INFO] [stdout] 156 | | "#, note_id).fetch_all(&self.db).await [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/secured_note_dao.rs:172:22 [INFO] [stdout] | [INFO] [stdout] 172 | let record = sqlx::query!(r#" [INFO] [stdout] | ______________________^ [INFO] [stdout] 173 | | INSERT INTO note_attachments (name, size, type, note_id, owner_id) [INFO] [stdout] 174 | | VALUES ($1, $2, $3, $4, $5) [INFO] [stdout] 175 | | RETURNING id, name, created_at, size, type, note_id, type as file_type, owner_id [INFO] [stdout] 176 | | "#, [INFO] [stdout] 177 | | file.name, file.size, file.file_type, note_id, owner_id [INFO] [stdout] 178 | | ).fetch_one(&self.db).await [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/secured_note_dao.rs:194:22 [INFO] [stdout] | [INFO] [stdout] 194 | let record = sqlx::query!(r#" [INFO] [stdout] | ______________________^ [INFO] [stdout] 195 | | SELECT type as file_type, * from note_attachments where id = $1 [INFO] [stdout] 196 | | "#, id).fetch_one(&self.db).await [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/persistence/secured_note_dao.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | sqlx::query!(r#"DELETE from note_attachments where id = $1"#,id) [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] warning: unused import: `crate::models::user_model::User` [INFO] [stdout] --> src/models/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::models::user_model::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::user_model::User` [INFO] [stdout] --> src/models/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::models::user_model::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_user` [INFO] [stdout] --> src/handlers/user_handler.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn get_user( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_user` [INFO] [stdout] --> src/handlers/user_handler.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn create_user( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update_user` [INFO] [stdout] --> src/handlers/user_handler.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn update_user( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete_user` [INFO] [stdout] --> src/handlers/user_handler.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | pub async fn delete_user( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_login` [INFO] [stdout] --> src/handlers/login_handler.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn create_login(user: User, login: Json, login_dao: &State>) -> Result, A... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_logins` [INFO] [stdout] --> src/handlers/login_handler.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn get_logins(user: User, login_dao: &State>) -> Result>, APIError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_login` [INFO] [stdout] --> src/handlers/login_handler.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn get_login(id: i32, user: User, login_dao: &State>) -> Result, APIError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete_login` [INFO] [stdout] --> src/handlers/login_handler.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn delete_login(collection: Form, user: User, login_dao: &State>) -> Result src/handlers/login_handler.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn update_login(id: i32, login: Json, user: User, login_dao: &State>) -> Result src/handlers/payment_handler.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn create_payment(user: User, payment: Json, payment_dao: &State>) -> Result src/handlers/payment_handler.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn get_payment(user: User, id: i32, payment_dao: &State>) -> Result, APIError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_payments` [INFO] [stdout] --> src/handlers/payment_handler.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn get_payments(user: User, payment_dao: &State>) -> Result>, APIError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete_payment` [INFO] [stdout] --> src/handlers/payment_handler.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn delete_payment(user: User, id: i32, payment_dao: &State>) -> Result<(), APIError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_user` [INFO] [stdout] --> src/handlers/user_handler.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn get_user( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update_payment` [INFO] [stdout] --> src/handlers/payment_handler.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn update_payment(user: User, id: i32, payment: Json, payment_dao: &State>) -> Re... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_user` [INFO] [stdout] --> src/handlers/user_handler.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn create_user( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromData` [INFO] [stdout] --> src/handlers/secured_note_handler.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use rocket::data::{FromData, ToByteUnit}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_secured_note` [INFO] [stdout] --> src/handlers/secured_note_handler.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn create_secured_note(user: User, secured_note: Json, secured_notes_dao: &State src/handlers/secured_note_handler.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn get_secured_note(user: User, id: i32, secured_notes_dao: &State>) -> Result src/handlers/secured_note_handler.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn get_secured_notes(user: User, secured_notes_dao: &State>) -> Result src/handlers/secured_note_handler.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | pub async fn update_secured_note(user: User, id: i32, secured_note: Json, secured_notes_dao: &State src/handlers/secured_note_handler.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn delete_secured_note(user: User, id: i32, secured_notes_dao: &State>) -> Result<(), API... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `upload` [INFO] [stdout] --> src/handlers/secured_note_handler.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn upload<'r>(user: User, id: i32, ct: &ContentType, paste: Data<'r>, secured_notes_dao: &State src/handlers/user_handler.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn update_user( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete_user` [INFO] [stdout] --> src/handlers/user_handler.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | pub async fn delete_user( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_login` [INFO] [stdout] --> src/handlers/login_handler.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn create_login(user: User, login: Json, login_dao: &State>) -> Result, A... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `secured_note_attachments` [INFO] [stdout] --> src/handlers/secured_note_handler.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 104 | pub async fn secured_note_attachments(user: User, id: i32, secured_notes_dao: &State>) -> Result src/handlers/secured_note_handler.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | pub async fn download_attachment(user: User, id: i32, secured_notes_dao: &State>) -> Result src/handlers/secured_note_handler.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 126 | pub async fn delete_attachment(user: User, id: i32, secured_notes_dao: &State>) -> Result<(), APIEr... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Engine as _`, `engine::general_purpose` [INFO] [stdout] --> src/persistence/users_dao.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use base64::{Engine as _, engine::general_purpose}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/persistence/login_dao.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / pub struct Collection { [INFO] [stdout] 21 | | pub ids: Vec, [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_logins` [INFO] [stdout] --> src/handlers/login_handler.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn get_logins(user: User, login_dao: &State>) -> Result>, APIError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_login` [INFO] [stdout] --> src/handlers/login_handler.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn get_login(id: i32, user: User, login_dao: &State>) -> Result, APIError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete_login` [INFO] [stdout] --> src/handlers/login_handler.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn delete_login(collection: Form, user: User, login_dao: &State>) -> Result src/handlers/login_handler.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn update_login(id: i32, login: Json, user: User, login_dao: &State>) -> Result src/handlers/payment_handler.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn create_payment(user: User, payment: Json, payment_dao: &State>) -> Result src/handlers/payment_handler.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn get_payment(user: User, id: i32, payment_dao: &State>) -> Result, APIError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_payments` [INFO] [stdout] --> src/handlers/payment_handler.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn get_payments(user: User, payment_dao: &State>) -> Result>, APIError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete_payment` [INFO] [stdout] --> src/handlers/payment_handler.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn delete_payment(user: User, id: i32, payment_dao: &State>) -> Result<(), APIError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update_payment` [INFO] [stdout] --> src/handlers/payment_handler.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn update_payment(user: User, id: i32, payment: Json, payment_dao: &State>) -> Re... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromData` [INFO] [stdout] --> src/handlers/secured_note_handler.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use rocket::data::{FromData, ToByteUnit}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_secured_note` [INFO] [stdout] --> src/handlers/secured_note_handler.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn create_secured_note(user: User, secured_note: Json, secured_notes_dao: &State src/handlers/secured_note_handler.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn get_secured_note(user: User, id: i32, secured_notes_dao: &State>) -> Result src/handlers/secured_note_handler.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn get_secured_notes(user: User, secured_notes_dao: &State>) -> Result src/handlers/secured_note_handler.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | pub async fn update_secured_note(user: User, id: i32, secured_note: Json, secured_notes_dao: &State src/handlers/secured_note_handler.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn delete_secured_note(user: User, id: i32, secured_notes_dao: &State>) -> Result<(), API... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `upload` [INFO] [stdout] --> src/handlers/secured_note_handler.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn upload<'r>(user: User, id: i32, ct: &ContentType, paste: Data<'r>, secured_notes_dao: &State src/handlers/secured_note_handler.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 104 | pub async fn secured_note_attachments(user: User, id: i32, secured_notes_dao: &State>) -> Result src/handlers/secured_note_handler.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | pub async fn download_attachment(user: User, id: i32, secured_notes_dao: &State>) -> Result src/handlers/secured_note_handler.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 126 | pub async fn delete_attachment(user: User, id: i32, secured_notes_dao: &State>) -> Result<(), APIEr... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Engine as _`, `engine::general_purpose` [INFO] [stdout] --> src/persistence/users_dao.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use base64::{Engine as _, engine::general_purpose}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/persistence/login_dao.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / pub struct Collection { [INFO] [stdout] 21 | | pub ids: Vec, [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/handlers/payment_handler.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn get_payment(user: User, id: i32, payment_dao: &State>) -> Result, APIError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/handlers/payment_handler.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn delete_payment(user: User, id: i32, payment_dao: &State>) -> Result<(), APIError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/handlers/payment_handler.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn update_payment(user: User, id: i32, payment: Json, payment_dao: &State>) -> Re... [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/handlers/payment_handler.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn get_payment(user: User, id: i32, payment_dao: &State>) -> Result, APIError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/handlers/payment_handler.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn delete_payment(user: User, id: i32, payment_dao: &State>) -> Result<(), APIError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/handlers/payment_handler.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn update_payment(user: User, id: i32, payment: Json, payment_dao: &State>) -> Re... [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::http::hyper::body::HttpBody` [INFO] [stdout] --> src/persistence/login_dao.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::http::hyper::body::HttpBody; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::http::hyper::body::HttpBody` [INFO] [stdout] --> src/persistence/login_dao.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::http::hyper::body::HttpBody; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors; 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors; 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lockdown-service` (bin "lockdown-service" test) due to 29 previous errors; 31 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lockdown-service` (bin "lockdown-service") due to 29 previous errors; 31 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6ecd66b83a27fa66cb653e16229da1141a5f5eac0e6d8c3f9dfd8abe5e418c3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ecd66b83a27fa66cb653e16229da1141a5f5eac0e6d8c3f9dfd8abe5e418c3e", kill_on_drop: false }` [INFO] [stdout] 6ecd66b83a27fa66cb653e16229da1141a5f5eac0e6d8c3f9dfd8abe5e418c3e