[INFO] fetching crate unbox 0.2.0... [INFO] checking unbox-0.2.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate unbox 0.2.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate unbox 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 unbox 0.2.0 [INFO] finished tweaking crates.io crate unbox 0.2.0 [INFO] tweaked toml for crates.io crate unbox 0.2.0 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ar v0.6.2 [INFO] [stderr] Downloaded goblin v0.0.19 [INFO] [stderr] Downloaded cab v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] c715d8791f8e1c5326e9854349dd60075d415590f75a7f1701e436b39918a79e [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" "c715d8791f8e1c5326e9854349dd60075d415590f75a7f1701e436b39918a79e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c715d8791f8e1c5326e9854349dd60075d415590f75a7f1701e436b39918a79e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c715d8791f8e1c5326e9854349dd60075d415590f75a7f1701e436b39918a79e", kill_on_drop: false }` [INFO] [stdout] c715d8791f8e1c5326e9854349dd60075d415590f75a7f1701e436b39918a79e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] [stdout] 9d7b0aac44eb3a3ad7a318a8cdc96fd9b75b92eda726f19320cdfc9270ecfc59 [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" "9d7b0aac44eb3a3ad7a318a8cdc96fd9b75b92eda726f19320cdfc9270ecfc59", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling syn v1.0.75 [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 crc32fast v1.2.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking rle-decode-fast v1.0.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking ordermap v0.3.5 [INFO] [stderr] Checking strum v0.13.0 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling lzma-sys v0.1.17 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking ar v0.6.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking petgraph v0.4.13 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking tar v0.4.37 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking libflate v0.1.27 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking object v0.26.1 [INFO] [stderr] Compiling scroll v0.9.2 [INFO] [stderr] Checking xz2 v0.1.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking number_prefix v0.2.8 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Checking console v0.7.7 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking indicatif v0.11.0 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Checking cab v0.2.0 [INFO] [stderr] Checking tree_magic v0.2.3 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling scroll_derive v0.9.5 [INFO] [stderr] Compiling strum_macros v0.13.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking goblin v0.0.19 [INFO] [stderr] Checking unbox v0.2.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: unused import: `tree_magic` [INFO] [stdout] --> src/archive.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tree_magic; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/archive.rs:60:45 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn create>(archive: &Archive, dst: &P) -> Result { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Archive` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tree_magic` [INFO] [stdout] --> src/cli.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tree_magic; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/formats/mod.rs:79:55 [INFO] [stdout] | [INFO] [stdout] 79 | for index in graph.neighbors_directed(node_index, Direction::Incoming) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected enum `petgraph::Direction`, found enum `Direction` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `petgraph` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `zip::read::ZipFile::<'a>::sanitized_name`: by stripping `..`s from the path, the meaning of paths can change. [INFO] [stdout] `mangled_name` can be used if this behaviour is desirable [INFO] [stdout] --> src/formats/zip.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | let name = file.sanitized_name(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `unbox` due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `tree_magic` [INFO] [stdout] --> src/archive.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tree_magic; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/archive.rs:60:45 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn create>(archive: &Archive, dst: &P) -> Result { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Archive` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tree_magic` [INFO] [stdout] --> src/cli.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tree_magic; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/formats/mod.rs:79:55 [INFO] [stdout] | [INFO] [stdout] 79 | for index in graph.neighbors_directed(node_index, Direction::Incoming) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected enum `petgraph::Direction`, found enum `Direction` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `petgraph` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `zip::read::ZipFile::<'a>::sanitized_name`: by stripping `..`s from the path, the meaning of paths can change. [INFO] [stdout] `mangled_name` can be used if this behaviour is desirable [INFO] [stdout] --> src/formats/zip.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | let name = file.sanitized_name(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "9d7b0aac44eb3a3ad7a318a8cdc96fd9b75b92eda726f19320cdfc9270ecfc59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d7b0aac44eb3a3ad7a318a8cdc96fd9b75b92eda726f19320cdfc9270ecfc59", kill_on_drop: false }` [INFO] [stdout] 9d7b0aac44eb3a3ad7a318a8cdc96fd9b75b92eda726f19320cdfc9270ecfc59