[INFO] cloning repository https://github.com/sweepline/argon2_actix_auth [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sweepline/argon2_actix_auth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsweepline%2Fargon2_actix_auth", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsweepline%2Fargon2_actix_auth'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4280e0ca6ab75992f0e1b6895fcfebaf215c1d63 [INFO] checking sweepline/argon2_actix_auth against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsweepline%2Fargon2_actix_auth" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sweepline/argon2_actix_auth on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sweepline/argon2_actix_auth [INFO] finished tweaking git repo https://github.com/sweepline/argon2_actix_auth [INFO] tweaked toml for git repo https://github.com/sweepline/argon2_actix_auth written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/sweepline/argon2_actix_auth already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded actix-identity v0.4.0-beta.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc3cfe4026d7536e8bc2a714d596fd16fd0e037e37021baffe700a58965e0faa [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bc3cfe4026d7536e8bc2a714d596fd16fd0e037e37021baffe700a58965e0faa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc3cfe4026d7536e8bc2a714d596fd16fd0e037e37021baffe700a58965e0faa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc3cfe4026d7536e8bc2a714d596fd16fd0e037e37021baffe700a58965e0faa", kill_on_drop: false }` [INFO] [stdout] bc3cfe4026d7536e8bc2a714d596fd16fd0e037e37021baffe700a58965e0faa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 70bb56df0ccd377be34d202d9976328486452e48f8edb3fe20bcb44c73c27c69 [INFO] running `Command { std: "docker" "start" "-a" "70bb56df0ccd377be34d202d9976328486452e48f8edb3fe20bcb44c73c27c69", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling const_fn v0.4.6 [INFO] [stderr] Compiling lexical-core v0.7.5 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Compiling httparse v1.3.6 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Checking local-waker v0.1.1 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling whoami v1.1.2 [INFO] [stderr] Checking cpuid-bool v0.2.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling ahash v0.6.3 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling ahash v0.7.2 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking actix-service v2.0.0-beta.5 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Checking actix-utils v3.0.0-beta.4 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking hashlink v0.6.0 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking universal-hash v0.4.0 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking ring v0.16.20 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking listenfd v0.3.3 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-queue v0.3.1 [INFO] [stderr] Checking rust-argon2 v0.8.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Checking rustls v0.19.0 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking sqlformat v0.1.6 [INFO] [stderr] Checking tokio-util v0.6.5 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tokio-stream v0.1.5 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking actix-codec v0.4.0-beta.1 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling actix-macros v0.2.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling derive_more v0.99.13 [INFO] [stderr] Compiling actix-web-codegen v0.5.0-beta.2 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking actix-rt v2.2.0 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking sqlx-rt v0.3.0 [INFO] [stderr] Checking actix-server v2.0.0-beta.4 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Checking pin-project v1.0.6 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking actix-tls v3.0.0-beta.5 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking local-channel v0.1.2 [INFO] [stderr] Checking h2 v0.3.2 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking sqlx-core v0.5.1 [INFO] [stderr] Checking actix-http v3.0.0-beta.5 [INFO] [stderr] Checking actix-web v4.0.0-beta.5 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking sparkpost v0.5.4 [INFO] [stderr] Checking actix-identity v0.4.0-beta.1 [INFO] [stderr] Compiling sqlx-macros v0.5.1 [INFO] [stderr] Checking sqlx v0.5.1 [INFO] [stderr] Checking argon2_actix_auth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/invitation_handler.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / sqlx::query!( [INFO] [stdout] 20 | | " [INFO] [stdout] 21 | | SELECT * FROM invitations [INFO] [stdout] 22 | | " [INFO] [stdout] 23 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_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/invitation_handler.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / sqlx::query!( [INFO] [stdout] 20 | | " [INFO] [stdout] 21 | | SELECT * FROM invitations [INFO] [stdout] 22 | | " [INFO] [stdout] 23 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_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/invitation_handler.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let email = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 44 | | "SELECT id FROM users WHERE email = $1", [INFO] [stdout] 45 | | invitation_data.email, [INFO] [stdout] 46 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_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/invitation_handler.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | let res = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 58 | | Invitation, [INFO] [stdout] 59 | | " [INFO] [stdout] 60 | | INSERT INTO invitations (id, email, expires_at) [INFO] [stdout] ... | [INFO] [stdout] 65 | | OffsetDateTime::now_utc() + time::Duration::day() [INFO] [stdout] 66 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_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/invitation_handler.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let email = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 44 | | "SELECT id FROM users WHERE email = $1", [INFO] [stdout] 45 | | invitation_data.email, [INFO] [stdout] 46 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_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/invitation_handler.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | let res = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 58 | | Invitation, [INFO] [stdout] 59 | | " [INFO] [stdout] 60 | | INSERT INTO invitations (id, email, expires_at) [INFO] [stdout] ... | [INFO] [stdout] 65 | | OffsetDateTime::now_utc() + time::Duration::day() [INFO] [stdout] 66 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_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/registration_handler.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | let invitation = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 36 | | Invitation, [INFO] [stdout] 37 | | " [INFO] [stdout] 38 | | SELECT * FROM invitations WHERE id = $1 [INFO] [stdout] 39 | | ", [INFO] [stdout] 40 | | invitation_id [INFO] [stdout] 41 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_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/registration_handler.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | let res = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 62 | | " [INFO] [stdout] 63 | | INSERT INTO users (id, email, hash, salt, created_at) [INFO] [stdout] 64 | | VALUES (DEFAULT, $1, $2, $3, $4) [INFO] [stdout] ... | [INFO] [stdout] 70 | | OffsetDateTime::now_utc() [INFO] [stdout] 71 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_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/registration_handler.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | let invitation = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 36 | | Invitation, [INFO] [stdout] 37 | | " [INFO] [stdout] 38 | | SELECT * FROM invitations WHERE id = $1 [INFO] [stdout] 39 | | ", [INFO] [stdout] 40 | | invitation_id [INFO] [stdout] 41 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_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/registration_handler.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | let res = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 62 | | " [INFO] [stdout] 63 | | INSERT INTO users (id, email, hash, salt, created_at) [INFO] [stdout] 64 | | VALUES (DEFAULT, $1, $2, $3, $4) [INFO] [stdout] ... | [INFO] [stdout] 70 | | OffsetDateTime::now_utc() [INFO] [stdout] 71 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::Invitation` [INFO] [stdout] --> src/invitation_handler.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::models::Invitation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::OffsetDateTime` [INFO] [stdout] --> src/invitation_handler.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use time::OffsetDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::Invitation` [INFO] [stdout] --> src/invitation_handler.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::models::Invitation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::OffsetDateTime` [INFO] [stdout] --> src/invitation_handler.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use time::OffsetDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/models.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PgPool` [INFO] [stdout] --> src/models.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{FromRow, PgPool, Row}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/models.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get` [INFO] [stdout] --> src/registration_handler.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{get, post, web, HttpResponse, Responder}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/registration_handler.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Invitation`, `User` [INFO] [stdout] --> src/registration_handler.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::models::{Invitation, User}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::password::hash` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::password::hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/models.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PgPool` [INFO] [stdout] --> src/models.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{FromRow, PgPool, Row}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/models.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get` [INFO] [stdout] --> src/registration_handler.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{get, post, web, HttpResponse, Responder}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/registration_handler.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Invitation`, `User` [INFO] [stdout] --> src/registration_handler.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::models::{Invitation, User}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::password::hash` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::password::hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Row` [INFO] [stdout] --> src/models.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{FromRow, PgPool, Row}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `argon2_actix_auth` due to 6 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `Row` [INFO] [stdout] --> src/models.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{FromRow, PgPool, Row}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "70bb56df0ccd377be34d202d9976328486452e48f8edb3fe20bcb44c73c27c69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70bb56df0ccd377be34d202d9976328486452e48f8edb3fe20bcb44c73c27c69", kill_on_drop: false }` [INFO] [stdout] 70bb56df0ccd377be34d202d9976328486452e48f8edb3fe20bcb44c73c27c69