[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] building nikomain/th-rust against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikomain%2Fth-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nikomain/th-rust on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded which v6.0.3 [INFO] [stderr] Downloaded shellwords v1.1.0 [INFO] [stderr] Downloaded console v0.15.11 [INFO] [stderr] Downloaded indicatif v0.17.11 [INFO] [stderr] Downloaded winsafe v0.0.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b1303a38775d4766fbe6b0772d271c80c699b67007ab8cc788d0955d668369f [INFO] running `Command { std: "docker" "start" "-a" "3b1303a38775d4766fbe6b0772d271c80c699b67007ab8cc788d0955d668369f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b1303a38775d4766fbe6b0772d271c80c699b67007ab8cc788d0955d668369f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b1303a38775d4766fbe6b0772d271c80c699b67007ab8cc788d0955d668369f", kill_on_drop: false }` [INFO] [stdout] 3b1303a38775d4766fbe6b0772d271c80c699b67007ab8cc788d0955d668369f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02bbc10c90be59bc279e104477ccb0e275e3b9b14a960e754eaf462313e77352 [INFO] running `Command { std: "docker" "start" "-a" "02bbc10c90be59bc279e104477ccb0e275e3b9b14a960e754eaf462313e77352", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling clap_builder v4.5.43 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling yaml-rust2 v0.8.1 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling rust-ini v0.20.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling shellwords v1.1.0 [INFO] [stderr] Compiling synstructure v0.13.2 [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 async-trait v0.1.88 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling pest v2.8.1 [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 clap v4.5.43 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling pest_generator v2.8.1 [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 pest_derive v2.8.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling webbrowser v1.0.5 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling which v6.0.3 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling config v0.14.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 { [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)]` (part of `#[warn(unused)]`) 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 { [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 { [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 { [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 { [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 { [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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub async fn get_shell_env(&self) -> Result> { [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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub async fn list_databases(&self) -> Result> { [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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "02bbc10c90be59bc279e104477ccb0e275e3b9b14a960e754eaf462313e77352", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02bbc10c90be59bc279e104477ccb0e275e3b9b14a960e754eaf462313e77352", kill_on_drop: false }` [INFO] [stdout] 02bbc10c90be59bc279e104477ccb0e275e3b9b14a960e754eaf462313e77352 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58a7fbaa326e57a9d472ecca0a233c78a3906dd121e125a8b6efb4500a528e4b [INFO] running `Command { std: "docker" "start" "-a" "58a7fbaa326e57a9d472ecca0a233c78a3906dd121e125a8b6efb4500a528e4b", 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 h2 v0.3.27 [INFO] [stderr] Compiling tokio-test v0.4.4 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 { [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)]` (part of `#[warn(unused)]`) 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 { [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 { [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 { [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 { [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 { [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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub async fn get_shell_env(&self) -> Result> { [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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub async fn list_databases(&self) -> Result> { [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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 25.67s [INFO] running `Command { std: "docker" "inspect" "58a7fbaa326e57a9d472ecca0a233c78a3906dd121e125a8b6efb4500a528e4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58a7fbaa326e57a9d472ecca0a233c78a3906dd121e125a8b6efb4500a528e4b", kill_on_drop: false }` [INFO] [stdout] 58a7fbaa326e57a9d472ecca0a233c78a3906dd121e125a8b6efb4500a528e4b