[INFO] cloning repository https://github.com/pond-e/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/pond-e/rust-sqlx-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpond-e%2Frust-sqlx-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpond-e%2Frust-sqlx-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 33d2a9abec1dd33bd79b5efe89b402cd3d486882 [INFO] building pond-e/rust-sqlx-example against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpond-e%2Frust-sqlx-example" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pond-e/rust-sqlx-example [INFO] finished tweaking git repo https://github.com/pond-e/rust-sqlx-example [INFO] tweaked toml for git repo https://github.com/pond-e/rust-sqlx-example written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pond-e/rust-sqlx-example on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pond-e/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-queue v0.3.12 [INFO] [stderr] Downloaded sqlx-macros v0.8.6 [INFO] [stderr] Downloaded crc v3.3.0 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.6 [INFO] [stderr] Downloaded base64ct v1.8.0 [INFO] [stderr] Downloaded whoami v1.6.0 [INFO] [stderr] Downloaded rsa v0.9.8 [INFO] [stderr] Downloaded sqlx-postgres v0.8.6 [INFO] [stderr] Downloaded der v0.7.10 [INFO] [stderr] Downloaded cc v1.2.31 [INFO] [stderr] Downloaded serde_json v1.0.142 [INFO] [stderr] Downloaded sqlx-core v0.8.6 [INFO] [stderr] Downloaded sqlx v0.8.6 [INFO] [stderr] Downloaded sqlx-mysql v0.8.6 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.6 [INFO] [stderr] Downloaded flume v0.11.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aba13b9396c3c0ff52a69504e30876bbba51ad22bcd6a6e987d58409c5df378a [INFO] running `Command { std: "docker" "start" "-a" "aba13b9396c3c0ff52a69504e30876bbba51ad22bcd6a6e987d58409c5df378a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aba13b9396c3c0ff52a69504e30876bbba51ad22bcd6a6e987d58409c5df378a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aba13b9396c3c0ff52a69504e30876bbba51ad22bcd6a6e987d58409c5df378a", kill_on_drop: false }` [INFO] [stdout] aba13b9396c3c0ff52a69504e30876bbba51ad22bcd6a6e987d58409c5df378a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff8d0e5a7ad58f41b3c8064cf466a29fcf685bab28128f11f3cca1e26c8b4718 [INFO] running `Command { std: "docker" "start" "-a" "ff8d0e5a7ad58f41b3c8064cf466a29fcf685bab28128f11f3cca1e26c8b4718", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling synstructure v0.13.2 [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 serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling rust-sqlx-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/main.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 27 | | "insert into users (name, email, address) values (?, ?, ?)", [INFO] [stdout] 28 | | request.name, [INFO] [stdout] 29 | | request.email, [INFO] [stdout] 30 | | request.address [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/main.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | let users = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 53 | | User, [INFO] [stdout] 54 | | "select * from users" [INFO] [stdout] 55 | | ) [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[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let result = sqlx::query!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | Ok(result.last_insert_rowid()) [INFO] [stdout] | ----------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 26 | let result: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-sqlx-example` (bin "rust-sqlx-example") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "ff8d0e5a7ad58f41b3c8064cf466a29fcf685bab28128f11f3cca1e26c8b4718", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff8d0e5a7ad58f41b3c8064cf466a29fcf685bab28128f11f3cca1e26c8b4718", kill_on_drop: false }` [INFO] [stdout] ff8d0e5a7ad58f41b3c8064cf466a29fcf685bab28128f11f3cca1e26c8b4718