[INFO] fetching crate archivelib 0.2.0... [INFO] checking archivelib-0.2.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate archivelib 0.2.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate archivelib 0.2.0 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-1/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded humthreads v0.1.4 [INFO] [stderr] Downloaded archivelib-sys v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 753e821bf603b8027714378415c81026737149543cb86c9f39347f91deb0f9ba [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" "753e821bf603b8027714378415c81026737149543cb86c9f39347f91deb0f9ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "753e821bf603b8027714378415c81026737149543cb86c9f39347f91deb0f9ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "753e821bf603b8027714378415c81026737149543cb86c9f39347f91deb0f9ba", kill_on_drop: false }` [INFO] [stdout] 753e821bf603b8027714378415c81026737149543cb86c9f39347f91deb0f9ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] b9ed6f484317c0b372f7d1980d542c59f3d2005b739c2f1994b7a33c717347c4 [INFO] running `Command { std: "docker" "start" "-a" "b9ed6f484317c0b372f7d1980d542c59f3d2005b739c2f1994b7a33c717347c4", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] cc v1.0.45 (as host dependency): jobserver, num_cpus, parallel [INFO] [stderr] libc v0.2.62: default, std [INFO] [stderr] [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cfg-if v0.1.9 [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] Compiling version_check v0.1.5 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling proc-macro2 v1.0.3 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling bindgen v0.51.0 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling quote v0.6.13 [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 clap v2.33.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling cexpr v0.3.5 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking backtrace v0.3.37 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Checking archivelib v0.2.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/consts.rs (1 fix) [INFO] [stderr] Fixed src/support/bit_iter.rs (6 fixes) [INFO] [stderr] Migrating src/executables/decompress.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/executables/compress.rs from 2018 edition to 2021 [INFO] [stderr] Checking humthreads v0.1.4 [INFO] [stderr] Compiling archivelib-sys v0.2.0 [INFO] [stderr] Migrating tests/hangs.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/test_data_embroidermodder_hus.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/test_data_small_heart_hus.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/fuzzed.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/system_failure_matches.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/eof_semantics.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/test_data_star_hus.rs from 2018 edition to 2021 [INFO] [stderr] Migrating benches/bench.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/corner_cases.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/test_data_paris1_hus.rs from 2018 edition to 2021 [INFO] [stderr] Fixed benches/bench.rs (1 fix) [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `archivelib` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/test/expand_new.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0599]: no method named `iter` found for struct `std::ops::Range` in the current scope [INFO] [stderr] --> src/test/expand_new.rs:15:31 [INFO] [stderr] | [INFO] [stderr] 15 | let base_iter = $base.iter(); [INFO] [stderr] | ^^^^ method not found in `std::ops::Range<{integer}>` [INFO] [stderr] ... [INFO] [stderr] 37 | / adversarial! { [INFO] [stderr] 38 | | simple(0, [0x00_u8, 0x00, 0x01, 0x01], 1); [INFO] [stderr] 39 | | simple_long(0, [0x00_u8, 0x00, 0x01, 0x01], 1024); [INFO] [stderr] 40 | | simple_really_long(0, (0..128), 1024); [INFO] [stderr] 41 | | simple_really_really_long(0, (0..=255), 1024); [INFO] [stderr] 42 | | repetitive(0, vec![1; 50], 1024); [INFO] [stderr] 43 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `adversarial` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `iter` found for struct `RangeInclusive` in the current scope [INFO] [stderr] --> src/test/expand_new.rs:15:31 [INFO] [stderr] | [INFO] [stderr] 15 | let base_iter = $base.iter(); [INFO] [stderr] | ^^^^ method not found in `RangeInclusive<{integer}>` [INFO] [stderr] ... [INFO] [stderr] 37 | / adversarial! { [INFO] [stderr] 38 | | simple(0, [0x00_u8, 0x00, 0x01, 0x01], 1); [INFO] [stderr] 39 | | simple_long(0, [0x00_u8, 0x00, 0x01, 0x01], 1024); [INFO] [stderr] 40 | | simple_really_long(0, (0..128), 1024); [INFO] [stderr] 41 | | simple_really_really_long(0, (0..=255), 1024); [INFO] [stderr] 42 | | repetitive(0, vec![1; 50], 1024); [INFO] [stderr] 43 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `adversarial` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0599`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [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: `--force-warn array-into-iter` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [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 [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 17s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling bindgen v0.51.0 [INFO] [stderr] Checking backtrace-sys v0.1.31 [INFO] [stderr] Checking getrandom v0.1.12 [INFO] [stderr] Checking backtrace v0.3.37 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking archivelib v0.2.0 (/tmp/fixit) [INFO] [stderr] Checking humthreads v0.1.4 [INFO] [stderr] Compiling archivelib-sys v0.2.0 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.89s [INFO] running `Command { std: "docker" "inspect" "b9ed6f484317c0b372f7d1980d542c59f3d2005b739c2f1994b7a33c717347c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9ed6f484317c0b372f7d1980d542c59f3d2005b739c2f1994b7a33c717347c4", kill_on_drop: false }` [INFO] [stdout] b9ed6f484317c0b372f7d1980d542c59f3d2005b739c2f1994b7a33c717347c4