[INFO] cloning repository https://github.com/vidurkhanal/Cortex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vidurkhanal/Cortex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvidurkhanal%2FCortex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvidurkhanal%2FCortex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e9ce60e9e399f5ecb2a264336df7442442f0295 [INFO] checking vidurkhanal/Cortex against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvidurkhanal%2FCortex" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vidurkhanal/Cortex [INFO] finished tweaking git repo https://github.com/vidurkhanal/Cortex [INFO] tweaked toml for git repo https://github.com/vidurkhanal/Cortex written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vidurkhanal/Cortex 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 git repo https://github.com/vidurkhanal/Cortex 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9e81828671823202ae19b301435255a817ac40a2e0081122c4d6771286ac5b4 [INFO] running `Command { std: "docker" "start" "-a" "b9e81828671823202ae19b301435255a817ac40a2e0081122c4d6771286ac5b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9e81828671823202ae19b301435255a817ac40a2e0081122c4d6771286ac5b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9e81828671823202ae19b301435255a817ac40a2e0081122c4d6771286ac5b4", kill_on_drop: false }` [INFO] [stdout] b9e81828671823202ae19b301435255a817ac40a2e0081122c4d6771286ac5b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56797ece11987afd17e7a830ce8257979658c09588b2a0acadaf84c47037628b [INFO] running `Command { std: "docker" "start" "-a" "56797ece11987afd17e7a830ce8257979658c09588b2a0acadaf84c47037628b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tower-http v0.6.4 [INFO] [stderr] Checking h2 v0.4.10 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking hyper-util v0.1.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking reqwest v0.12.18 [INFO] [stderr] Checking Cortex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `,`, or `}`, found `finish_reason` [INFO] [stdout] --> src/model/step_result.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | tool_results: Vec [INFO] [stdout] | ^ help: try adding a comma: `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,`, or `}`, found `finish_reason` [INFO] [stdout] --> src/model/step_result.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | tool_results: Vec [INFO] [stdout] | ^ help: try adding a comma: `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found module `any` [INFO] [stdout] --> src/model/message.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | pub result: any, [INFO] [stdout] | ^^^ not a type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found module `any` [INFO] [stdout] --> src/model/message.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | pub args: Vec, [INFO] [stdout] | ^^^ not a type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found module `any` [INFO] [stdout] --> src/model/message.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | pub result: any, [INFO] [stdout] | ^^^ not a type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found module `any` [INFO] [stdout] --> src/model/message.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | pub args: Vec, [INFO] [stdout] | ^^^ not a type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GeneratedFile` in this scope [INFO] [stdout] --> src/model/step_result.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | files: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 22 | pub struct StepResult{ [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GeneratedFile` in this scope [INFO] [stdout] --> src/model/step_result.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | files: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 22 | pub struct StepResult{ [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ToolCallResult` in this scope [INFO] [stdout] --> src/model/step_result.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | tool_results: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 22 | pub struct StepResult{ [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ToolCallResult` in this scope [INFO] [stdout] --> src/model/step_result.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | tool_results: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 22 | pub struct StepResult{ [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `generate_text` [INFO] [stdout] --> src/lib.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | let response = generate_text( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `:` for type annotation [INFO] [stdout] | [INFO] [stdout] 24 - let response = generate_text( [INFO] [stdout] 24 + let response: generate_text( [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 12 + use crate::test::generate_text::generate_text; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LanguageModelCall` [INFO] [stdout] --> src/providers/openai/chat_model/mod.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | LanguageModel, LanguageModelCall, LanguageModelDoGenerateRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct import `GenerateTextOptions` is private [INFO] [stdout] --> src/lib.rs:13:37 [INFO] [stdout] | [INFO] [stdout] 13 | core::generate_text, model::GenerateTextOptions, provider::LanguageModelProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ private struct import [INFO] [stdout] | [INFO] [stdout] note: the struct import `GenerateTextOptions` is defined here... [INFO] [stdout] --> src/model/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | core::generate_text::GenerateTextOptions, errors::ModelError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...and refers to the struct import `GenerateTextOptions` which is defined here... [INFO] [stdout] --> src/core/generate_text/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use options::GenerateTextOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ you could import this re-export [INFO] [stdout] note: ...and refers to the struct `GenerateTextOptions` which is defined here [INFO] [stdout] --> src/core/generate_text/options.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct GenerateTextOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ you could import this directly [INFO] [stdout] help: import `GenerateTextOptions` through the re-export [INFO] [stdout] | [INFO] [stdout] 13 - core::generate_text, model::GenerateTextOptions, provider::LanguageModelProvider, [INFO] [stdout] 13 + core::generate_text, core::generate_text::GenerateTextOptions, provider::LanguageModelProvider, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LanguageModelCall` [INFO] [stdout] --> src/providers/openai/chat_model/mod.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | LanguageModel, LanguageModelCall, LanguageModelDoGenerateRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `E` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/prompt/retry_policy.rs:28:51 [INFO] [stdout] | [INFO] [stdout] 27 | ... "Failed after {} retries: {}", [INFO] [stdout] | -- required by this formatting parameter [INFO] [stdout] 28 | ... self.max_retries, e [INFO] [stdout] | ^ `E` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider further restricting type parameter `E` with trait `Display` [INFO] [stdout] | [INFO] [stdout] 13 | E: From + std::fmt::Display, [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `E` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/prompt/retry_policy.rs:28:51 [INFO] [stdout] | [INFO] [stdout] 27 | ... "Failed after {} retries: {}", [INFO] [stdout] | -- required by this formatting parameter [INFO] [stdout] 28 | ... self.max_retries, e [INFO] [stdout] | ^ `E` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider further restricting type parameter `E` with trait `Display` [INFO] [stdout] | [INFO] [stdout] 13 | E: From + std::fmt::Display, [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `E` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/prompt/retry_policy.rs:39:64 [INFO] [stdout] | [INFO] [stdout] 38 | ... "Retrying operation (attempt {}/{}) after {} ms: {}", [INFO] [stdout] | -- required by this formatting parameter [INFO] [stdout] 39 | ... attempts, self.max_retries, delay, e [INFO] [stdout] | ^ `E` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider further restricting type parameter `E` with trait `Display` [INFO] [stdout] | [INFO] [stdout] 13 | E: From + std::fmt::Display, [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `E` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/prompt/retry_policy.rs:39:64 [INFO] [stdout] | [INFO] [stdout] 38 | ... "Retrying operation (attempt {}/{}) after {} ms: {}", [INFO] [stdout] | -- required by this formatting parameter [INFO] [stdout] 39 | ... attempts, self.max_retries, delay, e [INFO] [stdout] | ^ `E` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider further restricting type parameter `E` with trait `Display` [INFO] [stdout] | [INFO] [stdout] 13 | E: From + std::fmt::Display, [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Vec<_>` [INFO] [stdout] --> src/core/generate_text/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let current_tool_calls = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `current_tool_calls` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 24 | let current_tool_calls: Vec = Vec::new(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Vec<_>` [INFO] [stdout] --> src/core/generate_text/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let current_tool_calls = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `current_tool_calls` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 24 | let current_tool_calls: Vec = Vec::new(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model_call` [INFO] [stdout] --> src/providers/openai/chat_model/mod.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | model_call: LanguageModelDoGenerateRequest, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_model_call` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/providers/openai/chat_model/mod.rs:140:29 [INFO] [stdout] | [INFO] [stdout] 140 | fn supports_urls(&self, url: String) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model_call` [INFO] [stdout] --> src/providers/openai/chat_model/mod.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | model_call: LanguageModelDoGenerateRequest, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_model_call` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/providers/openai/chat_model/mod.rs:140:29 [INFO] [stdout] | [INFO] [stdout] 140 | fn supports_urls(&self, url: String) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0412, E0573. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0412, E0423, E0573, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Cortex` (lib test) due to 10 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `Cortex` (lib) due to 8 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "56797ece11987afd17e7a830ce8257979658c09588b2a0acadaf84c47037628b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56797ece11987afd17e7a830ce8257979658c09588b2a0acadaf84c47037628b", kill_on_drop: false }` [INFO] [stdout] 56797ece11987afd17e7a830ce8257979658c09588b2a0acadaf84c47037628b