[INFO] cloning repository https://github.com/natimerry/valentines2_api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/natimerry/valentines2_api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatimerry%2Fvalentines2_api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatimerry%2Fvalentines2_api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] baed5f7feadd0d9fdde228fe52198b7b06e37a15 [INFO] testing natimerry/valentines2_api against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatimerry%2Fvalentines2_api" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/natimerry/valentines2_api [INFO] finished tweaking git repo https://github.com/natimerry/valentines2_api [INFO] tweaked toml for git repo https://github.com/natimerry/valentines2_api written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/natimerry/valentines2_api on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/natimerry/valentines2_api 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-appender v0.2.3 [INFO] [stderr] Downloaded local-waker v0.1.4 [INFO] [stderr] Downloaded proc-macro2 v1.0.88 [INFO] [stderr] Downloaded validator_derive v0.18.2 [INFO] [stderr] Downloaded thiserror-impl v1.0.64 [INFO] [stderr] Downloaded validator v0.18.1 [INFO] [stderr] Downloaded thiserror v1.0.64 [INFO] [stderr] Downloaded zstd v0.13.2 [INFO] [stderr] Downloaded local-channel v0.1.5 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.2 [INFO] [stderr] Downloaded sqlx-macros v0.8.2 [INFO] [stderr] Downloaded actix-codec v0.5.2 [INFO] [stderr] Downloaded actix-utils v3.0.1 [INFO] [stderr] Downloaded actix-server v2.5.0 [INFO] [stderr] Downloaded actix-service v2.0.2 [INFO] [stderr] Downloaded language-tags v0.3.2 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.2 [INFO] [stderr] Downloaded bytestring v1.3.1 [INFO] [stderr] Downloaded brotli-decompressor v4.0.1 [INFO] [stderr] Downloaded actix-web v4.9.0 [INFO] [stderr] Downloaded regex v1.11.0 [INFO] [stderr] Downloaded syn v2.0.82 [INFO] [stderr] Downloaded event-listener v5.3.1 [INFO] [stderr] Downloaded impl-more v0.1.8 [INFO] [stderr] Downloaded regex-lite v0.1.6 [INFO] [stderr] Downloaded sqlx-core v0.8.2 [INFO] [stderr] Downloaded sqlx-postgres v0.8.2 [INFO] [stderr] Downloaded actix-http v3.9.0 [INFO] [stderr] Downloaded hashlink v0.9.1 [INFO] [stderr] Downloaded sqlx v0.8.2 [INFO] [stderr] Downloaded cookie v0.16.2 [INFO] [stderr] Downloaded cc v1.1.31 [INFO] [stderr] Downloaded zstd-safe v7.2.1 [INFO] [stderr] Downloaded actix-macros v0.2.4 [INFO] [stderr] Downloaded actix-rt v2.10.0 [INFO] [stderr] Downloaded actix-web-codegen v4.3.0 [INFO] [stderr] Downloaded sqlx-mysql v0.8.2 [INFO] [stderr] Downloaded actix-router v0.5.3 [INFO] [stderr] Downloaded libm v0.2.8 [INFO] [stderr] Downloaded brotli v6.0.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.30.1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c4b3a401effe5d3e98ad55fff35b0fab80b3f1555dd3b1f6eb500a19cf4159c [INFO] running `Command { std: "docker" "start" "-a" "3c4b3a401effe5d3e98ad55fff35b0fab80b3f1555dd3b1f6eb500a19cf4159c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c4b3a401effe5d3e98ad55fff35b0fab80b3f1555dd3b1f6eb500a19cf4159c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c4b3a401effe5d3e98ad55fff35b0fab80b3f1555dd3b1f6eb500a19cf4159c", kill_on_drop: false }` [INFO] [stdout] 3c4b3a401effe5d3e98ad55fff35b0fab80b3f1555dd3b1f6eb500a19cf4159c [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ababfe9b1c10b2a08d1134cc8e6feec224ef75598b40d6e8e4bcba54b566311 [INFO] running `Command { std: "docker" "start" "-a" "3ababfe9b1c10b2a08d1134cc8e6feec224ef75598b40d6e8e4bcba54b566311", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.88 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling sqlx-core v0.8.2 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling sqlx-postgres v0.8.2 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling validator_derive v0.18.2 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling actix-server v2.5.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling impl-more v0.1.8 [INFO] [stderr] Compiling validator v0.18.1 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling tracing-appender v0.2.3 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling sqlx-macros v0.8.2 [INFO] [stderr] Compiling sqlx v0.8.2 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling mempaste-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/endpoints/authentication.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / sqlx::query!( [INFO] [stdout] 35 | | "INSERT INTO users(username,email,hashed_pass) VALUES ($1,$2,$3)", [INFO] [stdout] 36 | | user.username, [INFO] [stdout] 37 | | user.email, [INFO] [stdout] 38 | | hash [INFO] [stdout] 39 | | ) [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 import: `actix_web::dev::Response` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::dev::Response; [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: `actix_web::http::Method` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::http::Method; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpResponse` and `middleware` [INFO] [stdout] --> src/main.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::{middleware, web, App, HttpResponse, HttpServer}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PgPool` and `database` [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::{database, PgPool, Pool, Postgres}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::error::DatabaseError` [INFO] [stdout] --> src/endpoints.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sqlx::error::DatabaseError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::field::display` [INFO] [stdout] --> src/endpoints.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing_subscriber::field::display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Responder` [INFO] [stdout] --> src/endpoints/authentication.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | HttpResponse, Responder, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sha256` [INFO] [stdout] --> src/endpoints/authentication.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use sha2::{Digest, Sha256, Sha512}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/endpoints/authentication.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mempaste-api` (bin "mempaste-api") due to 1 previous error; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3ababfe9b1c10b2a08d1134cc8e6feec224ef75598b40d6e8e4bcba54b566311", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ababfe9b1c10b2a08d1134cc8e6feec224ef75598b40d6e8e4bcba54b566311", kill_on_drop: false }` [INFO] [stdout] 3ababfe9b1c10b2a08d1134cc8e6feec224ef75598b40d6e8e4bcba54b566311