[INFO] cloning repository https://github.com/michaelneale/goose-rust-port [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/michaelneale/goose-rust-port" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelneale%2Fgoose-rust-port", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelneale%2Fgoose-rust-port'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7a94be71074f75601de7e44a05a2eccea9d30f8 [INFO] building michaelneale/goose-rust-port against try#58b1b3c5342a414c161338871f8004258ccef2a7 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelneale%2Fgoose-rust-port" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/michaelneale/goose-rust-port [INFO] finished tweaking git repo https://github.com/michaelneale/goose-rust-port [INFO] tweaked toml for git repo https://github.com/michaelneale/goose-rust-port written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/michaelneale/goose-rust-port on toolchain 58b1b3c5342a414c161338871f8004258ccef2a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/michaelneale/goose-rust-port 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" "+58b1b3c5342a414c161338871f8004258ccef2a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de1b65e90627990950a305c5d15c739b21309714f71d0764d0154898a2b5bb86 [INFO] running `Command { std: "docker" "start" "-a" "de1b65e90627990950a305c5d15c739b21309714f71d0764d0154898a2b5bb86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de1b65e90627990950a305c5d15c739b21309714f71d0764d0154898a2b5bb86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de1b65e90627990950a305c5d15c739b21309714f71d0764d0154898a2b5bb86", kill_on_drop: false }` [INFO] [stdout] de1b65e90627990950a305c5d15c739b21309714f71d0764d0154898a2b5bb86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60384bf035056f1b8002f7a863e5630abab139e5327a7c0a4ff77ec020f8542f [INFO] running `Command { std: "docker" "start" "-a" "60384bf035056f1b8002f7a863e5630abab139e5327a7c0a4ff77ec020f8542f", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling cc v1.1.36 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling rustix v0.38.39 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling tokio v1.41.0 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling clap_builder v4.5.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling async-convert v1.0.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling url v2.5.3 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling shellexpand v3.1.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling ctrlc v3.4.5 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling fd-lock v3.0.13 [INFO] [stderr] Compiling rustyline v12.0.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling clap v4.5.20 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling hyper v0.14.31 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling reqwest-eventsource v0.4.0 [INFO] [stderr] Compiling async-openai v0.17.1 [INFO] [stderr] Compiling rust-goose v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Config` [INFO] [stdout] --> src/exchange/openai.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | config::{Config, OpenAIConfig}, [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 import: `std::sync::Arc` [INFO] [stdout] --> src/toolkit/default.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `async_openai::types::ChatCompletionRequestAssistantMessage::function_call` [INFO] [stdout] --> src/exchange/openai.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | function_call: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provider` [INFO] [stdout] --> src/cli/config.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let provider = RECOMMENDED_DEFAULT_PROVIDER; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provider` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `processor` [INFO] [stdout] --> src/cli/config.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let processor = "gpt-4"; // TODO: Get from provider [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_processor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `accelerator` [INFO] [stdout] --> src/cli/config.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let accelerator = "none"; // TODO: Get from provider [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accelerator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tool` [INFO] [stdout] --> src/exchange/mod.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | let tool = Tool::new( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_session` [INFO] [stdout] --> src/session/mod.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | pub async fn run(&mut self, new_session: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | let mut session = rust_goose::session::SessionLoop::new( [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: `log_level` [INFO] [stdout] --> src/main.rs:138:54 [INFO] [stdout] | [INFO] [stdout] 138 | SessionCommands::Resume { name, profile, log_level } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `log_level: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/main.rs:150:44 [INFO] [stdout] | [INFO] [stdout] 150 | SessionCommands::Stats { name, tokens, cost, all } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `tokens: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/main.rs:150:52 [INFO] [stdout] | [INFO] [stdout] 150 | SessionCommands::Stats { name, tokens, cost, all } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `cost: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "60384bf035056f1b8002f7a863e5630abab139e5327a7c0a4ff77ec020f8542f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60384bf035056f1b8002f7a863e5630abab139e5327a7c0a4ff77ec020f8542f", kill_on_drop: false }` [INFO] [stdout] 60384bf035056f1b8002f7a863e5630abab139e5327a7c0a4ff77ec020f8542f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a78d91fa0985313591c2241d10cddfe5cbb8778b1ffe95877cf2a58e543ee9dc [INFO] running `Command { std: "docker" "start" "-a" "a78d91fa0985313591c2241d10cddfe5cbb8778b1ffe95877cf2a58e543ee9dc", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `Config` [INFO] [stdout] --> src/exchange/openai.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | config::{Config, OpenAIConfig}, [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 import: `std::sync::Arc` [INFO] [stdout] --> src/toolkit/default.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `async_openai::types::ChatCompletionRequestAssistantMessage::function_call` [INFO] [stdout] --> src/exchange/openai.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | function_call: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provider` [INFO] [stdout] --> src/cli/config.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let provider = RECOMMENDED_DEFAULT_PROVIDER; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provider` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `processor` [INFO] [stdout] --> src/cli/config.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let processor = "gpt-4"; // TODO: Get from provider [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_processor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `accelerator` [INFO] [stdout] --> src/cli/config.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let accelerator = "none"; // TODO: Get from provider [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accelerator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tool` [INFO] [stdout] --> src/exchange/mod.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | let tool = Tool::new( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_session` [INFO] [stdout] --> src/session/mod.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | pub async fn run(&mut self, new_session: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust-goose v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | let mut session = rust_goose::session::SessionLoop::new( [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: `log_level` [INFO] [stdout] --> src/main.rs:138:54 [INFO] [stdout] | [INFO] [stdout] 138 | SessionCommands::Resume { name, profile, log_level } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `log_level: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/main.rs:150:44 [INFO] [stdout] | [INFO] [stdout] 150 | SessionCommands::Stats { name, tokens, cost, all } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `tokens: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/main.rs:150:52 [INFO] [stdout] | [INFO] [stdout] 150 | SessionCommands::Stats { name, tokens, cost, all } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `cost: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToolkitResult` [INFO] [stdout] --> tests/toolkit_integration.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | use rust_goose::toolkit::{Tool, Toolkit, ToolkitResult}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/session_integration.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut session = Session::new( [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: `Config` [INFO] [stdout] --> src/exchange/openai.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | config::{Config, OpenAIConfig}, [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 import: `std::sync::Arc` [INFO] [stdout] --> src/toolkit/default.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | let mut session = rust_goose::session::SessionLoop::new( [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: `log_level` [INFO] [stdout] --> src/main.rs:138:54 [INFO] [stdout] | [INFO] [stdout] 138 | SessionCommands::Resume { name, profile, log_level } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `log_level: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/main.rs:150:44 [INFO] [stdout] | [INFO] [stdout] 150 | SessionCommands::Stats { name, tokens, cost, all } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `tokens: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/main.rs:150:52 [INFO] [stdout] | [INFO] [stdout] 150 | SessionCommands::Stats { name, tokens, cost, all } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `cost: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `async_openai::types::ChatCompletionRequestAssistantMessage::function_call` [INFO] [stdout] --> src/exchange/openai.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | function_call: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provider` [INFO] [stdout] --> src/cli/config.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let provider = RECOMMENDED_DEFAULT_PROVIDER; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provider` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `processor` [INFO] [stdout] --> src/cli/config.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let processor = "gpt-4"; // TODO: Get from provider [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_processor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `accelerator` [INFO] [stdout] --> src/cli/config.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let accelerator = "none"; // TODO: Get from provider [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accelerator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tool` [INFO] [stdout] --> src/exchange/mod.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | let tool = Tool::new( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_session` [INFO] [stdout] --> src/session/mod.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | pub async fn run(&mut self, new_session: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.64s [INFO] running `Command { std: "docker" "inspect" "a78d91fa0985313591c2241d10cddfe5cbb8778b1ffe95877cf2a58e543ee9dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a78d91fa0985313591c2241d10cddfe5cbb8778b1ffe95877cf2a58e543ee9dc", kill_on_drop: false }` [INFO] [stdout] a78d91fa0985313591c2241d10cddfe5cbb8778b1ffe95877cf2a58e543ee9dc