[INFO] fetching crate llm-toolkit 0.50.1... [INFO] testing llm-toolkit-0.50.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate llm-toolkit 0.50.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate llm-toolkit 0.50.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate llm-toolkit 0.50.1 [INFO] tweaked toml for crates.io crate llm-toolkit 0.50.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate llm-toolkit 0.50.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate llm-toolkit 0.50.1 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d8e3c295d10b12233069ee321dbe039d9797cf43c538dfaae6350f7a0fbde58 [INFO] running `Command { std: "docker" "start" "-a" "4d8e3c295d10b12233069ee321dbe039d9797cf43c538dfaae6350f7a0fbde58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d8e3c295d10b12233069ee321dbe039d9797cf43c538dfaae6350f7a0fbde58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d8e3c295d10b12233069ee321dbe039d9797cf43c538dfaae6350f7a0fbde58", kill_on_drop: false }` [INFO] [stdout] 4d8e3c295d10b12233069ee321dbe039d9797cf43c538dfaae6350f7a0fbde58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 601693becc4cdf8b5e4ce8730f9bd6e891f4ed86a2393c9c2b9f201e45f6ba77 [INFO] running `Command { std: "docker" "start" "-a" "601693becc4cdf8b5e4ce8730f9bd6e891f4ed86a2393c9c2b9f201e45f6ba77", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling syn v2.0.107 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling minijinja v2.12.0 [INFO] [stderr] Compiling quick-xml v0.38.3 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling llm-toolkit v0.50.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.58s [INFO] running `Command { std: "docker" "inspect" "601693becc4cdf8b5e4ce8730f9bd6e891f4ed86a2393c9c2b9f201e45f6ba77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "601693becc4cdf8b5e4ce8730f9bd6e891f4ed86a2393c9c2b9f201e45f6ba77", kill_on_drop: false }` [INFO] [stdout] 601693becc4cdf8b5e4ce8730f9bd6e891f4ed86a2393c9c2b9f201e45f6ba77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b33838cf79531771b79794d138abe1294bf45a7ea90de40df3d25d8d6d3862a4 [INFO] running `Command { std: "docker" "start" "-a" "b33838cf79531771b79794d138abe1294bf45a7ea90de40df3d25d8d6d3862a4", kill_on_drop: false }` [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling env_filter v0.1.4 [INFO] [stderr] Compiling llm-toolkit v0.50.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stdout] error[E0433]: failed to resolve: could not find `agent` in `llm_toolkit` [INFO] [stdout] --> examples/dialogue_session_resumption.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | use llm_toolkit::agent::dialogue::Dialogue; [INFO] [stdout] | ^^^^^ could not find `agent` in `llm_toolkit` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 75 | #[cfg(feature = "agent")] [INFO] [stdout] | ----------------- the item is gated behind the `agent` feature [INFO] [stdout] 76 | pub use llm_toolkit_macros::agent; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "agent")] [INFO] [stdout] | ----------------- the item is gated behind the `agent` feature [INFO] [stdout] 115 | pub mod agent; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `agent` in `llm_toolkit` [INFO] [stdout] --> examples/dialogue_session_resumption.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | use llm_toolkit::agent::persona::Persona; [INFO] [stdout] | ^^^^^ could not find `agent` in `llm_toolkit` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 75 | #[cfg(feature = "agent")] [INFO] [stdout] | ----------------- the item is gated behind the `agent` feature [INFO] [stdout] 76 | pub use llm_toolkit_macros::agent; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "agent")] [INFO] [stdout] | ----------------- the item is gated behind the `agent` feature [INFO] [stdout] 115 | pub mod agent; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `llm_toolkit::agent` [INFO] [stdout] --> examples/dialogue_session_resumption.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | use llm_toolkit::agent::{Agent, AgentError, Payload}; [INFO] [stdout] | ^^^^^ could not find `agent` in `llm_toolkit` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 75 | #[cfg(feature = "agent")] [INFO] [stdout] | ----------------- the item is gated behind the `agent` feature [INFO] [stdout] 76 | pub use llm_toolkit_macros::agent; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "agent")] [INFO] [stdout] | ----------------- the item is gated behind the `agent` feature [INFO] [stdout] 115 | pub mod agent; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/dialogue_session_resumption.rs:76:3 [INFO] [stdout] | [INFO] [stdout] 76 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `agent` in `llm_toolkit` [INFO] [stdout] --> examples/orchestrator_with_predefined_strategy.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use llm_toolkit::agent::impls::ClaudeCodeAgent; [INFO] [stdout] | ^^^^^ could not find `agent` in `llm_toolkit` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 75 | #[cfg(feature = "agent")] [INFO] [stdout] | ----------------- the item is gated behind the `agent` feature [INFO] [stdout] 76 | pub use llm_toolkit_macros::agent; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "agent")] [INFO] [stdout] | ----------------- the item is gated behind the `agent` feature [INFO] [stdout] 115 | pub mod agent; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `llm_toolkit::orchestrator` [INFO] [stdout] --> examples/orchestrator_with_predefined_strategy.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use llm_toolkit::orchestrator::{BlueprintWorkflow, Orchestrator, StrategyMap, StrategyStep}; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `orchestrator` in `llm_toolkit` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 117 | #[cfg(feature = "agent")] [INFO] [stdout] | ----------------- the item is gated behind the `agent` feature [INFO] [stdout] 118 | pub mod orchestrator; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/orchestrator_with_predefined_strategy.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[tokio::main(flavor = "current_thread")] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToPrompt` in this scope [INFO] [stdout] --> tests/template_with_mode_test.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(ToPrompt, Default, Serialize)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ToPrompt` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/template_with_mode_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llm_toolkit::ToPrompt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt` in this scope [INFO] [stdout] --> tests/template_with_mode_test.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[prompt(mode = "schema_only")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToPrompt` in this scope [INFO] [stdout] --> tests/template_with_mode_test.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(ToPrompt, Serialize)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ToPrompt` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/template_with_mode_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llm_toolkit::ToPrompt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `orchestrator` in `llm_toolkit` [INFO] [stdout] --> examples/orchestrator_with_predefined_strategy.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | llm_toolkit::orchestrator::OrchestrationStatus::Success => { [INFO] [stdout] | ^^^^^^^^^^^^ could not find `orchestrator` in `llm_toolkit` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 117 | #[cfg(feature = "agent")] [INFO] [stdout] | ----------------- the item is gated behind the `agent` feature [INFO] [stdout] 118 | pub mod orchestrator; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `orchestrator` in `llm_toolkit` [INFO] [stdout] --> examples/orchestrator_with_predefined_strategy.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 113 | llm_toolkit::orchestrator::OrchestrationStatus::Failure => { [INFO] [stdout] | ^^^^^^^^^^^^ could not find `orchestrator` in `llm_toolkit` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 117 | #[cfg(feature = "agent")] [INFO] [stdout] | ----------------- the item is gated behind the `agent` feature [INFO] [stdout] 118 | pub mod orchestrator; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `llm-toolkit` (example "dialogue_session_resumption") due to 4 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/orchestrator_with_predefined_strategy.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | serde_json::to_string_pretty(&output).unwrap_or_else(|_| output.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `T` declared on the function `to_string_pretty` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 109 | serde_json::to_string_pretty::(&output).unwrap_or_else(|_| output.to_string()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find attribute `prompt` in this scope [INFO] [stdout] --> tests/template_with_mode_test.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[prompt(template = "Normal: {{ inner }}, Schema: {{ inner:schema_only }}")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToPrompt` in this scope [INFO] [stdout] --> tests/enum_unified_type_field_prompt_test.rs:22:59 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, ToPrompt)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ToPrompt` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/enum_unified_type_field_prompt_test.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use llm_toolkit::ToPrompt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/orchestrator_with_predefined_strategy.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `llm-toolkit` (example "orchestrator_with_predefined_strategy") due to 7 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToPrompt` in this scope [INFO] [stdout] --> tests/nested_vec_schema_test.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Serialize, Deserialize, Debug, Clone, ToPrompt)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ToPrompt` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/nested_vec_schema_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llm_toolkit::ToPrompt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt` in this scope [INFO] [stdout] --> tests/nested_vec_schema_test.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[prompt(mode = "full")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToPrompt` in this scope [INFO] [stdout] --> tests/nested_vec_schema_test.rs:13:48 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Serialize, Deserialize, Debug, Clone, ToPrompt)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ToPrompt` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/nested_vec_schema_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use llm_toolkit::ToPrompt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt` in this scope [INFO] [stdout] --> tests/nested_vec_schema_test.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[prompt(mode = "full")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt` found for struct `Outer` in the current scope [INFO] [stdout] --> tests/template_with_mode_test.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 15 | struct Outer { [INFO] [stdout] | ------------ method `to_prompt` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 27 | let output = data.to_prompt(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Outer` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_prompt`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPrompt` [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 27 | let output = data.inner.value.to_prompt(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `llm-toolkit` (test "template_with_mode_test") due to 5 previous errors [INFO] [stdout] error[E0599]: no variant or associated item named `prompt_schema` found for enum `Action` in the current scope [INFO] [stdout] --> tests/enum_unified_type_field_prompt_test.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Action { [INFO] [stdout] | --------------- variant or associated item `prompt_schema` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 48 | let schema = Action::prompt_schema(); [INFO] [stdout] | ^^^^^^^^^^^^^ variant or associated item not found in `Action` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `prompt_schema`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `llm_toolkit::ToPrompt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `prompt_schema` found for enum `Action` in the current scope [INFO] [stdout] --> tests/enum_unified_type_field_prompt_test.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Action { [INFO] [stdout] | --------------- variant or associated item `prompt_schema` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 77 | let schema = Action::prompt_schema(); [INFO] [stdout] | ^^^^^^^^^^^^^ variant or associated item not found in `Action` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `prompt_schema`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `llm_toolkit::ToPrompt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `prompt_schema` found for enum `Action` in the current scope [INFO] [stdout] --> tests/enum_unified_type_field_prompt_test.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Action { [INFO] [stdout] | --------------- variant or associated item `prompt_schema` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 100 | let schema = Action::prompt_schema(); [INFO] [stdout] | ^^^^^^^^^^^^^ variant or associated item not found in `Action` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `prompt_schema`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `llm_toolkit::ToPrompt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt` found for enum `Action` in the current scope [INFO] [stdout] --> tests/enum_unified_type_field_prompt_test.rs:139:28 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Action { [INFO] [stdout] | --------------- method `to_prompt` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 139 | let prompt = start.to_prompt(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Action` [INFO] [stdout] | [INFO] [stdout] note: the method `to_prompt` exists on the type `std::string::String` [INFO] [stdout] --> /opt/rustwide/workdir/src/prompt.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | fn to_prompt(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_prompt`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `llm_toolkit::ToPrompt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt` found for enum `Action` in the current scope [INFO] [stdout] --> tests/enum_unified_type_field_prompt_test.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Action { [INFO] [stdout] | --------------- method `to_prompt` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 143 | let prompt = end.to_prompt(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Action` [INFO] [stdout] | [INFO] [stdout] note: the method `to_prompt` exists on the type `std::string::String` [INFO] [stdout] --> /opt/rustwide/workdir/src/prompt.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | fn to_prompt(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_prompt`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `llm_toolkit::ToPrompt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt` found for enum `Action` in the current scope [INFO] [stdout] --> tests/enum_unified_type_field_prompt_test.rs:153:29 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Action { [INFO] [stdout] | --------------- method `to_prompt` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 153 | let prompt = single.to_prompt(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Action` [INFO] [stdout] | [INFO] [stdout] note: the method `to_prompt` exists on the type `std::string::String` [INFO] [stdout] --> /opt/rustwide/workdir/src/prompt.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | fn to_prompt(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_prompt`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `llm_toolkit::ToPrompt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt` found for enum `Action` in the current scope [INFO] [stdout] --> tests/enum_unified_type_field_prompt_test.rs:168:31 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Action { [INFO] [stdout] | --------------- method `to_prompt` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 168 | let prompt = multiple.to_prompt(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Action` [INFO] [stdout] | [INFO] [stdout] note: the method `to_prompt` exists on the type `std::string::String` [INFO] [stdout] --> /opt/rustwide/workdir/src/prompt.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | fn to_prompt(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_prompt`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `llm_toolkit::ToPrompt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt` found for enum `Action` in the current scope [INFO] [stdout] --> tests/enum_unified_type_field_prompt_test.rs:179:28 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Action { [INFO] [stdout] | --------------- method `to_prompt` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 179 | let prompt = tuple.to_prompt(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Action` [INFO] [stdout] | [INFO] [stdout] note: the method `to_prompt` exists on the type `std::string::String` [INFO] [stdout] --> /opt/rustwide/workdir/src/prompt.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | fn to_prompt(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_prompt`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `llm_toolkit::ToPrompt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `prompt_schema` found for struct `ProducerOutput` in the current scope [INFO] [stdout] --> tests/nested_vec_schema_test.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ProducerOutput { [INFO] [stdout] | ------------------------- function or associated item `prompt_schema` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 24 | let schema = ProducerOutput::prompt_schema(); [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `ProducerOutput` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `prompt_schema`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPrompt` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `llm-toolkit` (test "enum_unified_type_field_prompt_test") due to 9 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `prompt_schema` found for struct `EvaluationResult` in the current scope [INFO] [stdout] --> tests/nested_vec_schema_test.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct EvaluationResult { [INFO] [stdout] | --------------------------- function or associated item `prompt_schema` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 51 | let schema = EvaluationResult::prompt_schema(); [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `EvaluationResult` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `prompt_schema`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPrompt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `prompt_schema` found for struct `ProducerOutput` in the current scope [INFO] [stdout] --> tests/nested_vec_schema_test.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ProducerOutput { [INFO] [stdout] | ------------------------- function or associated item `prompt_schema` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 62 | let schema = ProducerOutput::prompt_schema(); [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `ProducerOutput` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `prompt_schema`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPrompt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `llm-toolkit` (test "nested_vec_schema_test") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "b33838cf79531771b79794d138abe1294bf45a7ea90de40df3d25d8d6d3862a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b33838cf79531771b79794d138abe1294bf45a7ea90de40df3d25d8d6d3862a4", kill_on_drop: false }` [INFO] [stdout] b33838cf79531771b79794d138abe1294bf45a7ea90de40df3d25d8d6d3862a4