[INFO] fetching crate openai-rust 1.5.2... [INFO] building openai-rust-1.5.2 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate openai-rust 1.5.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate openai-rust 1.5.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate openai-rust 1.5.2 [INFO] tweaked toml for crates.io crate openai-rust 1.5.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate openai-rust 1.5.2 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate openai-rust 1.5.2 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79dc193fddf20b29f0a2210150431f6282b31181c3108b45a5f7f5556f3adeec [INFO] running `Command { std: "docker" "start" "-a" "79dc193fddf20b29f0a2210150431f6282b31181c3108b45a5f7f5556f3adeec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79dc193fddf20b29f0a2210150431f6282b31181c3108b45a5f7f5556f3adeec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79dc193fddf20b29f0a2210150431f6282b31181c3108b45a5f7f5556f3adeec", kill_on_drop: false }` [INFO] [stdout] 79dc193fddf20b29f0a2210150431f6282b31181c3108b45a5f7f5556f3adeec [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e03d082367deb7d4116ebc7c15ae20c018b0bd189a3ce60ce2caedb06ef2aca0 [INFO] running `Command { std: "docker" "start" "-a" "e03d082367deb7d4116ebc7c15ae20c018b0bd189a3ce60ce2caedb06ef2aca0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling openssl v0.10.61 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling openai-rust v1.5.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `edits::EditArguments`: Use the chat api instead [INFO] [stdout] --> src/lib.rs:221:50 [INFO] [stdout] | [INFO] [stdout] 221 | pub async fn create_edit(&self, args: edits::EditArguments) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `edits::EditResponse`: Use the chat api instead [INFO] [stdout] --> src/lib.rs:221:82 [INFO] [stdout] | [INFO] [stdout] 221 | pub async fn create_edit(&self, args: edits::EditArguments) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.29s [INFO] running `Command { std: "docker" "inspect" "e03d082367deb7d4116ebc7c15ae20c018b0bd189a3ce60ce2caedb06ef2aca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e03d082367deb7d4116ebc7c15ae20c018b0bd189a3ce60ce2caedb06ef2aca0", kill_on_drop: false }` [INFO] [stdout] e03d082367deb7d4116ebc7c15ae20c018b0bd189a3ce60ce2caedb06ef2aca0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8f8ef77c95fc1b8705d039f8eb4de870220220be92b7e9284d3ccfe43cacd61 [INFO] running `Command { std: "docker" "start" "-a" "a8f8ef77c95fc1b8705d039f8eb4de870220220be92b7e9284d3ccfe43cacd61", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling openssl v0.10.61 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.12 [INFO] [stderr] Compiling tokio-test v0.4.2 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling openai-rust v1.5.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `edits::EditArguments`: Use the chat api instead [INFO] [stdout] --> src/lib.rs:221:50 [INFO] [stdout] | [INFO] [stdout] 221 | pub async fn create_edit(&self, args: edits::EditArguments) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `edits::EditResponse`: Use the chat api instead [INFO] [stdout] --> src/lib.rs:221:82 [INFO] [stdout] | [INFO] [stdout] 221 | pub async fn create_edit(&self, args: edits::EditArguments) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> tests/test.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use futures_util::{StreamExt, FutureExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `openai_rust::edits::EditArguments`: Use the chat api instead [INFO] [stdout] --> tests/test.rs:71:36 [INFO] [stdout] | [INFO] [stdout] 71 | let args = openai_rust::edits::EditArguments::new( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `openai_rust::edits::EditArguments::new`: Use the chat api instead [INFO] [stdout] --> tests/test.rs:71:51 [INFO] [stdout] | [INFO] [stdout] 71 | let args = openai_rust::edits::EditArguments::new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `openai_rust::Client::create_edit`: Use the chat api instead [INFO] [stdout] --> tests/test.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | c.create_edit(args).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `edits::EditArguments`: Use the chat api instead [INFO] [stdout] --> src/lib.rs:221:50 [INFO] [stdout] | [INFO] [stdout] 221 | pub async fn create_edit(&self, args: edits::EditArguments) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `edits::EditResponse`: Use the chat api instead [INFO] [stdout] --> src/lib.rs:221:82 [INFO] [stdout] | [INFO] [stdout] 221 | pub async fn create_edit(&self, args: edits::EditArguments) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 30.82s [INFO] running `Command { std: "docker" "inspect" "a8f8ef77c95fc1b8705d039f8eb4de870220220be92b7e9284d3ccfe43cacd61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8f8ef77c95fc1b8705d039f8eb4de870220220be92b7e9284d3ccfe43cacd61", kill_on_drop: false }` [INFO] [stdout] a8f8ef77c95fc1b8705d039f8eb4de870220220be92b7e9284d3ccfe43cacd61