[INFO] fetching crate chatgpt_rs 1.2.3...
[INFO] checking chatgpt_rs-1.2.3 against nightly-2024-02-05 for check-cfg
[INFO] extracting crate chatgpt_rs 1.2.3 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate chatgpt_rs 1.2.3 on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "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-7-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" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded gpt_fn_macros v1.0.0
[INFO] [stderr]   Downloaded heapless v0.7.16
[INFO] [stderr]   Downloaded schemars v0.8.13
[INFO] [stderr]   Downloaded atomic-polyfill v0.1.11
[INFO] [stderr]   Downloaded postcard v1.0.7
[INFO] [stderr]   Downloaded rustls-webpki v0.101.5
[INFO] [stderr]   Downloaded syn v2.0.33
[INFO] [stderr]   Downloaded eventsource-stream v0.2.3
[INFO] [stderr]   Downloaded cobs v0.2.3
[INFO] [stderr]   Downloaded proc-macro2 v1.0.67
[INFO] [stderr]   Downloaded schemars_derive v0.8.13
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5d3785ff00404567b275e09f7cd1016e32c4e39fcd5329a5de701a59ae83cecb
[INFO] running `Command { std: "docker" "start" "-a" "5d3785ff00404567b275e09f7cd1016e32c4e39fcd5329a5de701a59ae83cecb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5d3785ff00404567b275e09f7cd1016e32c4e39fcd5329a5de701a59ae83cecb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5d3785ff00404567b275e09f7cd1016e32c4e39fcd5329a5de701a59ae83cecb", kill_on_drop: false }`
[INFO] [stdout] 5d3785ff00404567b275e09f7cd1016e32c4e39fcd5329a5de701a59ae83cecb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 16bdad432d715ebf4188c0e06c60dfdf6ff66d77bc2232245c112c32d3607a23
[INFO] running `Command { std: "docker" "start" "-a" "16bdad432d715ebf4188c0e06c60dfdf6ff66d77bc2232245c112c32d3607a23", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.67
[INFO] [stderr]    Compiling libc v0.2.148
[INFO] [stderr]     Checking http v0.2.9
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]    Compiling rustls v0.21.7
[INFO] [stderr]     Checking indexmap v1.9.3
[INFO] [stderr]    Compiling serde_json v1.0.107
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]     Checking rustls-pemfile v1.0.3
[INFO] [stderr]     Checking webpki-roots v0.25.2
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]    Compiling syn v2.0.33
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]     Checking socket2 v0.5.4
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking socket2 v0.4.9
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling ring v0.16.20
[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]    Compiling darling_core v0.14.4
[INFO] [stderr]     Checking tokio v1.32.0
[INFO] [stderr]     Checking sct v0.7.0
[INFO] [stderr]     Checking rustls-webpki v0.101.5
[INFO] [stderr]     Checking futures-util v0.3.28
[INFO] [stderr]     Checking thiserror v1.0.48
[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 h2 v0.3.21
[INFO] [stderr]     Checking derive_builder v0.12.0
[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] 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] 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]     | |             -^^^^^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `send_message`
[INFO] [stdout]     | |_____________|
[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] 
[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]     | |             -^^^^^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `send_message`
[INFO] [stdout]     | |_____________|
[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] 
[INFO] [stdout] error: aborting due to 4 previous errors
[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
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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: 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::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]    | |         -^^^^^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `send_message`
[INFO] [stdout]    | |_________|
[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] [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]    | |         -^^^^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `save_history_json`
[INFO] [stdout]    | |_________|
[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 `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]    | |         -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `restore_conversation_json`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[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 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]    | |         -^^^^^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `send_message`
[INFO] [stdout]    | |_________|
[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" "16bdad432d715ebf4188c0e06c60dfdf6ff66d77bc2232245c112c32d3607a23", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "16bdad432d715ebf4188c0e06c60dfdf6ff66d77bc2232245c112c32d3607a23", kill_on_drop: false }`
[INFO] [stdout] 16bdad432d715ebf4188c0e06c60dfdf6ff66d77bc2232245c112c32d3607a23
