[INFO] cloning repository https://github.com/Bonstra/tropico5-hpk-unpacker
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bonstra/tropico5-hpk-unpacker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBonstra%2Ftropico5-hpk-unpacker", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBonstra%2Ftropico5-hpk-unpacker'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] aa068b65b5df18a14aa172fcb6acf1cc0b9234e1
[INFO] checking Bonstra/tropico5-hpk-unpacker against try#44f3504e96c944ae54fc72b5f5008f53f7eda001 for pr-136776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBonstra%2Ftropico5-hpk-unpacker" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Bonstra/tropico5-hpk-unpacker on toolchain 44f3504e96c944ae54fc72b5f5008f53f7eda001
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Bonstra/tropico5-hpk-unpacker
[INFO] finished tweaking git repo https://github.com/Bonstra/tropico5-hpk-unpacker
[INFO] tweaked toml for git repo https://github.com/Bonstra/tropico5-hpk-unpacker written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Bonstra/tropico5-hpk-unpacker 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" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0b56f8213f78b094ad3c7f3fcfeddbe5f394cb938d59f68f06d3bb85b47cd1a5
[INFO] running `Command { std: "docker" "start" "-a" "0b56f8213f78b094ad3c7f3fcfeddbe5f394cb938d59f68f06d3bb85b47cd1a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0b56f8213f78b094ad3c7f3fcfeddbe5f394cb938d59f68f06d3bb85b47cd1a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0b56f8213f78b094ad3c7f3fcfeddbe5f394cb938d59f68f06d3bb85b47cd1a5", kill_on_drop: false }`
[INFO] [stdout] 0b56f8213f78b094ad3c7f3fcfeddbe5f394cb938d59f68f06d3bb85b47cd1a5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 707d139900807f386626f1967a74eded793b0116221dfc24bf01c33df87c3c7d
[INFO] running `Command { std: "docker" "start" "-a" "707d139900807f386626f1967a74eded793b0116221dfc24bf01c33df87c3c7d", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking adler v0.2.3
[INFO] [stderr]     Checking gimli v0.22.0
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]     Checking object v0.20.0
[INFO] [stderr]     Checking rustc-demangle v0.1.16
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]     Checking take_mut v0.2.2
[INFO] [stderr]     Checking rle-decode-fast v1.0.1
[INFO] [stderr]     Checking getopts v0.2.21
[INFO] [stderr]     Checking miniz_oxide v0.4.1
[INFO] [stderr]     Checking libflate v0.1.27
[INFO] [stderr]     Checking addr2line v0.13.0
[INFO] [stderr]     Checking backtrace v0.3.50
[INFO] [stderr]     Checking error-chain v0.10.0
[INFO] [stderr]     Checking tropico5-hpk-unpacker v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | /     error_chain! {
[INFO] [stdout] 16 | |         foreign_links {
[INFO] [stdout] 17 | |             Fmt(::std::fmt::Error);
[INFO] [stdout] 18 | |             Io(::std::io::Error) #[cfg(unix)];
[INFO] [stdout] 19 | |         }
[INFO] [stdout] 20 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | /     error_chain! {
[INFO] [stdout] 16 | |         foreign_links {
[INFO] [stdout] 17 | |             Fmt(::std::fmt::Error);
[INFO] [stdout] 18 | |             Io(::std::io::Error) #[cfg(unix)];
[INFO] [stdout] 19 | |         }
[INFO] [stdout] 20 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | /     error_chain! {
[INFO] [stdout] 16 | |         foreign_links {
[INFO] [stdout] 17 | |             Fmt(::std::fmt::Error);
[INFO] [stdout] 18 | |             Io(::std::io::Error) #[cfg(unix)];
[INFO] [stdout] 19 | |         }
[INFO] [stdout] 20 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/main.rs:130:9
[INFO] [stdout]     |
[INFO] [stdout] 129 |         unimplemented!();
[INFO] [stdout]     |         ---------------- any code following this expression is unreachable
[INFO] [stdout] 130 |         Ok(())
[INFO] [stdout]     |         ^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/hpk.rs:112:13
[INFO] [stdout]     |
[INFO] [stdout] 112 |     fn from(mut file: fs::File, fentry: &FileTableEntry) -> Result<FileDataPlain> {
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expanded_size`
[INFO] [stdout]    --> src/hpk.rs:225:13
[INFO] [stdout]     |
[INFO] [stdout] 225 |         let expanded_size: u64;
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expanded_size`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blocksize`
[INFO] [stdout]    --> src/hpk.rs:226:13
[INFO] [stdout]     |
[INFO] [stdout] 226 |         let blocksize: u64;
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocksize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/hpk.rs:223:13
[INFO] [stdout]     |
[INFO] [stdout] 223 |     fn from(mut file: fs::File, fentry: &FileTableEntry) -> Result<FileDataZlib> {
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | /     error_chain! {
[INFO] [stdout] 16 | |         foreign_links {
[INFO] [stdout] 17 | |             Fmt(::std::fmt::Error);
[INFO] [stdout] 18 | |             Io(::std::io::Error) #[cfg(unix)];
[INFO] [stdout] 19 | |         }
[INFO] [stdout] 20 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/main.rs:130:9
[INFO] [stdout]     |
[INFO] [stdout] 129 |         unimplemented!();
[INFO] [stdout]     |         ---------------- any code following this expression is unreachable
[INFO] [stdout] 130 |         Ok(())
[INFO] [stdout]     |         ^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `display_path`
[INFO] [stdout]    --> src/main.rs:127:17
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let mut display_path = String::new();
[INFO] [stdout]     |                 ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:127:13
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let mut display_path = String::new();
[INFO] [stdout]     |             ----^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/hpk.rs:112:13
[INFO] [stdout]     |
[INFO] [stdout] 112 |     fn from(mut file: fs::File, fentry: &FileTableEntry) -> Result<FileDataPlain> {
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:194:9
[INFO] [stdout]     |
[INFO] [stdout] 194 |     let mut opts = Options::new();
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_archive` is never used
[INFO] [stdout]    --> src/main.rs:125:4
[INFO] [stdout]     |
[INFO] [stdout] 125 | fn list_archive(archive: &Archive) -> Result<()> {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `size` is never used
[INFO] [stdout]   --> src/hpk.rs:89:12
[INFO] [stdout]    |
[INFO] [stdout] 84 | impl File {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn size(&self) -> u32 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expanded_size`
[INFO] [stdout]    --> src/hpk.rs:225:13
[INFO] [stdout]     |
[INFO] [stdout] 225 |         let expanded_size: u64;
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expanded_size`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused arithmetic operation that must be used
[INFO] [stdout]    --> src/hpk.rs:350:13
[INFO] [stdout]     |
[INFO] [stdout] 350 |             self.size - self.cur_offset;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the arithmetic operation produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 350 |             let _ = self.size - self.cur_offset;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blocksize`
[INFO] [stdout]    --> src/hpk.rs:226:13
[INFO] [stdout]     |
[INFO] [stdout] 226 |         let blocksize: u64;
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocksize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/hpk.rs:363:17
[INFO] [stdout]     |
[INFO] [stdout] 363 | /                 &mut buf[out_pos as usize..(out_pos + to_copy) as usize].copy_from_slice(
[INFO] [stdout] 364 | |                     &blockdata[block_offset as usize..(block_offset + to_copy) as usize],
[INFO] [stdout] 365 | |                 );
[INFO] [stdout]     | |_________________^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 363 |                 let _ = &mut buf[out_pos as usize..(out_pos + to_copy) as usize].copy_from_slice(
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021
[INFO] [stdout]    --> src/hpk.rs:436:40
[INFO] [stdout]     |
[INFO] [stdout] 436 |             let mut magic_iter = magic.into_iter();
[INFO] [stdout]     |                                        ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html>
[INFO] [stdout]     = note: `#[warn(array_into_iter)]` on by default
[INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
[INFO] [stdout]     |
[INFO] [stdout] 436 |             let mut magic_iter = magic.iter();
[INFO] [stdout]     |                                        ~~~~
[INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value
[INFO] [stdout]     |
[INFO] [stdout] 436 |             let mut magic_iter = IntoIterator::into_iter(magic);
[INFO] [stdout]     |                                  ++++++++++++++++++++++++     ~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/hpk.rs:223:13
[INFO] [stdout]     |
[INFO] [stdout] 223 |     fn from(mut file: fs::File, fentry: &FileTableEntry) -> Result<FileDataZlib> {
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `display_path`
[INFO] [stdout]    --> src/main.rs:127:17
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let mut display_path = String::new();
[INFO] [stdout]     |                 ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:127:13
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let mut display_path = String::new();
[INFO] [stdout]     |             ----^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:194:9
[INFO] [stdout]     |
[INFO] [stdout] 194 |     let mut opts = Options::new();
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_archive` is never used
[INFO] [stdout]    --> src/main.rs:125:4
[INFO] [stdout]     |
[INFO] [stdout] 125 | fn list_archive(archive: &Archive) -> Result<()> {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `size` is never used
[INFO] [stdout]   --> src/hpk.rs:89:12
[INFO] [stdout]    |
[INFO] [stdout] 84 | impl File {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn size(&self) -> u32 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused arithmetic operation that must be used
[INFO] [stdout]    --> src/hpk.rs:350:13
[INFO] [stdout]     |
[INFO] [stdout] 350 |             self.size - self.cur_offset;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the arithmetic operation produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 350 |             let _ = self.size - self.cur_offset;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/hpk.rs:363:17
[INFO] [stdout]     |
[INFO] [stdout] 363 | /                 &mut buf[out_pos as usize..(out_pos + to_copy) as usize].copy_from_slice(
[INFO] [stdout] 364 | |                     &blockdata[block_offset as usize..(block_offset + to_copy) as usize],
[INFO] [stdout] 365 | |                 );
[INFO] [stdout]     | |_________________^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 363 |                 let _ = &mut buf[out_pos as usize..(out_pos + to_copy) as usize].copy_from_slice(
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021
[INFO] [stdout]    --> src/hpk.rs:436:40
[INFO] [stdout]     |
[INFO] [stdout] 436 |             let mut magic_iter = magic.into_iter();
[INFO] [stdout]     |                                        ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html>
[INFO] [stdout]     = note: `#[warn(array_into_iter)]` on by default
[INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
[INFO] [stdout]     |
[INFO] [stdout] 436 |             let mut magic_iter = magic.iter();
[INFO] [stdout]     |                                        ~~~~
[INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value
[INFO] [stdout]     |
[INFO] [stdout] 436 |             let mut magic_iter = IntoIterator::into_iter(magic);
[INFO] [stdout]     |                                  ++++++++++++++++++++++++     ~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.97s
[INFO] running `Command { std: "docker" "inspect" "707d139900807f386626f1967a74eded793b0116221dfc24bf01c33df87c3c7d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "707d139900807f386626f1967a74eded793b0116221dfc24bf01c33df87c3c7d", kill_on_drop: false }`
[INFO] [stdout] 707d139900807f386626f1967a74eded793b0116221dfc24bf01c33df87c3c7d
