[INFO] cloning repository https://github.com/alfazick/openai-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alfazick/openai-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falfazick%2Fopenai-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falfazick%2Fopenai-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2b47713d454553661edf091a168defd48ba74666
[INFO] checking alfazick/openai-rust against 615014f15745532730b9ce7a1d9309f8b4756f93 for pr-160491
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falfazick%2Fopenai-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/alfazick/openai-rust
[INFO] finished tweaking git repo https://github.com/alfazick/openai-rust
[INFO] tweaked toml for git repo https://github.com/alfazick/openai-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/alfazick/openai-rust on toolchain 615014f15745532730b9ce7a1d9309f8b4756f93
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/alfazick/openai-rust 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" "+615014f15745532730b9ce7a1d9309f8b4756f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded thiserror-impl v1.0.68
[INFO] [stderr]   Downloaded thiserror v1.0.68
[INFO] [stderr]   Downloaded security-framework-sys v2.12.1
[INFO] [stderr]   Downloaded schannel v0.1.26
[INFO] [stderr]   Downloaded cc v1.1.37
[INFO] [stderr]   Downloaded hyper v0.14.31
[INFO] [stderr]   Downloaded libc v0.2.162
[INFO] [stderr]   Downloaded rustix v0.38.39
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5d8e59aefbd3279d9b203321213511c46fc1b365ad3b3aba26b1596db2ac7eef
[INFO] running `Command { std: "docker" "start" "5d8e59aefbd3279d9b203321213511c46fc1b365ad3b3aba26b1596db2ac7eef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5d8e59aefbd3279d9b203321213511c46fc1b365ad3b3aba26b1596db2ac7eef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5d8e59aefbd3279d9b203321213511c46fc1b365ad3b3aba26b1596db2ac7eef" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5d8e59aefbd3279d9b203321213511c46fc1b365ad3b3aba26b1596db2ac7eef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5d8e59aefbd3279d9b203321213511c46fc1b365ad3b3aba26b1596db2ac7eef" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling libc v0.2.162
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]    Compiling cc v1.1.37
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]     Checking pin-project-lite v0.2.15
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]     Checking litemap v0.7.3
[INFO] [stderr]     Checking bytes v1.8.0
[INFO] [stderr]     Checking writeable v0.5.5
[INFO] [stderr]     Checking icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]     Checking icu_properties_data v1.5.0
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking hashbrown v0.15.1
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]     Checking icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking write16 v1.0.0
[INFO] [stderr]     Checking utf16_iter v1.0.5
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.87
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking mio v1.0.2
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking indexmap v2.6.0
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]    Compiling thiserror v1.0.68
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]     Checking ipnet v2.10.1
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]    Compiling synstructure v0.13.1
[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 icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.214
[INFO] [stderr]    Compiling thiserror-impl v1.0.68
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]     Checking tokio v1.41.1
[INFO] [stderr]     Checking zerofrom v0.1.4
[INFO] [stderr]     Checking yoke v0.7.4
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking tokio-util v0.7.12
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_json v1.0.132
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.3
[INFO] [stderr]     Checking hyper v0.14.31
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking openai-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `tool_calls` and `name` are never read
[INFO] [stdout]  --> src/models/chat.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct ChatMessage {
[INFO] [stdout]   |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 6 |     tool_calls:Option<Vec<Value>>,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 7 |     tool_call_id:Option<String>,
[INFO] [stdout] 8 |     name:Option<String>,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `tool_calls` and `name` are never read
[INFO] [stdout]  --> src/models/chat.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct ChatMessage {
[INFO] [stdout]   |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 6 |     tool_calls:Option<Vec<Value>>,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 7 |     tool_call_id:Option<String>,
[INFO] [stdout] 8 |     name:Option<String>,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LabError` and `Tool`
[INFO] [stdout]  --> src/main.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use openai_rust::{Config, Client, Tool, LabError};
[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: `openai_rust::tools::WeatherTool`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use openai_rust::tools::WeatherTool;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LabError` and `Tool`
[INFO] [stdout]  --> src/main.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use openai_rust::{Config, Client, Tool, LabError};
[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: `openai_rust::tools::WeatherTool`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use openai_rust::tools::WeatherTool;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.19s
[INFO] running `Command { std: "docker" "inspect" "5d8e59aefbd3279d9b203321213511c46fc1b365ad3b3aba26b1596db2ac7eef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5d8e59aefbd3279d9b203321213511c46fc1b365ad3b3aba26b1596db2ac7eef", kill_on_drop: false }`
[INFO] [stdout] 5d8e59aefbd3279d9b203321213511c46fc1b365ad3b3aba26b1596db2ac7eef
