[INFO] cloning repository https://github.com/alirezanasseh/hamid-mahdavi-client [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alirezanasseh/hamid-mahdavi-client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falirezanasseh%2Fhamid-mahdavi-client", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falirezanasseh%2Fhamid-mahdavi-client'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a2e4ec7c6fff6b6489795054f4df93f639c0234 [INFO] checking alirezanasseh/hamid-mahdavi-client against master#cced03bfd61a304243a34504618ecec86c17063f for pr-157082 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falirezanasseh%2Fhamid-mahdavi-client" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/alirezanasseh/hamid-mahdavi-client [INFO] finished tweaking git repo https://github.com/alirezanasseh/hamid-mahdavi-client [INFO] tweaked toml for git repo https://github.com/alirezanasseh/hamid-mahdavi-client written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alirezanasseh/hamid-mahdavi-client on toolchain cced03bfd61a304243a34504618ecec86c17063f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/alirezanasseh/hamid-mahdavi-client 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" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.2.61 [INFO] [stderr] Downloaded wasm-bindgen v0.2.120 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.120 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.120 [INFO] [stderr] Downloaded embed-resource v2.5.2 [INFO] [stderr] Downloaded stretch v0.3.2 [INFO] [stderr] Downloaded native-windows-derive v1.0.5 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.120 [INFO] [stderr] Downloaded js-sys v0.3.97 [INFO] [stderr] Downloaded native-windows-gui v1.0.13 [INFO] [stderr] Downloaded web-sys v0.3.97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 45d5f6d17a4581e5ae7f6425aa8b9a49f96f63a11c2796aac0711eddbc9fe6a3 [INFO] running `Command { std: "docker" "start" "45d5f6d17a4581e5ae7f6425aa8b9a49f96f63a11c2796aac0711eddbc9fe6a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "45d5f6d17a4581e5ae7f6425aa8b9a49f96f63a11c2796aac0711eddbc9fe6a3" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45d5f6d17a4581e5ae7f6425aa8b9a49f96f63a11c2796aac0711eddbc9fe6a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "45d5f6d17a4581e5ae7f6425aa8b9a49f96f63a11c2796aac0711eddbc9fe6a3" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Checking litemap v0.8.2 [INFO] [stderr] Checking writeable v0.6.3 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling cc v1.2.61 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling semver v1.0.28 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling rustls v0.23.40 [INFO] [stderr] Checking rustls-pki-types v1.14.1 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Checking simd-adler32 v0.3.9 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Checking webpki-roots v1.0.7 [INFO] [stderr] Checking itoa v1.0.18 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Checking zerofrom v0.1.7 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Checking yoke v0.8.2 [INFO] [stderr] Checking zerovec v0.11.6 [INFO] [stderr] Checking zerotrie v0.2.4 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking tinystr v0.8.3 [INFO] [stderr] Checking potential_utf v0.1.5 [INFO] [stderr] Checking icu_collections v2.2.0 [INFO] [stderr] Checking icu_locale_core v2.2.0 [INFO] [stderr] Checking rustls-webpki v0.103.13 [INFO] [stderr] Checking icu_provider v2.2.0 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking icu_properties v2.2.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling embed-resource v2.5.2 [INFO] [stderr] Compiling hamid-mahdavi-client v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking ureq v2.12.1 [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/config.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load`, `save`, and `is_complete` are never used [INFO] [stdout] --> src/config.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Config { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn load() -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn save(&self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn is_complete(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_string` is never used [INFO] [stdout] --> src/config.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn extract_string(v: &Value, key: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_installed` is never used [INFO] [stdout] --> src/config.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn is_installed() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mark_installed` is never used [INFO] [stdout] --> src/config.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn mark_installed() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load` is never used [INFO] [stdout] --> src/credentials.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn load() -> Option<(String, String)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save` is never used [INFO] [stdout] --> src/credentials.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn save(script_id: &str, auth_key: &str) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_file` is never used [INFO] [stdout] --> src/download.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn to_file(url: &str, dest: &Path, mut progress: F) -> Result<()> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROJECT_DIR` is never used [INFO] [stdout] --> src/paths.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const PROJECT_DIR: &str = r"C:\hamid-mahdavi-client"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROJECT_REPO_ZIP` is never used [INFO] [stdout] --> src/paths.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const PROJECT_REPO_ZIP: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROXY_HOST_PORT` is never used [INFO] [stdout] --> src/paths.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const PROXY_HOST_PORT: &str = "127.0.0.1:8085"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `project_dir` is never used [INFO] [stdout] --> src/paths.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn project_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `config_path` is never used [INFO] [stdout] --> src/paths.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn config_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `config_example_path` is never used [INFO] [stdout] --> src/paths.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn config_example_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `requirements_path` is never used [INFO] [stdout] --> src/paths.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn requirements_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main_script_path` is never used [INFO] [stdout] --> src/paths.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn main_script_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `install_marker_path` is never used [INFO] [stdout] --> src/paths.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn install_marker_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cert_marker_path` is never used [INFO] [stdout] --> src/paths.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn cert_marker_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ca_cert_path` is never used [INFO] [stdout] --> src/paths.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn ca_cert_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `src_dir` is never used [INFO] [stdout] --> src/paths.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn src_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_dir` is never used [INFO] [stdout] --> src/paths.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn log_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `credentials_path` is never used [INFO] [stdout] --> src/paths.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn credentials_path() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `download_and_extract` is never used [INFO] [stdout] --> src/project.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn download_and_extract(mut progress: F) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_flatten` is never used [INFO] [stdout] --> src/project.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn extract_flatten(zip_path: &Path, target: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pip_install` is never used [INFO] [stdout] --> src/project.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn pip_install(py: &PythonInfo, mut progress: F) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PYTHON_INSTALLER_URL_X64` is never used [INFO] [stdout] --> src/python.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const PYTHON_INSTALLER_URL_X64: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PYTHON_INSTALLER_URL_X86` is never used [INFO] [stdout] --> src/python.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const PYTHON_INSTALLER_URL_X86: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exe` is never read [INFO] [stdout] --> src/python.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct PythonInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 18 | pub exe: PathBuf, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PythonInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `version_string` is never used [INFO] [stdout] --> src/python.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl PythonInfo { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 23 | pub fn version_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `detect` is never used [INFO] [stdout] --> src/python.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn detect() -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `candidate_executables` is never used [INFO] [stdout] --> src/python.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn candidate_executables() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `which` is never used [INFO] [stdout] --> src/python.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn which(exe: &str) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `probe` is never used [INFO] [stdout] --> src/python.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn probe(exe: &Path) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `installer_url` is never used [INFO] [stdout] --> src/python.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn installer_url() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `install` is never used [INFO] [stdout] --> src/python.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn install(mut progress: F) -> Result [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `detect_in_known_paths` is never used [INFO] [stdout] --> src/python.rs:162:4 [INFO] [stdout] | [INFO] [stdout] 162 | fn detect_in_known_paths() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write` is never used [INFO] [stdout] --> src/report.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn write( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOG_RING_CAP` is never used [INFO] [stdout] --> src/runner.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const LOG_RING_CAP: usize = 1000; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogRing` is never constructed [INFO] [stdout] --> src/runner.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct LogRing { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, and `snapshot` are never used [INFO] [stdout] --> src/runner.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl LogRing { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 22 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn push(&self, line: String) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn snapshot(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Runner` is never constructed [INFO] [stdout] --> src/runner.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Runner { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `spawn`, `poll`, and `kill` are never used [INFO] [stdout] --> src/runner.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Runner { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 48 | pub fn spawn(py: &PythonInfo, logs: LogRing) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn poll(&mut self) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn kill(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pipe_lines` is never used [INFO] [stdout] --> src/runner.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn pipe_lines(reader: R, logs: LogRing, channel: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `no_console` is never used [INFO] [stdout] --> src/util.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn no_console(cmd: &mut Command) -> &mut Command { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/config.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load`, `save`, and `is_complete` are never used [INFO] [stdout] --> src/config.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Config { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn load() -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn save(&self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn is_complete(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_string` is never used [INFO] [stdout] --> src/config.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn extract_string(v: &Value, key: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_installed` is never used [INFO] [stdout] --> src/config.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn is_installed() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mark_installed` is never used [INFO] [stdout] --> src/config.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn mark_installed() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load` is never used [INFO] [stdout] --> src/credentials.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn load() -> Option<(String, String)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save` is never used [INFO] [stdout] --> src/credentials.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn save(script_id: &str, auth_key: &str) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_file` is never used [INFO] [stdout] --> src/download.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn to_file(url: &str, dest: &Path, mut progress: F) -> Result<()> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROJECT_DIR` is never used [INFO] [stdout] --> src/paths.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const PROJECT_DIR: &str = r"C:\hamid-mahdavi-client"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROJECT_REPO_ZIP` is never used [INFO] [stdout] --> src/paths.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const PROJECT_REPO_ZIP: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROXY_HOST_PORT` is never used [INFO] [stdout] --> src/paths.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const PROXY_HOST_PORT: &str = "127.0.0.1:8085"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `project_dir` is never used [INFO] [stdout] --> src/paths.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn project_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `config_path` is never used [INFO] [stdout] --> src/paths.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn config_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `config_example_path` is never used [INFO] [stdout] --> src/paths.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn config_example_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `requirements_path` is never used [INFO] [stdout] --> src/paths.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn requirements_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main_script_path` is never used [INFO] [stdout] --> src/paths.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn main_script_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `install_marker_path` is never used [INFO] [stdout] --> src/paths.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn install_marker_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cert_marker_path` is never used [INFO] [stdout] --> src/paths.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn cert_marker_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ca_cert_path` is never used [INFO] [stdout] --> src/paths.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn ca_cert_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `src_dir` is never used [INFO] [stdout] --> src/paths.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn src_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_dir` is never used [INFO] [stdout] --> src/paths.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn log_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `credentials_path` is never used [INFO] [stdout] --> src/paths.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn credentials_path() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `download_and_extract` is never used [INFO] [stdout] --> src/project.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn download_and_extract(mut progress: F) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_flatten` is never used [INFO] [stdout] --> src/project.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn extract_flatten(zip_path: &Path, target: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pip_install` is never used [INFO] [stdout] --> src/project.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn pip_install(py: &PythonInfo, mut progress: F) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_MAJOR` is never used [INFO] [stdout] --> src/python.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const MIN_MAJOR: u32 = 3; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_MINOR` is never used [INFO] [stdout] --> src/python.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const MIN_MINOR: u32 = 10; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PYTHON_INSTALLER_URL_X64` is never used [INFO] [stdout] --> src/python.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const PYTHON_INSTALLER_URL_X64: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PYTHON_INSTALLER_URL_X86` is never used [INFO] [stdout] --> src/python.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const PYTHON_INSTALLER_URL_X86: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PythonInfo` is never constructed [INFO] [stdout] --> src/python.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct PythonInfo { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `version_string` and `meets_minimum` are never used [INFO] [stdout] --> src/python.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl PythonInfo { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 23 | pub fn version_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn meets_minimum(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `detect` is never used [INFO] [stdout] --> src/python.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn detect() -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `candidate_executables` is never used [INFO] [stdout] --> src/python.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn candidate_executables() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `which` is never used [INFO] [stdout] --> src/python.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn which(exe: &str) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `probe` is never used [INFO] [stdout] --> src/python.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn probe(exe: &Path) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_version` is never used [INFO] [stdout] --> src/python.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn parse_version(s: &str) -> Option<(u32, u32, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `installer_url` is never used [INFO] [stdout] --> src/python.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn installer_url() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `install` is never used [INFO] [stdout] --> src/python.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn install(mut progress: F) -> Result [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `detect_in_known_paths` is never used [INFO] [stdout] --> src/python.rs:162:4 [INFO] [stdout] | [INFO] [stdout] 162 | fn detect_in_known_paths() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write` is never used [INFO] [stdout] --> src/report.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn write( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOG_RING_CAP` is never used [INFO] [stdout] --> src/runner.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const LOG_RING_CAP: usize = 1000; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogRing` is never constructed [INFO] [stdout] --> src/runner.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct LogRing { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, and `snapshot` are never used [INFO] [stdout] --> src/runner.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl LogRing { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 22 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn push(&self, line: String) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn snapshot(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Runner` is never constructed [INFO] [stdout] --> src/runner.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Runner { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `spawn`, `poll`, and `kill` are never used [INFO] [stdout] --> src/runner.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Runner { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 48 | pub fn spawn(py: &PythonInfo, logs: LogRing) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn poll(&mut self) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn kill(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pipe_lines` is never used [INFO] [stdout] --> src/runner.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn pipe_lines(reader: R, logs: LogRing, channel: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `no_console` is never used [INFO] [stdout] --> src/util.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn no_console(cmd: &mut Command) -> &mut Command { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.52s [INFO] running `Command { std: "docker" "inspect" "45d5f6d17a4581e5ae7f6425aa8b9a49f96f63a11c2796aac0711eddbc9fe6a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45d5f6d17a4581e5ae7f6425aa8b9a49f96f63a11c2796aac0711eddbc9fe6a3", kill_on_drop: false }` [INFO] [stdout] 45d5f6d17a4581e5ae7f6425aa8b9a49f96f63a11c2796aac0711eddbc9fe6a3