[INFO] cloning repository https://github.com/ClayAmore/FromFormats
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ClayAmore/FromFormats" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FClayAmore%2FFromFormats", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FClayAmore%2FFromFormats'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 560b6c7ef90009abeeb905759f12e0659d747e90
[INFO] checking ClayAmore/FromFormats against 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa for pr-159356
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FClayAmore%2FFromFormats" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ClayAmore/FromFormats
[INFO] finished tweaking git repo https://github.com/ClayAmore/FromFormats
[INFO] tweaked toml for git repo https://github.com/ClayAmore/FromFormats written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ClayAmore/FromFormats on toolchain 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ClayAmore/FromFormats 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" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "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-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c36f533e8924a726b63f9d01e781fa8c8c28c96d1d595403829afb31452ee0f5" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5bf6b1ec3ae686ad2e4a7edf0131bc9d25dc8aab78d9ede297c674a8b32a726a
[INFO] running `Command { std: "docker" "start" "5bf6b1ec3ae686ad2e4a7edf0131bc9d25dc8aab78d9ede297c674a8b32a726a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5bf6b1ec3ae686ad2e4a7edf0131bc9d25dc8aab78d9ede297c674a8b32a726a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5bf6b1ec3ae686ad2e4a7edf0131bc9d25dc8aab78d9ede297c674a8b32a726a" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5bf6b1ec3ae686ad2e4a7edf0131bc9d25dc8aab78d9ede297c674a8b32a726a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5bf6b1ec3ae686ad2e4a7edf0131bc9d25dc8aab78d9ede297c674a8b32a726a" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling libc v0.2.149
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]     Checking libloading v0.8.1
[INFO] [stderr]     Checking flate2 v1.0.28
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling dlopen_derive v0.1.4
[INFO] [stderr]     Checking dlopen v0.1.8
[INFO] [stderr]     Checking from_formats v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/util/oodle26.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let result = unsafe {
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/util/oodle26.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let mut cont: Container<OodleApi> =
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source`
[INFO] [stdout]   --> src/util/oodle28.rs:35:30
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn decompress(&mut self, source: &[u8], uncompressed_size: usize) -> Result<Vec<u8>, Error> {
[INFO] [stdout]    |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uncompressed_size`
[INFO] [stdout]   --> src/util/oodle28.rs:35:45
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn decompress(&mut self, source: &[u8], uncompressed_size: usize) -> Result<Vec<u8>, Error> {
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uncompressed_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/util/oodle28.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let mut cont: Container<OodleApi> =
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `br`
[INFO] [stdout]  --> src/formats/flver/flver2/flver2.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn is(&self, br: &mut BinaryReader) -> bool {
[INFO] [stdout]   |                  ^^ help: if this is intentional, prefix it with an underscore: `_br`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `br`
[INFO] [stdout]   --> src/formats/flver/flver2/flver2.rs:12:29
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn specific_read(&self, br: &mut BinaryReader) {
[INFO] [stdout]    |                             ^^ help: if this is intentional, prefix it with an underscore: `_br`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dca_size`
[INFO] [stdout]    --> src/formats/dcx.rs:143:13
[INFO] [stdout]     |
[INFO] [stdout] 143 |         let dca_size = br.read_i32(); // Todo: check if unused variable
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dca_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uncompressed_size`
[INFO] [stdout]    --> src/formats/dcx.rs:218:13
[INFO] [stdout]     |
[INFO] [stdout] 218 |         let uncompressed_size = br.read_i32();  // Todo: check if unused variable
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uncompressed_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `compressed_size`
[INFO] [stdout]    --> src/formats/dcx.rs:241:13
[INFO] [stdout]     |
[INFO] [stdout] 241 |         let compressed_size = br.read_i32();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compressed_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trailing_uncompressed_size`
[INFO] [stdout]    --> src/formats/dcx.rs:261:13
[INFO] [stdout]     |
[INFO] [stdout] 261 |         let trailing_uncompressed_size = br.assert_i32(&[uncompressed_size % 0x10000, 0x10000]);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trailing_uncompressed_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uncompressed_size`
[INFO] [stdout]    --> src/formats/dcx.rs:337:13
[INFO] [stdout]     |
[INFO] [stdout] 337 |         let uncompressed_size = br.read_i32();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uncompressed_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `compressed_header_length`
[INFO] [stdout]    --> src/formats/dcx.rs:357:13
[INFO] [stdout]     |
[INFO] [stdout] 357 |         let compressed_header_length = br.read_i32();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compressed_header_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `read_chars` is never used
[INFO] [stdout]    --> src/util/binary_reader.rs:192:19
[INFO] [stdout]     |
[INFO] [stdout]  13 | impl BinaryReader {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 192 |     pub(crate) fn read_chars(&mut self, encoding: &str, length: usize) -> Result<String, Error> {
[INFO] [stdout]     |                   ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `OodleLZ_FuzzSafe_No` is never constructed
[INFO] [stdout]    --> src/util/oodle.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub(crate) enum FuzzSafe {
[INFO] [stdout]     |                 -------- variant in this enum
[INFO] [stdout] 102 |     OodleLZ_FuzzSafe_No = 0,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FuzzSafe` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OodleLZ_CompressionLevel` is never used
[INFO] [stdout]    --> src/util/oodle.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub(crate) enum OodleLZ_CompressionLevel {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OodleLZ_Compressor` is never used
[INFO] [stdout]    --> src/util/oodle.rs:134:17
[INFO] [stdout]     |
[INFO] [stdout] 134 | pub(crate) enum OodleLZ_Compressor {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `OodleLZ_CheckCRC_Yes` and `OodleLZ_CheckCRC_Force32` are never constructed
[INFO] [stdout]    --> src/util/oodle.rs:162:5
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub(crate) enum OodleLZ_CheckCRC {
[INFO] [stdout]     |                 ---------------- variants in this enum
[INFO] [stdout] 161 |     OodleLZ_CheckCRC_No = 0,
[INFO] [stdout] 162 |     OodleLZ_CheckCRC_Yes = 1,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 163 |     OodleLZ_CheckCRC_Force32 = 0x40000000,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `OodleLZ_CheckCRC` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `OodleLZ_Decode_ThreadPhase1` and `OodleLZ_Decode_ThreadPhase2` are never constructed
[INFO] [stdout]    --> src/util/oodle.rs:170:5
[INFO] [stdout]     |
[INFO] [stdout] 169 | pub(crate) enum OodleLZ_Decode_ThreadPhase {
[INFO] [stdout]     |                 -------------------------- variants in this enum
[INFO] [stdout] 170 |     OodleLZ_Decode_ThreadPhase1 = 1,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 171 |     OodleLZ_Decode_ThreadPhase2 = 2,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `OodleLZ_Decode_ThreadPhase` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OodleLZ_FuzzSafe` is never used
[INFO] [stdout]    --> src/util/oodle.rs:178:17
[INFO] [stdout]     |
[INFO] [stdout] 178 | pub(crate) enum OodleLZ_FuzzSafe {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OodleLZ_Profile` is never used
[INFO] [stdout]    --> src/util/oodle.rs:186:17
[INFO] [stdout]     |
[INFO] [stdout] 186 | pub(crate) enum OodleLZ_Profile {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `OodleLZ_Verbosity_Minimal`, `OodleLZ_Verbosity_Some`, `OodleLZ_Verbosity_Lots`, and `OodleLZ_Verbosity_Force32` are never constructed
[INFO] [stdout]    --> src/util/oodle.rs:197:5
[INFO] [stdout]     |
[INFO] [stdout] 195 | pub(crate) enum OodleLZ_Verbosity {
[INFO] [stdout]     |                 ----------------- variants in this enum
[INFO] [stdout] 196 |     OodleLZ_Verbosity_None = 0,
[INFO] [stdout] 197 |     OodleLZ_Verbosity_Minimal = 1,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 198 |     OodleLZ_Verbosity_Some = 2,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 199 |     OodleLZ_Verbosity_Lots = 3,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 200 |     OodleLZ_Verbosity_Force32 = 0x40000000,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `OodleLZ_Verbosity` 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 `container` is never read
[INFO] [stdout]   --> src/util/oodle28.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct Oodle28 {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 31 |     container: Container<OodleApi>
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/util/binary_reader.rs:169:9
[INFO] [stdout]     |
[INFO] [stdout] 169 |         self.step_out();
[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] 169 |         let _ = self.step_out();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: crater fail !! problematic pattern detected !!
[INFO] [stdout]    --> src/util/binary_reader.rs:201:17
[INFO] [stdout]     |
[INFO] [stdout] 201 |             Err(FromUtf8Error { .. }) => Err(Error::new(ErrorKind::InvalidData, "Decoding error")),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type is defined in crate `alloc`
[INFO] [stdout]     = note: `#[deny(rest_pattern_match_on_struct_with_all_private_fields)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: crater fail !! problematic pattern detected !!
[INFO] [stdout]    --> src/util/binary_reader.rs:211:17
[INFO] [stdout]     |
[INFO] [stdout] 211 |             Err(FromUtf8Error { .. }) => Err(io::Error::new(io::ErrorKind::InvalidData, "Decoding error")),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type is defined in crate `alloc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `OodleLZ_Decompress` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     OodleLZ_Decompress: unsafe extern "C" fn(
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `oodle_lz_decompress`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `compBuf` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         compBuf: *const u8,
[INFO] [stdout]    |         ^^^^^^^ help: convert the identifier to snake case: `comp_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `compBufSize` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |         compBufSize: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^ help: convert the identifier to snake case: `comp_buf_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `rawBuf` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |         rawBuf: *mut u8,
[INFO] [stdout]    |         ^^^^^^ help: convert the identifier to snake case: `raw_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `rawLen` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         rawLen: usize,
[INFO] [stdout]    |         ^^^^^^ help: convert the identifier to snake case: `raw_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `fuzzSafe` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         fuzzSafe: FuzzSafe,
[INFO] [stdout]    |         ^^^^^^^^ help: convert the identifier to snake case: `fuzz_safe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `checkCRC` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         checkCRC: OodleLZ_CheckCRC,
[INFO] [stdout]    |         ^^^^^^^^ help: convert the identifier to snake case: `check_crc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `decBufBase` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |         decBufBase: usize,
[INFO] [stdout]    |         ^^^^^^^^^^ help: convert the identifier to snake case: `dec_buf_base`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `decBufSize` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |         decBufSize: usize,
[INFO] [stdout]    |         ^^^^^^^^^^ help: convert the identifier to snake case: `dec_buf_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `fpCallback` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         fpCallback: usize,
[INFO] [stdout]    |         ^^^^^^^^^^ help: convert the identifier to snake case: `fp_callback`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `callbackUserData` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         callbackUserData: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `callback_user_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `decoderMemory` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         decoderMemory: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `decoder_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `decoderMemorySize` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |         decoderMemorySize: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decoder_memory_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `threadPhase` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         threadPhase: OodleLZ_Decode_ThreadPhase,
[INFO] [stdout]    |         ^^^^^^^^^^^ help: convert the identifier to snake case: `thread_phase`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `OodleLZ_GetDecodeBufferSize` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     OodleLZ_GetDecodeBufferSize: unsafe extern "C" fn(rawSize: c_ulong, corruptionPossible: c_int ) -> c_uint,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `oodle_lz_get_decode_buffer_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `rawSize` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:28:55
[INFO] [stdout]    |
[INFO] [stdout] 28 |     OodleLZ_GetDecodeBufferSize: unsafe extern "C" fn(rawSize: c_ulong, corruptionPossible: c_int ) -> c_uint,
[INFO] [stdout]    |                                                       ^^^^^^^ help: convert the identifier to snake case: `raw_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `corruptionPossible` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:28:73
[INFO] [stdout]    |
[INFO] [stdout] 28 |     OodleLZ_GetDecodeBufferSize: unsafe extern "C" fn(rawSize: c_ulong, corruptionPossible: c_int ) -> c_uint,
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `corruption_possible`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `rawBuf` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let mut rawBuf: Vec<u8> = vec![0; decoded_buffer_size as usize];
[INFO] [stdout]    |                 ^^^^^^ help: convert the identifier to snake case: `raw_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `OodleLZ_Decompress` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     OodleLZ_Decompress: unsafe extern "C" fn(
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `oodle_lz_decompress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `compBuf` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |         compBuf: *const u8,
[INFO] [stdout]    |         ^^^^^^^ help: convert the identifier to snake case: `comp_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `compBufSize` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         compBufSize: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^ help: convert the identifier to snake case: `comp_buf_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `rawBuf` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |         rawBuf: *mut u8,
[INFO] [stdout]    |         ^^^^^^ help: convert the identifier to snake case: `raw_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `rawLen` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |         rawLen: usize,
[INFO] [stdout]    |         ^^^^^^ help: convert the identifier to snake case: `raw_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `fuzzSafe` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         fuzzSafe: FuzzSafe,
[INFO] [stdout]    |         ^^^^^^^^ help: convert the identifier to snake case: `fuzz_safe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `checkCRC` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         checkCRC: OodleLZ_CheckCRC,
[INFO] [stdout]    |         ^^^^^^^^ help: convert the identifier to snake case: `check_crc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `decBufBase` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         decBufBase: usize,
[INFO] [stdout]    |         ^^^^^^^^^^ help: convert the identifier to snake case: `dec_buf_base`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `decBufSize` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |         decBufSize: usize,
[INFO] [stdout]    |         ^^^^^^^^^^ help: convert the identifier to snake case: `dec_buf_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `fpCallback` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |         fpCallback: usize,
[INFO] [stdout]    |         ^^^^^^^^^^ help: convert the identifier to snake case: `fp_callback`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `callbackUserData` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         callbackUserData: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `callback_user_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `decoderMemory` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         decoderMemory: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `decoder_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `decoderMemorySize` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         decoderMemorySize: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decoder_memory_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `threadPhase` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |         threadPhase: OodleLZ_Decode_ThreadPhase,
[INFO] [stdout]    |         ^^^^^^^^^^^ help: convert the identifier to snake case: `thread_phase`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `OodleLZ_GetDecodeBufferSize` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     OodleLZ_GetDecodeBufferSize: unsafe extern "C" fn(rawSize: c_ulong, corruptionPossible: c_int ) -> c_uint,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `oodle_lz_get_decode_buffer_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `rawSize` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:27:55
[INFO] [stdout]    |
[INFO] [stdout] 27 |     OodleLZ_GetDecodeBufferSize: unsafe extern "C" fn(rawSize: c_ulong, corruptionPossible: c_int ) -> c_uint,
[INFO] [stdout]    |                                                       ^^^^^^^ help: convert the identifier to snake case: `raw_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `corruptionPossible` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:27:73
[INFO] [stdout]    |
[INFO] [stdout] 27 |     OodleLZ_GetDecodeBufferSize: unsafe extern "C" fn(rawSize: c_ulong, corruptionPossible: c_int ) -> c_uint,
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `corruption_possible`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `OodleLZ_Decompress` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     OodleLZ_Decompress: unsafe extern "C" fn(
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `oodle_lz_decompress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `OodleLZ_GetDecodeBufferSize` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     OodleLZ_GetDecodeBufferSize: unsafe extern "C" fn(rawSize: c_ulong, corruptionPossible: c_int ) -> c_uint,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `oodle_lz_get_decode_buffer_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `from_formats` (lib test) due to 2 previous errors; 61 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/util/oodle26.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let result = unsafe {
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/util/oodle26.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let mut cont: Container<OodleApi> =
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source`
[INFO] [stdout]   --> src/util/oodle28.rs:35:30
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn decompress(&mut self, source: &[u8], uncompressed_size: usize) -> Result<Vec<u8>, Error> {
[INFO] [stdout]    |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uncompressed_size`
[INFO] [stdout]   --> src/util/oodle28.rs:35:45
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn decompress(&mut self, source: &[u8], uncompressed_size: usize) -> Result<Vec<u8>, Error> {
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uncompressed_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/util/oodle28.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let mut cont: Container<OodleApi> =
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `br`
[INFO] [stdout]  --> src/formats/flver/flver2/flver2.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn is(&self, br: &mut BinaryReader) -> bool {
[INFO] [stdout]   |                  ^^ help: if this is intentional, prefix it with an underscore: `_br`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `br`
[INFO] [stdout]   --> src/formats/flver/flver2/flver2.rs:12:29
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn specific_read(&self, br: &mut BinaryReader) {
[INFO] [stdout]    |                             ^^ help: if this is intentional, prefix it with an underscore: `_br`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dca_size`
[INFO] [stdout]    --> src/formats/dcx.rs:143:13
[INFO] [stdout]     |
[INFO] [stdout] 143 |         let dca_size = br.read_i32(); // Todo: check if unused variable
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dca_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uncompressed_size`
[INFO] [stdout]    --> src/formats/dcx.rs:218:13
[INFO] [stdout]     |
[INFO] [stdout] 218 |         let uncompressed_size = br.read_i32();  // Todo: check if unused variable
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uncompressed_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `compressed_size`
[INFO] [stdout]    --> src/formats/dcx.rs:241:13
[INFO] [stdout]     |
[INFO] [stdout] 241 |         let compressed_size = br.read_i32();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compressed_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trailing_uncompressed_size`
[INFO] [stdout]    --> src/formats/dcx.rs:261:13
[INFO] [stdout]     |
[INFO] [stdout] 261 |         let trailing_uncompressed_size = br.assert_i32(&[uncompressed_size % 0x10000, 0x10000]);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trailing_uncompressed_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uncompressed_size`
[INFO] [stdout]    --> src/formats/dcx.rs:337:13
[INFO] [stdout]     |
[INFO] [stdout] 337 |         let uncompressed_size = br.read_i32();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uncompressed_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `compressed_header_length`
[INFO] [stdout]    --> src/formats/dcx.rs:357:13
[INFO] [stdout]     |
[INFO] [stdout] 357 |         let compressed_header_length = br.read_i32();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compressed_header_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `read_chars` is never used
[INFO] [stdout]    --> src/util/binary_reader.rs:192:19
[INFO] [stdout]     |
[INFO] [stdout]  13 | impl BinaryReader {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 192 |     pub(crate) fn read_chars(&mut self, encoding: &str, length: usize) -> Result<String, Error> {
[INFO] [stdout]     |                   ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `OodleLZ_FuzzSafe_No` is never constructed
[INFO] [stdout]    --> src/util/oodle.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub(crate) enum FuzzSafe {
[INFO] [stdout]     |                 -------- variant in this enum
[INFO] [stdout] 102 |     OodleLZ_FuzzSafe_No = 0,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FuzzSafe` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OodleLZ_CompressionLevel` is never used
[INFO] [stdout]    --> src/util/oodle.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub(crate) enum OodleLZ_CompressionLevel {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OodleLZ_Compressor` is never used
[INFO] [stdout]    --> src/util/oodle.rs:134:17
[INFO] [stdout]     |
[INFO] [stdout] 134 | pub(crate) enum OodleLZ_Compressor {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `OodleLZ_CheckCRC_Yes` and `OodleLZ_CheckCRC_Force32` are never constructed
[INFO] [stdout]    --> src/util/oodle.rs:162:5
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub(crate) enum OodleLZ_CheckCRC {
[INFO] [stdout]     |                 ---------------- variants in this enum
[INFO] [stdout] 161 |     OodleLZ_CheckCRC_No = 0,
[INFO] [stdout] 162 |     OodleLZ_CheckCRC_Yes = 1,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 163 |     OodleLZ_CheckCRC_Force32 = 0x40000000,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `OodleLZ_CheckCRC` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `OodleLZ_Decode_ThreadPhase1` and `OodleLZ_Decode_ThreadPhase2` are never constructed
[INFO] [stdout]    --> src/util/oodle.rs:170:5
[INFO] [stdout]     |
[INFO] [stdout] 169 | pub(crate) enum OodleLZ_Decode_ThreadPhase {
[INFO] [stdout]     |                 -------------------------- variants in this enum
[INFO] [stdout] 170 |     OodleLZ_Decode_ThreadPhase1 = 1,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 171 |     OodleLZ_Decode_ThreadPhase2 = 2,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `OodleLZ_Decode_ThreadPhase` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OodleLZ_FuzzSafe` is never used
[INFO] [stdout]    --> src/util/oodle.rs:178:17
[INFO] [stdout]     |
[INFO] [stdout] 178 | pub(crate) enum OodleLZ_FuzzSafe {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OodleLZ_Profile` is never used
[INFO] [stdout]    --> src/util/oodle.rs:186:17
[INFO] [stdout]     |
[INFO] [stdout] 186 | pub(crate) enum OodleLZ_Profile {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `OodleLZ_Verbosity_Minimal`, `OodleLZ_Verbosity_Some`, `OodleLZ_Verbosity_Lots`, and `OodleLZ_Verbosity_Force32` are never constructed
[INFO] [stdout]    --> src/util/oodle.rs:197:5
[INFO] [stdout]     |
[INFO] [stdout] 195 | pub(crate) enum OodleLZ_Verbosity {
[INFO] [stdout]     |                 ----------------- variants in this enum
[INFO] [stdout] 196 |     OodleLZ_Verbosity_None = 0,
[INFO] [stdout] 197 |     OodleLZ_Verbosity_Minimal = 1,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 198 |     OodleLZ_Verbosity_Some = 2,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 199 |     OodleLZ_Verbosity_Lots = 3,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 200 |     OodleLZ_Verbosity_Force32 = 0x40000000,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `OodleLZ_Verbosity` 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 `container` is never read
[INFO] [stdout]   --> src/util/oodle28.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct Oodle28 {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 31 |     container: Container<OodleApi>
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/util/binary_reader.rs:169:9
[INFO] [stdout]     |
[INFO] [stdout] 169 |         self.step_out();
[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] 169 |         let _ = self.step_out();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: crater fail !! problematic pattern detected !!
[INFO] [stdout]    --> src/util/binary_reader.rs:201:17
[INFO] [stdout]     |
[INFO] [stdout] 201 |             Err(FromUtf8Error { .. }) => Err(Error::new(ErrorKind::InvalidData, "Decoding error")),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type is defined in crate `alloc`
[INFO] [stdout]     = note: `#[deny(rest_pattern_match_on_struct_with_all_private_fields)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: crater fail !! problematic pattern detected !!
[INFO] [stdout]    --> src/util/binary_reader.rs:211:17
[INFO] [stdout]     |
[INFO] [stdout] 211 |             Err(FromUtf8Error { .. }) => Err(io::Error::new(io::ErrorKind::InvalidData, "Decoding error")),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type is defined in crate `alloc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `OodleLZ_Decompress` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     OodleLZ_Decompress: unsafe extern "C" fn(
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `oodle_lz_decompress`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `compBuf` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         compBuf: *const u8,
[INFO] [stdout]    |         ^^^^^^^ help: convert the identifier to snake case: `comp_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `compBufSize` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |         compBufSize: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^ help: convert the identifier to snake case: `comp_buf_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `rawBuf` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |         rawBuf: *mut u8,
[INFO] [stdout]    |         ^^^^^^ help: convert the identifier to snake case: `raw_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `rawLen` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         rawLen: usize,
[INFO] [stdout]    |         ^^^^^^ help: convert the identifier to snake case: `raw_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `fuzzSafe` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         fuzzSafe: FuzzSafe,
[INFO] [stdout]    |         ^^^^^^^^ help: convert the identifier to snake case: `fuzz_safe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `checkCRC` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         checkCRC: OodleLZ_CheckCRC,
[INFO] [stdout]    |         ^^^^^^^^ help: convert the identifier to snake case: `check_crc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `decBufBase` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |         decBufBase: usize,
[INFO] [stdout]    |         ^^^^^^^^^^ help: convert the identifier to snake case: `dec_buf_base`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `decBufSize` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |         decBufSize: usize,
[INFO] [stdout]    |         ^^^^^^^^^^ help: convert the identifier to snake case: `dec_buf_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `fpCallback` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         fpCallback: usize,
[INFO] [stdout]    |         ^^^^^^^^^^ help: convert the identifier to snake case: `fp_callback`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `callbackUserData` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         callbackUserData: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `callback_user_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `decoderMemory` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         decoderMemory: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `decoder_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `decoderMemorySize` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |         decoderMemorySize: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decoder_memory_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `threadPhase` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         threadPhase: OodleLZ_Decode_ThreadPhase,
[INFO] [stdout]    |         ^^^^^^^^^^^ help: convert the identifier to snake case: `thread_phase`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `OodleLZ_GetDecodeBufferSize` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     OodleLZ_GetDecodeBufferSize: unsafe extern "C" fn(rawSize: c_ulong, corruptionPossible: c_int ) -> c_uint,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `oodle_lz_get_decode_buffer_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `rawSize` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:28:55
[INFO] [stdout]    |
[INFO] [stdout] 28 |     OodleLZ_GetDecodeBufferSize: unsafe extern "C" fn(rawSize: c_ulong, corruptionPossible: c_int ) -> c_uint,
[INFO] [stdout]    |                                                       ^^^^^^^ help: convert the identifier to snake case: `raw_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `corruptionPossible` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:28:73
[INFO] [stdout]    |
[INFO] [stdout] 28 |     OodleLZ_GetDecodeBufferSize: unsafe extern "C" fn(rawSize: c_ulong, corruptionPossible: c_int ) -> c_uint,
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `corruption_possible`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `rawBuf` should have a snake case name
[INFO] [stdout]   --> src/util/oodle26.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let mut rawBuf: Vec<u8> = vec![0; decoded_buffer_size as usize];
[INFO] [stdout]    |                 ^^^^^^ help: convert the identifier to snake case: `raw_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `OodleLZ_Decompress` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     OodleLZ_Decompress: unsafe extern "C" fn(
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `oodle_lz_decompress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `compBuf` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |         compBuf: *const u8,
[INFO] [stdout]    |         ^^^^^^^ help: convert the identifier to snake case: `comp_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `compBufSize` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         compBufSize: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^ help: convert the identifier to snake case: `comp_buf_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `rawBuf` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |         rawBuf: *mut u8,
[INFO] [stdout]    |         ^^^^^^ help: convert the identifier to snake case: `raw_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `rawLen` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |         rawLen: usize,
[INFO] [stdout]    |         ^^^^^^ help: convert the identifier to snake case: `raw_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `fuzzSafe` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         fuzzSafe: FuzzSafe,
[INFO] [stdout]    |         ^^^^^^^^ help: convert the identifier to snake case: `fuzz_safe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `checkCRC` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         checkCRC: OodleLZ_CheckCRC,
[INFO] [stdout]    |         ^^^^^^^^ help: convert the identifier to snake case: `check_crc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `decBufBase` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         decBufBase: usize,
[INFO] [stdout]    |         ^^^^^^^^^^ help: convert the identifier to snake case: `dec_buf_base`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `decBufSize` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |         decBufSize: usize,
[INFO] [stdout]    |         ^^^^^^^^^^ help: convert the identifier to snake case: `dec_buf_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `fpCallback` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |         fpCallback: usize,
[INFO] [stdout]    |         ^^^^^^^^^^ help: convert the identifier to snake case: `fp_callback`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `callbackUserData` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         callbackUserData: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `callback_user_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `decoderMemory` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         decoderMemory: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `decoder_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `decoderMemorySize` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         decoderMemorySize: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decoder_memory_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `threadPhase` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |         threadPhase: OodleLZ_Decode_ThreadPhase,
[INFO] [stdout]    |         ^^^^^^^^^^^ help: convert the identifier to snake case: `thread_phase`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `OodleLZ_GetDecodeBufferSize` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     OodleLZ_GetDecodeBufferSize: unsafe extern "C" fn(rawSize: c_ulong, corruptionPossible: c_int ) -> c_uint,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `oodle_lz_get_decode_buffer_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `rawSize` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:27:55
[INFO] [stdout]    |
[INFO] [stdout] 27 |     OodleLZ_GetDecodeBufferSize: unsafe extern "C" fn(rawSize: c_ulong, corruptionPossible: c_int ) -> c_uint,
[INFO] [stdout]    |                                                       ^^^^^^^ help: convert the identifier to snake case: `raw_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `corruptionPossible` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:27:73
[INFO] [stdout]    |
[INFO] [stdout] 27 |     OodleLZ_GetDecodeBufferSize: unsafe extern "C" fn(rawSize: c_ulong, corruptionPossible: c_int ) -> c_uint,
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `corruption_possible`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `OodleLZ_Decompress` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     OodleLZ_Decompress: unsafe extern "C" fn(
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `oodle_lz_decompress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `OodleLZ_GetDecodeBufferSize` should have a snake case name
[INFO] [stdout]   --> src/util/oodle28.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     OodleLZ_GetDecodeBufferSize: unsafe extern "C" fn(rawSize: c_ulong, corruptionPossible: c_int ) -> c_uint,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `oodle_lz_get_decode_buffer_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `from_formats` (lib) due to 2 previous errors; 61 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "5bf6b1ec3ae686ad2e4a7edf0131bc9d25dc8aab78d9ede297c674a8b32a726a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5bf6b1ec3ae686ad2e4a7edf0131bc9d25dc8aab78d9ede297c674a8b32a726a", kill_on_drop: false }`
[INFO] [stdout] 5bf6b1ec3ae686ad2e4a7edf0131bc9d25dc8aab78d9ede297c674a8b32a726a
