[INFO] cloning repository https://github.com/Gabriel-Paulucci/SqlxTests [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Gabriel-Paulucci/SqlxTests" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGabriel-Paulucci%2FSqlxTests", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGabriel-Paulucci%2FSqlxTests'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 41bfc74f11fd8faddbd0ac3013484fe8be16f9e3 [INFO] testing Gabriel-Paulucci/SqlxTests against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGabriel-Paulucci%2FSqlxTests" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Gabriel-Paulucci/SqlxTests on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Gabriel-Paulucci/SqlxTests [INFO] finished tweaking git repo https://github.com/Gabriel-Paulucci/SqlxTests [INFO] tweaked toml for git repo https://github.com/Gabriel-Paulucci/SqlxTests written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Gabriel-Paulucci/SqlxTests already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 628d2f23e183a746c45052433a125bcca058e7af7fea74bf70c94f79495102f4 [INFO] running `Command { std: "docker" "start" "-a" "628d2f23e183a746c45052433a125bcca058e7af7fea74bf70c94f79495102f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "628d2f23e183a746c45052433a125bcca058e7af7fea74bf70c94f79495102f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "628d2f23e183a746c45052433a125bcca058e7af7fea74bf70c94f79495102f4", kill_on_drop: false }` [INFO] [stdout] 628d2f23e183a746c45052433a125bcca058e7af7fea74bf70c94f79495102f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 048fd9fe2fc7bc9935bada41d8b947a29e655fd1359f81570c896c2e19732107 [INFO] running `Command { std: "docker" "start" "-a" "048fd9fe2fc7bc9935bada41d8b947a29e655fd1359f81570c896c2e19732107", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling sqlx-rt v0.5.10 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling sqlx-core v0.5.10 [INFO] [stderr] Compiling sqlx-macros v0.5.10 [INFO] [stderr] Compiling sqlx v0.5.10 [INFO] [stderr] Compiling sqlx_tests v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models/user.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / query!( [INFO] [stdout] 16 | | r#"INSERT INTO "User" ( id, name ) VALUES ( $1, $2 )"#, [INFO] [stdout] 17 | | uuid, [INFO] [stdout] 18 | | name [INFO] [stdout] 19 | | ) [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/models/user.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | let user = query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 29 | | User, [INFO] [stdout] 30 | | r#"SELECT * FROM "User" [INFO] [stdout] 31 | | WHERE id = $1"#, [INFO] [stdout] 32 | | id [INFO] [stdout] 33 | | ) [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlx_tests` due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "048fd9fe2fc7bc9935bada41d8b947a29e655fd1359f81570c896c2e19732107", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "048fd9fe2fc7bc9935bada41d8b947a29e655fd1359f81570c896c2e19732107", kill_on_drop: false }` [INFO] [stdout] 048fd9fe2fc7bc9935bada41d8b947a29e655fd1359f81570c896c2e19732107