[INFO] cloning repository https://github.com/dangreco/rust-bsa-extract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dangreco/rust-bsa-extract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract/objects/info: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/dangreco/rust-bsa-extract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dangreco/rust-bsa-extract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract'... [INFO] [stderr] error: unable to write symref for HEAD: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/dangreco/rust-bsa-extract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dangreco/rust-bsa-extract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract/refs/heads: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/dangreco/rust-bsa-extract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dangreco/rust-bsa-extract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/prepare-commit-msg.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract/hooks/prepare-commit-msg.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/dangreco/rust-bsa-extract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dangreco/rust-bsa-extract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/dangreco/rust-bsa-extract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dangreco/rust-bsa-extract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/dangreco/rust-bsa-extract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dangreco/rust-bsa-extract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/dangreco/rust-bsa-extract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dangreco/rust-bsa-extract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/dangreco/rust-bsa-extract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dangreco/rust-bsa-extract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/dangreco/rust-bsa-extract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dangreco/rust-bsa-extract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/dangreco/rust-bsa-extract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dangreco/rust-bsa-extract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/dangreco/rust-bsa-extract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dangreco/rust-bsa-extract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/dangreco/rust-bsa-extract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dangreco/rust-bsa-extract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/dangreco/rust-bsa-extract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dangreco/rust-bsa-extract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [INFO] cloning repository https://github.com/dangreco/rust-bsa-extract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dangreco/rust-bsa-extract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0de7e560e6e98656c8534fbed14c0136da74d586 [INFO] checking dangreco/rust-bsa-extract against master#64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangreco%2Frust-bsa-extract" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dangreco/rust-bsa-extract [INFO] finished tweaking git repo https://github.com/dangreco/rust-bsa-extract [INFO] tweaked toml for git repo https://github.com/dangreco/rust-bsa-extract written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dangreco/rust-bsa-extract on toolchain 64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dangreco/rust-bsa-extract 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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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 pbr v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b96eab0b217b26cb3fc0039aafa96a7e255350c2092ae70333a8d3bfbe21a4cc [INFO] running `Command { std: "docker" "start" "-a" "b96eab0b217b26cb3fc0039aafa96a7e255350c2092ae70333a8d3bfbe21a4cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b96eab0b217b26cb3fc0039aafa96a7e255350c2092ae70333a8d3bfbe21a4cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b96eab0b217b26cb3fc0039aafa96a7e255350c2092ae70333a8d3bfbe21a4cc", kill_on_drop: false }` [INFO] [stdout] b96eab0b217b26cb3fc0039aafa96a7e255350c2092ae70333a8d3bfbe21a4cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2c4e52d3579dc7a32fb960d54a8c89122f26f2d160876fe565064fca912f710 [INFO] running `Command { std: "docker" "start" "-a" "f2c4e52d3579dc7a32fb960d54a8c89122f26f2d160876fe565064fca912f710", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking pbr v1.0.1 [INFO] [stderr] Checking rust-bsa-extract v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `UNIX_EPOCH` [INFO] [stdout] --> src/main.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UNIX_EPOCH` [INFO] [stdout] --> src/main.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/data.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | Err(e) => { return None } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/data.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | Err(e) => { return None } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/data.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | Err(e) => { return None } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/data.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | Err(e) => { return None } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/data.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | Err(e) => { return None } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/data.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | for i in 0..file_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `big_endian` [INFO] [stdout] --> src/data.rs:244:84 [INFO] [stdout] | [INFO] [stdout] 244 | fn get_uncompressed_file_block(d: &Vec, file_record: &FileRecord, ninth: bool, big_endian: bool) -> UncompressedFileBlock [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_big_endian` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/data.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | Err(e) => { return None } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/data.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | Err(e) => { return None } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/data.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | Err(e) => { return None } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/data.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | Err(e) => { return None } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/data.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | Err(e) => { return None } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compressed_block` [INFO] [stdout] --> src/bsa.rs:165:25 [INFO] [stdout] | [INFO] [stdout] 165 | let compressed_block = comp.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compressed_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cwd` [INFO] [stdout] --> src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let cwd = env::current_dir().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cwd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/data.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | for i in 0..file_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_id`, `version`, `offset`, `total_folder_name_length`, and `file_flags` are never read [INFO] [stdout] --> src/bsa.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | pub file_id: [char; 4], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | pub version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub offset: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub total_folder_name_length: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub total_file_name_length: u32, [INFO] [stdout] 14 | pub file_flags: u32 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name_hash` is never read [INFO] [stdout] --> src/bsa.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct FolderRecord { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 19 | pub name_hash: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FolderRecord` 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 `folder_records` is never read [INFO] [stdout] --> src/bsa.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct BSA { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 120 | pub header: Header, [INFO] [stdout] 121 | pub folder_records: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BSA` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/bsa.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 185 | pub enum ArchiveFlags { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 186 | NamedDirs, [INFO] [stdout] 187 | NamedFiles, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 188 | DefComp, [INFO] [stdout] 189 | RetainDirs, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 190 | RetainFiles, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 191 | RetainOffsets, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 192 | BigEnd, [INFO] [stdout] 193 | RetainStrings, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 194 | Unknown1, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 195 | Unknown2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 196 | Unknown3 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `big_endian` [INFO] [stdout] --> src/data.rs:244:84 [INFO] [stdout] | [INFO] [stdout] 244 | fn get_uncompressed_file_block(d: &Vec, file_record: &FileRecord, ninth: bool, big_endian: bool) -> UncompressedFileBlock [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_big_endian` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | reader.read_to_end(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 36 | let _ = reader.read_to_end(&mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bsa.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | fs::create_dir_all(&path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 158 | let _ = fs::create_dir_all(&path); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bsa.rs:171:21 [INFO] [stdout] | [INFO] [stdout] 171 | fs::write(format!("{}/{}", path, file_name), uncompressed_block.data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 171 | let _ = fs::write(format!("{}/{}", path, file_name), uncompressed_block.data); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compressed_block` [INFO] [stdout] --> src/bsa.rs:165:25 [INFO] [stdout] | [INFO] [stdout] 165 | let compressed_block = comp.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compressed_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cwd` [INFO] [stdout] --> src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let cwd = env::current_dir().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cwd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_id`, `version`, `offset`, `total_folder_name_length`, and `file_flags` are never read [INFO] [stdout] --> src/bsa.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | pub file_id: [char; 4], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | pub version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub offset: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub total_folder_name_length: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub total_file_name_length: u32, [INFO] [stdout] 14 | pub file_flags: u32 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name_hash` is never read [INFO] [stdout] --> src/bsa.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct FolderRecord { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 19 | pub name_hash: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FolderRecord` 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 `folder_records` is never read [INFO] [stdout] --> src/bsa.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct BSA { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 120 | pub header: Header, [INFO] [stdout] 121 | pub folder_records: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BSA` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/bsa.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 185 | pub enum ArchiveFlags { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 186 | NamedDirs, [INFO] [stdout] 187 | NamedFiles, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 188 | DefComp, [INFO] [stdout] 189 | RetainDirs, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 190 | RetainFiles, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 191 | RetainOffsets, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 192 | BigEnd, [INFO] [stdout] 193 | RetainStrings, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 194 | Unknown1, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 195 | Unknown2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 196 | Unknown3 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | reader.read_to_end(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 36 | let _ = reader.read_to_end(&mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bsa.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | fs::create_dir_all(&path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 158 | let _ = fs::create_dir_all(&path); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bsa.rs:171:21 [INFO] [stdout] | [INFO] [stdout] 171 | fs::write(format!("{}/{}", path, file_name), uncompressed_block.data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 171 | let _ = fs::write(format!("{}/{}", path, file_name), uncompressed_block.data); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.98s [INFO] running `Command { std: "docker" "inspect" "f2c4e52d3579dc7a32fb960d54a8c89122f26f2d160876fe565064fca912f710", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2c4e52d3579dc7a32fb960d54a8c89122f26f2d160876fe565064fca912f710", kill_on_drop: false }` [INFO] [stdout] f2c4e52d3579dc7a32fb960d54a8c89122f26f2d160876fe565064fca912f710