[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#d990716b6a1fdde1300748828a9c9e79dfd0b898 for pr-74846 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbsoluteVirtueXI%2Fapi-test" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AbsoluteVirtueXI/api-test on toolchain d990716b6a1fdde1300748828a9c9e79dfd0b898 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "read-manifest" "--manifest-path" "Cargo.toml", 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-1/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" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/graphql-rust/juniper` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-1/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" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/graphql-rust/juniper` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bson v1.0.0 [INFO] [stderr] Downloaded find-crate v0.5.0 [INFO] [stderr] Downloaded graphql-parser v0.3.0 [INFO] [stderr] Downloaded futures-enum v0.1.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d017f402ab892bdabf66e16bd15f44849c22c738ff60aef76f29c969a5971276 [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" "d017f402ab892bdabf66e16bd15f44849c22c738ff60aef76f29c969a5971276", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d017f402ab892bdabf66e16bd15f44849c22c738ff60aef76f29c969a5971276", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d017f402ab892bdabf66e16bd15f44849c22c738ff60aef76f29c969a5971276", kill_on_drop: false }` [INFO] [stdout] d017f402ab892bdabf66e16bd15f44849c22c738ff60aef76f29c969a5971276 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a3c4a6cd352daf70a49787a4719fd0c592b0094d9f6321d021d05a3d1ded580 [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" "5a3c4a6cd352daf70a49787a4719fd0c592b0094d9f6321d021d05a3d1ded580", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking either v1.6.0 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Checking md5 v0.6.1 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking urlencoding v1.1.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking tracing-core v0.1.14 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking memchr v2.3.3 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking tracing v0.1.19 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking phf_shared v0.7.24 [INFO] [stderr] Compiling sqlformat v0.1.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking md-5 v0.8.0 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking mime_guess v2.0.3 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Checking headers v0.3.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking tungstenite v0.10.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking multipart v0.16.1 [INFO] [stderr] Compiling derive_utils v0.10.0 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling juniper_codegen v0.14.2 (https://github.com/graphql-rust/juniper?branch=master#633602f0) [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking graphql-parser v0.3.0 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking serde v1.0.115 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking async-native-tls v0.3.3 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking tokio-tungstenite v0.10.1 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Checking bson v1.0.0 [INFO] [stderr] Checking sqlx-core v0.3.5 [INFO] [stderr] Compiling find-crate v0.5.0 [INFO] [stderr] Compiling futures-enum v0.1.13 [INFO] [stderr] Checking juniper v0.14.2 (https://github.com/graphql-rust/juniper?branch=master#633602f0) [INFO] [stderr] Checking hyper v0.13.7 [INFO] [stderr] Compiling sqlx-macros v0.3.5 [INFO] [stderr] Checking juniper_subscriptions v0.14.2 (https://github.com/graphql-rust/juniper?branch=master#633602f0) [INFO] [stderr] Checking warp v0.2.4 [INFO] [stderr] Checking juniper_warp v0.5.2 (https://github.com/graphql-rust/juniper?branch=master#633602f0) [INFO] [stderr] Checking sqlx v0.3.5 [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] 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] 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] [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 [INFO] [stdout] [INFO] [stdout] [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" "5a3c4a6cd352daf70a49787a4719fd0c592b0094d9f6321d021d05a3d1ded580", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a3c4a6cd352daf70a49787a4719fd0c592b0094d9f6321d021d05a3d1ded580", kill_on_drop: false }` [INFO] [stdout] 5a3c4a6cd352daf70a49787a4719fd0c592b0094d9f6321d021d05a3d1ded580