[INFO] cloning repository https://github.com/obsidrielle/rag [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/obsidrielle/rag" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fobsidrielle%2Frag", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fobsidrielle%2Frag'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7bec78e73cdd4155971331e1fdfd0ff5464c5dce [INFO] building obsidrielle/rag against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fobsidrielle%2Frag" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/obsidrielle/rag on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/obsidrielle/rag [INFO] finished tweaking git repo https://github.com/obsidrielle/rag [INFO] tweaked toml for git repo https://github.com/obsidrielle/rag written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/obsidrielle/rag 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-3-tc1/source/Cargo.toml: unused manifest key: target.x86_64-pc-windows-gnu.rustflags [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded shared_child v1.0.1 [INFO] [stderr] Downloaded schemars_derive v1.0.0-alpha.17 [INFO] [stderr] Downloaded rustyline-derive v0.11.0 [INFO] [stderr] Downloaded async-openai-macros v0.1.0 [INFO] [stderr] Downloaded async-openai v0.28.1 [INFO] [stderr] Downloaded schemars v1.0.0-alpha.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e164956d880a6ddc744ba8e8826f1115d4ca1f4b92a91c4146cab5c4bd0e80b8 [INFO] running `Command { std: "docker" "start" "-a" "e164956d880a6ddc744ba8e8826f1115d4ca1f4b92a91c4146cab5c4bd0e80b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e164956d880a6ddc744ba8e8826f1115d4ca1f4b92a91c4146cab5c4bd0e80b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e164956d880a6ddc744ba8e8826f1115d4ca1f4b92a91c4146cab5c4bd0e80b8", kill_on_drop: false }` [INFO] [stdout] e164956d880a6ddc744ba8e8826f1115d4ca1f4b92a91c4146cab5c4bd0e80b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85772f8a4aeecf01126c765bbcd01379509678fd56efd99966393b063cd3fd02 [INFO] running `Command { std: "docker" "start" "-a" "85772f8a4aeecf01126c765bbcd01379509678fd56efd99966393b063cd3fd02", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: unused manifest key: target.x86_64-pc-windows-gnu.rustflags [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling rustls v0.23.26 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling clap_builder v4.5.36 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling os_pipe v1.2.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling shared_child v1.0.1 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling duct v0.13.7 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling fd-lock v4.0.4 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling rustls-webpki v0.103.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustyline-derive v0.11.0 [INFO] [stderr] Compiling schemars_derive v1.0.0-alpha.17 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling async-openai-macros v0.1.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling rustyline v15.0.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stdout] warning: unused import: `Attribute` [INFO] [stdout] --> macros/src/lib.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::{parse_macro_input, ItemFn, Attribute, Token, FnArg}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> macros/src/lib.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let mut function_description = attr_args [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> macros/src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let mut function_ident = attr_args [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap v4.5.36 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling schemars v1.0.0-alpha.17 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling reqwest-eventsource v0.6.0 [INFO] [stderr] Compiling async-openai v0.28.1 [INFO] [stderr] Compiling rag v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ChatCompletionRequestSystemMessageArgs` [INFO] [stdout] --> src/manager.rs:1:57 [INFO] [stdout] | [INFO] [stdout] 1 | use async_openai::types::{ChatCompletionRequestMessage, ChatCompletionRequestSystemMessageArgs}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_openai::Client` [INFO] [stdout] --> src/processor.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use async_openai::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_openai::config::OpenAIConfig` [INFO] [stdout] --> src/processor.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use async_openai::config::OpenAIConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChatCompletionRequestFunctionMessageArgs` and `ChatCompletionResponseMessage` [INFO] [stdout] --> src/processor.rs:12:70 [INFO] [stdout] | [INFO] [stdout] 12 | ...s, ChatCompletionRequestFunctionMessageArgs, ChatCompletionRequestToolMessageArgs, ChatCompletionRequestUserMessageArgs, ChatCompletionResponseMessage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json` [INFO] [stdout] --> src/processor.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CompletionType`, `Config`, `DefaultEditor`, `EditMode`, and `Editor` [INFO] [stdout] --> src/processor.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | use rustyline::{CompletionType, Config, DefaultEditor, EditMode, Editor}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustyline::hint::HistoryHinter` [INFO] [stdout] --> src/processor.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use rustyline::hint::HistoryHinter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustyline::validate::MatchingBracketValidator` [INFO] [stdout] --> src/processor.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use rustyline::validate::MatchingBracketValidator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RqBodyBuilder` [INFO] [stdout] --> src/processor.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::rq::{RqBodyBuilder, RsChunkBody}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RqBody` [INFO] [stdout] --> src/app.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::rq::{RqBody, RqBodyBuilder}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FunctionCall` [INFO] [stdout] --> src/rq.rs:1:107 [INFO] [stdout] | [INFO] [stdout] 1 | use async_openai::types::{ChatCompletionMessageToolCallChunk, ChatCompletionRequestMessage, FinishReason, FunctionCall}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/processor.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | fn pre_input(&self, ctx: &mut Context) -> anyhow::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/processor.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 176 | fn pre_call(&self, ctx: &mut Context, input: &mut String) -> anyhow::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/tools.rs:137:20 [INFO] [stdout] | [INFO] [stdout] 137 | fn execute_command(command: String) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `StreamOptions` is more private than the item `RqBody::stream_options` [INFO] [stdout] --> src/rq.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub stream_options: StreamOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `RqBody::stream_options` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `StreamOptions` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/rq.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | struct StreamOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PreInputHook` is never constructed [INFO] [stdout] --> src/processor.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub enum Hook { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 126 | PreInputHook(Rc), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InitPrompt` is never constructed [INFO] [stdout] --> src/processor.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | struct InitPrompt; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InitPrompt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/app.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl App { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 25 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `list_metadata` is never used [INFO] [stdout] --> src/tools.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl ToolRegistry { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn list_metadata(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StubTool` is never constructed [INFO] [stdout] --> src/tools.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | struct StubTool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_command` is never used [INFO] [stdout] --> src/tools.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn execute_command(command: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `created`, `model`, `system_fingerprint`, and `object` are never read [INFO] [stdout] --> src/rq.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct RsChunkBody { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 42 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 43 | pub choices: Vec, [INFO] [stdout] 44 | pub created: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | pub model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 46 | pub system_fingerprint: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | pub object: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RsChunkBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `finish_reason` and `index` are never read [INFO] [stdout] --> src/rq.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Choice { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 53 | pub delta: Delta, [INFO] [stdout] 54 | pub finish_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 55 | pub index: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Choice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/rq.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Delta { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 62 | pub role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Delta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `completion_tokens`, `prompt_tokens`, `prompt_cache_hit_tokens`, `prompt_cache_miss_tokens`, and `completion_tokens_details` are never read [INFO] [stdout] --> src/rq.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Usage { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 68 | pub completion_tokens: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | pub prompt_tokens: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 70 | pub prompt_cache_hit_tokens: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 71 | pub prompt_cache_miss_tokens: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | pub total_tokens: u64, [INFO] [stdout] 73 | pub completion_tokens_details: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Usage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reasoning_tokens` is never read [INFO] [stdout] --> src/rq.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct CompletionTokensDetails { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 78 | pub reasoning_tokens: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompletionTokensDetails` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "85772f8a4aeecf01126c765bbcd01379509678fd56efd99966393b063cd3fd02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85772f8a4aeecf01126c765bbcd01379509678fd56efd99966393b063cd3fd02", kill_on_drop: false }` [INFO] [stdout] 85772f8a4aeecf01126c765bbcd01379509678fd56efd99966393b063cd3fd02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92a9f40ecb057a41249db8c5945762f709c7cfee1bdd2e9a21d252ccfad98cbe [INFO] running `Command { std: "docker" "start" "-a" "92a9f40ecb057a41249db8c5945762f709c7cfee1bdd2e9a21d252ccfad98cbe", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: unused manifest key: target.x86_64-pc-windows-gnu.rustflags [INFO] [stdout] warning: unused import: `Attribute` [INFO] [stdout] --> macros/src/lib.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::{parse_macro_input, ItemFn, Attribute, Token, FnArg}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> macros/src/lib.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let mut function_description = attr_args [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> macros/src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let mut function_ident = attr_args [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rag v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ChatCompletionRequestSystemMessageArgs` [INFO] [stdout] --> src/manager.rs:1:57 [INFO] [stdout] | [INFO] [stdout] 1 | use async_openai::types::{ChatCompletionRequestMessage, ChatCompletionRequestSystemMessageArgs}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_openai::Client` [INFO] [stdout] --> src/processor.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use async_openai::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_openai::config::OpenAIConfig` [INFO] [stdout] --> src/processor.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use async_openai::config::OpenAIConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChatCompletionRequestFunctionMessageArgs` and `ChatCompletionResponseMessage` [INFO] [stdout] --> src/processor.rs:12:70 [INFO] [stdout] | [INFO] [stdout] 12 | ...s, ChatCompletionRequestFunctionMessageArgs, ChatCompletionRequestToolMessageArgs, ChatCompletionRequestUserMessageArgs, ChatCompletionResponseMessage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json` [INFO] [stdout] --> src/processor.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CompletionType`, `Config`, `DefaultEditor`, `EditMode`, and `Editor` [INFO] [stdout] --> src/processor.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | use rustyline::{CompletionType, Config, DefaultEditor, EditMode, Editor}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustyline::hint::HistoryHinter` [INFO] [stdout] --> src/processor.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use rustyline::hint::HistoryHinter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustyline::validate::MatchingBracketValidator` [INFO] [stdout] --> src/processor.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use rustyline::validate::MatchingBracketValidator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RqBodyBuilder` [INFO] [stdout] --> src/processor.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::rq::{RqBodyBuilder, RsChunkBody}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RqBody` [INFO] [stdout] --> src/app.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::rq::{RqBody, RqBodyBuilder}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FunctionCall` [INFO] [stdout] --> src/rq.rs:1:107 [INFO] [stdout] | [INFO] [stdout] 1 | use async_openai::types::{ChatCompletionMessageToolCallChunk, ChatCompletionRequestMessage, FinishReason, FunctionCall}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/processor.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | fn pre_input(&self, ctx: &mut Context) -> anyhow::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/processor.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 176 | fn pre_call(&self, ctx: &mut Context, input: &mut String) -> anyhow::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/tools.rs:137:20 [INFO] [stdout] | [INFO] [stdout] 137 | fn execute_command(command: String) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `StreamOptions` is more private than the item `RqBody::stream_options` [INFO] [stdout] --> src/rq.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub stream_options: StreamOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `RqBody::stream_options` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `StreamOptions` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/rq.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | struct StreamOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PreInputHook` is never constructed [INFO] [stdout] --> src/processor.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub enum Hook { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 126 | PreInputHook(Rc), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InitPrompt` is never constructed [INFO] [stdout] --> src/processor.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | struct InitPrompt; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InitPrompt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/app.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl App { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 25 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `list_metadata` is never used [INFO] [stdout] --> src/tools.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl ToolRegistry { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn list_metadata(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StubTool` is never constructed [INFO] [stdout] --> src/tools.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | struct StubTool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_command` is never used [INFO] [stdout] --> src/tools.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn execute_command(command: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `created`, `model`, `system_fingerprint`, and `object` are never read [INFO] [stdout] --> src/rq.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct RsChunkBody { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 42 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 43 | pub choices: Vec, [INFO] [stdout] 44 | pub created: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | pub model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 46 | pub system_fingerprint: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | pub object: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RsChunkBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `finish_reason` and `index` are never read [INFO] [stdout] --> src/rq.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Choice { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 53 | pub delta: Delta, [INFO] [stdout] 54 | pub finish_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 55 | pub index: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Choice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/rq.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Delta { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 62 | pub role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Delta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `completion_tokens`, `prompt_tokens`, `prompt_cache_hit_tokens`, `prompt_cache_miss_tokens`, and `completion_tokens_details` are never read [INFO] [stdout] --> src/rq.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Usage { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 68 | pub completion_tokens: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | pub prompt_tokens: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 70 | pub prompt_cache_hit_tokens: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 71 | pub prompt_cache_miss_tokens: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | pub total_tokens: u64, [INFO] [stdout] 73 | pub completion_tokens_details: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Usage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reasoning_tokens` is never read [INFO] [stdout] --> src/rq.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct CompletionTokensDetails { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 78 | pub reasoning_tokens: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompletionTokensDetails` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.12s [INFO] running `Command { std: "docker" "inspect" "92a9f40ecb057a41249db8c5945762f709c7cfee1bdd2e9a21d252ccfad98cbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92a9f40ecb057a41249db8c5945762f709c7cfee1bdd2e9a21d252ccfad98cbe", kill_on_drop: false }` [INFO] [stdout] 92a9f40ecb057a41249db8c5945762f709c7cfee1bdd2e9a21d252ccfad98cbe