[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#a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb for pr-151109
[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 a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "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" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded base64ct v1.8.2
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6144182b710fbd82b796ff0baaf54bd29c65b9ffc6468b441f144fabf540c92b
[INFO] running `Command { std: "docker" "start" "-a" "6144182b710fbd82b796ff0baaf54bd29c65b9ffc6468b441f144fabf540c92b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6144182b710fbd82b796ff0baaf54bd29c65b9ffc6468b441f144fabf540c92b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6144182b710fbd82b796ff0baaf54bd29c65b9ffc6468b441f144fabf540c92b", kill_on_drop: false }`
[INFO] [stdout] 6144182b710fbd82b796ff0baaf54bd29c65b9ffc6468b441f144fabf540c92b
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] af6b62fa4b5f91496abd8f44cdc9964d0fff713f6406ac733af2ffe5274116f8
[INFO] running `Command { std: "docker" "start" "-a" "af6b62fa4b5f91496abd8f44cdc9964d0fff713f6406ac733af2ffe5274116f8", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.179
[INFO] [stderr]    Compiling find-msvc-tools v0.1.6
[INFO] [stderr]    Compiling zmij v1.0.12
[INFO] [stderr]    Compiling syn v2.0.113
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling rustls v0.21.12
[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 minimal-lexical v0.2.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling cc v1.2.51
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking sqlformat v0.2.6
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking uuid v1.19.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking nu-ansi-term v0.50.3
[INFO] [stderr]     Checking ordered-multimap v0.4.3
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]     Checking rust-ini v0.18.0
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling tempfile v3.24.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling pest_generator v2.8.5
[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 axum-macros v0.4.2
[INFO] [stderr]    Compiling pest_derive v2.8.5
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]     Checking ron v0.7.1
[INFO] [stderr]     Checking toml v0.5.11
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking tracing-serde v0.2.0
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.22
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking config v0.13.4
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking hyper-util v0.1.19
[INFO] [stderr]     Checking 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]     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: 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] 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] [stderr] error: could not compile `audit-service` (bin "audit-service") due to 1 previous error; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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] running `Command { std: "docker" "inspect" "af6b62fa4b5f91496abd8f44cdc9964d0fff713f6406ac733af2ffe5274116f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "af6b62fa4b5f91496abd8f44cdc9964d0fff713f6406ac733af2ffe5274116f8", kill_on_drop: false }`
[INFO] [stdout] af6b62fa4b5f91496abd8f44cdc9964d0fff713f6406ac733af2ffe5274116f8
