[INFO] fetching crate unbox 0.2.0... [INFO] checking unbox-0.2.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate unbox 0.2.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate unbox 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 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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ordermap v0.3.5 [INFO] [stderr] Downloaded console v0.7.7 [INFO] [stderr] Downloaded strum v0.13.0 [INFO] [stderr] Downloaded ar v0.6.2 [INFO] [stderr] Downloaded strum_macros v0.13.0 [INFO] [stderr] Downloaded goblin v0.0.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 8314cab1b857e3851b7228308758b5a6fdc7bb397210bf934464e6698b13883f [INFO] running `Command { std: "docker" "start" "-a" "8314cab1b857e3851b7228308758b5a6fdc7bb397210bf934464e6698b13883f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8314cab1b857e3851b7228308758b5a6fdc7bb397210bf934464e6698b13883f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8314cab1b857e3851b7228308758b5a6fdc7bb397210bf934464e6698b13883f", kill_on_drop: false }` [INFO] [stdout] 8314cab1b857e3851b7228308758b5a6fdc7bb397210bf934464e6698b13883f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] dee14206ec6a6ba6eae069315c99705ab96bcf51f8f2727dd60821377e86b7d5 [INFO] running `Command { std: "docker" "start" "-a" "dee14206ec6a6ba6eae069315c99705ab96bcf51f8f2727dd60821377e86b7d5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking rle-decode-fast v1.0.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ordermap v0.3.5 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking strum v0.13.0 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking crc32fast v1.2.1 [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 object v0.26.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking ar v0.6.2 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking libflate v0.1.27 [INFO] [stderr] Checking petgraph v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling lzma-sys v0.1.17 [INFO] [stderr] Compiling scroll v0.9.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Checking filetime v0.2.14 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking xz2 v0.1.6 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking tar v0.4.35 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking number_prefix v0.2.8 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking tree_magic v0.2.3 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Checking console v0.7.7 [INFO] [stderr] Checking cab v0.2.0 [INFO] [stderr] Checking indicatif v0.11.0 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling scroll_derive v0.9.5 [INFO] [stderr] Compiling strum_macros v0.13.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking goblin v0.0.19 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking unbox v0.2.0 (/opt/rustwide/workdir) [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: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [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] 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: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [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] 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] 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] [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "dee14206ec6a6ba6eae069315c99705ab96bcf51f8f2727dd60821377e86b7d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dee14206ec6a6ba6eae069315c99705ab96bcf51f8f2727dd60821377e86b7d5", kill_on_drop: false }` [INFO] [stdout] dee14206ec6a6ba6eae069315c99705ab96bcf51f8f2727dd60821377e86b7d5