[INFO] cloning repository https://github.com/Maxuss/chatgpt_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Maxuss/chatgpt_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxuss%2Fchatgpt_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxuss%2Fchatgpt_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 09cde58b4e9fdf8f8d78955edd723c3975eb0089 [INFO] testing Maxuss/chatgpt_rs against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxuss%2Fchatgpt_rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Maxuss/chatgpt_rs on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Maxuss/chatgpt_rs [INFO] finished tweaking git repo https://github.com/Maxuss/chatgpt_rs [INFO] tweaked toml for git repo https://github.com/Maxuss/chatgpt_rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Maxuss/chatgpt_rs 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" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dyn-clone v1.0.13 [INFO] [stderr] Downloaded schemars_derive v0.8.13 [INFO] [stderr] Downloaded schemars v0.8.13 [INFO] [stderr] Downloaded cobs v0.2.3 [INFO] [stderr] Downloaded postcard v1.0.7 [INFO] [stderr] Downloaded syn v2.0.33 [INFO] [stderr] Downloaded rustls-webpki v0.101.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16879d9a18bd1cf2167f5e1b54ff73505d664912198452901f8ce5d4d7a98fe3 [INFO] running `Command { std: "docker" "start" "-a" "16879d9a18bd1cf2167f5e1b54ff73505d664912198452901f8ce5d4d7a98fe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16879d9a18bd1cf2167f5e1b54ff73505d664912198452901f8ce5d4d7a98fe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16879d9a18bd1cf2167f5e1b54ff73505d664912198452901f8ce5d4d7a98fe3", kill_on_drop: false }` [INFO] [stdout] 16879d9a18bd1cf2167f5e1b54ff73505d664912198452901f8ce5d4d7a98fe3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab9e0c76340399aa1d59e1d5df920b83ec257784761ad5552806bcec8b40ad91 [INFO] running `Command { std: "docker" "start" "-a" "ab9e0c76340399aa1d59e1d5df920b83ec257784761ad5552806bcec8b40ad91", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.33 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling rustls v0.21.7 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling base64 v0.21.4 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling rustls-pemfile v1.0.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling webpki-roots v0.25.2 [INFO] [stderr] Compiling rustls-webpki v0.101.5 [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 sct v0.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling hyper-rustls v0.24.1 [INFO] [stderr] Compiling reqwest v0.11.20 [INFO] [stderr] Compiling 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] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 18s [INFO] running `Command { std: "docker" "inspect" "ab9e0c76340399aa1d59e1d5df920b83ec257784761ad5552806bcec8b40ad91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab9e0c76340399aa1d59e1d5df920b83ec257784761ad5552806bcec8b40ad91", kill_on_drop: false }` [INFO] [stdout] ab9e0c76340399aa1d59e1d5df920b83ec257784761ad5552806bcec8b40ad91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20fd298f43ddf48131a2f169e79c0c90c6fea4238794f3d7133bbedebf77d71f [INFO] running `Command { std: "docker" "start" "-a" "20fd298f43ddf48131a2f169e79c0c90c6fea4238794f3d7133bbedebf77d71f", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling syn v2.0.33 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling schemars v0.8.13 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling cobs v0.2.3 [INFO] [stderr] Compiling dyn-clone v1.0.13 [INFO] [stderr] Compiling heapless v0.7.16 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling schemars_derive v0.8.13 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling gpt_fn_macros v1.0.0 (/opt/rustwide/workdir/fn_macros) [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling postcard v1.0.7 [INFO] [stderr] Compiling hyper-rustls v0.24.1 [INFO] [stderr] Compiling reqwest v0.11.20 [INFO] [stderr] Compiling 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] warning: 1 warning emitted [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 40s [INFO] running `Command { std: "docker" "inspect" "20fd298f43ddf48131a2f169e79c0c90c6fea4238794f3d7133bbedebf77d71f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20fd298f43ddf48131a2f169e79c0c90c6fea4238794f3d7133bbedebf77d71f", kill_on_drop: false }` [INFO] [stdout] 20fd298f43ddf48131a2f169e79c0c90c6fea4238794f3d7133bbedebf77d71f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 777d19224f250fc353d0384709dc2af12d7829dd59f3e79408f7251559bbfbfc [INFO] running `Command { std: "docker" "start" "-a" "777d19224f250fc353d0384709dc2af12d7829dd59f3e79408f7251559bbfbfc", kill_on_drop: false }` [INFO] [stderr] warning: the item `reqwest` is imported redundantly [INFO] [stderr] --> src/client.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | use reqwest::{self, Proxy}; [INFO] [stderr] | ^^^^ the item `reqwest` is already defined here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `chatgpt_rs` (lib) generated 1 warning [INFO] [stderr] warning: `chatgpt_rs` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/chatgpt.rs (/opt/rustwide/target/debug/deps/chatgpt-e5e48f646b8d8af1) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] test functions::tests::test_descriptor_serialization ... ok [INFO] [stdout] test test::test_some_config ... FAILED [INFO] [stdout] test test::test_client ... FAILED [INFO] [stdout] test test::test_conversation ... FAILED [INFO] [stdout] test test::test_conversation_restoring ... FAILED [INFO] [stdout] test test::test_max_token_config ... FAILED [INFO] [stdout] test test::test_conversation_saving ... FAILED [INFO] [stdout] test test::test_undirected_conversation ... FAILED [INFO] [stdout] test test::test_streaming ... FAILED [INFO] [stdout] test test::test_streaming_conv ... FAILED [INFO] [stdout] test test::test_default_max_token_config ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::test_some_config stdout ---- [INFO] [stdout] Error: VarError(NotPresent) [INFO] [stdout] [INFO] [stdout] ---- test::test_client stdout ---- [INFO] [stdout] Error: VarError(NotPresent) [INFO] [stdout] [INFO] [stdout] ---- test::test_conversation stdout ---- [INFO] [stdout] Error: VarError(NotPresent) [INFO] [stdout] [INFO] [stdout] ---- test::test_conversation_restoring stdout ---- [INFO] [stdout] Error: VarError(NotPresent) [INFO] [stdout] [INFO] [stdout] ---- test::test_max_token_config stdout ---- [INFO] [stdout] Error: VarError(NotPresent) [INFO] [stdout] [INFO] [stdout] ---- test::test_conversation_saving stdout ---- [INFO] [stdout] Error: VarError(NotPresent) [INFO] [stdout] [INFO] [stdout] ---- test::test_undirected_conversation stdout ---- [INFO] [stdout] Error: VarError(NotPresent) [INFO] [stdout] [INFO] [stdout] ---- test::test_streaming stdout ---- [INFO] [stdout] Error: VarError(NotPresent) [INFO] [stdout] [INFO] [stdout] ---- test::test_streaming_conv stdout ---- [INFO] [stdout] Error: VarError(NotPresent) [INFO] [stdout] [INFO] [stdout] ---- test::test_default_max_token_config stdout ---- [INFO] [stdout] Error: VarError(NotPresent) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test::test_client [INFO] [stdout] test::test_conversation [INFO] [stdout] test::test_conversation_restoring [INFO] [stdout] test::test_conversation_saving [INFO] [stdout] test::test_default_max_token_config [INFO] [stdout] test::test_max_token_config [INFO] [stdout] test::test_some_config [INFO] [stdout] test::test_streaming [INFO] [stdout] test::test_streaming_conv [INFO] [stdout] test::test_undirected_conversation [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "777d19224f250fc353d0384709dc2af12d7829dd59f3e79408f7251559bbfbfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "777d19224f250fc353d0384709dc2af12d7829dd59f3e79408f7251559bbfbfc", kill_on_drop: false }` [INFO] [stdout] 777d19224f250fc353d0384709dc2af12d7829dd59f3e79408f7251559bbfbfc [INFO] testing Maxuss/chatgpt_rs against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxuss%2Fchatgpt_rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Maxuss/chatgpt_rs on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Maxuss/chatgpt_rs [INFO] finished tweaking git repo https://github.com/Maxuss/chatgpt_rs [INFO] tweaked toml for git repo https://github.com/Maxuss/chatgpt_rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Maxuss/chatgpt_rs 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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] accbfec667ee40f76e00ab7611d953844e5518ddfed75a1760199fbdbaa0f17c [INFO] running `Command { std: "docker" "start" "-a" "accbfec667ee40f76e00ab7611d953844e5518ddfed75a1760199fbdbaa0f17c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "accbfec667ee40f76e00ab7611d953844e5518ddfed75a1760199fbdbaa0f17c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "accbfec667ee40f76e00ab7611d953844e5518ddfed75a1760199fbdbaa0f17c", kill_on_drop: false }` [INFO] [stdout] accbfec667ee40f76e00ab7611d953844e5518ddfed75a1760199fbdbaa0f17c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c8aa025636b2f0b6eb29c372c3581bfc6c30f9d4632cfdf31effa0a663a712a [INFO] running `Command { std: "docker" "start" "-a" "6c8aa025636b2f0b6eb29c372c3581bfc6c30f9d4632cfdf31effa0a663a712a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling syn v2.0.33 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling rustls v0.21.7 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling base64 v0.21.4 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rustls-pemfile v1.0.3 [INFO] [stderr] Compiling webpki-roots v0.25.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling rustls-webpki v0.101.5 [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 sct v0.7.0 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-rustls v0.24.1 [INFO] [stderr] Compiling reqwest v0.11.20 [INFO] [stderr] Compiling 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] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "6c8aa025636b2f0b6eb29c372c3581bfc6c30f9d4632cfdf31effa0a663a712a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c8aa025636b2f0b6eb29c372c3581bfc6c30f9d4632cfdf31effa0a663a712a", kill_on_drop: false }` [INFO] [stdout] 6c8aa025636b2f0b6eb29c372c3581bfc6c30f9d4632cfdf31effa0a663a712a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7b88aeca208662f4b86a0c62a11d91f13504c7eb6148536881dc69a0b50b59a [INFO] running `Command { std: "docker" "start" "-a" "e7b88aeca208662f4b86a0c62a11d91f13504c7eb6148536881dc69a0b50b59a", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling syn v2.0.33 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling schemars v0.8.13 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling dyn-clone v1.0.13 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling cobs v0.2.3 [INFO] [stderr] Compiling heapless v0.7.16 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling schemars_derive v0.8.13 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling gpt_fn_macros v1.0.0 (/opt/rustwide/workdir/fn_macros) [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling postcard v1.0.7 [INFO] [stderr] Compiling hyper-rustls v0.24.1 [INFO] [stderr] Compiling reqwest v0.11.20 [INFO] [stderr] Compiling 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] warning: 1 warning emitted [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] [stderr] error: could not compile `chatgpt_rs` (lib test); 1 warning emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/bin/rustc --crate-name chatgpt --edition=2021 src/chatgpt.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="functions"' --cfg 'feature="json"' --cfg 'feature="postcard"' --cfg 'feature="streams"' -C metadata=e5e48f646b8d8af1 -C extra-filename=-e5e48f646b8d8af1 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern async_recursion=/opt/rustwide/target/debug/deps/libasync_recursion-3e17f8575b4c4167.so --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-efcde6e674844725.so --extern chatgpt=/opt/rustwide/target/debug/deps/libchatgpt-af729eb3e274ae70.rlib --extern derive_builder=/opt/rustwide/target/debug/deps/libderive_builder-39157b0ff49791ca.rlib --extern eventsource_stream=/opt/rustwide/target/debug/deps/libeventsource_stream-054dcd5eb7177306.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-6ad6390733d78d93.rlib --extern futures_util=/opt/rustwide/target/debug/deps/libfutures_util-1a67204e95c9ab97.rlib --extern gpt_fn_macros=/opt/rustwide/target/debug/deps/libgpt_fn_macros-1aa298bc02c45071.so --extern lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-b82c15677deef9e2.rlib --extern postcard=/opt/rustwide/target/debug/deps/libpostcard-ad2d631c59b77175.rlib --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-aa2485d5bc353c81.rlib --extern schemars=/opt/rustwide/target/debug/deps/libschemars-ebc94f0b3838e5e7.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-93b5b0325ab8ad00.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-849059e9ef7a8942.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-4d5752367b8cd802.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-ecb5d7f13c0e1bc6.rlib --extern url=/opt/rustwide/target/debug/deps/liburl-fc57b58a672dbae9.rlib --cap-lints=forbid -Copt-level=3 -L native=/opt/rustwide/target/debug/build/ring-75e77d949fd9c467/out` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e7b88aeca208662f4b86a0c62a11d91f13504c7eb6148536881dc69a0b50b59a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7b88aeca208662f4b86a0c62a11d91f13504c7eb6148536881dc69a0b50b59a", kill_on_drop: false }` [INFO] [stdout] e7b88aeca208662f4b86a0c62a11d91f13504c7eb6148536881dc69a0b50b59a