[INFO] fetching crate chatgpt_rs 1.2.3...
[INFO] checking chatgpt_rs-1.2.3 against master#b0696a5160711c068cb1f01b7437db7990d15750 for pr-121848
[INFO] extracting crate chatgpt_rs 1.2.3 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate chatgpt_rs 1.2.3 on toolchain b0696a5160711c068cb1f01b7437db7990d15750
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate chatgpt_rs 1.2.3
[INFO] finished tweaking crates.io crate chatgpt_rs 1.2.3
[INFO] tweaked toml for crates.io crate chatgpt_rs 1.2.3 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] crate crates.io crate chatgpt_rs 1.2.3 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" "+b0696a5160711c068cb1f01b7437db7990d15750" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num-traits v0.2.16
[INFO] [stderr]   Downloaded eventsource-stream v0.2.3
[INFO] [stderr]   Downloaded gpt_fn_macros v1.0.0
[INFO] [stderr]   Downloaded derive_builder_macro v0.12.0
[INFO] [stderr]   Downloaded postcard v1.0.7
[INFO] [stderr]   Downloaded atomic-polyfill v0.1.11
[INFO] [stderr]   Downloaded thiserror-impl v1.0.48
[INFO] [stderr]   Downloaded thiserror v1.0.48
[INFO] [stderr]   Downloaded schemars_derive v0.8.13
[INFO] [stderr]   Downloaded schemars v0.8.13
[INFO] [stderr]   Downloaded chrono v0.4.30
[INFO] [stderr]   Downloaded derive_builder_core v0.12.0
[INFO] [stderr]   Downloaded uuid v1.4.1
[INFO] [stderr]   Downloaded tokio v1.32.0
[INFO] [stderr]   Downloaded socket2 v0.5.4
[INFO] [stderr]   Downloaded derive_builder v0.12.0
[INFO] [stderr]   Downloaded heapless v0.7.16
[INFO] [stderr]   Downloaded dyn-clone v1.0.13
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5188e3132b3025a01a14b7ba655bf3880139d96197cae9793cef3fd1ab403142
[INFO] running `Command { std: "docker" "start" "-a" "5188e3132b3025a01a14b7ba655bf3880139d96197cae9793cef3fd1ab403142", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5188e3132b3025a01a14b7ba655bf3880139d96197cae9793cef3fd1ab403142", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5188e3132b3025a01a14b7ba655bf3880139d96197cae9793cef3fd1ab403142", kill_on_drop: false }`
[INFO] [stdout] 5188e3132b3025a01a14b7ba655bf3880139d96197cae9793cef3fd1ab403142
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5f027c019a56a68fd7511d435609d0e12f66bfb7997f8585a58f05c578d137ef
[INFO] running `Command { std: "docker" "start" "-a" "5f027c019a56a68fd7511d435609d0e12f66bfb7997f8585a58f05c578d137ef", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.67
[INFO] [stderr]    Compiling libc v0.2.148
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]     Checking tracing-core v0.1.31
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]     Checking http v0.2.9
[INFO] [stderr]    Compiling rustls v0.21.7
[INFO] [stderr]     Checking futures-sink v0.3.28
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]     Checking try-lock v0.2.4
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]     Checking percent-encoding v2.3.0
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]     Checking form_urlencoded v1.2.0
[INFO] [stderr]     Checking unicode-bidi v0.3.13
[INFO] [stderr]    Compiling serde_json v1.0.107
[INFO] [stderr]    Compiling syn v2.0.33
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking socket2 v0.5.4
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]     Checking socket2 v0.4.9
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking idna v0.4.0
[INFO] [stderr]     Checking base64 v0.21.4
[INFO] [stderr]    Compiling thiserror v1.0.48
[INFO] [stderr]     Checking ipnet v2.8.0
[INFO] [stderr]     Checking webpki-roots v0.25.2
[INFO] [stderr]     Checking rustls-pemfile v1.0.3
[INFO] [stderr]    Compiling ring v0.16.20
[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 serde_derive v1.0.188
[INFO] [stderr]    Compiling thiserror-impl v1.0.48
[INFO] [stderr]     Checking sct v0.7.0
[INFO] [stderr]     Checking tokio v1.32.0
[INFO] [stderr]     Checking rustls-webpki v0.101.5
[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 derive_builder_macro v0.12.0
[INFO] [stderr]     Checking derive_builder v0.12.0
[INFO] [stderr]     Checking tokio-util v0.7.8
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking h2 v0.3.21
[INFO] [stderr]     Checking url v2.4.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking hyper v0.14.27
[INFO] [stderr]     Checking hyper-rustls v0.24.1
[INFO] [stderr]     Checking reqwest v0.11.20
[INFO] [stderr]     Checking chatgpt_rs v1.2.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `reqwest` is imported redundantly
[INFO] [stdout]  --> src/client.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use reqwest::{self, Proxy};
[INFO] [stdout]   |               ^^^^ the item `reqwest` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `futures`
[INFO] [stdout]   --> src/chatgpt.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     use futures::StreamExt;
[INFO] [stdout]    |         ^^^^^^^ use of undeclared crate or module `futures`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::types::ResponseChunk`
[INFO] [stdout]    --> src/chatgpt.rs:30:62
[INFO] [stdout]     |
[INFO] [stdout] 30  |     use crate::{client::ChatGPT, config::ModelConfiguration, types::ResponseChunk};
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^^^^^^^^ no `ResponseChunk` in `types`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/types.rs:181:10
[INFO] [stdout]     |
[INFO] [stdout] 181 | pub enum ResponseChunk {
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout]     = note: the item is gated behind the `streams` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `reqwest` is imported redundantly
[INFO] [stdout]  --> src/client.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use reqwest::{self, Proxy};
[INFO] [stdout]   |               ^^^^ the item `reqwest` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `futures_util`
[INFO] [stdout]  --> examples/streamed.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use futures_util::StreamExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `futures_util`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `futures_util`
[INFO] [stdout]  --> examples/streamed_conversation.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use futures_util::StreamExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `futures_util`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `gpt_function` in this scope
[INFO] [stdout]   --> examples/function_calls.rs:27:3
[INFO] [stdout]    |
[INFO] [stdout] 27 | #[gpt_function]
[INFO] [stdout]    |   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `send_message_streaming` found for struct `ChatGPT` in the current scope
[INFO] [stdout]    --> src/chatgpt.rs:115:14
[INFO] [stdout]     |
[INFO] [stdout] 114 |           let response = client
[INFO] [stdout]     |  ________________________-
[INFO] [stdout] 115 | |             .send_message_streaming("Could you give me names of three popular Rust web frameworks?")
[INFO] [stdout]     | |_____________-^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/client.rs:26:1
[INFO] [stdout]     |
[INFO] [stdout] 26  |   pub struct ChatGPT {
[INFO] [stdout]     |   ------------------ method `send_message_streaming` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `send_message` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 115 |             .send_message("Could you give me names of three popular Rust web frameworks?")
[INFO] [stdout]     |              ~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ResponseChunk` in this scope
[INFO] [stdout]   --> examples/streamed_conversation.rs:23:25
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut output: Vec<ResponseChunk> = Vec::new();
[INFO] [stdout]    |                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `send_message_streaming` found for struct `Conversation` in the current scope
[INFO] [stdout]   --> examples/streamed_conversation.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 18 |       let mut stream = conversation
[INFO] [stdout]    |  ______________________-
[INFO] [stdout] 19 | |         .send_message_streaming("Could you name me a few popular Rust backend server frameworks?")
[INFO] [stdout]    | |_________-^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `send_message` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 19 |         .send_message("Could you name me a few popular Rust backend server frameworks?")
[INFO] [stdout]    |          ~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_response_chunks` found for struct `chatgpt::prelude::ChatMessage` in the current scope
[INFO] [stdout]   --> examples/streamed_conversation.rs:45:33
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let messages = ChatMessage::from_response_chunks(output);
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `ChatMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `function_validation` found for struct `chatgpt::config::ModelConfigurationBuilder` in the current scope
[INFO] [stdout]   --> examples/function_calls.rs:46:14
[INFO] [stdout]    |
[INFO] [stdout] 45 | /         ModelConfigurationBuilder::default()
[INFO] [stdout] 46 | |             .function_validation(FunctionValidationStrategy::Strict)
[INFO] [stdout]    | |             -^^^^^^^^^^^^^^^^^^^ method not found in `ModelConfigurationBuilder`
[INFO] [stdout]    | |_____________|
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionValidationStrategy`
[INFO] [stdout]   --> examples/function_calls.rs:46:34
[INFO] [stdout]    |
[INFO] [stdout] 46 |             .function_validation(FunctionValidationStrategy::Strict)
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `FunctionValidationStrategy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `save_history_postcard` found for struct `Conversation` in the current scope
[INFO] [stdout]   --> examples/bin_persistence.rs:25:10
[INFO] [stdout]    |
[INFO] [stdout] 24 | /     conversation
[INFO] [stdout] 25 | |         .save_history_postcard("example_conversation.bin")
[INFO] [stdout]    | |_________-^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `save_history_json` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 25 |         .save_history_json("example_conversation.bin")
[INFO] [stdout]    |          ~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `send_message_streaming` found for struct `Conversation` in the current scope
[INFO] [stdout]    --> src/chatgpt.rs:130:14
[INFO] [stdout]     |
[INFO] [stdout] 129 |           let streamed = conv
[INFO] [stdout]     |  ________________________-
[INFO] [stdout] 130 | |             .send_message_streaming("Now could you do the same but for Kotlin?")
[INFO] [stdout]     | |_____________-^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/converse.rs:23:1
[INFO] [stdout]     |
[INFO] [stdout] 23  |   pub struct Conversation {
[INFO] [stdout]     |   ----------------------- method `send_message_streaming` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `send_message` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 130 |             .send_message("Now could you do the same but for Kotlin?")
[INFO] [stdout]     |              ~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `send_message_streaming` found for struct `chatgpt::client::ChatGPT` in the current scope
[INFO] [stdout]   --> examples/streamed.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 17 |       let stream = client
[INFO] [stdout]    |  __________________-
[INFO] [stdout] 18 | |         .send_message_streaming("Could you name me a few popular Rust backend server frameworks?")
[INFO] [stdout]    | |_________-^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `send_message` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 18 |         .send_message("Could you name me a few popular Rust backend server frameworks?")
[INFO] [stdout]    |          ~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `send_message_streaming` found for struct `Conversation` in the current scope
[INFO] [stdout]   --> examples/streamed_conversation.rs:50:10
[INFO] [stdout]    |
[INFO] [stdout] 49 |       let another_stream = conversation
[INFO] [stdout]    |  __________________________-
[INFO] [stdout] 50 | |         .send_message_streaming("Now what about Kotlin?")
[INFO] [stdout]    | |_________-^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `send_message` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 50 |         .send_message("Now what about Kotlin?")
[INFO] [stdout]    |          ~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResponseChunk`
[INFO] [stdout]   --> examples/streamed.rs:24:20
[INFO] [stdout]    |
[INFO] [stdout] 24 |             if let ResponseChunk::Content {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^ use of undeclared type `ResponseChunk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResponseChunk`
[INFO] [stdout]   --> examples/streamed_conversation.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             ResponseChunk::Content {
[INFO] [stdout]    |             ^^^^^^^^^^^^^ use of undeclared type `ResponseChunk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResponseChunk`
[INFO] [stdout]   --> examples/streamed_conversation.rs:34:29
[INFO] [stdout]    |
[INFO] [stdout] 34 |                 output.push(ResponseChunk::Content {
[INFO] [stdout]    |                             ^^^^^^^^^^^^^ use of undeclared type `ResponseChunk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResponseChunk`
[INFO] [stdout]   --> examples/streamed_conversation.rs:55:17
[INFO] [stdout]    |
[INFO] [stdout] 55 |                 ResponseChunk::Content {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^ use of undeclared type `ResponseChunk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chatgpt_rs` (example "streamed") due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `chatgpt_rs` (example "streamed_conversation") due to 9 previous errors
[INFO] [stdout] error[E0599]: no method named `add_function` found for struct `Conversation` in the current scope
[INFO] [stdout]   --> examples/function_calls.rs:53:10
[INFO] [stdout]    |
[INFO] [stdout] 53 |     conv.add_function(send_message())?;
[INFO] [stdout]    |          ^^^^^^^^^^^^ method not found in `Conversation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 0 arguments were supplied
[INFO] [stdout]   --> examples/function_calls.rs:53:23
[INFO] [stdout]    |
[INFO] [stdout] 53 |     conv.add_function(send_message())?;
[INFO] [stdout]    |                       ^^^^^^^^^^^^-- two arguments of type `std::string::String` and `std::string::String` are missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> examples/function_calls.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 | async fn send_message(user: String, message: String) -> FunctionResult {
[INFO] [stdout]    |          ^^^^^^^^^^^^ ------------  ---------------
[INFO] [stdout] help: provide the arguments
[INFO] [stdout]    |
[INFO] [stdout] 53 |     conv.add_function(send_message(/* std::string::String */, /* std::string::String */))?;
[INFO] [stdout]    |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chatgpt_rs` (lib test) due to 5 previous errors; 1 warning emitted
[INFO] [stdout] error[E0599]: no method named `restore_conversation_postcard` found for struct `chatgpt::client::ChatGPT` in the current scope
[INFO] [stdout]   --> examples/bin_persistence.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 29 |       let mut new = client
[INFO] [stdout]    |  ___________________-
[INFO] [stdout] 30 | |         .restore_conversation_postcard("example_conversation.bin")
[INFO] [stdout]    | |_________-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `restore_conversation_json` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 30 |         .restore_conversation_json("example_conversation.bin")
[INFO] [stdout]    |          ~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chatgpt_rs` (example "bin_persistence") due to 3 previous errors
[INFO] [stdout] error[E0599]: no method named `send_message_functions` found for struct `Conversation` in the current scope
[INFO] [stdout]   --> examples/function_calls.rs:57:10
[INFO] [stdout]    |
[INFO] [stdout] 56 |       let response = conv
[INFO] [stdout]    |  ____________________-
[INFO] [stdout] 57 | |         .send_message_functions("Could you please send a test message to user `maxus`?")
[INFO] [stdout]    | |_________-^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `send_message` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 57 |         .send_message("Could you please send a test message to user `maxus`?")
[INFO] [stdout]    |          ~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chatgpt_rs` (example "function_calls") due to 7 previous errors
[INFO] running `Command { std: "docker" "inspect" "5f027c019a56a68fd7511d435609d0e12f66bfb7997f8585a58f05c578d137ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5f027c019a56a68fd7511d435609d0e12f66bfb7997f8585a58f05c578d137ef", kill_on_drop: false }`
[INFO] [stdout] 5f027c019a56a68fd7511d435609d0e12f66bfb7997f8585a58f05c578d137ef
[INFO] checking chatgpt_rs-1.2.3 against try#bfe97fcae016881ad333f0ff8cea2cadb9cf136c for pr-121848
[INFO] extracting crate chatgpt_rs 1.2.3 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate chatgpt_rs 1.2.3 on toolchain bfe97fcae016881ad333f0ff8cea2cadb9cf136c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate chatgpt_rs 1.2.3
[INFO] finished tweaking crates.io crate chatgpt_rs 1.2.3
[INFO] tweaked toml for crates.io crate chatgpt_rs 1.2.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate crates.io crate chatgpt_rs 1.2.3 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" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e9dde3f29004ba153e9a44b585fcb415813ccabf15cc37a04e4f894aed192adf
[INFO] running `Command { std: "docker" "start" "-a" "e9dde3f29004ba153e9a44b585fcb415813ccabf15cc37a04e4f894aed192adf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e9dde3f29004ba153e9a44b585fcb415813ccabf15cc37a04e4f894aed192adf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9dde3f29004ba153e9a44b585fcb415813ccabf15cc37a04e4f894aed192adf", kill_on_drop: false }`
[INFO] [stdout] e9dde3f29004ba153e9a44b585fcb415813ccabf15cc37a04e4f894aed192adf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ee64b90c600107e62cc05b96137fce1d2cdfd8ce67c2ef4ff0430f0b8d28aa9a
[INFO] running `Command { std: "docker" "start" "-a" "ee64b90c600107e62cc05b96137fce1d2cdfd8ce67c2ef4ff0430f0b8d28aa9a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.67
[INFO] [stderr]    Compiling libc v0.2.148
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]     Checking tracing-core v0.1.31
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]     Checking http v0.2.9
[INFO] [stderr]    Compiling rustls v0.21.7
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]     Checking futures-sink v0.3.28
[INFO] [stderr]     Checking try-lock v0.2.4
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]     Checking percent-encoding v2.3.0
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking form_urlencoded v1.2.0
[INFO] [stderr]    Compiling syn v2.0.33
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking socket2 v0.5.4
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking socket2 v0.4.9
[INFO] [stderr]    Compiling serde_json v1.0.107
[INFO] [stderr]     Checking unicode-bidi v0.3.13
[INFO] [stderr]    Compiling thiserror v1.0.48
[INFO] [stderr]     Checking base64 v0.21.4
[INFO] [stderr]     Checking webpki-roots v0.25.2
[INFO] [stderr]     Checking ipnet v2.8.0
[INFO] [stderr]     Checking idna v0.4.0
[INFO] [stderr]     Checking rustls-pemfile v1.0.3
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.188
[INFO] [stderr]    Compiling futures-macro v0.3.28
[INFO] [stderr]    Compiling thiserror-impl v1.0.48
[INFO] [stderr]    Compiling darling_core v0.14.4
[INFO] [stderr]     Checking sct v0.7.0
[INFO] [stderr]     Checking rustls-webpki v0.101.5
[INFO] [stderr]     Checking tokio v1.32.0
[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 derive_builder_macro v0.12.0
[INFO] [stderr]     Checking tokio-util v0.7.8
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking derive_builder v0.12.0
[INFO] [stderr]     Checking h2 v0.3.21
[INFO] [stderr]     Checking url v2.4.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking hyper v0.14.27
[INFO] [stderr]     Checking hyper-rustls v0.24.1
[INFO] [stderr]     Checking reqwest v0.11.20
[INFO] [stderr]     Checking chatgpt_rs v1.2.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `reqwest` is imported redundantly
[INFO] [stdout]  --> src/client.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use reqwest::{self, Proxy};
[INFO] [stdout]   |               ^^^^ the item `reqwest` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `futures`
[INFO] [stdout]   --> src/chatgpt.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     use futures::StreamExt;
[INFO] [stdout]    |         ^^^^^^^ use of undeclared crate or module `futures`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::types::ResponseChunk`
[INFO] [stdout]    --> src/chatgpt.rs:30:62
[INFO] [stdout]     |
[INFO] [stdout] 30  |     use crate::{client::ChatGPT, config::ModelConfiguration, types::ResponseChunk};
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^^^^^^^^ no `ResponseChunk` in `types`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/types.rs:181:10
[INFO] [stdout]     |
[INFO] [stdout] 181 | pub enum ResponseChunk {
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout]     = note: the item is gated behind the `streams` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `reqwest` is imported redundantly
[INFO] [stdout]  --> src/client.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use reqwest::{self, Proxy};
[INFO] [stdout]   |               ^^^^ the item `reqwest` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `futures_util`
[INFO] [stdout]  --> examples/streamed.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use futures_util::StreamExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `futures_util`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `futures_util`
[INFO] [stdout]  --> examples/streamed_conversation.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use futures_util::StreamExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `futures_util`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `gpt_function` in this scope
[INFO] [stdout]   --> examples/function_calls.rs:27:3
[INFO] [stdout]    |
[INFO] [stdout] 27 | #[gpt_function]
[INFO] [stdout]    |   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ResponseChunk` in this scope
[INFO] [stdout]   --> examples/streamed_conversation.rs:23:25
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut output: Vec<ResponseChunk> = Vec::new();
[INFO] [stdout]    |                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `send_message_streaming` found for struct `ChatGPT` in the current scope
[INFO] [stdout]    --> src/chatgpt.rs:115:14
[INFO] [stdout]     |
[INFO] [stdout] 114 |           let response = client
[INFO] [stdout]     |  ________________________-
[INFO] [stdout] 115 | |             .send_message_streaming("Could you give me names of three popular Rust web frameworks?")
[INFO] [stdout]     | |_____________-^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/client.rs:26:1
[INFO] [stdout]     |
[INFO] [stdout] 26  |   pub struct ChatGPT {
[INFO] [stdout]     |   ------------------ method `send_message_streaming` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `send_message` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 115 |             .send_message("Could you give me names of three popular Rust web frameworks?")
[INFO] [stdout]     |              ~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `save_history_postcard` found for struct `Conversation` in the current scope
[INFO] [stdout]   --> examples/bin_persistence.rs:25:10
[INFO] [stdout]    |
[INFO] [stdout] 24 | /     conversation
[INFO] [stdout] 25 | |         .save_history_postcard("example_conversation.bin")
[INFO] [stdout]    | |_________-^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `save_history_json` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 25 |         .save_history_json("example_conversation.bin")
[INFO] [stdout]    |          ~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `function_validation` found for struct `chatgpt::config::ModelConfigurationBuilder` in the current scope
[INFO] [stdout]   --> examples/function_calls.rs:46:14
[INFO] [stdout]    |
[INFO] [stdout] 45 | /         ModelConfigurationBuilder::default()
[INFO] [stdout] 46 | |             .function_validation(FunctionValidationStrategy::Strict)
[INFO] [stdout]    | |             -^^^^^^^^^^^^^^^^^^^ method not found in `ModelConfigurationBuilder`
[INFO] [stdout]    | |_____________|
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionValidationStrategy`
[INFO] [stdout]   --> examples/function_calls.rs:46:34
[INFO] [stdout]    |
[INFO] [stdout] 46 |             .function_validation(FunctionValidationStrategy::Strict)
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `FunctionValidationStrategy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `send_message_streaming` found for struct `Conversation` in the current scope
[INFO] [stdout]   --> examples/streamed_conversation.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 18 |       let mut stream = conversation
[INFO] [stdout]    |  ______________________-
[INFO] [stdout] 19 | |         .send_message_streaming("Could you name me a few popular Rust backend server frameworks?")
[INFO] [stdout]    | |_________-^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `send_message` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 19 |         .send_message("Could you name me a few popular Rust backend server frameworks?")
[INFO] [stdout]    |          ~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_response_chunks` found for struct `chatgpt::prelude::ChatMessage` in the current scope
[INFO] [stdout]   --> examples/streamed_conversation.rs:45:33
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let messages = ChatMessage::from_response_chunks(output);
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `ChatMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `send_message_streaming` found for struct `chatgpt::client::ChatGPT` in the current scope
[INFO] [stdout]   --> examples/streamed.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 17 |       let stream = client
[INFO] [stdout]    |  __________________-
[INFO] [stdout] 18 | |         .send_message_streaming("Could you name me a few popular Rust backend server frameworks?")
[INFO] [stdout]    | |_________-^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `send_message` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 18 |         .send_message("Could you name me a few popular Rust backend server frameworks?")
[INFO] [stdout]    |          ~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResponseChunk`
[INFO] [stdout]   --> examples/streamed.rs:24:20
[INFO] [stdout]    |
[INFO] [stdout] 24 |             if let ResponseChunk::Content {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^ use of undeclared type `ResponseChunk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chatgpt_rs` (example "streamed") due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `add_function` found for struct `Conversation` in the current scope
[INFO] [stdout]   --> examples/function_calls.rs:53:10
[INFO] [stdout]    |
[INFO] [stdout] 53 |     conv.add_function(send_message())?;
[INFO] [stdout]    |          ^^^^^^^^^^^^ method not found in `Conversation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 0 arguments were supplied
[INFO] [stdout]   --> examples/function_calls.rs:53:23
[INFO] [stdout]    |
[INFO] [stdout] 53 |     conv.add_function(send_message())?;
[INFO] [stdout]    |                       ^^^^^^^^^^^^-- two arguments of type `std::string::String` and `std::string::String` are missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> examples/function_calls.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 | async fn send_message(user: String, message: String) -> FunctionResult {
[INFO] [stdout]    |          ^^^^^^^^^^^^ ------------  ---------------
[INFO] [stdout] help: provide the arguments
[INFO] [stdout]    |
[INFO] [stdout] 53 |     conv.add_function(send_message(/* std::string::String */, /* std::string::String */))?;
[INFO] [stdout]    |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `send_message_streaming` found for struct `Conversation` in the current scope
[INFO] [stdout]   --> examples/streamed_conversation.rs:50:10
[INFO] [stdout]    |
[INFO] [stdout] 49 |       let another_stream = conversation
[INFO] [stdout]    |  __________________________-
[INFO] [stdout] 50 | |         .send_message_streaming("Now what about Kotlin?")
[INFO] [stdout]    | |_________-^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `send_message` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 50 |         .send_message("Now what about Kotlin?")
[INFO] [stdout]    |          ~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `send_message_streaming` found for struct `Conversation` in the current scope
[INFO] [stdout]    --> src/chatgpt.rs:130:14
[INFO] [stdout]     |
[INFO] [stdout] 129 |           let streamed = conv
[INFO] [stdout]     |  ________________________-
[INFO] [stdout] 130 | |             .send_message_streaming("Now could you do the same but for Kotlin?")
[INFO] [stdout]     | |_____________-^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/converse.rs:23:1
[INFO] [stdout]     |
[INFO] [stdout] 23  |   pub struct Conversation {
[INFO] [stdout]     |   ----------------------- method `send_message_streaming` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `send_message` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 130 |             .send_message("Now could you do the same but for Kotlin?")
[INFO] [stdout]     |              ~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResponseChunk`
[INFO] [stdout]   --> examples/streamed_conversation.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             ResponseChunk::Content {
[INFO] [stdout]    |             ^^^^^^^^^^^^^ use of undeclared type `ResponseChunk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResponseChunk`
[INFO] [stdout]   --> examples/streamed_conversation.rs:34:29
[INFO] [stdout]    |
[INFO] [stdout] 34 |                 output.push(ResponseChunk::Content {
[INFO] [stdout]    |                             ^^^^^^^^^^^^^ use of undeclared type `ResponseChunk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResponseChunk`
[INFO] [stdout]   --> examples/streamed_conversation.rs:55:17
[INFO] [stdout]    |
[INFO] [stdout] 55 |                 ResponseChunk::Content {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^ use of undeclared type `ResponseChunk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chatgpt_rs` (example "streamed_conversation") due to 9 previous errors
[INFO] [stdout] error[E0599]: no method named `send_message_functions` found for struct `Conversation` in the current scope
[INFO] [stdout]   --> examples/function_calls.rs:57:10
[INFO] [stdout]    |
[INFO] [stdout] 56 |       let response = conv
[INFO] [stdout]    |  ____________________-
[INFO] [stdout] 57 | |         .send_message_functions("Could you please send a test message to user `maxus`?")
[INFO] [stdout]    | |_________-^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `send_message` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 57 |         .send_message("Could you please send a test message to user `maxus`?")
[INFO] [stdout]    |          ~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `restore_conversation_postcard` found for struct `chatgpt::client::ChatGPT` in the current scope
[INFO] [stdout]   --> examples/bin_persistence.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 29 |       let mut new = client
[INFO] [stdout]    |  ___________________-
[INFO] [stdout] 30 | |         .restore_conversation_postcard("example_conversation.bin")
[INFO] [stdout]    | |_________-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `restore_conversation_json` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 30 |         .restore_conversation_json("example_conversation.bin")
[INFO] [stdout]    |          ~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chatgpt_rs` (example "function_calls") due to 7 previous errors
[INFO] [stderr] error: could not compile `chatgpt_rs` (example "bin_persistence") due to 3 previous errors
[INFO] [stderr] error: could not compile `chatgpt_rs` (lib test) due to 5 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "ee64b90c600107e62cc05b96137fce1d2cdfd8ce67c2ef4ff0430f0b8d28aa9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee64b90c600107e62cc05b96137fce1d2cdfd8ce67c2ef4ff0430f0b8d28aa9a", kill_on_drop: false }`
[INFO] [stdout] ee64b90c600107e62cc05b96137fce1d2cdfd8ce67c2ef4ff0430f0b8d28aa9a
