[INFO] cloning repository https://github.com/formaldehid/social-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/formaldehid/social-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fformaldehid%2Fsocial-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fformaldehid%2Fsocial-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1dce678ad752b71068ba419861a0d92539027ab1 [INFO] testing formaldehid/social-api against master#f9988fefd3add01f414f52b414308e7872622fee for pr-155114 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fformaldehid%2Fsocial-api" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/formaldehid/social-api [INFO] finished tweaking git repo https://github.com/formaldehid/social-api [INFO] tweaked toml for git repo https://github.com/formaldehid/social-api written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/formaldehid/social-api on toolchain f9988fefd3add01f414f52b414308e7872622fee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/formaldehid/social-api 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" "+f9988fefd3add01f414f52b414308e7872622fee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deadpool-runtime v0.3.1 [INFO] [stderr] Downloaded envy v0.4.2 [INFO] [stderr] Downloaded deadpool v0.13.0 [INFO] [stderr] Downloaded deadpool-redis v0.23.0 [INFO] [stderr] Downloaded redis v1.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fde2db446d3fbdc6c1808c3cf69442d4a8a4d787cb33568c11752e020dbe1c81 [INFO] running `Command { std: "docker" "start" "-a" "fde2db446d3fbdc6c1808c3cf69442d4a8a4d787cb33568c11752e020dbe1c81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fde2db446d3fbdc6c1808c3cf69442d4a8a4d787cb33568c11752e020dbe1c81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fde2db446d3fbdc6c1808c3cf69442d4a8a4d787cb33568c11752e020dbe1c81", kill_on_drop: false }` [INFO] [stdout] fde2db446d3fbdc6c1808c3cf69442d4a8a4d787cb33568c11752e020dbe1c81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25c2ba68113bb99539ac233f225c099f3111f10e07f3c4fa3c1420783d33b0b8 [INFO] running `Command { std: "docker" "start" "-a" "25c2ba68113bb99539ac233f225c099f3111f10e07f3c4fa3c1420783d33b0b8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.182 [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 tracing-attributes v0.1.31 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling aws-lc-rs v1.16.1 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling zerocopy v0.8.40 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling uuid v1.22.0 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling protobuf v3.7.2 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling prometheus v0.14.0 [INFO] [stderr] Compiling envy v0.4.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling aws-lc-sys v0.38.0 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling protobuf-support v3.7.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling deadpool-runtime v0.3.1 [INFO] [stderr] Compiling deadpool v0.13.0 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling redis v1.0.5 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling axum v0.8.8 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling social-core v0.6.0 (/opt/rustwide/workdir/crates/social-core) [INFO] [stderr] Compiling mock-common v0.6.0 (/opt/rustwide/workdir/crates/mock-common) [INFO] [stderr] Compiling mock-content-api v0.6.0 (/opt/rustwide/workdir/services/mock-content-api) [INFO] [stderr] Compiling mock-profile-api v0.6.0 (/opt/rustwide/workdir/services/mock-profile-api) [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling rustls-platform-verifier v0.6.2 [INFO] [stderr] Compiling deadpool-redis v0.23.0 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.13.2 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling social-api v0.6.0 (/opt/rustwide/workdir/services/social-api) [INFO] [stdout] warning: associated function `not_implemented` is never used [INFO] [stdout] --> services/social-api/src/adapters/http/error.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl ApiError { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn not_implemented(message: impl Into, request_id: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `log_level`, `rust_log`, and `cache_ttl_user_status_secs` are never read [INFO] [stdout] --> services/social-api/src/infra/config.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Settings { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub log_level: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | pub rust_log: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub cache_ttl_user_status_secs: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Settings` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 19s [INFO] running `Command { std: "docker" "inspect" "25c2ba68113bb99539ac233f225c099f3111f10e07f3c4fa3c1420783d33b0b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25c2ba68113bb99539ac233f225c099f3111f10e07f3c4fa3c1420783d33b0b8", kill_on_drop: false }` [INFO] [stdout] 25c2ba68113bb99539ac233f225c099f3111f10e07f3c4fa3c1420783d33b0b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 046552e1ddfc3f984ec831aad56260789dcb62bec58682c5ce6a7fbd50f5b478 [INFO] running `Command { std: "docker" "start" "-a" "046552e1ddfc3f984ec831aad56260789dcb62bec58682c5ce6a7fbd50f5b478", kill_on_drop: false }` [INFO] [stderr] Compiling mock-profile-api v0.6.0 (/opt/rustwide/workdir/services/mock-profile-api) [INFO] [stderr] Compiling mock-content-api v0.6.0 (/opt/rustwide/workdir/services/mock-content-api) [INFO] [stderr] Compiling social-core v0.6.0 (/opt/rustwide/workdir/crates/social-core) [INFO] [stderr] Compiling mock-common v0.6.0 (/opt/rustwide/workdir/crates/mock-common) [INFO] [stdout] warning: associated function `not_implemented` is never used [INFO] [stdout] --> services/social-api/src/adapters/http/error.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl ApiError { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn not_implemented(message: impl Into, request_id: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `log_level`, `rust_log`, and `cache_ttl_user_status_secs` are never read [INFO] [stdout] --> services/social-api/src/infra/config.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Settings { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub log_level: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | pub rust_log: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub cache_ttl_user_status_secs: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Settings` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling social-api v0.6.0 (/opt/rustwide/workdir/services/social-api) [INFO] [stdout] warning: field `content_type` is never read [INFO] [stdout] --> services/social-api/tests/e2e_http.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 83 | struct TopLikedResponse { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 84 | window: String, [INFO] [stdout] 85 | content_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TopLikedResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `content_type`, `content_id`, and `count` are never read [INFO] [stdout] --> services/social-api/tests/e2e_http.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 90 | struct TopLikedItem { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 91 | content_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 92 | content_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 93 | count: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TopLikedItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `content_type`, `content_id`, and `liked_at` are never read [INFO] [stdout] --> services/social-api/tests/e2e_http.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 104 | struct UserLikeItem { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 105 | content_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 106 | content_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 107 | liked_at: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserLikeItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `details` are never read [INFO] [stdout] --> services/social-api/tests/e2e_http.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 121 | struct ApiError { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 122 | code: String, [INFO] [stdout] 123 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 124 | request_id: String, [INFO] [stdout] 125 | details: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `not_implemented` is never used [INFO] [stdout] --> services/social-api/src/adapters/http/error.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl ApiError { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn not_implemented(message: impl Into, request_id: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `log_level`, `rust_log`, and `cache_ttl_user_status_secs` are never read [INFO] [stdout] --> services/social-api/src/infra/config.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Settings { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub log_level: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | pub rust_log: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub cache_ttl_user_status_secs: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Settings` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.71s [INFO] running `Command { std: "docker" "inspect" "046552e1ddfc3f984ec831aad56260789dcb62bec58682c5ce6a7fbd50f5b478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "046552e1ddfc3f984ec831aad56260789dcb62bec58682c5ce6a7fbd50f5b478", kill_on_drop: false }` [INFO] [stdout] 046552e1ddfc3f984ec831aad56260789dcb62bec58682c5ce6a7fbd50f5b478 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 25e64d5e2695554d4170d5be38d59e6685192754978ebeda0b836ca9e8ac8db3 [INFO] running `Command { std: "docker" "start" "-a" "25e64d5e2695554d4170d5be38d59e6685192754978ebeda0b836ca9e8ac8db3", kill_on_drop: false }` [INFO] [stderr] warning: associated function `not_implemented` is never used [INFO] [stderr] --> services/social-api/src/adapters/http/error.rs:129:12 [INFO] [stderr] | [INFO] [stderr] 28 | impl ApiError { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 129 | pub fn not_implemented(message: impl Into, request_id: String) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `log_level`, `rust_log`, and `cache_ttl_user_status_secs` are never read [INFO] [stderr] --> services/social-api/src/infra/config.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Settings { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 18 | pub log_level: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 19 | pub rust_log: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 28 | pub cache_ttl_user_status_secs: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Settings` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `content_type` is never read [INFO] [stderr] --> services/social-api/tests/e2e_http.rs:85:5 [INFO] [stderr] | [INFO] [stderr] 83 | struct TopLikedResponse { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] 84 | window: String, [INFO] [stderr] 85 | content_type: Option, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TopLikedResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `content_type`, `content_id`, and `count` are never read [INFO] [stderr] --> services/social-api/tests/e2e_http.rs:91:5 [INFO] [stderr] | [INFO] [stderr] 90 | struct TopLikedItem { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 91 | content_type: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 92 | content_id: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 93 | count: i64, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TopLikedItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `content_type`, `content_id`, and `liked_at` are never read [INFO] [stderr] --> services/social-api/tests/e2e_http.rs:105:5 [INFO] [stderr] | [INFO] [stderr] 104 | struct UserLikeItem { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 105 | content_type: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 106 | content_id: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 107 | liked_at: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UserLikeItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `message` and `details` are never read [INFO] [stderr] --> services/social-api/tests/e2e_http.rs:123:5 [INFO] [stderr] | [INFO] [stderr] 121 | struct ApiError { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 122 | code: String, [INFO] [stderr] 123 | message: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 124 | request_id: String, [INFO] [stderr] 125 | details: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `social-api` (bin "social-api" test) generated 2 warnings [INFO] [stderr] warning: `social-api` (test "e2e_http") generated 4 warnings [INFO] [stderr] warning: `social-api` (bin "social-api") generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.65s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mock_common-44f25ed381d1c84e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mock_content_api-b2db7a3d0a0dd666) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test seed::tests::seeded_has_at_least_five_items ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mock_profile_api-aadfc14a1261712c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/social_api-294636986175c0c6) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test adapters::storage::pg_likes::tests::cursor_roundtrip ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/e2e_http.rs (/opt/rustwide/target/debug/deps/e2e_http-c083af8a2a2f1221) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test count_endpoint_returns_zero_for_new_item ... ok [INFO] [stdout] test batch_counts_enforces_limit_and_returns_results ... ok [INFO] [stdout] test health_ready_ok_and_has_checks ... ok [INFO] [stdout] test leaderboard_top_liked_returns_200_and_valid_shape ... ok [INFO] [stdout] test health_live_ok ... ok [INFO] [stdout] test leaderboard_rejects_invalid_window ... ok [INFO] [stdout] test like_unlike_lifecycle_is_idempotent_and_updates_counts ... ok [INFO] [stdout] test metrics_exposes_required_metric_families ... ok [INFO] [stdout] test rate_limit_headers_present_on_count ... ok [INFO] [stdout] test sse_stream_receives_like_and_unlike_events ... ok [INFO] [stdout] test write_rate_limit_returns_429_and_retry_after ... ok [INFO] [stdout] test user_likes_empty_for_fresh_db ... ok [INFO] [stdout] test status_requires_auth_and_valid_token ... ok [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/social_core-a9ee5f1eac9f0371) [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test circuit_breaker::tests::closed_to_open_after_consecutive_failures ... ok [INFO] [stdout] test circuit_breaker::tests::closed_to_open_on_failure_rate_over_half_in_window ... ok [INFO] [stdout] test circuit_breaker::tests::half_open_failure_returns_to_open ... ok [INFO] [stdout] test circuit_breaker::tests::half_open_to_closed_after_success_threshold ... ok [INFO] [stdout] test circuit_breaker::tests::open_blocks_until_timeout_then_half_open_allows ... ok [INFO] [stdout] test domain::tests::window_parse_roundtrip ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests mock_common [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests social_core [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "25e64d5e2695554d4170d5be38d59e6685192754978ebeda0b836ca9e8ac8db3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25e64d5e2695554d4170d5be38d59e6685192754978ebeda0b836ca9e8ac8db3", kill_on_drop: false }` [INFO] [stdout] 25e64d5e2695554d4170d5be38d59e6685192754978ebeda0b836ca9e8ac8db3