[INFO] fetching crate openai-fork 1.0.0-alpha.15... [INFO] testing openai-fork-1.0.0-alpha.15 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate openai-fork 1.0.0-alpha.15 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate openai-fork 1.0.0-alpha.15 [INFO] finished tweaking crates.io crate openai-fork 1.0.0-alpha.15 [INFO] tweaked toml for crates.io crate openai-fork 1.0.0-alpha.15 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate openai-fork 1.0.0-alpha.15 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate openai-fork 1.0.0-alpha.15 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 010b021196a40a7c8ff010dd217f12eea34409c5a05f1b99f4176a7d08346b53 [INFO] running `Command { std: "docker" "start" "-a" "010b021196a40a7c8ff010dd217f12eea34409c5a05f1b99f4176a7d08346b53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "010b021196a40a7c8ff010dd217f12eea34409c5a05f1b99f4176a7d08346b53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "010b021196a40a7c8ff010dd217f12eea34409c5a05f1b99f4176a7d08346b53", kill_on_drop: false }` [INFO] [stdout] 010b021196a40a7c8ff010dd217f12eea34409c5a05f1b99f4176a7d08346b53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5765c5944d31abc4f823b8ab85ebdb5b17b45b44289483ee48657e437c9c9501 [INFO] running `Command { std: "docker" "start" "-a" "5765c5944d31abc4f823b8ab85ebdb5b17b45b44289483ee48657e437c9c9501", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling futures-util v0.3.30 [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] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling hyper v0.14.29 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling reqwest-eventsource v0.4.0 [INFO] [stderr] Compiling openai-fork v1.0.0-alpha.15 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.55s [INFO] running `Command { std: "docker" "inspect" "5765c5944d31abc4f823b8ab85ebdb5b17b45b44289483ee48657e437c9c9501", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5765c5944d31abc4f823b8ab85ebdb5b17b45b44289483ee48657e437c9c9501", kill_on_drop: false }` [INFO] [stdout] 5765c5944d31abc4f823b8ab85ebdb5b17b45b44289483ee48657e437c9c9501 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2751eeefbf2ebf0ac18f1ced424e5aa32a483c493fda8de8c26b1e0c1daa500e [INFO] running `Command { std: "docker" "start" "-a" "2751eeefbf2ebf0ac18f1ced424e5aa32a483c493fda8de8c26b1e0c1daa500e", kill_on_drop: false }` [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling openai-fork v1.0.0-alpha.15 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `openai` [INFO] [stdout] --> examples/chat_cli.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use openai::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `openai` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `openai`, use `cargo add openai` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `openai` [INFO] [stdout] --> examples/chat_stream_cli.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use openai::chat::{ChatCompletion, ChatCompletionDelta}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `openai` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `openai`, use `cargo add openai` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `openai` [INFO] [stdout] --> examples/chat_stream_cli.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use openai::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `openai` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `openai`, use `cargo add openai` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `openai` [INFO] [stdout] --> examples/chat_stream_cli.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use openai::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `openai` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `openai`, use `cargo add openai` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `openai` [INFO] [stdout] --> examples/chat_cli.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use openai::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `openai` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `openai`, use `cargo add openai` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `openai` [INFO] [stdout] --> examples/completions_cli.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use openai::{completions::Completion, set_key}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `openai` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `openai`, use `cargo add openai` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `openai` [INFO] [stdout] --> examples/completions_cli.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use openai::{completions::Completion, set_key}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `openai` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `openai`, use `cargo add openai` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `openai-fork` (example "chat_cli") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `openai-fork` (example "chat_stream_cli") due to 3 previous errors [INFO] [stderr] error: could not compile `openai-fork` (example "completions_cli") due to 2 previous errors [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/files.rs:379:41 [INFO] [stdout] | [INFO] [stdout] 379 | let file_name = file_upload_path [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 380 | | .clone() [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 379 - let file_name = file_upload_path [INFO] [stdout] 380 - .clone() [INFO] [stdout] 379 + let file_name = file_upload_path [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2751eeefbf2ebf0ac18f1ced424e5aa32a483c493fda8de8c26b1e0c1daa500e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2751eeefbf2ebf0ac18f1ced424e5aa32a483c493fda8de8c26b1e0c1daa500e", kill_on_drop: false }` [INFO] [stdout] 2751eeefbf2ebf0ac18f1ced424e5aa32a483c493fda8de8c26b1e0c1daa500e