[INFO] cloning repository https://github.com/dvob/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/dvob/sqlx-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdvob%2Fsqlx-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdvob%2Fsqlx-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b5ce414a94b2d0cbcf52afcdb1b10616443d2ec [INFO] testing dvob/sqlx-test against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdvob%2Fsqlx-test" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dvob/sqlx-test 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/dvob/sqlx-test [INFO] finished tweaking git repo https://github.com/dvob/sqlx-test [INFO] tweaked toml for git repo https://github.com/dvob/sqlx-test written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/dvob/sqlx-test 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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b2924691f0dcec64300185a3c17ce74b129996ad0e2bf0ab35289a811d74af15 [INFO] running `Command { std: "docker" "start" "-a" "b2924691f0dcec64300185a3c17ce74b129996ad0e2bf0ab35289a811d74af15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2924691f0dcec64300185a3c17ce74b129996ad0e2bf0ab35289a811d74af15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2924691f0dcec64300185a3c17ce74b129996ad0e2bf0ab35289a811d74af15", kill_on_drop: false }` [INFO] [stdout] b2924691f0dcec64300185a3c17ce74b129996ad0e2bf0ab35289a811d74af15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 861caf54610ccd301eaaa4283196159f5954e0dd504f6d04dfbc3ad45c3d0a60 [INFO] running `Command { std: "docker" "start" "-a" "861caf54610ccd301eaaa4283196159f5954e0dd504f6d04dfbc3ad45c3d0a60", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling matchit v0.4.6 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling libsqlite3-sys v0.23.2 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling sqlx-rt v0.5.11 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling axum-core v0.1.2 [INFO] [stderr] Compiling flume v0.10.12 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling sqlx-core v0.5.11 [INFO] [stderr] Compiling clap v3.1.6 [INFO] [stderr] Compiling tracing-subscriber v0.3.9 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling tokio-util v0.7.0 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling tower v0.4.12 [INFO] [stderr] Compiling tower-http v0.2.5 [INFO] [stderr] Compiling sqlx-macros v0.5.11 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling axum v0.4.8 [INFO] [stderr] Compiling sqlx v0.5.11 [INFO] [stderr] Compiling sqlx-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/user.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | / sqlx::query!( [INFO] [stdout] 32 | | "INSERT INTO user (id, name, age) VALUES (?, ?, ?);", [INFO] [stdout] 33 | | user.id, [INFO] [stdout] 34 | | user.name, [INFO] [stdout] 35 | | user.age [INFO] [stdout] 36 | | ) [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/user.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | Ok(sqlx::query_as!( [INFO] [stdout] | ____________^ [INFO] [stdout] 45 | | User, [INFO] [stdout] 46 | | r#"SELECT id as "id: uuid::Uuid", name, age as "age: u8" FROM user;"# [INFO] [stdout] 47 | | ) [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/user.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | Ok(sqlx::query_as!( [INFO] [stdout] | ____________^ [INFO] [stdout] 55 | | User, [INFO] [stdout] 56 | | r#"SELECT id as "id: uuid::Uuid", name, age as "age: u8" FROM user WHERE id = ?;"#, [INFO] [stdout] 57 | | id, [INFO] [stdout] 58 | | ) [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/user.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | / sqlx::query!( [INFO] [stdout] 66 | | r#"DELETE FROM user WHERE id = ?;"#, [INFO] [stdout] 67 | | id, [INFO] [stdout] 68 | | ) [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlx-test` due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "861caf54610ccd301eaaa4283196159f5954e0dd504f6d04dfbc3ad45c3d0a60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "861caf54610ccd301eaaa4283196159f5954e0dd504f6d04dfbc3ad45c3d0a60", kill_on_drop: false }` [INFO] [stdout] 861caf54610ccd301eaaa4283196159f5954e0dd504f6d04dfbc3ad45c3d0a60