[INFO] cloning repository https://github.com/neokofg/auth-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/neokofg/auth-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneokofg%2Fauth-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneokofg%2Fauth-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d9e232bf1b077a66d56b4aecbeee6b75b9b7c1a5
[INFO] building neokofg/auth-rs against try#58b1b3c5342a414c161338871f8004258ccef2a7 for pr-149937
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneokofg%2Fauth-rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/neokofg/auth-rs
[INFO] finished tweaking git repo https://github.com/neokofg/auth-rs
[INFO] tweaked toml for git repo https://github.com/neokofg/auth-rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/neokofg/auth-rs on toolchain 58b1b3c5342a414c161338871f8004258ccef2a7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/neokofg/auth-rs 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" "+58b1b3c5342a414c161338871f8004258ccef2a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sqlformat v0.2.6
[INFO] [stderr]   Downloaded sqlx-macros v0.8.2
[INFO] [stderr]   Downloaded sqlx-macros-core v0.8.2
[INFO] [stderr]   Downloaded rust-argon2 v2.1.0
[INFO] [stderr]   Downloaded actix-web-httpauth v0.8.2
[INFO] [stderr]   Downloaded sqlx-sqlite v0.8.2
[INFO] [stderr]   Downloaded sqlx-mysql v0.8.2
[INFO] [stderr]   Downloaded sqlx-postgres v0.8.2
[INFO] [stderr]   Downloaded sqlx v0.8.2
[INFO] [stderr]   Downloaded flate2 v1.0.34
[INFO] [stderr]   Downloaded sqlx-core v0.8.2
[INFO] [stderr]   Downloaded syn v2.0.86
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 98d321e99bc606f3db6e19b806382983a5fc96789cb6f9c152d97a347ca37ae3
[INFO] running `Command { std: "docker" "start" "-a" "98d321e99bc606f3db6e19b806382983a5fc96789cb6f9c152d97a347ca37ae3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "98d321e99bc606f3db6e19b806382983a5fc96789cb6f9c152d97a347ca37ae3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98d321e99bc606f3db6e19b806382983a5fc96789cb6f9c152d97a347ca37ae3", kill_on_drop: false }`
[INFO] [stdout] 98d321e99bc606f3db6e19b806382983a5fc96789cb6f9c152d97a347ca37ae3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0eafe6a97aba178db38a8defc88911fdbfbb227699e112f68f390016c8bdfa08
[INFO] running `Command { std: "docker" "start" "-a" "0eafe6a97aba178db38a8defc88911fdbfbb227699e112f68f390016c8bdfa08", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]    Compiling bytes v1.8.0
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling cpufeatures v0.2.14
[INFO] [stderr]    Compiling unicode-bidi v0.3.17
[INFO] [stderr]    Compiling hashbrown v0.15.0
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling syn v2.0.86
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]    Compiling cc v1.1.31
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling rustls v0.23.16
[INFO] [stderr]    Compiling thiserror v1.0.66
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling event-listener v5.3.1
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling webpki-roots v0.26.6
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling bytestring v1.3.1
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling rustix v0.38.38
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling zstd-sys v2.0.13+zstd.1.5.6
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling tokio v1.41.0
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling serde_derive v1.0.214
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling rustls-webpki v0.102.8
[INFO] [stderr]    Compiling thiserror-impl v1.0.66
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling tokio-stream v0.1.16
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling hashlink v0.9.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling whoami v1.5.2
[INFO] [stderr]    Compiling uuid v1.11.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling actix-service v2.0.2
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling fastrand v2.1.1
[INFO] [stderr]    Compiling derive_more v0.99.18
[INFO] [stderr]    Compiling flate2 v1.0.34
[INFO] [stderr]    Compiling brotli v6.0.0
[INFO] [stderr]    Compiling tempfile v3.13.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling sqlx-core v0.8.2
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling zstd-safe v7.2.1
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling zstd v0.13.2
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling impl-more v0.1.8
[INFO] [stderr]    Compiling blake2b_simd v1.0.2
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling rust-argon2 v2.1.0
[INFO] [stderr]    Compiling sqlx-postgres v0.8.2
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling actix-rt v2.10.0
[INFO] [stderr]    Compiling actix-server v2.5.0
[INFO] [stderr]    Compiling actix-codec v0.5.2
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.2
[INFO] [stderr]    Compiling sqlx-macros v0.8.2
[INFO] [stderr]    Compiling actix-http v3.9.0
[INFO] [stderr]    Compiling sqlx v0.8.2
[INFO] [stderr]    Compiling actix-web v4.9.0
[INFO] [stderr]    Compiling actix-web-httpauth v0.8.2
[INFO] [stderr]    Compiling auth-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/services/token_service.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 | /         sqlx::query!(
[INFO] [stdout] 27 | |             r#"
[INFO] [stdout] 28 | |             INSERT INTO personal_access_tokens (user_id, name, token, expires_at)
[INFO] [stdout] 29 | |             VALUES ($1, $2, $3, $4)
[INFO] [stdout] ...  |
[INFO] [stdout] 34 | |             expires_at
[INFO] [stdout] 35 | |         )
[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 communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/services/token_service.rs:45:20
[INFO] [stdout]    |
[INFO] [stdout] 45 |           let user = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 46 | |             User,
[INFO] [stdout] 47 | |             r#"
[INFO] [stdout] 48 | |             SELECT u.* FROM users u
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |             token_hash
[INFO] [stdout] 54 | |         )
[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/services/token_service.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 | /             sqlx::query!(
[INFO] [stdout] 60 | |                 r#"
[INFO] [stdout] 61 | |                 UPDATE personal_access_tokens
[INFO] [stdout] 62 | |                 SET last_used_at = CURRENT_TIMESTAMP
[INFO] [stdout] ...  |
[INFO] [stdout] 65 | |                 token_hash
[INFO] [stdout] 66 | |             )
[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 communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/services/auth_service.rs:23:30
[INFO] [stdout]    |
[INFO] [stdout] 23 |         if let Ok(Some(_)) = sqlx::query!("SELECT id FROM users WHERE email = $1", req.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 `sqlx::query` (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/services/auth_service.rs:34:15
[INFO] [stdout]    |
[INFO] [stdout] 34 |           match sqlx::query_as!(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 35 | |             User,
[INFO] [stdout] 36 | |             r#"
[INFO] [stdout] 37 | |             INSERT INTO users (email, password_hash)
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |             password_hash
[INFO] [stdout] 43 | |         )
[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/services/auth_service.rs:65:20
[INFO] [stdout]    |
[INFO] [stdout] 65 |           let user = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 66 | |             User,
[INFO] [stdout] 67 | |             "SELECT * FROM users WHERE email = $1",
[INFO] [stdout] 68 | |             req.email
[INFO] [stdout] 69 | |         )
[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/services/auth_service.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 | /         sqlx::query!(
[INFO] [stdout] 93 | |             "DELETE FROM personal_access_tokens WHERE token = $1",
[INFO] [stdout] 94 | |             token_hash
[INFO] [stdout] 95 | |         )
[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: `actix_web::middleware::Logger`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use actix_web::middleware::Logger;
[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: `crate::entities::user::User`
[INFO] [stdout]  --> src/services/auth_service.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::entities::user::User;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/services/token_service.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let user = sqlx::query_as!(
[INFO] [stdout]    |             ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |         if user.is_some() {
[INFO] [stdout]    |            ---- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `user` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let user: /* Type */ = sqlx::query_as!(
[INFO] [stdout]    |                 ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/services/auth_service.rs:65:20
[INFO] [stdout]    |
[INFO] [stdout] 65 |           let user = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 66 | |             User,
[INFO] [stdout] 67 | |             "SELECT * FROM users WHERE email = $1",
[INFO] [stdout] 68 | |             req.email
[INFO] [stdout] 69 | |         )
[INFO] [stdout] 70 | |             .fetch_optional(&self.pool)
[INFO] [stdout] 71 | |             .await
[INFO] [stdout]    | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/services/auth_service.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 | /         sqlx::query!(
[INFO] [stdout] 93 | |             "DELETE FROM personal_access_tokens WHERE token = $1",
[INFO] [stdout] 94 | |             token_hash
[INFO] [stdout] ...  |
[INFO] [stdout] 97 | |             .await
[INFO] [stdout]    | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `auth-rs` (bin "auth-rs") due to 10 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "0eafe6a97aba178db38a8defc88911fdbfbb227699e112f68f390016c8bdfa08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0eafe6a97aba178db38a8defc88911fdbfbb227699e112f68f390016c8bdfa08", kill_on_drop: false }`
[INFO] [stdout] 0eafe6a97aba178db38a8defc88911fdbfbb227699e112f68f390016c8bdfa08
