[INFO] cloning repository https://github.com/Jayby18/chatgptr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jayby18/chatgptr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJayby18%2Fchatgptr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJayby18%2Fchatgptr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e182dfe7d2c8456a3be009406233d0c5ece8a0a [INFO] building Jayby18/chatgptr against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJayby18%2Fchatgptr" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Jayby18/chatgptr [INFO] finished tweaking git repo https://github.com/Jayby18/chatgptr [INFO] tweaked toml for git repo https://github.com/Jayby18/chatgptr written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Jayby18/chatgptr on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Jayby18/chatgptr 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_spanned v0.6.3 [INFO] [stderr] Downloaded strum v0.25.0 [INFO] [stderr] Downloaded derive_builder_macro v0.12.0 [INFO] [stderr] Downloaded rustls-pemfile v1.0.3 [INFO] [stderr] Downloaded chatgpt_rs v1.2.3 [INFO] [stderr] Downloaded strum_macros v0.25.3 [INFO] [stderr] Downloaded derive_builder_core v0.12.0 [INFO] [stderr] Downloaded serde_derive v1.0.189 [INFO] [stderr] Downloaded socket2 v0.5.4 [INFO] [stderr] Downloaded tokio-util v0.7.9 [INFO] [stderr] Downloaded winnow v0.5.17 [INFO] [stderr] Downloaded tracing v0.1.39 [INFO] [stderr] Downloaded base64 v0.21.4 [INFO] [stderr] Downloaded h2 v0.3.21 [INFO] [stderr] Downloaded rustls-webpki v0.101.6 [INFO] [stderr] Downloaded hyper v0.14.27 [INFO] [stderr] Downloaded reqwest v0.11.22 [INFO] [stderr] Downloaded ratatui v0.23.0 [INFO] [stderr] Downloaded derive_builder v0.12.0 [INFO] [stderr] Downloaded webpki-roots v0.25.2 [INFO] [stderr] Downloaded rustls v0.21.7 [INFO] [stderr] Downloaded hyper-rustls v0.24.1 [INFO] [stderr] Downloaded serde v1.0.189 [INFO] [stderr] Downloaded tokio v1.33.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9afde46d9da93489b8f68027623adc89986145fcef293e3df27f1ca9cc7af4b1 [INFO] running `Command { std: "docker" "start" "-a" "9afde46d9da93489b8f68027623adc89986145fcef293e3df27f1ca9cc7af4b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9afde46d9da93489b8f68027623adc89986145fcef293e3df27f1ca9cc7af4b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9afde46d9da93489b8f68027623adc89986145fcef293e3df27f1ca9cc7af4b1", kill_on_drop: false }` [INFO] [stdout] 9afde46d9da93489b8f68027623adc89986145fcef293e3df27f1ca9cc7af4b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e43f233a48a85c7a03e6e16a400851e440b23391fba23f9a9e8ae7d9a9eebfc0 [INFO] running `Command { std: "docker" "start" "-a" "e43f233a48a85c7a03e6e16a400851e440b23391fba23f9a9e8ae7d9a9eebfc0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling rustls v0.21.7 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling base64 v0.21.4 [INFO] [stderr] Compiling hashbrown v0.14.1 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling winnow v0.5.17 [INFO] [stderr] Compiling webpki-roots v0.25.2 [INFO] [stderr] Compiling tracing v0.1.39 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling indexmap v2.0.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.3 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling rustls-webpki v0.101.6 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling ratatui v0.23.0 [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.9 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_spanned v0.6.3 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml v0.8.2 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-rustls v0.24.1 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling chatgpt_rs v1.2.3 [INFO] [stderr] Compiling chatgptr v0.1.0-alpha (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `toml::Table` [INFO] [stdout] --> src/io/config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use toml::Table; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `api_key` is never read [INFO] [stdout] --> src/io/config.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | api_key: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conversation` [INFO] [stdout] --> src/main.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let conversation: Conversation = Conversation::new_with_history(client, history); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conversation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_input_text` and `clear_input_text` are never used [INFO] [stdout] --> src/app.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl AppState { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn set_input_text(&mut self, text: &str) { self.input_text = String::from(text); } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 53 | pub fn clear_input_text(&mut self) { self.input_text = String::new(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.18s [INFO] running `Command { std: "docker" "inspect" "e43f233a48a85c7a03e6e16a400851e440b23391fba23f9a9e8ae7d9a9eebfc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e43f233a48a85c7a03e6e16a400851e440b23391fba23f9a9e8ae7d9a9eebfc0", kill_on_drop: false }` [INFO] [stdout] e43f233a48a85c7a03e6e16a400851e440b23391fba23f9a9e8ae7d9a9eebfc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 805436066cdbf34f720d43e009659a0e2df3604ad01967ac7bfca5487a519bc9 [INFO] running `Command { std: "docker" "start" "-a" "805436066cdbf34f720d43e009659a0e2df3604ad01967ac7bfca5487a519bc9", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `toml::Table` [INFO] [stdout] --> src/io/config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use toml::Table; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `api_key` is never read [INFO] [stdout] --> src/io/config.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | api_key: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling chatgptr v0.1.0-alpha (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `toml::Table` [INFO] [stdout] --> src/io/config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use toml::Table; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `api_key` is never read [INFO] [stdout] --> src/io/config.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | api_key: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conversation` [INFO] [stdout] --> src/main.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let conversation: Conversation = Conversation::new_with_history(client, history); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conversation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_input_text` and `clear_input_text` are never used [INFO] [stdout] --> src/app.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl AppState { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn set_input_text(&mut self, text: &str) { self.input_text = String::from(text); } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 53 | pub fn clear_input_text(&mut self) { self.input_text = String::new(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.96s [INFO] running `Command { std: "docker" "inspect" "805436066cdbf34f720d43e009659a0e2df3604ad01967ac7bfca5487a519bc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "805436066cdbf34f720d43e009659a0e2df3604ad01967ac7bfca5487a519bc9", kill_on_drop: false }` [INFO] [stdout] 805436066cdbf34f720d43e009659a0e2df3604ad01967ac7bfca5487a519bc9