[INFO] fetching crate aiochatgpt 0.1.1...
[INFO] testing aiochatgpt-0.1.1 against 1.76.0 for beta-1.77-1
[INFO] extracting crate aiochatgpt 0.1.1 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate aiochatgpt 0.1.1 on toolchain 1.76.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate aiochatgpt 0.1.1
[INFO] finished tweaking crates.io crate aiochatgpt 0.1.1
[INFO] tweaked toml for crates.io crate aiochatgpt 0.1.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate crates.io crate aiochatgpt 0.1.1 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" "+1.76.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rayon-cond v0.1.0
[INFO] [stderr]   Downloaded monostate-impl v0.1.6
[INFO] [stderr]   Downloaded number_prefix v0.4.0
[INFO] [stderr]   Downloaded monostate v0.1.6
[INFO] [stderr]   Downloaded anstream v0.3.1
[INFO] [stderr]   Downloaded onig v6.4.0
[INFO] [stderr]   Downloaded clap v4.2.5
[INFO] [stderr]   Downloaded unicode-normalization-alignments v0.1.12
[INFO] [stderr]   Downloaded reqwest v0.11.17
[INFO] [stderr]   Downloaded syn v2.0.15
[INFO] [stderr]   Downloaded rustix v0.37.18
[INFO] [stderr]   Downloaded linux-raw-sys v0.3.6
[INFO] [stderr]   Downloaded spm_precompiled v0.1.4
[INFO] [stderr]   Downloaded libc v0.2.142
[INFO] [stderr]   Downloaded onig_sys v69.8.1
[INFO] [stderr]   Downloaded openssl v0.10.52
[INFO] [stderr]   Downloaded tokio v1.28.0
[INFO] [stderr]   Downloaded esaxx-rs v0.1.8
[INFO] [stderr]   Downloaded clap_builder v4.2.5
[INFO] [stderr]   Downloaded cached-path v0.6.1
[INFO] [stderr]   Downloaded tokenizers v0.13.3
[INFO] [stderr]   Downloaded filetime v0.2.21
[INFO] [stderr]   Downloaded console v0.15.5
[INFO] [stderr]   Downloaded macro_rules_attribute v0.1.3
[INFO] [stderr]   Downloaded indicatif v0.16.2
[INFO] [stderr]   Downloaded openssl-sys v0.9.87
[INFO] [stderr]   Downloaded macro_rules_attribute-proc_macro v0.1.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b04424de1200936536b5d3770ac6a57e33511d951f1f607d803fdde6682e08db
[INFO] running `Command { std: "docker" "start" "-a" "b04424de1200936536b5d3770ac6a57e33511d951f1f607d803fdde6682e08db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b04424de1200936536b5d3770ac6a57e33511d951f1f607d803fdde6682e08db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b04424de1200936536b5d3770ac6a57e33511d951f1f607d803fdde6682e08db", kill_on_drop: false }`
[INFO] [stdout] b04424de1200936536b5d3770ac6a57e33511d951f1f607d803fdde6682e08db
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 355839ebd922d90fb6b872cde6394b49fd9d7e13f27e6a55b8f05f6c39798950
[INFO] running `Command { std: "docker" "start" "-a" "355839ebd922d90fb6b872cde6394b49fd9d7e13f27e6a55b8f05f6c39798950", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.142
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling once_cell v1.17.1
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling smallvec v1.10.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.7
[INFO] [stderr]    Compiling slab v0.4.8
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling syn v2.0.15
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling bytes v1.4.0
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling tokio v1.28.0
[INFO] [stderr]    Compiling serde_derive v1.0.160
[INFO] [stderr]    Compiling itoa v1.0.6
[INFO] [stderr]    Compiling io-lifetimes v1.0.10
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.15
[INFO] [stderr]    Compiling rustix v0.37.18
[INFO] [stderr]    Compiling futures-io v0.3.28
[INFO] [stderr]    Compiling serde v1.0.160
[INFO] [stderr]    Compiling tracing-core v0.1.30
[INFO] [stderr]    Compiling memoffset v0.8.0
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling linux-raw-sys v0.3.6
[INFO] [stderr]    Compiling openssl v0.10.52
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling http v0.2.9
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.14
[INFO] [stderr]    Compiling cpufeatures v0.2.7
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling try-lock v0.2.4
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling percent-encoding v2.2.0
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling aho-corasick v1.0.1
[INFO] [stderr]    Compiling form_urlencoded v1.1.0
[INFO] [stderr]    Compiling rayon-core v1.11.0
[INFO] [stderr]    Compiling ryu v1.0.13
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling unicode-bidi v0.3.13
[INFO] [stderr]    Compiling either v1.8.1
[INFO] [stderr]    Compiling base64ct v1.6.0
[INFO] [stderr]    Compiling unicode-width v0.1.10
[INFO] [stderr]    Compiling regex-syntax v0.7.1
[INFO] [stderr]    Compiling serde_json v1.0.96
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling crossbeam-deque v0.8.3
[INFO] [stderr]    Compiling anstyle-parse v0.2.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.8
[INFO] [stderr]    Compiling paste v1.0.12
[INFO] [stderr]    Compiling jobserver v0.1.26
[INFO] [stderr]    Compiling num_cpus v1.15.0
[INFO] [stderr]    Compiling socket2 v0.4.9
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling mio v0.8.6
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling getrandom v0.2.9
[INFO] [stderr]    Compiling digest v0.10.6
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling cipher v0.3.0
[INFO] [stderr]    Compiling sha2 v0.10.6
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling console v0.15.5
[INFO] [stderr]    Compiling password-hash v0.4.2
[INFO] [stderr]    Compiling time-core v0.1.0
[INFO] [stderr]    Compiling anstyle-query v1.0.0
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling anstyle v1.0.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling aes v0.7.5
[INFO] [stderr]    Compiling time v0.3.20
[INFO] [stderr]    Compiling sha1 v0.10.5
[INFO] [stderr]    Compiling pbkdf2 v0.11.0
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling flate2 v1.0.26
[INFO] [stderr]    Compiling filetime v0.2.21
[INFO] [stderr]    Compiling xattr v0.2.3
[INFO] [stderr]    Compiling encoding_rs v0.8.32
[INFO] [stderr]    Compiling openssl-sys v0.9.87
[INFO] [stderr]    Compiling zstd-sys v2.0.8+zstd.1.5.5
[INFO] [stderr]    Compiling bzip2-sys v0.1.11+1.0.8
[INFO] [stderr]    Compiling onig_sys v69.8.1
[INFO] [stderr]    Compiling regex v1.8.1
[INFO] [stderr]    Compiling esaxx-rs v0.1.8
[INFO] [stderr]    Compiling number_prefix v0.4.0
[INFO] [stderr]    Compiling constant_time_eq v0.1.5
[INFO] [stderr]    Compiling clap_lex v0.4.1
[INFO] [stderr]    Compiling base64 v0.21.0
[INFO] [stderr]    Compiling ipnet v2.7.2
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling rayon v1.7.0
[INFO] [stderr]    Compiling tar v0.4.38
[INFO] [stderr]    Compiling darling_core v0.14.4
[INFO] [stderr]    Compiling is-terminal v0.4.7
[INFO] [stderr]    Compiling anstream v0.3.1
[INFO] [stderr]    Compiling indicatif v0.16.2
[INFO] [stderr]    Compiling tempfile v3.5.0
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling futures-macro v0.3.28
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling clap_builder v4.2.5
[INFO] [stderr]    Compiling clap_derive v4.2.0
[INFO] [stderr]    Compiling monostate-impl v0.1.6
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]    Compiling itertools v0.8.2
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]    Compiling number_prefix v0.3.0
[INFO] [stderr]    Compiling macro_rules_attribute-proc_macro v0.1.3
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling indicatif v0.15.0
[INFO] [stderr]    Compiling dirs v4.0.0
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]    Compiling macro_rules_attribute v0.1.3
[INFO] [stderr]    Compiling rayon-cond v0.1.0
[INFO] [stderr]    Compiling aho-corasick v0.7.20
[INFO] [stderr]    Compiling unicode-normalization-alignments v0.1.12
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling darling_macro v0.14.4
[INFO] [stderr]    Compiling bzip2 v0.4.4
[INFO] [stderr]    Compiling clap v4.2.5
[INFO] [stderr]    Compiling darling v0.14.4
[INFO] [stderr]    Compiling derive_builder_core v0.12.0
[INFO] [stderr]    Compiling futures-executor v0.3.28
[INFO] [stderr]    Compiling derive_builder_macro v0.12.0
[INFO] [stderr]    Compiling futures v0.3.28
[INFO] [stderr]    Compiling onig v6.4.0
[INFO] [stderr]    Compiling derive_builder v0.12.0
[INFO] [stderr]    Compiling tokio-util v0.7.8
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.3.18
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling monostate v0.1.6
[INFO] [stderr]    Compiling spm_precompiled v0.1.4
[INFO] [stderr]    Compiling zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]    Compiling zip v0.6.4
[INFO] [stderr]    Compiling hyper v0.14.26
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.17
[INFO] [stderr]    Compiling cached-path v0.6.1
[INFO] [stderr]    Compiling tokenizers v0.13.3
[INFO] [stderr]    Compiling aiochatgpt v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/client.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::Map`
[INFO] [stdout]  --> src/client.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::iter::Map;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/client.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/chunk.rs:55:17
[INFO] [stdout]    |
[INFO] [stdout] 55 |             let mut chunk = &chunk[CHUNK_START..];
[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: fields `id`, `object`, `created`, and `model` are never read
[INFO] [stdout]   --> src/chunk.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct ChatCompletionChunk {
[INFO] [stdout]    |            ------------------- fields in this struct
[INFO] [stdout] 14 |     id: String,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 15 |     object: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 16 |     created: i64,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 17 |     model: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ChatCompletionChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `index` and `finish_reason` are never read
[INFO] [stdout]   --> src/chunk.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct CompletionChoice {
[INFO] [stdout]    |        ---------------- fields in this struct
[INFO] [stdout] 24 |     delta: Delta,
[INFO] [stdout] 25 |     index: i64,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 26 |     finish_reason: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CompletionChoice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 24.04s
[INFO] running `Command { std: "docker" "inspect" "355839ebd922d90fb6b872cde6394b49fd9d7e13f27e6a55b8f05f6c39798950", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "355839ebd922d90fb6b872cde6394b49fd9d7e13f27e6a55b8f05f6c39798950", kill_on_drop: false }`
[INFO] [stdout] 355839ebd922d90fb6b872cde6394b49fd9d7e13f27e6a55b8f05f6c39798950
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 128a40b46c1bddec428ae2b95723b57544fd9ac2c05da250a808e708056c7c7a
[INFO] running `Command { std: "docker" "start" "-a" "128a40b46c1bddec428ae2b95723b57544fd9ac2c05da250a808e708056c7c7a", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/client.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::Map`
[INFO] [stdout]  --> src/client.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::iter::Map;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/client.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/chunk.rs:55:17
[INFO] [stdout]    |
[INFO] [stdout] 55 |             let mut chunk = &chunk[CHUNK_START..];
[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: fields `id`, `object`, `created`, and `model` are never read
[INFO] [stdout]   --> src/chunk.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct ChatCompletionChunk {
[INFO] [stdout]    |            ------------------- fields in this struct
[INFO] [stdout] 14 |     id: String,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 15 |     object: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 16 |     created: i64,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 17 |     model: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ChatCompletionChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling aiochatgpt v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `index` and `finish_reason` are never read
[INFO] [stdout]   --> src/chunk.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct CompletionChoice {
[INFO] [stdout]    |        ---------------- fields in this struct
[INFO] [stdout] 24 |     delta: Delta,
[INFO] [stdout] 25 |     index: i64,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 26 |     finish_reason: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CompletionChoice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/client.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::Map`
[INFO] [stdout]  --> src/client.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::iter::Map;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/client.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `chatgpt`
[INFO] [stdout]  --> examples/stream.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chatgpt::OpenAIRequest;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared crate or module `chatgpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chatgpt`
[INFO] [stdout]   --> examples/stream.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let client = chatgpt::OpenAIClient::new(OPENAI_API_KEY);
[INFO] [stdout]    |                  ^^^^^^^ use of undeclared crate or module `chatgpt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use aiochatgpt::OpenAIClient;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `OpenAIClient`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 13 -     let client = chatgpt::OpenAIClient::new(OPENAI_API_KEY);
[INFO] [stdout] 13 +     let client = OpenAIClient::new(OPENAI_API_KEY);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StreamExt`
[INFO] [stdout]  --> examples/stream.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use futures::{StreamExt, TryStreamExt};
[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]   --> src/chunk.rs:55:17
[INFO] [stdout]    |
[INFO] [stdout] 55 |             let mut chunk = &chunk[CHUNK_START..];
[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: fields `id`, `object`, `created`, and `model` are never read
[INFO] [stdout]   --> src/chunk.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct ChatCompletionChunk {
[INFO] [stdout]    |            ------------------- fields in this struct
[INFO] [stdout] 14 |     id: String,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 15 |     object: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 16 |     created: i64,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 17 |     model: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ChatCompletionChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `index` and `finish_reason` are never read
[INFO] [stdout]   --> src/chunk.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct CompletionChoice {
[INFO] [stdout]    |        ---------------- fields in this struct
[INFO] [stdout] 24 |     delta: Delta,
[INFO] [stdout] 25 |     index: i64,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 26 |     finish_reason: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CompletionChoice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> examples/stream.rs:22:25
[INFO] [stdout]    |
[INFO] [stdout] 22 |             if let Some(content) = chunk.get_content() {
[INFO] [stdout]    |                         ^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]    = note: all local variables must have a statically known size
[INFO] [stdout]    = help: unsized locals are gated as an unstable feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> examples/stream.rs:22:20
[INFO] [stdout]    |
[INFO] [stdout] 22 |             if let Some(content) = chunk.get_content() {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by a bound in `Some`
[INFO] [stdout]   --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/option.rs:578:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TryStreamExt`
[INFO] [stdout]  --> examples/stream.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | use futures::{StreamExt, TryStreamExt};
[INFO] [stdout]   |                          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `aiochatgpt` (example "stream") due to 5 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "128a40b46c1bddec428ae2b95723b57544fd9ac2c05da250a808e708056c7c7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "128a40b46c1bddec428ae2b95723b57544fd9ac2c05da250a808e708056c7c7a", kill_on_drop: false }`
[INFO] [stdout] 128a40b46c1bddec428ae2b95723b57544fd9ac2c05da250a808e708056c7c7a
[INFO] testing aiochatgpt-0.1.1 against beta-2024-02-10 for beta-1.77-1
[INFO] extracting crate aiochatgpt 0.1.1 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate aiochatgpt 0.1.1 on toolchain beta-2024-02-10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate aiochatgpt 0.1.1
[INFO] finished tweaking crates.io crate aiochatgpt 0.1.1
[INFO] tweaked toml for crates.io crate aiochatgpt 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate crates.io crate aiochatgpt 0.1.1 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" "+beta-2024-02-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d7fbbb58e5601acb07d8ff5349c2b74e08d04243660296038d811d1fe88bcd90
[INFO] running `Command { std: "docker" "start" "-a" "d7fbbb58e5601acb07d8ff5349c2b74e08d04243660296038d811d1fe88bcd90", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d7fbbb58e5601acb07d8ff5349c2b74e08d04243660296038d811d1fe88bcd90", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d7fbbb58e5601acb07d8ff5349c2b74e08d04243660296038d811d1fe88bcd90", kill_on_drop: false }`
[INFO] [stdout] d7fbbb58e5601acb07d8ff5349c2b74e08d04243660296038d811d1fe88bcd90
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 695d1664195758bab6ad980e4175028c133b9db631abde1e25d81802b89dc332
[INFO] running `Command { std: "docker" "start" "-a" "695d1664195758bab6ad980e4175028c133b9db631abde1e25d81802b89dc332", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.142
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling once_cell v1.17.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling parking_lot_core v0.9.7
[INFO] [stderr]    Compiling smallvec v1.10.0
[INFO] [stderr]    Compiling slab v0.4.8
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling syn v2.0.15
[INFO] [stderr]    Compiling bytes v1.4.0
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling tokio v1.28.0
[INFO] [stderr]    Compiling serde_derive v1.0.160
[INFO] [stderr]    Compiling io-lifetimes v1.0.10
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling itoa v1.0.6
[INFO] [stderr]    Compiling rustix v0.37.18
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling serde v1.0.160
[INFO] [stderr]    Compiling futures-io v0.3.28
[INFO] [stderr]    Compiling crossbeam-utils v0.8.15
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling tracing-core v0.1.30
[INFO] [stderr]    Compiling memoffset v0.8.0
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling openssl v0.10.52
[INFO] [stderr]    Compiling linux-raw-sys v0.3.6
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling http v0.2.9
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.14
[INFO] [stderr]    Compiling cpufeatures v0.2.7
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling percent-encoding v2.2.0
[INFO] [stderr]    Compiling try-lock v0.2.4
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling form_urlencoded v1.1.0
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling aho-corasick v1.0.1
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling ryu v1.0.13
[INFO] [stderr]    Compiling unicode-bidi v0.3.13
[INFO] [stderr]    Compiling unicode-width v0.1.10
[INFO] [stderr]    Compiling serde_json v1.0.96
[INFO] [stderr]    Compiling base64ct v1.6.0
[INFO] [stderr]    Compiling either v1.8.1
[INFO] [stderr]    Compiling rayon-core v1.11.0
[INFO] [stderr]    Compiling regex-syntax v0.7.1
[INFO] [stderr]    Compiling anstyle-parse v0.2.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.8
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling paste v1.0.12
[INFO] [stderr]    Compiling anstyle-query v1.0.0
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]    Compiling time-core v0.1.0
[INFO] [stderr]    Compiling anstyle v1.0.0
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.3
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling time v0.3.20
[INFO] [stderr]    Compiling encoding_rs v0.8.32
[INFO] [stderr]    Compiling ipnet v2.7.2
[INFO] [stderr]    Compiling base64 v0.21.0
[INFO] [stderr]    Compiling flate2 v1.0.26
[INFO] [stderr]    Compiling number_prefix v0.4.0
[INFO] [stderr]    Compiling jobserver v0.1.26
[INFO] [stderr]    Compiling num_cpus v1.15.0
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling mio v0.8.6
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling socket2 v0.4.9
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling getrandom v0.2.9
[INFO] [stderr]    Compiling digest v0.10.6
[INFO] [stderr]    Compiling cipher v0.3.0
[INFO] [stderr]    Compiling console v0.15.5
[INFO] [stderr]    Compiling aes v0.7.5
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling regex v1.8.1
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling password-hash v0.4.2
[INFO] [stderr]    Compiling sha2 v0.10.6
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling sha1 v0.10.5
[INFO] [stderr]    Compiling filetime v0.2.21
[INFO] [stderr]    Compiling pbkdf2 v0.11.0
[INFO] [stderr]    Compiling xattr v0.2.3
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling clap_lex v0.4.1
[INFO] [stderr]    Compiling constant_time_eq v0.1.5
[INFO] [stderr]    Compiling tar v0.4.38
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling openssl-sys v0.9.87
[INFO] [stderr]    Compiling zstd-sys v2.0.8+zstd.1.5.5
[INFO] [stderr]    Compiling bzip2-sys v0.1.11+1.0.8
[INFO] [stderr]    Compiling onig_sys v69.8.1
[INFO] [stderr]    Compiling esaxx-rs v0.1.8
[INFO] [stderr]    Compiling is-terminal v0.4.7
[INFO] [stderr]    Compiling anstream v0.3.1
[INFO] [stderr]    Compiling tempfile v3.5.0
[INFO] [stderr]    Compiling rayon v1.7.0
[INFO] [stderr]    Compiling clap_builder v4.2.5
[INFO] [stderr]    Compiling indicatif v0.16.2
[INFO] [stderr]    Compiling itertools v0.8.2
[INFO] [stderr]    Compiling macro_rules_attribute-proc_macro v0.1.3
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling number_prefix v0.3.0
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]    Compiling indicatif v0.15.0
[INFO] [stderr]    Compiling dirs v4.0.0
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]    Compiling aho-corasick v0.7.20
[INFO] [stderr]    Compiling unicode-normalization-alignments v0.1.12
[INFO] [stderr]    Compiling macro_rules_attribute v0.1.3
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling darling_core v0.14.4
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling futures-macro v0.3.28
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling monostate-impl v0.1.6
[INFO] [stderr]    Compiling clap_derive v4.2.0
[INFO] [stderr]    Compiling rayon-cond v0.1.0
[INFO] [stderr]    Compiling bzip2 v0.4.4
[INFO] [stderr]    Compiling darling_macro v0.14.4
[INFO] [stderr]    Compiling darling v0.14.4
[INFO] [stderr]    Compiling derive_builder_core v0.12.0
[INFO] [stderr]    Compiling clap v4.2.5
[INFO] [stderr]    Compiling onig v6.4.0
[INFO] [stderr]    Compiling derive_builder_macro v0.12.0
[INFO] [stderr]    Compiling derive_builder v0.12.0
[INFO] [stderr]    Compiling futures-executor v0.3.28
[INFO] [stderr]    Compiling futures v0.3.28
[INFO] [stderr]    Compiling tokio-util v0.7.8
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling spm_precompiled v0.1.4
[INFO] [stderr]    Compiling monostate v0.1.6
[INFO] [stderr]    Compiling zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]    Compiling h2 v0.3.18
[INFO] [stderr]    Compiling zip v0.6.4
[INFO] [stderr]    Compiling hyper v0.14.26
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.17
[INFO] [stderr]    Compiling cached-path v0.6.1
[INFO] [stderr]    Compiling tokenizers v0.13.3
[INFO] [stderr]    Compiling aiochatgpt v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/client.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::Map`
[INFO] [stdout]  --> src/client.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::iter::Map;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/client.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/chunk.rs:55:17
[INFO] [stdout]    |
[INFO] [stdout] 55 |             let mut chunk = &chunk[CHUNK_START..];
[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: fields `id`, `object`, `created`, and `model` are never read
[INFO] [stdout]   --> src/chunk.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct ChatCompletionChunk {
[INFO] [stdout]    |            ------------------- fields in this struct
[INFO] [stdout] 14 |     id: String,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 15 |     object: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 16 |     created: i64,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 17 |     model: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ChatCompletionChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `index` and `finish_reason` are never read
[INFO] [stdout]   --> src/chunk.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct CompletionChoice {
[INFO] [stdout]    |        ---------------- fields in this struct
[INFO] [stdout] 24 |     delta: Delta,
[INFO] [stdout] 25 |     index: i64,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 26 |     finish_reason: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CompletionChoice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 55.62s
[INFO] running `Command { std: "docker" "inspect" "695d1664195758bab6ad980e4175028c133b9db631abde1e25d81802b89dc332", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "695d1664195758bab6ad980e4175028c133b9db631abde1e25d81802b89dc332", kill_on_drop: false }`
[INFO] [stdout] 695d1664195758bab6ad980e4175028c133b9db631abde1e25d81802b89dc332
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bd55607403306303ee87e5c3506ff340bbf7ef40f94ff3dea0347379a2374184
[INFO] running `Command { std: "docker" "start" "-a" "bd55607403306303ee87e5c3506ff340bbf7ef40f94ff3dea0347379a2374184", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/client.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::Map`
[INFO] [stdout]  --> src/client.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::iter::Map;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/client.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/chunk.rs:55:17
[INFO] [stdout]    |
[INFO] [stdout] 55 |             let mut chunk = &chunk[CHUNK_START..];
[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: fields `id`, `object`, `created`, and `model` are never read
[INFO] [stdout]   --> src/chunk.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct ChatCompletionChunk {
[INFO] [stdout]    |            ------------------- fields in this struct
[INFO] [stdout] 14 |     id: String,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 15 |     object: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 16 |     created: i64,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 17 |     model: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ChatCompletionChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `index` and `finish_reason` are never read
[INFO] [stdout]   --> src/chunk.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct CompletionChoice {
[INFO] [stdout]    |        ---------------- fields in this struct
[INFO] [stdout] 24 |     delta: Delta,
[INFO] [stdout] 25 |     index: i64,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 26 |     finish_reason: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CompletionChoice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling aiochatgpt v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/client.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::Map`
[INFO] [stdout]  --> src/client.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::iter::Map;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/client.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `chatgpt`
[INFO] [stdout]  --> examples/stream.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chatgpt::OpenAIRequest;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared crate or module `chatgpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chatgpt`
[INFO] [stdout]   --> examples/stream.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let client = chatgpt::OpenAIClient::new(OPENAI_API_KEY);
[INFO] [stdout]    |                  ^^^^^^^ use of undeclared crate or module `chatgpt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use aiochatgpt::OpenAIClient;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `OpenAIClient`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 13 -     let client = chatgpt::OpenAIClient::new(OPENAI_API_KEY);
[INFO] [stdout] 13 +     let client = OpenAIClient::new(OPENAI_API_KEY);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StreamExt`
[INFO] [stdout]  --> examples/stream.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use futures::{StreamExt, TryStreamExt};
[INFO] [stdout]   |               ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> examples/stream.rs:22:25
[INFO] [stdout]    |
[INFO] [stdout] 22 |             if let Some(content) = chunk.get_content() {
[INFO] [stdout]    |                         ^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]    = note: all local variables must have a statically known size
[INFO] [stdout]    = help: unsized locals are gated as an unstable feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> examples/stream.rs:22:20
[INFO] [stdout]    |
[INFO] [stdout] 22 |             if let Some(content) = chunk.get_content() {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by a bound in `Some`
[INFO] [stdout]   --> /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/option.rs:578:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/chunk.rs:55:17
[INFO] [stdout]    |
[INFO] [stdout] 55 |             let mut chunk = &chunk[CHUNK_START..];
[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: unused import: `TryStreamExt`
[INFO] [stdout]  --> examples/stream.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | use futures::{StreamExt, TryStreamExt};
[INFO] [stdout]   |                          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `object`, `created`, and `model` are never read
[INFO] [stdout]   --> src/chunk.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct ChatCompletionChunk {
[INFO] [stdout]    |            ------------------- fields in this struct
[INFO] [stdout] 14 |     id: String,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 15 |     object: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 16 |     created: i64,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 17 |     model: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ChatCompletionChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `index` and `finish_reason` are never read
[INFO] [stdout]   --> src/chunk.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct CompletionChoice {
[INFO] [stdout]    |        ---------------- fields in this struct
[INFO] [stdout] 24 |     delta: Delta,
[INFO] [stdout] 25 |     index: i64,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 26 |     finish_reason: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CompletionChoice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `aiochatgpt` (example "stream") due to 5 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "bd55607403306303ee87e5c3506ff340bbf7ef40f94ff3dea0347379a2374184", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bd55607403306303ee87e5c3506ff340bbf7ef40f94ff3dea0347379a2374184", kill_on_drop: false }`
[INFO] [stdout] bd55607403306303ee87e5c3506ff340bbf7ef40f94ff3dea0347379a2374184
