[INFO] cloning repository https://github.com/carrotflakes/gptcl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/carrotflakes/gptcl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarrotflakes%2Fgptcl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarrotflakes%2Fgptcl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9598e1ab0d01d775fa1f6380387dd6ee2d3ff0ae [INFO] checking carrotflakes/gptcl against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarrotflakes%2Fgptcl" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/carrotflakes/gptcl on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/carrotflakes/gptcl [INFO] finished tweaking git repo https://github.com/carrotflakes/gptcl [INFO] tweaked toml for git repo https://github.com/carrotflakes/gptcl written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/carrotflakes/gptcl 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4229851fe0d6a7139141a71f1a1615c4771234b14bd49ba97745a839dfc367aa [INFO] running `Command { std: "docker" "start" "-a" "4229851fe0d6a7139141a71f1a1615c4771234b14bd49ba97745a839dfc367aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4229851fe0d6a7139141a71f1a1615c4771234b14bd49ba97745a839dfc367aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4229851fe0d6a7139141a71f1a1615c4771234b14bd49ba97745a839dfc367aa", kill_on_drop: false }` [INFO] [stdout] 4229851fe0d6a7139141a71f1a1615c4771234b14bd49ba97745a839dfc367aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57d446222fe2479861dc104515e6a4942748bf9a177d1782698c68cc81246be2 [INFO] running `Command { std: "docker" "start" "-a" "57d446222fe2479861dc104515e6a4942748bf9a177d1782698c68cc81246be2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking tokio-util v0.7.9 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking gpt-model v0.1.0 (/opt/rustwide/workdir/gpt-model) [INFO] [stderr] Checking gptcl v0.1.0 (/opt/rustwide/workdir/gptcl) [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking gptcl-hyper v0.1.0 (/opt/rustwide/workdir/gptcl-hyper) [INFO] [stderr] Checking examples v0.1.0 (/opt/rustwide/workdir/examples) [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> examples/examples/function_call.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | let client = GptClient::new( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 15 | HyperClient::new(), [INFO] [stdout] 16 | openai_api_key, [INFO] [stdout] | _______________________- [INFO] [stdout] 17 | | gptcl::MODEL_GPT_3_5_TURBO, [INFO] [stdout] | | -------------------------- [INFO] [stdout] | |_________|________________________| [INFO] [stdout] | | help: remove the extra argument [INFO] [stdout] | unexpected argument of type `&'static str` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/gptcl/src/gpt_client.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(client: C, api_key: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `call_with_functions` found for struct `GptClient` in the current scope [INFO] [stdout] --> examples/examples/function_call.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | let res = client.call_with_functions(&messages, &functions).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method not found in `GptClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `call_with_functions` found for struct `GptClient` in the current scope [INFO] [stdout] --> examples/examples/function_call.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | let res = client.call_with_functions(&messages, &functions).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method not found in `GptClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `examples` (example "function_call") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "57d446222fe2479861dc104515e6a4942748bf9a177d1782698c68cc81246be2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57d446222fe2479861dc104515e6a4942748bf9a177d1782698c68cc81246be2", kill_on_drop: false }` [INFO] [stdout] 57d446222fe2479861dc104515e6a4942748bf9a177d1782698c68cc81246be2