[INFO] cloning repository https://github.com/ahmad-khatib0-org/megacommerce-auth [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ahmad-khatib0-org/megacommerce-auth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahmad-khatib0-org%2Fmegacommerce-auth", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahmad-khatib0-org%2Fmegacommerce-auth'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0bc663bb4606319f96a89a4d082568c1b2f099cc [INFO] building ahmad-khatib0-org/megacommerce-auth against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahmad-khatib0-org%2Fmegacommerce-auth" "/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/ahmad-khatib0-org/megacommerce-auth [INFO] finished tweaking git repo https://github.com/ahmad-khatib0-org/megacommerce-auth [INFO] tweaked toml for git repo https://github.com/ahmad-khatib0-org/megacommerce-auth written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ahmad-khatib0-org/megacommerce-auth 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/ahmad-khatib0-org/megacommerce-auth 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] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded phf_generator v0.13.1 [INFO] [stderr] Downloaded phf_shared v0.13.1 [INFO] [stderr] Downloaded libredox v0.1.10 [INFO] [stderr] Downloaded phf_macros v0.13.1 [INFO] [stderr] Downloaded megacommerce-shared-sanitize-derive v0.1.2 [INFO] [stderr] Downloaded megacommerce-shared v0.3.9 [INFO] [stderr] Downloaded deadpool-redis v0.22.0 [INFO] [stderr] Downloaded deadpool v0.12.3 [INFO] [stderr] Downloaded prost-derive v0.14.1 [INFO] [stderr] Downloaded unidecode v0.3.0 [INFO] [stderr] Downloaded bigdecimal v0.4.8 [INFO] [stderr] Downloaded prost v0.14.1 [INFO] [stderr] Downloaded megacommerce-proto v0.1.89 [INFO] [stderr] Downloaded prost-types v0.14.1 [INFO] [stderr] Downloaded phf v0.13.1 [INFO] [stderr] Downloaded whoami v1.6.1 [INFO] [stderr] Downloaded redis v0.32.5 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b5757a63f65faa86ad3727f567f4c50da3fdf8ad5b0d49ef871cc658672fdcf [INFO] running `Command { std: "docker" "start" "-a" "7b5757a63f65faa86ad3727f567f4c50da3fdf8ad5b0d49ef871cc658672fdcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b5757a63f65faa86ad3727f567f4c50da3fdf8ad5b0d49ef871cc658672fdcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b5757a63f65faa86ad3727f567f4c50da3fdf8ad5b0d49ef871cc658672fdcf", kill_on_drop: false }` [INFO] [stdout] 7b5757a63f65faa86ad3727f567f4c50da3fdf8ad5b0d49ef871cc658672fdcf [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1872ae06ed51a46311986af1a0821df672c4e5491ea695e5e9d88ceb3afd6bd7 [INFO] running `Command { std: "docker" "start" "-a" "1872ae06ed51a46311986af1a0821df672c4e5491ea695e5e9d88ceb3afd6bd7", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling bigdecimal v0.4.8 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling prost-derive v0.14.1 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling prost v0.14.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling prost-types v0.14.1 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling tonic v0.13.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling phf_shared v0.13.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling phf_generator v0.13.1 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling megacommerce-proto v0.1.89 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling deadpool v0.12.3 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling ulid v1.2.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling phf_macros v0.13.1 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling unidecode v0.3.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling phf v0.13.1 [INFO] [stderr] Compiling redis v0.32.5 [INFO] [stderr] Compiling megacommerce-shared-sanitize-derive v0.1.2 [INFO] [stderr] Compiling megacommerce-shared v0.3.9 [INFO] [stderr] Compiling deadpool-redis v0.22.0 [INFO] [stderr] Compiling megacommerce-auth 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/store/pg_impl/user.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | query!(r#"SELECT user_type, roles, props, auth_service FROM users WHERE email = $1"#, email) [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 `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/controller/user_cache.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let data = self [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `con` [INFO] [stdout] --> src/controller/user_cache.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let con = self.redis.get_conn(&path).await?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_con` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/store/pg_impl/user.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | .map_err(|err| handle_db_error(err, "auth.store.user_get_auth_data"))?; [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/controller/audit.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn report_internal_error(&self, err: BoxedErr) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `con` [INFO] [stdout] --> src/controller/audit.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | let con = redis.get().await.get().await; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_con` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `megacommerce-auth` (lib) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1872ae06ed51a46311986af1a0821df672c4e5491ea695e5e9d88ceb3afd6bd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1872ae06ed51a46311986af1a0821df672c4e5491ea695e5e9d88ceb3afd6bd7", kill_on_drop: false }` [INFO] [stdout] 1872ae06ed51a46311986af1a0821df672c4e5491ea695e5e9d88ceb3afd6bd7