[INFO] cloning repository https://github.com/goodhel/rust-graphql [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/goodhel/rust-graphql" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoodhel%2Frust-graphql", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoodhel%2Frust-graphql'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 696a0787c07a99e65cd906e5404d4bf25c880f34 [INFO] testing goodhel/rust-graphql against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoodhel%2Frust-graphql" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/goodhel/rust-graphql on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/goodhel/rust-graphql [INFO] finished tweaking git repo https://github.com/goodhel/rust-graphql [INFO] tweaked toml for git repo https://github.com/goodhel/rust-graphql written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/goodhel/rust-graphql already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+beta-2022-04-10" "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] ceba21f89744958d23f67e9e8a954961c0abd503ac774fa9842cdb876eaec849 [INFO] running `Command { std: "docker" "start" "-a" "ceba21f89744958d23f67e9e8a954961c0abd503ac774fa9842cdb876eaec849", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ceba21f89744958d23f67e9e8a954961c0abd503ac774fa9842cdb876eaec849", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ceba21f89744958d23f67e9e8a954961c0abd503ac774fa9842cdb876eaec849", kill_on_drop: false }` [INFO] [stdout] ceba21f89744958d23f67e9e8a954961c0abd503ac774fa9842cdb876eaec849 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+beta-2022-04-10" "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] cc8bd8c5c8904bcd4571198ff51b27f5e711ff0e6eebb1f027290206bb5a738b [INFO] running `Command { std: "docker" "start" "-a" "cc8bd8c5c8904bcd4571198ff51b27f5e711ff0e6eebb1f027290206bb5a738b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling futures-io v0.3.14 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling signal-hook v0.3.8 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling const_fn v0.4.7 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling whoami v1.1.2 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling openssl-sys v0.9.62 [INFO] [stderr] Compiling smartstring v0.2.6 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling hashlink v0.6.0 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling regex v1.5.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling ahash v0.7.2 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling sqlformat v0.1.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling derive_utils v0.11.2 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling derive_more v0.99.13 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling futures-enum v0.1.17 [INFO] [stderr] Compiling juniper_codegen v0.15.4 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.6 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling polling v2.0.3 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling async-io v1.4.1 [INFO] [stderr] Compiling graphql-parser v0.3.0 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling async-process v1.1.0 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling futures-executor v0.3.14 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling futures v0.3.14 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling sqlx-rt v0.5.2 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling sqlx-core v0.5.2 [INFO] [stderr] Compiling bson v1.2.2 [INFO] [stderr] Compiling juniper v0.15.4 [INFO] [stderr] Compiling actix-http v2.2.0 [INFO] [stderr] Compiling sqlx-macros v0.5.2 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.2 [INFO] [stderr] Compiling sqlx v0.5.2 [INFO] [stderr] Compiling rust-graphql v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/handler/root.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let users = sqlx::query_as!(User, [INFO] [stdout] | _____________________^ [INFO] [stdout] 20 | | "SELECT id, name, email FROM users" [INFO] [stdout] 21 | | ).fetch_all(&conn).await?; [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/handler/root.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | let user = sqlx::query_as!(User, [INFO] [stdout] | ____________________^ [INFO] [stdout] 30 | | "SELECT id, name, email FROM users WHERE id = $1", [INFO] [stdout] 31 | | id [INFO] [stdout] 32 | | ).fetch_one(&conn).await?; [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/handler/root.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | let products = sqlx::query_as!( Product, [INFO] [stdout] | ________________________^ [INFO] [stdout] 41 | | "SELECT id, user_id, name, price::integer FROM product" [INFO] [stdout] 42 | | ).fetch_all(&conn).await?; [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/handler/root.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | let product = sqlx::query_as!(Product, [INFO] [stdout] | _______________________^ [INFO] [stdout] 51 | | "SELECT id, user_id, name, price::integer FROM product WHERE id = $1", [INFO] [stdout] 52 | | id [INFO] [stdout] 53 | | ).fetch_one(&conn).await?; [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/handler/root.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | let insert = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 66 | | "INSERT INTO users (name, email) VALUES ($1,$2) [INFO] [stdout] 67 | | RETURNING id, name, email", [INFO] [stdout] 68 | | user.name, user.email [INFO] [stdout] 69 | | ).fetch_one(&conn).await?; [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/handler/root.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | let insert = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 83 | | "INSERT INTO product (user_id, name, price) VALUES ($1,$2,$3) [INFO] [stdout] 84 | | RETURNING id, user_id, name, price", [INFO] [stdout] 85 | | product.user_id, product.name, product.price [INFO] [stdout] 86 | | ).fetch_one(&conn).await?; [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/handler/user.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | let product = sqlx::query_as!(Product, [INFO] [stdout] | _______________________^ [INFO] [stdout] 36 | | "SELECT id, user_id, name, price::integer FROM product WHERE user_id = $1", [INFO] [stdout] 37 | | &self.id [INFO] [stdout] 38 | | ).fetch_all(&conn).await; [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/handler/product.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | if let Ok(user) = sqlx::query_as!(User, [INFO] [stdout] | ___________________________^ [INFO] [stdout] 41 | | "SELECT * FROM users WHERE id = $1", [INFO] [stdout] 42 | | &self.user_id [INFO] [stdout] 43 | | ).fetch_one(&conn).await{ [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] warning: unused import: `FieldError` [INFO] [stdout] --> src/handler/root.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use juniper::{EmptySubscription, FieldError, FieldResult, RootNode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-graphql` due to 9 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "cc8bd8c5c8904bcd4571198ff51b27f5e711ff0e6eebb1f027290206bb5a738b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc8bd8c5c8904bcd4571198ff51b27f5e711ff0e6eebb1f027290206bb5a738b", kill_on_drop: false }` [INFO] [stdout] cc8bd8c5c8904bcd4571198ff51b27f5e711ff0e6eebb1f027290206bb5a738b