[INFO] cloning repository https://github.com/skanehira/rust-sqlx-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/skanehira/rust-sqlx-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskanehira%2Frust-sqlx-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskanehira%2Frust-sqlx-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 99f44c106fdb33ed639b9cac4070b6615f3e6ce6 [INFO] testing skanehira/rust-sqlx-example against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskanehira%2Frust-sqlx-example" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/skanehira/rust-sqlx-example [INFO] finished tweaking git repo https://github.com/skanehira/rust-sqlx-example [INFO] tweaked toml for git repo https://github.com/skanehira/rust-sqlx-example written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/skanehira/rust-sqlx-example on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/skanehira/rust-sqlx-example 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded either v1.10.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.58 [INFO] [stderr] Downloaded thiserror v1.0.58 [INFO] [stderr] Downloaded crossbeam-utils v0.8.19 [INFO] [stderr] Downloaded sqlx-macros v0.8.1 [INFO] [stderr] Downloaded num-iter v0.1.44 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.1 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.1 [INFO] [stderr] Downloaded anyhow v1.0.81 [INFO] [stderr] Downloaded num-traits v0.2.18 [INFO] [stderr] Downloaded sqlx-core v0.8.1 [INFO] [stderr] Downloaded sqlx-mysql v0.8.1 [INFO] [stderr] Downloaded syn v2.0.55 [INFO] [stderr] Downloaded bumpalo v3.15.4 [INFO] [stderr] Downloaded sqlx v0.8.1 [INFO] [stderr] Downloaded sqlx-postgres v0.8.1 [INFO] [stderr] Downloaded stringprep v0.1.4 [INFO] [stderr] Downloaded crc v3.0.1 [INFO] [stderr] Downloaded getrandom v0.2.12 [INFO] [stderr] Downloaded chrono v0.4.35 [INFO] [stderr] Downloaded tokio v1.38.2 [INFO] [stderr] Downloaded finl_unicode v1.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 023988038e81117131b661770989c949b4564fc38a5490b62bf6162bfc91b4e8 [INFO] running `Command { std: "docker" "start" "-a" "023988038e81117131b661770989c949b4564fc38a5490b62bf6162bfc91b4e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "023988038e81117131b661770989c949b4564fc38a5490b62bf6162bfc91b4e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "023988038e81117131b661770989c949b4564fc38a5490b62bf6162bfc91b4e8", kill_on_drop: false }` [INFO] [stdout] 023988038e81117131b661770989c949b4564fc38a5490b62bf6162bfc91b4e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a1bd7dbd71176710fad5d773e256a67b871985ebdda757fb6bfb2faf6e641df [INFO] running `Command { std: "docker" "start" "-a" "7a1bd7dbd71176710fad5d773e256a67b871985ebdda757fb6bfb2faf6e641df", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling num-iter v0.1.44 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling tokio v1.38.2 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling chrono v0.4.35 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling rsa v0.9.10 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling sqlformat v0.2.3 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling sqlx-core v0.8.1 [INFO] [stderr] Compiling sqlx-mysql v0.8.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.1 [INFO] [stderr] Compiling sqlx-macros v0.8.1 [INFO] [stderr] Compiling sqlx v0.8.1 [INFO] [stderr] Compiling rust-sqlx-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/lib.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | let query = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 32 | | r#" [INFO] [stdout] 33 | | INSERT INTO users (id, name, email, confirmed, birthday, created_at, updated_at) [INFO] [stdout] 34 | | VALUES (?, ?, ?, ?, ?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 42 | | input.updated_at, [INFO] [stdout] 43 | | ); [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] [stderr] error: could not compile `rust-sqlx-example` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "7a1bd7dbd71176710fad5d773e256a67b871985ebdda757fb6bfb2faf6e641df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a1bd7dbd71176710fad5d773e256a67b871985ebdda757fb6bfb2faf6e641df", kill_on_drop: false }` [INFO] [stdout] 7a1bd7dbd71176710fad5d773e256a67b871985ebdda757fb6bfb2faf6e641df