[INFO] cloning repository https://github.com/budgie-money/budgie-web [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/budgie-money/budgie-web" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbudgie-money%2Fbudgie-web", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbudgie-money%2Fbudgie-web'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2745bf32b30c48f04b5d5f6803c55458fe64c435 [INFO] checking budgie-money/budgie-web against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbudgie-money%2Fbudgie-web" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/budgie-money/budgie-web on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2/source/.cargo/config [INFO] started tweaking git repo https://github.com/budgie-money/budgie-web [INFO] finished tweaking git repo https://github.com/budgie-money/budgie-web [INFO] tweaked toml for git repo https://github.com/budgie-money/budgie-web written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/budgie-money/budgie-web already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7b49f755e7726592f068d6de189f5a09f239962f91a5dc98a9f05fd3f86c82f [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" "a7b49f755e7726592f068d6de189f5a09f239962f91a5dc98a9f05fd3f86c82f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7b49f755e7726592f068d6de189f5a09f239962f91a5dc98a9f05fd3f86c82f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7b49f755e7726592f068d6de189f5a09f239962f91a5dc98a9f05fd3f86c82f", kill_on_drop: false }` [INFO] [stdout] a7b49f755e7726592f068d6de189f5a09f239962f91a5dc98a9f05fd3f86c82f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9880a00e3a5ae70711609329f75d2681d9ce437d94099644f01d65560476b73f [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" "9880a00e3a5ae70711609329f75d2681d9ce437d94099644f01d65560476b73f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking bytes v0.5.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Compiling cc v1.0.56 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.64 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.64 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking tinyvec v0.3.3 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking subtle v2.3.0 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Checking gimli v0.21.0 [INFO] [stderr] Checking adler32 v1.1.0 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling waker-fn v1.0.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling parking v1.0.3 [INFO] [stderr] Compiling cache-padded v1.1.0 [INFO] [stderr] Checking adler v0.2.2 [INFO] [stderr] Compiling fastrand v1.3.2 [INFO] [stderr] Compiling async-task v3.0.0 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Compiling send_wrapper v0.4.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling v_escape v0.13.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling v_htmlescape v0.10.3 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking humansize v1.1.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling standback v0.2.10 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling cookie v0.14.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking bytestring v0.1.5 [INFO] [stderr] Checking buf-min v0.1.1 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling concurrent-queue v1.1.1 [INFO] [stderr] Checking miniz_oxide v0.4.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking tinyvec v1.0.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking kv-log-macro v1.0.6 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking addr2line v0.12.2 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking flate2 v1.0.16 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking backtrace v0.3.49 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking resolv-conf v0.6.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking universal-hash v0.4.0 [INFO] [stderr] Checking block-cipher v0.7.1 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking polyval v0.4.1 [INFO] [stderr] Checking aes-soft v0.4.0 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking sha2 v0.9.1 [INFO] [stderr] Checking sha-1 v0.9.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Checking ghash v0.3.0 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking hkdf v0.9.0 [INFO] [stderr] Checking globset v0.4.5 [INFO] [stderr] Checking sqlformat v0.1.0 [INFO] [stderr] Checking aes v0.4.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Checking aes-gcm v0.6.0 [INFO] [stderr] Checking ignore v0.4.16 [INFO] [stderr] Checking globwalk v0.8.0 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Compiling chrono-tz v0.5.2 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking actix-codec v0.2.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.64 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.64 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling derive_more v0.99.9 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.41 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling v_escape_derive v0.8.3 [INFO] [stderr] Compiling actix-web-codegen v0.3.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.64 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Checking js-sys v0.3.41 [INFO] [stderr] Checking actix-threadpool v0.3.2 [INFO] [stderr] Compiling blocking v0.4.6 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Compiling web-sys v0.3.41 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Checking trust-dns-proto v0.19.5 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Checking actix-utils v1.0.6 [INFO] [stderr] Checking actix-server v1.0.3 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking trust-dns-resolver v0.19.5 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking actix-router v0.2.4 [INFO] [stderr] Checking bigdecimal v0.1.2 [INFO] [stderr] Compiling gloo-timers v0.2.1 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling async-std v1.6.2 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Checking actix-http v2.0.0 [INFO] [stderr] Checking awc v2.0.0 [INFO] [stderr] Checking actix-web v3.1.0 [INFO] [stderr] Checking async-native-tls v0.3.3 [INFO] [stderr] Checking sqlx-core v0.3.5 [INFO] [stderr] Checking tera v1.3.1 [INFO] [stderr] Checking actix-files v0.3.0 [INFO] [stderr] Checking actix-session v0.4.0 [INFO] [stderr] Compiling sqlx-macros v0.3.5 [INFO] [stderr] Checking sqlx v0.3.5 [INFO] [stderr] Checking budgie-web v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/routes/user.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | let existing_accounts = sqlx::query!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 78 | | "SELECT username, email FROM users WHERE username = ? OR email = ?", [INFO] [stdout] 79 | | new_user.username, new_user.email [INFO] [stdout] 80 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/routes/user.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | let existing_accounts = sqlx::query!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 78 | | "SELECT username, email FROM users WHERE username = ? OR email = ?", [INFO] [stdout] 79 | | new_user.username, new_user.email [INFO] [stdout] 80 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/routes/user.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | / sqlx::query!( [INFO] [stdout] 97 | | "INSERT INTO users (username, email, password_hash) VALUES (?, ?, ?)", [INFO] [stdout] 98 | | new_user.username, new_user.email, password_hash [INFO] [stdout] 99 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/routes/user.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | / sqlx::query!( [INFO] [stdout] 97 | | "INSERT INTO users (username, email, password_hash) VALUES (?, ?, ?)", [INFO] [stdout] 98 | | new_user.username, new_user.email, password_hash [INFO] [stdout] 99 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/routes/user.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 114 | | "SELECT id, username, password_hash FROM users WHERE email = ?", [INFO] [stdout] 115 | | user_details.email [INFO] [stdout] 116 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/routes/user.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 114 | | "SELECT id, username, password_hash FROM users WHERE email = ?", [INFO] [stdout] 115 | | user_details.email [INFO] [stdout] 116 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/routes/user.rs:151:11 [INFO] [stdout] | [INFO] [stdout] 151 | match sqlx::query_as_unchecked!(JsonUserDetails, [INFO] [stdout] | ___________^ [INFO] [stdout] 152 | | "SELECT * FROM users WHERE id = ?", [INFO] [stdout] 153 | | user_id [INFO] [stdout] 154 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/routes/user.rs:151:11 [INFO] [stdout] | [INFO] [stdout] 151 | match sqlx::query_as_unchecked!(JsonUserDetails, [INFO] [stdout] | ___________^ [INFO] [stdout] 152 | | "SELECT * FROM users WHERE id = ?", [INFO] [stdout] 153 | | user_id [INFO] [stdout] 154 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/routes/fund_source.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 47 | | "INSERT INTO fund_sources (name, default_currency, user_id) VALUES (?, ?, ?)", [INFO] [stdout] 48 | | new_fund_source.name, new_fund_source.default_currency, user_id [INFO] [stdout] 49 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/routes/fund_source.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 72 | | "DELETE FROM fund_sources WHERE user_id = ? AND id = ?", [INFO] [stdout] 73 | | user_id, fund_source_id [INFO] [stdout] 74 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/routes/fund_source.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 97 | match sqlx::query_as!(JsonFundSource, [INFO] [stdout] | ___________^ [INFO] [stdout] 98 | | "SELECT *, (SELECT SUM(volume) AS balance FROM transactions WHERE fund_source_id = ?) AS balance FROM fund_sources WHERE user_id ... [INFO] [stdout] 99 | | fund_source_id, fund_source_id, user_id [INFO] [stdout] 100 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/routes/fund_source.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 47 | | "INSERT INTO fund_sources (name, default_currency, user_id) VALUES (?, ?, ?)", [INFO] [stdout] 48 | | new_fund_source.name, new_fund_source.default_currency, user_id [INFO] [stdout] 49 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/routes/fund_source.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 72 | | "DELETE FROM fund_sources WHERE user_id = ? AND id = ?", [INFO] [stdout] 73 | | user_id, fund_source_id [INFO] [stdout] 74 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/routes/fund_source.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 97 | match sqlx::query_as!(JsonFundSource, [INFO] [stdout] | ___________^ [INFO] [stdout] 98 | | "SELECT *, (SELECT SUM(volume) AS balance FROM transactions WHERE fund_source_id = ?) AS balance FROM fund_sources WHERE user_id ... [INFO] [stdout] 99 | | fund_source_id, fund_source_id, user_id [INFO] [stdout] 100 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/routes/transaction.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | / ... sqlx::query_as!(UserId, [INFO] [stdout] 62 | | ... "SELECT fund_sources.user_id AS user_id FROM budgets INNER JOIN fund_sources ON budgets.fund_source_id = fund_sources.id WHERE ... [INFO] [stdout] 63 | | ... source_id [INFO] [stdout] 64 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/routes/transaction.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | / sqlx::query_as!(UserId, [INFO] [stdout] 71 | | "SELECT user_id FROM fund_sources WHERE id = ?", [INFO] [stdout] 72 | | source_id [INFO] [stdout] 73 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/routes/transaction.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | / ... sqlx::query!( [INFO] [stdout] 117 | | ... "INSERT INTO transactions (fund_source_id, budget_id, volume, notes) VALUES ((SELECT fund_source_id FROM budgets WHERE id = ?),... [INFO] [stdout] 118 | | ... context_id, context_id, new_transaction.volume, new_transaction.notes [INFO] [stdout] 119 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/routes/transaction.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | / sqlx::query!( [INFO] [stdout] 124 | | "INSERT INTO transactions (fund_source_id, volume, notes) VALUES (?, ?, ?)", [INFO] [stdout] 125 | | context_id, new_transaction.volume, new_transaction.notes [INFO] [stdout] 126 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/routes/transaction.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | / sqlx::query_as!(JsonTransaction, [INFO] [stdout] 160 | | "SELECT * FROM transactions WHERE budget_id = ? LIMIT ?, ?", [INFO] [stdout] 161 | | context_id, parameters.page, TRANSACTION_PAGE_SIZE [INFO] [stdout] 162 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/routes/transaction.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | / sqlx::query_as!(JsonTransaction, [INFO] [stdout] 169 | | "SELECT * FROM transactions WHERE fund_source_id = ? LIMIT ?, ?", [INFO] [stdout] 170 | | context_id, parameters.page, TRANSACTION_PAGE_SIZE [INFO] [stdout] 171 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/routes/transaction.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | / ... sqlx::query_as!(UserId, [INFO] [stdout] 62 | | ... "SELECT fund_sources.user_id AS user_id FROM budgets INNER JOIN fund_sources ON budgets.fund_source_id = fund_sources.id WHERE ... [INFO] [stdout] 63 | | ... source_id [INFO] [stdout] 64 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/routes/transaction.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | / sqlx::query_as!(UserId, [INFO] [stdout] 71 | | "SELECT user_id FROM fund_sources WHERE id = ?", [INFO] [stdout] 72 | | source_id [INFO] [stdout] 73 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/routes/transaction.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | / ... sqlx::query!( [INFO] [stdout] 117 | | ... "INSERT INTO transactions (fund_source_id, budget_id, volume, notes) VALUES ((SELECT fund_source_id FROM budgets WHERE id = ?),... [INFO] [stdout] 118 | | ... context_id, context_id, new_transaction.volume, new_transaction.notes [INFO] [stdout] 119 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/routes/transaction.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | / sqlx::query!( [INFO] [stdout] 124 | | "INSERT INTO transactions (fund_source_id, volume, notes) VALUES (?, ?, ?)", [INFO] [stdout] 125 | | context_id, new_transaction.volume, new_transaction.notes [INFO] [stdout] 126 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/routes/transaction.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | / sqlx::query_as!(JsonTransaction, [INFO] [stdout] 160 | | "SELECT * FROM transactions WHERE budget_id = ? LIMIT ?, ?", [INFO] [stdout] 161 | | context_id, parameters.page, TRANSACTION_PAGE_SIZE [INFO] [stdout] 162 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/routes/transaction.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | / sqlx::query_as!(JsonTransaction, [INFO] [stdout] 169 | | "SELECT * FROM transactions WHERE fund_source_id = ? LIMIT ?, ?", [INFO] [stdout] 170 | | context_id, parameters.page, TRANSACTION_PAGE_SIZE [INFO] [stdout] 171 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `consts::TRANSACTION_PAGE_SIZE` [INFO] [stdout] --> src/routes/transaction.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | consts::TRANSACTION_PAGE_SIZE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `budget::{}` [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | budget::{}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `consts::TRANSACTION_PAGE_SIZE` [INFO] [stdout] --> src/routes/transaction.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | consts::TRANSACTION_PAGE_SIZE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `budget::{}` [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | budget::{}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/routes/user.rs:85:60 [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(existing_user) = existing_accounts.get(0) { [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/routes/user.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | / sqlx::query!( [INFO] [stdout] 97 | | "INSERT INTO users (username, email, password_hash) VALUES (?, ?, ?)", [INFO] [stdout] 98 | | new_user.username, new_user.email, password_hash [INFO] [stdout] 99 | | ) [INFO] [stdout] 100 | | .execute(mysql_pool) [INFO] [stdout] 101 | | .await [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/routes/user.rs:85:60 [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(existing_user) = existing_accounts.get(0) { [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/routes/user.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | / sqlx::query!( [INFO] [stdout] 97 | | "INSERT INTO users (username, email, password_hash) VALUES (?, ?, ?)", [INFO] [stdout] 98 | | new_user.username, new_user.email, password_hash [INFO] [stdout] 99 | | ) [INFO] [stdout] 100 | | .execute(mysql_pool) [INFO] [stdout] 101 | | .await [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0698`. [INFO] [stdout] [INFO] [stderr] error: could not compile `budgie-web` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 14 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0698`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9880a00e3a5ae70711609329f75d2681d9ce437d94099644f01d65560476b73f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9880a00e3a5ae70711609329f75d2681d9ce437d94099644f01d65560476b73f", kill_on_drop: false }` [INFO] [stdout] 9880a00e3a5ae70711609329f75d2681d9ce437d94099644f01d65560476b73f