[INFO] fetching crate archivelib 0.2.0... [INFO] checking archivelib-0.2.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate archivelib 0.2.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate archivelib 0.2.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate archivelib 0.2.0 [INFO] finished tweaking crates.io crate archivelib 0.2.0 [INFO] tweaked toml for crates.io crate archivelib 0.2.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate archivelib 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded archivelib-sys v0.2.0 [INFO] [stderr] Downloaded humthreads v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42c6719cce1fbf00089bc89753f7a20815e644594fe4bcc1903c4a53a89cc22c [INFO] running `Command { std: "docker" "start" "-a" "42c6719cce1fbf00089bc89753f7a20815e644594fe4bcc1903c4a53a89cc22c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42c6719cce1fbf00089bc89753f7a20815e644594fe4bcc1903c4a53a89cc22c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42c6719cce1fbf00089bc89753f7a20815e644594fe4bcc1903c4a53a89cc22c", kill_on_drop: false }` [INFO] [stdout] 42c6719cce1fbf00089bc89753f7a20815e644594fe4bcc1903c4a53a89cc22c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 027fc8a693e57b9792df08aa047928af07753f2879669c40d92d801441d99d0e [INFO] running `Command { std: "docker" "start" "-a" "027fc8a693e57b9792df08aa047928af07753f2879669c40d92d801441d99d0e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling proc-macro2 v1.0.3 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling bindgen v0.51.0 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling jobserver v0.1.17 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling cexpr v0.3.5 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling backtrace v0.3.37 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Checking archivelib v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/support/bit_iter.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | <(Self)>::max_value().count_ones() as usize [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] ... [INFO] [stdout] 55 | implBitwise!(u8); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implBitwise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/support/bit_iter.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | <(Self)>::max_value().count_ones() as usize [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] ... [INFO] [stdout] 56 | implBitwise!(u16); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implBitwise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/support/bit_iter.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | <(Self)>::max_value().count_ones() as usize [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] ... [INFO] [stdout] 57 | implBitwise!(u32); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implBitwise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/support/bit_iter.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | <(Self)>::max_value().count_ones() as usize [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] ... [INFO] [stdout] 58 | implBitwise!(u64); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implBitwise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/support/bit_iter.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | <(Self)>::max_value().count_ones() as usize [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] ... [INFO] [stdout] 59 | implBitwise!(u128); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implBitwise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/support/bit_iter.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | <(Self)>::max_value().count_ones() as usize [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] ... [INFO] [stdout] 60 | implBitwise!(usize); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implBitwise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/consts.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | pub const CONST_N145_IS_19: usize = (u16::max_value().count_ones() as usize + 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking humthreads v0.1.4 [INFO] [stderr] Compiling archivelib-sys v0.2.0 [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: unnecessary parentheses around type [INFO] [stdout] --> src/support/bit_iter.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | <(Self)>::max_value().count_ones() as usize [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] ... [INFO] [stdout] 55 | implBitwise!(u8); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implBitwise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/support/bit_iter.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | <(Self)>::max_value().count_ones() as usize [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] ... [INFO] [stdout] 56 | implBitwise!(u16); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implBitwise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/support/bit_iter.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | <(Self)>::max_value().count_ones() as usize [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] ... [INFO] [stdout] 57 | implBitwise!(u32); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implBitwise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/support/bit_iter.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | <(Self)>::max_value().count_ones() as usize [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] ... [INFO] [stdout] 58 | implBitwise!(u64); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implBitwise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/support/bit_iter.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | <(Self)>::max_value().count_ones() as usize [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] ... [INFO] [stdout] 59 | implBitwise!(u128); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implBitwise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/support/bit_iter.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | <(Self)>::max_value().count_ones() as usize [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] ... [INFO] [stdout] 60 | implBitwise!(usize); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implBitwise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/consts.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | pub const CONST_N145_IS_19: usize = (u16::max_value().count_ones() as usize + 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [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] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see issue #66145 [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: 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 issue #66145 [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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 53.46s [INFO] running `Command { std: "docker" "inspect" "027fc8a693e57b9792df08aa047928af07753f2879669c40d92d801441d99d0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "027fc8a693e57b9792df08aa047928af07753f2879669c40d92d801441d99d0e", kill_on_drop: false }` [INFO] [stdout] 027fc8a693e57b9792df08aa047928af07753f2879669c40d92d801441d99d0e