[INFO] cloning repository https://github.com/1mZ1kk4d0/SL2ReaderRust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/1mZ1kk4d0/SL2ReaderRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1mZ1kk4d0%2FSL2ReaderRust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1mZ1kk4d0%2FSL2ReaderRust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a4a89088e682c99cd286416a5b68ae126e6a82aa
[INFO] checking 1mZ1kk4d0/SL2ReaderRust against try#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1mZ1kk4d0%2FSL2ReaderRust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/1mZ1kk4d0/SL2ReaderRust
[INFO] finished tweaking git repo https://github.com/1mZ1kk4d0/SL2ReaderRust
[INFO] tweaked toml for git repo https://github.com/1mZ1kk4d0/SL2ReaderRust written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/1mZ1kk4d0/SL2ReaderRust on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/1mZ1kk4d0/SL2ReaderRust 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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8d64387448b1cf0572738c899573b354db328057f7c3b69654c2f6dc2fa10fcd
[INFO] running `Command { std: "docker" "start" "-a" "8d64387448b1cf0572738c899573b354db328057f7c3b69654c2f6dc2fa10fcd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8d64387448b1cf0572738c899573b354db328057f7c3b69654c2f6dc2fa10fcd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d64387448b1cf0572738c899573b354db328057f7c3b69654c2f6dc2fa10fcd", kill_on_drop: false }`
[INFO] [stdout] 8d64387448b1cf0572738c899573b354db328057f7c3b69654c2f6dc2fa10fcd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cea816fc805589a5ad20a4acf3df7bd36cf112a5a5d65c0edaec58771832372f
[INFO] running `Command { std: "docker" "start" "-a" "cea816fc805589a5ad20a4acf3df7bd36cf112a5a5d65c0edaec58771832372f", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]     Checking hex-literal v0.4.1
[INFO] [stderr]    Compiling phf_shared v0.11.2
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]     Checking block-padding v0.3.3
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling phf_generator v0.11.2
[INFO] [stderr]     Checking inout v0.1.3
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.72
[INFO] [stderr]     Checking cbc v0.1.2
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]    Compiling phf_macros v0.11.2
[INFO] [stderr]     Checking phf v0.11.2
[INFO] [stderr]     Checking ds3_decrypt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Read` and `self`
[INFO] [stdout]  --> src/main.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{self, Read};
[INFO] [stdout]   |               ^^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Write`
[INFO] [stdout]  --> src/utils/utils.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BlockDecrypt`
[INFO] [stdout]  --> src/utils/decryptor.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use cipher::{BlockDecrypt, BlockDecryptMut, KeyIvInit, block_padding::Pkcs7};
[INFO] [stdout]   |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hex_literal::hex`
[INFO] [stdout]  --> src/utils/decryptor.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hex_literal::hex;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/utils/decryptor.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read` and `self`
[INFO] [stdout]  --> src/main.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{self, Read};
[INFO] [stdout]   |               ^^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Write`
[INFO] [stdout]  --> src/utils/utils.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BlockDecrypt`
[INFO] [stdout]  --> src/utils/decryptor.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use cipher::{BlockDecrypt, BlockDecryptMut, KeyIvInit, block_padding::Pkcs7};
[INFO] [stdout]   |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hex_literal::hex`
[INFO] [stdout]  --> src/utils/decryptor.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hex_literal::hex;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/utils/decryptor.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/main.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | struct BND4Entry {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 46 |     profile: &'static str,
[INFO] [stdout] 47 |     raw: Vec<u8>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 48 |     size: usize,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 49 |     char_entry_offset: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 50 |     char_entry_size: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 51 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 52 |     iv: Vec<u8>,
[INFO] [stdout]    |     ^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     checksum: Vec<u8>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 56 |     char_entry_data_offset: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 57 |     char_entry_name_offset: usize,
[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 `find` is never used
[INFO] [stdout]   --> src/utils/utils.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn find(buffer: &[u8]) -> isize {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `character_slot`, `character_name`, `character_level`, `character_time`, and `character_time_format` are never read
[INFO] [stdout]   --> src/utils/utils.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Character {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 26 |     pub character_slot: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 27 |     pub character_name: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 28 |     pub character_level: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 29 |     pub character_time: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 30 |     pub character_time_format: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Character` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/utils/decryptor.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     cipher.decrypt_padded_mut::<Pkcs7>(&mut buffer);
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let _ = cipher.decrypt_padded_mut::<Pkcs7>(&mut buffer);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/main.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | struct BND4Entry {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 46 |     profile: &'static str,
[INFO] [stdout] 47 |     raw: Vec<u8>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 48 |     size: usize,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 49 |     char_entry_offset: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 50 |     char_entry_size: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 51 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 52 |     iv: Vec<u8>,
[INFO] [stdout]    |     ^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     checksum: Vec<u8>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 56 |     char_entry_data_offset: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 57 |     char_entry_name_offset: usize,
[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 `find` is never used
[INFO] [stdout]   --> src/utils/utils.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn find(buffer: &[u8]) -> isize {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `character_slot`, `character_name`, `character_level`, `character_time`, and `character_time_format` are never read
[INFO] [stdout]   --> src/utils/utils.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Character {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 26 |     pub character_slot: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 27 |     pub character_name: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 28 |     pub character_level: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 29 |     pub character_time: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 30 |     pub character_time_format: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Character` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/utils/decryptor.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     cipher.decrypt_padded_mut::<Pkcs7>(&mut buffer);
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let _ = cipher.decrypt_padded_mut::<Pkcs7>(&mut buffer);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.45s
[INFO] running `Command { std: "docker" "inspect" "cea816fc805589a5ad20a4acf3df7bd36cf112a5a5d65c0edaec58771832372f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cea816fc805589a5ad20a4acf3df7bd36cf112a5a5d65c0edaec58771832372f", kill_on_drop: false }`
[INFO] [stdout] cea816fc805589a5ad20a4acf3df7bd36cf112a5a5d65c0edaec58771832372f
