[INFO] cloning repository https://github.com/rong9490/axum_midend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rong9490/axum_midend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frong9490%2Faxum_midend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frong9490%2Faxum_midend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10d74a62c7d4332d610257cd01ec844f31a0abd9 [INFO] checking rong9490/axum_midend against try#e19b5cc0f024358aaaecf2776a5291fa5a95b623 for pr-147185-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frong9490%2Faxum_midend" "/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/rong9490/axum_midend [INFO] finished tweaking git repo https://github.com/rong9490/axum_midend [INFO] tweaked toml for git repo https://github.com/rong9490/axum_midend written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rong9490/axum_midend on toolchain e19b5cc0f024358aaaecf2776a5291fa5a95b623 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e19b5cc0f024358aaaecf2776a5291fa5a95b623" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rong9490/axum_midend 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" "+e19b5cc0f024358aaaecf2776a5291fa5a95b623" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e19b5cc0f024358aaaecf2776a5291fa5a95b623" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f0758b9265db59d4696c5376cd10ff383c75744d982432caead264cd4ce1b54 [INFO] running `Command { std: "docker" "start" "-a" "0f0758b9265db59d4696c5376cd10ff383c75744d982432caead264cd4ce1b54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f0758b9265db59d4696c5376cd10ff383c75744d982432caead264cd4ce1b54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f0758b9265db59d4696c5376cd10ff383c75744d982432caead264cd4ce1b54", kill_on_drop: false }` [INFO] [stdout] 0f0758b9265db59d4696c5376cd10ff383c75744d982432caead264cd4ce1b54 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e19b5cc0f024358aaaecf2776a5291fa5a95b623" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4cb04cac91797406dbba6b50e34799aa526a1af559736efca78150ef76fac39 [INFO] running `Command { std: "docker" "start" "-a" "c4cb04cac91797406dbba6b50e34799aa526a1af559736efca78150ef76fac39", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Checking multer v3.1.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling utoipa-gen v4.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking utoipa v4.2.3 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling fslock v0.2.1 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Checking brotli v8.0.2 [INFO] [stderr] Compiling rust-embed-utils v8.7.2 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Checking foreign-types-shared v0.3.1 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking compression-core v0.4.28 [INFO] [stderr] Compiling rust-embed-impl v8.7.2 [INFO] [stderr] Compiling utoipa-swagger-ui v6.0.0 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking foreign-types v0.5.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking ct-codecs v1.1.6 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking headers v0.4.1 [INFO] [stderr] Checking rust-embed v8.7.2 [INFO] [stderr] Checking ed25519-compact v2.1.1 [INFO] [stderr] Checking blake2b_simd v1.0.3 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking p384 v0.13.1 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking hmac-sha256 v1.1.12 [INFO] [stderr] Checking hmac-sha512 v1.1.7 [INFO] [stderr] Checking coarsetime v0.1.36 [INFO] [stderr] Checking binstring v0.1.7 [INFO] [stderr] Checking hmac-sha1-compact v1.1.5 [INFO] [stderr] Checking axum-extra v0.9.6 [INFO] [stderr] Checking chat_room v0.1.0 (/opt/rustwide/workdir/chat_room) [INFO] [stderr] Checking utoipa-rapidoc v3.0.0 [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> chat_room/src/config.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Error, Result, bail}; [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: `path::PathBuf` [INFO] [stdout] --> chat_room/src/config.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{env, fs::File, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `auth::*` [INFO] [stdout] --> chat_room/src/handlers/mod.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) use auth::*; // 重新简化导出 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chat::*` [INFO] [stdout] --> chat_room/src/handlers/mod.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) use chat::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `messages::*` [INFO] [stdout] --> chat_room/src/handlers/mod.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) use messages::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking utoipa-redoc v3.0.0 [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> chat_room/src/lib.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn try_new(config: AppConfig) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tower v0.4.13 [INFO] [stdout] warning: struct `AuthOutput` is never constructed [INFO] [stdout] --> chat_room/src/handlers/auth.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AuthOutput { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_chat_handler` is never used [INFO] [stdout] --> chat_room/src/handlers/chat.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) async fn list_chat_handler() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_chat_handler` is never used [INFO] [stdout] --> chat_room/src/handlers/chat.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) async fn create_chat_handler() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_chat_handler` is never used [INFO] [stdout] --> chat_room/src/handlers/chat.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) async fn update_chat_handler() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_chat_handler` is never used [INFO] [stdout] --> chat_room/src/handlers/chat.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) async fn delete_chat_handler() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_message_handler` is never used [INFO] [stdout] --> chat_room/src/handlers/messages.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) async fn send_message_handler() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_message_handler` is never used [INFO] [stdout] --> chat_room/src/handlers/messages.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) async fn list_message_handler() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_handler` is never used [INFO] [stdout] --> chat_room/src/handlers/messages.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) async fn file_handler() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upload_handler` is never used [INFO] [stdout] --> chat_room/src/handlers/messages.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) async fn upload_handler() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> chat_room/src/config.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Error, Result, bail}; [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: `path::PathBuf` [INFO] [stdout] --> chat_room/src/config.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{env, fs::File, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> chat_room/src/config.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `auth::*` [INFO] [stdout] --> chat_room/src/handlers/mod.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) use auth::*; // 重新简化导出 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chat::*` [INFO] [stdout] --> chat_room/src/handlers/mod.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) use chat::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `messages::*` [INFO] [stdout] --> chat_room/src/handlers/mod.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) use messages::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> chat_room/src/lib.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn try_new(config: AppConfig) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthOutput` is never constructed [INFO] [stdout] --> chat_room/src/handlers/auth.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AuthOutput { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_chat_handler` is never used [INFO] [stdout] --> chat_room/src/handlers/chat.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) async fn list_chat_handler() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_chat_handler` is never used [INFO] [stdout] --> chat_room/src/handlers/chat.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) async fn create_chat_handler() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_chat_handler` is never used [INFO] [stdout] --> chat_room/src/handlers/chat.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) async fn update_chat_handler() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_chat_handler` is never used [INFO] [stdout] --> chat_room/src/handlers/chat.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) async fn delete_chat_handler() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_message_handler` is never used [INFO] [stdout] --> chat_room/src/handlers/messages.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) async fn send_message_handler() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_message_handler` is never used [INFO] [stdout] --> chat_room/src/handlers/messages.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) async fn list_message_handler() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_handler` is never used [INFO] [stdout] --> chat_room/src/handlers/messages.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) async fn file_handler() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upload_handler` is never used [INFO] [stdout] --> chat_room/src/handlers/messages.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) async fn upload_handler() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling boring-sys v4.17.0 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking compression-codecs v0.4.28 [INFO] [stderr] Checking async-compression v0.4.28 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking boring v4.17.0 [INFO] [stderr] Checking jwt-simple v0.12.12 [INFO] [stderr] Checking axum_web v0.1.0 (/opt/rustwide/workdir/axum_web) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: 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 3` [INFO] running `Command { std: "docker" "inspect" "c4cb04cac91797406dbba6b50e34799aa526a1af559736efca78150ef76fac39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4cb04cac91797406dbba6b50e34799aa526a1af559736efca78150ef76fac39", kill_on_drop: false }` [INFO] [stdout] c4cb04cac91797406dbba6b50e34799aa526a1af559736efca78150ef76fac39