[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 master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelneale%2Fgoose-rust-port" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/michaelneale/goose-rust-port on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded clipboard-win v4.5.0
[INFO] [stderr]   Downloaded endian-type v0.1.2
[INFO] [stderr]   Downloaded str-buf v1.0.6
[INFO] [stderr]   Downloaded error-code v2.3.1
[INFO] [stderr]   Downloaded nibble_vec v0.1.0
[INFO] [stderr]   Downloaded fd-lock v3.0.13
[INFO] [stderr]   Downloaded shellexpand v3.1.0
[INFO] [stderr]   Downloaded is-terminal v0.4.13
[INFO] [stderr]   Downloaded security-framework-sys v2.12.0
[INFO] [stderr]   Downloaded async-convert v1.0.0
[INFO] [stderr]   Downloaded unicase v2.8.0
[INFO] [stderr]   Downloaded eventsource-stream v0.2.3
[INFO] [stderr]   Downloaded backoff v0.4.0
[INFO] [stderr]   Downloaded reqwest-eventsource v0.4.0
[INFO] [stderr]   Downloaded ipnet v2.10.1
[INFO] [stderr]   Downloaded rustyline v12.0.0
[INFO] [stderr]   Downloaded schannel v0.1.26
[INFO] [stderr]   Downloaded hyper v0.14.31
[INFO] [stderr]   Downloaded radix_trie v0.2.1
[INFO] [stderr]   Downloaded async-openai v0.17.1
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.45
[INFO] [stderr]   Downloaded ctrlc v3.4.5
[INFO] [stderr]   Downloaded web-sys v0.3.72
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b6a98e5e103aaaf95c2ad8e29aaeac6821ca92ba76a5c0d376c91b1361eae8c2
[INFO] running `Command { std: "docker" "start" "-a" "b6a98e5e103aaaf95c2ad8e29aaeac6821ca92ba76a5c0d376c91b1361eae8c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b6a98e5e103aaaf95c2ad8e29aaeac6821ca92ba76a5c0d376c91b1361eae8c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b6a98e5e103aaaf95c2ad8e29aaeac6821ca92ba76a5c0d376c91b1361eae8c2", kill_on_drop: false }`
[INFO] [stdout] b6a98e5e103aaaf95c2ad8e29aaeac6821ca92ba76a5c0d376c91b1361eae8c2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b802a6ca241008ae94b289a72a2a1940940de6fdcf798715b3b809ac16793df8
[INFO] running `Command { std: "docker" "start" "-a" "b802a6ca241008ae94b289a72a2a1940940de6fdcf798715b3b809ac16793df8", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling bytes v1.8.0
[INFO] [stderr]    Compiling cc v1.1.36
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling litemap v0.7.3
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.15.1
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.87
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling unicase v2.8.0
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling thiserror v1.0.68
[INFO] [stderr]    Compiling rustix v0.38.39
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling cfg_aliases v0.2.1
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling rustls-native-certs v0.6.3
[INFO] [stderr]    Compiling anstyle-parse v0.2.6
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling colorchoice v1.0.3
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling anstyle-query v1.1.2
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling ipnet v2.10.1
[INFO] [stderr]    Compiling darling_core v0.14.4
[INFO] [stderr]    Compiling anstyle v1.0.10
[INFO] [stderr]    Compiling anstream v0.6.18
[INFO] [stderr]    Compiling eventsource-stream v0.2.3
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling nibble_vec v0.1.0
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling clap_lex v0.7.2
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling darling_macro v0.14.4
[INFO] [stderr]    Compiling anyhow v1.0.93
[INFO] [stderr]    Compiling endian-type v0.1.2
[INFO] [stderr]    Compiling radix_trie v0.2.1
[INFO] [stderr]    Compiling darling v0.14.4
[INFO] [stderr]    Compiling derive_builder_core v0.12.0
[INFO] [stderr]    Compiling clap_builder v4.5.20
[INFO] [stderr]    Compiling nix v0.26.4
[INFO] [stderr]    Compiling zerofrom-derive v0.1.4
[INFO] [stderr]    Compiling yoke-derive v0.7.4
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling zerofrom v0.1.4
[INFO] [stderr]    Compiling yoke v0.7.4
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.214
[INFO] [stderr]    Compiling tokio v1.41.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling thiserror-impl v1.0.68
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling derive_builder_macro v0.12.0
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling derive_builder v0.12.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling fd-lock v3.0.13
[INFO] [stderr]    Compiling clap_derive v4.5.18
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling async-convert v1.0.0
[INFO] [stderr]    Compiling dirs v5.0.1
[INFO] [stderr]    Compiling is-terminal v0.4.13
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling rustyline v12.0.0
[INFO] [stderr]    Compiling env_logger v0.10.2
[INFO] [stderr]    Compiling tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling clap v4.5.20
[INFO] [stderr]    Compiling shellexpand v3.1.0
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling tokio-stream v0.1.16
[INFO] [stderr]    Compiling backoff v0.4.0
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling ctrlc v3.4.5
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling url v2.5.3
[INFO] [stderr]    Compiling secrecy v0.8.0
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling colored v2.1.0
[INFO] [stderr]    Compiling uuid v1.11.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling dotenv v0.15.0
[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: 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]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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: 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] 
[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: `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: 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 55s
[INFO] running `Command { std: "docker" "inspect" "b802a6ca241008ae94b289a72a2a1940940de6fdcf798715b3b809ac16793df8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b802a6ca241008ae94b289a72a2a1940940de6fdcf798715b3b809ac16793df8", kill_on_drop: false }`
[INFO] [stdout] b802a6ca241008ae94b289a72a2a1940940de6fdcf798715b3b809ac16793df8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e1c39b753cc8989072c07f8aa5013b55f091ac59b2c1c29a16c70049024ee038
[INFO] running `Command { std: "docker" "start" "-a" "e1c39b753cc8989072c07f8aa5013b55f091ac59b2c1c29a16c70049024ee038", 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: 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]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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: 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] [stderr]    Compiling rust-goose v0.1.0 (/opt/rustwide/workdir)
[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] 
[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: `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: 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: 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 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: 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 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: 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: 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]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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: 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] 
[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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 9.90s
[INFO] running `Command { std: "docker" "inspect" "e1c39b753cc8989072c07f8aa5013b55f091ac59b2c1c29a16c70049024ee038", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e1c39b753cc8989072c07f8aa5013b55f091ac59b2c1c29a16c70049024ee038", kill_on_drop: false }`
[INFO] [stdout] e1c39b753cc8989072c07f8aa5013b55f091ac59b2c1c29a16c70049024ee038
