[INFO] cloning repository https://github.com/ryantinder/ask-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ryantinder/ask-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryantinder%2Fask-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryantinder%2Fask-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7af648ab5acc7f562f7df6f3817e887955f2596f [INFO] checking ryantinder/ask-rs against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryantinder%2Fask-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ryantinder/ask-rs on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ryantinder/ask-rs [INFO] finished tweaking git repo https://github.com/ryantinder/ask-rs [INFO] tweaked toml for git repo https://github.com/ryantinder/ask-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ryantinder/ask-rs 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded globset v0.4.11 [INFO] [stderr] Downloaded confy v0.5.1 [INFO] [stderr] Downloaded rustls-webpki v0.101.1 [INFO] [stderr] Downloaded assert_fs v1.0.13 [INFO] [stderr] Downloaded rustls v0.21.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49b7fa8d1b0800434a76f2858655fa0d20cf2c4fbd402126294bf162314d9748 [INFO] running `Command { std: "docker" "start" "-a" "49b7fa8d1b0800434a76f2858655fa0d20cf2c4fbd402126294bf162314d9748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49b7fa8d1b0800434a76f2858655fa0d20cf2c4fbd402126294bf162314d9748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49b7fa8d1b0800434a76f2858655fa0d20cf2c4fbd402126294bf162314d9748", kill_on_drop: false }` [INFO] [stdout] 49b7fa8d1b0800434a76f2858655fa0d20cf2c4fbd402126294bf162314d9748 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e77828f3706c0d114788a504e05e66cc87236a4462daac7f5d03b7f4dc0a40d7 [INFO] running `Command { std: "docker" "start" "-a" "e77828f3706c0d114788a504e05e66cc87236a4462daac7f5d03b7f4dc0a40d7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking linux-raw-sys v0.4.3 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling serde v1.0.175 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.175 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling rustls v0.21.5 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking regex-automata v0.3.3 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking rustls-webpki v0.101.1 [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Checking tempfile v3.7.0 [INFO] [stderr] Checking regex v1.9.1 [INFO] [stderr] Checking bstr v1.6.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking globset v0.4.11 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking rustls-pemfile v1.0.3 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Checking clap_builder v4.3.19 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking predicates v3.0.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Checking ignore v0.4.20 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Checking directories v4.0.1 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking fd-lock v3.0.13 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Checking zeroize v1.6.0 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking home v0.5.5 [INFO] [stderr] Checking dialoguer v0.10.4 [INFO] [stderr] Checking rustyline v12.0.0 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking eventsource-stream v0.2.3 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Checking clap v4.3.19 [INFO] [stderr] Checking confy v0.5.1 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking assert_fs v1.0.13 [INFO] [stderr] Checking assert_cmd v2.0.12 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-rustls v0.24.1 [INFO] [stderr] Checking reqwest v0.11.18 [INFO] [stderr] Checking ask v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Subcommand` [INFO] [stdout] --> src/main.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{Parser, Subcommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Subcommand` [INFO] [stdout] --> src/main.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{Parser, Subcommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:4:85 [INFO] [stdout] | [INFO] [stdout] 4 | use cli::prompt::{new_prompt, switch_prompt, drop_prompt, all_prompts, edit_prompt, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:4:85 [INFO] [stdout] | [INFO] [stdout] 4 | use cli::prompt::{new_prompt, switch_prompt, drop_prompt, all_prompts, edit_prompt, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Editor` [INFO] [stdout] --> src/cli/editor.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use dialoguer::{Select, Password, Input, Editor, }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `error::ReadlineError` [INFO] [stdout] --> src/cli/editor.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use rustyline::{DefaultEditor, Result, error::ReadlineError}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Editor` [INFO] [stdout] --> src/cli/editor.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use dialoguer::{Select, Password, Input, Editor, }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `error::ReadlineError` [INFO] [stdout] --> src/cli/editor.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use rustyline::{DefaultEditor, Result, error::ReadlineError}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env::VarError` and `string::FromUtf8Error` [INFO] [stdout] --> src/cli/err.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env::VarError, string::FromUtf8Error}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::header::InvalidHeaderValue` [INFO] [stdout] --> src/cli/err.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest::header::InvalidHeaderValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `err` [INFO] [stdout] --> src/gpt/client.rs:6:70 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::gpt::{types::{InboundResponseChunk, InboundChunkPayload}, err}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env::VarError` and `string::FromUtf8Error` [INFO] [stdout] --> src/cli/err.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env::VarError, string::FromUtf8Error}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Completion` and `ServerResponse` [INFO] [stdout] --> src/gpt/client.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use super::types::{ServerResponse, CompletionRequest, Completion, Message, Role, ResponseChunk, Model, Prompt}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::header::InvalidHeaderValue` [INFO] [stdout] --> src/cli/err.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest::header::InvalidHeaderValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `err` [INFO] [stdout] --> src/gpt/client.rs:6:70 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::gpt::{types::{InboundResponseChunk, InboundChunkPayload}, err}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Completion` and `ServerResponse` [INFO] [stdout] --> src/gpt/client.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use super::types::{ServerResponse, CompletionRequest, Completion, Message, Role, ResponseChunk, Model, Prompt}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `json` [INFO] [stdout] --> src/gpt/err.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(feature = "json")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `json` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `json` [INFO] [stdout] --> src/gpt/err.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(feature = "json")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `json` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `postcard` [INFO] [stdout] --> src/gpt/err.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "postcard")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `postcard` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `postcard` [INFO] [stdout] --> src/gpt/err.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "postcard")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `postcard` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input_name` is never used [INFO] [stdout] --> src/cli/editor.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn input_name() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ProfileNotFound` is never constructed [INFO] [stdout] --> src/cli/err.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 9 | #[error("Profile name {name} not found")] [INFO] [stdout] 10 | ProfileNotFound { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/gpt/types.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl Completion { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 132 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ParsingError` and `BackendError` are never constructed [INFO] [stdout] --> src/gpt/err.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | ParsingError(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | BackendError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input_name` is never used [INFO] [stdout] --> src/cli/editor.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn input_name() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ProfileNotFound` is never constructed [INFO] [stdout] --> src/cli/err.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 9 | #[error("Profile name {name} not found")] [INFO] [stdout] 10 | ProfileNotFound { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/gpt/types.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl Completion { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 132 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ParsingError` and `BackendError` are never constructed [INFO] [stdout] --> src/gpt/err.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | ParsingError(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | BackendError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.32s [INFO] running `Command { std: "docker" "inspect" "e77828f3706c0d114788a504e05e66cc87236a4462daac7f5d03b7f4dc0a40d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e77828f3706c0d114788a504e05e66cc87236a4462daac7f5d03b7f4dc0a40d7", kill_on_drop: false }` [INFO] [stdout] e77828f3706c0d114788a504e05e66cc87236a4462daac7f5d03b7f4dc0a40d7 [INFO] checking ryantinder/ask-rs against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryantinder%2Fask-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ryantinder/ask-rs on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ryantinder/ask-rs [INFO] finished tweaking git repo https://github.com/ryantinder/ask-rs [INFO] tweaked toml for git repo https://github.com/ryantinder/ask-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ryantinder/ask-rs 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55492f67cb0a20971648fdc1e3c131da4ff37d580aa8fbcb83ab2c903ae10c4f [INFO] running `Command { std: "docker" "start" "-a" "55492f67cb0a20971648fdc1e3c131da4ff37d580aa8fbcb83ab2c903ae10c4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55492f67cb0a20971648fdc1e3c131da4ff37d580aa8fbcb83ab2c903ae10c4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55492f67cb0a20971648fdc1e3c131da4ff37d580aa8fbcb83ab2c903ae10c4f", kill_on_drop: false }` [INFO] [stdout] 55492f67cb0a20971648fdc1e3c131da4ff37d580aa8fbcb83ab2c903ae10c4f [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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2b0ae7ed66a53a8c734f85ee59ded9419594579c1c365aea56390fd1b4fa88b [INFO] running `Command { std: "docker" "start" "-a" "b2b0ae7ed66a53a8c734f85ee59ded9419594579c1c365aea56390fd1b4fa88b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking linux-raw-sys v0.4.3 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling serde v1.0.175 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.175 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking regex-automata v0.3.3 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling rustls v0.21.5 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Checking regex v1.9.1 [INFO] [stderr] Checking bstr v1.6.0 [INFO] [stderr] Checking rustls-webpki v0.101.1 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Checking globset v0.4.11 [INFO] [stderr] Checking tempfile v3.7.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking predicates v3.0.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking clap_builder v4.3.19 [INFO] [stderr] Checking rustls-pemfile v1.0.3 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Checking ignore v0.4.20 [INFO] [stderr] Checking directories v4.0.1 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking fd-lock v3.0.13 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking home v0.5.5 [INFO] [stderr] Checking zeroize v1.6.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking dialoguer v0.10.4 [INFO] [stderr] Checking eventsource-stream v0.2.3 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Checking clap v4.3.19 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking assert_fs v1.0.13 [INFO] [stderr] Checking confy v0.5.1 [INFO] [stderr] Checking rustyline v12.0.0 [INFO] [stderr] Checking assert_cmd v2.0.12 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-rustls v0.24.1 [INFO] [stderr] Checking reqwest v0.11.18 [INFO] [stderr] Checking ask v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Subcommand` [INFO] [stdout] --> src/main.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{Parser, Subcommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Subcommand` [INFO] [stdout] --> src/main.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{Parser, Subcommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:4:85 [INFO] [stdout] | [INFO] [stdout] 4 | use cli::prompt::{new_prompt, switch_prompt, drop_prompt, all_prompts, edit_prompt, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:4:85 [INFO] [stdout] | [INFO] [stdout] 4 | use cli::prompt::{new_prompt, switch_prompt, drop_prompt, all_prompts, edit_prompt, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Editor` [INFO] [stdout] --> src/cli/editor.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use dialoguer::{Select, Password, Input, Editor, }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Editor` [INFO] [stdout] --> src/cli/editor.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use dialoguer::{Select, Password, Input, Editor, }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `error::ReadlineError` [INFO] [stdout] --> src/cli/editor.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use rustyline::{DefaultEditor, Result, error::ReadlineError}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `error::ReadlineError` [INFO] [stdout] --> src/cli/editor.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use rustyline::{DefaultEditor, Result, error::ReadlineError}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env::VarError` and `string::FromUtf8Error` [INFO] [stdout] --> src/cli/err.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env::VarError, string::FromUtf8Error}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env::VarError` and `string::FromUtf8Error` [INFO] [stdout] --> src/cli/err.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env::VarError, string::FromUtf8Error}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::header::InvalidHeaderValue` [INFO] [stdout] --> src/cli/err.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest::header::InvalidHeaderValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::header::InvalidHeaderValue` [INFO] [stdout] --> src/cli/err.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest::header::InvalidHeaderValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `err` [INFO] [stdout] --> src/gpt/client.rs:6:70 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::gpt::{types::{InboundResponseChunk, InboundChunkPayload}, err}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `err` [INFO] [stdout] --> src/gpt/client.rs:6:70 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::gpt::{types::{InboundResponseChunk, InboundChunkPayload}, err}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Completion` and `ServerResponse` [INFO] [stdout] --> src/gpt/client.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use super::types::{ServerResponse, CompletionRequest, Completion, Message, Role, ResponseChunk, Model, Prompt}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Completion` and `ServerResponse` [INFO] [stdout] --> src/gpt/client.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use super::types::{ServerResponse, CompletionRequest, Completion, Message, Role, ResponseChunk, Model, Prompt}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `json` [INFO] [stdout] --> src/gpt/err.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(feature = "json")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `json` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `postcard` [INFO] [stdout] --> src/gpt/err.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "postcard")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `postcard` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `json` [INFO] [stdout] --> src/gpt/err.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(feature = "json")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `json` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `postcard` [INFO] [stdout] --> src/gpt/err.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "postcard")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `postcard` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input_name` is never used [INFO] [stdout] --> src/cli/editor.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn input_name() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ProfileNotFound` is never constructed [INFO] [stdout] --> src/cli/err.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 9 | #[error("Profile name {name} not found")] [INFO] [stdout] 10 | ProfileNotFound { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/gpt/types.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl Completion { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 132 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ParsingError` and `BackendError` are never constructed [INFO] [stdout] --> src/gpt/err.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | ParsingError(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | BackendError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input_name` is never used [INFO] [stdout] --> src/cli/editor.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn input_name() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ProfileNotFound` is never constructed [INFO] [stdout] --> src/cli/err.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 9 | #[error("Profile name {name} not found")] [INFO] [stdout] 10 | ProfileNotFound { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/gpt/types.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl Completion { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 132 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ParsingError` and `BackendError` are never constructed [INFO] [stdout] --> src/gpt/err.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | ParsingError(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | BackendError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gpt/client.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 21 | let mut headers = HeaderMap::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | let client = reqwest::ClientBuilder::new() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 31 | | client, [INFO] [stdout] 32 | | url: "https://api.openai.com/v1/chat/completions".into(), [INFO] [stdout] 33 | | model, [INFO] [stdout] 34 | | prompt: "".into() [INFO] [stdout] 35 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gpt/client.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 62 | response: Response, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | / response [INFO] [stdout] 68 | | .error_for_status() [INFO] [stdout] 69 | | .map(|response| { [INFO] [stdout] 70 | | let response_stream = response.bytes_stream().eventsource(); [INFO] [stdout] ... | [INFO] [stdout] 94 | | }) [INFO] [stdout] 95 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gpt/client.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 21 | let mut headers = HeaderMap::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | let client = reqwest::ClientBuilder::new() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 31 | | client, [INFO] [stdout] 32 | | url: "https://api.openai.com/v1/chat/completions".into(), [INFO] [stdout] 33 | | model, [INFO] [stdout] 34 | | prompt: "".into() [INFO] [stdout] 35 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gpt/client.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 62 | response: Response, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | / response [INFO] [stdout] 68 | | .error_for_status() [INFO] [stdout] 69 | | .map(|response| { [INFO] [stdout] 70 | | let response_stream = response.bytes_stream().eventsource(); [INFO] [stdout] ... | [INFO] [stdout] 94 | | }) [INFO] [stdout] 95 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gpt/types.rs:87:64 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Clone, Copy, PartialEq, PartialOrd, Serialize, Deserialize, Eq, Ord)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gpt/types.rs:87:64 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Clone, Copy, PartialEq, PartialOrd, Serialize, Deserialize, Eq, Ord)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ask` (bin "ask" test) due to 4 previous errors; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ask` (bin "ask") due to 4 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b2b0ae7ed66a53a8c734f85ee59ded9419594579c1c365aea56390fd1b4fa88b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2b0ae7ed66a53a8c734f85ee59ded9419594579c1c365aea56390fd1b4fa88b", kill_on_drop: false }` [INFO] [stdout] b2b0ae7ed66a53a8c734f85ee59ded9419594579c1c365aea56390fd1b4fa88b