[INFO] cloning repository https://github.com/pjankiewicz/mechatyper
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pjankiewicz/mechatyper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpjankiewicz%2Fmechatyper", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpjankiewicz%2Fmechatyper'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2b34e3630b96ac9f9a1c7837fbfafec9c6a18b47
[INFO] checking pjankiewicz/mechatyper against try#14731909456ca628a194900c35659dfdcb359e77 for pr-149195-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpjankiewicz%2Fmechatyper" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pjankiewicz/mechatyper
[INFO] finished tweaking git repo https://github.com/pjankiewicz/mechatyper
[INFO] tweaked toml for git repo https://github.com/pjankiewicz/mechatyper written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pjankiewicz/mechatyper on toolchain 14731909456ca628a194900c35659dfdcb359e77
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+14731909456ca628a194900c35659dfdcb359e77" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pjankiewicz/mechatyper 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" "+14731909456ca628a194900c35659dfdcb359e77" "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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+14731909456ca628a194900c35659dfdcb359e77" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 485f1f83b33612c0f01beb861596b170be559e61081a0aa76561126534e8dd8f
[INFO] running `Command { std: "docker" "start" "-a" "485f1f83b33612c0f01beb861596b170be559e61081a0aa76561126534e8dd8f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "485f1f83b33612c0f01beb861596b170be559e61081a0aa76561126534e8dd8f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "485f1f83b33612c0f01beb861596b170be559e61081a0aa76561126534e8dd8f", kill_on_drop: false }`
[INFO] [stdout] 485f1f83b33612c0f01beb861596b170be559e61081a0aa76561126534e8dd8f
[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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+14731909456ca628a194900c35659dfdcb359e77" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c04461d69215f919b91f9aefeee81ea31bcd70e605a9178412c4421e5dab58f1
[INFO] running `Command { std: "docker" "start" "-a" "c04461d69215f919b91f9aefeee81ea31bcd70e605a9178412c4421e5dab58f1", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.62
[INFO] [stderr]    Compiling quote v1.0.28
[INFO] [stderr]    Compiling unicode-ident v1.0.9
[INFO] [stderr]    Compiling libc v0.2.146
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]     Checking once_cell v1.18.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]     Checking itoa v1.0.6
[INFO] [stderr]     Checking smallvec v1.10.0
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]     Checking bytes v1.4.0
[INFO] [stderr]    Compiling tokio v1.28.2
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling slab v0.4.8
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking tracing-core v0.1.31
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling openssl v0.10.55
[INFO] [stderr]    Compiling serde v1.0.164
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]     Checking tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]     Checking http v0.2.9
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling rustix v0.37.20
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]     Checking futures-sink v0.3.28
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]    Compiling serde_json v1.0.99
[INFO] [stderr]     Checking percent-encoding v2.3.0
[INFO] [stderr]     Checking linux-raw-sys v0.3.8
[INFO] [stderr]     Checking try-lock v0.2.4
[INFO] [stderr]     Checking log v0.4.19
[INFO] [stderr]     Checking ryu v1.0.13
[INFO] [stderr]     Checking form_urlencoded v1.2.0
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking unicode-bidi v0.3.13
[INFO] [stderr]     Checking aho-corasick v1.0.2
[INFO] [stderr]     Checking utf8parse v0.2.1
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking regex-syntax v0.7.2
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]     Checking anstyle-parse v0.2.1
[INFO] [stderr]     Checking encoding_rs v0.8.32
[INFO] [stderr]    Compiling anyhow v1.0.71
[INFO] [stderr]    Compiling openssl-sys v0.9.90
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking num_cpus v1.15.0
[INFO] [stderr]     Checking socket2 v0.4.9
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]    Compiling tree-sitter v0.20.10
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]    Compiling syn v2.0.22
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]     Checking ipnet v2.7.2
[INFO] [stderr]     Checking anstyle v1.0.1
[INFO] [stderr]     Checking base64 v0.21.2
[INFO] [stderr]     Checking colorchoice v1.0.0
[INFO] [stderr]     Checking anstyle-query v1.0.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling tree-sitter-rust v0.20.3
[INFO] [stderr]    Compiling tree-sitter-python v0.20.2
[INFO] [stderr]    Compiling tempfile v3.6.0
[INFO] [stderr]    Compiling schemars v0.8.12
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking clap_lex v0.5.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking futures-timer v3.0.2
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]     Checking idna v0.4.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking fastrand v1.9.0
[INFO] [stderr]     Checking dyn-clone v1.0.11
[INFO] [stderr]     Checking colored v2.0.0
[INFO] [stderr]     Checking strum v0.21.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking termcolor v1.2.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking url v2.4.0
[INFO] [stderr]     Checking is-terminal v0.4.7
[INFO] [stderr]     Checking eventsource-stream v0.2.3
[INFO] [stderr]     Checking anstream v0.3.2
[INFO] [stderr]     Checking clap_builder v4.3.8
[INFO] [stderr]     Checking regex v1.8.4
[INFO] [stderr]    Compiling darling_core v0.14.4
[INFO] [stderr]    Compiling serde_derive_internals v0.26.0
[INFO] [stderr]    Compiling strum_macros v0.21.1
[INFO] [stderr]    Compiling schemars_derive v0.8.12
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling futures-macro v0.3.28
[INFO] [stderr]    Compiling serde_derive v1.0.164
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling clap_derive v4.3.2
[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]     Checking clap v4.3.8
[INFO] [stderr]    Compiling derive_builder_macro v0.12.0
[INFO] [stderr]     Checking derive_builder v0.12.0
[INFO] [stderr]     Checking tokio-util v0.7.8
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking h2 v0.3.19
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking hyper v0.14.26
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.18
[INFO] [stderr]     Checking reqwest-eventsource v0.4.0
[INFO] [stderr]     Checking openai v1.0.0-alpha.12
[INFO] [stderr]     Checking mechatyper v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read`, `Write`, `stdin`, and `stdout`
[INFO] [stdout]  --> src/main.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{stdin, stdout, Read, Write};
[INFO] [stdout]   |               ^^^^^  ^^^^^^  ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/main.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::Scope`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::thread::Scope;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `env` and `fs`
[INFO] [stdout]  --> src/main.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::{env, fs};
[INFO] [stdout]   |           ^^^  ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Parser as ClapParser` and `Subcommand`
[INFO] [stdout]   --> src/main.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | use clap::{Parser as ClapParser, Subcommand};
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dotenv::dotenv`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use dotenv::dotenv;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `openai::set_key`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use openai::set_key;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `schemars::schema_for`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use schemars::schema_for;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Language`, `Node`, `Parser`, `QueryCursor`, and `Query`
[INFO] [stdout]   --> src/main.rs:17:19
[INFO] [stdout]    |
[INFO] [stdout] 17 | use tree_sitter::{Language, Node, Parser, Query, QueryCursor};
[INFO] [stdout]    |                   ^^^^^^^^  ^^^^  ^^^^^^  ^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `all_instruction_examples`
[INFO] [stdout]   --> src/main.rs:19:27
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::instructions::{all_instruction_examples, GoodInstructions, InitialInstruction};
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ProgItem` and `PythonProgItem`
[INFO] [stdout]   --> src/main.rs:20:19
[INFO] [stdout]    |
[INFO] [stdout] 20 | use crate::lang::{ProgItem, ProgLanguage, PythonProgItem};
[INFO] [stdout]    |                   ^^^^^^^^                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wrap_user_message`
[INFO] [stdout]   --> src/main.rs:23:36
[INFO] [stdout]    |
[INFO] [stdout] 23 |     user_action_to_chatgpt_prompt, wrap_user_message,
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ProgLanguage`
[INFO] [stdout]  --> src/instructions.rs:5:29
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::lang::{ProgItem, ProgLanguage, PythonProgItem};
[INFO] [stdout]   |                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]  --> src/lang.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display` and `Formatter`
[INFO] [stdout]  --> src/lang.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::{Display, Formatter};
[INFO] [stdout]   |                ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/lang.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prompts::quickcheck_prompt`
[INFO] [stdout]  --> src/llm.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::prompts::quickcheck_prompt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/llm.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::runtime::Runtime`
[INFO] [stdout]   --> src/llm.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::runtime::Runtime;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `JsonSchema` and `schema_for`
[INFO] [stdout]  --> src/prompts.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use schemars::{schema_for, JsonSchema};
[INFO] [stdout]   |                ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/prompts.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EnumString` and `EnumVariantNames`
[INFO] [stdout]  --> src/prompts.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use strum_macros::{EnumString, EnumVariantNames};
[INFO] [stdout]   |                    ^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `InitialInstruction`
[INFO] [stdout]  --> src/prompts.rs:6:53
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::instructions::{all_instruction_examples, InitialInstruction};
[INFO] [stdout]   |                                                     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ProgLanguage`
[INFO] [stdout]  --> src/prompts.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::lang::{ProgItem, ProgLanguage};
[INFO] [stdout]   |                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Node`
[INFO] [stdout]   --> src/search.rs:10:29
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tree_sitter::{Language, Node, Parser, Query, QueryCursor, Tree};
[INFO] [stdout]    |                             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read`, `Write`, `stdin`, and `stdout`
[INFO] [stdout]  --> src/main.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{stdin, stdout, Read, Write};
[INFO] [stdout]   |               ^^^^^  ^^^^^^  ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/main.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::Scope`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::thread::Scope;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `env` and `fs`
[INFO] [stdout]  --> src/main.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::{env, fs};
[INFO] [stdout]   |           ^^^  ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Parser as ClapParser` and `Subcommand`
[INFO] [stdout]   --> src/main.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | use clap::{Parser as ClapParser, Subcommand};
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dotenv::dotenv`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use dotenv::dotenv;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `openai::set_key`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use openai::set_key;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `schemars::schema_for`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use schemars::schema_for;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Language`, `Node`, `Parser`, `QueryCursor`, and `Query`
[INFO] [stdout]   --> src/main.rs:17:19
[INFO] [stdout]    |
[INFO] [stdout] 17 | use tree_sitter::{Language, Node, Parser, Query, QueryCursor};
[INFO] [stdout]    |                   ^^^^^^^^  ^^^^  ^^^^^^  ^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `all_instruction_examples`
[INFO] [stdout]   --> src/main.rs:19:27
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::instructions::{all_instruction_examples, GoodInstructions, InitialInstruction};
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ProgItem` and `PythonProgItem`
[INFO] [stdout]   --> src/main.rs:20:19
[INFO] [stdout]    |
[INFO] [stdout] 20 | use crate::lang::{ProgItem, ProgLanguage, PythonProgItem};
[INFO] [stdout]    |                   ^^^^^^^^                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wrap_user_message`
[INFO] [stdout]   --> src/main.rs:23:36
[INFO] [stdout]    |
[INFO] [stdout] 23 |     user_action_to_chatgpt_prompt, wrap_user_message,
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ProgLanguage`
[INFO] [stdout]  --> src/instructions.rs:5:29
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::lang::{ProgItem, ProgLanguage, PythonProgItem};
[INFO] [stdout]   |                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]  --> src/lang.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display` and `Formatter`
[INFO] [stdout]  --> src/lang.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::{Display, Formatter};
[INFO] [stdout]   |                ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/lang.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/llm.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `JsonSchema` and `schema_for`
[INFO] [stdout]  --> src/prompts.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use schemars::{schema_for, JsonSchema};
[INFO] [stdout]   |                ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/prompts.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EnumString` and `EnumVariantNames`
[INFO] [stdout]  --> src/prompts.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use strum_macros::{EnumString, EnumVariantNames};
[INFO] [stdout]   |                    ^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `InitialInstruction`
[INFO] [stdout]  --> src/prompts.rs:6:53
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::instructions::{all_instruction_examples, InitialInstruction};
[INFO] [stdout]   |                                                     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ProgLanguage`
[INFO] [stdout]  --> src/prompts.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::lang::{ProgItem, ProgLanguage};
[INFO] [stdout]   |                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Node`
[INFO] [stdout]   --> src/search.rs:10:29
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tree_sitter::{Language, Node, Parser, Query, QueryCursor, Tree};
[INFO] [stdout]    |                             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]    --> src/search.rs:216:9
[INFO] [stdout]     |
[INFO] [stdout] 216 |     use std::path::Path;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prog_item`
[INFO] [stdout]    --> src/prompts.rs:108:38
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub fn user_action_to_chatgpt_prompt(prog_item: &ProgItem, user_message: &str) -> String {
[INFO] [stdout]     |                                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prog_item`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/search.rs:107:17
[INFO] [stdout]     |
[INFO] [stdout] 107 |             let value = node
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prog_item`
[INFO] [stdout]    --> src/prompts.rs:108:38
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub fn user_action_to_chatgpt_prompt(prog_item: &ProgItem, user_message: &str) -> String {
[INFO] [stdout]     |                                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prog_item`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `function_call`
[INFO] [stdout]    --> src/main.rs:170:5
[INFO] [stdout]     |
[INFO] [stdout] 170 |     function_call: Option<String>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_call`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_python_code` is never used
[INFO] [stdout]   --> src/code_cleaning.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub fn extract_python_code(input: &str) -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `user_error_instruction_example` is never used
[INFO] [stdout]   --> src/instructions.rs:68:8
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub fn user_error_instruction_example() -> Result<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_env_variables` is never used
[INFO] [stdout]   --> src/llm.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn load_env_variables() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_chat_prompt` is never used
[INFO] [stdout]   --> src/llm.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | async fn process_chat_prompt(
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `wrap_user_message` is never used
[INFO] [stdout]   --> src/prompts.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn wrap_user_message(user_message: &str) -> Result<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `quickcheck_prompt` is never used
[INFO] [stdout]    --> src/prompts.rs:152:8
[INFO] [stdout]     |
[INFO] [stdout] 152 | pub fn quickcheck_prompt(task: &str) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `start_byte` and `end_byte` are never read
[INFO] [stdout]   --> src/search.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct ItemDef {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub start_byte: usize,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 20 |     pub end_byte: usize,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ItemDef` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_all_items_from_directory` is never used
[INFO] [stdout]   --> src/search.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn extract_all_items_from_directory(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/search.rs:107:17
[INFO] [stdout]     |
[INFO] [stdout] 107 |             let value = node
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `function_call`
[INFO] [stdout]    --> src/main.rs:170:5
[INFO] [stdout]     |
[INFO] [stdout] 170 |     function_call: Option<String>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_call`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `user_error_instruction_example` is never used
[INFO] [stdout]   --> src/instructions.rs:68:8
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub fn user_error_instruction_example() -> Result<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `wrap_user_message` is never used
[INFO] [stdout]   --> src/prompts.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn wrap_user_message(user_message: &str) -> Result<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `start_byte` and `end_byte` are never read
[INFO] [stdout]   --> src/search.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct ItemDef {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub start_byte: usize,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 20 |     pub end_byte: usize,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ItemDef` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_all_items_from_directory` is never used
[INFO] [stdout]   --> src/search.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn extract_all_items_from_directory(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.53s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.55
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "c04461d69215f919b91f9aefeee81ea31bcd70e605a9178412c4421e5dab58f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c04461d69215f919b91f9aefeee81ea31bcd70e605a9178412c4421e5dab58f1", kill_on_drop: false }`
[INFO] [stdout] c04461d69215f919b91f9aefeee81ea31bcd70e605a9178412c4421e5dab58f1
