[INFO] cloning repository https://github.com/Latias94/rust-adk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Latias94/rust-adk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLatias94%2Frust-adk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLatias94%2Frust-adk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7dab4569b4ca631ed25edecd20a4f58596305170 [INFO] checking Latias94/rust-adk against try#349c4bfa6ac87b818f6fd19d4869c0b24790ac6a for pr-152856 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLatias94%2Frust-adk" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Latias94/rust-adk [INFO] finished tweaking git repo https://github.com/Latias94/rust-adk [INFO] tweaked toml for git repo https://github.com/Latias94/rust-adk written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Latias94/rust-adk on toolchain 349c4bfa6ac87b818f6fd19d4869c0b24790ac6a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+349c4bfa6ac87b818f6fd19d4869c0b24790ac6a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Latias94/rust-adk 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" "+349c4bfa6ac87b818f6fd19d4869c0b24790ac6a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded secrecy v0.10.3 [INFO] [stderr] Downloaded unchecked-index v0.2.2 [INFO] [stderr] Downloaded signal-hook-registry v1.4.7 [INFO] [stderr] Downloaded twoway v0.2.2 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.56 [INFO] [stderr] Downloaded rustls-pki-types v1.13.1 [INFO] [stderr] Downloaded dyn-clone v1.0.20 [INFO] [stderr] Downloaded psl-types v2.0.11 [INFO] [stderr] Downloaded eventsource-stream v0.2.3 [INFO] [stderr] Downloaded async-stream-impl v0.3.6 [INFO] [stderr] Downloaded compression-core v0.4.31 [INFO] [stderr] Downloaded fixedbitset v0.5.7 [INFO] [stderr] Downloaded async-stream v0.3.6 [INFO] [stderr] Downloaded infer v0.19.0 [INFO] [stderr] Downloaded compression-codecs v0.4.33 [INFO] [stderr] Downloaded serde_derive_internals v0.29.1 [INFO] [stderr] Downloaded schemars v0.8.22 [INFO] [stderr] Downloaded unsafe-libyaml v0.2.11 [INFO] [stderr] Downloaded flate2 v1.1.5 [INFO] [stderr] Downloaded async-compression v0.4.34 [INFO] [stderr] Downloaded rustls-webpki v0.103.8 [INFO] [stderr] Downloaded publicsuffix v2.3.0 [INFO] [stderr] Downloaded iri-string v0.7.9 [INFO] [stderr] Downloaded brotli-decompressor v5.0.0 [INFO] [stderr] Downloaded h2 v0.4.12 [INFO] [stderr] Downloaded webpki-roots v1.0.4 [INFO] [stderr] Downloaded chrono v0.4.42 [INFO] [stderr] Downloaded tower-http v0.6.7 [INFO] [stderr] Downloaded reqwest v0.12.24 [INFO] [stderr] Downloaded cc v1.2.48 [INFO] [stderr] Downloaded cookie v0.18.1 [INFO] [stderr] Downloaded cookie_store v0.21.1 [INFO] [stderr] Downloaded serde_yaml v0.9.34+deprecated [INFO] [stderr] Downloaded litrs v1.0.0 [INFO] [stderr] Downloaded foldhash v0.1.5 [INFO] [stderr] Downloaded rustls v0.23.35 [INFO] [stderr] Downloaded schemars_derive v0.8.22 [INFO] [stderr] Downloaded backoff v0.4.0 [INFO] [stderr] Downloaded lru v0.16.2 [INFO] [stderr] Downloaded document-features v0.2.12 [INFO] [stderr] Downloaded brotli v8.0.2 [INFO] [stderr] Downloaded petgraph v0.8.3 [INFO] [stderr] Downloaded siumai v0.11.0-beta.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+349c4bfa6ac87b818f6fd19d4869c0b24790ac6a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4b9a0d79db653f993e27f58908efe94b05a6a8e5d59f3f30d5ddab0d5d493f1 [INFO] running `Command { std: "docker" "start" "-a" "b4b9a0d79db653f993e27f58908efe94b05a6a8e5d59f3f30d5ddab0d5d493f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4b9a0d79db653f993e27f58908efe94b05a6a8e5d59f3f30d5ddab0d5d493f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4b9a0d79db653f993e27f58908efe94b05a6a8e5d59f3f30d5ddab0d5d493f1", kill_on_drop: false }` [INFO] [stdout] b4b9a0d79db653f993e27f58908efe94b05a6a8e5d59f3f30d5ddab0d5d493f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+349c4bfa6ac87b818f6fd19d4869c0b24790ac6a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23a8e847850c533b8871ec1a8062f6915be3d2fe298bd881ddfd0df57974cfc4 [INFO] running `Command { std: "docker" "start" "-a" "23a8e847850c533b8871ec1a8062f6915be3d2fe298bd881ddfd0df57974cfc4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking bytes v1.11.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling cc v1.2.48 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking rustls-pki-types v1.13.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking indexmap v2.12.1 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking brotli v8.0.2 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking compression-core v0.4.31 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Checking publicsuffix v2.3.0 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking webpki-roots v1.0.4 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking iri-string v0.7.9 [INFO] [stderr] Checking cfb v0.7.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking cookie_store v0.21.1 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking compression-codecs v0.4.33 [INFO] [stderr] Checking async-compression v0.4.34 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Checking tower-http v0.6.7 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling siumai v0.11.0-beta.3 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Checking rustls-webpki v0.103.8 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking backoff v0.4.0 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking eventsource-stream v0.2.3 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking infer v0.19.0 [INFO] [stderr] Checking secrecy v0.10.3 [INFO] [stderr] Checking lru v0.16.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Checking dyn-clone v1.0.20 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking twoway v0.2.2 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking petgraph v0.8.3 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.12.24 [INFO] [stderr] Checking rust-adk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `AdkError` [INFO] [stdout] --> src/code_executor.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::error::{AdkError, AdkResult}; [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: `std::sync::Arc` [INFO] [stdout] --> src/code_executor.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/memory.rs:314:1 [INFO] [stdout] | [INFO] [stdout] 314 | / /// Built-in tool: set a string value in session memory. [INFO] [stdout] 315 | | /// [INFO] [stdout] 316 | | /// This tool does not modify memory directly; instead it returns a structured [INFO] [stdout] 317 | | /// payload `{ "key": ..., "value": ... }`. A dedicated plugin can then read [INFO] [stdout] 318 | | /// this payload and write into `event.actions.state_delta`, which the runner [INFO] [stdout] 319 | | /// applies to `Session.state`. [INFO] [stdout] | |_------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/memory.rs:477:1 [INFO] [stdout] | [INFO] [stdout] 477 | / /// Built-in tool: set common profile fields in session memory. [INFO] [stdout] 478 | | /// [INFO] [stdout] 479 | | /// The tool does not modify memory directly. Instead it returns a payload [INFO] [stdout] 480 | | /// `{ "name": ..., "goal": ..., "level": ... }` which the `MemoryToolPlugin` [INFO] [stdout] ... | [INFO] [stdout] 483 | | /// - `profile:goal` [INFO] [stdout] 484 | | /// - `profile:level` [INFO] [stdout] | |_--------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/memory.rs:571:1 [INFO] [stdout] | [INFO] [stdout] 571 | / /// Built-in tool: ask the host to get a choice from the user. [INFO] [stdout] 572 | | /// [INFO] [stdout] 573 | | /// The tool itself only returns `{ options, prompt }`. The `ControlToolPlugin` [INFO] [stdout] 574 | | /// interprets this payload and sets `awaiting_user_choice` and `user_choice_pending` [INFO] [stdout] 575 | | /// in the event actions / session state. [INFO] [stdout] | |_----------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/memory.rs:650:1 [INFO] [stdout] | [INFO] [stdout] 650 | / /// Built-in tool: request explicit user confirmation before executing a [INFO] [stdout] 651 | | /// specific tool call. [INFO] [stdout] 652 | | /// [INFO] [stdout] 653 | | /// 工具本身只返回结构化 payload: [INFO] [stdout] 654 | | /// `{ "tool_name": ..., "hint": ..., "tool_args": ... }`,不直接执行任何危险操作。 [INFO] [stdout] 655 | | /// 具体流程由宿主与插件协作完成。 [INFO] [stdout] | |_---------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `agent::LlmAgent::run_with_tools_with_id`: 此方法仅用于简单场景,无法携带 Session/插件上下文。建议使用 Runner 或 run_with_tools_stream_with_ctx。 [INFO] [stdout] --> src/agent.rs:286:14 [INFO] [stdout] | [INFO] [stdout] 286 | self.run_with_tools_with_id(client, invocation_id, user_message) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `agent::LlmAgent::run_with_tools_stream_with_id`: 此方法使用占位 InvocationContext,无法访问真实 Session。建议使用 run_with_tools_stream_with_ctx。 [INFO] [stdout] --> src/agent.rs:306:31 [INFO] [stdout] | [INFO] [stdout] 306 | let mut stream = self.run_with_tools_stream_with_id(client, invocation_id, user_message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AdkError` [INFO] [stdout] --> src/code_executor.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::error::{AdkError, AdkResult}; [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: `std::sync::Arc` [INFO] [stdout] --> src/code_executor.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/memory.rs:314:1 [INFO] [stdout] | [INFO] [stdout] 314 | / /// Built-in tool: set a string value in session memory. [INFO] [stdout] 315 | | /// [INFO] [stdout] 316 | | /// This tool does not modify memory directly; instead it returns a structured [INFO] [stdout] 317 | | /// payload `{ "key": ..., "value": ... }`. A dedicated plugin can then read [INFO] [stdout] 318 | | /// this payload and write into `event.actions.state_delta`, which the runner [INFO] [stdout] 319 | | /// applies to `Session.state`. [INFO] [stdout] | |_------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/memory.rs:477:1 [INFO] [stdout] | [INFO] [stdout] 477 | / /// Built-in tool: set common profile fields in session memory. [INFO] [stdout] 478 | | /// [INFO] [stdout] 479 | | /// The tool does not modify memory directly. Instead it returns a payload [INFO] [stdout] 480 | | /// `{ "name": ..., "goal": ..., "level": ... }` which the `MemoryToolPlugin` [INFO] [stdout] ... | [INFO] [stdout] 483 | | /// - `profile:goal` [INFO] [stdout] 484 | | /// - `profile:level` [INFO] [stdout] | |_--------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/memory.rs:571:1 [INFO] [stdout] | [INFO] [stdout] 571 | / /// Built-in tool: ask the host to get a choice from the user. [INFO] [stdout] 572 | | /// [INFO] [stdout] 573 | | /// The tool itself only returns `{ options, prompt }`. The `ControlToolPlugin` [INFO] [stdout] 574 | | /// interprets this payload and sets `awaiting_user_choice` and `user_choice_pending` [INFO] [stdout] 575 | | /// in the event actions / session state. [INFO] [stdout] | |_----------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/memory.rs:650:1 [INFO] [stdout] | [INFO] [stdout] 650 | / /// Built-in tool: request explicit user confirmation before executing a [INFO] [stdout] 651 | | /// specific tool call. [INFO] [stdout] 652 | | /// [INFO] [stdout] 653 | | /// 工具本身只返回结构化 payload: [INFO] [stdout] 654 | | /// `{ "tool_name": ..., "hint": ..., "tool_args": ... }`,不直接执行任何危险操作。 [INFO] [stdout] 655 | | /// 具体流程由宿主与插件协作完成。 [INFO] [stdout] | |_---------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `agent::LlmAgent::run_with_tools_with_id`: 此方法仅用于简单场景,无法携带 Session/插件上下文。建议使用 Runner 或 run_with_tools_stream_with_ctx。 [INFO] [stdout] --> src/agent.rs:286:14 [INFO] [stdout] | [INFO] [stdout] 286 | self.run_with_tools_with_id(client, invocation_id, user_message) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `agent::LlmAgent::run_with_tools_stream_with_id`: 此方法使用占位 InvocationContext,无法访问真实 Session。建议使用 run_with_tools_stream_with_ctx。 [INFO] [stdout] --> src/agent.rs:306:31 [INFO] [stdout] | [INFO] [stdout] 306 | let mut stream = self.run_with_tools_stream_with_id(client, invocation_id, user_message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/agent.rs:1297:13 [INFO] [stdout] | [INFO] [stdout] 1297 | let name = self.name.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/agent.rs:1297:13 [INFO] [stdout] | [INFO] [stdout] 1297 | let name = self.name.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pipeline.rs:463:17 [INFO] [stdout] | [INFO] [stdout] 463 | let mut tmp_ctx = CodeExecutorContext::new(&mut state_snapshot); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sub_agent_names` is never used [INFO] [stdout] --> src/agent.rs:1216:8 [INFO] [stdout] | [INFO] [stdout] 1206 | impl LoopAgent { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1216 | fn sub_agent_names(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/agents/loop_agent.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct LoopOrchestrator { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 23 | name: String, [INFO] [stdout] 24 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/flows.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 186 | struct FlowGraphNode { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 187 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FlowGraphNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> examples/openai_multi_model.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[tokio::main(flavor = "multi_thread")] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> examples/spec_basic.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[tokio::main(flavor = "multi_thread")] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> examples/cli_from_yaml.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | #[tokio::main(flavor = "multi_thread")] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> examples/flow_graph.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[tokio::main(flavor = "multi_thread")] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/openai_multi_model.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> examples/flow_graph_branch.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | #[tokio::main(flavor = "multi_thread")] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> examples/flow_study_plan.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[tokio::main(flavor = "multi_thread")] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> examples/flow_graph_branch.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / /// 简单工具:把模型判断的 level 写入 Session.state。 [INFO] [stdout] 29 | | /// [INFO] [stdout] 30 | | /// 在真实项目里,你可以直接在 Agent 的 `output_key` + pipeline 中处理; [INFO] [stdout] 31 | | /// 这里用一个专门工具只是为了演示“FlowGraph + 工具 + 状态”的组合。 [INFO] [stdout] | |_------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> examples/eval_cli.rs:120:3 [INFO] [stdout] | [INFO] [stdout] 120 | #[tokio::main(flavor = "multi_thread")] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-adk` (example "openai_multi_model") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0063]: missing field `agent_type` in initializer of `AgentSpec` [INFO] [stdout] --> examples/spec_basic.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | root_agent: AgentSpec { [INFO] [stdout] | ^^^^^^^^^ missing `agent_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/spec_basic.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/flow_study_plan.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/flow_graph.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-adk` (example "flow_study_plan") due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pipeline.rs:463:17 [INFO] [stdout] | [INFO] [stdout] 463 | let mut tmp_ctx = CodeExecutorContext::new(&mut state_snapshot); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/cli_from_yaml.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-adk` (example "flow_graph") due to 2 previous errors [INFO] [stderr] error: could not compile `rust-adk` (example "spec_basic") due to 3 previous errors [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/flow_graph_branch.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-adk` (example "cli_from_yaml") due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-adk` (example "flow_graph_branch") due to 2 previous errors; 1 warning emitted [INFO] [stdout] error[E0004]: non-exhaustive patterns: `rust_adk::evaluation::EvalStatus::NotEvaluated` not covered [INFO] [stdout] --> examples/eval_cli.rs:318:74 [INFO] [stdout] | [INFO] [stdout] 318 | EvalStatus::from_score(j.score, t).map(|s| match s { [INFO] [stdout] | ^ pattern `rust_adk::evaluation::EvalStatus::NotEvaluated` not covered [INFO] [stdout] | [INFO] [stdout] note: `rust_adk::evaluation::EvalStatus` defined here [INFO] [stdout] --> src/evaluation.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | pub enum EvalStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | NotEvaluated, [INFO] [stdout] | ------------ not covered [INFO] [stdout] = note: the matched value is of type `rust_adk::evaluation::EvalStatus` [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown [INFO] [stdout] | [INFO] [stdout] 320 ~ EvalStatus::Failed => "failed".to_string(), [INFO] [stdout] 321 ~ rust_adk::evaluation::EvalStatus::NotEvaluated => todo!(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/eval_cli.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0004, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stdout] warning: method `sub_agent_names` is never used [INFO] [stdout] --> src/agent.rs:1216:8 [INFO] [stdout] | [INFO] [stdout] 1206 | impl LoopAgent { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1216 | fn sub_agent_names(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/agents/loop_agent.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct LoopOrchestrator { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 23 | name: String, [INFO] [stdout] 24 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/flows.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 186 | struct FlowGraphNode { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 187 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FlowGraphNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-adk` (example "eval_cli") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "23a8e847850c533b8871ec1a8062f6915be3d2fe298bd881ddfd0df57974cfc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23a8e847850c533b8871ec1a8062f6915be3d2fe298bd881ddfd0df57974cfc4", kill_on_drop: false }` [INFO] [stdout] 23a8e847850c533b8871ec1a8062f6915be3d2fe298bd881ddfd0df57974cfc4