[INFO] fetching crate forky_ai 0.1.42... [INFO] testing forky_ai-0.1.42 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate forky_ai 0.1.42 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate forky_ai 0.1.42 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate forky_ai 0.1.42 [INFO] tweaked toml for crates.io crate forky_ai 0.1.42 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate forky_ai 0.1.42 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate forky_ai 0.1.42 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa6a699564e616c239405645ceaf21be052fe8bd1e6621968cf03a83a9ced889 [INFO] running `Command { std: "docker" "start" "-a" "aa6a699564e616c239405645ceaf21be052fe8bd1e6621968cf03a83a9ced889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa6a699564e616c239405645ceaf21be052fe8bd1e6621968cf03a83a9ced889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa6a699564e616c239405645ceaf21be052fe8bd1e6621968cf03a83a9ced889", kill_on_drop: false }` [INFO] [stdout] aa6a699564e616c239405645ceaf21be052fe8bd1e6621968cf03a83a9ced889 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e798dcaabde0e50e936d2334ef857967a2ba2767de30cbbb75183e141796e582 [INFO] running `Command { std: "docker" "start" "-a" "e798dcaabde0e50e936d2334ef857967a2ba2767de30cbbb75183e141796e582", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Compiling crossbeam-channel v0.5.11 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling clap_builder v4.5.0 [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling file-id v0.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling notify-debouncer-full v0.2.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling tempfile v3.10.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Compiling extend v1.2.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling forky_core v0.1.42 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling filedescriptor v0.8.2 [INFO] [stderr] Compiling gag v1.0.0 [INFO] [stderr] Compiling clap v4.5.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling forky_fs v0.1.42 [INFO] [stderr] Compiling forky_ai v0.1.42 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `chatgpt` [INFO] [stdout] --> src/chat/chat_gpt.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chatgpt::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `chatgpt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chatgpt`, use `cargo add chatgpt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ChatGPT` in this scope [INFO] [stdout] --> src/chat/chat_gpt.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | client: ChatGPT, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ModelConfiguration` in this scope [INFO] [stdout] --> src/chat/chat_gpt.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | ModelConfiguration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/chat/chat_gpt.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | let response = self.client.send_message(message).await?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | [INFO] [stdout] 45 | Ok(response.message().content.clone()) [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 43 | let response: /* Type */ = self.client.send_message(message).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/chat/chat_gpt.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | let stream = self.client.send_message_streaming(message).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 58 | // let mut response = ; [INFO] [stdout] 59 | let (response, _) = stream [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `stream` an explicit type [INFO] [stdout] | [INFO] [stdout] 57 | let stream: /* Type */ = self.client.send_message_streaming(message).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, {type error})` [INFO] [stdout] --> src/chat/chat_gpt.rs:62:6 [INFO] [stdout] | [INFO] [stdout] 62 | |(mut response, on_data), each| async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | response.push_str(&delta); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 62 | |(mut response, on_data): (_, _), each| async move { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChatGPT` [INFO] [stdout] --> src/chat/chat_gpt.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | let client = ChatGPT::new_with_config( [INFO] [stdout] | ^^^^^^^ use of undeclared type `ChatGPT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResponseChunk` [INFO] [stdout] --> src/chat/chat_gpt.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | ResponseChunk::Content { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ResponseChunk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `forky_ai` (lib) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e798dcaabde0e50e936d2334ef857967a2ba2767de30cbbb75183e141796e582", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e798dcaabde0e50e936d2334ef857967a2ba2767de30cbbb75183e141796e582", kill_on_drop: false }` [INFO] [stdout] e798dcaabde0e50e936d2334ef857967a2ba2767de30cbbb75183e141796e582