[INFO] cloning repository https://github.com/emanueljg/hoyoget [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/emanueljg/hoyoget" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femanueljg%2Fhoyoget", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femanueljg%2Fhoyoget'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] be906ffc561f88da8fde924b1dd97a1b55d3ddf3 [INFO] building emanueljg/hoyoget against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femanueljg%2Fhoyoget" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/emanueljg/hoyoget [INFO] finished tweaking git repo https://github.com/emanueljg/hoyoget [INFO] tweaked toml for git repo https://github.com/emanueljg/hoyoget written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/emanueljg/hoyoget on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/emanueljg/hoyoget 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded liblzma v0.4.2 [INFO] [stderr] Downloaded multi_reader v0.1.0 [INFO] [stderr] Downloaded colog v1.3.0 [INFO] [stderr] Downloaded etcetera v0.10.0 [INFO] [stderr] Downloaded zip v4.3.0 [INFO] [stderr] Downloaded liblzma-sys v0.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50ac16a5c745f38e274ce9527f875ad107e7df8be8ee756344297b17d1deb8a0 [INFO] running `Command { std: "docker" "start" "-a" "50ac16a5c745f38e274ce9527f875ad107e7df8be8ee756344297b17d1deb8a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50ac16a5c745f38e274ce9527f875ad107e7df8be8ee756344297b17d1deb8a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50ac16a5c745f38e274ce9527f875ad107e7df8be8ee756344297b17d1deb8a0", kill_on_drop: false }` [INFO] [stdout] 50ac16a5c745f38e274ce9527f875ad107e7df8be8ee756344297b17d1deb8a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5bbbba73a7f01d56bb6c76aa52ee7bc1ae22bb2c3ec4ead715ebbbd43776e74 [INFO] running `Command { std: "docker" "start" "-a" "e5bbbba73a7f01d56bb6c76aa52ee7bc1ae22bb2c3ec4ead715ebbbd43776e74", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling libbz2-rs-sys v0.2.1 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling zopfli v0.8.2 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling bzip2 v0.6.0 [INFO] [stderr] Compiling ppmd-rust v1.2.1 [INFO] [stderr] Compiling deflate64 v0.1.9 [INFO] [stderr] Compiling etcetera v0.10.0 [INFO] [stderr] Compiling multi_reader v0.1.0 [INFO] [stderr] Compiling md5 v0.8.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling liblzma-sys v0.4.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling liblzma v0.4.2 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling colog v1.3.0 [INFO] [stderr] Compiling synstructure v0.13.2 [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 tokio-util v0.7.15 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling zip v4.3.0 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.6.0 [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 hyper-util v0.1.15 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling hoyoget v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Arc`, `Chain`, `JoinHandle`, `Mutex`, `Once`, `OpenOptions`, `Scope`, `ScopedJoinHandle`, `SeekFrom`, `any::Any`, `empty`, `ffi::OsStr`, `once`, `ops::Deref`, `self`, and `self` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | ...::{any::Any, env::{self, current_dir}, ffi::OsStr, fmt::Debug, fs::{self, create_dir_all, File, OpenOptions}, io::{ BufRead, Read, Seek, SeekFrom}, iter::{empty, once, Chain, Once}, ops::Deref, os::unix::fs::MetadataExt, path::PathBuf, sync::{Arc, Mutex}, thread::{JoinHandle, Scope, ScopedJoinHandle}}; [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: `blocking` [INFO] [stdout] --> src/main.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest::{self, blocking, header::{HeaderValue, CONTENT_LENGTH, RANGE}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ZipArchive` [INFO] [stdout] --> src/main.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use zip::{unstable::stream::ZipStreamReader, ZipArchive}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use md5::{self, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `choose_base_strategy` [INFO] [stdout] --> src/main.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | use etcetera::{choose_app_strategy, choose_base_strategy, AppStrategy, AppStrategyArgs, BaseStrategy}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arg` [INFO] [stdout] --> src/main.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use clap::{arg, value_parser, Arg, ArgAction, Command}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `os::unix::fs::MetadataExt` [INFO] [stdout] --> src/main.rs:1:202 [INFO] [stdout] | [INFO] [stdout] 1 | ...kFrom}, iter::{empty, once, Chain, Once}, ops::Deref, os::unix::fs::MetadataExt, path::PathBuf, sync::{Arc, Mutex}, thread::{JoinHandl... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BaseStrategy` [INFO] [stdout] --> src/main.rs:12:89 [INFO] [stdout] | [INFO] [stdout] 12 | use etcetera::{choose_app_strategy, choose_base_strategy, AppStrategy, AppStrategyArgs, BaseStrategy}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `patch` [INFO] [stdout] --> src/main.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | let patch: Option<&PathBuf> = matches.get_one::("patch"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_patch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `retcode` and `message` are never read [INFO] [stdout] --> src/main.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | struct GamePackagesResult { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 69 | retcode: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 70 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GamePackagesResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pre_download` is never read [INFO] [stdout] --> src/main.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 80 | struct GamePackage { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 83 | pre_download: GameMajorAndPatches, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GamePackage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `patches` is never read [INFO] [stdout] --> src/main.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 93 | struct GameMajorAndPatches { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 94 | major: Option, [INFO] [stdout] 95 | patches: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameMajorAndPatches` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `res_list_url` and `version` are never read [INFO] [stdout] --> src/main.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 99 | struct GameVersion { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 102 | res_list_url: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 103 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameVersion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `decompressed_size` are never read [INFO] [stdout] --> src/main.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 130 | struct Piece { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 133 | size: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 134 | decompressed_size: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Piece` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.86s [INFO] running `Command { std: "docker" "inspect" "e5bbbba73a7f01d56bb6c76aa52ee7bc1ae22bb2c3ec4ead715ebbbd43776e74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5bbbba73a7f01d56bb6c76aa52ee7bc1ae22bb2c3ec4ead715ebbbd43776e74", kill_on_drop: false }` [INFO] [stdout] e5bbbba73a7f01d56bb6c76aa52ee7bc1ae22bb2c3ec4ead715ebbbd43776e74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93a20898db7384b89d94226181b8c6a4d2ecc6ef65e85edd7b2ef246bb3cf145 [INFO] running `Command { std: "docker" "start" "-a" "93a20898db7384b89d94226181b8c6a4d2ecc6ef65e85edd7b2ef246bb3cf145", kill_on_drop: false }` [INFO] [stderr] Compiling hoyoget v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Arc`, `Chain`, `JoinHandle`, `Mutex`, `Once`, `OpenOptions`, `Scope`, `ScopedJoinHandle`, `SeekFrom`, `any::Any`, `empty`, `ffi::OsStr`, `once`, `ops::Deref`, `self`, and `self` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | ...::{any::Any, env::{self, current_dir}, ffi::OsStr, fmt::Debug, fs::{self, create_dir_all, File, OpenOptions}, io::{ BufRead, Read, Seek, SeekFrom}, iter::{empty, once, Chain, Once}, ops::Deref, os::unix::fs::MetadataExt, path::PathBuf, sync::{Arc, Mutex}, thread::{JoinHandle, Scope, ScopedJoinHandle}}; [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: `blocking` [INFO] [stdout] --> src/main.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest::{self, blocking, header::{HeaderValue, CONTENT_LENGTH, RANGE}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ZipArchive` [INFO] [stdout] --> src/main.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use zip::{unstable::stream::ZipStreamReader, ZipArchive}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use md5::{self, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `choose_base_strategy` [INFO] [stdout] --> src/main.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | use etcetera::{choose_app_strategy, choose_base_strategy, AppStrategy, AppStrategyArgs, BaseStrategy}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arg` [INFO] [stdout] --> src/main.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use clap::{arg, value_parser, Arg, ArgAction, Command}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `os::unix::fs::MetadataExt` [INFO] [stdout] --> src/main.rs:1:202 [INFO] [stdout] | [INFO] [stdout] 1 | ...kFrom}, iter::{empty, once, Chain, Once}, ops::Deref, os::unix::fs::MetadataExt, path::PathBuf, sync::{Arc, Mutex}, thread::{JoinHandl... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BaseStrategy` [INFO] [stdout] --> src/main.rs:12:89 [INFO] [stdout] | [INFO] [stdout] 12 | use etcetera::{choose_app_strategy, choose_base_strategy, AppStrategy, AppStrategyArgs, BaseStrategy}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `patch` [INFO] [stdout] --> src/main.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | let patch: Option<&PathBuf> = matches.get_one::("patch"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_patch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `retcode` and `message` are never read [INFO] [stdout] --> src/main.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | struct GamePackagesResult { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 69 | retcode: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 70 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GamePackagesResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pre_download` is never read [INFO] [stdout] --> src/main.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 80 | struct GamePackage { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 83 | pre_download: GameMajorAndPatches, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GamePackage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `patches` is never read [INFO] [stdout] --> src/main.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 93 | struct GameMajorAndPatches { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 94 | major: Option, [INFO] [stdout] 95 | patches: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameMajorAndPatches` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `res_list_url` and `version` are never read [INFO] [stdout] --> src/main.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 99 | struct GameVersion { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 102 | res_list_url: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 103 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameVersion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `decompressed_size` are never read [INFO] [stdout] --> src/main.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 130 | struct Piece { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 133 | size: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 134 | decompressed_size: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Piece` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.76s [INFO] running `Command { std: "docker" "inspect" "93a20898db7384b89d94226181b8c6a4d2ecc6ef65e85edd7b2ef246bb3cf145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93a20898db7384b89d94226181b8c6a4d2ecc6ef65e85edd7b2ef246bb3cf145", kill_on_drop: false }` [INFO] [stdout] 93a20898db7384b89d94226181b8c6a4d2ecc6ef65e85edd7b2ef246bb3cf145