[INFO] cloning repository https://github.com/leesdolphin/archivelib-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leesdolphin/archivelib-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleesdolphin%2Farchivelib-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleesdolphin%2Farchivelib-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 510e9fe03411d80086f0103e5d46cd7078bb1eb0 [INFO] checking leesdolphin/archivelib-rs/510e9fe03411d80086f0103e5d46cd7078bb1eb0 against master#73252d51d13c0e4f872c3c51defcf48174860ef6 for pr-119989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleesdolphin%2Farchivelib-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/leesdolphin/archivelib-rs on toolchain 73252d51d13c0e4f872c3c51defcf48174860ef6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+73252d51d13c0e4f872c3c51defcf48174860ef6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/leesdolphin/archivelib-rs [INFO] finished tweaking git repo https://github.com/leesdolphin/archivelib-rs [INFO] tweaked toml for git repo https://github.com/leesdolphin/archivelib-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+73252d51d13c0e4f872c3c51defcf48174860ef6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+73252d51d13c0e4f872c3c51defcf48174860ef6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded afl v0.15.2 [INFO] [stderr] Downloaded humthreads v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+73252d51d13c0e4f872c3c51defcf48174860ef6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96c276fc29b7ace94608ffef38dfb544af34bc17c9506a7caa8db4be07a8d87b [INFO] running `Command { std: "docker" "start" "-a" "96c276fc29b7ace94608ffef38dfb544af34bc17c9506a7caa8db4be07a8d87b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96c276fc29b7ace94608ffef38dfb544af34bc17c9506a7caa8db4be07a8d87b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96c276fc29b7ace94608ffef38dfb544af34bc17c9506a7caa8db4be07a8d87b", kill_on_drop: false }` [INFO] [stdout] 96c276fc29b7ace94608ffef38dfb544af34bc17c9506a7caa8db4be07a8d87b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+73252d51d13c0e4f872c3c51defcf48174860ef6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4f92d9449b38b65e1060668c72208cd02eab2580c1643dbe2cfce437a158a79 [INFO] running `Command { std: "docker" "start" "-a" "e4f92d9449b38b65e1060668c72208cd02eab2580c1643dbe2cfce437a158a79", kill_on_drop: false }` [INFO] [stderr] warning: invalid feature `fuzz-hongg` in required-features of target `alfuzz_hongg`: `fuzz-hongg` is not present in [features] section [INFO] [stderr] warning: invalid feature `fuzz-hongg` in required-features of target `alfuzz_hongg`: `fuzz-hongg` is not present in [features] section [INFO] [stderr] warning: invalid feature `fuzz-hongg` in required-features of target `alfuzz_hongg`: `fuzz-hongg` is not present in [features] section [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling bindgen v0.51.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking archivelib v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `LookAheadBitwiseRead`, `LookAheadBitwiseReader` [INFO] [stdout] --> src/support/lah_reader/mod.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::base::{LookAheadBitwiseRead, LookAheadBitwiseReader}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BinaryTreeInvariantError` [INFO] [stdout] --> src/expand_new/expand.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | pub use crate::errors::{BinaryTreeInvariantError, DecompressError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/compress/compress.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | self.uncompressed_buffer[(s + max_size279)] = self.uncompressed_buffer[(s)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 122 - self.uncompressed_buffer[(s + max_size279)] = self.uncompressed_buffer[(s)] [INFO] [stdout] 122 + self.uncompressed_buffer[s + max_size279] = self.uncompressed_buffer[(s)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/compress/compress.rs:122:80 [INFO] [stdout] | [INFO] [stdout] 122 | self.uncompressed_buffer[(s + max_size279)] = self.uncompressed_buffer[(s)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 122 - self.uncompressed_buffer[(s + max_size279)] = self.uncompressed_buffer[(s)] [INFO] [stdout] 122 + self.uncompressed_buffer[(s + max_size279)] = self.uncompressed_buffer[s] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/compress/fn230.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | lookup_table288[(i + 1)] = ((lookup_table288[i] + dat_arr167[i]) << 1) as u16; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - lookup_table288[(i + 1)] = ((lookup_table288[i] + dat_arr167[i]) << 1) as u16; [INFO] [stdout] 35 + lookup_table288[i + 1] = ((lookup_table288[i] + dat_arr167[i]) << 1) as u16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking cli v0.1.0 (/opt/rustwide/workdir/cli) [INFO] [stderr] Checking humthreads v0.1.4 [INFO] [stderr] Compiling archivelib-sys v0.2.0 (/opt/rustwide/workdir/archivelib-sys-orig) [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/archivelib-sys-a29003012978a3fe/out/bindings.rs:3:569 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! (unsafe { & (* (:: std :: ptr :: null :: < AllocatedMemory > ())) . status as * const _ as usize } , 0usize , concat ! ("Offset of ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/archivelib-sys-a29003012978a3fe/out/bindings.rs:3:787 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! (unsafe { & (* (:: std :: ptr :: null :: < AllocatedMemory > ())) . data as * const _ as usize } , 8usize , concat ! ("Offset of fi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/archivelib-sys-a29003012978a3fe/out/bindings.rs:3:1001 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! (unsafe { & (* (:: std :: ptr :: null :: < AllocatedMemory > ())) . length as * const _ as usize } , 16usize , concat ! ("Offset of... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `do_decompress_level` [INFO] [stdout] --> benches/bench.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use archivelib::{do_compress_level, do_decompress_level, CompressionLevel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BinaryTreeInvariantError` [INFO] [stdout] --> src/expand_new/expand.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | pub use crate::errors::{BinaryTreeInvariantError, DecompressError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/compress/compress.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | self.uncompressed_buffer[(s + max_size279)] = self.uncompressed_buffer[(s)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 122 - self.uncompressed_buffer[(s + max_size279)] = self.uncompressed_buffer[(s)] [INFO] [stdout] 122 + self.uncompressed_buffer[s + max_size279] = self.uncompressed_buffer[(s)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/compress/compress.rs:122:80 [INFO] [stdout] | [INFO] [stdout] 122 | self.uncompressed_buffer[(s + max_size279)] = self.uncompressed_buffer[(s)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 122 - self.uncompressed_buffer[(s + max_size279)] = self.uncompressed_buffer[(s)] [INFO] [stdout] 122 + self.uncompressed_buffer[(s + max_size279)] = self.uncompressed_buffer[s] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/compress/fn230.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | lookup_table288[(i + 1)] = ((lookup_table288[i] + dat_arr167[i]) << 1) as u16; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - lookup_table288[(i + 1)] = ((lookup_table288[i] + dat_arr167[i]) << 1) as u16; [INFO] [stdout] 35 + lookup_table288[i + 1] = ((lookup_table288[i] + dat_arr167[i]) << 1) as u16; [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/test/expand_new.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | let base_iter = $base.into_iter(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | / adversarial! { [INFO] [stdout] 38 | | simple(0, [0x00_u8, 0x00, 0x01, 0x01], 1); [INFO] [stdout] 39 | | simple_long(0, [0x00_u8, 0x00, 0x01, 0x01], 1024); [INFO] [stdout] 40 | | simple_really_long(0, (0..128), 1024); [INFO] [stdout] 41 | | simple_really_really_long(0, (0..=255), 1024); [INFO] [stdout] 42 | | repetitive(0, vec![1; 50], 1024); [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = note: this warning originates in the macro `adversarial` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 15 | let base_iter = $base.iter(); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 15 | let base_iter = IntoIterator::into_iter($base.into_iter()); [INFO] [stdout] | ++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.80s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.6, nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e4f92d9449b38b65e1060668c72208cd02eab2580c1643dbe2cfce437a158a79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4f92d9449b38b65e1060668c72208cd02eab2580c1643dbe2cfce437a158a79", kill_on_drop: false }` [INFO] [stdout] e4f92d9449b38b65e1060668c72208cd02eab2580c1643dbe2cfce437a158a79