[INFO] cloning repository https://github.com/SadidSD/kortex-coder [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SadidSD/kortex-coder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSadidSD%2Fkortex-coder", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSadidSD%2Fkortex-coder'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bd7dacc27499fc569c3f7e90bd6ffc55f1810db2 [INFO] testing SadidSD/kortex-coder against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSadidSD%2Fkortex-coder" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SadidSD/kortex-coder [INFO] finished tweaking git repo https://github.com/SadidSD/kortex-coder [INFO] tweaked toml for git repo https://github.com/SadidSD/kortex-coder written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SadidSD/kortex-coder on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SadidSD/kortex-coder 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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 58f2f23c2faa1ee753461d26dde0b77ade8b75ca670077c080b9d593c8cdafcc [INFO] running `Command { std: "docker" "start" "58f2f23c2faa1ee753461d26dde0b77ade8b75ca670077c080b9d593c8cdafcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58f2f23c2faa1ee753461d26dde0b77ade8b75ca670077c080b9d593c8cdafcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "58f2f23c2faa1ee753461d26dde0b77ade8b75ca670077c080b9d593c8cdafcc" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58f2f23c2faa1ee753461d26dde0b77ade8b75ca670077c080b9d593c8cdafcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "58f2f23c2faa1ee753461d26dde0b77ade8b75ca670077c080b9d593c8cdafcc" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling smallvec v1.15.2 [INFO] [stderr] Compiling shlex v2.0.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling bitflags v2.13.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling log v0.4.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.33 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling cc v1.2.64 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling hashbrown v0.17.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling memchr v2.8.2 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling openssl v0.10.81 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling autocfg v1.5.1 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling http v1.4.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling inotify-sys v0.1.6 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling syn v2.0.118 [INFO] [stderr] Compiling anstyle-parse v1.0.0 [INFO] [stderr] Compiling anstyle v1.0.14 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling zeroize v1.9.0 [INFO] [stderr] Compiling colorchoice v1.0.5 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling anstream v1.0.0 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling rustls-pki-types v1.14.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling regex-syntax v0.8.11 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling winnow v1.0.3 [INFO] [stderr] Compiling clap_lex v1.1.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling openssl-sys v0.9.117 [INFO] [stderr] Compiling libsqlite3-sys v0.38.1 [INFO] [stderr] Compiling sqlite-vec v0.1.9 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling chrono v0.4.45 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling toml_parser v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling serde_spanned v1.1.1 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling mio v1.2.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling socket2 v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling inotify v0.11.2 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling hashlink v0.12.0 [INFO] [stderr] Compiling notify-types v2.1.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling fd-lock v4.0.4 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling unicode-segmentation v1.13.3 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling toml_writer v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling toml v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling notify v8.2.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling uuid v1.23.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.6 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling schemars_derive v1.2.1 [INFO] [stderr] Compiling tokio v1.52.3 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling rustyline-derive v0.10.0 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling clap_derive v4.6.1 [INFO] [stderr] Compiling zerofrom v0.1.8 [INFO] [stderr] Compiling rustyline v14.0.0 [INFO] [stderr] Compiling yoke v0.8.3 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling regex v1.12.4 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling clap v4.6.1 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling schemars v1.2.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling idna_adapter v1.2.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower-http v0.6.11 [INFO] [stderr] Compiling h2 v0.4.15 [INFO] [stderr] Compiling hyper v1.10.1 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling ollama-rs v0.3.5 [INFO] [stderr] Compiling rusqlite v0.40.1 [INFO] [stderr] Compiling kortex-coder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated items `new` and `ask` are never used [INFO] [stdout] --> src/client.rs:280:12 [INFO] [stdout] | [INFO] [stdout] 278 | impl LLMClient { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 279 | /// Creates a new LLMClient loading credentials from the settings database or default fallbacks. [INFO] [stdout] 280 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | pub async fn ask(&self, system_prompt: &str, user_prompt: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description`, `keywords`, `version`, and `author` are never read [INFO] [stdout] --> src/db.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Skill { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | pub keywords: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | pub content: String, [INFO] [stdout] 17 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | pub author: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Skill` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `distance` is never read [INFO] [stdout] --> src/db.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct VectorResult { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | pub distance: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VectorResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rank` is never read [INFO] [stdout] --> src/db.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct FTSResult { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | pub rank: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FTSResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `created_at` are never read [INFO] [stdout] --> src/db.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct HybridResult { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 56 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HybridResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `session_id`, and `created_at` are never read [INFO] [stdout] --> src/db.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Message { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 66 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] 67 | pub session_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_setting`, `keyword_search`, `vector_search`, and `hybrid_search_with_recency` are never used [INFO] [stdout] --> src/db.rs:381:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn get_setting(&self, key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 396 | pub fn keyword_search(&self, query: &str, limit: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 401 | pub fn vector_search(&self, embedding: &[f32], limit: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 411 | pub async fn hybrid_search_with_recency(&self, query: &str, query_embedding: &[f32], limit: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hybrid_search_with_recency` is never used [INFO] [stdout] --> src/db.rs:546:14 [INFO] [stdout] | [INFO] [stdout] 546 | pub async fn hybrid_search_with_recency( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_tools_schema` is never used [INFO] [stdout] --> src/tools/registry.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ToolRegistry { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn get_tools_schema(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_from_json` is never used [INFO] [stdout] --> src/tools/parser.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl ToolCall { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 28 | /// Parses native JSON tool calls from an OpenAI/compatible response. [INFO] [stdout] 29 | pub fn parse_from_json(choice: &Value) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `js_test_template` is never used [INFO] [stdout] --> src/tools/test_templates.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn js_test_template(module_name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `python_test_template` is never used [INFO] [stdout] --> src/tools/test_templates.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn python_test_template(module_name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `tempfile` [INFO] [stderr] --> Cargo.toml:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | tempfile = "3.12" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `tempfile` [INFO] [stderr] warning: `kortex-coder` (manifest) generated 1 warning [INFO] [stderr] Finished `release` profile [optimized] target(s) in 4m 02s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nix v0.28.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "58f2f23c2faa1ee753461d26dde0b77ade8b75ca670077c080b9d593c8cdafcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "58f2f23c2faa1ee753461d26dde0b77ade8b75ca670077c080b9d593c8cdafcc" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling kortex-coder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated items `new` and `ask` are never used [INFO] [stdout] --> src/client.rs:280:12 [INFO] [stdout] | [INFO] [stdout] 278 | impl LLMClient { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 279 | /// Creates a new LLMClient loading credentials from the settings database or default fallbacks. [INFO] [stdout] 280 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | pub async fn ask(&self, system_prompt: &str, user_prompt: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description`, `keywords`, `version`, and `author` are never read [INFO] [stdout] --> src/db.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Skill { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | pub keywords: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | pub content: String, [INFO] [stdout] 17 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | pub author: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Skill` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `distance` is never read [INFO] [stdout] --> src/db.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct VectorResult { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | pub distance: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VectorResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rank` is never read [INFO] [stdout] --> src/db.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct FTSResult { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | pub rank: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FTSResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `session_id`, and `created_at` are never read [INFO] [stdout] --> src/db.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Message { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 66 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] 67 | pub session_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_tools_schema` is never used [INFO] [stdout] --> src/tools/registry.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ToolRegistry { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn get_tools_schema(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_from_json` is never used [INFO] [stdout] --> src/tools/parser.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl ToolCall { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 28 | /// Parses native JSON tool calls from an OpenAI/compatible response. [INFO] [stdout] 29 | pub fn parse_from_json(choice: &Value) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `js_test_template` is never used [INFO] [stdout] --> src/tools/test_templates.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn js_test_template(module_name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `python_test_template` is never used [INFO] [stdout] --> src/tools/test_templates.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn python_test_template(module_name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 55.52s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nix v0.28.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "58f2f23c2faa1ee753461d26dde0b77ade8b75ca670077c080b9d593c8cdafcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "58f2f23c2faa1ee753461d26dde0b77ade8b75ca670077c080b9d593c8cdafcc" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: associated items `new` and `ask` are never used [INFO] [stderr] --> src/client.rs:280:12 [INFO] [stderr] | [INFO] [stderr] 278 | impl LLMClient { [INFO] [stderr] | -------------- associated items in this implementation [INFO] [stderr] 279 | /// Creates a new LLMClient loading credentials from the settings database or default fallbacks. [INFO] [stderr] 280 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 312 | pub async fn ask(&self, system_prompt: &str, user_prompt: &str) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `description`, `keywords`, `version`, and `author` are never read [INFO] [stderr] --> src/db.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct Skill { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 14 | pub description: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 15 | pub keywords: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 16 | pub content: String, [INFO] [stderr] 17 | pub version: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 18 | pub author: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Skill` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `distance` is never read [INFO] [stderr] --> src/db.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 35 | pub struct VectorResult { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 40 | pub distance: f64, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `VectorResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `rank` is never read [INFO] [stderr] --> src/db.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct FTSResult { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 50 | pub rank: f64, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FTSResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `session_id`, and `created_at` are never read [INFO] [stderr] --> src/db.rs:66:9 [INFO] [stderr] | [INFO] [stderr] 65 | pub struct Message { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 66 | pub id: i64, [INFO] [stderr] | ^^ [INFO] [stderr] 67 | pub session_id: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 70 | pub created_at: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `get_tools_schema` is never used [INFO] [stderr] --> src/tools/registry.rs:107:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl ToolRegistry { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 107 | pub fn get_tools_schema(&self) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `parse_from_json` is never used [INFO] [stderr] --> src/tools/parser.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 27 | impl ToolCall { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 28 | /// Parses native JSON tool calls from an OpenAI/compatible response. [INFO] [stderr] 29 | pub fn parse_from_json(choice: &Value) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `js_test_template` is never used [INFO] [stderr] --> src/tools/test_templates.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn js_test_template(module_name: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `python_test_template` is never used [INFO] [stderr] --> src/tools/test_templates.rs:23:8 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn python_test_template(module_name: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `kortex-coder` (bin "kortex" test) generated 9 warnings [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nix v0.28.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/build/kortex-coder/75551b51fe2a3f2e/out/kortex-75551b51fe2a3f2e) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test client::tests::test_stream_filter_basic ... ok [INFO] [stdout] test client::tests::test_stream_filter_unclosed ... ok [INFO] [stdout] test settings::tests::test_expand_tilde ... ok [INFO] [stdout] test db::tests::test_sanitize_fts_query ... ok [INFO] [stdout] test client::tests::test_stream_filter_split_tags ... ok [INFO] [stdout] test tools::parser::tests::test_clean_parameter_content ... ok [INFO] [stdout] test skills::tests::test_parse_github_url ... ok [INFO] [stdout] test tools::parser::tests::test_parse_xml_without_tool_call_wrapper ... ok [INFO] [stdout] test tools::safety::tests::test_validate_command ... ok [INFO] [stdout] test tools::parser::tests::test_parse_xml_with_escaped_html ... ok [INFO] [stdout] test tools::parser::tests::test_unescape_html ... ok [INFO] [stdout] test tools::verifier::tests::test_verify_css ... ok [INFO] [stdout] test tools::safety::tests::test_validate_path ... FAILED [INFO] [stdout] test tools::verifier::tests::test_detect_project_type ... ok [INFO] [stdout] test tools::parser::tests::test_parse_xml_with_malformed_parameter_content ... ok [INFO] [stdout] test skills::tests::test_parse_skill ... ok [INFO] [stdout] test tools::verifier::tests::test_verify_project_custom_command_fail ... ok [INFO] [stdout] test tools::verifier::tests::test_verify_project_custom_command_pass ... ok [INFO] [stdout] test db::tests::test_database_flow ... ok [INFO] [stdout] test db::tests::test_vector_search ... ok [INFO] [stdout] test db::tests::test_fts5_search ... ok [INFO] [stdout] test db::tests::test_skills_db_flow ... ok [INFO] [stdout] test db::tests::test_hybrid_search ... ok [INFO] [stdout] test prompt::tests::test_prompt_builder_real ... ok [INFO] [stdout] test prompt::tests::test_prompt_builder_workspace_files ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tools::safety::tests::test_validate_path stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tools::safety::tests::test_validate_path' (2683) panicked at src/tools/safety.rs:179:9: [INFO] [stdout] assertion failed: policy.validate_path("C:\\Windows\\System32", &sandbox).is_err() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x63483bb4a835 - [INFO] [stdout] 1: 0x63483b9d265a - [INFO] [stdout] 2: 0x63483bb49ecb - [INFO] [stdout] 3: 0x63483bb499af - [INFO] [stdout] 4: 0x63483bb495da - [INFO] [stdout] 5: 0x63483bb49115 - [INFO] [stdout] 6: 0x63483bb70042 - [INFO] [stdout] 7: 0x63483bb6ffc9 - [INFO] [stdout] 8: 0x63483bb704cc - [INFO] [stdout] 9: 0x63483b9d24eb - [INFO] [stdout] 10: 0x63483b9d3dd1 - [INFO] [stdout] 11: 0x63483b999d66 - [INFO] [stdout] 12: 0x63483bb8f74b - [INFO] [stdout] 13: 0x63483bb8b711 - [INFO] [stdout] 14: 0x63483bb8aefc - [INFO] [stdout] 15: 0x63483bba8bec - [INFO] [stdout] 16: 0x63483bb71fe4 - [INFO] [stdout] 17: 0x733948e05dfa - [INFO] [stdout] 18: 0x733948e993d4 - clone [INFO] [stdout] 19: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tools::safety::tests::test_validate_path [INFO] [stderr] error: test failed, to rerun pass `--bin kortex` [INFO] [stdout] [INFO] [stdout] test result: FAILED. 24 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.45s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "58f2f23c2faa1ee753461d26dde0b77ade8b75ca670077c080b9d593c8cdafcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58f2f23c2faa1ee753461d26dde0b77ade8b75ca670077c080b9d593c8cdafcc", kill_on_drop: false }` [INFO] [stdout] 58f2f23c2faa1ee753461d26dde0b77ade8b75ca670077c080b9d593c8cdafcc