[INFO] cloning repository https://github.com/JohnTheCoolingFan/sophon-poc
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JohnTheCoolingFan/sophon-poc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnTheCoolingFan%2Fsophon-poc", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnTheCoolingFan%2Fsophon-poc'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 97ccb8836a362712b4591caa6dbf2c9b2efe00d9
[INFO] checking JohnTheCoolingFan/sophon-poc against try#1779a8680dcd39c56ed600627cf6742ef07ed78c for pr-149045
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnTheCoolingFan%2Fsophon-poc" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/JohnTheCoolingFan/sophon-poc
[INFO] finished tweaking git repo https://github.com/JohnTheCoolingFan/sophon-poc
[INFO] tweaked toml for git repo https://github.com/JohnTheCoolingFan/sophon-poc written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JohnTheCoolingFan/sophon-poc on toolchain 1779a8680dcd39c56ed600627cf6742ef07ed78c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/JohnTheCoolingFan/sophon-poc 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" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking JohnTheCoolingFan/sophon-poc against try#1779a8680dcd39c56ed600627cf6742ef07ed78c for pr-149045
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnTheCoolingFan%2Fsophon-poc" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/JohnTheCoolingFan/sophon-poc
[INFO] finished tweaking git repo https://github.com/JohnTheCoolingFan/sophon-poc
[INFO] tweaked toml for git repo https://github.com/JohnTheCoolingFan/sophon-poc written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JohnTheCoolingFan/sophon-poc on toolchain 1779a8680dcd39c56ed600627cf6742ef07ed78c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/JohnTheCoolingFan/sophon-poc 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" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cc v1.2.21
[INFO] [stderr]   Downloaded protobuf-support v3.7.2
[INFO] [stderr]   Downloaded protobuf-codegen v3.7.2
[INFO] [stderr]   Downloaded minreq v2.13.4
[INFO] [stderr]   Downloaded openssl-sys v0.9.108
[INFO] [stderr]   Downloaded protobuf-parse v3.7.2
[INFO] [stderr]   Downloaded reqwest v0.12.15
[INFO] [stderr]   Downloaded openssl v0.10.72
[INFO] [stderr]   Downloaded protobuf v3.7.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2950ecaa76c78e94ff5cfbbae73832975d2f4c7b4e1c1337837ff60380a5380b
[INFO] running `Command { std: "docker" "start" "-a" "2950ecaa76c78e94ff5cfbbae73832975d2f4c7b4e1c1337837ff60380a5380b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2950ecaa76c78e94ff5cfbbae73832975d2f4c7b4e1c1337837ff60380a5380b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2950ecaa76c78e94ff5cfbbae73832975d2f4c7b4e1c1337837ff60380a5380b", kill_on_drop: false }`
[INFO] [stdout] 2950ecaa76c78e94ff5cfbbae73832975d2f4c7b4e1c1337837ff60380a5380b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dfdc2b60d13f2b4207f87d6584b2e47785fcd4c6d51226e162d66c046476d745
[INFO] running `Command { std: "docker" "start" "-a" "dfdc2b60d13f2b4207f87d6584b2e47785fcd4c6d51226e162d66c046476d745", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]     Checking litemap v0.8.0
[INFO] [stderr]     Checking smallvec v1.15.0
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]     Checking writeable v0.6.1
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling icu_properties_data v2.0.0
[INFO] [stderr]    Compiling protobuf v3.7.2
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]     Checking hashbrown v0.15.3
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]     Checking rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling minreq v2.13.4
[INFO] [stderr]     Checking indexmap v2.9.0
[INFO] [stderr]     Checking webpki-roots v0.25.4
[INFO] [stderr]     Checking md5 v0.7.0
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr]     Checking xxhash-rust v0.8.15
[INFO] [stderr]     Checking socket2 v0.5.9
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]    Compiling cc v1.2.21
[INFO] [stderr]     Checking tokio v1.45.0
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling tempfile v3.19.1
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling openssl-sys v0.9.108
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]    Compiling native-tls v0.2.14
[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 thiserror-impl v1.0.69
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking h2 v0.4.10
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling protobuf-support v3.7.2
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking zerovec v0.11.2
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.0
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking hyper-util v0.1.11
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling protobuf-parse v3.7.2
[INFO] [stderr]     Checking reqwest v0.12.15
[INFO] [stderr]    Compiling protobuf-codegen v3.7.2
[INFO] [stderr]    Compiling sophon-poc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Seek` and `exit`
[INFO] [stdout]  --> src/main.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 |     io::{Read, Seek},
[INFO] [stdout]   |                ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 6 |     process::{Command, exit},
[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 imports: `Seek` and `exit`
[INFO] [stdout]  --> src/main.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 |     io::{Read, Seek},
[INFO] [stdout]   |                ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 6 |     process::{Command, exit},
[INFO] [stdout]   |                        ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sophon_patch_url` is never used
[INFO] [stdout]   --> src/main.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn sophon_patch_url(password: &str, package_id: &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 `get_game_ver` is never used
[INFO] [stdout]   --> src/main.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn get_game_ver(path: impl AsRef<Path>) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `patch_test` is never used
[INFO] [stdout]   --> src/main.rs:65:4
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn patch_test() {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hdiffz_patch` is never used
[INFO] [stdout]    --> src/main.rs:124:4
[INFO] [stdout]     |
[INFO] [stdout] 124 | fn hdiffz_patch(
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sophon_apply_patches` is never used
[INFO] [stdout]    --> src/main.rs:142:4
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn sophon_apply_patches(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_file` is never used
[INFO] [stdout]    --> src/main.rs:162:4
[INFO] [stdout]     |
[INFO] [stdout] 162 | fn check_file(file_path: impl AsRef<Path>, expected_size: u64, expected_md5: &str) {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sophon_patch_file` is never used
[INFO] [stdout]    --> src/main.rs:179:4
[INFO] [stdout]     |
[INFO] [stdout] 179 | fn sophon_patch_file(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `actually_patch_file` is never used
[INFO] [stdout]    --> src/main.rs:230:4
[INFO] [stdout]     |
[INFO] [stdout] 230 | fn actually_patch_file(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `copy_over_file` is never used
[INFO] [stdout]    --> src/main.rs:287:4
[INFO] [stdout]     |
[INFO] [stdout] 287 | fn copy_over_file(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_patch_chunk_region` is never used
[INFO] [stdout]    --> src/main.rs:312:4
[INFO] [stdout]     |
[INFO] [stdout] 312 | fn extract_patch_chunk_region(patch_chunk: impl AsRef<Path>, offset: u64, length: u64) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_or_download_patch_chunk` is never used
[INFO] [stdout]    --> src/main.rs:321:4
[INFO] [stdout]     |
[INFO] [stdout] 321 | fn get_or_download_patch_chunk(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_unused_files` is never used
[INFO] [stdout]    --> src/main.rs:355:4
[INFO] [stdout]     |
[INFO] [stdout] 355 | fn remove_unused_files(unused_assets: &[SophonUnusedAssetFile], target_dir: impl AsRef<Path>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bytes_check_xxh` is never used
[INFO] [stdout]    --> src/main.rs:455:4
[INFO] [stdout]     |
[INFO] [stdout] 455 | fn bytes_check_xxh(data: &[u8], expected: u64) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `retcode` and `message` are never read
[INFO] [stdout]   --> src/schemas/mod.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct ApiResponse<T> {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout]  9 |     pub retcode: i16,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 10 |     pub message: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApiResponse` 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 `pre_download` is never read
[INFO] [stdout]   --> src/schemas/game_branches.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct GameBranchInfo {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub pre_download: Option<serde_json::Value>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GameBranchInfo` 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 `id` is never read
[INFO] [stdout]   --> src/schemas/game_branches.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Game {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 17 |     pub id: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Game` 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 `branch`, `tag`, `diff_tags`, and `categories` are never read
[INFO] [stdout]   --> src/schemas/game_branches.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct PackageInfo {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 23 |     pub package_id: String,
[INFO] [stdout] 24 |     pub branch: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 25 |     pub password: String,
[INFO] [stdout] 26 |     pub tag: String,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 27 |     pub diff_tags: Vec<String>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 28 |     pub categories: Vec<PackageCategory>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PackageInfo` 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 `category_id` and `matching_field` are never read
[INFO] [stdout]   --> src/schemas/game_branches.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct PackageCategory {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 33 |     pub category_id: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 34 |     pub matching_field: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PackageCategory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SophonDiffs` is never constructed
[INFO] [stdout]  --> src/schemas/sophon_diff.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct SophonDiffs {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SophonDiff` is never constructed
[INFO] [stdout]   --> src/schemas/sophon_diff.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct SophonDiff {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `build_id` and `tag` are never read
[INFO] [stdout]  --> src/schemas/sophon_manifests.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct SophonManifests {
[INFO] [stdout]   |            --------------- fields in this struct
[INFO] [stdout] 5 |     pub build_id: String,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 6 |     pub tag: String,
[INFO] [stdout]   |         ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `SophonManifests` 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 `category_id`, `category_name`, `stats`, and `deduplicated_stats` are never read
[INFO] [stdout]   --> src/schemas/sophon_manifests.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct SophonManifest {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 12 |     pub category_id: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 13 |     pub category_name: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub stats: ManifestStats,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 19 |     pub deduplicated_stats: ManifestStats,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SophonManifest` 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 `checksum`, `compressed_size`, and `uncompressed_size` are never read
[INFO] [stdout]   --> src/schemas/sophon_manifests.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Manifest {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 24 |     pub id: String,
[INFO] [stdout] 25 |     pub checksum: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 26 |     pub compressed_size: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 27 |     pub uncompressed_size: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Manifest` 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 `encryption`, `password`, and `compression` are never read
[INFO] [stdout]   --> src/schemas/sophon_manifests.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct DownloadInfo {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 32 |     pub encryption: u8,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 33 |     pub password: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 34 |     pub compression: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DownloadInfo` 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 `compressed_size`, `uncompressed_size`, `file_count`, and `chunk_count` are never read
[INFO] [stdout]   --> src/schemas/sophon_manifests.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct ManifestStats {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 41 |     pub compressed_size: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 42 |     pub uncompressed_size: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 43 |     pub file_count: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 44 |     pub chunk_count: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ManifestStats` 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 `sophon_patch_url` is never used
[INFO] [stdout]   --> src/main.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn sophon_patch_url(password: &str, package_id: &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 `get_game_ver` is never used
[INFO] [stdout]   --> src/main.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn get_game_ver(path: impl AsRef<Path>) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `patch_test` is never used
[INFO] [stdout]   --> src/main.rs:65:4
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn patch_test() {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hdiffz_patch` is never used
[INFO] [stdout]    --> src/main.rs:124:4
[INFO] [stdout]     |
[INFO] [stdout] 124 | fn hdiffz_patch(
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sophon_apply_patches` is never used
[INFO] [stdout]    --> src/main.rs:142:4
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn sophon_apply_patches(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_file` is never used
[INFO] [stdout]    --> src/main.rs:162:4
[INFO] [stdout]     |
[INFO] [stdout] 162 | fn check_file(file_path: impl AsRef<Path>, expected_size: u64, expected_md5: &str) {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sophon_patch_file` is never used
[INFO] [stdout]    --> src/main.rs:179:4
[INFO] [stdout]     |
[INFO] [stdout] 179 | fn sophon_patch_file(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `actually_patch_file` is never used
[INFO] [stdout]    --> src/main.rs:230:4
[INFO] [stdout]     |
[INFO] [stdout] 230 | fn actually_patch_file(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `copy_over_file` is never used
[INFO] [stdout]    --> src/main.rs:287:4
[INFO] [stdout]     |
[INFO] [stdout] 287 | fn copy_over_file(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_patch_chunk_region` is never used
[INFO] [stdout]    --> src/main.rs:312:4
[INFO] [stdout]     |
[INFO] [stdout] 312 | fn extract_patch_chunk_region(patch_chunk: impl AsRef<Path>, offset: u64, length: u64) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_or_download_patch_chunk` is never used
[INFO] [stdout]    --> src/main.rs:321:4
[INFO] [stdout]     |
[INFO] [stdout] 321 | fn get_or_download_patch_chunk(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_unused_files` is never used
[INFO] [stdout]    --> src/main.rs:355:4
[INFO] [stdout]     |
[INFO] [stdout] 355 | fn remove_unused_files(unused_assets: &[SophonUnusedAssetFile], target_dir: impl AsRef<Path>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bytes_check_xxh` is never used
[INFO] [stdout]    --> src/main.rs:455:4
[INFO] [stdout]     |
[INFO] [stdout] 455 | fn bytes_check_xxh(data: &[u8], expected: u64) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `retcode` and `message` are never read
[INFO] [stdout]   --> src/schemas/mod.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct ApiResponse<T> {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout]  9 |     pub retcode: i16,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 10 |     pub message: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApiResponse` 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 `pre_download` is never read
[INFO] [stdout]   --> src/schemas/game_branches.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct GameBranchInfo {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub pre_download: Option<serde_json::Value>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GameBranchInfo` 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 `id` is never read
[INFO] [stdout]   --> src/schemas/game_branches.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Game {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 17 |     pub id: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Game` 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 `branch`, `tag`, `diff_tags`, and `categories` are never read
[INFO] [stdout]   --> src/schemas/game_branches.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct PackageInfo {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 23 |     pub package_id: String,
[INFO] [stdout] 24 |     pub branch: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 25 |     pub password: String,
[INFO] [stdout] 26 |     pub tag: String,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 27 |     pub diff_tags: Vec<String>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 28 |     pub categories: Vec<PackageCategory>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PackageInfo` 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 `category_id` and `matching_field` are never read
[INFO] [stdout]   --> src/schemas/game_branches.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct PackageCategory {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 33 |     pub category_id: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 34 |     pub matching_field: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PackageCategory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SophonDiffs` is never constructed
[INFO] [stdout]  --> src/schemas/sophon_diff.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct SophonDiffs {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SophonDiff` is never constructed
[INFO] [stdout]   --> src/schemas/sophon_diff.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct SophonDiff {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `build_id` and `tag` are never read
[INFO] [stdout]  --> src/schemas/sophon_manifests.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct SophonManifests {
[INFO] [stdout]   |            --------------- fields in this struct
[INFO] [stdout] 5 |     pub build_id: String,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 6 |     pub tag: String,
[INFO] [stdout]   |         ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `SophonManifests` 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 `category_id`, `category_name`, `stats`, and `deduplicated_stats` are never read
[INFO] [stdout]   --> src/schemas/sophon_manifests.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct SophonManifest {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 12 |     pub category_id: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 13 |     pub category_name: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub stats: ManifestStats,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 19 |     pub deduplicated_stats: ManifestStats,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SophonManifest` 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 `checksum`, `compressed_size`, and `uncompressed_size` are never read
[INFO] [stdout]   --> src/schemas/sophon_manifests.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Manifest {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 24 |     pub id: String,
[INFO] [stdout] 25 |     pub checksum: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 26 |     pub compressed_size: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 27 |     pub uncompressed_size: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Manifest` 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 `encryption`, `password`, and `compression` are never read
[INFO] [stdout]   --> src/schemas/sophon_manifests.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct DownloadInfo {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 32 |     pub encryption: u8,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 33 |     pub password: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 34 |     pub compression: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DownloadInfo` 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 `compressed_size`, `uncompressed_size`, `file_count`, and `chunk_count` are never read
[INFO] [stdout]   --> src/schemas/sophon_manifests.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct ManifestStats {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 41 |     pub compressed_size: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 42 |     pub uncompressed_size: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 43 |     pub file_count: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 44 |     pub chunk_count: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ManifestStats` 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 16.21s
[INFO] running `Command { std: "docker" "inspect" "dfdc2b60d13f2b4207f87d6584b2e47785fcd4c6d51226e162d66c046476d745", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dfdc2b60d13f2b4207f87d6584b2e47785fcd4c6d51226e162d66c046476d745", kill_on_drop: false }`
[INFO] [stdout] dfdc2b60d13f2b4207f87d6584b2e47785fcd4c6d51226e162d66c046476d745
