[INFO] cloning repository https://github.com/nic96/minipress [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nic96/minipress" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnic96%2Fminipress", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnic96%2Fminipress'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90acfc409fd2958e8b11c02a7c6db689f49fafe4 [INFO] testing nic96/minipress against try#eafdee2dfae8c2233b74f98b123308be7ccefcc6 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnic96%2Fminipress" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nic96/minipress on toolchain eafdee2dfae8c2233b74f98b123308be7ccefcc6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nic96/minipress [INFO] finished tweaking git repo https://github.com/nic96/minipress [INFO] tweaked toml for git repo https://github.com/nic96/minipress written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/nic96/minipress already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hkdf v0.10.0 [INFO] [stderr] Downloaded ctr v0.6.0 [INFO] [stderr] Downloaded aes-gcm v0.8.0 [INFO] [stderr] Downloaded aes-soft v0.6.4 [INFO] [stderr] Downloaded sqlx-rt v0.2.0 [INFO] [stderr] Downloaded handlebars v3.5.1 [INFO] [stderr] Downloaded atoi v0.3.3 [INFO] [stderr] Downloaded sqlx-core v0.4.0 [INFO] [stderr] Downloaded simple_logger v1.11.0 [INFO] [stderr] Downloaded sqlx-macros v0.4.0 [INFO] [stderr] Downloaded sqlformat v0.1.5 [INFO] [stderr] Downloaded sqlx v0.4.1 [INFO] [stderr] Downloaded ahash v0.5.8 [INFO] [stderr] Downloaded actix-identity v0.3.1 [INFO] [stderr] Downloaded aes v0.6.0 [INFO] [stderr] Downloaded oauth2 v3.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 865046c08e440ea7d3a195b28c0ef5199718d0fc33a7e8c4b9fdf2d96ae25fa8 [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" "865046c08e440ea7d3a195b28c0ef5199718d0fc33a7e8c4b9fdf2d96ae25fa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "865046c08e440ea7d3a195b28c0ef5199718d0fc33a7e8c4b9fdf2d96ae25fa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "865046c08e440ea7d3a195b28c0ef5199718d0fc33a7e8c4b9fdf2d96ae25fa8", kill_on_drop: false }` [INFO] [stdout] 865046c08e440ea7d3a195b28c0ef5199718d0fc33a7e8c4b9fdf2d96ae25fa8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1aa9c982c623c2f1485960ca1547fbeabbd7960a4bc015aea5827b1d424196b0 [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" "1aa9c982c623c2f1485960ca1547fbeabbd7960a4bc015aea5827b1d424196b0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling smallvec v1.5.0 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling subtle v2.3.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling futures v0.1.30 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling unicode-segmentation v1.7.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling native-tls v0.2.6 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling tap v1.0.0 [INFO] [stderr] Compiling funty v1.0.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling v_escape v0.13.2 [INFO] [stderr] Compiling v_htmlescape v0.10.4 [INFO] [stderr] Compiling whoami v0.9.0 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling anyhow v1.0.34 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling quick-error v2.0.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling standback v0.2.13 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling cookie v0.14.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling nom v6.0.0 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling buf-min v0.1.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling tracing v0.1.21 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling bitvec v0.19.4 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling unicode-normalization v0.1.9 [INFO] [stderr] Compiling atoi v0.3.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling signal-hook-registry v1.2.2 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling socket2 v0.3.16 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling ahash v0.5.8 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling crypto-mac v0.9.1 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling sha2 v0.9.2 [INFO] [stderr] Compiling sha-1 v0.9.2 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling polyval v0.4.1 [INFO] [stderr] Compiling hmac v0.9.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling simple_logger v1.11.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling publicsuffix v1.5.4 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling ghash v0.3.0 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling sqlformat v0.1.5 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling async-trait v0.1.41 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling v_escape_derive v0.8.4 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling tokio v0.2.23 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-openssl v0.4.0 [INFO] [stderr] Compiling tokio-native-tls v0.1.0 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling trust-dns-proto v0.19.6 [INFO] [stderr] Compiling sqlx-rt v0.2.0 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.5 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling trust-dns-resolver v0.19.6 [INFO] [stderr] Compiling sqlx-core v0.4.0 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling handlebars v3.5.1 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling reqwest v0.9.24 [INFO] [stderr] Compiling actix-http v2.1.0 [INFO] [stderr] Compiling oauth2 v3.0.0 [INFO] [stderr] Compiling awc v2.0.1 [INFO] [stderr] Compiling sqlx-macros v0.4.0 [INFO] [stderr] Compiling actix-web v3.2.0 [INFO] [stderr] Compiling actix-identity v0.3.1 [INFO] [stderr] Compiling actix-session v0.4.0 [INFO] [stderr] Compiling actix-files v0.4.0 [INFO] [stderr] Compiling sqlx v0.4.1 [INFO] [stderr] Compiling minipress v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models/post.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | let posts = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 53 | | Post, [INFO] [stdout] 54 | | " [INFO] [stdout] 55 | | SELECT id, user_id, title, slug, excerpt, content, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 58 | | " [INFO] [stdout] 59 | | ) [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` must be set to use query macros [INFO] [stdout] --> src/models/post.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | let post = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 68 | | Post, [INFO] [stdout] 69 | | " [INFO] [stdout] 70 | | SELECT * FROM posts WHERE id = $1 [INFO] [stdout] 71 | | ", [INFO] [stdout] 72 | | 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` must be set to use query macros [INFO] [stdout] --> src/models/post.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | let post = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 90 | | Post, [INFO] [stdout] 91 | | "INSERT INTO posts (user_id, title, slug, excerpt, content) VALUES ($1, $2, $3, $4, $5) RETURNING *", [INFO] [stdout] 92 | | logged_user.id, [INFO] [stdout] ... | [INFO] [stdout] 96 | | post.content, [INFO] [stdout] 97 | | ) [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` must be set to use query macros [INFO] [stdout] --> src/models/post.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | let post = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 115 | | Post, [INFO] [stdout] 116 | | " [INFO] [stdout] 117 | | UPDATE posts SET title = $1, content = $2, excerpt = $3 WHERE id = $4 RETURNING * [INFO] [stdout] ... | [INFO] [stdout] 122 | | id, [INFO] [stdout] 123 | | ) [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` must be set to use query macros [INFO] [stdout] --> src/models/user.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | let users = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 137 | | User, [INFO] [stdout] 138 | | r#" [INFO] [stdout] 139 | | SELECT id, username, email, password, name, avatar_url, [INFO] [stdout] ... | [INFO] [stdout] 144 | | "#, [INFO] [stdout] 145 | | ) [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` must be set to use query macros [INFO] [stdout] --> src/models/user.rs:153:20 [INFO] [stdout] | [INFO] [stdout] 153 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 154 | | User, [INFO] [stdout] 155 | | r#" [INFO] [stdout] 156 | | SELECT id, username, email, password, name, avatar_url, [INFO] [stdout] ... | [INFO] [stdout] 161 | | id [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` must be set to use query macros [INFO] [stdout] --> src/models/user.rs:170:20 [INFO] [stdout] | [INFO] [stdout] 170 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 171 | | User, [INFO] [stdout] 172 | | r#" [INFO] [stdout] 173 | | SELECT id, username, email, password, name, avatar_url, [INFO] [stdout] ... | [INFO] [stdout] 178 | | id [INFO] [stdout] 179 | | ) [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` must be set to use query macros [INFO] [stdout] --> src/models/user.rs:187:20 [INFO] [stdout] | [INFO] [stdout] 187 | ... let user = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 188 | | ... User, [INFO] [stdout] 189 | | ... r#"INSERT INTO users (username, email, password, name, avatar_url, gravatar_id, github_id, github_token, role, created_at, upda... [INFO] [stdout] 190 | | ... VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) [INFO] [stdout] ... | [INFO] [stdout] 205 | | ... user.updated_at, [INFO] [stdout] 206 | | ... ) [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` must be set to use query macros [INFO] [stdout] --> src/models/user.rs:214:20 [INFO] [stdout] | [INFO] [stdout] 214 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 215 | | User, [INFO] [stdout] 216 | | r#" [INFO] [stdout] 217 | | UPDATE users SET username = $1, email = $2, password = $3, name = $4, avatar_url = $5, [INFO] [stdout] ... | [INFO] [stdout] 232 | | id, [INFO] [stdout] 233 | | ) [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: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `minipress` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "1aa9c982c623c2f1485960ca1547fbeabbd7960a4bc015aea5827b1d424196b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aa9c982c623c2f1485960ca1547fbeabbd7960a4bc015aea5827b1d424196b0", kill_on_drop: false }` [INFO] [stdout] 1aa9c982c623c2f1485960ca1547fbeabbd7960a4bc015aea5827b1d424196b0