[INFO] cloning repository https://github.com/Alex-Elancheliyan/rust-tasks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Alex-Elancheliyan/rust-tasks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlex-Elancheliyan%2Frust-tasks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlex-Elancheliyan%2Frust-tasks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a474c3a562271f273f459e6910311206388ec56 [INFO] testing Alex-Elancheliyan/rust-tasks against master#562dee4820c458d823175268e41601d4c060588a for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlex-Elancheliyan%2Frust-tasks" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Alex-Elancheliyan/rust-tasks [INFO] finished tweaking git repo https://github.com/Alex-Elancheliyan/rust-tasks [INFO] tweaked toml for git repo https://github.com/Alex-Elancheliyan/rust-tasks written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Alex-Elancheliyan/rust-tasks 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/Alex-Elancheliyan/rust-tasks 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 sqlx-macros v0.7.4 [INFO] [stderr] Downloaded sqlformat v0.2.6 [INFO] [stderr] Downloaded sqlx-mysql v0.7.4 [INFO] [stderr] Downloaded sqlx-macros-core v0.7.4 [INFO] [stderr] Downloaded sqlx-core v0.7.4 [INFO] [stderr] Downloaded sqlx-postgres v0.7.4 [INFO] [stderr] Downloaded cc v1.2.44 [INFO] [stderr] Downloaded num-bigint-dig v0.8.5 [INFO] [stderr] Downloaded sqlx v0.7.4 [INFO] [stderr] Downloaded sqlx-sqlite v0.7.4 [INFO] [stderr] Downloaded libsqlite3-sys v0.27.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 632afa103f3a12748d1d76a294c6e1d41a9f1861e3255e8aa54ec6348f3a9d3d [INFO] running `Command { std: "docker" "start" "-a" "632afa103f3a12748d1d76a294c6e1d41a9f1861e3255e8aa54ec6348f3a9d3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "632afa103f3a12748d1d76a294c6e1d41a9f1861e3255e8aa54ec6348f3a9d3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "632afa103f3a12748d1d76a294c6e1d41a9f1861e3255e8aa54ec6348f3a9d3d", kill_on_drop: false }` [INFO] [stdout] 632afa103f3a12748d1d76a294c6e1d41a9f1861e3255e8aa54ec6348f3a9d3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 5eed0f28542baf5bee9bfd004af7e1e88ea3a150529a3daad0a015bad5a74cec [INFO] running `Command { std: "docker" "start" "-a" "5eed0f28542baf5bee9bfd004af7e1e88ea3a150529a3daad0a015bad5a74cec", kill_on_drop: false }` [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling axum v0.7.9 [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] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling firstrust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/main.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 91 | | r#" [INFO] [stdout] 92 | | INSERT INTO students (full_name, email, course, age, reg_time, ip_address, created_by, pdf_file) [INFO] [stdout] 93 | | VALUES ($1, $2, $3, $4, $5, $6, $7, $8) [INFO] [stdout] ... | [INFO] [stdout] 102 | | pdf_path, [INFO] [stdout] 103 | | ) [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: `post` [INFO] [stdout] --> src/main.rs:1:68 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{extract::{State, ConnectInfo, Multipart},routing::{get, post},response::IntoResponse, Json, Router, [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 `firstrust` (bin "firstrust") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "5eed0f28542baf5bee9bfd004af7e1e88ea3a150529a3daad0a015bad5a74cec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5eed0f28542baf5bee9bfd004af7e1e88ea3a150529a3daad0a015bad5a74cec", kill_on_drop: false }` [INFO] [stdout] 5eed0f28542baf5bee9bfd004af7e1e88ea3a150529a3daad0a015bad5a74cec