[INFO] cloning repository https://github.com/wonderfulaichen/AIGate [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wonderfulaichen/AIGate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwonderfulaichen%2FAIGate", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwonderfulaichen%2FAIGate'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0454423532dfdad59d3f1ea655e91de2f075fa89 [INFO] documenting wonderfulaichen/AIGate against 1.99.0-beta.8 for beta-rustdoc-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwonderfulaichen%2FAIGate" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wonderfulaichen/AIGate [INFO] finished tweaking git repo https://github.com/wonderfulaichen/AIGate [INFO] tweaked toml for git repo https://github.com/wonderfulaichen/AIGate written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wonderfulaichen/AIGate on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wonderfulaichen/AIGate 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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded webview2-com v0.29.0 [INFO] [stderr] Downloaded wry v0.38.2 [INFO] [stderr] Downloaded tray-icon v0.13.5 [INFO] [stderr] Downloaded muda v0.13.5 [INFO] [stderr] Downloaded regex v1.13.0 [INFO] [stderr] Downloaded webview2-com-sys v0.29.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] d739d5de78295daf5f35f82b3ac1efdb36e7a0120f70bd850487989d6468cd97 [INFO] running `Command { std: "docker" "start" "d739d5de78295daf5f35f82b3ac1efdb36e7a0120f70bd850487989d6468cd97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d739d5de78295daf5f35f82b3ac1efdb36e7a0120f70bd850487989d6468cd97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d739d5de78295daf5f35f82b3ac1efdb36e7a0120f70bd850487989d6468cd97" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d739d5de78295daf5f35f82b3ac1efdb36e7a0120f70bd850487989d6468cd97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d739d5de78295daf5f35f82b3ac1efdb36e7a0120f70bd850487989d6468cd97" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.46 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling hashbrown v0.17.1 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling smallvec v1.15.2 [INFO] [stderr] Compiling version-compare v0.2.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Checking log v0.4.33 [INFO] [stderr] Checking memchr v2.8.3 [INFO] [stderr] Compiling cc v1.2.67 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking bytes v1.12.1 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Checking dlib v0.5.3 [INFO] [stderr] Compiling wayland-sys v0.31.11 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling semver v1.0.28 [INFO] [stderr] Compiling gio v0.18.4 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling quick-xml v0.41.0 [INFO] [stderr] Compiling wayland-client v0.31.15 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling syn v2.0.118 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling gtk v0.18.2 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Checking http v1.4.2 [INFO] [stderr] Compiling openssl v0.10.81 [INFO] [stderr] Compiling crossbeam-utils v0.8.22 [INFO] [stderr] Compiling libxdo-sys v0.11.0 [INFO] [stderr] Checking simd-adler32 v0.3.10 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking ipnet v2.12.0 [INFO] [stderr] Compiling rustversion v1.0.23 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Checking regex-syntax v0.8.11 [INFO] [stderr] Compiling zerocopy v0.8.55 [INFO] [stderr] Checking bytemuck v1.25.2 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Checking http-body v1.1.0 [INFO] [stderr] Compiling wayland-scanner v0.31.11 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking http-body-util v0.1.4 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking memmap2 v0.9.11 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking arrayvec v0.7.8 [INFO] [stderr] Checking ryu v1.0.23 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling wayland-backend v0.3.16 [INFO] [stderr] Compiling openssl-sys v0.9.117 [INFO] [stderr] Checking unicode-segmentation v1.13.3 [INFO] [stderr] Checking crossbeam-channel v0.5.16 [INFO] [stderr] Checking ab_glyph v0.2.32 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking libxdo v0.6.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Compiling chrono v0.4.45 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Compiling wry v0.38.2 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Checking zeroize v1.9.0 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking bitflags v2.13.0 [INFO] [stderr] Checking rustls-pki-types v1.15.0 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking regex-automata v0.4.15 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.10 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling toml v0.8.2 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Compiling embed-resource v2.5.2 [INFO] [stderr] Compiling AIGate v0.7.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking regex v1.13.0 [INFO] [stderr] Compiling glib-sys v0.18.1 [INFO] [stderr] Compiling gobject-sys v0.18.0 [INFO] [stderr] Compiling gio-sys v0.18.1 [INFO] [stderr] Compiling gdk-sys v0.18.2 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Compiling atk-sys v0.18.2 [INFO] [stderr] Compiling gtk-sys v0.18.2 [INFO] [stderr] Compiling javascriptcore-rs-sys v1.1.1 [INFO] [stderr] Compiling soup3-sys v0.5.0 [INFO] [stderr] Compiling webkit2gtk-sys v2.0.2 [INFO] [stderr] Compiling gdkx11-sys v0.18.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling glib-macros v0.18.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling displaydoc v0.2.6 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling gtk3-macros v0.18.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking tokio v1.52.3 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking zerofrom v0.1.8 [INFO] [stderr] Checking yoke v0.8.3 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking zerovec v0.11.6 [INFO] [stderr] Checking zerotrie v0.2.4 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking tinystr v0.8.3 [INFO] [stderr] Checking potential_utf v0.1.5 [INFO] [stderr] Checking icu_collections v2.2.0 [INFO] [stderr] Checking icu_locale_core v2.2.0 [INFO] [stderr] Checking libappindicator-sys v0.9.0 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking wayland-cursor v0.31.14 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking glib v0.18.5 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking icu_provider v2.2.0 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking icu_properties v2.2.0 [INFO] [stderr] Checking keyboard-types v0.7.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking tower-http v0.6.11 [INFO] [stderr] Checking h2 v0.4.15 [INFO] [stderr] Checking smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking sctk-adwaita v0.8.3 [INFO] [stderr] Checking cairo-rs v0.18.5 [INFO] [stderr] Checking atk v0.18.2 [INFO] [stderr] Checking javascriptcore-rs v1.1.2 [INFO] [stderr] Checking hyper v1.10.1 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking gdk-pixbuf v0.18.5 [INFO] [stderr] Checking pango v0.18.3 [INFO] [stderr] Checking soup3 v0.5.0 [INFO] [stderr] Checking gdk v0.18.2 [INFO] [stderr] Checking gdkx11 v0.18.2 [INFO] [stderr] Checking webkit2gtk v2.0.2 [INFO] [stderr] Checking muda v0.13.5 [INFO] [stderr] Checking libappindicator v0.9.0 [INFO] [stderr] Checking tray-icon v0.13.5 [INFO] [stderr] Documenting AIGate v0.7.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unresolved link to `crate::proxy::inject_model_params` [INFO] [stdout] --> src/anthropic.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | /// 入参 `body` 应已由 [`crate::proxy::inject_model_params`] 处理 (model 已替换为 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `inject_model_params` in module `proxy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `0` [INFO] [stdout] --> src/anthropic.rs:971:53 [INFO] [stdout] | [INFO] [stdout] 971 | /// 反向覆盖 [`anthropic_to_openai_nonstream`]: choices[0].message 的 [INFO] [stdout] | ^ no item named `0` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `DONE` [INFO] [stdout] --> src/anthropic.rs:1051:56 [INFO] [stdout] | [INFO] [stdout] 1051 | /// reasoning_content / tool_calls / finish_reason 帧与 [DONE] 终止帧), 输出为 [INFO] [stdout] | ^^^^ no item named `DONE` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `crate::proxy::inject_model_params` [INFO] [stdout] --> src/responses.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | /// 入参 `body` 应已由 [`crate::proxy::inject_model_params`] 处理 (model 已替换为 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `inject_model_params` in module `proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `DONE` [INFO] [stdout] --> src/responses.rs:1156:25 [INFO] [stdout] | [INFO] [stdout] 1156 | /// 终止事件延迟到 usage 帧之后 ([DONE] / [`Self::finalize`]) 统一收尾, [INFO] [stdout] | ^^^^ no item named `DONE` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `DONE` [INFO] [stdout] --> src/responses.rs:1408:27 [INFO] [stdout] | [INFO] [stdout] 1408 | /// 流结束时兜底收尾: 即使上游未发 [DONE], 也要让客户端收到终止事件. [INFO] [stdout] | ^^^^ no item named `DONE` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `DONE` [INFO] [stdout] --> src/responses.rs:1419:62 [INFO] [stdout] | [INFO] [stdout] 1419 | /// 终止序列: 各 item 的 done 事件 (按 output_index 排序) + 终止事件 + [DONE]. [INFO] [stdout] | ^^^^ no item named `DONE` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `fmt_msg` [INFO] [stdout] --> src/i18n.rs:438:25 [INFO] [stdout] | [INFO] [stdout] 438 | /// 按当前语言双语化. 带动态参数的用 [`fmt_msg!`] 按语言选择字面量模板; 底层透传的 [INFO] [stdout] | ^^^^^^^^ no item named `fmt_msg` in scope [INFO] [stdout] | [INFO] [stdout] = note: `macro_rules` named `fmt_msg` exists in this crate, but it is not in scope at this link's location [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `RequestLog::reasoning_tokens` [INFO] [stdout] --> src/proxy.rs:1705:34 [INFO] [stdout] | [INFO] [stdout] 1705 | /// 用于把「吐字速度」的分子还原成正文 —— 见 [`RequestLog::reasoning_tokens`]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `RequestLog` in scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `OpenAIStreamConv` [INFO] [stdout] --> src/proxy.rs:1975:33 [INFO] [stdout] | [INFO] [stdout] 1975 | /// 逐行解析 `data: {json}` 帧, 喂入 [`OpenAIStreamConv`] 翻译为 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no item named `OpenAIStreamConv` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `DONE` [INFO] [stdout] --> src/proxy.rs:2170:35 [INFO] [stdout] | [INFO] [stdout] 2170 | /// 写出一条事件; 事件名为空表示仅 data 行 ([DONE] 哨兵). [INFO] [stdout] | ^^^^ no item named `DONE` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `DONE` [INFO] [stdout] --> src/proxy.rs:2556:21 [INFO] [stdout] | [INFO] [stdout] 2556 | /// 已因死循环截断并发送 [DONE] 的标志, 防止重复触发. [INFO] [stdout] | ^^^^ no item named `DONE` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `DONE` [INFO] [stdout] --> src/proxy.rs:2558:31 [INFO] [stdout] | [INFO] [stdout] 2558 | /// 已因上游错误/空闲超时而兜底结束 (已发 [DONE]); 防止下次 poll 重复发/继续 poll 上游. [INFO] [stdout] | ^^^^ no item named `DONE` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `DONE` [INFO] [stdout] --> src/proxy.rs:2567:49 [INFO] [stdout] | [INFO] [stdout] 2567 | /// 流是否"干净结束": 上游发送过 finish_reason (任意值) 或 [DONE] 终止帧则为 true. [INFO] [stdout] | ^^^^ no item named `DONE` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `DONE` [INFO] [stdout] --> src/proxy.rs:2569:24 [INFO] [stdout] | [INFO] [stdout] 2569 | /// finish_reason/[DONE], 说明响应被截断 (典型如 10014 的 mid-object split 丢尾帧), [INFO] [stdout] | ^^^^ no item named `DONE` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `DONE` [INFO] [stdout] --> src/proxy.rs:2588:17 [INFO] [stdout] | [INFO] [stdout] 2588 | /// · 只有 [DONE]、无 finish_reason → **上游没说自己为什么停** (记 `done`)。 [INFO] [stdout] | ^^^^ no item named `DONE` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `DONE` [INFO] [stdout] --> src/proxy.rs:2593:61 [INFO] [stdout] | [INFO] [stdout] 2593 | /// 归一化后的 SSE 输出缓冲: 把上游 payload (data: 前缀 / 裸 JSON / 裸 [DONE]) 统一封装为 [INFO] [stdout] | ^^^^ no item named `DONE` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `RequestLog::reasoning_tokens` [INFO] [stdout] --> src/proxy.rs:2633:50 [INFO] [stdout] | [INFO] [stdout] 2633 | /// 这个是**上游权威值**. 用途是给 gen_speed 剔除思考 —— 见 [`RequestLog::reasoning_tokens`]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `RequestLog` in scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `DONE` [INFO] [stdout] --> src/proxy.rs:2667:40 [INFO] [stdout] | [INFO] [stdout] 2667 | /// - 流非干净结束 (上游未发 finish_reason/[DONE]) 且非死循环/错误收尾 [INFO] [stdout] | ^^^^ no item named `DONE` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `DONE` [INFO] [stdout] --> src/proxy.rs:2758:54 [INFO] [stdout] | [INFO] [stdout] 2758 | /// 解析并归一化单行 SSE payload (data: 前缀 / 裸 JSON / 裸 [DONE]), 写入 out_buf 待转发. [INFO] [stdout] | ^^^^ no item named `DONE` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `RequestLog::end_reason` [INFO] [stdout] --> src/proxy.rs:3025:51 [INFO] [stdout] | [INFO] [stdout] 3025 | /// 本轮流「为什么结束」的结论, 落进记录的 `end_reason` 字段 (见 [`RequestLog::end_reason`]). [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no item named `RequestLog` in scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `RequestLog::reasoning_tokens` [INFO] [stdout] --> src/proxy.rs:3796:9 [INFO] [stdout] | [INFO] [stdout] 3796 | /// 见 [`RequestLog::reasoning_tokens`] 的实测记录). [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `RequestLog` in scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `invalid_request_error` [INFO] [stdout] --> src/proxy.rs:5018:22 [INFO] [stdout] | [INFO] [stdout] 5018 | /// 输出: "400 请求参数错误 [invalid_request_error]: Error from provider..." [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no item named `invalid_request_error` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `invalid_request_error` [INFO] [stdout] --> src/proxy.rs:5043:22 [INFO] [stdout] | [INFO] [stdout] 5043 | /// 输出: "400 请求参数错误 [invalid_request_error]: Error from provider..." [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no item named `invalid_request_error` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `LoopGuardConfig::min_repeat` [INFO] [stdout] --> src/loop_guard.rs:86:32 [INFO] [stdout] | [INFO] [stdout] 86 | /// 仅当重复单元含至少一个有意义字符时,才用 [`LoopGuardConfig::min_repeat`] 原阈值; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `LoopGuardConfig` in scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `Self::is_blank_unit` [INFO] [stdout] --> src/loop_guard.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | /// 这是 [`Self::is_blank_unit`] 的**超集**:空白重复早就被排除,但同一类"无内容含义"的 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the struct `LoopDetector` has no field or associated item named `is_blank_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unclosed HTML tag `Mutex` [INFO] [stdout] --> src/proxy.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | /// 内层 Arc 保证 AppState 可 Clone (axum State 跨任务共享同一缓存实例). [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::invalid_html_tags)]` on by default [INFO] [stdout] help: try marking as source code [INFO] [stdout] | [INFO] [stdout] 42 | /// 内层 `Arc` 保证 AppState 可 Clone (axum State 跨任务共享同一缓存实例). [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/provider_catalog.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | //! 数据来源: https://models.dev/api.json 的 `provider.npm` (AI SDK 包名 → 协议)。 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] = note: `#[warn(rustdoc::bare_urls)]` on by default [INFO] [stdout] help: use an automatic link instead [INFO] [stdout] | [INFO] [stdout] 8 | //! 数据来源: 的 `provider.npm` (AI SDK 包名 → 协议)。 [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 33s [INFO] [stderr] Generated /opt/rustwide/target/doc/AIGate/index.html [INFO] running `Command { std: "docker" "inspect" "d739d5de78295daf5f35f82b3ac1efdb36e7a0120f70bd850487989d6468cd97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d739d5de78295daf5f35f82b3ac1efdb36e7a0120f70bd850487989d6468cd97", kill_on_drop: false }` [INFO] [stdout] d739d5de78295daf5f35f82b3ac1efdb36e7a0120f70bd850487989d6468cd97