[INFO] cloning repository https://github.com/RobertasJ/devgpt-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RobertasJ/devgpt-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobertasJ%2Fdevgpt-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobertasJ%2Fdevgpt-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8dca9e2341d966a863d7287262d8487d104a9865 [INFO] checking RobertasJ/devgpt-cli against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobertasJ%2Fdevgpt-cli" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RobertasJ/devgpt-cli on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/RobertasJ/devgpt-cli [INFO] finished tweaking git repo https://github.com/RobertasJ/devgpt-cli [INFO] tweaked toml for git repo https://github.com/RobertasJ/devgpt-cli written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/RobertasJ/devgpt-cli 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded reqwest-eventsource v0.5.0 [INFO] [stderr] Downloaded tiktoken-rs v0.5.6 [INFO] [stderr] Downloaded openai-macros v0.2.0 [INFO] [stderr] Downloaded openai-utils v0.1.0 [INFO] [stderr] Downloaded openai-utils v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c57a8567d65561f8a6eff4f7dfc414f61e10c27a0f0b928676ccd23c572a88a [INFO] running `Command { std: "docker" "start" "-a" "3c57a8567d65561f8a6eff4f7dfc414f61e10c27a0f0b928676ccd23c572a88a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c57a8567d65561f8a6eff4f7dfc414f61e10c27a0f0b928676ccd23c572a88a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c57a8567d65561f8a6eff4f7dfc414f61e10c27a0f0b928676ccd23c572a88a", kill_on_drop: false }` [INFO] [stdout] 3c57a8567d65561f8a6eff4f7dfc414f61e10c27a0f0b928676ccd23c572a88a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d63717a6b46674b504039e3718937176abc58c7c95ebcdb11b9c549793743d7e [INFO] running `Command { std: "docker" "start" "-a" "d63717a6b46674b504039e3718937176abc58c7c95ebcdb11b9c549793743d7e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling schemars v0.8.16 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling portable-atomic v1.5.1 [INFO] [stderr] Compiling dyn-clone v1.0.14 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Checking hashbrown v0.14.2 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking winnow v0.5.17 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking indexmap v2.0.2 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Checking indicatif v0.17.7 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking eventsource-stream v0.2.3 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling schemars_derive v0.8.16 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking bstr v1.7.0 [INFO] [stderr] Checking fancy-regex v0.11.0 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Checking tiktoken-rs v0.5.6 [INFO] [stderr] Checking futures-executor v0.3.29 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.4 [INFO] [stderr] Checking toml_edit v0.20.7 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking toml v0.8.6 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.22 [INFO] [stderr] Checking reqwest-eventsource v0.5.0 [INFO] [stderr] Checking openai-utils v0.5.1 [INFO] [stderr] Compiling reqwest-eventsource v0.4.0 [INFO] [stderr] Compiling openai-utils v0.1.0 [INFO] [stderr] Compiling openai-macros v0.2.0 [INFO] [stderr] Checking devgpt-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/main.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{debug, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{stdin, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ctag`, `CtagsOutput` [INFO] [stdout] --> src/main.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::ctags::{Ctag, CtagsOutput}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::Error` [INFO] [stdout] --> src/ctags.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::de::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/ai/search.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NoArgs` [INFO] [stdout] --> src/ai/search.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | use openai_utils::{FunctionCall, NoArgs}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ai::blacklist` [INFO] [stdout] --> src/ai/search.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::ai::blacklist; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::CONFIG` [INFO] [stdout] --> src/ai/search.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::config::CONFIG; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ctag` [INFO] [stdout] --> src/ai/search.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::ctags::{Ctag, CtagsOutput}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/main.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{debug, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{stdin, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ctag`, `CtagsOutput` [INFO] [stdout] --> src/main.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::ctags::{Ctag, CtagsOutput}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::Error` [INFO] [stdout] --> src/ctags.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::de::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/ai/search.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NoArgs` [INFO] [stdout] --> src/ai/search.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | use openai_utils::{FunctionCall, NoArgs}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ai::blacklist` [INFO] [stdout] --> src/ai/search.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::ai::blacklist; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::CONFIG` [INFO] [stdout] --> src/ai/search.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::config::CONFIG; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ctag` [INFO] [stdout] --> src/ai/search.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::ctags::{Ctag, CtagsOutput}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save` is never used [INFO] [stdout] --> src/config.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub trait ConfigTrait { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 47 | fn save(&self); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ptag` and `is_tag` are never used [INFO] [stdout] --> src/ctags.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Ctag { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 37 | pub fn is_ptag(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn is_tag(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `tags`, `ptags`, `max_slice`, `max_slices`, `is_empty`, and `is_not_empty` are never used [INFO] [stdout] --> src/ctags.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl CtagsOutput { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn tags(self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn ptags(self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn max_slice(mut self, bpe: &CoreBPE, max_tokens: usize) -> (Self, Self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn max_slices(mut self, bpe: &CoreBPE, max_tokens: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | fn is_not_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/ai/search.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ai/search.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | dbg!(res); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save` is never used [INFO] [stdout] --> src/config.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub trait ConfigTrait { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 47 | fn save(&self); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ptag` and `is_tag` are never used [INFO] [stdout] --> src/ctags.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Ctag { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 37 | pub fn is_ptag(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn is_tag(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `tags`, `ptags`, `max_slice`, `max_slices`, `is_empty`, and `is_not_empty` are never used [INFO] [stdout] --> src/ctags.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl CtagsOutput { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn tags(self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn ptags(self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn max_slice(mut self, bpe: &CoreBPE, max_tokens: usize) -> (Self, Self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn max_slices(mut self, bpe: &CoreBPE, max_tokens: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | fn is_not_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/ai/search.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.26s [INFO] running `Command { std: "docker" "inspect" "d63717a6b46674b504039e3718937176abc58c7c95ebcdb11b9c549793743d7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d63717a6b46674b504039e3718937176abc58c7c95ebcdb11b9c549793743d7e", kill_on_drop: false }` [INFO] [stdout] d63717a6b46674b504039e3718937176abc58c7c95ebcdb11b9c549793743d7e [INFO] checking RobertasJ/devgpt-cli against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobertasJ%2Fdevgpt-cli" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RobertasJ/devgpt-cli on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/RobertasJ/devgpt-cli [INFO] finished tweaking git repo https://github.com/RobertasJ/devgpt-cli [INFO] tweaked toml for git repo https://github.com/RobertasJ/devgpt-cli written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/RobertasJ/devgpt-cli 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25c233d45849655b2e1727df62debd9f8abb764b6951c3db82c685965639b9ef [INFO] running `Command { std: "docker" "start" "-a" "25c233d45849655b2e1727df62debd9f8abb764b6951c3db82c685965639b9ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25c233d45849655b2e1727df62debd9f8abb764b6951c3db82c685965639b9ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25c233d45849655b2e1727df62debd9f8abb764b6951c3db82c685965639b9ef", kill_on_drop: false }` [INFO] [stdout] 25c233d45849655b2e1727df62debd9f8abb764b6951c3db82c685965639b9ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff4c22b9a228d1f3cdba57a7d51912b0c04a0d46b39524771707feb0095c024b [INFO] running `Command { std: "docker" "start" "-a" "ff4c22b9a228d1f3cdba57a7d51912b0c04a0d46b39524771707feb0095c024b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling schemars v0.8.16 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling dyn-clone v1.0.14 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Compiling portable-atomic v1.5.1 [INFO] [stderr] Checking hashbrown v0.14.2 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking winnow v0.5.17 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking indexmap v2.0.2 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Checking indicatif v0.17.7 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling schemars_derive v0.8.16 [INFO] [stderr] Checking tokio v1.33.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking bstr v1.7.0 [INFO] [stderr] Checking fancy-regex v0.11.0 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking tiktoken-rs v0.5.6 [INFO] [stderr] Checking futures-executor v0.3.29 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_spanned v0.6.4 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking toml_edit v0.20.7 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking toml v0.8.6 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.22 [INFO] [stderr] Checking reqwest-eventsource v0.5.0 [INFO] [stderr] Checking openai-utils v0.5.1 [INFO] [stderr] Compiling reqwest-eventsource v0.4.0 [INFO] [stderr] Compiling openai-utils v0.1.0 [INFO] [stderr] Compiling openai-macros v0.2.0 [INFO] [stderr] Checking devgpt-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/main.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{debug, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{stdin, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ctag`, `CtagsOutput` [INFO] [stdout] --> src/main.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::ctags::{Ctag, CtagsOutput}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::Error` [INFO] [stdout] --> src/ctags.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::de::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/ai/search.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NoArgs` [INFO] [stdout] --> src/ai/search.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | use openai_utils::{FunctionCall, NoArgs}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ai::blacklist` [INFO] [stdout] --> src/ai/search.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::ai::blacklist; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::CONFIG` [INFO] [stdout] --> src/ai/search.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::config::CONFIG; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ctag` [INFO] [stdout] --> src/ai/search.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::ctags::{Ctag, CtagsOutput}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/main.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{debug, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{stdin, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ctag`, `CtagsOutput` [INFO] [stdout] --> src/main.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::ctags::{Ctag, CtagsOutput}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::Error` [INFO] [stdout] --> src/ctags.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::de::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/ai/search.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NoArgs` [INFO] [stdout] --> src/ai/search.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | use openai_utils::{FunctionCall, NoArgs}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ai::blacklist` [INFO] [stdout] --> src/ai/search.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::ai::blacklist; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::CONFIG` [INFO] [stdout] --> src/ai/search.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::config::CONFIG; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ctag` [INFO] [stdout] --> src/ai/search.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::ctags::{Ctag, CtagsOutput}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save` is never used [INFO] [stdout] --> src/config.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub trait ConfigTrait { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 47 | fn save(&self); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ptag` and `is_tag` are never used [INFO] [stdout] --> src/ctags.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Ctag { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 37 | pub fn is_ptag(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn is_tag(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `tags`, `ptags`, `max_slice`, `max_slices`, `is_empty`, and `is_not_empty` are never used [INFO] [stdout] --> src/ctags.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl CtagsOutput { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn tags(self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn ptags(self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn max_slice(mut self, bpe: &CoreBPE, max_tokens: usize) -> (Self, Self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn max_slices(mut self, bpe: &CoreBPE, max_tokens: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | fn is_not_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/ai/search.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save` is never used [INFO] [stdout] --> src/config.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub trait ConfigTrait { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 47 | fn save(&self); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ptag` and `is_tag` are never used [INFO] [stdout] --> src/ctags.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Ctag { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 37 | pub fn is_ptag(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn is_tag(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `tags`, `ptags`, `max_slice`, `max_slices`, `is_empty`, and `is_not_empty` are never used [INFO] [stdout] --> src/ctags.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl CtagsOutput { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn tags(self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn ptags(self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn max_slice(mut self, bpe: &CoreBPE, max_tokens: usize) -> (Self, Self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn max_slices(mut self, bpe: &CoreBPE, max_tokens: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | fn is_not_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/ai/search.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ai/search.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | dbg!(res); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.97s [INFO] running `Command { std: "docker" "inspect" "ff4c22b9a228d1f3cdba57a7d51912b0c04a0d46b39524771707feb0095c024b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff4c22b9a228d1f3cdba57a7d51912b0c04a0d46b39524771707feb0095c024b", kill_on_drop: false }` [INFO] [stdout] ff4c22b9a228d1f3cdba57a7d51912b0c04a0d46b39524771707feb0095c024b