[INFO] cloning repository https://github.com/Artur-Sulej/rust-audit
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Artur-Sulej/rust-audit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArtur-Sulej%2Frust-audit", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArtur-Sulej%2Frust-audit'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 42f63b178fa745e114e9bd0280ee2531eeb65ace
[INFO] checking Artur-Sulej/rust-audit against master#f8463896a9b36a04899c013bd8825a7fd29dd7a4 for pr-151920
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArtur-Sulej%2Frust-audit" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Artur-Sulej/rust-audit
[INFO] finished tweaking git repo https://github.com/Artur-Sulej/rust-audit
[INFO] tweaked toml for git repo https://github.com/Artur-Sulej/rust-audit written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Artur-Sulej/rust-audit on toolchain f8463896a9b36a04899c013bd8825a7fd29dd7a4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Artur-Sulej/rust-audit 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" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded base64ct v1.8.2
[INFO] [stderr]   Downloaded config v0.13.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cce2edd5ac8ba787ba6e47efa63f7f46959e7ea3386f6e15c586fdbd07ab8554
[INFO] running `Command { std: "docker" "start" "-a" "cce2edd5ac8ba787ba6e47efa63f7f46959e7ea3386f6e15c586fdbd07ab8554", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cce2edd5ac8ba787ba6e47efa63f7f46959e7ea3386f6e15c586fdbd07ab8554", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cce2edd5ac8ba787ba6e47efa63f7f46959e7ea3386f6e15c586fdbd07ab8554", kill_on_drop: false }`
[INFO] [stdout] cce2edd5ac8ba787ba6e47efa63f7f46959e7ea3386f6e15c586fdbd07ab8554
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 41d7c9c83159cad6c8adf5553a36cb45679ff9ff299747db8517f6a6e53f632e
[INFO] running `Command { std: "docker" "start" "-a" "41d7c9c83159cad6c8adf5553a36cb45679ff9ff299747db8517f6a6e53f632e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.179
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling zmij v1.0.12
[INFO] [stderr]    Compiling syn v2.0.113
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling pest v2.8.5
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling uuid v1.19.0
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]     Checking sqlformat v0.2.6
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]     Checking ahash v0.7.8
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]    Compiling tempfile v3.24.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling pest_meta v2.8.5
[INFO] [stderr]     Checking dlv-list v0.3.0
[INFO] [stderr]     Checking regex-syntax v0.8.8
[INFO] [stderr]     Checking ordered-multimap v0.4.3
[INFO] [stderr]     Checking ryu v1.0.22
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking pathdiff v0.2.3
[INFO] [stderr]     Checking rust-ini v0.18.0
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling pest_generator v2.8.5
[INFO] [stderr]     Checking matchers v0.2.0
[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.31
[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 pin-project-internal v1.1.10
[INFO] [stderr]    Compiling pest_derive v2.8.5
[INFO] [stderr]    Compiling axum-macros v0.4.2
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]     Checking 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]     Checking serde v1.0.228
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking ron v0.7.1
[INFO] [stderr]     Checking tracing-serde v0.2.0
[INFO] [stderr]     Checking toml v0.5.11
[INFO] [stderr]     Checking tracing-subscriber v0.3.22
[INFO] [stderr]     Checking config v0.13.4
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking hyper-util v0.1.19
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking sqlx-core v0.7.4
[INFO] [stderr]     Checking sqlx-postgres v0.7.4
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking audit-service v0.1.0 (/opt/rustwide/workdir/audit-service)
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> audit-service/src/adapters/repo/postgres.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | /         sqlx::query!(
[INFO] [stdout] 21 | |             r#"
[INFO] [stdout] 22 | |             INSERT INTO audit_events 
[INFO] [stdout] 23 | |             (id, correlation_id, actor_id, actor_type, action, resource_id, resource_type, metadata, created_at)
[INFO] [stdout] ...  |
[INFO] [stdout] 34 | |             event.created_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: cannot find attribute `async_trait` in this scope
[INFO] [stdout]   --> audit-service/src/service/mod.rs:38:7
[INFO] [stdout]    |
[INFO] [stdout] 38 |     #[async_trait]
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `async_trait` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: consider importing one of these attribute macros
[INFO] [stdout]    |
[INFO] [stdout] 28 +     use async_trait::async_trait;
[INFO] [stdout]    |
[INFO] [stdout] 28 +     use axum::async_trait;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `insert` do not match the trait declaration
[INFO] [stdout]   --> audit-service/src/service/mod.rs:40:24
[INFO] [stdout]    |
[INFO] [stdout] 40 |         async fn insert(&self, event: &AuditEvent) -> Result<(), anyhow::Error> {
[INFO] [stdout]    |                        ^ lifetimes do not match method in trait
[INFO] [stdout]    |
[INFO] [stdout]   ::: audit-service/src/domain/ports.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | #[async_trait]
[INFO] [stdout]    | -------------- this bound might be missing in the impl
[INFO] [stdout]  5 | pub trait AuditRepository: Send + Sync {
[INFO] [stdout]  6 |     async fn insert(&self, event: &AuditEvent) -> Result<(), anyhow::Error>;
[INFO] [stdout]    |              ---------------------------------
[INFO] [stdout]    |              |      |             |
[INFO] [stdout]    |              |      |             this bound might be missing in the impl
[INFO] [stdout]    |              |      this bound might be missing in the impl
[INFO] [stdout]    |              lifetimes in impl do not match this method in trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> audit-service/src/adapters/repo/postgres.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | /         sqlx::query!(
[INFO] [stdout] 21 | |             r#"
[INFO] [stdout] 22 | |             INSERT INTO audit_events 
[INFO] [stdout] 23 | |             (id, correlation_id, actor_id, actor_type, action, resource_id, resource_type, metadata, created_at)
[INFO] [stdout] ...  |
[INFO] [stdout] 34 | |             event.created_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] warning: unused variable: `run_mode`
[INFO] [stdout]   --> audit-service/src/config/mod.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let run_mode = std::env::var("RUN_MODE").unwrap_or_else(|_| "development".into());
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_run_mode`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `run_mode`
[INFO] [stdout]   --> audit-service/src/config/mod.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let run_mode = std::env::var("RUN_MODE").unwrap_or_else(|_| "development".into());
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_run_mode`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0195`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `audit-service` (bin "audit-service" test) due to 3 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `audit-service` (bin "audit-service") due to 1 previous error; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "41d7c9c83159cad6c8adf5553a36cb45679ff9ff299747db8517f6a6e53f632e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "41d7c9c83159cad6c8adf5553a36cb45679ff9ff299747db8517f6a6e53f632e", kill_on_drop: false }`
[INFO] [stdout] 41d7c9c83159cad6c8adf5553a36cb45679ff9ff299747db8517f6a6e53f632e
