[INFO] cloning repository https://github.com/GreenTeaSeb/aurora-board [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GreenTeaSeb/aurora-board" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGreenTeaSeb%2Faurora-board", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGreenTeaSeb%2Faurora-board'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 13a5bcfaa06866f5963ee802e0bad90c3204d762 [INFO] checking GreenTeaSeb/aurora-board against master#d5833423a02e2373c5e3cceb238fb19192cd82f8 for pr-108981 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGreenTeaSeb%2Faurora-board" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GreenTeaSeb/aurora-board on toolchain d5833423a02e2373c5e3cceb238fb19192cd82f8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d5833423a02e2373c5e3cceb238fb19192cd82f8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GreenTeaSeb/aurora-board [INFO] finished tweaking git repo https://github.com/GreenTeaSeb/aurora-board [INFO] tweaked toml for git repo https://github.com/GreenTeaSeb/aurora-board written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/GreenTeaSeb/aurora-board 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" "+d5833423a02e2373c5e3cceb238fb19192cd82f8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bindgen v0.48.1 [INFO] [stderr] Downloaded time v0.3.5 [INFO] [stderr] Downloaded sailfish-compiler v0.4.0 [INFO] [stderr] Downloaded sqlx-macros v0.5.9 [INFO] [stderr] Downloaded actix-multipart v0.4.0 [INFO] [stderr] Downloaded actix-identity v0.4.0 [INFO] [stderr] Downloaded http-range v0.1.4 [INFO] [stderr] Downloaded sailfish-macros v0.4.0 [INFO] [stderr] Downloaded askama_escape v0.10.2 [INFO] [stderr] Downloaded tokio-openssl v0.6.3 [INFO] [stderr] Downloaded sailfish v0.4.0 [INFO] [stderr] Downloaded sqlx v0.5.9 [INFO] [stderr] Downloaded actix-files v0.6.0 [INFO] [stderr] Downloaded hkdf v0.12.0 [INFO] [stderr] Downloaded argonautica v0.2.0 [INFO] [stderr] Downloaded actix-tls v3.0.1 [INFO] [stderr] Downloaded sha2 v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e2a9e7e193985ba0d5a8221c3984785a9e0a75acc409a02815633ff67a1f464e" "/opt/rustwide/cargo-home/bin/cargo" "+d5833423a02e2373c5e3cceb238fb19192cd82f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8630b35cb11c7a8ea3c43c912be82d387b7b5e2c306b7cda9713b165a7efbdc8 [INFO] running `Command { std: "docker" "start" "-a" "8630b35cb11c7a8ea3c43c912be82d387b7b5e2c306b7cda9713b165a7efbdc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8630b35cb11c7a8ea3c43c912be82d387b7b5e2c306b7cda9713b165a7efbdc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8630b35cb11c7a8ea3c43c912be82d387b7b5e2c306b7cda9713b165a7efbdc8", kill_on_drop: false }` [INFO] [stdout] 8630b35cb11c7a8ea3c43c912be82d387b7b5e2c306b7cda9713b165a7efbdc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e2a9e7e193985ba0d5a8221c3984785a9e0a75acc409a02815633ff67a1f464e" "/opt/rustwide/cargo-home/bin/cargo" "+d5833423a02e2373c5e3cceb238fb19192cd82f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4948d82624d578a303c57cd28e6a25f1fe4474b9bfd9d37152d3411650f420f1 [INFO] running `Command { std: "docker" "start" "-a" "4948d82624d578a303c57cd28e6a25f1fe4474b9bfd9d37152d3411650f420f1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Checking tokio v1.18.2 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crypto-common v0.1.1 [INFO] [stderr] Checking block-buffer v0.10.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking digest v0.10.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking actix-rt v2.6.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling num-bigint-dig v0.7.0 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Checking local-waker v0.1.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling crypto-bigint v0.2.11 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Compiling tokio-openssl v0.6.3 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling const-oid v0.6.2 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling der v0.4.5 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling zeroize_derive v1.2.2 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Checking polyval v0.5.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Checking actix-utils v3.0.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Compiling base64ct v1.1.1 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling pem-rfc7468 v0.2.4 [INFO] [stderr] Checking tokio-util v0.7.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking ghash v0.4.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking ctr v0.8.0 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking actix-codec v0.4.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking hmac v0.12.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Checking aead v0.4.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Compiling firestorm v0.5.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking actix-tls v3.0.1 [INFO] [stderr] Checking aes-gcm v0.9.4 [INFO] [stderr] Checking hkdf v0.12.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Checking actix-codec v0.5.0 [INFO] [stderr] Checking h2 v0.3.9 [INFO] [stderr] Checking local-channel v0.1.2 [INFO] [stderr] Compiling pkcs1 v0.2.4 [INFO] [stderr] Compiling spki v0.4.1 [INFO] [stderr] Checking sha2 v0.10.0 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Checking time v0.3.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.48.1 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling pkcs8 v0.7.6 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Checking actix-http v3.0.4 [INFO] [stderr] Compiling actix-web-codegen v4.0.0 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking actix-server v2.0.0 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling sailfish-compiler v0.4.0 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Checking actix-web v4.0.1 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling sqlx-rt v0.5.10 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling rsa v0.5.0 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling home v0.5.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling sqlx-core v0.5.10 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling sailfish v0.4.0 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Checking twoway v0.2.2 [INFO] [stderr] Compiling sailfish-macros v0.4.0 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling argonautica v0.2.0 [INFO] [stderr] Checking futures-executor v0.3.19 [INFO] [stderr] Checking askama_escape v0.10.2 [INFO] [stderr] Checking http-range v0.1.4 [INFO] [stderr] Checking itoap v1.0.1 [INFO] [stderr] Checking futures v0.3.19 [INFO] [stderr] Checking actix-multipart v0.4.0 [INFO] [stderr] Checking actix-files v0.6.0 [INFO] [stderr] Checking actix-identity v0.4.0 [INFO] [stderr] Compiling sqlx-macros v0.5.9 [INFO] [stderr] Checking sqlx v0.5.9 [INFO] [stderr] Checking aurora-board v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/handlers/board.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 80 | let boards = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 81 | | Board, [INFO] [stdout] 82 | | r#" [INFO] [stdout] 83 | | SELECT * FROM boards [INFO] [stdout] ... | [INFO] [stdout] 86 | | form.name [INFO] [stdout] 87 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/handlers/board.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 80 | let boards = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 81 | | Board, [INFO] [stdout] 82 | | r#" [INFO] [stdout] 83 | | SELECT * FROM boards [INFO] [stdout] ... | [INFO] [stdout] 86 | | form.name [INFO] [stdout] 87 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/handlers/board.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | / sqlx::query!( [INFO] [stdout] 92 | | r#" [INFO] [stdout] 93 | | INSERT INTO boards (name, description, owner_id) [INFO] [stdout] 94 | | VALUES (?,?,?) [INFO] [stdout] ... | [INFO] [stdout] 98 | | id [INFO] [stdout] 99 | | ) [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/handlers/board.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | / sqlx::query!( [INFO] [stdout] 92 | | r#" [INFO] [stdout] 93 | | INSERT INTO boards (name, description, owner_id) [INFO] [stdout] 94 | | VALUES (?,?,?) [INFO] [stdout] ... | [INFO] [stdout] 98 | | id [INFO] [stdout] 99 | | ) [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/handlers/board.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | Ok(sqlx::query_as!( [INFO] [stdout] | ________^ [INFO] [stdout] 110 | | Board, [INFO] [stdout] 111 | | r#" [INFO] [stdout] 112 | | SELECT * FROM boards [INFO] [stdout] ... | [INFO] [stdout] 115 | | name [INFO] [stdout] 116 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/handlers/board.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | Ok(sqlx::query_as!( [INFO] [stdout] | ________^ [INFO] [stdout] 110 | | Board, [INFO] [stdout] 111 | | r#" [INFO] [stdout] 112 | | SELECT * FROM boards [INFO] [stdout] ... | [INFO] [stdout] 115 | | name [INFO] [stdout] 116 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/handlers/board.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | / sqlx::query!( [INFO] [stdout] 127 | | r#" [INFO] [stdout] 128 | | INSERT INTO members (user_id, board_id, admin) [INFO] [stdout] 129 | | VALUES (?, (select id from boards where name = ? ) , ?) [INFO] [stdout] ... | [INFO] [stdout] 133 | | false [INFO] [stdout] 134 | | ) [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/handlers/board.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | / sqlx::query!( [INFO] [stdout] 127 | | r#" [INFO] [stdout] 128 | | INSERT INTO members (user_id, board_id, admin) [INFO] [stdout] 129 | | VALUES (?, (select id from boards where name = ? ) , ?) [INFO] [stdout] ... | [INFO] [stdout] 133 | | false [INFO] [stdout] 134 | | ) [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/handlers/board.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | / sqlx::query!( [INFO] [stdout] 141 | | r#" [INFO] [stdout] 142 | | DELETE FROM members where user_id = ? and board_id = (select id from boards where name = ? ) [INFO] [stdout] 143 | | [INFO] [stdout] ... | [INFO] [stdout] 146 | | board [INFO] [stdout] 147 | | ) [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/handlers/board.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | / sqlx::query!( [INFO] [stdout] 141 | | r#" [INFO] [stdout] 142 | | DELETE FROM members where user_id = ? and board_id = (select id from boards where name = ? ) [INFO] [stdout] 143 | | [INFO] [stdout] ... | [INFO] [stdout] 146 | | board [INFO] [stdout] 147 | | ) [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/handlers/board.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | / sqlx::query!( [INFO] [stdout] 155 | | r#" [INFO] [stdout] 156 | | DELETE FROM boards where name = ? ; [INFO] [stdout] 157 | | "#, [INFO] [stdout] 158 | | board [INFO] [stdout] 159 | | ) [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/handlers/board.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | / sqlx::query!( [INFO] [stdout] 155 | | r#" [INFO] [stdout] 156 | | DELETE FROM boards where name = ? ; [INFO] [stdout] 157 | | "#, [INFO] [stdout] 158 | | board [INFO] [stdout] 159 | | ) [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/handlers/board.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | / sqlx::query!( [INFO] [stdout] 167 | | r#" [INFO] [stdout] 168 | | UPDATE boards [INFO] [stdout] 169 | | SET name = ? , description = ? , private = ? [INFO] [stdout] ... | [INFO] [stdout] 175 | | board [INFO] [stdout] 176 | | ) [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/handlers/board.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | / sqlx::query!( [INFO] [stdout] 167 | | r#" [INFO] [stdout] 168 | | UPDATE boards [INFO] [stdout] 169 | | SET name = ? , description = ? , private = ? [INFO] [stdout] ... | [INFO] [stdout] 175 | | board [INFO] [stdout] 176 | | ) [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/handlers/board.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | / sqlx::query_as!( [INFO] [stdout] 190 | | BoardPost, [INFO] [stdout] 191 | | r#" [INFO] [stdout] 192 | | select posts.id,posts.created_at,poster_id,board_id,title,text, likes.is_like as status, users.pfp from posts [INFO] [stdout] ... | [INFO] [stdout] 203 | | offset * limit [INFO] [stdout] 204 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/handlers/board.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | / sqlx::query_as!( [INFO] [stdout] 190 | | BoardPost, [INFO] [stdout] 191 | | r#" [INFO] [stdout] 192 | | select posts.id,posts.created_at,poster_id,board_id,title,text, likes.is_like as status, users.pfp from posts [INFO] [stdout] ... | [INFO] [stdout] 203 | | offset * limit [INFO] [stdout] 204 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/handlers/board.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | / sqlx::query!( [INFO] [stdout] 238 | | r#" [INFO] [stdout] 239 | | update boards [INFO] [stdout] 240 | | set icon = ? [INFO] [stdout] ... | [INFO] [stdout] 244 | | board [INFO] [stdout] 245 | | ) [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/handlers/board.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | / sqlx::query!( [INFO] [stdout] 238 | | r#" [INFO] [stdout] 239 | | update boards [INFO] [stdout] 240 | | set icon = ? [INFO] [stdout] ... | [INFO] [stdout] 244 | | board [INFO] [stdout] 245 | | ) [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/handlers/home.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / sqlx::query_as!( [INFO] [stdout] 53 | | BoardEntry, [INFO] [stdout] 54 | | r#" [INFO] [stdout] 55 | | SELECT boards.name, cast(count(members.board_id) as UNSIGNED) as member_count, boards.icon from boards [INFO] [stdout] ... | [INFO] [stdout] 60 | | limit 10;"# [INFO] [stdout] 61 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/handlers/home.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / sqlx::query_as!( [INFO] [stdout] 73 | | BoardPost, [INFO] [stdout] 74 | | r#" [INFO] [stdout] 75 | | SELECT posts.id ,posts.created_at ,posts.poster_id ,( select name from boards where id = posts.board_id) as board_name, ( select icon fro... [INFO] [stdout] ... | [INFO] [stdout] 82 | | "#,id, id, limit, offset * limit [INFO] [stdout] 83 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/handlers/home.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | / sqlx::query_as!( [INFO] [stdout] 91 | | BoardPost, [INFO] [stdout] 92 | | r#" [INFO] [stdout] 93 | | SELECT posts.id ,posts.created_at ,posts.poster_id ,( select name from boards where id = posts.board_id) as board_name, ( select icon fro... [INFO] [stdout] ... | [INFO] [stdout] 98 | | "#,id,limit, offset * limit [INFO] [stdout] 99 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/handlers/home.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / sqlx::query_as!( [INFO] [stdout] 53 | | BoardEntry, [INFO] [stdout] 54 | | r#" [INFO] [stdout] 55 | | SELECT boards.name, cast(count(members.board_id) as UNSIGNED) as member_count, boards.icon from boards [INFO] [stdout] ... | [INFO] [stdout] 60 | | limit 10;"# [INFO] [stdout] 61 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/handlers/home.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / sqlx::query_as!( [INFO] [stdout] 73 | | BoardPost, [INFO] [stdout] 74 | | r#" [INFO] [stdout] 75 | | SELECT posts.id ,posts.created_at ,posts.poster_id ,( select name from boards where id = posts.board_id) as board_name, ( select icon fro... [INFO] [stdout] ... | [INFO] [stdout] 82 | | "#,id, id, limit, offset * limit [INFO] [stdout] 83 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/handlers/home.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | / sqlx::query_as!( [INFO] [stdout] 91 | | BoardPost, [INFO] [stdout] 92 | | r#" [INFO] [stdout] 93 | | SELECT posts.id ,posts.created_at ,posts.poster_id ,( select name from boards where id = posts.board_id) as board_name, ( select icon fro... [INFO] [stdout] ... | [INFO] [stdout] 98 | | "#,id,limit, offset * limit [INFO] [stdout] 99 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/handlers/login.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | let users = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 48 | | User, [INFO] [stdout] 49 | | " [INFO] [stdout] 50 | | SELECT * FROM users [INFO] [stdout] ... | [INFO] [stdout] 53 | | form.email [INFO] [stdout] 54 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/handlers/login.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | let new = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 71 | | r#" [INFO] [stdout] 72 | | INSERT INTO users (username, email, password) [INFO] [stdout] 73 | | VALUES (? , ? , ?) [INFO] [stdout] ... | [INFO] [stdout] 77 | | pass [INFO] [stdout] 78 | | ) [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/handlers/login.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | let user = match sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 102 | | r#" [INFO] [stdout] 103 | | SELECT id, password FROM users [INFO] [stdout] 104 | | WHERE email = ? [INFO] [stdout] 105 | | "#, [INFO] [stdout] 106 | | form.email [INFO] [stdout] 107 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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/handlers/login.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | let users = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 48 | | User, [INFO] [stdout] 49 | | " [INFO] [stdout] 50 | | SELECT * FROM users [INFO] [stdout] ... | [INFO] [stdout] 53 | | form.email [INFO] [stdout] 54 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/handlers/login.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | let new = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 71 | | r#" [INFO] [stdout] 72 | | INSERT INTO users (username, email, password) [INFO] [stdout] 73 | | VALUES (? , ? , ?) [INFO] [stdout] ... | [INFO] [stdout] 77 | | pass [INFO] [stdout] 78 | | ) [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/handlers/login.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | let user = match sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 102 | | r#" [INFO] [stdout] 103 | | SELECT id, password FROM users [INFO] [stdout] 104 | | WHERE email = ? [INFO] [stdout] 105 | | "#, [INFO] [stdout] 106 | | form.email [INFO] [stdout] 107 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Template file "post.stpl" not found [INFO] [stdout] --> src/handlers/post.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | #[template(path = "post.stpl", escape = false)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/handlers/post.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | let new = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 58 | | Post, [INFO] [stdout] 59 | | r#" [INFO] [stdout] 60 | | insert into posts (poster_id,board_id,title,text) [INFO] [stdout] ... | [INFO] [stdout] 66 | | sanitize_html(&form.text) [INFO] [stdout] 67 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/handlers/post.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / sqlx::query!( [INFO] [stdout] 81 | | r#" [INFO] [stdout] 82 | | insert into likes (user_id,post_id,is_like) [INFO] [stdout] 83 | | values (?,?,?) [INFO] [stdout] ... | [INFO] [stdout] 89 | | is_like [INFO] [stdout] 90 | | ) [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/handlers/post.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | if let Ok(val) = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 97 | | r#"select is_like from likes [INFO] [stdout] 98 | | where user_id = ? and post_id = ?;"#, [INFO] [stdout] 99 | | id, [INFO] [stdout] 100 | | post_id [INFO] [stdout] 101 | | ) [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: Template file "post.stpl" not found [INFO] [stdout] --> src/handlers/post.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | #[template(path = "post.stpl", escape = false)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/handlers/post.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | Ok(sqlx::query_as!( [INFO] [stdout] | ________^ [INFO] [stdout] 113 | | PostData, [INFO] [stdout] 114 | | r#" [INFO] [stdout] 115 | | SELECT posts.id, posts.created_at,posts.poster_id,posts.title,posts.text, users.pfp as poster_pfp FROM posts [INFO] [stdout] ... | [INFO] [stdout] 119 | | id [INFO] [stdout] 120 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/handlers/post.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | let new = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 58 | | Post, [INFO] [stdout] 59 | | r#" [INFO] [stdout] 60 | | insert into posts (poster_id,board_id,title,text) [INFO] [stdout] ... | [INFO] [stdout] 66 | | sanitize_html(&form.text) [INFO] [stdout] 67 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/handlers/post.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / sqlx::query!( [INFO] [stdout] 81 | | r#" [INFO] [stdout] 82 | | insert into likes (user_id,post_id,is_like) [INFO] [stdout] 83 | | values (?,?,?) [INFO] [stdout] ... | [INFO] [stdout] 89 | | is_like [INFO] [stdout] 90 | | ) [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/handlers/post.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | if let Ok(val) = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 97 | | r#"select is_like from likes [INFO] [stdout] 98 | | where user_id = ? and post_id = ?;"#, [INFO] [stdout] 99 | | id, [INFO] [stdout] 100 | | post_id [INFO] [stdout] 101 | | ) [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/handlers/post.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | Ok(sqlx::query_as!( [INFO] [stdout] | ________^ [INFO] [stdout] 113 | | PostData, [INFO] [stdout] 114 | | r#" [INFO] [stdout] 115 | | SELECT posts.id, posts.created_at,posts.poster_id,posts.title,posts.text, users.pfp as poster_pfp FROM posts [INFO] [stdout] ... | [INFO] [stdout] 119 | | id [INFO] [stdout] 120 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/handlers/user.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | Ok(sqlx::query_as!( [INFO] [stdout] | ________^ [INFO] [stdout] 31 | | User, [INFO] [stdout] 32 | | r#" [INFO] [stdout] 33 | | SELECT * FROM users [INFO] [stdout] ... | [INFO] [stdout] 36 | | id [INFO] [stdout] 37 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/handlers/user.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | Ok(sqlx::query!( [INFO] [stdout] | ________^ [INFO] [stdout] 71 | | r#" [INFO] [stdout] 72 | | SELECT count(*) AS is_in FROM members [INFO] [stdout] 73 | | WHERE board_id = (SELECT id FROM boards WHERE name = ?) AND user_id = ? [INFO] [stdout] ... | [INFO] [stdout] 76 | | id [INFO] [stdout] 77 | | ) [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/handlers/user.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | Ok(sqlx::query!( [INFO] [stdout] | ________^ [INFO] [stdout] 86 | | r#" [INFO] [stdout] 87 | | SELECT IF(boards.owner_id = ?, true,false) as is_owner FROM boards WHERE boards.name = ?; [INFO] [stdout] 88 | | "#, [INFO] [stdout] 89 | | id, [INFO] [stdout] 90 | | board [INFO] [stdout] 91 | | ) [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/handlers/user.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | / sqlx::query_as!( [INFO] [stdout] 105 | | UserBoards, [INFO] [stdout] 106 | | r#" [INFO] [stdout] 107 | | select boards.name, boards.icon from boards [INFO] [stdout] ... | [INFO] [stdout] 111 | | id [INFO] [stdout] 112 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/handlers/user.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | / sqlx::query_as!( [INFO] [stdout] 120 | | BoardPost, [INFO] [stdout] 121 | | r#" [INFO] [stdout] 122 | | select posts.id ,posts.created_at ,posts.poster_id ,( select name from boards where id = posts.board_id) as board_name, ( select icon fro... [INFO] [stdout] ... | [INFO] [stdout] 128 | | "#,id, id, limit, offset * limit [INFO] [stdout] 129 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/handlers/user.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | Ok(sqlx::query_as!( [INFO] [stdout] | ________^ [INFO] [stdout] 31 | | User, [INFO] [stdout] 32 | | r#" [INFO] [stdout] 33 | | SELECT * FROM users [INFO] [stdout] ... | [INFO] [stdout] 36 | | id [INFO] [stdout] 37 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/handlers/user.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | Ok(sqlx::query!( [INFO] [stdout] | ________^ [INFO] [stdout] 71 | | r#" [INFO] [stdout] 72 | | SELECT count(*) AS is_in FROM members [INFO] [stdout] 73 | | WHERE board_id = (SELECT id FROM boards WHERE name = ?) AND user_id = ? [INFO] [stdout] ... | [INFO] [stdout] 76 | | id [INFO] [stdout] 77 | | ) [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/handlers/user.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | Ok(sqlx::query!( [INFO] [stdout] | ________^ [INFO] [stdout] 86 | | r#" [INFO] [stdout] 87 | | SELECT IF(boards.owner_id = ?, true,false) as is_owner FROM boards WHERE boards.name = ?; [INFO] [stdout] 88 | | "#, [INFO] [stdout] 89 | | id, [INFO] [stdout] 90 | | board [INFO] [stdout] 91 | | ) [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/handlers/user.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | / sqlx::query_as!( [INFO] [stdout] 105 | | UserBoards, [INFO] [stdout] 106 | | r#" [INFO] [stdout] 107 | | select boards.name, boards.icon from boards [INFO] [stdout] ... | [INFO] [stdout] 111 | | id [INFO] [stdout] 112 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/handlers/user.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | / sqlx::query_as!( [INFO] [stdout] 120 | | BoardPost, [INFO] [stdout] 121 | | r#" [INFO] [stdout] 122 | | select posts.id ,posts.created_at ,posts.poster_id ,( select name from boards where id = posts.board_id) as board_name, ( select icon fro... [INFO] [stdout] ... | [INFO] [stdout] 128 | | "#,id, id, limit, offset * limit [INFO] [stdout] 129 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `User` [INFO] [stdout] --> src/handlers/login.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::handlers::user::{get_by_id, User}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::sanitize_html` [INFO] [stdout] --> src/handlers/post.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | user::UserBoards, utils::sanitize_html, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `User` [INFO] [stdout] --> src/handlers/login.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::handlers::user::{get_by_id, User}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::sanitize_html` [INFO] [stdout] --> src/handlers/post.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | user::UserBoards, utils::sanitize_html, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_once` found for struct `PostTemplate` in the current scope [INFO] [stdout] --> src/handlers/post.rs:212:37 [INFO] [stdout] | [INFO] [stdout] 41 | struct PostTemplate { [INFO] [stdout] | ------------------- method `render_once` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 212 | HttpResponse::Found().body(temp.render_once().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^ method not found in `PostTemplate` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `render_once`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `TemplateOnce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_once` found for struct `PostTemplate` in the current scope [INFO] [stdout] --> src/handlers/post.rs:212:37 [INFO] [stdout] | [INFO] [stdout] 41 | struct PostTemplate { [INFO] [stdout] | ------------------- method `render_once` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 212 | HttpResponse::Found().body(temp.render_once().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^ method not found in `PostTemplate` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `render_once`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `TemplateOnce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aurora-board` (bin "aurora-board" test) due to 27 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `aurora-board` (bin "aurora-board") due to 27 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4948d82624d578a303c57cd28e6a25f1fe4474b9bfd9d37152d3411650f420f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4948d82624d578a303c57cd28e6a25f1fe4474b9bfd9d37152d3411650f420f1", kill_on_drop: false }` [INFO] [stdout] 4948d82624d578a303c57cd28e6a25f1fe4474b9bfd9d37152d3411650f420f1