[INFO] cloning repository https://github.com/AbsoluteVirtueXI/api-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AbsoluteVirtueXI/api-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbsoluteVirtueXI%2Fapi-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbsoluteVirtueXI%2Fapi-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ec8f3ecff50c3022a73f1e016fa0e7efa60c9a51 [INFO] checking AbsoluteVirtueXI/api-test against try#6f8a6450478f69b8510c8976ab6c2a70b3b0e47c for pr-84920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbsoluteVirtueXI%2Fapi-test" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AbsoluteVirtueXI/api-test on toolchain 6f8a6450478f69b8510c8976ab6c2a70b3b0e47c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AbsoluteVirtueXI/api-test [INFO] finished tweaking git repo https://github.com/AbsoluteVirtueXI/api-test [INFO] tweaked toml for git repo https://github.com/AbsoluteVirtueXI/api-test written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/AbsoluteVirtueXI/api-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/graphql-rust/juniper` [INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/graphql-rust/juniper` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-enum v0.1.17 [INFO] [stderr] Downloaded graphql-parser v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6adce75090aac0aca11006c777a5c495f03209831e84f3522c1b71377907acda [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" "6adce75090aac0aca11006c777a5c495f03209831e84f3522c1b71377907acda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6adce75090aac0aca11006c777a5c495f03209831e84f3522c1b71377907acda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6adce75090aac0aca11006c777a5c495f03209831e84f3522c1b71377907acda", kill_on_drop: false }` [INFO] [stdout] 6adce75090aac0aca11006c777a5c495f03209831e84f3522c1b71377907acda [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "check" "--frozen" "--all" "--all-targets" "--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] 75f42bd8c63a3cdd0feca9056099b47e3359de75d601cee2dcdb29418b5b0c12 [INFO] running `Command { std: "docker" "start" "-a" "75f42bd8c63a3cdd0feca9056099b47e3359de75d601cee2dcdb29418b5b0c12", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Compiling const_fn v0.4.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Compiling futures-io v0.3.14 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Checking urlencoding v1.1.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking smartstring v0.2.6 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Checking lexical-core v0.7.6 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking sha-1 v0.9.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking headers v0.3.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking tungstenite v0.11.1 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Checking sqlformat v0.1.6 [INFO] [stderr] Compiling derive_utils v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling futures-enum v0.1.17 [INFO] [stderr] Compiling juniper_codegen v0.15.4 (https://github.com/graphql-rust/juniper?branch=master#dc99ae70) [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking graphql-parser v0.3.0 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking pin-project v0.4.28 [INFO] [stderr] Compiling futures-executor v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking async-native-tls v0.3.3 [INFO] [stderr] Checking tokio-tungstenite v0.11.0 [INFO] [stderr] Checking serde v1.0.125 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking bson v1.2.2 [INFO] [stderr] Checking sqlx-core v0.3.5 [INFO] [stderr] Checking juniper v0.15.4 (https://github.com/graphql-rust/juniper?branch=master#dc99ae70) [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Compiling sqlx-macros v0.3.5 [INFO] [stderr] Checking juniper_subscriptions v0.15.4 (https://github.com/graphql-rust/juniper?branch=master#dc99ae70) [INFO] [stderr] Checking warp v0.2.5 [INFO] [stderr] Checking sqlx v0.3.5 [INFO] [stderr] Checking juniper_warp v0.6.3 (https://github.com/graphql-rust/juniper?branch=master#dc99ae70) [INFO] [stderr] Checking warp-tutorial v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: failed to connect to database: Connection refused (os error 111) [INFO] [stdout] --> src/bin/todo.rs:168:26 [INFO] [stdout] | [INFO] [stdout] 168 | let todos_list = sqlx::query_as!(Todo, "SELECT * FROM todos WHERE id BETWEEN $1 and $2", offset, limit) [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: failed to connect to database: Connection refused (os error 111) [INFO] [stdout] --> src/bin/todo.rs:174:20 [INFO] [stdout] | [INFO] [stdout] 174 | let rows = sqlx::query!("INSERT INTO todos VALUES($1, $2, $3)", id, text, completed) [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: failed to connect to database: Connection refused (os error 111) [INFO] [stdout] --> src/bin/todo.rs:180:20 [INFO] [stdout] | [INFO] [stdout] 180 | let rows = sqlx::query!("UPDATE todos SET text = $1, completed = $2 where id = $3", text, completed, id) [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: failed to connect to database: Connection refused (os error 111) [INFO] [stdout] --> src/bin/todo.rs:186:20 [INFO] [stdout] | [INFO] [stdout] 186 | let rows = sqlx::query!("DELETE FROM todos WHERE id = $1", id) [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: failed to connect to database: Connection refused (os error 111) [INFO] [stdout] --> src/bin/todo.rs:168:26 [INFO] [stdout] | [INFO] [stdout] 168 | let todos_list = sqlx::query_as!(Todo, "SELECT * FROM todos WHERE id BETWEEN $1 and $2", offset, limit) [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: failed to connect to database: Connection refused (os error 111) [INFO] [stdout] --> src/bin/todo.rs:174:20 [INFO] [stdout] | [INFO] [stdout] 174 | let rows = sqlx::query!("INSERT INTO todos VALUES($1, $2, $3)", id, text, completed) [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: failed to connect to database: Connection refused (os error 111) [INFO] [stdout] --> src/bin/todo.rs:180:20 [INFO] [stdout] | [INFO] [stdout] 180 | let rows = sqlx::query!("UPDATE todos SET text = $1, completed = $2 where id = $3", text, completed, id) [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: failed to connect to database: Connection refused (os error 111) [INFO] [stdout] --> src/bin/todo.rs:186:20 [INFO] [stdout] | [INFO] [stdout] 186 | let rows = sqlx::query!("DELETE FROM todos WHERE id = $1", id) [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: failed to connect to database: Connection refused (os error 111) [INFO] [stdout] --> src/bin/todo_graph.rs:192:26 [INFO] [stdout] | [INFO] [stdout] 192 | let todos_list = sqlx::query_as!(Todo, "SELECT * FROM todos WHERE id BETWEEN $1 and $2", offset, limit) [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: failed to connect to database: Connection refused (os error 111) [INFO] [stdout] --> src/bin/todo_graph.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 198 | let rows = sqlx::query!("INSERT INTO todos VALUES($1, $2, $3)", id, text, completed) [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: failed to connect to database: Connection refused (os error 111) [INFO] [stdout] --> src/bin/todo_graph.rs:204:20 [INFO] [stdout] | [INFO] [stdout] 204 | let rows = sqlx::query!("UPDATE todos SET text = $1, completed = $2 where id = $3", text, completed, id) [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: failed to connect to database: Connection refused (os error 111) [INFO] [stdout] --> src/bin/todo_graph.rs:210:20 [INFO] [stdout] | [INFO] [stdout] 210 | let rows = sqlx::query!("DELETE FROM todos WHERE id = $1", id) [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] warning: unused imports: `EmptySubscription`, `FieldResult` [INFO] [stdout] --> src/bin/todo_graph.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | use juniper::{FieldResult, EmptySubscription}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/bin/todo_graph.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/bin/todo_graph.rs:218:30 [INFO] [stdout] | [INFO] [stdout] 218 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to connect to database: Connection refused (os error 111) [INFO] [stdout] --> src/bin/todo_graph.rs:192:26 [INFO] [stdout] | [INFO] [stdout] 192 | let todos_list = sqlx::query_as!(Todo, "SELECT * FROM todos WHERE id BETWEEN $1 and $2", offset, limit) [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: failed to connect to database: Connection refused (os error 111) [INFO] [stdout] --> src/bin/todo_graph.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 198 | let rows = sqlx::query!("INSERT INTO todos VALUES($1, $2, $3)", id, text, completed) [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: failed to connect to database: Connection refused (os error 111) [INFO] [stdout] --> src/bin/todo_graph.rs:204:20 [INFO] [stdout] | [INFO] [stdout] 204 | let rows = sqlx::query!("UPDATE todos SET text = $1, completed = $2 where id = $3", text, completed, id) [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: failed to connect to database: Connection refused (os error 111) [INFO] [stdout] --> src/bin/todo_graph.rs:210:20 [INFO] [stdout] | [INFO] [stdout] 210 | let rows = sqlx::query!("DELETE FROM todos WHERE id = $1", id) [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] warning: unused imports: `EmptySubscription`, `FieldResult` [INFO] [stdout] --> src/bin/todo_graph.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | use juniper::{FieldResult, EmptySubscription}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/bin/todo_graph.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/bin/todo_graph.rs:218:30 [INFO] [stdout] | [INFO] [stdout] 218 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-tutorial` [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "75f42bd8c63a3cdd0feca9056099b47e3359de75d601cee2dcdb29418b5b0c12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75f42bd8c63a3cdd0feca9056099b47e3359de75d601cee2dcdb29418b5b0c12", kill_on_drop: false }` [INFO] [stdout] 75f42bd8c63a3cdd0feca9056099b47e3359de75d601cee2dcdb29418b5b0c12