[INFO] cloning repository https://github.com/Kobayashi-takumi/gpt-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kobayashi-takumi/gpt-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKobayashi-takumi%2Fgpt-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKobayashi-takumi%2Fgpt-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c77663103e586aa148ab196359566d7b5b8f4185
[INFO] testing Kobayashi-takumi/gpt-rs against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKobayashi-takumi%2Fgpt-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Kobayashi-takumi/gpt-rs
[INFO] finished tweaking git repo https://github.com/Kobayashi-takumi/gpt-rs
[INFO] tweaked toml for git repo https://github.com/Kobayashi-takumi/gpt-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Kobayashi-takumi/gpt-rs on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Kobayashi-takumi/gpt-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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c6b1f57828e0e5cd8185192512a121b2991d505b4db1fac288e04fb3883fc5aa
[INFO] running `Command { std: "docker" "start" "-a" "c6b1f57828e0e5cd8185192512a121b2991d505b4db1fac288e04fb3883fc5aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c6b1f57828e0e5cd8185192512a121b2991d505b4db1fac288e04fb3883fc5aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c6b1f57828e0e5cd8185192512a121b2991d505b4db1fac288e04fb3883fc5aa", kill_on_drop: false }`
[INFO] [stdout] c6b1f57828e0e5cd8185192512a121b2991d505b4db1fac288e04fb3883fc5aa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bd80bb6f9adaccb5a24a015efdbf174eb9de294dfb1a793b9c4a3a173cd3ce9b
[INFO] running `Command { std: "docker" "start" "-a" "bd80bb6f9adaccb5a24a015efdbf174eb9de294dfb1a793b9c4a3a173cd3ce9b", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling openssl-sys v0.9.90
[INFO] [stderr]    Compiling smallvec v1.11.0
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling tokio v1.29.1
[INFO] [stderr]    Compiling itoa v1.0.9
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling socket2 v0.4.9
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling tracing-core v0.1.31
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling openssl v0.10.55
[INFO] [stderr]    Compiling quote v1.0.32
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling http v0.2.9
[INFO] [stderr]    Compiling syn v2.0.27
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling serde v1.0.175
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling log v0.4.19
[INFO] [stderr]    Compiling serde_derive v1.0.175
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling percent-encoding v2.3.0
[INFO] [stderr]    Compiling try-lock v0.2.4
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.0
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling serde_json v1.0.103
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling ryu v1.0.15
[INFO] [stderr]    Compiling unicode-bidi v0.3.13
[INFO] [stderr]    Compiling async-trait v0.1.72
[INFO] [stderr]    Compiling anyhow v1.0.72
[INFO] [stderr]    Compiling encoding_rs v0.8.32
[INFO] [stderr]    Compiling base64 v0.21.2
[INFO] [stderr]    Compiling idna v0.4.0
[INFO] [stderr]    Compiling ipnet v2.8.0
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling url v2.4.0
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tokio-util v0.7.8
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.3.20
[INFO] [stderr]    Compiling hyper v0.14.27
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.18
[INFO] [stderr]    Compiling gpt-rs v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/entry_point.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `path::PathBuf` and `str::FromStr`
[INFO] [stdout]  --> src/entry_point.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{path::PathBuf, str::FromStr};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.38s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.55
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "bd80bb6f9adaccb5a24a015efdbf174eb9de294dfb1a793b9c4a3a173cd3ce9b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bd80bb6f9adaccb5a24a015efdbf174eb9de294dfb1a793b9c4a3a173cd3ce9b", kill_on_drop: false }`
[INFO] [stdout] bd80bb6f9adaccb5a24a015efdbf174eb9de294dfb1a793b9c4a3a173cd3ce9b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 04cae89cbe5723416b84b103b937869928fa93894652a2f06cd3ed114a95bc5e
[INFO] running `Command { std: "docker" "start" "-a" "04cae89cbe5723416b84b103b937869928fa93894652a2f06cd3ed114a95bc5e", kill_on_drop: false }`
[INFO] [stderr]    Compiling gpt-rs v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/entry_point.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `path::PathBuf` and `str::FromStr`
[INFO] [stdout]  --> src/entry_point.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{path::PathBuf, str::FromStr};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `path::PathBuf` and `str::FromStr`
[INFO] [stdout]  --> src/entry_point.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{path::PathBuf, str::FromStr};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.32s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.55
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "04cae89cbe5723416b84b103b937869928fa93894652a2f06cd3ed114a95bc5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "04cae89cbe5723416b84b103b937869928fa93894652a2f06cd3ed114a95bc5e", kill_on_drop: false }`
[INFO] [stdout] 04cae89cbe5723416b84b103b937869928fa93894652a2f06cd3ed114a95bc5e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 968c8f247de74c27afe6c81356de9490ed3ead5b56abe1cf0d58c82799d2df72
[INFO] running `Command { std: "docker" "start" "-a" "968c8f247de74c27afe6c81356de9490ed3ead5b56abe1cf0d58c82799d2df72", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `anyhow::Result`
[INFO] [stderr]  --> src/entry_point.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use anyhow::Result;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `path::PathBuf` and `str::FromStr`
[INFO] [stderr]  --> src/entry_point.rs:2:11
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::{path::PathBuf, str::FromStr};
[INFO] [stderr]   |           ^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `path::PathBuf` and `str::FromStr`
[INFO] [stderr]  --> src/entry_point.rs:2:11
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::{path::PathBuf, str::FromStr};
[INFO] [stderr]   |           ^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `gpt-rs` (lib) generated 2 warnings (run `cargo fix --lib -p gpt-rs` to apply 2 suggestions)
[INFO] [stderr] warning: `gpt-rs` (lib test) generated 1 warning (run `cargo fix --lib -p gpt-rs --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.55
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gpt_rs-ad50ec6030bca828)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test chat::tests::builder ... ok
[INFO] [stdout] test chat::tests::post ... FAILED
[INFO] [stdout] test entry_point::tests::entry_point ... ok
[INFO] [stdout] test image::tests::builder ... ok
[INFO] [stdout] test image::tests::post ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- chat::tests::post stdout ----
[INFO] [stdout] Error: API_KEY must be set.
[INFO] [stdout] 
[INFO] [stdout] ---- image::tests::post stdout ----
[INFO] [stdout] Error: API_KEY must be set.
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     chat::tests::post
[INFO] [stdout]     image::tests::post
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 3 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "968c8f247de74c27afe6c81356de9490ed3ead5b56abe1cf0d58c82799d2df72", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "968c8f247de74c27afe6c81356de9490ed3ead5b56abe1cf0d58c82799d2df72", kill_on_drop: false }`
[INFO] [stdout] 968c8f247de74c27afe6c81356de9490ed3ead5b56abe1cf0d58c82799d2df72
