[INFO] cloning repository https://github.com/nikomain/th-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nikomain/th-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikomain%2Fth-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikomain%2Fth-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1b880e191299111b2f40115210f3a60ee7206cc0
[INFO] testing nikomain/th-rust against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759-retry
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikomain%2Fth-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/nikomain/th-rust
[INFO] finished tweaking git repo https://github.com/nikomain/th-rust
[INFO] tweaked toml for git repo https://github.com/nikomain/th-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nikomain/th-rust on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/nikomain/th-rust 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 668abfea87316e9086c4f3bbf5464b8c5c516afa1db87162985fcb6d5b9295a2
[INFO] running `Command { std: "docker" "start" "-a" "668abfea87316e9086c4f3bbf5464b8c5c516afa1db87162985fcb6d5b9295a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "668abfea87316e9086c4f3bbf5464b8c5c516afa1db87162985fcb6d5b9295a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "668abfea87316e9086c4f3bbf5464b8c5c516afa1db87162985fcb6d5b9295a2", kill_on_drop: false }`
[INFO] [stdout] 668abfea87316e9086c4f3bbf5464b8c5c516afa1db87162985fcb6d5b9295a2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0e811eb9b8e4ff6812712d53f994cff61bc6f039b1a33f6e49fc803802574a93
[INFO] running `Command { std: "docker" "start" "-a" "0e811eb9b8e4ff6812712d53f994cff61bc6f039b1a33f6e49fc803802574a93", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling cc v1.2.32
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling serde_json v1.0.142
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling dlv-list v0.5.2
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling unicode-width v0.2.1
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling portable-atomic v1.11.1
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling winnow v0.7.12
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling anstream v0.6.20
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling console v0.15.11
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling ordered-multimap v0.7.3
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling semver v1.0.26
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling arraydeque v0.5.1
[INFO] [stderr]    Compiling clap_lex v0.7.5
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling clap_builder v4.5.43
[INFO] [stderr]    Compiling yaml-rust2 v0.8.1
[INFO] [stderr]    Compiling convert_case v0.6.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling signal-hook-mio v0.2.4
[INFO] [stderr]    Compiling rust-ini v0.20.0
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling shell-words v1.1.0
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling number_prefix v0.4.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling pathdiff v0.2.3
[INFO] [stderr]    Compiling indicatif v0.17.11
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling shellwords v1.1.0
[INFO] [stderr]    Compiling dirs v5.0.1
[INFO] [stderr]    Compiling colored v2.2.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap_derive v4.5.41
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling pest v2.8.1
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling pest_meta v2.8.1
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling pest_generator v2.8.1
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling pest_derive v2.8.1
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling json5 v0.4.1
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling tempfile v3.20.0
[INFO] [stderr]    Compiling ron v0.8.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling dialoguer v0.11.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling which v6.0.3
[INFO] [stderr]    Compiling config v0.14.1
[INFO] [stderr]    Compiling webbrowser v1.0.5
[INFO] [stderr]    Compiling crossterm v0.27.0
[INFO] [stderr]    Compiling clap v4.5.43
[INFO] [stderr]    Compiling th v1.5.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `print_success`
[INFO] [stdout]  --> src/commands/aws.rs:3:78
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::display::{clear_screen, create_header, create_menu, show_loading, print_success, print_error, print_info, display_code, create...
[INFO] [stdout]   |                                                                              ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::shell::ShellIntegration`
[INFO] [stdout]  --> src/commands/aws.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::shell::ShellIntegration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/commands/aws.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::fs`
[INFO] [stdout]  --> src/commands/aws.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio::fs;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::Stdio`
[INFO] [stdout]    --> src/commands/aws.rs:289:9
[INFO] [stdout]     |
[INFO] [stdout] 289 |     use std::process::Stdio;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::process::Command`
[INFO] [stdout]    --> src/commands/aws.rs:290:9
[INFO] [stdout]     |
[INFO] [stdout] 290 |     use tokio::process::Command;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `create_menu`
[INFO] [stdout]  --> src/commands/database.rs:3:51
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::display::{clear_screen, create_header, create_menu, load_content, print_success, print_error, print_info, display_code};
[INFO] [stdout]   |                                                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout]  --> src/commands/database.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde_json::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `create_menu`, `print_info`, and `print_success`
[INFO] [stdout]  --> src/commands/kube.rs:3:51
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::display::{clear_screen, create_header, create_menu, show_loading, print_success, print_error, print_info, display_code};
[INFO] [stdout]   |                                                   ^^^^^^^^^^^                ^^^^^^^^^^^^^               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Output`
[INFO] [stdout]  --> src/process.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::process::{Output, Stdio};
[INFO] [stdout]   |                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/commands/aws.rs:74:53
[INFO] [stdout]    |
[INFO] [stdout] 74 | async fn interactive_login(client: &TeleportClient, config: &Config, use_sudo: bool) -> Result<()> {
[INFO] [stdout]    |                                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `use_sudo`
[INFO] [stdout]   --> src/commands/aws.rs:74:70
[INFO] [stdout]    |
[INFO] [stdout] 74 | async fn interactive_login(client: &TeleportClient, config: &Config, use_sudo: bool) -> Result<()> {
[INFO] [stdout]    |                                                                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_use_sudo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `child`
[INFO] [stdout]    --> src/commands/aws.rs:308:13
[INFO] [stdout]     |
[INFO] [stdout] 308 |     let mut child = std::process::Command::new("tsh")
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_child`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/commands/aws.rs:308:9
[INFO] [stdout]     |
[INFO] [stdout] 308 |     let mut child = std::process::Command::new("tsh")
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client`
[INFO] [stdout]    --> src/commands/database.rs:464:22
[INFO] [stdout]     |
[INFO] [stdout] 464 | async fn check_admin(client: &TeleportClient) -> Result<String> {
[INFO] [stdout]     |                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/commands/database.rs:494:9
[INFO] [stdout]     |
[INFO] [stdout] 494 |     for i in (1..=3).rev() {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client`
[INFO] [stdout]    --> src/commands/kube.rs:114:30
[INFO] [stdout]     |
[INFO] [stdout] 114 | async fn kube_elevated_login(client: &TeleportClient, cluster: &str) -> Result<()> {
[INFO] [stdout]     |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line1_color`
[INFO] [stdout]    --> src/display.rs:425:13
[INFO] [stdout]     |
[INFO] [stdout] 425 |         let line1_color = colors[(frame + 0) % colors.len()];
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line1_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_env_for_account` is never used
[INFO] [stdout]    --> src/commands/aws.rs:403:4
[INFO] [stdout]     |
[INFO] [stdout] 403 | fn find_env_for_account(config: &Config, account_name: &str) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cleanup_kubectl_contexts` is never used
[INFO] [stdout]   --> src/commands/logout.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | async fn cleanup_kubectl_contexts() -> Result<()> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `list_kube_envs` is never used
[INFO] [stdout]    --> src/config.rs:122:12
[INFO] [stdout]     |
[INFO] [stdout] 73  | impl Config {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn list_kube_envs(&self) -> Vec<&String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `display_status_list` is never used
[INFO] [stdout]    --> src/display.rs:154:8
[INFO] [stdout]     |
[INFO] [stdout] 154 | pub fn display_status_list(items: &[(String, bool)]) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_warning` is never used
[INFO] [stdout]    --> src/display.rs:267:8
[INFO] [stdout]     |
[INFO] [stdout] 267 | pub fn print_warning(message: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ccode` is never used
[INFO] [stdout]    --> src/display.rs:287:8
[INFO] [stdout]     |
[INFO] [stdout] 287 | pub fn ccode(text: &str) -> String {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `InvalidInput`, `Network`, `Shell`, and `Proxy` are never constructed
[INFO] [stdout]   --> src/error.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 4  | pub enum ThError {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 18 |     InvalidInput(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     Network(String),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     Shell(String),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     Proxy(String),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ThError` 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 `execute_command_with_output` is never used
[INFO] [stdout]   --> src/process.rs:30:14
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub async fn execute_command_with_output(program: &str, args: &[&str]) -> Result<ProcessOutput> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProcessOutput` is never constructed
[INFO] [stdout]   --> src/process.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct ProcessOutput {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `execute_command_with_timeout` is never used
[INFO] [stdout]   --> src/process.rs:53:14
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub async fn execute_command_with_timeout(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `execute_command_interactive` is never used
[INFO] [stdout]   --> src/process.rs:85:14
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub async fn execute_command_interactive(program: &str, args: &[&str]) -> Result<()> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `kill_processes_by_pattern` is never used
[INFO] [stdout]    --> src/process.rs:105:14
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub async fn kill_processes_by_pattern(pattern: &str) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `command_exists` is never used
[INFO] [stdout]    --> src/process.rs:122:14
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub async fn command_exists(command: &str) -> bool {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_env_vars` is never used
[INFO] [stdout]    --> src/process.rs:127:8
[INFO] [stdout]     |
[INFO] [stdout] 127 | pub fn get_env_vars() -> HashMap<String, String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `execute_with_env` is never used
[INFO] [stdout]    --> src/process.rs:132:14
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub async fn execute_with_env(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `execute_background` is never used
[INFO] [stdout]    --> src/process.rs:160:14
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub async fn execute_background(program: &str, args: &[&str]) -> Result<tokio::process::Child> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ShellIntegration` is never constructed
[INFO] [stdout]  --> src/shell.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct ShellIntegration {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ShellType` is never used
[INFO] [stdout]   --> src/shell.rs:14:6
[INFO] [stdout]    |
[INFO] [stdout] 14 | enum ShellType {
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/shell.rs:22:18
[INFO] [stdout]     |
[INFO] [stdout] 21  | impl ShellIntegration {
[INFO] [stdout]     | --------------------- associated items in this implementation
[INFO] [stdout] 22  |     pub async fn new() -> Result<Self> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 33  |     fn detect_shell() -> ShellType {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47  |     fn get_profile_path(shell_type: &ShellType) -> Result<PathBuf> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62  |     pub async fn source_aws_credentials(&self, credentials_file: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72  |     async fn add_to_profile(&self, content: &str) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 99  |     pub async fn cleanup_profile(&self) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |     fn is_th_related_line(&self, line: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 133 |     pub async fn cleanup_temp_files() -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     pub async fn execute_in_shell(&self, command: &str) -> Result<String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 |     pub async fn get_shell_env(&self) -> Result<std::collections::HashMap<String, String>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 186 |     pub async fn set_env_var(&self, key: &str, value: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub async fn unset_env_var(&self, key: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 207 |     pub fn supports_feature(&self, feature: &str) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `logout`, `aws_login_discover_roles`, and `list_databases` are never used
[INFO] [stdout]    --> src/teleport.rs:177:18
[INFO] [stdout]     |
[INFO] [stdout] 40  | impl TeleportClient {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 177 |     pub async fn logout(&self) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 294 |     pub async fn aws_login_discover_roles(&self, app_name: &str) -> Result<String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 314 |     pub async fn list_databases(&self) -> Result<Vec<Value>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `html_url` are never read
[INFO] [stdout]   --> src/update.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct GitHubRelease {
[INFO] [stdout]    |        ------------- fields in this struct
[INFO] [stdout] 14 |     tag_name: String,
[INFO] [stdout] 15 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 16 |     body: String,
[INFO] [stdout] 17 |     html_url: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GitHubRelease` 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 `check_for_updates_now` is never used
[INFO] [stdout]   --> src/update.rs:80:18
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl UpdateChecker {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 80 |     pub async fn check_for_updates_now(&self) -> Result<bool> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 43s
[INFO] running `Command { std: "docker" "inspect" "0e811eb9b8e4ff6812712d53f994cff61bc6f039b1a33f6e49fc803802574a93", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e811eb9b8e4ff6812712d53f994cff61bc6f039b1a33f6e49fc803802574a93", kill_on_drop: false }`
[INFO] [stdout] 0e811eb9b8e4ff6812712d53f994cff61bc6f039b1a33f6e49fc803802574a93
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6a2ccee1cf3f0ce0f055efb5f2c9504c3e64620d98c9f78350dd9ed2ca5a1e52
[INFO] running `Command { std: "docker" "start" "-a" "6a2ccee1cf3f0ce0f055efb5f2c9504c3e64620d98c9f78350dd9ed2ca5a1e52", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling tokio-test v0.4.4
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling th v1.5.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `print_success`
[INFO] [stdout]  --> src/commands/aws.rs:3:78
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::display::{clear_screen, create_header, create_menu, show_loading, print_success, print_error, print_info, display_code, create...
[INFO] [stdout]   |                                                                              ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::shell::ShellIntegration`
[INFO] [stdout]  --> src/commands/aws.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::shell::ShellIntegration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/commands/aws.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::fs`
[INFO] [stdout]  --> src/commands/aws.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio::fs;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::Stdio`
[INFO] [stdout]    --> src/commands/aws.rs:289:9
[INFO] [stdout]     |
[INFO] [stdout] 289 |     use std::process::Stdio;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::process::Command`
[INFO] [stdout]    --> src/commands/aws.rs:290:9
[INFO] [stdout]     |
[INFO] [stdout] 290 |     use tokio::process::Command;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `create_menu`
[INFO] [stdout]  --> src/commands/database.rs:3:51
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::display::{clear_screen, create_header, create_menu, load_content, print_success, print_error, print_info, display_code};
[INFO] [stdout]   |                                                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout]  --> src/commands/database.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde_json::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `create_menu`, `print_info`, and `print_success`
[INFO] [stdout]  --> src/commands/kube.rs:3:51
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::display::{clear_screen, create_header, create_menu, show_loading, print_success, print_error, print_info, display_code};
[INFO] [stdout]   |                                                   ^^^^^^^^^^^                ^^^^^^^^^^^^^               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Output`
[INFO] [stdout]  --> src/process.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::process::{Output, Stdio};
[INFO] [stdout]   |                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/commands/aws.rs:74:53
[INFO] [stdout]    |
[INFO] [stdout] 74 | async fn interactive_login(client: &TeleportClient, config: &Config, use_sudo: bool) -> Result<()> {
[INFO] [stdout]    |                                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `use_sudo`
[INFO] [stdout]   --> src/commands/aws.rs:74:70
[INFO] [stdout]    |
[INFO] [stdout] 74 | async fn interactive_login(client: &TeleportClient, config: &Config, use_sudo: bool) -> Result<()> {
[INFO] [stdout]    |                                                                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_use_sudo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `child`
[INFO] [stdout]    --> src/commands/aws.rs:308:13
[INFO] [stdout]     |
[INFO] [stdout] 308 |     let mut child = std::process::Command::new("tsh")
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_child`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/commands/aws.rs:308:9
[INFO] [stdout]     |
[INFO] [stdout] 308 |     let mut child = std::process::Command::new("tsh")
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client`
[INFO] [stdout]    --> src/commands/database.rs:464:22
[INFO] [stdout]     |
[INFO] [stdout] 464 | async fn check_admin(client: &TeleportClient) -> Result<String> {
[INFO] [stdout]     |                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/commands/database.rs:494:9
[INFO] [stdout]     |
[INFO] [stdout] 494 |     for i in (1..=3).rev() {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client`
[INFO] [stdout]    --> src/commands/kube.rs:114:30
[INFO] [stdout]     |
[INFO] [stdout] 114 | async fn kube_elevated_login(client: &TeleportClient, cluster: &str) -> Result<()> {
[INFO] [stdout]     |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line1_color`
[INFO] [stdout]    --> src/display.rs:425:13
[INFO] [stdout]     |
[INFO] [stdout] 425 |         let line1_color = colors[(frame + 0) % colors.len()];
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line1_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_env_for_account` is never used
[INFO] [stdout]    --> src/commands/aws.rs:403:4
[INFO] [stdout]     |
[INFO] [stdout] 403 | fn find_env_for_account(config: &Config, account_name: &str) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cleanup_kubectl_contexts` is never used
[INFO] [stdout]   --> src/commands/logout.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | async fn cleanup_kubectl_contexts() -> Result<()> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `list_kube_envs` is never used
[INFO] [stdout]    --> src/config.rs:122:12
[INFO] [stdout]     |
[INFO] [stdout] 73  | impl Config {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn list_kube_envs(&self) -> Vec<&String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `display_status_list` is never used
[INFO] [stdout]    --> src/display.rs:154:8
[INFO] [stdout]     |
[INFO] [stdout] 154 | pub fn display_status_list(items: &[(String, bool)]) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_warning` is never used
[INFO] [stdout]    --> src/display.rs:267:8
[INFO] [stdout]     |
[INFO] [stdout] 267 | pub fn print_warning(message: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ccode` is never used
[INFO] [stdout]    --> src/display.rs:287:8
[INFO] [stdout]     |
[INFO] [stdout] 287 | pub fn ccode(text: &str) -> String {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `InvalidInput`, `Network`, `Shell`, and `Proxy` are never constructed
[INFO] [stdout]   --> src/error.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 4  | pub enum ThError {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 18 |     InvalidInput(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     Network(String),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     Shell(String),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     Proxy(String),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ThError` 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 `execute_command_with_output` is never used
[INFO] [stdout]   --> src/process.rs:30:14
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub async fn execute_command_with_output(program: &str, args: &[&str]) -> Result<ProcessOutput> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProcessOutput` is never constructed
[INFO] [stdout]   --> src/process.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct ProcessOutput {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `execute_command_with_timeout` is never used
[INFO] [stdout]   --> src/process.rs:53:14
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub async fn execute_command_with_timeout(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `execute_command_interactive` is never used
[INFO] [stdout]   --> src/process.rs:85:14
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub async fn execute_command_interactive(program: &str, args: &[&str]) -> Result<()> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `kill_processes_by_pattern` is never used
[INFO] [stdout]    --> src/process.rs:105:14
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub async fn kill_processes_by_pattern(pattern: &str) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `command_exists` is never used
[INFO] [stdout]    --> src/process.rs:122:14
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub async fn command_exists(command: &str) -> bool {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_env_vars` is never used
[INFO] [stdout]    --> src/process.rs:127:8
[INFO] [stdout]     |
[INFO] [stdout] 127 | pub fn get_env_vars() -> HashMap<String, String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `execute_with_env` is never used
[INFO] [stdout]    --> src/process.rs:132:14
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub async fn execute_with_env(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `execute_background` is never used
[INFO] [stdout]    --> src/process.rs:160:14
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub async fn execute_background(program: &str, args: &[&str]) -> Result<tokio::process::Child> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ShellIntegration` is never constructed
[INFO] [stdout]  --> src/shell.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct ShellIntegration {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ShellType` is never used
[INFO] [stdout]   --> src/shell.rs:14:6
[INFO] [stdout]    |
[INFO] [stdout] 14 | enum ShellType {
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/shell.rs:22:18
[INFO] [stdout]     |
[INFO] [stdout] 21  | impl ShellIntegration {
[INFO] [stdout]     | --------------------- associated items in this implementation
[INFO] [stdout] 22  |     pub async fn new() -> Result<Self> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 33  |     fn detect_shell() -> ShellType {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47  |     fn get_profile_path(shell_type: &ShellType) -> Result<PathBuf> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62  |     pub async fn source_aws_credentials(&self, credentials_file: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72  |     async fn add_to_profile(&self, content: &str) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 99  |     pub async fn cleanup_profile(&self) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |     fn is_th_related_line(&self, line: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 133 |     pub async fn cleanup_temp_files() -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     pub async fn execute_in_shell(&self, command: &str) -> Result<String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 |     pub async fn get_shell_env(&self) -> Result<std::collections::HashMap<String, String>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 186 |     pub async fn set_env_var(&self, key: &str, value: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub async fn unset_env_var(&self, key: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 207 |     pub fn supports_feature(&self, feature: &str) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `logout`, `aws_login_discover_roles`, and `list_databases` are never used
[INFO] [stdout]    --> src/teleport.rs:177:18
[INFO] [stdout]     |
[INFO] [stdout] 40  | impl TeleportClient {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 177 |     pub async fn logout(&self) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 294 |     pub async fn aws_login_discover_roles(&self, app_name: &str) -> Result<String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 314 |     pub async fn list_databases(&self) -> Result<Vec<Value>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `html_url` are never read
[INFO] [stdout]   --> src/update.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct GitHubRelease {
[INFO] [stdout]    |        ------------- fields in this struct
[INFO] [stdout] 14 |     tag_name: String,
[INFO] [stdout] 15 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 16 |     body: String,
[INFO] [stdout] 17 |     html_url: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GitHubRelease` 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 `check_for_updates_now` is never used
[INFO] [stdout]   --> src/update.rs:80:18
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl UpdateChecker {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 80 |     pub async fn check_for_updates_now(&self) -> Result<bool> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 42.30s
[INFO] running `Command { std: "docker" "inspect" "6a2ccee1cf3f0ce0f055efb5f2c9504c3e64620d98c9f78350dd9ed2ca5a1e52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a2ccee1cf3f0ce0f055efb5f2c9504c3e64620d98c9f78350dd9ed2ca5a1e52", kill_on_drop: false }`
[INFO] [stdout] 6a2ccee1cf3f0ce0f055efb5f2c9504c3e64620d98c9f78350dd9ed2ca5a1e52
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0910622d572facb0d8a99388aa43b4174f7411548982281d58cefe1ac8f6efbe
[INFO] running `Command { std: "docker" "start" "-a" "0910622d572facb0d8a99388aa43b4174f7411548982281d58cefe1ac8f6efbe", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `print_success`
[INFO] [stderr]  --> src/commands/aws.rs:3:78
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::display::{clear_screen, create_header, create_menu, show_loading, print_success, print_error, print_info, display_code, create...
[INFO] [stderr]   |                                                                              ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::shell::ShellIntegration`
[INFO] [stderr]  --> src/commands/aws.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use crate::shell::ShellIntegration;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/commands/aws.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tokio::fs`
[INFO] [stderr]  --> src/commands/aws.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use tokio::fs;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::process::Stdio`
[INFO] [stderr]    --> src/commands/aws.rs:289:9
[INFO] [stderr]     |
[INFO] [stderr] 289 |     use std::process::Stdio;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tokio::process::Command`
[INFO] [stderr]    --> src/commands/aws.rs:290:9
[INFO] [stderr]     |
[INFO] [stderr] 290 |     use tokio::process::Command;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `create_menu`
[INFO] [stderr]  --> src/commands/database.rs:3:51
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::display::{clear_screen, create_header, create_menu, load_content, print_success, print_error, print_info, display_code};
[INFO] [stderr]   |                                                   ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde_json::Value`
[INFO] [stderr]  --> src/commands/database.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use serde_json::Value;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `create_menu`, `print_info`, and `print_success`
[INFO] [stderr]  --> src/commands/kube.rs:3:51
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::display::{clear_screen, create_header, create_menu, show_loading, print_success, print_error, print_info, display_code};
[INFO] [stderr]   |                                                   ^^^^^^^^^^^                ^^^^^^^^^^^^^               ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Output`
[INFO] [stderr]  --> src/process.rs:5:20
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::process::{Output, Stdio};
[INFO] [stderr]   |                    ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `config`
[INFO] [stderr]   --> src/commands/aws.rs:74:53
[INFO] [stderr]    |
[INFO] [stderr] 74 | async fn interactive_login(client: &TeleportClient, config: &Config, use_sudo: bool) -> Result<()> {
[INFO] [stderr]    |                                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `use_sudo`
[INFO] [stderr]   --> src/commands/aws.rs:74:70
[INFO] [stderr]    |
[INFO] [stderr] 74 | async fn interactive_login(client: &TeleportClient, config: &Config, use_sudo: bool) -> Result<()> {
[INFO] [stderr]    |                                                                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_use_sudo`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `child`
[INFO] [stderr]    --> src/commands/aws.rs:308:13
[INFO] [stderr]     |
[INFO] [stderr] 308 |     let mut child = std::process::Command::new("tsh")
[INFO] [stderr]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_child`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/commands/aws.rs:308:9
[INFO] [stderr]     |
[INFO] [stderr] 308 |     let mut child = std::process::Command::new("tsh")
[INFO] [stderr]     |         ----^^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `client`
[INFO] [stderr]    --> src/commands/database.rs:464:22
[INFO] [stderr]     |
[INFO] [stderr] 464 | async fn check_admin(client: &TeleportClient) -> Result<String> {
[INFO] [stderr]     |                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]    --> src/commands/database.rs:494:9
[INFO] [stderr]     |
[INFO] [stderr] 494 |     for i in (1..=3).rev() {
[INFO] [stderr]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `client`
[INFO] [stderr]    --> src/commands/kube.rs:114:30
[INFO] [stderr]     |
[INFO] [stderr] 114 | async fn kube_elevated_login(client: &TeleportClient, cluster: &str) -> Result<()> {
[INFO] [stderr]     |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `line1_color`
[INFO] [stderr]    --> src/display.rs:425:13
[INFO] [stderr]     |
[INFO] [stderr] 425 |         let line1_color = colors[(frame + 0) % colors.len()];
[INFO] [stderr]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line1_color`
[INFO] [stderr] 
[INFO] [stderr] warning: function `find_env_for_account` is never used
[INFO] [stderr]    --> src/commands/aws.rs:403:4
[INFO] [stderr]     |
[INFO] [stderr] 403 | fn find_env_for_account(config: &Config, account_name: &str) -> String {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `cleanup_kubectl_contexts` is never used
[INFO] [stderr]   --> src/commands/logout.rs:17:10
[INFO] [stderr]    |
[INFO] [stderr] 17 | async fn cleanup_kubectl_contexts() -> Result<()> {
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `list_kube_envs` is never used
[INFO] [stderr]    --> src/config.rs:122:12
[INFO] [stderr]     |
[INFO] [stderr] 73  | impl Config {
[INFO] [stderr]     | ----------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 122 |     pub fn list_kube_envs(&self) -> Vec<&String> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `display_status_list` is never used
[INFO] [stderr]    --> src/display.rs:154:8
[INFO] [stderr]     |
[INFO] [stderr] 154 | pub fn display_status_list(items: &[(String, bool)]) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `print_warning` is never used
[INFO] [stderr]    --> src/display.rs:267:8
[INFO] [stderr]     |
[INFO] [stderr] 267 | pub fn print_warning(message: &str) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `ccode` is never used
[INFO] [stderr]    --> src/display.rs:287:8
[INFO] [stderr]     |
[INFO] [stderr] 287 | pub fn ccode(text: &str) -> String {
[INFO] [stderr]     |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `InvalidInput`, `Network`, `Shell`, and `Proxy` are never constructed
[INFO] [stderr]   --> src/error.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 4  | pub enum ThError {
[INFO] [stderr]    |          ------- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 18 |     InvalidInput(String),
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 21 |     Network(String),
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 33 |     Shell(String),
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 36 |     Proxy(String),
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ThError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: function `execute_command_with_output` is never used
[INFO] [stderr]   --> src/process.rs:30:14
[INFO] [stderr]    |
[INFO] [stderr] 30 | pub async fn execute_command_with_output(program: &str, args: &[&str]) -> Result<ProcessOutput> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ProcessOutput` is never constructed
[INFO] [stderr]   --> src/process.rs:46:12
[INFO] [stderr]    |
[INFO] [stderr] 46 | pub struct ProcessOutput {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `execute_command_with_timeout` is never used
[INFO] [stderr]   --> src/process.rs:53:14
[INFO] [stderr]    |
[INFO] [stderr] 53 | pub async fn execute_command_with_timeout(
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `execute_command_interactive` is never used
[INFO] [stderr]   --> src/process.rs:85:14
[INFO] [stderr]    |
[INFO] [stderr] 85 | pub async fn execute_command_interactive(program: &str, args: &[&str]) -> Result<()> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `kill_processes_by_pattern` is never used
[INFO] [stderr]    --> src/process.rs:105:14
[INFO] [stderr]     |
[INFO] [stderr] 105 | pub async fn kill_processes_by_pattern(pattern: &str) -> Result<()> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `command_exists` is never used
[INFO] [stderr]    --> src/process.rs:122:14
[INFO] [stderr]     |
[INFO] [stderr] 122 | pub async fn command_exists(command: &str) -> bool {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_env_vars` is never used
[INFO] [stderr]    --> src/process.rs:127:8
[INFO] [stderr]     |
[INFO] [stderr] 127 | pub fn get_env_vars() -> HashMap<String, String> {
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `execute_with_env` is never used
[INFO] [stderr]    --> src/process.rs:132:14
[INFO] [stderr]     |
[INFO] [stderr] 132 | pub async fn execute_with_env(
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `execute_background` is never used
[INFO] [stderr]    --> src/process.rs:160:14
[INFO] [stderr]     |
[INFO] [stderr] 160 | pub async fn execute_background(program: &str, args: &[&str]) -> Result<tokio::process::Child> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ShellIntegration` is never constructed
[INFO] [stderr]  --> src/shell.rs:8:12
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub struct ShellIntegration {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `ShellType` is never used
[INFO] [stderr]   --> src/shell.rs:14:6
[INFO] [stderr]    |
[INFO] [stderr] 14 | enum ShellType {
[INFO] [stderr]    |      ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/shell.rs:22:18
[INFO] [stderr]     |
[INFO] [stderr] 21  | impl ShellIntegration {
[INFO] [stderr]     | --------------------- associated items in this implementation
[INFO] [stderr] 22  |     pub async fn new() -> Result<Self> {
[INFO] [stderr]     |                  ^^^
[INFO] [stderr] ...
[INFO] [stderr] 33  |     fn detect_shell() -> ShellType {
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 47  |     fn get_profile_path(shell_type: &ShellType) -> Result<PathBuf> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 62  |     pub async fn source_aws_credentials(&self, credentials_file: &str) -> Result<()> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 72  |     async fn add_to_profile(&self, content: &str) -> Result<()> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 99  |     pub async fn cleanup_profile(&self) -> Result<()> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 125 |     fn is_th_related_line(&self, line: &str) -> bool {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 133 |     pub async fn cleanup_temp_files() -> Result<()> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 154 |     pub async fn execute_in_shell(&self, command: &str) -> Result<String> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 171 |     pub async fn get_shell_env(&self) -> Result<std::collections::HashMap<String, String>> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 186 |     pub async fn set_env_var(&self, key: &str, value: &str) -> Result<()> {
[INFO] [stderr]     |                  ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 196 |     pub async fn unset_env_var(&self, key: &str) -> Result<()> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 207 |     pub fn supports_feature(&self, feature: &str) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `logout`, `aws_login_discover_roles`, and `list_databases` are never used
[INFO] [stderr]    --> src/teleport.rs:177:18
[INFO] [stderr]     |
[INFO] [stderr] 40  | impl TeleportClient {
[INFO] [stderr]     | ------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 177 |     pub async fn logout(&self) -> Result<()> {
[INFO] [stderr]     |                  ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 294 |     pub async fn aws_login_discover_roles(&self, app_name: &str) -> Result<String> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 314 |     pub async fn list_databases(&self) -> Result<Vec<Value>> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `name` and `html_url` are never read
[INFO] [stderr]   --> src/update.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | struct GitHubRelease {
[INFO] [stderr]    |        ------------- fields in this struct
[INFO] [stderr] 14 |     tag_name: String,
[INFO] [stderr] 15 |     name: String,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 16 |     body: String,
[INFO] [stderr] 17 |     html_url: String,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `GitHubRelease` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `check_for_updates_now` is never used
[INFO] [stderr]   --> src/update.rs:80:18
[INFO] [stderr]    |
[INFO] [stderr] 39 | impl UpdateChecker {
[INFO] [stderr]    | ------------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 80 |     pub async fn check_for_updates_now(&self) -> Result<bool> {
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `th` (bin "th" test) generated 40 warnings (run `cargo fix --bin "th" --tests` to apply 11 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/th-dd78332c261ba597)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "0910622d572facb0d8a99388aa43b4174f7411548982281d58cefe1ac8f6efbe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0910622d572facb0d8a99388aa43b4174f7411548982281d58cefe1ac8f6efbe", kill_on_drop: false }`
[INFO] [stdout] 0910622d572facb0d8a99388aa43b4174f7411548982281d58cefe1ac8f6efbe
