[INFO] fetching crate llm-toolkit 0.6.1... [INFO] testing llm-toolkit-0.6.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate llm-toolkit 0.6.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate llm-toolkit 0.6.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate llm-toolkit 0.6.1 [INFO] tweaked toml for crates.io crate llm-toolkit 0.6.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate llm-toolkit 0.6.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate llm-toolkit 0.6.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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded llm-toolkit-macros v0.6.1 [INFO] [stderr] Downloaded minijinja v2.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7046d387654285e139f369a9fae3fbe4dba3c1d3cc15f82ac7c732ecf3242487 [INFO] running `Command { std: "docker" "start" "-a" "7046d387654285e139f369a9fae3fbe4dba3c1d3cc15f82ac7c732ecf3242487", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7046d387654285e139f369a9fae3fbe4dba3c1d3cc15f82ac7c732ecf3242487", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7046d387654285e139f369a9fae3fbe4dba3c1d3cc15f82ac7c732ecf3242487", kill_on_drop: false }` [INFO] [stdout] 7046d387654285e139f369a9fae3fbe4dba3c1d3cc15f82ac7c732ecf3242487 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59a31998dcaa53f4997f965498c0ec3292aa97fe50f29aa0e31c7070bd0dfc8e [INFO] running `Command { std: "docker" "start" "-a" "59a31998dcaa53f4997f965498c0ec3292aa97fe50f29aa0e31c7070bd0dfc8e", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling minijinja v2.12.0 [INFO] [stderr] Compiling llm-toolkit v0.6.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.53s [INFO] running `Command { std: "docker" "inspect" "59a31998dcaa53f4997f965498c0ec3292aa97fe50f29aa0e31c7070bd0dfc8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59a31998dcaa53f4997f965498c0ec3292aa97fe50f29aa0e31c7070bd0dfc8e", kill_on_drop: false }` [INFO] [stdout] 59a31998dcaa53f4997f965498c0ec3292aa97fe50f29aa0e31c7070bd0dfc8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dda6d560a4890329c4146805a064246e881c13ef840c1e4d2e5ca71490bfe3b3 [INFO] running `Command { std: "docker" "start" "-a" "dda6d560a4890329c4146805a064246e881c13ef840c1e4d2e5ca71490bfe3b3", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling minijinja v2.12.0 [INFO] [stderr] Compiling llm-toolkit v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `ToPromptSet` in this scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(ToPromptSet, Serialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ToPromptSet` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use llm_toolkit::{ToPrompt, ToPromptSet}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[prompt_for(name = "Empty1", template = "This is empty")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[prompt_for(name = "Empty2", template = "Also empty")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToPromptSet` in this scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(ToPromptSet, Serialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ToPromptSet` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use llm_toolkit::{ToPrompt, ToPromptSet}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[prompt_for(name = "Minimal", template = "Just {{title}}")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[prompt_for(name = "Detailed")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToPromptSet` in this scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(ToPromptSet, Serialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ToPromptSet` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use llm_toolkit::{ToPrompt, ToPromptSet}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | #[prompt_for(name = "Target1", rename = "first_name")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | #[prompt_for(name = "Target2", rename = "second_name")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToPromptSet` in this scope [INFO] [stdout] --> tests/derive_prompt_set.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(ToPromptSet, Serialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ToPromptSet` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_prompt_set.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | ToPromptSet, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToPrompt` in this scope [INFO] [stdout] --> examples/multimodal_prompt.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[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] --> examples/multimodal_prompt.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use llm_toolkit::{ImageData, PromptPart, ToPrompt}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToPromptSet` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(ToPromptSet, Serialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ToPromptSet` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use llm_toolkit::{ToPrompt, ToPromptSet}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToPromptSet` in this scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(ToPromptSet, Serialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ToPromptSet` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use llm_toolkit::{ToPrompt, ToPromptSet}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:76:3 [INFO] [stdout] | [INFO] [stdout] 76 | #[prompt_for(name = "Formatted", template = "{{name}} ({{age}} years old)")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToPromptSet` in this scope [INFO] [stdout] --> examples/derive_prompt_set.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(ToPromptSet, Serialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ToPromptSet` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/derive_prompt_set.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use llm_toolkit::{ToPrompt, ToPromptSet, prompt::PromptPart}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt` in this scope [INFO] [stdout] --> examples/multimodal_prompt.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[prompt(template = "Analyze this image and answer: {{question}}")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[prompt_for(name = "Visual", template = "## {{title}}\n\n> {{description}}")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | #[prompt_for(name = "Raw")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[prompt_for( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[prompt_for(name = "Agent")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt` in this scope [INFO] [stdout] --> examples/multimodal_prompt.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[prompt(image)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToPrompt` in this scope [INFO] [stdout] --> examples/multimodal_prompt.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[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] --> examples/multimodal_prompt.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use llm_toolkit::{ImageData, PromptPart, ToPrompt}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToPromptSet` in this scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(ToPromptSet, Serialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ToPromptSet` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use llm_toolkit::{ToPrompt, ToPromptSet}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> examples/derive_prompt_set.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[prompt_for( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[prompt_for(name = "Agent", rename = "internal_id")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[prompt_for(name = "Emoji", template = "šŸŽÆ {{title}}\nšŸ“ {{description}}")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> examples/derive_prompt_set.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[prompt_for(name = "Markdown", template = "- [ ] {{title}}: {{description}}")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[prompt_for(skip)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToPromptSet` in this scope [INFO] [stdout] --> tests/derive_prompt_set.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(ToPromptSet, Serialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ToPromptSet` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_prompt_set.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | ToPromptSet, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt` in this scope [INFO] [stdout] --> examples/multimodal_prompt.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[prompt(image)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt` in this scope [INFO] [stdout] --> examples/multimodal_prompt.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[prompt(image)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt` in this scope [INFO] [stdout] --> examples/multimodal_prompt.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[prompt(skip)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToPromptSet` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(ToPromptSet, Serialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ToPromptSet` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use llm_toolkit::{ToPrompt, ToPromptSet}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:110:7 [INFO] [stdout] | [INFO] [stdout] 110 | #[prompt_for(name = "Public")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> examples/derive_prompt_set.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[prompt_for(name = "API")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | #[prompt_for(name = "Subset")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set.rs:88:7 [INFO] [stdout] | [INFO] [stdout] 88 | #[prompt_for(name = "Human", format_with = "format_priority")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[prompt_for(name = "Subset")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | #[prompt_for(name = "Subset")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> examples/derive_prompt_set.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[prompt_for(name = "API", rename = "created_at")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> examples/derive_prompt_set.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[prompt_for(skip)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:111:7 [INFO] [stdout] | [INFO] [stdout] 111 | #[prompt_for(name = "Private", skip)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToPromptSet` in this scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | #[derive(ToPromptSet, Serialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ToPromptSet` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use llm_toolkit::{ToPrompt, ToPromptSet}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToPromptSet` in this scope [INFO] [stdout] --> tests/derive_prompt_set.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(ToPromptSet, Serialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ToPromptSet` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_prompt_set.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | ToPromptSet, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set.rs:134:3 [INFO] [stdout] | [INFO] [stdout] 134 | #[prompt_for( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToPromptSet` in this scope [INFO] [stdout] --> examples/derive_prompt_set.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(ToPromptSet, Serialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ToPromptSet` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/derive_prompt_set.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use llm_toolkit::{ToPrompt, ToPromptSet, prompt::PromptPart}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 141 | #[prompt_for(name = "Multimodal", image)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | #[prompt_for(name = "Subset")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | #[prompt_for(name = "Subset")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | #[prompt_for(skip)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToPromptSet` in this scope [INFO] [stdout] --> tests/derive_prompt_set.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(ToPromptSet, Serialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ToPromptSet` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_prompt_set.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | ToPromptSet, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> examples/derive_prompt_set.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | #[prompt_for(name = "Human", template = "Document: {{title}}\nStatus: {{status}}")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:137:7 [INFO] [stdout] | [INFO] [stdout] 137 | #[prompt_for(name = "A")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:140:7 [INFO] [stdout] | [INFO] [stdout] 140 | #[prompt_for(name = "B")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> examples/derive_prompt_set.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | #[prompt_for(name = "Human", format_with = "format_status")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> examples/derive_prompt_set.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[prompt_for(name = "Machine")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:143:7 [INFO] [stdout] | [INFO] [stdout] 143 | #[prompt_for(name = "C")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToPromptSet` in this scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:172:10 [INFO] [stdout] | [INFO] [stdout] 172 | #[derive(ToPromptSet, Serialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ToPromptSet` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use llm_toolkit::{ToPrompt, ToPromptSet}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 73 | #[prompt_for(skip)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:75:7 [INFO] [stdout] | [INFO] [stdout] 75 | #[prompt_for(skip)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 77 | #[prompt_for(skip)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set.rs:180:3 [INFO] [stdout] | [INFO] [stdout] 180 | #[prompt_for(name = "Brief", template = "{{title}}")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set.rs:181:3 [INFO] [stdout] | [INFO] [stdout] 181 | #[prompt_for( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToPromptSet` in this scope [INFO] [stdout] --> examples/derive_prompt_set.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(ToPromptSet, Serialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ToPromptSet` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/derive_prompt_set.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use llm_toolkit::{ToPrompt, ToPromptSet, prompt::PromptPart}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:173:3 [INFO] [stdout] | [INFO] [stdout] 173 | #[prompt_for( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToPromptSet` in this scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:196:10 [INFO] [stdout] | [INFO] [stdout] 196 | #[derive(ToPromptSet, Serialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ToPromptSet` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use llm_toolkit::{ToPrompt, ToPromptSet}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | #[prompt_for(skip)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> examples/derive_prompt_set.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | #[prompt_for( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set.rs:189:7 [INFO] [stdout] | [INFO] [stdout] 189 | #[prompt_for(name = "Detailed")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToPromptSet` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | #[derive(ToPromptSet, Serialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ToPromptSet` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use llm_toolkit::{ToPrompt, ToPromptSet}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set.rs:192:7 [INFO] [stdout] | [INFO] [stdout] 192 | #[prompt_for(name = "Debug")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> examples/derive_prompt_set.rs:109:7 [INFO] [stdout] | [INFO] [stdout] 109 | #[prompt_for(name = "Analysis", image)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> examples/derive_prompt_set.rs:112:7 [INFO] [stdout] | [INFO] [stdout] 112 | #[prompt_for(name = "Summary")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:198:7 [INFO] [stdout] | [INFO] [stdout] 198 | #[prompt_for(name = "OnlyTarget")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:200:7 [INFO] [stdout] | [INFO] [stdout] 200 | #[prompt_for(name = "OnlyTarget")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:130:3 [INFO] [stdout] | [INFO] [stdout] 130 | #[prompt_for(name = "Thread1", template = "T1: {{data}}")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:131:3 [INFO] [stdout] | [INFO] [stdout] 131 | #[prompt_for(name = "Thread2", template = "T2: {{data}}")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToPromptSet` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:167:10 [INFO] [stdout] | [INFO] [stdout] 167 | #[derive(ToPromptSet, Serialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ToPromptSet` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use llm_toolkit::{ToPrompt, ToPromptSet}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToPrompt` [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use llm_toolkit::{ToPrompt, ToPromptSet}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:168:3 [INFO] [stdout] | [INFO] [stdout] 168 | #[prompt_for( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToPromptSet` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(ToPromptSet, Serialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ToPromptSet` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use llm_toolkit::{ToPrompt, ToPromptSet}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:192:3 [INFO] [stdout] | [INFO] [stdout] 192 | #[prompt_for( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:197:7 [INFO] [stdout] | [INFO] [stdout] 197 | #[prompt_for(name = "Escaped")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:199:7 [INFO] [stdout] | [INFO] [stdout] 199 | #[prompt_for(name = "Escaped")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:201:7 [INFO] [stdout] | [INFO] [stdout] 201 | #[prompt_for(name = "Escaped")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ToPromptSet` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:268:10 [INFO] [stdout] | [INFO] [stdout] 268 | #[derive(ToPromptSet, Serialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ToPromptSet` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use llm_toolkit::{ToPrompt, ToPromptSet}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_parts` found for struct `ImageAnalysisPrompt` in the current scope [INFO] [stdout] --> examples/multimodal_prompt.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 8 | struct ImageAnalysisPrompt { [INFO] [stdout] | -------------------------- method `to_prompt_parts` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 35 | let parts = analysis_prompt.to_prompt_parts(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `ImageAnalysisPrompt` [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_parts`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPrompt` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 35 | let parts = analysis_prompt.image.to_prompt_parts(); [INFO] [stdout] | ++++++ [INFO] [stdout] 35 | let parts = analysis_prompt.question.to_prompt_parts(); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:269:3 [INFO] [stdout] | [INFO] [stdout] 269 | #[prompt_for(name = "Compact", template = "{{required}}: {{optional_some}}")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:271:7 [INFO] [stdout] | [INFO] [stdout] 271 | #[prompt_for(name = "Full")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt` found for struct `ImageAnalysisPrompt` in the current scope [INFO] [stdout] --> examples/multimodal_prompt.rs:55:36 [INFO] [stdout] | [INFO] [stdout] 8 | struct ImageAnalysisPrompt { [INFO] [stdout] | -------------------------- method `to_prompt` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 55 | println!("{}", analysis_prompt.to_prompt()); [INFO] [stdout] | ^^^^^^^^^ method not found in `ImageAnalysisPrompt` [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: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 55 | println!("{}", analysis_prompt.image.to_prompt()); [INFO] [stdout] | ++++++ [INFO] [stdout] 55 | println!("{}", analysis_prompt.question.to_prompt()); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_parts` found for struct `ComparisonPrompt` in the current scope [INFO] [stdout] --> examples/multimodal_prompt.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 15 | struct ComparisonPrompt { [INFO] [stdout] | ----------------------- method `to_prompt_parts` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 67 | let parts = comparison_prompt.to_prompt_parts(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `ComparisonPrompt` [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_parts`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPrompt` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 67 | let parts = comparison_prompt.after_image.to_prompt_parts(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] 67 | let parts = comparison_prompt.before_image.to_prompt_parts(); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] 67 | let parts = comparison_prompt.comparison_task.to_prompt_parts(); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 67 | let parts = comparison_prompt.internal_id.to_prompt_parts(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:273:7 [INFO] [stdout] | [INFO] [stdout] 273 | #[prompt_for(name = "Full")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:275:7 [INFO] [stdout] | [INFO] [stdout] 275 | #[prompt_for(name = "Full")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:277:7 [INFO] [stdout] | [INFO] [stdout] 277 | #[prompt_for(name = "Full")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prompt_for` in this scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:279:7 [INFO] [stdout] | [INFO] [stdout] 279 | #[prompt_for(name = "Full")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `Task` in the current scope [INFO] [stdout] --> tests/derive_prompt_set.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 9 | struct Task { [INFO] [stdout] | ----------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 33 | let result = task.to_prompt_for("Visual").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Task` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `Task` in the current scope [INFO] [stdout] --> tests/derive_prompt_set.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 9 | struct Task { [INFO] [stdout] | ----------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 47 | let result = task.to_prompt_for("Agent").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Task` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `InternationalContent` in the current scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 27 | struct InternationalContent { [INFO] [stdout] | --------------------------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 39 | let japanese = content.to_prompt_for("Japanese").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `InternationalContent` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `llm-toolkit` (example "multimodal_prompt") due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `EmptyStruct` in the current scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 8 | struct EmptyStruct {} [INFO] [stdout] | ------------------ method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 14 | let result1 = empty.to_prompt_for("Empty1").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `EmptyStruct` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `InternationalContent` in the current scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 27 | struct InternationalContent { [INFO] [stdout] | --------------------------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 43 | let emoji = content.to_prompt_for("Emoji").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `InternationalContent` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `LargeStruct` in the current scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:110:32 [INFO] [stdout] | [INFO] [stdout] 50 | struct LargeStruct { [INFO] [stdout] | ------------------ method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 110 | let default_result = large.to_prompt_for("Default"); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `LargeStruct` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `LargeStruct` in the current scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 50 | struct LargeStruct { [INFO] [stdout] | ------------------ method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 114 | let err_msg = large.to_prompt_for("General").unwrap_err().to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `LargeStruct` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `LargeStruct` in the current scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 50 | struct LargeStruct { [INFO] [stdout] | ------------------ method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 118 | let subset = large.to_prompt_for("Subset").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `LargeStruct` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `EmptyStruct` in the current scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 8 | struct EmptyStruct {} [INFO] [stdout] | ------------------ method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 17 | let result2 = empty.to_prompt_for("Empty2").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `EmptyStruct` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `TodoItem` in the current scope [INFO] [stdout] --> examples/derive_prompt_set.rs:153:27 [INFO] [stdout] | [INFO] [stdout] 11 | struct TodoItem { [INFO] [stdout] | --------------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 153 | println!("{}\n", todo.to_prompt_for("Visual")?); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `TodoItem` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `Task` in the current scope [INFO] [stdout] --> tests/derive_prompt_set.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 9 | struct Task { [INFO] [stdout] | ----------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 65 | let result = task.to_prompt_for("Unknown"); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Task` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `Arc` in the current scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:150:43 [INFO] [stdout] | [INFO] [stdout] 150 | let result = shared_clone.to_prompt_for(target).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Arc` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `TodoItem` in the current scope [INFO] [stdout] --> examples/derive_prompt_set.rs:156:27 [INFO] [stdout] | [INFO] [stdout] 11 | struct TodoItem { [INFO] [stdout] | --------------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 156 | println!("{}\n", todo.to_prompt_for("Markdown")?); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `TodoItem` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `ComplexTemplate` in the current scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:186:23 [INFO] [stdout] | [INFO] [stdout] 172 | struct ComplexTemplate { [INFO] [stdout] | ---------------------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 186 | let result = data.to_prompt_for("Complex").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `ComplexTemplate` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `FormattedTask` in the current scope [INFO] [stdout] --> tests/derive_prompt_set.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 85 | struct FormattedTask { [INFO] [stdout] | -------------------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 99 | let result = task.to_prompt_for("Human").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `FormattedTask` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `SelectiveFields` in the current scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 24 | struct SelectiveFields { [INFO] [stdout] | ---------------------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 39 | let minimal = data.to_prompt_for("Minimal").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `SelectiveFields` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `SpecialChars` in the current scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:214:20 [INFO] [stdout] | [INFO] [stdout] 196 | struct SpecialChars { [INFO] [stdout] | ------------------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 214 | let raw = data.to_prompt_for("Raw").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `SpecialChars` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `TodoItem` in the current scope [INFO] [stdout] --> examples/derive_prompt_set.rs:159:27 [INFO] [stdout] | [INFO] [stdout] 11 | struct TodoItem { [INFO] [stdout] | --------------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 159 | println!("{}\n", todo.to_prompt_for("API")?); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `TodoItem` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `SpecialChars` in the current scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:223:24 [INFO] [stdout] | [INFO] [stdout] 196 | struct SpecialChars { [INFO] [stdout] | ------------------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 223 | let escaped = data.to_prompt_for("Escaped").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `SpecialChars` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `SelectiveFields` in the current scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 24 | struct SelectiveFields { [INFO] [stdout] | ---------------------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 44 | let detailed = data.to_prompt_for("Detailed").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `SelectiveFields` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_parts_for` found for struct `MultimodalTask` in the current scope [INFO] [stdout] --> tests/derive_prompt_set.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 138 | struct MultimodalTask { [INFO] [stdout] | --------------------- method `to_prompt_parts_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 155 | let parts = task.to_prompt_parts_for("Multimodal").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method not found in `MultimodalTask` [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_parts_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `OptionalFields` in the current scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:294:21 [INFO] [stdout] | [INFO] [stdout] 270 | struct OptionalFields { [INFO] [stdout] | --------------------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 294 | let full = data.to_prompt_for("Full").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OptionalFields` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `Document` in the current scope [INFO] [stdout] --> examples/derive_prompt_set.rs:171:26 [INFO] [stdout] | [INFO] [stdout] 57 | struct Document { [INFO] [stdout] | --------------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 171 | println!("{}\n", doc.to_prompt_for("Human")?); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Document` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `OptionalFields` in the current scope [INFO] [stdout] --> tests/derive_prompt_set_advanced.rs:302:24 [INFO] [stdout] | [INFO] [stdout] 270 | struct OptionalFields { [INFO] [stdout] | --------------------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 302 | let compact = data.to_prompt_for("Compact").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OptionalFields` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `llm-toolkit` (test "derive_prompt_set_advanced") due to 42 previous errors [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `MultiRename` in the current scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 51 | struct MultiRename { [INFO] [stdout] | ------------------ method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 63 | let target1 = data.to_prompt_for("Target1").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `MultiRename` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `MultiTargetTask` in the current scope [INFO] [stdout] --> tests/derive_prompt_set.rs:206:22 [INFO] [stdout] | [INFO] [stdout] 185 | struct MultiTargetTask { [INFO] [stdout] | ---------------------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 206 | let brief = task.to_prompt_for("Brief").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `MultiTargetTask` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `Document` in the current scope [INFO] [stdout] --> examples/derive_prompt_set.rs:174:26 [INFO] [stdout] | [INFO] [stdout] 57 | struct Document { [INFO] [stdout] | --------------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 174 | println!("{}\n", doc.to_prompt_for("Machine")?); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Document` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `MultiRename` in the current scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 51 | struct MultiRename { [INFO] [stdout] | ------------------ method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 68 | let target2 = data.to_prompt_for("Target2").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `MultiRename` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `MultiTargetTask` in the current scope [INFO] [stdout] --> tests/derive_prompt_set.rs:210:25 [INFO] [stdout] | [INFO] [stdout] 185 | struct MultiTargetTask { [INFO] [stdout] | ---------------------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 210 | let detailed = task.to_prompt_for("Detailed").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `MultiTargetTask` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_parts_for` found for struct `ContentAnalysis` in the current scope [INFO] [stdout] --> examples/derive_prompt_set.rs:202:26 [INFO] [stdout] | [INFO] [stdout] 105 | struct ContentAnalysis { [INFO] [stdout] | ---------------------- method `to_prompt_parts_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 202 | let parts = analysis.to_prompt_parts_for("Analysis")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method not found in `ContentAnalysis` [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_parts_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `MixedTargets` in the current scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 77 | struct MixedTargets { [INFO] [stdout] | ------------------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 94 | let formatted = person.to_prompt_for("Formatted").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `MixedTargets` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `MultiTargetTask` in the current scope [INFO] [stdout] --> tests/derive_prompt_set.rs:217:22 [INFO] [stdout] | [INFO] [stdout] 185 | struct MultiTargetTask { [INFO] [stdout] | ---------------------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 217 | let debug = task.to_prompt_for("Debug").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `MultiTargetTask` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `MixedTargets` in the current scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 77 | struct MixedTargets { [INFO] [stdout] | ------------------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 99 | let raw = person.to_prompt_for("Raw").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `MixedTargets` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [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 "derive_prompt_set") due to 23 previous errors [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `ContentAnalysis` in the current scope [INFO] [stdout] --> examples/derive_prompt_set.rs:219:31 [INFO] [stdout] | [INFO] [stdout] 105 | struct ContentAnalysis { [INFO] [stdout] | ---------------------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 219 | println!("{}\n", analysis.to_prompt_for("Summary")?); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `ContentAnalysis` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `llm-toolkit` (example "derive_prompt_set") due to 22 previous errors [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `ConditionalSkip` in the current scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 107 | struct ConditionalSkip { [INFO] [stdout] | ---------------------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 123 | let public = data.to_prompt_for("Public").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `ConditionalSkip` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `ConditionalSkip` in the current scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 107 | struct ConditionalSkip { [INFO] [stdout] | ---------------------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 128 | let private = data.to_prompt_for("Private").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `ConditionalSkip` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `NoDefaultFields` in the current scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:155:25 [INFO] [stdout] | [INFO] [stdout] 136 | struct NoDefaultFields { [INFO] [stdout] | ---------------------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 155 | let target_a = data.to_prompt_for("A").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `NoDefaultFields` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `NoDefaultFields` in the current scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:160:25 [INFO] [stdout] | [INFO] [stdout] 136 | struct NoDefaultFields { [INFO] [stdout] | ---------------------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 160 | let target_b = data.to_prompt_for("B").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `NoDefaultFields` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `NoDefaultFields` in the current scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:165:25 [INFO] [stdout] | [INFO] [stdout] 136 | struct NoDefaultFields { [INFO] [stdout] | ---------------------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 165 | let target_c = data.to_prompt_for("C").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `NoDefaultFields` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `TemplateWithMissingField` in the current scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:188:23 [INFO] [stdout] | [INFO] [stdout] 177 | struct TemplateWithMissingField { [INFO] [stdout] | ------------------------------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 188 | let result = data.to_prompt_for("Incomplete"); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `TemplateWithMissingField` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `TodoItem` in the current scope [INFO] [stdout] --> examples/derive_prompt_set.rs:224:16 [INFO] [stdout] | [INFO] [stdout] 11 | struct TodoItem { [INFO] [stdout] | --------------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 224 | match todo.to_prompt_for("NonExistent") { [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `TodoItem` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `SingleTargetStruct` in the current scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:212:23 [INFO] [stdout] | [INFO] [stdout] 197 | struct SingleTargetStruct { [INFO] [stdout] | ------------------------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 212 | let result = data.to_prompt_for("OnlyTarget").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `SingleTargetStruct` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_prompt_for` found for struct `SingleTargetStruct` in the current scope [INFO] [stdout] --> tests/derive_prompt_set_edge_cases.rs:217:20 [INFO] [stdout] | [INFO] [stdout] 197 | struct SingleTargetStruct { [INFO] [stdout] | ------------------------- method `to_prompt_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 217 | let err = data.to_prompt_for("NonExistent").unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `SingleTargetStruct` [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_for`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToPromptSet` [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 "derive_prompt_set_edge_cases") due to 40 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "dda6d560a4890329c4146805a064246e881c13ef840c1e4d2e5ca71490bfe3b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dda6d560a4890329c4146805a064246e881c13ef840c1e4d2e5ca71490bfe3b3", kill_on_drop: false }` [INFO] [stdout] dda6d560a4890329c4146805a064246e881c13ef840c1e4d2e5ca71490bfe3b3