[INFO] cloning repository https://github.com/vinikira/rust_sqlx_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vinikira/rust_sqlx_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvinikira%2Frust_sqlx_test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvinikira%2Frust_sqlx_test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da9d29d623e6bf58a0142c39b9df78946819e76a [INFO] checking vinikira/rust_sqlx_test against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvinikira%2Frust_sqlx_test" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vinikira/rust_sqlx_test on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vinikira/rust_sqlx_test [INFO] finished tweaking git repo https://github.com/vinikira/rust_sqlx_test [INFO] tweaked toml for git repo https://github.com/vinikira/rust_sqlx_test written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/vinikira/rust_sqlx_test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 948aea81769235190f3006040a60f653193d68fc71d56c9dae3be2bee1c96cbf [INFO] running `Command { std: "docker" "start" "-a" "948aea81769235190f3006040a60f653193d68fc71d56c9dae3be2bee1c96cbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "948aea81769235190f3006040a60f653193d68fc71d56c9dae3be2bee1c96cbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "948aea81769235190f3006040a60f653193d68fc71d56c9dae3be2bee1c96cbf", kill_on_drop: false }` [INFO] [stdout] 948aea81769235190f3006040a60f653193d68fc71d56c9dae3be2bee1c96cbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf2939cde65ae26a3b30f9facc5adf49aa40a6c36170b3ecd60e947184f61ace [INFO] running `Command { std: "docker" "start" "-a" "bf2939cde65ae26a3b30f9facc5adf49aa40a6c36170b3ecd60e947184f61ace", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling whoami v1.1.2 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking radium v0.5.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling unicode-normalization v0.1.18 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking sha-1 v0.9.6 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-queue v0.3.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Checking sqlformat v0.1.6 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tokio-stream v0.1.6 [INFO] [stderr] Checking sqlx-rt v0.5.5 [INFO] [stderr] Checking sqlx-core v0.5.5 [INFO] [stderr] Compiling sqlx-macros v0.5.5 [INFO] [stderr] Checking sqlx v0.5.5 [INFO] [stderr] Checking rust_db_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/main.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | let users = sqlx::query_as!(User, "SELECT id, name, profile_id from users;") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/main.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | let users = sqlx::query_as!(User, "SELECT id, name, profile_id from users;") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_db_test` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "bf2939cde65ae26a3b30f9facc5adf49aa40a6c36170b3ecd60e947184f61ace", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf2939cde65ae26a3b30f9facc5adf49aa40a6c36170b3ecd60e947184f61ace", kill_on_drop: false }` [INFO] [stdout] bf2939cde65ae26a3b30f9facc5adf49aa40a6c36170b3ecd60e947184f61ace