[INFO] fetching crate unbox 0.2.0... [INFO] testing unbox-0.2.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate unbox 0.2.0 into /workspace/builds/worker-7-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate unbox 0.2.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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.46) [INFO] [stderr] Adding console v0.7.7 (available: v0.16.0) [INFO] [stderr] Adding goblin v0.0.19 (available: v0.10.1) [INFO] [stderr] Adding indicatif v0.11.0 (available: v0.18.0) [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.2) [INFO] [stderr] Adding strum_macros v0.13.0 (available: v0.27.2) [INFO] [stderr] Adding uuid v0.7.4 (available: v1.18.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.6.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tree_magic v0.2.3 [INFO] [stderr] Downloaded strum_macros v0.13.0 [INFO] [stderr] Downloaded strum v0.13.0 [INFO] [stderr] Downloaded scroll v0.9.2 [INFO] [stderr] Downloaded ar v0.6.2 [INFO] [stderr] Downloaded scroll_derive v0.9.5 [INFO] [stderr] Downloaded number_prefix v0.2.8 [INFO] [stderr] Downloaded indicatif v0.11.0 [INFO] [stderr] Downloaded cab v0.2.0 [INFO] [stderr] Downloaded goblin v0.0.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba2c0007070de7359163b3fbb2b9c70bd73012f9e213058464bd163289249f45 [INFO] running `Command { std: "docker" "start" "-a" "ba2c0007070de7359163b3fbb2b9c70bd73012f9e213058464bd163289249f45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba2c0007070de7359163b3fbb2b9c70bd73012f9e213058464bd163289249f45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba2c0007070de7359163b3fbb2b9c70bd73012f9e213058464bd163289249f45", kill_on_drop: false }` [INFO] [stdout] ba2c0007070de7359163b3fbb2b9c70bd73012f9e213058464bd163289249f45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10ca7823f9e125c9fcd50cf862fdec3959b2a76f2c455dbfc6f2e7a957c396f4 [INFO] running `Command { std: "docker" "start" "-a" "10ca7823f9e125c9fcd50cf862fdec3959b2a76f2c455dbfc6f2e7a957c396f4", 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.175 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling scroll v0.9.2 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling number_prefix v0.2.8 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling libflate v0.1.27 [INFO] [stderr] Compiling ar v0.6.2 [INFO] [stderr] Compiling strum v0.13.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling parking_lot_core v0.7.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling console v0.16.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling termios v0.3.3 [INFO] [stderr] Compiling console v0.7.7 [INFO] [stderr] Compiling xz2 v0.1.7 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling cab v0.2.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling xattr v1.5.1 [INFO] [stderr] Compiling indicatif v0.11.0 [INFO] [stderr] Compiling tree_magic v0.2.3 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling scroll_derive v0.9.5 [INFO] [stderr] Compiling strum_macros v0.13.0 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling goblin v0.0.19 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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: 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] running `Command { std: "docker" "inspect" "10ca7823f9e125c9fcd50cf862fdec3959b2a76f2c455dbfc6f2e7a957c396f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10ca7823f9e125c9fcd50cf862fdec3959b2a76f2c455dbfc6f2e7a957c396f4", kill_on_drop: false }` [INFO] [stdout] 10ca7823f9e125c9fcd50cf862fdec3959b2a76f2c455dbfc6f2e7a957c396f4