[INFO] fetching crate binstall-zip 0.6.4...
[INFO] checking binstall-zip-0.6.4 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate binstall-zip 0.6.4 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate binstall-zip 0.6.4 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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] 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" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded base64ct v1.5.3
[INFO] [stderr]   Downloaded flate2 v1.0.24
[INFO] [stderr]   Downloaded bencher v0.1.5
[INFO] [stderr]   Downloaded bzip2 v0.4.3
[INFO] [stderr]   Downloaded crossbeam-utils v0.8.12
[INFO] [stderr]   Downloaded cc v1.0.74
[INFO] [stderr]   Downloaded zstd-sys v2.0.1+zstd.1.5.2
[INFO] [stderr]   Downloaded libz-sys v1.1.8
[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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d4539023bdd8395eea570623250faab83ae568706f5ce56321f05d9e52b28e84
[INFO] running `Command { std: "docker" "start" "-a" "d4539023bdd8395eea570623250faab83ae568706f5ce56321f05d9e52b28e84", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d4539023bdd8395eea570623250faab83ae568706f5ce56321f05d9e52b28e84", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d4539023bdd8395eea570623250faab83ae568706f5ce56321f05d9e52b28e84", kill_on_drop: false }`
[INFO] [stdout] d4539023bdd8395eea570623250faab83ae568706f5ce56321f05d9e52b28e84
[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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c4fd72fd8583e5b909685fbccebf21a6464c6ab3246bb4dd8f07968e32ca793a
[INFO] running `Command { std: "docker" "start" "-a" "c4fd72fd8583e5b909685fbccebf21a6464c6ab3246bb4dd8f07968e32ca793a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]     Checking cpufeatures v0.2.5
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]     Checking base64ct v1.5.3
[INFO] [stderr]    Compiling time-core v0.1.0
[INFO] [stderr]     Checking itoa v1.0.4
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking typenum v1.15.0
[INFO] [stderr]     Checking miniz_oxide v0.5.4
[INFO] [stderr]     Checking constant_time_eq v0.1.5
[INFO] [stderr]     Checking walkdir v2.3.2
[INFO] [stderr]     Checking bencher v0.1.5
[INFO] [stderr]    Compiling time-macros v0.2.6
[INFO] [stderr]     Checking password-hash v0.4.2
[INFO] [stderr]     Checking flate2 v1.0.24
[INFO] [stderr]     Checking generic-array v0.14.6
[INFO] [stderr]    Compiling jobserver v0.1.25
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking time v0.3.17
[INFO] [stderr]    Compiling cc v1.0.74
[INFO] [stderr]     Checking block-buffer v0.10.3
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking cipher v0.3.0
[INFO] [stderr]     Checking digest v0.10.5
[INFO] [stderr]     Checking aes v0.7.5
[INFO] [stderr]     Checking sha2 v0.10.6
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking sha1 v0.10.5
[INFO] [stderr]     Checking 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]     Checking bzip2 v0.4.3
[INFO] [stderr]     Checking zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]     Checking binstall-zip v0.6.4 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]  --> examples/write_sample.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use zip::write::FileOptions;
[INFO] [stdout]   |     ^^^ use of undeclared crate or module `zip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]  --> tests/issue_234.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use zip::result::ZipError;
[INFO] [stdout]   |     ^^^ use of undeclared crate or module `zip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]  --> examples/write_dir.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use zip::result::ZipError;
[INFO] [stdout]   |     ^^^ use of undeclared crate or module `zip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]  --> examples/write_dir.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use zip::write::FileOptions;
[INFO] [stdout]   |     ^^^ use of undeclared crate or module `zip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]  --> tests/invalid_date.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use zip::read::ZipArchive;
[INFO] [stdout]   |     ^^^ use of undeclared crate or module `zip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]  --> tests/end_to_end.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use zip::write::FileOptions;
[INFO] [stdout]   |     ^^^ use of undeclared crate or module `zip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[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 undeclared crate or module `zip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `zip`
[INFO] [stdout]  --> benches/read_metadata.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use zip::{ZipArchive, ZipWriter};
[INFO] [stdout]   |     ^^^ use of undeclared crate or module `zip`
[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 undeclared crate or module `zip`
[INFO] [stdout] 
[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 undeclared crate or module `zip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]   --> examples/extract_lorem.rs:16:23
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut archive = zip::ZipArchive::new(zipfile).unwrap();
[INFO] [stdout]    |                       ^^^ use of undeclared crate or module `zip`
[INFO] [stdout]    |
[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] 16 -     let mut archive = zip::ZipArchive::new(zipfile).unwrap();
[INFO] [stdout] 16 +     let mut archive = ZipArchive::new(zipfile).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]   --> tests/issue_234.rs:26:19
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let archive = zip::ZipArchive::new(reader);
[INFO] [stdout]    |                   ^^^ use of undeclared crate or module `zip`
[INFO] [stdout]    |
[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[E0432]: unresolved import `zip`
[INFO] [stdout]  --> benches/read_entry.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use zip::{ZipArchive, ZipWriter};
[INFO] [stdout]   |     ^^^ use of undeclared crate or module `zip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `binstall-zip` (test "invalid_date") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `zip`
[INFO] [stdout]    |
[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] warning: unused import: `std::io::prelude`
[INFO] [stdout]  --> examples/extract_lorem.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `zip`
[INFO] [stdout]    |
[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 undeclared crate or module `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 undeclared crate or module `zip`
[INFO] [stdout]     |
[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] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]   --> examples/write_sample.rs:33:29
[INFO] [stdout]    |
[INFO] [stdout] 33 |         .compression_method(zip::CompressionMethod::Stored)
[INFO] [stdout]    |                             ^^^ use of undeclared crate or module `zip`
[INFO] [stdout]    |
[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] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]   --> tests/zip_crypto.rs:42:23
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let mut archive = zip::ZipArchive::new(zip_file_bytes).unwrap();
[INFO] [stdout]    |                       ^^^ use of undeclared crate or module `zip`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 20 + use binstall_zip::ZipArchive;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `ZipArchive`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 42 -     let mut archive = zip::ZipArchive::new(zip_file_bytes).unwrap();
[INFO] [stdout] 42 +     let mut archive = ZipArchive::new(zip_file_bytes).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]   --> tests/zip_crypto.rs:50:17
[INFO] [stdout]    |
[INFO] [stdout] 50 |             Err(zip::result::ZipError::UnsupportedArchive(
[INFO] [stdout]    |                 ^^^ use of undeclared crate or module `zip`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 20 + use binstall_zip::result::ZipError;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `ZipError`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 50 -             Err(zip::result::ZipError::UnsupportedArchive(
[INFO] [stdout] 50 +             Err(ZipError::UnsupportedArchive(
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]   --> examples/file_info.rs:18:23
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let mut archive = zip::ZipArchive::new(reader).unwrap();
[INFO] [stdout]    |                       ^^^ use of undeclared crate or module `zip`
[INFO] [stdout]    |
[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] 18 -     let mut archive = zip::ZipArchive::new(reader).unwrap();
[INFO] [stdout] 18 +     let mut archive = ZipArchive::new(reader).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `binstall-zip` (test "zip_comment_garbage") due to 2 previous errors
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]   --> tests/zip_crypto.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 zip::result::ZipError::PASSWORD_REQUIRED,
[INFO] [stdout]    |                 ^^^ use of undeclared crate or module `zip`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 20 + use binstall_zip::result::ZipError;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `ZipError`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 51 -                 zip::result::ZipError::PASSWORD_REQUIRED,
[INFO] [stdout] 51 +                 ZipError::PASSWORD_REQUIRED,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `binstall-zip` (example "extract_lorem") due to 2 previous errors; 1 warning emitted
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]   --> examples/extract.rs:17:23
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut archive = zip::ZipArchive::new(file).unwrap();
[INFO] [stdout]    |                       ^^^ use of undeclared crate or module `zip`
[INFO] [stdout]    |
[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] 17 -     let mut archive = zip::ZipArchive::new(file).unwrap();
[INFO] [stdout] 17 +     let mut archive = ZipArchive::new(file).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]   --> tests/zip_crypto.rs:64:20
[INFO] [stdout]    |
[INFO] [stdout] 64 |             Ok(Err(zip::result::InvalidPassword)) => (),
[INFO] [stdout]    |                    ^^^ use of undeclared crate or module `zip`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 20 + use binstall_zip::result;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `result`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 64 -             Ok(Err(zip::result::InvalidPassword)) => (),
[INFO] [stdout] 64 +             Ok(Err(result::InvalidPassword)) => (),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::prelude`
[INFO] [stdout]  --> examples/write_sample.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]   --> benches/read_metadata.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         zip::write::FileOptions::default().compression_method(zip::CompressionMethod::Stored);
[INFO] [stdout]    |         ^^^ use of undeclared crate or module `zip`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use binstall_zip::write::FileOptions;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `FileOptions`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 15 -         zip::write::FileOptions::default().compression_method(zip::CompressionMethod::Stored);
[INFO] [stdout] 15 +         FileOptions::default().compression_method(zip::CompressionMethod::Stored);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]   --> benches/read_metadata.rs:15:63
[INFO] [stdout]    |
[INFO] [stdout] 15 |         zip::write::FileOptions::default().compression_method(zip::CompressionMethod::Stored);
[INFO] [stdout]    |                                                               ^^^ use of undeclared crate or module `zip`
[INFO] [stdout]    |
[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] 15 -         zip::write::FileOptions::default().compression_method(zip::CompressionMethod::Stored);
[INFO] [stdout] 15 +         zip::write::FileOptions::default().compression_method(CompressionMethod::Stored);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> tests/aes_encryption.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{self, Read};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted
[INFO] [stdout] 
[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 undeclared crate or module `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 undeclared crate or module `zip`
[INFO] [stdout]    |
[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] [stderr] error: could not compile `binstall-zip` (test "issue_234") due to 3 previous errors
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]   --> benches/read_entry.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |         zip::write::FileOptions::default().compression_method(zip::CompressionMethod::Stored);
[INFO] [stdout]    |         ^^^ use of undeclared crate or module `zip`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use binstall_zip::write::FileOptions;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `FileOptions`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 13 -         zip::write::FileOptions::default().compression_method(zip::CompressionMethod::Stored);
[INFO] [stdout] 13 +         FileOptions::default().compression_method(zip::CompressionMethod::Stored);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]   --> benches/read_entry.rs:13:63
[INFO] [stdout]    |
[INFO] [stdout] 13 |         zip::write::FileOptions::default().compression_method(zip::CompressionMethod::Stored);
[INFO] [stdout]    |                                                               ^^^ use of undeclared crate or module `zip`
[INFO] [stdout]    |
[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] 13 -         zip::write::FileOptions::default().compression_method(zip::CompressionMethod::Stored);
[INFO] [stdout] 13 +         zip::write::FileOptions::default().compression_method(CompressionMethod::Stored);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]   --> tests/zip_crypto.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::io::Read;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[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 "aes_encryption") due to 2 previous errors; 1 warning emitted
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> benches/read_metadata.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{Cursor, Write};
[INFO] [stdout]   |                       ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `binstall-zip` (example "write_sample") due to 5 previous errors; 1 warning emitted
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> examples/stdin_info.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self, Read};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted
[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` (example "file_info") due to 2 previous errors
[INFO] [stderr] error: could not compile `binstall-zip` (example "extract") due to 2 previous errors
[INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted
[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 undeclared crate or module `zip`
[INFO] [stdout]   --> examples/write_dir.rs:15:60
[INFO] [stdout]    |
[INFO] [stdout] 15 | const METHOD_STORED: Option<zip::CompressionMethod> = Some(zip::CompressionMethod::Stored);
[INFO] [stdout]    |                                                            ^^^ use of undeclared crate or module `zip`
[INFO] [stdout]    |
[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] 15 - const METHOD_STORED: Option<zip::CompressionMethod> = Some(zip::CompressionMethod::Stored);
[INFO] [stdout] 15 + const METHOD_STORED: Option<zip::CompressionMethod> = Some(CompressionMethod::Stored);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]   --> examples/write_dir.rs:22:62
[INFO] [stdout]    |
[INFO] [stdout] 22 | const METHOD_DEFLATED: Option<zip::CompressionMethod> = Some(zip::CompressionMethod::Deflated);
[INFO] [stdout]    |                                                              ^^^ use of undeclared crate or module `zip`
[INFO] [stdout]    |
[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] 22 - const METHOD_DEFLATED: Option<zip::CompressionMethod> = Some(zip::CompressionMethod::Deflated);
[INFO] [stdout] 22 + const METHOD_DEFLATED: Option<zip::CompressionMethod> = Some(CompressionMethod::Deflated);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]   --> examples/write_dir.rs:31:59
[INFO] [stdout]    |
[INFO] [stdout] 31 | const METHOD_BZIP2: Option<zip::CompressionMethod> = Some(zip::CompressionMethod::Bzip2);
[INFO] [stdout]    |                                                           ^^^ use of undeclared crate or module `zip`
[INFO] [stdout]    |
[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] 31 - const METHOD_BZIP2: Option<zip::CompressionMethod> = Some(zip::CompressionMethod::Bzip2);
[INFO] [stdout] 31 + const METHOD_BZIP2: Option<zip::CompressionMethod> = Some(CompressionMethod::Bzip2);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> benches/read_entry.rs:3:29
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{Cursor, Read, Write};
[INFO] [stdout]   |                             ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `binstall-zip` (test "zip_crypto") due to 5 previous errors; 1 warning emitted
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]   --> examples/write_dir.rs:36:58
[INFO] [stdout]    |
[INFO] [stdout] 36 | const METHOD_ZSTD: Option<zip::CompressionMethod> = Some(zip::CompressionMethod::Zstd);
[INFO] [stdout]    |                                                          ^^^ use of undeclared crate or module `zip`
[INFO] [stdout]    |
[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] 36 - const METHOD_ZSTD: Option<zip::CompressionMethod> = Some(zip::CompressionMethod::Zstd);
[INFO] [stdout] 36 + const METHOD_ZSTD: Option<zip::CompressionMethod> = Some(CompressionMethod::Zstd);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> benches/read_entry.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{Cursor, Read, Write};
[INFO] [stdout]   |                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]   --> examples/write_dir.rs:70:6
[INFO] [stdout]    |
[INFO] [stdout] 70 | ) -> zip::result::ZipResult<()>
[INFO] [stdout]    |      ^^^ use of undeclared crate or module `zip`
[INFO] [stdout]    |
[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] 70 - ) -> zip::result::ZipResult<()>
[INFO] [stdout] 70 + ) -> result::ZipResult<()>
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]   --> examples/write_dir.rs:74:19
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let mut zip = zip::ZipWriter::new(writer);
[INFO] [stdout]    |                   ^^^ use of undeclared crate or module `zip`
[INFO] [stdout]    |
[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] 74 -     let mut zip = zip::ZipWriter::new(writer);
[INFO] [stdout] 74 +     let mut zip = ZipWriter::new(writer);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]    --> examples/write_dir.rs:111:6
[INFO] [stdout]     |
[INFO] [stdout] 111 | ) -> zip::result::ZipResult<()> {
[INFO] [stdout]     |      ^^^ use of undeclared crate or module `zip`
[INFO] [stdout]     |
[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] 111 - ) -> zip::result::ZipResult<()> {
[INFO] [stdout] 111 + ) -> result::ZipResult<()> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[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` (example "stdin_info") due to 2 previous errors; 1 warning emitted
[INFO] [stderr] error: could not compile `binstall-zip` (bench "read_metadata") due to 4 previous errors; 1 warning emitted
[INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted
[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] [stderr] error: could not compile `binstall-zip` (test "zip64_large") due to 2 previous errors
[INFO] [stderr] error: could not compile `binstall-zip` (bench "read_entry") due to 4 previous errors; 2 warnings emitted
[INFO] [stdout] warning: calls to `std::str::from_utf8` with a 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] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `zip`
[INFO] [stdout]    |
[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 undeclared crate or module `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 undeclared crate or module `zip`
[INFO] [stdout]    |
[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 undeclared crate or module `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 undeclared crate or module `zip`
[INFO] [stdout]    |
[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 undeclared crate or module `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 undeclared crate or module `zip`
[INFO] [stdout]    |
[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 undeclared crate or module `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 undeclared crate or module `zip`
[INFO] [stdout]    |
[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 undeclared crate or module `zip`
[INFO] [stdout]   --> tests/end_to_end.rs:92:6
[INFO] [stdout]    |
[INFO] [stdout] 92 | ) -> zip::result::ZipResult<()> {
[INFO] [stdout]    |      ^^^ use of undeclared crate or module `zip`
[INFO] [stdout]    |
[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 undeclared crate or module `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 undeclared crate or module `zip`
[INFO] [stdout]    |
[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 undeclared crate or module `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 undeclared crate or module `zip`
[INFO] [stdout]     |
[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 undeclared crate or module `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 undeclared crate or module `zip`
[INFO] [stdout]     |
[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 undeclared crate or module `zip`
[INFO] [stdout]    --> tests/end_to_end.rs:152:6
[INFO] [stdout]     |
[INFO] [stdout] 152 | ) -> zip::result::ZipResult<String> {
[INFO] [stdout]     |      ^^^ use of undeclared crate or module `zip`
[INFO] [stdout]     |
[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 undeclared crate or module `zip`
[INFO] [stdout]   --> examples/write_dir.rs:15:29
[INFO] [stdout]    |
[INFO] [stdout] 15 | const METHOD_STORED: Option<zip::CompressionMethod> = Some(zip::CompressionMethod::Stored);
[INFO] [stdout]    |                             ^^^ use of undeclared crate or module `zip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]   --> examples/write_dir.rs:22:31
[INFO] [stdout]    |
[INFO] [stdout] 22 | const METHOD_DEFLATED: Option<zip::CompressionMethod> = Some(zip::CompressionMethod::Deflated);
[INFO] [stdout]    |                               ^^^ use of undeclared crate or module `zip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]   --> examples/write_dir.rs:31:28
[INFO] [stdout]    |
[INFO] [stdout] 31 | const METHOD_BZIP2: Option<zip::CompressionMethod> = Some(zip::CompressionMethod::Bzip2);
[INFO] [stdout]    |                            ^^^ use of undeclared crate or module `zip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]   --> examples/write_dir.rs:36:27
[INFO] [stdout]    |
[INFO] [stdout] 36 | const METHOD_ZSTD: Option<zip::CompressionMethod> = Some(zip::CompressionMethod::Zstd);
[INFO] [stdout]    |                           ^^^ use of undeclared crate or module `zip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]   --> examples/write_dir.rs:69:13
[INFO] [stdout]    |
[INFO] [stdout] 69 |     method: zip::CompressionMethod,
[INFO] [stdout]    |             ^^^ use of undeclared crate or module `zip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]    --> examples/write_dir.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |     method: zip::CompressionMethod,
[INFO] [stdout]     |             ^^^ use of undeclared crate or module `zip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors
[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` (example "write_dir") due to 16 previous errors
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `zip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]    --> tests/end_to_end.rs:150:19
[INFO] [stdout]     |
[INFO] [stdout] 150 |     archive: &mut zip::ZipArchive<R>,
[INFO] [stdout]     |                   ^^^ use of undeclared crate or module `zip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip`
[INFO] [stdout]    --> tests/end_to_end.rs:186:19
[INFO] [stdout]     |
[INFO] [stdout] 186 |     archive: &mut zip::ZipArchive<R>,
[INFO] [stdout]     |                   ^^^ use of undeclared crate or module `zip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `binstall-zip` (test "end_to_end") due to 16 previous errors
[INFO] running `Command { std: "docker" "inspect" "c4fd72fd8583e5b909685fbccebf21a6464c6ab3246bb4dd8f07968e32ca793a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4fd72fd8583e5b909685fbccebf21a6464c6ab3246bb4dd8f07968e32ca793a", kill_on_drop: false }`
[INFO] [stdout] c4fd72fd8583e5b909685fbccebf21a6464c6ab3246bb4dd8f07968e32ca793a
