[INFO] fetching crate rcmd-core 0.1.0... [INFO] testing rcmd-core-0.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate rcmd-core 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate rcmd-core 0.1.0 [INFO] finished tweaking crates.io crate rcmd-core 0.1.0 [INFO] tweaked toml for crates.io crate rcmd-core 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rcmd-core 0.1.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 113 packages to latest compatible versions [INFO] [stderr] Adding clap v3.2.25 (available: v4.6.1) [INFO] [stderr] Adding fern v0.5.9 (available: v0.7.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [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: v8.5.1) [INFO] [stderr] Adding zip-extensions v0.6.2 (available: v0.14.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c98cf67f993f11bb9868f5d8bfdfd8488e98b25cbb24e82caf3b84957fe0fd20 [INFO] running `Command { std: "docker" "start" "-a" "c98cf67f993f11bb9868f5d8bfdfd8488e98b25cbb24e82caf3b84957fe0fd20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c98cf67f993f11bb9868f5d8bfdfd8488e98b25cbb24e82caf3b84957fe0fd20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c98cf67f993f11bb9868f5d8bfdfd8488e98b25cbb24e82caf3b84957fe0fd20", kill_on_drop: false }` [INFO] [stdout] c98cf67f993f11bb9868f5d8bfdfd8488e98b25cbb24e82caf3b84957fe0fd20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e52ff648cb9c0e00e60e73a1c7dd8ea6beb3e449f2129bfe9528ad88db41b58 [INFO] running `Command { std: "docker" "start" "-a" "6e52ff648cb9c0e00e60e73a1c7dd8ea6beb3e449f2129bfe9528ad88db41b58", kill_on_drop: false }` [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling simd-adler32 v0.3.9 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling base64ct v1.8.3 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling fern v0.5.9 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling zip-extensions v0.6.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling rcmd-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/util/filesys.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [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: `crate::util::filesys::zip_dir` [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | use crate::util::filesys::zip_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WalkDir` [INFO] [stdout] --> src/lib.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | use walkdir::{WalkDir, DirEntry}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `zip::ZipWriter::::start_file_from_path`: by stripping `..`s from the path, the meaning of paths can change. Use `start_file` instead. [INFO] [stdout] --> src/util/filesys.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | zip.start_file_from_path(name, options)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `zip::ZipWriter::::add_directory_from_path`: by stripping `..`s from the path, the meaning of paths can change. Use `add_directory` instead. [INFO] [stdout] --> src/util/filesys.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | zip.add_directory_from_path(name, options)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/filesys.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn unzip_to_path(zip_f: &str, tar_p: &str) -> Result<(), ZipError>{ [INFO] [stdout] | -------------------- expected `Result<(), ZipError>` because of return type [INFO] [stdout] ... [INFO] [stdout] 97 | zip_extract(&Path::new(zip_f).to_path_buf(), &out.to_path_buf()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ZipError`, found `zip::result::ZipError` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `zip` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zip-0.5.13/src/result.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum ZipError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zip-0.6.6/src/result.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum ZipError { [INFO] [stdout] | ----------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rcmd-core` (lib) due to 1 previous error; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "6e52ff648cb9c0e00e60e73a1c7dd8ea6beb3e449f2129bfe9528ad88db41b58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e52ff648cb9c0e00e60e73a1c7dd8ea6beb3e449f2129bfe9528ad88db41b58", kill_on_drop: false }` [INFO] [stdout] 6e52ff648cb9c0e00e60e73a1c7dd8ea6beb3e449f2129bfe9528ad88db41b58