[INFO] cloning repository https://github.com/SycamoreQ/research-paper-management [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SycamoreQ/research-paper-management" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSycamoreQ%2Fresearch-paper-management", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSycamoreQ%2Fresearch-paper-management'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 60d85143a4f83cb21b369b5d59f85cda55b6fba0 [INFO] linting SycamoreQ/research-paper-management/60d85143a4f83cb21b369b5d59f85cda55b6fba0 against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSycamoreQ%2Fresearch-paper-management" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 57% (3123/5393) Updating files: 58% (3128/5393) Updating files: 59% (3182/5393) Updating files: 60% (3236/5393) Updating files: 61% (3290/5393) Updating files: 62% (3344/5393) Updating files: 63% (3398/5393) Updating files: 64% (3452/5393) Updating files: 65% (3506/5393) Updating files: 66% (3560/5393) Updating files: 67% (3614/5393) Updating files: 68% (3668/5393) Updating files: 68% (3691/5393) Updating files: 69% (3722/5393) Updating files: 70% (3776/5393) Updating files: 70% (3812/5393) Updating files: 71% (3830/5393) Updating files: 72% (3883/5393) Updating files: 73% (3937/5393) Updating files: 74% (3991/5393) Updating files: 75% (4045/5393) Updating files: 75% (4065/5393) Updating files: 76% (4099/5393) Updating files: 77% (4153/5393) Updating files: 77% (4197/5393) Updating files: 78% (4207/5393) Updating files: 79% (4261/5393) Updating files: 80% (4315/5393) Updating files: 81% (4369/5393) Updating files: 82% (4423/5393) Updating files: 82% (4426/5393) Updating files: 83% (4477/5393) Updating files: 84% (4531/5393) Updating files: 84% (4537/5393) Updating files: 85% (4585/5393) Updating files: 85% (4604/5393) Updating files: 86% (4638/5393) Updating files: 87% (4692/5393) Updating files: 87% (4708/5393) Updating files: 88% (4746/5393) Updating files: 89% (4800/5393) Updating files: 90% (4854/5393) Updating files: 91% (4908/5393) Updating files: 91% (4956/5393) Updating files: 92% (4962/5393) Updating files: 93% (5016/5393) Updating files: 94% (5070/5393) Updating files: 95% (5124/5393) Updating files: 96% (5178/5393) Updating files: 97% (5232/5393) Updating files: 98% (5286/5393) Updating files: 99% (5340/5393) Updating files: 100% (5393/5393) Updating files: 100% (5393/5393), done. [INFO] started tweaking git repo https://github.com/SycamoreQ/research-paper-management [INFO] finished tweaking git repo https://github.com/SycamoreQ/research-paper-management [INFO] tweaked toml for git repo https://github.com/SycamoreQ/research-paper-management written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SycamoreQ/research-paper-management on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SycamoreQ/research-paper-management already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlx-rt v0.6.3 [INFO] [stderr] Downloaded futures-intrusive v0.4.2 [INFO] [stderr] Downloaded value-bag v1.11.1 [INFO] [stderr] Downloaded async-native-tls v0.4.0 [INFO] [stderr] Downloaded sqlx-macros v0.6.3 [INFO] [stderr] Downloaded async-std v1.13.1 [INFO] [stderr] Downloaded sqlx v0.6.3 [INFO] [stderr] Downloaded sqlx-core v0.6.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d078b56db3d30195dd91098b4d6962ba5e585770192bf0e7724691702e27292 [INFO] running `Command { std: "docker" "start" "-a" "6d078b56db3d30195dd91098b4d6962ba5e585770192bf0e7724691702e27292", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d078b56db3d30195dd91098b4d6962ba5e585770192bf0e7724691702e27292", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d078b56db3d30195dd91098b4d6962ba5e585770192bf0e7724691702e27292", kill_on_drop: false }` [INFO] [stdout] 6d078b56db3d30195dd91098b4d6962ba5e585770192bf0e7724691702e27292 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce807badf82c6caa6fd8c1753760a74a20ee7a4da4e545e4f530632a15420cb4 [INFO] running `Command { std: "docker" "start" "-a" "ce807badf82c6caa6fd8c1753760a74a20ee7a4da4e545e4f530632a15420cb4", kill_on_drop: false }` [INFO] [stderr] Checking value-bag v1.11.1 [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling polling v3.8.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Compiling async-io v2.4.1 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Compiling async-signal v0.2.11 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Compiling async-process v2.3.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Compiling async-std v1.13.1 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Checking async-native-tls v0.4.0 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling sqlx-rt v0.6.3 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking cookie v0.16.2 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking actix-http v3.11.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling sqlx-core v0.6.3 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking actix-web v4.11.0 [INFO] [stderr] Checking actix-cors v0.7.1 [INFO] [stderr] Compiling sqlx-macros v0.6.3 [INFO] [stderr] Checking sqlx v0.6.3 [INFO] [stderr] Checking Rust-3 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handler.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 25 | | Publication , [INFO] [stdout] 26 | | "INSERT INTO publication_4 (title , year , subject) VALUES ($1 , $2 , $3) [INFO] [stdout] 27 | | RETURNING *", [INFO] [stdout] ... | [INFO] [stdout] 30 | | body.subject.to_owned().to_string() [INFO] [stdout] 31 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handler.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 70 | | Publication, [INFO] [stdout] 71 | | "SELECT * FROM publication_4 WHERE DOI = $1" , doi [INFO] [stdout] 72 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handler.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | let query_result = sqlx::query_as!(Publication, "SELECT * FROM publication_4 WHERE DOI = $1", doi) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handler.rs:115:24 [INFO] [stdout] | [INFO] [stdout] 115 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 116 | | Publication , [INFO] [stdout] 117 | | "UPDATE publication_4 SET title = $1 , subject = $2 , updated_at = $3 WHERE DOI = $4 RETURNING *", [INFO] [stdout] 118 | | body.title, [INFO] [stdout] ... | [INFO] [stdout] 121 | | doi [INFO] [stdout] 122 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handler.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | let rows_affected = sqlx::query!("DELETE FROM publication_4 WHERE DOI = $1" , doi) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handler.rs:175:29 [INFO] [stdout] | [INFO] [stdout] 175 | let publication_check = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 176 | | "SELECT DOI FROM publication_4 WHERE DOI = $1", [INFO] [stdout] 177 | | publication_doi [INFO] [stdout] 178 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handler.rs:200:25 [INFO] [stdout] | [INFO] [stdout] 200 | let insert_result = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 201 | | "INSERT INTO publication_authors_2 (publication_doi, author_id, author_name) [INFO] [stdout] 202 | | VALUES ($1, $2, $3)", [INFO] [stdout] 203 | | body.publication_doi, [INFO] [stdout] 204 | | body.author_id, [INFO] [stdout] 205 | | body.author_name [INFO] [stdout] 206 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handler.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 25 | | Publication , [INFO] [stdout] 26 | | "INSERT INTO publication_4 (title , year , subject) VALUES ($1 , $2 , $3) [INFO] [stdout] 27 | | RETURNING *", [INFO] [stdout] ... | [INFO] [stdout] 30 | | body.subject.to_owned().to_string() [INFO] [stdout] 31 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handler.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 70 | | Publication, [INFO] [stdout] 71 | | "SELECT * FROM publication_4 WHERE DOI = $1" , doi [INFO] [stdout] 72 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handler.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | let query_result = sqlx::query_as!(Publication, "SELECT * FROM publication_4 WHERE DOI = $1", doi) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handler.rs:115:24 [INFO] [stdout] | [INFO] [stdout] 115 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 116 | | Publication , [INFO] [stdout] 117 | | "UPDATE publication_4 SET title = $1 , subject = $2 , updated_at = $3 WHERE DOI = $4 RETURNING *", [INFO] [stdout] 118 | | body.title, [INFO] [stdout] ... | [INFO] [stdout] 121 | | doi [INFO] [stdout] 122 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Query` [INFO] [stdout] --> src/handler.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | extract::{Path , Query , State}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Publication` [INFO] [stdout] --> src/handler.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | models::{ Publication , UpdatePublicationRequest , CreatePublication , PublicationAuthor}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handler.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | let rows_affected = sqlx::query!("DELETE FROM publication_4 WHERE DOI = $1" , doi) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handler.rs:175:29 [INFO] [stdout] | [INFO] [stdout] 175 | let publication_check = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 176 | | "SELECT DOI FROM publication_4 WHERE DOI = $1", [INFO] [stdout] 177 | | publication_doi [INFO] [stdout] 178 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handler.rs:200:25 [INFO] [stdout] | [INFO] [stdout] 200 | let insert_result = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 201 | | "INSERT INTO publication_authors_2 (publication_doi, author_id, author_name) [INFO] [stdout] 202 | | VALUES ($1, $2, $3)", [INFO] [stdout] 203 | | body.publication_doi, [INFO] [stdout] 204 | | body.author_id, [INFO] [stdout] 205 | | body.author_name [INFO] [stdout] 206 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `delete` and `patch` [INFO] [stdout] --> src/routes.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | routing::{get , post , patch , delete }, [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/schema.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize , Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Query` [INFO] [stdout] --> src/handler.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | extract::{Path , Query , State}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Publication` [INFO] [stdout] --> src/handler.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | models::{ Publication , UpdatePublicationRequest , CreatePublication , PublicationAuthor}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `delete` and `patch` [INFO] [stdout] --> src/routes.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | routing::{get , post , patch , delete }, [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/schema.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize , Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Rust-3` (bin "Rust-3") due to 7 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `Rust-3` (bin "Rust-3" test) due to 7 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ce807badf82c6caa6fd8c1753760a74a20ee7a4da4e545e4f530632a15420cb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce807badf82c6caa6fd8c1753760a74a20ee7a4da4e545e4f530632a15420cb4", kill_on_drop: false }` [INFO] [stdout] ce807badf82c6caa6fd8c1753760a74a20ee7a4da4e545e4f530632a15420cb4