[INFO] cloning repository https://github.com/mhxy13867806343/rustchatService [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mhxy13867806343/rustchatService" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhxy13867806343%2FrustchatService", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhxy13867806343%2FrustchatService'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d30501e9c67c4dd504653cc7f305b20568497198 [INFO] checking mhxy13867806343/rustchatService against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhxy13867806343%2FrustchatService" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mhxy13867806343/rustchatService [INFO] finished tweaking git repo https://github.com/mhxy13867806343/rustchatService [INFO] tweaked toml for git repo https://github.com/mhxy13867806343/rustchatService written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mhxy13867806343/rustchatService on toolchain 95813608313bff49cfc1afc393a946a3c085b772 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mhxy13867806343/rustchatService 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" "+95813608313bff49cfc1afc393a946a3c085b772" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e837204490e0ba4996ffb528a55b7e5ecbd3d07f33ca606b993264acad178539 [INFO] running `Command { std: "docker" "start" "-a" "e837204490e0ba4996ffb528a55b7e5ecbd3d07f33ca606b993264acad178539", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e837204490e0ba4996ffb528a55b7e5ecbd3d07f33ca606b993264acad178539", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e837204490e0ba4996ffb528a55b7e5ecbd3d07f33ca606b993264acad178539", kill_on_drop: false }` [INFO] [stdout] e837204490e0ba4996ffb528a55b7e5ecbd3d07f33ca606b993264acad178539 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39b364ee16f645073e4eba1d8b970212f6dd7cb5094524a4586ad2dbe2fc65f4 [INFO] running `Command { std: "docker" "start" "-a" "39b364ee16f645073e4eba1d8b970212f6dd7cb5094524a4586ad2dbe2fc65f4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Checking writeable v0.6.2 [INFO] [stderr] Checking litemap v0.8.1 [INFO] [stderr] Compiling cc v1.2.44 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Checking deranged v0.5.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling shellexpand v3.1.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rust-embed-utils v8.9.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking pem v3.0.6 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [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 tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling rust-embed-impl v8.9.0 [INFO] [stderr] Compiling utoipa-gen v4.3.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking rust-embed v8.9.0 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Compiling utoipa-swagger-ui v5.0.0 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking 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 either v1.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking utoipa v4.2.3 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Checking redis v0.23.3 [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 chatService v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `wait_seconds` [INFO] [stdout] --> src/comments.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | let wait_seconds = COMMENT_INTERVAL_SECONDS - elapsed; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wait_seconds` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wait_seconds` [INFO] [stdout] --> src/comments.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | let wait_seconds = COMMENT_INTERVAL_SECONDS - elapsed; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wait_seconds` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/main.rs:1011:43 [INFO] [stdout] | [INFO] [stdout] 1011 | async fn verify_auth(headers: &HeaderMap, ts: &u64, nonce: &str, uid_hash: &str, sig: &str, canonical: &str) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nonce` [INFO] [stdout] --> src/main.rs:1011:53 [INFO] [stdout] | [INFO] [stdout] 1011 | async fn verify_auth(headers: &HeaderMap, ts: &u64, nonce: &str, uid_hash: &str, sig: &str, canonical: &str) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nonce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/main.rs:1011:43 [INFO] [stdout] | [INFO] [stdout] 1011 | async fn verify_auth(headers: &HeaderMap, ts: &u64, nonce: &str, uid_hash: &str, sig: &str, canonical: &str) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nonce` [INFO] [stdout] --> src/main.rs:1011:53 [INFO] [stdout] | [INFO] [stdout] 1011 | async fn verify_auth(headers: &HeaderMap, ts: &u64, nonce: &str, uid_hash: &str, sig: &str, canonical: &str) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nonce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Timeout` is never constructed [INFO] [stdout] --> src/errors.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum DomainError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Timeout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DomainError` 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: field `deleted_at` is never read [INFO] [stdout] --> src/comments.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CommentRow { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub deleted_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommentRow` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load_post_for_update` and `batch_create_comments` are never used [INFO] [stdout] --> src/comments.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 48 | impl CommentService { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | async fn load_post_for_update(&self, tx: &mut Transaction<'_, Postgres>, post_id: i64) -> Result<(Option>, Option... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 563 | pub async fn batch_create_comments(&self, inputs: Vec) -> Result, DomainError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Timeout` is never constructed [INFO] [stdout] --> src/errors.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum DomainError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Timeout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DomainError` 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: field `deleted_at` is never read [INFO] [stdout] --> src/comments.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CommentRow { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub deleted_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommentRow` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load_post_for_update` and `batch_create_comments` are never used [INFO] [stdout] --> src/comments.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 48 | impl CommentService { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | async fn load_post_for_update(&self, tx: &mut Transaction<'_, Postgres>, post_id: i64) -> Result<(Option>, Option... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 563 | pub async fn batch_create_comments(&self, inputs: Vec) -> Result, DomainError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 48s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.23.3, sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "39b364ee16f645073e4eba1d8b970212f6dd7cb5094524a4586ad2dbe2fc65f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39b364ee16f645073e4eba1d8b970212f6dd7cb5094524a4586ad2dbe2fc65f4", kill_on_drop: false }` [INFO] [stdout] 39b364ee16f645073e4eba1d8b970212f6dd7cb5094524a4586ad2dbe2fc65f4