[INFO] cloning repository https://github.com/HeavyPunk/scotty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HeavyPunk/scotty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHeavyPunk%2Fscotty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHeavyPunk%2Fscotty'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9bbb1de79b34f997834de3290484f9f4efb06029 [INFO] checking HeavyPunk/scotty against try#ddcf048784667508cd676fef4667f88ae15628a3 for pr-148271 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHeavyPunk%2Fscotty" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/HeavyPunk/scotty [INFO] finished tweaking git repo https://github.com/HeavyPunk/scotty [INFO] tweaked toml for git repo https://github.com/HeavyPunk/scotty written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/HeavyPunk/scotty on toolchain ddcf048784667508cd676fef4667f88ae15628a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/HeavyPunk/scotty 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" "+ddcf048784667508cd676fef4667f88ae15628a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca80ca6997719872d4a4ba982db50c3dcf929ddcce9d16d725dc2eea63d0a45f [INFO] running `Command { std: "docker" "start" "-a" "ca80ca6997719872d4a4ba982db50c3dcf929ddcce9d16d725dc2eea63d0a45f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca80ca6997719872d4a4ba982db50c3dcf929ddcce9d16d725dc2eea63d0a45f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca80ca6997719872d4a4ba982db50c3dcf929ddcce9d16d725dc2eea63d0a45f", kill_on_drop: false }` [INFO] [stdout] ca80ca6997719872d4a4ba982db50c3dcf929ddcce9d16d725dc2eea63d0a45f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39f37712e495a45b5facc75cae9fa85e0033bc8d123165dc30e0ce288ad3a037 [INFO] running `Command { std: "docker" "start" "-a" "39f37712e495a45b5facc75cae9fa85e0033bc8d123165dc30e0ce288ad3a037", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling pest v2.8.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling darling_core v0.21.1 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking webpki-roots v1.0.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling pest_meta v2.8.2 [INFO] [stderr] Compiling deluxe-core v0.5.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling pest_generator v2.8.2 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling if_chain v1.0.3 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling pest_derive v2.8.2 [INFO] [stderr] Compiling schemars_derive v1.0.4 [INFO] [stderr] Checking rustls-webpki v0.103.4 [INFO] [stderr] Checking dyn-clone v1.0.20 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling darling_macro v0.21.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking eventsource-stream v0.2.3 [INFO] [stderr] Checking sse-stream v0.2.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Compiling darling v0.21.1 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling rmcp-macros v0.6.4 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking ordered-float v5.0.0 [INFO] [stderr] Compiling deluxe-macros v0.5.0 [INFO] [stderr] Compiling cookie-factory v0.2.4 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Checking as-any v0.3.2 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking schemars v1.0.4 [INFO] [stderr] Compiling amq-protocol-types v1.2.0 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling cargo-lock v8.0.3 [INFO] [stderr] Checking clap_builder v4.5.48 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking serde_spanned v1.0.2 [INFO] [stderr] Checking toml_datetime v0.7.2 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking toml_writer v1.0.3 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling built v0.5.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking input_buffer v0.5.0 [INFO] [stderr] Checking humantime v2.3.0 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking humantime-serde v1.1.1 [INFO] [stderr] Checking toml_parser v1.0.3 [INFO] [stderr] Compiling amiquip v0.4.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Checking toml v0.9.6 [INFO] [stderr] Compiling deluxe v0.5.0 [INFO] [stderr] Compiling handlebars v1.1.0 [INFO] [stderr] Compiling rig-derive v0.1.6 [INFO] [stderr] Checking clap v4.5.48 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking process-wrap v8.2.1 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Compiling amq-protocol-codegen v1.4.0 [INFO] [stderr] Checking redis v0.32.6 [INFO] [stderr] Checking snafu v0.7.5 [INFO] [stderr] Compiling amq-protocol v1.4.0 [INFO] [stderr] Checking sqlx-postgres v0.8.6 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking reqwest v0.12.23 [INFO] [stderr] Checking reqwest-eventsource v0.6.0 [INFO] [stderr] Checking rmcp v0.6.4 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking pgvector v0.4.1 [INFO] [stderr] Checking rig-core v0.21.0 [INFO] [stderr] Checking rig-postgres v0.1.21 [INFO] [stderr] Checking scotty-lib v0.1.0 (/opt/rustwide/workdir/scotty-lib) [INFO] [stderr] Checking scotty-rag-embedding v0.1.0 (/opt/rustwide/workdir/scotty-rag-embedding) [INFO] [stderr] Checking scotty-api v0.1.0 (/opt/rustwide/workdir/scotty-api) [INFO] [stderr] Checking scotty-worker v0.1.0 (/opt/rustwide/workdir/scotty-worker) [INFO] [stdout] warning: unused import: `SseClientTransport` [INFO] [stdout] --> scotty-worker/src/ollama/mod.rs:2:80 [INFO] [stdout] | [INFO] [stdout] 2 | use rmcp::{model::InitializeRequestParam, service::RunningService, transport::{SseClientTransport, TokioChildProcess}, RoleClient, Servic... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CompletionModel` and `self` [INFO] [stdout] --> scotty-worker/src/openai/mod.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | ...::{self, Agent, PromptRequest}, client::CompletionClient, message::Message, providers::openai::{responses_api::ResponsesCompletionModel, Client, CompletionModel}, ... [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> scotty-worker/src/ollama/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut remote_handlers = vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SseClientTransport` [INFO] [stdout] --> scotty-worker/src/ollama/mod.rs:2:80 [INFO] [stdout] | [INFO] [stdout] 2 | use rmcp::{model::InitializeRequestParam, service::RunningService, transport::{SseClientTransport, TokioChildProcess}, RoleClient, Servic... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CompletionModel` and `self` [INFO] [stdout] --> scotty-worker/src/openai/mod.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | ...::{self, Agent, PromptRequest}, client::CompletionClient, message::Message, providers::openai::{responses_api::ResponsesCompletionModel, Client, CompletionModel}, ... [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> scotty-worker/src/ollama/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut remote_handlers = vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_source` [INFO] [stdout] --> scotty-rag-embedding/src/main.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | Source::Http(http_source) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_source` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remote_config` [INFO] [stdout] --> scotty-worker/src/ollama/mod.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | McpConfig::Remote(remote_config) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remote_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `settings`, `url`, and `headers` are never read [INFO] [stdout] --> scotty-rag-embedding/src/config.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct HttpSource { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 32 | pub settings: SourceSettings, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | pub headers: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpSource` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_source` [INFO] [stdout] --> scotty-rag-embedding/src/main.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | Source::Http(http_source) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_source` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `settings`, `url`, and `headers` are never read [INFO] [stdout] --> scotty-rag-embedding/src/config.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct HttpSource { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 32 | pub settings: SourceSettings, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | pub headers: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpSource` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remote_config` [INFO] [stdout] --> scotty-worker/src/ollama/mod.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | McpConfig::Remote(remote_config) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remote_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> scotty-worker/src/chat.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | Storage(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChatError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - Storage(String), [INFO] [stdout] 7 + Storage(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> scotty-worker/src/chat.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | PromptError(PromptError), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChatError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 - PromptError(PromptError), [INFO] [stdout] 8 + PromptError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stop_generation` is never used [INFO] [stdout] --> scotty-worker/src/chat.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait LLMChat: Send + Sync { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 31 | async fn send_message(&mut self, message: Message, history: Vec) -> Result; [INFO] [stdout] 32 | async fn stop_generation(&mut self) -> Result<(), ChatError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mcp_type` and `url` are never read [INFO] [stdout] --> scotty-worker/src/config.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct RemoteConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 72 | #[serde(rename = "type")] [INFO] [stdout] 73 | pub mcp_type: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 74 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RemoteConfig` 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 `0` is never read [INFO] [stdout] --> scotty-worker/src/chat.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | Storage(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChatError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - Storage(String), [INFO] [stdout] 7 + Storage(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> scotty-worker/src/chat.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | PromptError(PromptError), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChatError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 - PromptError(PromptError), [INFO] [stdout] 8 + PromptError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stop_generation` is never used [INFO] [stdout] --> scotty-worker/src/chat.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait LLMChat: Send + Sync { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 31 | async fn send_message(&mut self, message: Message, history: Vec) -> Result; [INFO] [stdout] 32 | async fn stop_generation(&mut self) -> Result<(), ChatError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mcp_type` and `url` are never read [INFO] [stdout] --> scotty-worker/src/config.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct RemoteConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 72 | #[serde(rename = "type")] [INFO] [stdout] 73 | pub mcp_type: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 74 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RemoteConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 42s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [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" "39f37712e495a45b5facc75cae9fa85e0033bc8d123165dc30e0ce288ad3a037", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39f37712e495a45b5facc75cae9fa85e0033bc8d123165dc30e0ce288ad3a037", kill_on_drop: false }` [INFO] [stdout] 39f37712e495a45b5facc75cae9fa85e0033bc8d123165dc30e0ce288ad3a037