[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBonstra%2Ftropico5-hpk-unpacker" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bonstra/tropico5-hpk-unpacker on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-5/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: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a0650212641ecb294a7a87c5a153fec38805986baf86cc3e47cfa7180a7c4ae3 [INFO] running `Command { std: "docker" "start" "-a" "a0650212641ecb294a7a87c5a153fec38805986baf86cc3e47cfa7180a7c4ae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0650212641ecb294a7a87c5a153fec38805986baf86cc3e47cfa7180a7c4ae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0650212641ecb294a7a87c5a153fec38805986baf86cc3e47cfa7180a7c4ae3", kill_on_drop: false }` [INFO] [stdout] a0650212641ecb294a7a87c5a153fec38805986baf86cc3e47cfa7180a7c4ae3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c0c92d560cc66c348d5caa9a3724737367d112643002a7e4f31c570301a4a4b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8c0c92d560cc66c348d5caa9a3724737367d112643002a7e4f31c570301a4a4b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking miniz_oxide v0.4.1 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking getopts v0.2.21 [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 associated function `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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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: this warning originates in a macro (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: 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: use of deprecated associated function `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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `display_path` [INFO] [stdout] --> src/main.rs:127:13 [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] = note: `#[warn(unused_variables)]` 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] [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: use of deprecated associated function `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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `display_path` [INFO] [stdout] --> src/main.rs:127:13 [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] = note: `#[warn(unused_variables)]` 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] [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/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: 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 { [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: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] = note: `#[warn(unused_mut)]` on by default [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 { [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: 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 { [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:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | fn from(mut file: fs::File, fentry: &FileTableEntry) -> Result { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/hpk.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn size(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/hpk.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn size(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `list_archive` [INFO] [stdout] --> src/main.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn list_archive(archive: &Archive) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/hpk.rs:436:40 [INFO] [stdout] | [INFO] [stdout] 436 | let mut magic_iter = magic.into_iter(); [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `list_archive` [INFO] [stdout] --> src/main.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn list_archive(archive: &Archive) -> Result<()> { [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/hpk.rs:436:40 [INFO] [stdout] | [INFO] [stdout] 436 | let mut magic_iter = magic.into_iter(); [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.79s [INFO] running `Command { std: "docker" "inspect" "8c0c92d560cc66c348d5caa9a3724737367d112643002a7e4f31c570301a4a4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c0c92d560cc66c348d5caa9a3724737367d112643002a7e4f31c570301a4a4b", kill_on_drop: false }` [INFO] [stdout] 8c0c92d560cc66c348d5caa9a3724737367d112643002a7e4f31c570301a4a4b