[INFO] cloning repository https://github.com/jiayan-xu/agent-core
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jiayan-xu/agent-core" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiayan-xu%2Fagent-core", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiayan-xu%2Fagent-core'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 553309d376199fee8b4292a2abb8bffd7a035b40
[INFO] documenting jiayan-xu/agent-core against da3f5c31e5535b3dc210067de660a45784ae1e9c for pr-162169
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiayan-xu%2Fagent-core" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jiayan-xu/agent-core
[INFO] finished tweaking git repo https://github.com/jiayan-xu/agent-core
[INFO] tweaked toml for git repo https://github.com/jiayan-xu/agent-core written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jiayan-xu/agent-core on toolchain da3f5c31e5535b3dc210067de660a45784ae1e9c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da3f5c31e5535b3dc210067de660a45784ae1e9c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jiayan-xu/agent-core 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" "+da3f5c31e5535b3dc210067de660a45784ae1e9c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ad41b379232d4dc4ea79385fda20563876644715bab9afd52268d56c057da4ef
[INFO] running `Command { std: "docker" "start" "ad41b379232d4dc4ea79385fda20563876644715bab9afd52268d56c057da4ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ad41b379232d4dc4ea79385fda20563876644715bab9afd52268d56c057da4ef", 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" "ad41b379232d4dc4ea79385fda20563876644715bab9afd52268d56c057da4ef" "/opt/rustwide/cargo-home/bin/cargo" "+da3f5c31e5535b3dc210067de660a45784ae1e9c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ad41b379232d4dc4ea79385fda20563876644715bab9afd52268d56c057da4ef", 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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ad41b379232d4dc4ea79385fda20563876644715bab9afd52268d56c057da4ef" "/opt/rustwide/cargo-home/bin/cargo" "+da3f5c31e5535b3dc210067de660a45784ae1e9c" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling target-lexicon v0.12.16
[INFO] [stderr]    Compiling smallvec v1.15.2
[INFO] [stderr]     Checking bitflags v2.13.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking mio v1.2.1
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling gio v0.18.4
[INFO] [stderr]    Compiling field-offset v0.3.6
[INFO] [stderr]    Compiling x11 v2.21.0
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling gtk v0.18.2
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling num-conv v0.2.2
[INFO] [stderr]    Compiling time-core v0.1.9
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]     Checking regex-automata v0.4.15
[INFO] [stderr]    Compiling time-macros v0.2.31
[INFO] [stderr]     Checking x11-dl v2.21.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking is-docker v0.2.0
[INFO] [stderr]    Compiling wry v0.49.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking moxcms v0.8.1
[INFO] [stderr]    Compiling cfg-expr v0.15.8
[INFO] [stderr]     Checking is-wsl v0.4.0
[INFO] [stderr]     Checking png v0.18.1
[INFO] [stderr]    Compiling toml_datetime v0.6.3
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking crossbeam-channel v0.5.15
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking thread_local v1.1.10
[INFO] [stderr]     Checking fallible-iterator v0.3.0
[INFO] [stderr]     Checking fallible-streaming-iterator v0.1.9
[INFO] [stderr]     Checking chrono v0.4.45
[INFO] [stderr]     Checking rand v0.8.6
[INFO] [stderr]     Checking hashlink v0.9.1
[INFO] [stderr]     Checking open v5.3.6
[INFO] [stderr]     Checking time v0.3.53
[INFO] [stderr]    Compiling toml_edit v0.20.2
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking image v0.25.10
[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 synstructure v0.13.2
[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 cairo-sys-rs v0.18.2
[INFO] [stderr]    Compiling gdk-pixbuf-sys v0.18.0
[INFO] [stderr]    Compiling pango-sys v0.18.0
[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 gdkx11-sys v0.18.2
[INFO] [stderr]    Compiling webkit2gtk-sys v2.0.1
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling glib-macros v0.18.5
[INFO] [stderr]    Compiling displaydoc v0.2.6
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling gtk3-macros v0.18.2
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]     Checking openssl v0.10.81
[INFO] [stderr]    Compiling dlopen2_derive v0.4.3
[INFO] [stderr]     Checking tokio v1.52.3
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking dlopen2 v0.7.0
[INFO] [stderr]     Checking zerofrom v0.1.8
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking yoke v0.8.3
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]     Checking axum-core v0.5.6
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking gdkwayland-sys v0.18.2
[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 icu_provider v2.2.0
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking native-tls v0.2.18
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking rusqlite v0.32.1
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking glib v0.18.5
[INFO] [stderr]     Checking futures v0.3.32
[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 tokio-stream v0.1.18
[INFO] [stderr]     Checking tower-http v0.6.11
[INFO] [stderr]     Checking h2 v0.4.15
[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.8.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.1
[INFO] [stderr]     Checking tao v0.31.1
[INFO] [stderr]  Documenting agent_core v0.10.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unresolved link to `StanceCard::parse`
[INFO] [stdout]    --> src/agent.rs:500:17
[INFO] [stdout]     |
[INFO] [stdout] 500 | /// LLM 原始回答经 [`StanceCard::parse`] 程序解析生成；解析失败时 `structured=false`
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^ the struct `StanceCard` has no field or associated item named `parse`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unresolved link to `Self::summary_line`
[INFO] [stdout]    --> src/agent.rs:915:26
[INFO] [stdout]     |
[INFO] [stdout] 915 | /// 日志用 [`summary_line`](Self::summary_line)。
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^ the enum `ConsolidateStatus` has no variant or associated item named `summary_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unresolved link to `StanceCard::parse`
[INFO] [stdout]     --> src/agent.rs:2673:35
[INFO] [stdout]      |
[INFO] [stdout] 2673 |     /// P1-a：输出改为**立场卡 JSON**，由 [`StanceCard::parse`] 程序解析；
[INFO] [stdout]      |                                             ^^^^^^^^^^^^^^^^^ the struct `StanceCard` has no field or associated item named `parse`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unresolved link to `low`
[INFO] [stdout]     --> src/agent.rs:5084:12
[INFO] [stdout]      |
[INFO] [stdout] 5084 |     /// - [low] 分隔行判定「严格化」且冒号归一化只在本函数内局部进行，绝不污染数据行：
[INFO] [stdout]      |            ^^^ no item named `low` 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 `medium`
[INFO] [stdout]     --> src/agent.rs:5087:12
[INFO] [stdout]      |
[INFO] [stdout] 5087 |     /// - [medium] 仅认「最后一个分隔行」构成的夹心表，且其后须确有数据行：避免分析型 answer
[INFO] [stdout]      |            ^^^^^^ no item named `medium` 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 `步骤N`
[INFO] [stdout]     --> src/agent.rs:6683:16
[INFO] [stdout]      |
[INFO] [stdout] 6683 |     /// 要求回答用 [步骤N] 标注数据来源；回答未引用任何步骤编号时打 warning（引用完整性检查）。
[INFO] [stdout]      |                     ^^^^^ no item named `步骤N` 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 `experience_memo`
[INFO] [stdout]    --> src/experience_memo.rs:256:28
[INFO] [stdout]     |
[INFO] [stdout] 256 | /// 从 memo content 提取工具名（"[experience_memo] 工具 X 执行失败：..."）。
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^ no item named `experience_memo` 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 `gateway_approval`
[INFO] [stdout]  --> src/gateway_approval.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | //! （[gateway_approval]），judge 失败/超时/解析失败一律按人工处理（fail-safe），
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^ no item named `gateway_approval` 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 `gateway_approval`
[INFO] [stdout]   --> src/gateway_approval.rs:12:6
[INFO] [stdout]    |
[INFO] [stdout] 12 | /// [gateway_approval] 配置（agent.toml）
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^ no item named `gateway_approval` 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 `llm`
[INFO] [stdout]   --> src/gateway_approval.rs:27:69
[INFO] [stdout]    |
[INFO] [stdout] 27 |     /// 独立 judge provider（base_url/model/api_key/chat_path）。缺省 = 主 [llm]
[INFO] [stdout]    |                                                                             ^^^ no item named `llm` 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 `user`
[INFO] [stdout]  --> src/resources.rs:6:39
[INFO] [stdout]   |
[INFO] [stdout] 6 | //!     known_hosts 去重 host / git 全局 [user]），注入 system prompt，
[INFO] [stdout]   |                                           ^^^^ no item named `user` 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 `user`
[INFO] [stdout]   --> src/resources.rs:34:33
[INFO] [stdout]    |
[INFO] [stdout] 34 | /// git 全局身份（来自 `~/.gitconfig` [user]，公开身份，非私密）
[INFO] [stdout]    |                                        ^^^^ no item named `user` 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 `user`
[INFO] [stdout]    --> src/resources.rs:156:24
[INFO] [stdout]     |
[INFO] [stdout] 156 | /// 解析 `~/.gitconfig` [user] 的 name / email（公开 git 身份，非私密）
[INFO] [stdout]     |                          ^^^^ no item named `user` in scope
[INFO] [stdout]     |
[INFO] [stdout]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: public documentation for `consolidate_eval` links to private item `score_reply`
[INFO] [stdout]   --> src/consolidate_eval.rs:17:21
[INFO] [stdout]    |
[INFO] [stdout] 17 | //! 单测锁死。评分逻辑是纯函数 [`score_reply`]，回归不花 LLM 调用（ocr PR#68）。
[INFO] [stdout]    |                                  ^^^^^^^^^^^ this item is private
[INFO] [stdout]    |
[INFO] [stdout]    = note: this link resolves only because you passed `--document-private-items`, but will break without
[INFO] [stdout]    = note: `#[warn(rustdoc::private_intra_doc_links)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unresolved link to `0,10`
[INFO] [stdout]    --> src/llm.rs:782:53
[INFO] [stdout]     |
[INFO] [stdout] 782 | /// 1) 优先取显式 `SCORE: X`；2) 回退取首个完整数字 token；clamp 到 [0,10]。
[INFO] [stdout]     |                                                                      ^^^^ no item named `0,10` 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 `chat_batch`
[INFO] [stdout]     --> src/llm.rs:1457:11
[INFO] [stdout]      |
[INFO] [stdout] 1457 |     /// [`chat_batch`] 的实现：单 provider 有界尝试 + 请求级超时（无
[INFO] [stdout]      |           ^^^^^^^^^^ no item named `chat_batch` 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 `0`
[INFO] [stdout]     --> src/llm.rs:1549:32
[INFO] [stdout]      |
[INFO] [stdout] 1549 |     /// 状态码检查 → JSON → choices[0].message → LlmResponse）。
[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 `compose`
[INFO] [stdout]    --> src/multiagent.rs:605:35
[INFO] [stdout]     |
[INFO] [stdout] 605 |     /// opt-in 守卫：消息须含此 token（如 "[compose]"）才允许劫持主路径。
[INFO] [stdout]     |                                             ^^^^^^^ no item named `compose` 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 `mcp_source`
[INFO] [stdout]   --> src/dept_ops.rs:60:31
[INFO] [stdout]    |
[INFO] [stdout] 60 | /// 固废部门工具包 ns（与 agent.toml [[mcp_source]] dashboard.namespace 对齐），
[INFO] [stdout]    |                                        ^^^^^^^^^^ no item named `mcp_source` in scope
[INFO] [stdout]    |
[INFO] [stdout]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unclosed HTML tag `sid`
[INFO] [stdout]    --> src/agent.rs:246:53
[INFO] [stdout]     |
[INFO] [stdout] 246 | /// 软隐藏进 Memoria（tags=["focus_conclusion","absorbed:<sid>"]）+ 本地索引，
[INFO] [stdout]     |                                                          ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(rustdoc::invalid_html_tags)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unclosed HTML tag `id`
[INFO] [stdout]     --> src/agent.rs:1472:19
[INFO] [stdout]      |
[INFO] [stdout] 1472 | /// - scope="dept:<id>" → Persona 的 ns_full_path 含 `dept/<id>` 段（现代 ns）
[INFO] [stdout]      |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unclosed HTML tag `company`
[INFO] [stdout]     --> src/agent.rs:1474:18
[INFO] [stdout]      |
[INFO] [stdout] 1474 | /// - scope="org:<company>" → Persona 的 ns_full_path 含 `org/<company>` 段（现代 ns）
[INFO] [stdout]      |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unclosed HTML tag `id`
[INFO] [stdout]     --> src/agent.rs:1512:19
[INFO] [stdout]      |
[INFO] [stdout] 1512 | /// - scope="dept:<id>" → 调用者任一 ns 含 `dept/<id>` 段
[INFO] [stdout]      |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unclosed HTML tag `company`
[INFO] [stdout]     --> src/agent.rs:1513:18
[INFO] [stdout]      |
[INFO] [stdout] 1513 | /// - scope="org:<company>" → 调用者任一 ns 含 `org/<company>` 段
[INFO] [stdout]      |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unclosed HTML tag `id`
[INFO] [stdout]     --> src/agent.rs:1987:23
[INFO] [stdout]      |
[INFO] [stdout] 1987 |     /// - scope="dept:<id>" → 分身 ns_full_path 含 `dept/<id>` 段
[INFO] [stdout]      |                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unclosed HTML tag `company`
[INFO] [stdout]     --> src/agent.rs:1988:22
[INFO] [stdout]      |
[INFO] [stdout] 1988 |     /// - scope="org:<company>" → 分身 ns_full_path 含 `org/<company>` 段
[INFO] [stdout]      |                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unclosed HTML tag `seq`
[INFO] [stdout]   --> src/persistent_subagent.rs:39:36
[INFO] [stdout]    |
[INFO] [stdout] 39 |     /// 全局唯一 id（形如 "sub-<agent_id>-<seq>"）
[INFO] [stdout]    |                                           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unclosed HTML tag `Sender`
[INFO] [stdout]   --> src/persistent_subagent.rs:58:34
[INFO] [stdout]    |
[INFO] [stdout] 58 |     /// （bug·medium 第三轮：Arc<Mutex<Sender>> 是过度设计，且引入锁序问题）。
[INFO] [stdout]    |                                       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: try marking as source code
[INFO] [stdout]    |
[INFO] [stdout] 58 |     /// （bug·medium 第三轮：`Arc<Mutex<Sender>>` 是过度设计，且引入锁序问题）。
[INFO] [stdout]    |                              +                  +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unclosed HTML tag `AtomicBool`
[INFO] [stdout]    --> src/boundary.rs:778:14
[INFO] [stdout]     |
[INFO] [stdout] 778 |     /// 用 Arc<AtomicBool> 以支持 &self 下切换，且可与主流程共享同一标志。
[INFO] [stdout]     |               ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: try marking as source code
[INFO] [stdout]     |
[INFO] [stdout] 778 |     /// 用 `Arc<AtomicBool>` 以支持 &self 下切换，且可与主流程共享同一标志。
[INFO] [stdout]     |            +               +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unclosed HTML tag `String`
[INFO] [stdout]     --> src/boundary.rs:1232:20
[INFO] [stdout]      |
[INFO] [stdout] 1232 |     /// 分类快照（Option<String>，None = 原本 unknown）。
[INFO] [stdout]      |                         ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] help: try marking as source code
[INFO] [stdout]      |
[INFO] [stdout] 1232 |     /// 分类快照（`Option<String>`，None = 原本 unknown）。
[INFO] [stdout]      |                   +              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unclosed HTML tag `Atomic`
[INFO] [stdout]   --> src/degrade.rs:43:16
[INFO] [stdout]    |
[INFO] [stdout] 43 | /// 单源健康度（用 Arc<Atomic> 以便跨 McpSource 克隆共享同一状态）
[INFO] [stdout]    |                       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: try marking as source code
[INFO] [stdout]    |
[INFO] [stdout] 43 | /// 单源健康度（用 `Arc<Atomic>` 以便跨 McpSource 克隆共享同一状态）
[INFO] [stdout]    |                    +           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unclosed HTML tag `tool`
[INFO] [stdout]    --> src/meta_evolve.rs:779:50
[INFO] [stdout]     |
[INFO] [stdout] 779 |     /// 也能凑够样本；memo 样本的 change_type=tool_failure:<tool> 供元优化器学习禁忌。
[INFO] [stdout]     |                                                            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unclosed HTML tag `float`
[INFO] [stdout]    --> src/code_evolve.rs:307:21
[INFO] [stdout]     |
[INFO] [stdout] 307 | /// 解析输出中的 BENCH_MS=<float>
[INFO] [stdout]     |                           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 09s
[INFO] [stderr]    Generated /opt/rustwide/target/doc/agent_core/index.html
[INFO] running `Command { std: "docker" "inspect" "ad41b379232d4dc4ea79385fda20563876644715bab9afd52268d56c057da4ef", 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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "DOCS_RS=1" "-e" "RUSTC_BOOTSTRAP=1" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ad41b379232d4dc4ea79385fda20563876644715bab9afd52268d56c057da4ef" "/opt/rustwide/cargo-home/bin/cargo" "+da3f5c31e5535b3dc210067de660a45784ae1e9c" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--document-private-items\"]" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]  Documenting agent_core v0.10.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unresolved link to `StanceCard::parse`
[INFO] [stdout]    --> src/agent.rs:500:17
[INFO] [stdout]     |
[INFO] [stdout] 500 | /// LLM 原始回答经 [`StanceCard::parse`] 程序解析生成；解析失败时 `structured=false`
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^ the struct `StanceCard` has no field or associated item named `parse`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unresolved link to `Self::summary_line`
[INFO] [stdout]    --> src/agent.rs:915:26
[INFO] [stdout]     |
[INFO] [stdout] 915 | /// 日志用 [`summary_line`](Self::summary_line)。
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^ the enum `ConsolidateStatus` has no variant or associated item named `summary_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unresolved link to `StanceCard::parse`
[INFO] [stdout]     --> src/agent.rs:2673:35
[INFO] [stdout]      |
[INFO] [stdout] 2673 |     /// P1-a：输出改为**立场卡 JSON**，由 [`StanceCard::parse`] 程序解析；
[INFO] [stdout]      |                                             ^^^^^^^^^^^^^^^^^ the struct `StanceCard` has no field or associated item named `parse`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unresolved link to `experience_memo`
[INFO] [stdout]    --> src/experience_memo.rs:256:28
[INFO] [stdout]     |
[INFO] [stdout] 256 | /// 从 memo content 提取工具名（"[experience_memo] 工具 X 执行失败：..."）。
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^ no item named `experience_memo` 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 `gateway_approval`
[INFO] [stdout]  --> src/gateway_approval.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | //! （[gateway_approval]），judge 失败/超时/解析失败一律按人工处理（fail-safe），
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^ no item named `gateway_approval` 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 `gateway_approval`
[INFO] [stdout]   --> src/gateway_approval.rs:12:6
[INFO] [stdout]    |
[INFO] [stdout] 12 | /// [gateway_approval] 配置（agent.toml）
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^ no item named `gateway_approval` 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 `llm`
[INFO] [stdout]   --> src/gateway_approval.rs:27:69
[INFO] [stdout]    |
[INFO] [stdout] 27 |     /// 独立 judge provider（base_url/model/api_key/chat_path）。缺省 = 主 [llm]
[INFO] [stdout]    |                                                                             ^^^ no item named `llm` 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 `user`
[INFO] [stdout]  --> src/resources.rs:6:39
[INFO] [stdout]   |
[INFO] [stdout] 6 | //!     known_hosts 去重 host / git 全局 [user]），注入 system prompt，
[INFO] [stdout]   |                                           ^^^^ no item named `user` 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 `user`
[INFO] [stdout]   --> src/resources.rs:34:33
[INFO] [stdout]    |
[INFO] [stdout] 34 | /// git 全局身份（来自 `~/.gitconfig` [user]，公开身份，非私密）
[INFO] [stdout]    |                                        ^^^^ no item named `user` in scope
[INFO] [stdout]    |
[INFO] [stdout]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: public documentation for `consolidate_eval` links to private item `score_reply`
[INFO] [stdout]   --> src/consolidate_eval.rs:17:21
[INFO] [stdout]    |
[INFO] [stdout] 17 | //! 单测锁死。评分逻辑是纯函数 [`score_reply`]，回归不花 LLM 调用（ocr PR#68）。
[INFO] [stdout]    |                                  ^^^^^^^^^^^ this item is private
[INFO] [stdout]    |
[INFO] [stdout]    = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stdout]    = note: `#[warn(rustdoc::private_intra_doc_links)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unresolved link to `0,10`
[INFO] [stdout]    --> src/llm.rs:782:53
[INFO] [stdout]     |
[INFO] [stdout] 782 | /// 1) 优先取显式 `SCORE: X`；2) 回退取首个完整数字 token；clamp 到 [0,10]。
[INFO] [stdout]     |                                                                      ^^^^ no item named `0,10` 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 `compose`
[INFO] [stdout]    --> src/multiagent.rs:605:35
[INFO] [stdout]     |
[INFO] [stdout] 605 |     /// opt-in 守卫：消息须含此 token（如 "[compose]"）才允许劫持主路径。
[INFO] [stdout]     |                                             ^^^^^^^ no item named `compose` 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 `mcp_source`
[INFO] [stdout]   --> src/dept_ops.rs:60:31
[INFO] [stdout]    |
[INFO] [stdout] 60 | /// 固废部门工具包 ns（与 agent.toml [[mcp_source]] dashboard.namespace 对齐），
[INFO] [stdout]    |                                        ^^^^^^^^^^ no item named `mcp_source` in scope
[INFO] [stdout]    |
[INFO] [stdout]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unclosed HTML tag `sid`
[INFO] [stdout]    --> src/agent.rs:246:53
[INFO] [stdout]     |
[INFO] [stdout] 246 | /// 软隐藏进 Memoria（tags=["focus_conclusion","absorbed:<sid>"]）+ 本地索引，
[INFO] [stdout]     |                                                          ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(rustdoc::invalid_html_tags)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unclosed HTML tag `id`
[INFO] [stdout]     --> src/agent.rs:1512:19
[INFO] [stdout]      |
[INFO] [stdout] 1512 | /// - scope="dept:<id>" → 调用者任一 ns 含 `dept/<id>` 段
[INFO] [stdout]      |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unclosed HTML tag `company`
[INFO] [stdout]     --> src/agent.rs:1513:18
[INFO] [stdout]      |
[INFO] [stdout] 1513 | /// - scope="org:<company>" → 调用者任一 ns 含 `org/<company>` 段
[INFO] [stdout]      |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unclosed HTML tag `id`
[INFO] [stdout]     --> src/agent.rs:1987:23
[INFO] [stdout]      |
[INFO] [stdout] 1987 |     /// - scope="dept:<id>" → 分身 ns_full_path 含 `dept/<id>` 段
[INFO] [stdout]      |                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unclosed HTML tag `company`
[INFO] [stdout]     --> src/agent.rs:1988:22
[INFO] [stdout]      |
[INFO] [stdout] 1988 |     /// - scope="org:<company>" → 分身 ns_full_path 含 `org/<company>` 段
[INFO] [stdout]      |                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unclosed HTML tag `seq`
[INFO] [stdout]   --> src/persistent_subagent.rs:39:36
[INFO] [stdout]    |
[INFO] [stdout] 39 |     /// 全局唯一 id（形如 "sub-<agent_id>-<seq>"）
[INFO] [stdout]    |                                           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unclosed HTML tag `Sender`
[INFO] [stdout]   --> src/persistent_subagent.rs:58:34
[INFO] [stdout]    |
[INFO] [stdout] 58 |     /// （bug·medium 第三轮：Arc<Mutex<Sender>> 是过度设计，且引入锁序问题）。
[INFO] [stdout]    |                                       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: try marking as source code
[INFO] [stdout]    |
[INFO] [stdout] 58 |     /// （bug·medium 第三轮：`Arc<Mutex<Sender>>` 是过度设计，且引入锁序问题）。
[INFO] [stdout]    |                              +                  +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unclosed HTML tag `AtomicBool`
[INFO] [stdout]    --> src/boundary.rs:778:14
[INFO] [stdout]     |
[INFO] [stdout] 778 |     /// 用 Arc<AtomicBool> 以支持 &self 下切换，且可与主流程共享同一标志。
[INFO] [stdout]     |               ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: try marking as source code
[INFO] [stdout]     |
[INFO] [stdout] 778 |     /// 用 `Arc<AtomicBool>` 以支持 &self 下切换，且可与主流程共享同一标志。
[INFO] [stdout]     |            +               +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unclosed HTML tag `String`
[INFO] [stdout]     --> src/boundary.rs:1232:20
[INFO] [stdout]      |
[INFO] [stdout] 1232 |     /// 分类快照（Option<String>，None = 原本 unknown）。
[INFO] [stdout]      |                         ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] help: try marking as source code
[INFO] [stdout]      |
[INFO] [stdout] 1232 |     /// 分类快照（`Option<String>`，None = 原本 unknown）。
[INFO] [stdout]      |                   +              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unclosed HTML tag `Atomic`
[INFO] [stdout]   --> src/degrade.rs:43:16
[INFO] [stdout]    |
[INFO] [stdout] 43 | /// 单源健康度（用 Arc<Atomic> 以便跨 McpSource 克隆共享同一状态）
[INFO] [stdout]    |                       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: try marking as source code
[INFO] [stdout]    |
[INFO] [stdout] 43 | /// 单源健康度（用 `Arc<Atomic>` 以便跨 McpSource 克隆共享同一状态）
[INFO] [stdout]    |                    +           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unclosed HTML tag `tool`
[INFO] [stdout]    --> src/meta_evolve.rs:779:50
[INFO] [stdout]     |
[INFO] [stdout] 779 |     /// 也能凑够样本；memo 样本的 change_type=tool_failure:<tool> 供元优化器学习禁忌。
[INFO] [stdout]     |                                                            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.43s
[INFO] [stderr]    Generated /opt/rustwide/target/doc/agent_core/index.html
[INFO] running `Command { std: "docker" "inspect" "ad41b379232d4dc4ea79385fda20563876644715bab9afd52268d56c057da4ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad41b379232d4dc4ea79385fda20563876644715bab9afd52268d56c057da4ef", kill_on_drop: false }`
[INFO] [stdout] ad41b379232d4dc4ea79385fda20563876644715bab9afd52268d56c057da4ef
