[INFO] fetching crate aio-cli 0.9.0... [INFO] checking aio-cli-0.9.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate aio-cli 0.9.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate aio-cli 0.9.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate aio-cli 0.9.0 [INFO] finished tweaking crates.io crate aio-cli 0.9.0 [INFO] tweaked toml for crates.io crate aio-cli 0.9.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate aio-cli 0.9.0 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jobserver v0.1.29 [INFO] [stderr] Downloaded serde_spanned v0.6.3 [INFO] [stderr] Downloaded aio-cargo-info v0.1.0 [INFO] [stderr] Downloaded llama_cpp v0.3.2 [INFO] [stderr] Downloaded anstyle-wincon v2.1.0 [INFO] [stderr] Downloaded anstream v0.5.0 [INFO] [stderr] Downloaded wasm-streams v0.3.0 [INFO] [stderr] Downloaded clap v4.4.4 [INFO] [stderr] Downloaded async-compression v0.4.3 [INFO] [stderr] Downloaded anstyle v1.0.3 [INFO] [stderr] Downloaded clap_builder v4.4.4 [INFO] [stderr] Downloaded brotli-decompressor v2.3.4 [INFO] [stderr] Downloaded brotli v3.3.4 [INFO] [stderr] Downloaded llama_cpp_sys v0.3.2 [INFO] [stderr] Downloaded openssl-src v300.1.5+3.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9f727b449f77746620b2f615861d9e1c389907b72e3ea561ddf5ebaa8a11779 [INFO] running `Command { std: "docker" "start" "-a" "e9f727b449f77746620b2f615861d9e1c389907b72e3ea561ddf5ebaa8a11779", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9f727b449f77746620b2f615861d9e1c389907b72e3ea561ddf5ebaa8a11779", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9f727b449f77746620b2f615861d9e1c389907b72e3ea561ddf5ebaa8a11779", kill_on_drop: false }` [INFO] [stdout] e9f727b449f77746620b2f615861d9e1c389907b72e3ea561ddf5ebaa8a11779 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b34f49ec4f8a7ff706fdbc2830b6c71a00db55f6ea07ca54736d19920087fa09 [INFO] running `Command { std: "docker" "start" "-a" "b34f49ec4f8a7ff706fdbc2830b6c71a00db55f6ea07ca54736d19920087fa09", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling rustix v0.38.14 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Compiling prettyplease v0.2.17 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling linux-raw-sys v0.4.7 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling jobserver v0.1.29 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking brotli-decompressor v2.3.4 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling openssl-src v300.1.5+3.1.3 [INFO] [stderr] Checking anstyle v1.0.3 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Checking aho-corasick v1.1.1 [INFO] [stderr] Checking brotli v3.3.4 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling link-cplusplus v1.0.9 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking clap_builder v4.4.4 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking unsafe-libyaml v0.2.9 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking base64 v0.21.4 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Checking simplelog v0.12.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking clap v4.4.4 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling llama_cpp_sys v0.3.2 [INFO] [stderr] Checking tokio-util v0.7.9 [INFO] [stderr] Checking async-compression v0.4.3 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_yaml v0.9.25 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.3 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Compiling aio-cargo-info v0.1.0 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking llama_cpp v0.3.2 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.20 [INFO] [stderr] Checking aio-cli v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Renderer` [INFO] [stdout] --> src/formatters/markdown/mod.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | pub use renderer::{Renderer, TerminalRenderer}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/generators/openai/config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/generators/openai/config.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ChatRequestParameters` [INFO] [stdout] --> src/generators/openai/config.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::ChatRequestParameters; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Message` and `Role` [INFO] [stdout] --> src/generators/openai/config.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{Message, Role}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/generators/openai/mod.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | if cfg!(feature = "debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `llama_cpp`, `local-llm`, and `openai` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LlamaParams` [INFO] [stdout] --> src/generators/llama/mod.rs:8:52 [INFO] [stdout] | [INFO] [stdout] 8 | standard_sampler::StandardSampler, LlamaModel, LlamaParams, SessionParams, TokensToStrings [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/utils/flatten_stream.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SplitBytes` [INFO] [stdout] --> src/utils/mod.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | pub use split_bytes::{SplitBytes, SplitBytesFactory}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Renderer` [INFO] [stdout] --> src/formatters/markdown/mod.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | pub use renderer::{Renderer, TerminalRenderer}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/generators/openai/config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/generators/openai/config.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ChatRequestParameters` [INFO] [stdout] --> src/generators/openai/config.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::ChatRequestParameters; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Message` and `Role` [INFO] [stdout] --> src/generators/openai/config.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{Message, Role}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/generators/openai/mod.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | if cfg!(feature = "debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `llama_cpp`, `local-llm`, and `openai` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LlamaParams` [INFO] [stdout] --> src/generators/llama/mod.rs:8:52 [INFO] [stdout] | [INFO] [stdout] 8 | standard_sampler::StandardSampler, LlamaModel, LlamaParams, SessionParams, TokensToStrings [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/utils/flatten_stream.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SplitBytes` [INFO] [stdout] --> src/utils/mod.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | pub use split_bytes::{SplitBytes, SplitBytesFactory}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `StopTokenState` is more private than the item `StopTokenInspector::<'a, 'b>::check` [INFO] [stdout] --> src/generators/llama/stop.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn check(&mut self, text: &str) -> StopTokenState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `StopTokenInspector::<'a, 'b>::check` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `StopTokenState` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/generators/llama/stop.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | enum StopTokenState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `format_contents` and `format_contents_as_ref` are never used [INFO] [stdout] --> src/config/prompt.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Prompts { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 9 | pub fn format_contents(mut self, args: &HashMap) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn format_contents_as_ref(&mut self, args: &HashMap) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `format_contents_as_ref` is never used [INFO] [stdout] --> src/config/prompt.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl Prompt { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn format_contents_as_ref(&mut self, args: &HashMap) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lowercase` is never used [INFO] [stdout] --> src/config/prompt.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl Role { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 124 | pub fn lowercase(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/generators/llama/template.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl PromptTemplate { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 29 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_tokens` and `inspect` are never used [INFO] [stdout] --> src/generators/llama/stop.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl StopToken { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn from_tokens(model: Model, tokens: &[Token]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn inspect(&self) -> StopTokenInspector { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotFound` is never constructed [INFO] [stdout] --> src/generators/llama/stop.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | enum StopTokenState { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 32 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `reset` are never used [INFO] [stdout] --> src/generators/llama/stop.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl<'a, 'b> StopTokenInspector<'a, 'b> { [INFO] [stdout] | --------------------------------------- associated items in this implementation [INFO] [stdout] 96 | pub fn new(stop: &'a StopToken) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_stop` is never used [INFO] [stdout] --> src/generators/llama/stop.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 125 | impl StopManager { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn add_stop(&mut self, stop: StopToken) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_yaml_memory`, `from_json_memory`, and `from_json_file` are never used [INFO] [stdout] --> src/serde_io.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait DeserializeExt: serde::de::DeserializeOwned { [INFO] [stdout] | -------------- associated functions in this trait [INFO] [stdout] 34 | fn from_yaml_memory(memory: T) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn from_json_memory(memory: T) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn from_json_file(filepath: T) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `append_to_vec` is never used [INFO] [stdout] --> src/utils/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn append_to_vec(vec: &mut Vec, other: &[T]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flatten_iter` is never used [INFO] [stdout] --> src/utils/flatten_stream.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait FlattenTrait: Stream [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 5 | { [INFO] [stdout] 6 | fn flatten_iter(self) -> Flatten::Item>> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `StopTokenState` is more private than the item `StopTokenInspector::<'a, 'b>::check` [INFO] [stdout] --> src/generators/llama/stop.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn check(&mut self, text: &str) -> StopTokenState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `StopTokenInspector::<'a, 'b>::check` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `StopTokenState` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/generators/llama/stop.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | enum StopTokenState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `format_contents` and `format_contents_as_ref` are never used [INFO] [stdout] --> src/config/prompt.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Prompts { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 9 | pub fn format_contents(mut self, args: &HashMap) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn format_contents_as_ref(&mut self, args: &HashMap) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `format_contents_as_ref` is never used [INFO] [stdout] --> src/config/prompt.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl Prompt { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn format_contents_as_ref(&mut self, args: &HashMap) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lowercase` is never used [INFO] [stdout] --> src/config/prompt.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl Role { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 124 | pub fn lowercase(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/generators/llama/template.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl PromptTemplate { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 29 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_tokens` and `inspect` are never used [INFO] [stdout] --> src/generators/llama/stop.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl StopToken { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn from_tokens(model: Model, tokens: &[Token]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn inspect(&self) -> StopTokenInspector { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotFound` is never constructed [INFO] [stdout] --> src/generators/llama/stop.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | enum StopTokenState { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 32 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `reset` are never used [INFO] [stdout] --> src/generators/llama/stop.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl<'a, 'b> StopTokenInspector<'a, 'b> { [INFO] [stdout] | --------------------------------------- associated items in this implementation [INFO] [stdout] 96 | pub fn new(stop: &'a StopToken) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_stop` is never used [INFO] [stdout] --> src/generators/llama/stop.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 125 | impl StopManager { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn add_stop(&mut self, stop: StopToken) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_yaml_memory`, `from_json_memory`, and `from_json_file` are never used [INFO] [stdout] --> src/serde_io.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait DeserializeExt: serde::de::DeserializeOwned { [INFO] [stdout] | -------------- associated functions in this trait [INFO] [stdout] 34 | fn from_yaml_memory(memory: T) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn from_json_memory(memory: T) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn from_json_file(filepath: T) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `append_to_vec` is never used [INFO] [stdout] --> src/utils/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn append_to_vec(vec: &mut Vec, other: &[T]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flatten_iter` is never used [INFO] [stdout] --> src/utils/flatten_stream.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait FlattenTrait: Stream [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 5 | { [INFO] [stdout] 6 | fn flatten_iter(self) -> Flatten::Item>> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 36s [INFO] running `Command { std: "docker" "inspect" "b34f49ec4f8a7ff706fdbc2830b6c71a00db55f6ea07ca54736d19920087fa09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b34f49ec4f8a7ff706fdbc2830b6c71a00db55f6ea07ca54736d19920087fa09", kill_on_drop: false }` [INFO] [stdout] b34f49ec4f8a7ff706fdbc2830b6c71a00db55f6ea07ca54736d19920087fa09