[INFO] fetching crate unbox 0.2.0... [INFO] checking unbox-0.2.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate unbox 0.2.0 into /workspace/builds/worker-7-tc2/source [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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate unbox 0.2.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 174 packages to latest compatible versions [INFO] [stderr] Adding ar v0.6.2 (available: v0.9.0) [INFO] [stderr] Adding bzip2 v0.3.3 (available: v0.6.0) [INFO] [stderr] Adding cab v0.2.0 (available: v0.6.0) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.40) [INFO] [stderr] Adding console v0.7.7 (available: v0.16.0) [INFO] [stderr] Adding goblin v0.0.19 (available: v0.10.0) [INFO] [stderr] Adding indicatif v0.11.0 (available: v0.17.11) [INFO] [stderr] Adding libflate v0.1.27 (available: v2.1.0) [INFO] [stderr] Adding petgraph v0.4.13 (available: v0.8.2) [INFO] [stderr] Adding strum v0.13.0 (available: v0.27.1) [INFO] [stderr] Adding strum_macros v0.13.0 (available: v0.27.1) [INFO] [stderr] Adding uuid v0.7.4 (available: v1.17.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] [stderr] Adding zip v0.5.13 (available: v4.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `goblin` dependency) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 883267bfea2281e0800d26917d1a665a05b81964e7e0d6d0e949ed3acd2fc8f7 [INFO] running `Command { std: "docker" "start" "-a" "883267bfea2281e0800d26917d1a665a05b81964e7e0d6d0e949ed3acd2fc8f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "883267bfea2281e0800d26917d1a665a05b81964e7e0d6d0e949ed3acd2fc8f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "883267bfea2281e0800d26917d1a665a05b81964e7e0d6d0e949ed3acd2fc8f7", kill_on_drop: false }` [INFO] [stdout] 883267bfea2281e0800d26917d1a665a05b81964e7e0d6d0e949ed3acd2fc8f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd4cc59469078d124f4489ade4f982e89eddc369c6810788721bdff36a9bf72c [INFO] running `Command { std: "docker" "start" "-a" "dd4cc59469078d124f4489ade4f982e89eddc369c6810788721bdff36a9bf72c", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `goblin` dependency) [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [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 miniz_oxide v0.8.9 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling syn v2.0.104 [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] Checking rand_core v0.3.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [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 flate2 v1.1.2 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling scroll v0.9.2 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking rustc-demangle v0.1.25 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking parking_lot_core v0.7.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking console v0.16.0 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking number_prefix v0.2.8 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking rle-decode-fast v1.0.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking ordermap v0.3.5 [INFO] [stderr] Checking libflate v0.1.27 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking xz2 v0.1.7 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking ar v0.6.2 [INFO] [stderr] Checking strum v0.13.0 [INFO] [stderr] Checking petgraph v0.4.13 [INFO] [stderr] Checking cab v0.2.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking xattr v1.5.1 [INFO] [stderr] Checking tree_magic v0.2.3 [INFO] [stderr] Checking tar v0.4.44 [INFO] [stderr] Compiling scroll_derive v0.9.5 [INFO] [stderr] Compiling strum_macros v0.13.0 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking goblin v0.0.19 [INFO] [stderr] Checking indicatif v0.11.0 [INFO] [stderr] Checking console v0.7.7 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking thiserror v1.0.69 [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: 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: 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] | ^^^^^^^ [INFO] [stdout] | [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 | pub fn create>(archive: &dyn Archive, dst: &P) -> Result { [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: 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: use of deprecated method `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: 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] | ^^^^^^^ [INFO] [stdout] | [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 | pub fn create>(archive: &dyn Archive, dst: &P) -> Result { [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 `petgraph::Direction`, found `Direction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `petgraph` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.4.13/src/lib.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | pub enum Direction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `Direction` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.5.1/src/lib.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | pub enum Direction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `petgraph::Direction` [INFO] [stdout] | [INFO] [stdout] ::: src/cli.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tree_magic; [INFO] [stdout] | ---------- one version of crate `petgraph` used here, as a dependency of crate `tree_magic` [INFO] [stdout] | [INFO] [stdout] ::: src/formats/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use petgraph::Direction; [INFO] [stdout] | -------- one version of crate `petgraph` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.5.1/src/graph_impl/mod.rs:782:12 [INFO] [stdout] | [INFO] [stdout] 782 | pub fn neighbors_directed(&self, a: NodeIndex, dir: Direction) -> Neighbors { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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[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 `petgraph::Direction`, found `Direction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `petgraph` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.4.13/src/lib.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | pub enum Direction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `Direction` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.5.1/src/lib.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | pub enum Direction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `petgraph::Direction` [INFO] [stdout] | [INFO] [stdout] ::: src/cli.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tree_magic; [INFO] [stdout] | ---------- one version of crate `petgraph` used here, as a dependency of crate `tree_magic` [INFO] [stdout] | [INFO] [stdout] ::: src/formats/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use petgraph::Direction; [INFO] [stdout] | -------- one version of crate `petgraph` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.5.1/src/graph_impl/mod.rs:782:12 [INFO] [stdout] | [INFO] [stdout] 782 | pub fn neighbors_directed(&self, a: NodeIndex, dir: Direction) -> Neighbors { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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` (bin "unbox") due to 1 previous error; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `unbox` (bin "unbox" test) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "dd4cc59469078d124f4489ade4f982e89eddc369c6810788721bdff36a9bf72c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd4cc59469078d124f4489ade4f982e89eddc369c6810788721bdff36a9bf72c", kill_on_drop: false }` [INFO] [stdout] dd4cc59469078d124f4489ade4f982e89eddc369c6810788721bdff36a9bf72c