[INFO] cloning repository https://github.com/Rusty-Swordfish/sqlx-wsl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rusty-Swordfish/sqlx-wsl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRusty-Swordfish%2Fsqlx-wsl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRusty-Swordfish%2Fsqlx-wsl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 606ff7be663894c6ff8716d867ac910f1e3c43a0 [INFO] checking Rusty-Swordfish/sqlx-wsl/606ff7be663894c6ff8716d867ac910f1e3c43a0 against master#9050733395f7c10560d49f549e022f411fa28cea for pr-146972 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRusty-Swordfish%2Fsqlx-wsl" "/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/Rusty-Swordfish/sqlx-wsl [INFO] finished tweaking git repo https://github.com/Rusty-Swordfish/sqlx-wsl [INFO] tweaked toml for git repo https://github.com/Rusty-Swordfish/sqlx-wsl written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Rusty-Swordfish/sqlx-wsl on toolchain 9050733395f7c10560d49f549e022f411fa28cea [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9050733395f7c10560d49f549e022f411fa28cea" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Rusty-Swordfish/sqlx-wsl 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" "+9050733395f7c10560d49f549e022f411fa28cea" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v2.7.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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+9050733395f7c10560d49f549e022f411fa28cea" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4508421e888cdfbd082c8ff87685121d189ea79081b21ceac2ca5223d54c875 [INFO] running `Command { std: "docker" "start" "-a" "d4508421e888cdfbd082c8ff87685121d189ea79081b21ceac2ca5223d54c875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4508421e888cdfbd082c8ff87685121d189ea79081b21ceac2ca5223d54c875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4508421e888cdfbd082c8ff87685121d189ea79081b21ceac2ca5223d54c875", kill_on_drop: false }` [INFO] [stdout] d4508421e888cdfbd082c8ff87685121d189ea79081b21ceac2ca5223d54c875 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+9050733395f7c10560d49f549e022f411fa28cea" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b18bdd4e530d21d043796ca1f066852e273c8f82e60e6bb6c9c05e5800fc5a64 [INFO] running `Command { std: "docker" "start" "-a" "b18bdd4e530d21d043796ca1f066852e273c8f82e60e6bb6c9c05e5800fc5a64", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking ring v0.17.8 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling bitflags v2.7.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling tempfile v3.15.0 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking rust_sqlx_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/main.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let users = sqlx::query_as!(User, "SELECT id, name, email FROM users") [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/main.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let users = sqlx::query_as!(User, "SELECT id, name, email FROM users") [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: `models::User` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use models::User; [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: `models::User` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use models::User; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_sqlx_demo` (bin "rust_sqlx_demo" test) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust_sqlx_demo` (bin "rust_sqlx_demo") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b18bdd4e530d21d043796ca1f066852e273c8f82e60e6bb6c9c05e5800fc5a64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b18bdd4e530d21d043796ca1f066852e273c8f82e60e6bb6c9c05e5800fc5a64", kill_on_drop: false }` [INFO] [stdout] b18bdd4e530d21d043796ca1f066852e273c8f82e60e6bb6c9c05e5800fc5a64