[INFO] cloning repository https://github.com/AdithyaLaakso/logdbwriter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AdithyaLaakso/logdbwriter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdithyaLaakso%2Flogdbwriter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdithyaLaakso%2Flogdbwriter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7dd2a59477011ac91e4209e996ccbadeaf8195c0 [INFO] checking AdithyaLaakso/logdbwriter against try#8a2f6fe57adadb246778b8d41925d3dc46d468cb for pr-158320 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdithyaLaakso%2Flogdbwriter" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AdithyaLaakso/logdbwriter [INFO] finished tweaking git repo https://github.com/AdithyaLaakso/logdbwriter [INFO] tweaked toml for git repo https://github.com/AdithyaLaakso/logdbwriter written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AdithyaLaakso/logdbwriter on toolchain 8a2f6fe57adadb246778b8d41925d3dc46d468cb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AdithyaLaakso/logdbwriter 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" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] c0aec647c418fb5047c1be78f1df33cc9d57a867c5d4b3b456bde714da36f320 [INFO] running `Command { std: "docker" "start" "c0aec647c418fb5047c1be78f1df33cc9d57a867c5d4b3b456bde714da36f320", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c0aec647c418fb5047c1be78f1df33cc9d57a867c5d4b3b456bde714da36f320" "/opt/rustwide/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0aec647c418fb5047c1be78f1df33cc9d57a867c5d4b3b456bde714da36f320", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c0aec647c418fb5047c1be78f1df33cc9d57a867c5d4b3b456bde714da36f320" "/opt/rustwide/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.8 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking socket2 v0.6.2 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling zmij v1.0.16 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Compiling time-macros v0.2.26 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling aws-lc-rs v1.15.4 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Compiling cc v1.2.54 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling aws-lc-sys v0.37.0 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling time v0.3.46 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling uuid v1.20.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking const_format v0.2.35 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking rustls-platform-verifier v0.6.2 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.13.1 [INFO] [stderr] Checking libsimplelog v0.1.0 (https://github.com/AdithyaLaakso/libsimplelog.git?branch=main#4b7b51ed) [INFO] [stderr] Checking logdbwritter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: environment variable `DATABASE_URL` not defined at compile time [INFO] [stdout] --> src/main.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | const DATABASE_URL: &'static str = env!("DATABASE_URL"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("DATABASE_URL")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `DATABASE_URL` not defined at compile time [INFO] [stdout] --> src/main.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | const DATABASE_URL: &'static str = env!("DATABASE_URL"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("DATABASE_URL")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [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:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | let result = sqlx::query!(r#" [INFO] [stdout] | ______________________^ [INFO] [stdout] 29 | | INSERT INTO logs (user_id, level, name, details, timestamp, service) [INFO] [stdout] 30 | | VALUES ($1, $2, $3, $4, $5, $6); [INFO] [stdout] 31 | | "#, [INFO] [stdout] ... | [INFO] [stdout] 37 | | log.service [INFO] [stdout] 38 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/main.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | let result = sqlx::query!(r#" [INFO] [stdout] | ______________________^ [INFO] [stdout] 29 | | INSERT INTO logs (user_id, level, name, details, timestamp, service) [INFO] [stdout] 30 | | VALUES ($1, $2, $3, $4, $5, $6); [INFO] [stdout] 31 | | "#, [INFO] [stdout] ... | [INFO] [stdout] 37 | | log.service [INFO] [stdout] 38 | | ) [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 `logdbwritter` (bin "logdbwritter" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `logdbwritter` (bin "logdbwritter") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "c0aec647c418fb5047c1be78f1df33cc9d57a867c5d4b3b456bde714da36f320", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0aec647c418fb5047c1be78f1df33cc9d57a867c5d4b3b456bde714da36f320", kill_on_drop: false }` [INFO] [stdout] c0aec647c418fb5047c1be78f1df33cc9d57a867c5d4b3b456bde714da36f320