[INFO] fetching crate binstall-zip 0.6.4...
[INFO] testing binstall-zip-0.6.4 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] extracting crate binstall-zip 0.6.4 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate binstall-zip 0.6.4
[INFO] finished tweaking crates.io crate binstall-zip 0.6.4
[INFO] tweaked toml for crates.io crate binstall-zip 0.6.4 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate binstall-zip 0.6.4 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate binstall-zip 0.6.4 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded crossbeam-utils v0.8.12
[INFO] [stderr]   Downloaded cc v1.0.74
[INFO] [stderr]   Downloaded flate2 v1.0.24
[INFO] [stderr]   Downloaded zstd-sys v2.0.1+zstd.1.5.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 850ff0e2c044f56f4e6dd74ac86e0794f64655808853430e477ea6128fa4a5fb
[INFO] running `Command { std: "docker" "start" "-a" "850ff0e2c044f56f4e6dd74ac86e0794f64655808853430e477ea6128fa4a5fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "850ff0e2c044f56f4e6dd74ac86e0794f64655808853430e477ea6128fa4a5fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "850ff0e2c044f56f4e6dd74ac86e0794f64655808853430e477ea6128fa4a5fb", kill_on_drop: false }`
[INFO] [stdout] 850ff0e2c044f56f4e6dd74ac86e0794f64655808853430e477ea6128fa4a5fb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1bcffad7a3fd07de240645cc1ed856e1e5180a743db1abbdd075ed8ca4e9e032
[INFO] running `Command { std: "docker" "start" "-a" "1bcffad7a3fd07de240645cc1ed856e1e5180a743db1abbdd075ed8ca4e9e032", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]    Compiling base64ct v1.5.3
[INFO] [stderr]    Compiling time-core v0.1.0
[INFO] [stderr]    Compiling miniz_oxide v0.5.4
[INFO] [stderr]    Compiling time-macros v0.2.6
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling itoa v1.0.4
[INFO] [stderr]    Compiling password-hash v0.4.2
[INFO] [stderr]    Compiling constant_time_eq v0.1.5
[INFO] [stderr]    Compiling flate2 v1.0.24
[INFO] [stderr]    Compiling block-buffer v0.10.3
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling cipher v0.3.0
[INFO] [stderr]    Compiling time v0.3.17
[INFO] [stderr]    Compiling jobserver v0.1.25
[INFO] [stderr]    Compiling aes v0.7.5
[INFO] [stderr]    Compiling digest v0.10.5
[INFO] [stderr]    Compiling cc v1.0.74
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.6
[INFO] [stderr]    Compiling sha1 v0.10.5
[INFO] [stderr]    Compiling pbkdf2 v0.11.0
[INFO] [stderr]    Compiling zstd-sys v2.0.1+zstd.1.5.2
[INFO] [stderr]    Compiling bzip2-sys v0.1.11+1.0.8
[INFO] [stderr]    Compiling bzip2 v0.4.3
[INFO] [stderr]    Compiling zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]    Compiling binstall-zip v0.6.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]     --> src/read.rs:1035:31
[INFO] [stdout]      |
[INFO] [stdout] 1034 |     reader: &'a mut R,
[INFO] [stdout]      |              -- the lifetime is named here
[INFO] [stdout] 1035 | ) -> ZipResult<Option<ZipFile<'_>>> {
[INFO] [stdout]      |                               ^^ the same lifetime is elided here
[INFO] [stdout]      |
[INFO] [stdout]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]      = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]      |
[INFO] [stdout] 1035 - ) -> ZipResult<Option<ZipFile<'_>>> {
[INFO] [stdout] 1035 + ) -> ZipResult<Option<ZipFile<'a>>> {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s
[INFO] running `Command { std: "docker" "inspect" "1bcffad7a3fd07de240645cc1ed856e1e5180a743db1abbdd075ed8ca4e9e032", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1bcffad7a3fd07de240645cc1ed856e1e5180a743db1abbdd075ed8ca4e9e032", kill_on_drop: false }`
[INFO] [stdout] 1bcffad7a3fd07de240645cc1ed856e1e5180a743db1abbdd075ed8ca4e9e032
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7eeaa43950bce0c1a80b0b196136df4776b1be6522ab515be8b8036f75a506b4
[INFO] running `Command { std: "docker" "start" "-a" "7eeaa43950bce0c1a80b0b196136df4776b1be6522ab515be8b8036f75a506b4", kill_on_drop: false }`
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling bencher v0.1.5
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]     --> src/read.rs:1035:31
[INFO] [stdout]      |
[INFO] [stdout] 1034 |     reader: &'a mut R,
[INFO] [stdout]      |              -- the lifetime is named here
[INFO] [stdout] 1035 | ) -> ZipResult<Option<ZipFile<'_>>> {
[INFO] [stdout]      |                               ^^ the same lifetime is elided here
[INFO] [stdout]      |
[INFO] [stdout]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]      = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]      |
[INFO] [stdout] 1035 - ) -> ZipResult<Option<ZipFile<'_>>> {
[INFO] [stdout] 1035 + ) -> ZipResult<Option<ZipFile<'a>>> {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling binstall-zip v0.6.4 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip`
[INFO] [stdout]  --> tests/end_to_end.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use zip::write::FileOptions;
[INFO] [stdout]   |     ^^^ use of unresolved module or unlinked crate `zip`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `zip`
[INFO] [stdout]  --> tests/end_to_end.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use zip::{CompressionMethod, SUPPORTED_COMPRESSION_METHODS};
[INFO] [stdout]   |     ^^^ use of unresolved module or unlinked crate `zip`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `zip`
[INFO] [stdout]   --> tests/zip_comment_garbage.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use zip::ZipArchive;
[INFO] [stdout]    |     ^^^ use of unresolved module or unlinked crate `zip`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip`
[INFO] [stdout]    --> tests/zip64_large.rs:193:23
[INFO] [stdout]     |
[INFO] [stdout] 193 |     let mut archive = zip::ZipArchive::new(zipfile).unwrap();
[INFO] [stdout]     |                       ^^^ use of unresolved module or unlinked crate `zip`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  56 + use binstall_zip::ZipArchive;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `ZipArchive`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 193 -     let mut archive = zip::ZipArchive::new(zipfile).unwrap();
[INFO] [stdout] 193 +     let mut archive = ZipArchive::new(zipfile).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `zip`
[INFO] [stdout]  --> tests/aes_encryption.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use zip::ZipArchive;
[INFO] [stdout]   |     ^^^ use of unresolved module or unlinked crate `zip`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `binstall-zip` (test "zip_comment_garbage") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `binstall-zip` (test "zip64_large") due to 1 previous error
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip`
[INFO] [stdout]   --> tests/end_to_end.rs:35:35
[INFO] [stdout]    |
[INFO] [stdout] 35 |             let mut src_archive = zip::ZipArchive::new(src_file).unwrap();
[INFO] [stdout]    |                                   ^^^ use of unresolved module or unlinked crate `zip`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use binstall_zip::ZipArchive;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `ZipArchive`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 35 -             let mut src_archive = zip::ZipArchive::new(src_file).unwrap();
[INFO] [stdout] 35 +             let mut src_archive = ZipArchive::new(src_file).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip`
[INFO] [stdout]   --> tests/end_to_end.rs:36:27
[INFO] [stdout]    |
[INFO] [stdout] 36 |             let mut zip = zip::ZipWriter::new(&mut tgt_file);
[INFO] [stdout]    |                           ^^^ use of unresolved module or unlinked crate `zip`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use binstall_zip::ZipWriter;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `ZipWriter`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 36 -             let mut zip = zip::ZipWriter::new(&mut tgt_file);
[INFO] [stdout] 36 +             let mut zip = ZipWriter::new(&mut tgt_file);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip`
[INFO] [stdout]   --> tests/end_to_end.rs:56:31
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let mut tgt_archive = zip::ZipArchive::new(tgt_file).unwrap();
[INFO] [stdout]    |                               ^^^ use of unresolved module or unlinked crate `zip`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use binstall_zip::ZipArchive;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `ZipArchive`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 56 -         let mut tgt_archive = zip::ZipArchive::new(tgt_file).unwrap();
[INFO] [stdout] 56 +         let mut tgt_archive = ZipArchive::new(tgt_file).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip`
[INFO] [stdout]   --> tests/end_to_end.rs:72:27
[INFO] [stdout]    |
[INFO] [stdout] 72 |             let mut zip = zip::ZipWriter::new_append(&mut file).unwrap();
[INFO] [stdout]    |                           ^^^ use of unresolved module or unlinked crate `zip`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use binstall_zip::ZipWriter;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `ZipWriter`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 72 -             let mut zip = zip::ZipWriter::new_append(&mut file).unwrap();
[INFO] [stdout] 72 +             let mut zip = ZipWriter::new_append(&mut file).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip`
[INFO] [stdout]   --> tests/end_to_end.rs:82:23
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let mut zip = zip::ZipArchive::new(&mut file).unwrap();
[INFO] [stdout]    |                       ^^^ use of unresolved module or unlinked crate `zip`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use binstall_zip::ZipArchive;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `ZipArchive`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 82 -         let mut zip = zip::ZipArchive::new(&mut file).unwrap();
[INFO] [stdout] 82 +         let mut zip = ZipArchive::new(&mut file).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip`
[INFO] [stdout]   --> tests/end_to_end.rs:92:6
[INFO] [stdout]    |
[INFO] [stdout] 92 | ) -> zip::result::ZipResult<()> {
[INFO] [stdout]    |      ^^^ use of unresolved module or unlinked crate `zip`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  1 + use binstall_zip::result;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `result`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 92 - ) -> zip::result::ZipResult<()> {
[INFO] [stdout] 92 + ) -> result::ZipResult<()> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip`
[INFO] [stdout]   --> tests/end_to_end.rs:93:19
[INFO] [stdout]    |
[INFO] [stdout] 93 |     let mut zip = zip::ZipWriter::new(file);
[INFO] [stdout]    |                   ^^^ use of unresolved module or unlinked crate `zip`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use binstall_zip::ZipWriter;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `ZipWriter`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 93 -     let mut zip = zip::ZipWriter::new(file);
[INFO] [stdout] 93 +     let mut zip = ZipWriter::new(file);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip`
[INFO] [stdout]    --> tests/end_to_end.rs:119:55
[INFO] [stdout]     |
[INFO] [stdout] 119 | fn check_test_archive<R: Read + Seek>(zip_file: R) -> zip::result::ZipResult<zip::ZipArchive<R>> {
[INFO] [stdout]     |                                                       ^^^ use of unresolved module or unlinked crate `zip`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout]   1 + use binstall_zip::result;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `result`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 119 - fn check_test_archive<R: Read + Seek>(zip_file: R) -> zip::result::ZipResult<zip::ZipArchive<R>> {
[INFO] [stdout] 119 + fn check_test_archive<R: Read + Seek>(zip_file: R) -> result::ZipResult<zip::ZipArchive<R>> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip`
[INFO] [stdout]    --> tests/end_to_end.rs:120:23
[INFO] [stdout]     |
[INFO] [stdout] 120 |     let mut archive = zip::ZipArchive::new(zip_file).unwrap();
[INFO] [stdout]     |                       ^^^ use of unresolved module or unlinked crate `zip`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use binstall_zip::ZipArchive;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `ZipArchive`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 120 -     let mut archive = zip::ZipArchive::new(zip_file).unwrap();
[INFO] [stdout] 120 +     let mut archive = ZipArchive::new(zip_file).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip`
[INFO] [stdout]    --> tests/end_to_end.rs:152:6
[INFO] [stdout]     |
[INFO] [stdout] 152 | ) -> zip::result::ZipResult<String> {
[INFO] [stdout]     |      ^^^ use of unresolved module or unlinked crate `zip`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout]   1 + use binstall_zip::result;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `result`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 152 - ) -> zip::result::ZipResult<String> {
[INFO] [stdout] 152 + ) -> result::ZipResult<String> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip`
[INFO] [stdout]  --> tests/issue_234.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use zip::result::ZipError;
[INFO] [stdout]   |     ^^^ use of unresolved module or unlinked crate `zip`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip`
[INFO] [stdout]   --> examples/stdin_info.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 |         match zip::read::read_zipfile_from_stream(&mut stdin_handle) {
[INFO] [stdout]    |               ^^^ use of unresolved module or unlinked crate `zip`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  1 + use binstall_zip::read;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `read`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 13 -         match zip::read::read_zipfile_from_stream(&mut stdin_handle) {
[INFO] [stdout] 13 +         match read::read_zipfile_from_stream(&mut stdin_handle) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip`
[INFO] [stdout]   --> tests/issue_234.rs:26:19
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let archive = zip::ZipArchive::new(reader);
[INFO] [stdout]    |                   ^^^ use of unresolved module or unlinked crate `zip`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use binstall_zip::ZipArchive;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `ZipArchive`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 26 -     let archive = zip::ZipArchive::new(reader);
[INFO] [stdout] 26 +     let archive = ZipArchive::new(reader);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> examples/stdin_info.rs:17:21
[INFO] [stdout]    |
[INFO] [stdout] 17 |                     file.name(),
[INFO] [stdout]    |                     ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip`
[INFO] [stdout]  --> examples/write_sample.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use zip::write::FileOptions;
[INFO] [stdout]   |     ^^^ use of unresolved module or unlinked crate `zip`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `binstall-zip` (test "issue_234") due to 2 previous errors
[INFO] [stderr] error: could not compile `binstall-zip` (test "aes_encryption") due to 1 previous error
[INFO] [stderr] error: could not compile `binstall-zip` (example "stdin_info") due to 2 previous errors
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip`
[INFO] [stdout]    --> tests/end_to_end.rs:119:78
[INFO] [stdout]     |
[INFO] [stdout] 119 | fn check_test_archive<R: Read + Seek>(zip_file: R) -> zip::result::ZipResult<zip::ZipArchive<R>> {
[INFO] [stdout]     |                                                                              ^^^ use of unresolved module or unlinked crate `zip`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip`
[INFO] [stdout]    --> tests/end_to_end.rs:150:19
[INFO] [stdout]     |
[INFO] [stdout] 150 |     archive: &mut zip::ZipArchive<R>,
[INFO] [stdout]     |                   ^^^ use of unresolved module or unlinked crate `zip`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip`
[INFO] [stdout]    --> tests/end_to_end.rs:186:19
[INFO] [stdout]     |
[INFO] [stdout] 186 |     archive: &mut zip::ZipArchive<R>,
[INFO] [stdout]     |                   ^^^ use of unresolved module or unlinked crate `zip`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip`
[INFO] [stdout]   --> examples/write_sample.rs:24:28
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn doit(filename: &str) -> zip::result::ZipResult<()> {
[INFO] [stdout]    |                            ^^^ use of unresolved module or unlinked crate `zip`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  1 + use binstall_zip::result;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `result`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 24 - fn doit(filename: &str) -> zip::result::ZipResult<()> {
[INFO] [stdout] 24 + fn doit(filename: &str) -> result::ZipResult<()> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip`
[INFO] [stdout]   --> examples/write_sample.rs:28:19
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut zip = zip::ZipWriter::new(file);
[INFO] [stdout]    |                   ^^^ use of unresolved module or unlinked crate `zip`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use binstall_zip::ZipWriter;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `ZipWriter`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 28 -     let mut zip = zip::ZipWriter::new(file);
[INFO] [stdout] 28 +     let mut zip = ZipWriter::new(file);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip`
[INFO] [stdout]   --> examples/write_sample.rs:33:29
[INFO] [stdout]    |
[INFO] [stdout] 33 |         .compression_method(zip::CompressionMethod::Stored)
[INFO] [stdout]    |                             ^^^ use of unresolved module or unlinked crate `zip`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use binstall_zip::CompressionMethod;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `CompressionMethod`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 33 -         .compression_method(zip::CompressionMethod::Stored)
[INFO] [stdout] 33 +         .compression_method(CompressionMethod::Stored)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `binstall-zip` (test "end_to_end") due to 15 previous errors
[INFO] [stderr] error: could not compile `binstall-zip` (example "write_sample") due to 4 previous errors
[INFO] [stdout] warning: struct `CounterVisitor` is never constructed
[INFO] [stdout]    --> src/read/stream.rs:234:12
[INFO] [stdout]     |
[INFO] [stdout] 234 |     struct CounterVisitor(u64, u64);
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::str::from_utf8` with an invalid literal always return an error
[INFO] [stdout]    --> src/cp437.rs:193:17
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let data = b"Cura\x87ao";
[INFO] [stdout]     |                    ------------- the literal was valid UTF-8 up to the 4 bytes
[INFO] [stdout] 193 |         assert!(::std::str::from_utf8(data).is_err());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(invalid_from_utf8)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]     --> src/read.rs:1035:31
[INFO] [stdout]      |
[INFO] [stdout] 1034 |     reader: &'a mut R,
[INFO] [stdout]      |              -- the lifetime is named here
[INFO] [stdout] 1035 | ) -> ZipResult<Option<ZipFile<'_>>> {
[INFO] [stdout]      |                               ^^ the same lifetime is elided here
[INFO] [stdout]      |
[INFO] [stdout]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]      = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]      |
[INFO] [stdout] 1035 - ) -> ZipResult<Option<ZipFile<'_>>> {
[INFO] [stdout] 1035 + ) -> ZipResult<Option<ZipFile<'a>>> {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "7eeaa43950bce0c1a80b0b196136df4776b1be6522ab515be8b8036f75a506b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7eeaa43950bce0c1a80b0b196136df4776b1be6522ab515be8b8036f75a506b4", kill_on_drop: false }`
[INFO] [stdout] 7eeaa43950bce0c1a80b0b196136df4776b1be6522ab515be8b8036f75a506b4
