[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] building JohnTheCoolingFan/sophon-poc against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnTheCoolingFan%2Fsophon-poc" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/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-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JohnTheCoolingFan/sophon-poc on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded protobuf-codegen v3.7.2
[INFO] [stderr]   Downloaded md5 v0.7.0
[INFO] [stderr]   Downloaded minreq v2.13.4
[INFO] [stderr]   Downloaded protobuf-support v3.7.2
[INFO] [stderr]   Downloaded protobuf-parse v3.7.2
[INFO] [stderr]   Downloaded protobuf v3.7.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8f11afc60ae0eb3ea8c7dd337845e9483e8cd1e1c4db1f7ab10e12690f77e087
[INFO] running `Command { std: "docker" "start" "-a" "8f11afc60ae0eb3ea8c7dd337845e9483e8cd1e1c4db1f7ab10e12690f77e087", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8f11afc60ae0eb3ea8c7dd337845e9483e8cd1e1c4db1f7ab10e12690f77e087", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8f11afc60ae0eb3ea8c7dd337845e9483e8cd1e1c4db1f7ab10e12690f77e087", kill_on_drop: false }`
[INFO] [stdout] 8f11afc60ae0eb3ea8c7dd337845e9483e8cd1e1c4db1f7ab10e12690f77e087
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f69e543ba78f36a9508c6d326cb88f17ab893bd0207d68ff9b5d2c16251e3bf2
[INFO] running `Command { std: "docker" "start" "-a" "f69e543ba78f36a9508c6d326cb88f17ab893bd0207d68ff9b5d2c16251e3bf2", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling hashbrown v0.15.3
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling icu_properties_data v2.0.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling protobuf v3.7.2
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling cc v1.2.21
[INFO] [stderr]    Compiling tokio v1.45.0
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling tempfile v3.19.1
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling minreq v2.13.4
[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 rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling xxhash-rust v0.8.15
[INFO] [stderr]    Compiling md5 v0.7.0
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling h2 v0.4.10
[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 zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling protobuf-support v3.7.2
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling hyper-util v0.1.11
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.0
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling serde v1.0.219
[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 protobuf-parse v3.7.2
[INFO] [stderr]    Compiling protobuf-codegen v3.7.2
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling reqwest v0.12.15
[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: 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 2m 09s
[INFO] running `Command { std: "docker" "inspect" "f69e543ba78f36a9508c6d326cb88f17ab893bd0207d68ff9b5d2c16251e3bf2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f69e543ba78f36a9508c6d326cb88f17ab893bd0207d68ff9b5d2c16251e3bf2", kill_on_drop: false }`
[INFO] [stdout] f69e543ba78f36a9508c6d326cb88f17ab893bd0207d68ff9b5d2c16251e3bf2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7fa2daccf46bb575d52866180ee2c7eb31c16116143e5d85a44b762e9399a115
[INFO] running `Command { std: "docker" "start" "-a" "7fa2daccf46bb575d52866180ee2c7eb31c16116143e5d85a44b762e9399a115", kill_on_drop: false }`
[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: 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 `test` profile [unoptimized + debuginfo] target(s) in 1.63s
[INFO] running `Command { std: "docker" "inspect" "7fa2daccf46bb575d52866180ee2c7eb31c16116143e5d85a44b762e9399a115", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7fa2daccf46bb575d52866180ee2c7eb31c16116143e5d85a44b762e9399a115", kill_on_drop: false }`
[INFO] [stdout] 7fa2daccf46bb575d52866180ee2c7eb31c16116143e5d85a44b762e9399a115
