[INFO] fetching crate binstall-zip 0.6.4...
[INFO] testing binstall-zip-0.6.4 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate binstall-zip 0.6.4 into /workspace/builds/worker-2-tc2/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-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate binstall-zip 0.6.4 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 30a55c1a5e8f4a576ae724eb86c5f3c61b2343e97f1d5e4c68707f769e17119c
[INFO] running `Command { std: "docker" "start" "-a" "30a55c1a5e8f4a576ae724eb86c5f3c61b2343e97f1d5e4c68707f769e17119c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "30a55c1a5e8f4a576ae724eb86c5f3c61b2343e97f1d5e4c68707f769e17119c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "30a55c1a5e8f4a576ae724eb86c5f3c61b2343e97f1d5e4c68707f769e17119c", kill_on_drop: false }`
[INFO] [stdout] 30a55c1a5e8f4a576ae724eb86c5f3c61b2343e97f1d5e4c68707f769e17119c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7b900563924fe7581a0d0f3de6ae609d4223d7c8e4d236cd278a4737845d4a44
[INFO] running `Command { std: "docker" "start" "-a" "7b900563924fe7581a0d0f3de6ae609d4223d7c8e4d236cd278a4737845d4a44", 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 time-core v0.1.0
[INFO] [stderr]    Compiling base64ct v1.5.3
[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 constant_time_eq v0.1.5
[INFO] [stderr]    Compiling password-hash v0.4.2
[INFO] [stderr]    Compiling flate2 v1.0.24
[INFO] [stderr]    Compiling jobserver v0.1.25
[INFO] [stderr]    Compiling cc v1.0.74
[INFO] [stderr]    Compiling time v0.3.17
[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 aes v0.7.5
[INFO] [stderr]    Compiling digest v0.10.5
[INFO] [stderr]    Compiling sha2 v0.10.6
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha1 v0.10.5
[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 pbkdf2 v0.11.0
[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 27s
[INFO] running `Command { std: "docker" "inspect" "7b900563924fe7581a0d0f3de6ae609d4223d7c8e4d236cd278a4737845d4a44", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b900563924fe7581a0d0f3de6ae609d4223d7c8e4d236cd278a4737845d4a44", kill_on_drop: false }`
[INFO] [stdout] 7b900563924fe7581a0d0f3de6ae609d4223d7c8e4d236cd278a4737845d4a44
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b008f5d0d943a10e7eae9ca08b72a9cddd581c52d63833a473b30e5b7e58d06a
[INFO] running `Command { std: "docker" "start" "-a" "b008f5d0d943a10e7eae9ca08b72a9cddd581c52d63833a473b30e5b7e58d06a", 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/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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 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] 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 unresolved module or unlinked crate `zip`
[INFO] [stdout]   --> tests/zip_crypto.rs:50:17
[INFO] [stdout]    |
[INFO] [stdout] 50 |             Err(zip::result::ZipError::UnsupportedArchive(
[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] 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 unresolved module or unlinked crate `zip`
[INFO] [stdout]   --> tests/zip_crypto.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 zip::result::ZipError::PASSWORD_REQUIRED,
[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] 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] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip`
[INFO] [stdout]   --> tests/zip_crypto.rs:64:20
[INFO] [stdout]    |
[INFO] [stdout] 64 |             Ok(Err(zip::result::InvalidPassword)) => (),
[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] 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[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip`
[INFO] [stdout]  --> tests/invalid_date.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use zip::read::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[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] For more information about this error, try `rustc --explain E0433`.
[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 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] [stderr] error: could not compile `binstall-zip` (test "invalid_date") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `binstall-zip` (test "zip_crypto") due to 4 previous errors
[INFO] [stderr] error: could not compile `binstall-zip` (test "aes_encryption") due to 1 previous error
[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/extract_lorem.rs:16:23
[INFO] [stdout]    |
[INFO] [stdout] 16 |     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]  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] [stderr] error: could not compile `binstall-zip` (test "zip_comment_garbage") due to 1 previous error
[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] error[E0282]: type annotations needed
[INFO] [stdout]   --> examples/extract_lorem.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let mut file = match archive.by_name("test/lorem_ipsum.txt") {
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     file.read_to_string(&mut contents).unwrap();
[INFO] [stdout]    |     ---- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `file` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let mut file: /* Type */ = match archive.by_name("test/lorem_ipsum.txt") {
[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: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] Some errors have detailed explanations: E0282, E0433.
[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] For more information about an error, try `rustc --explain E0282`.
[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] [stderr] error: could not compile `binstall-zip` (example "extract_lorem") 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] 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` (test "zip64_large") due to 1 previous error
[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" "b008f5d0d943a10e7eae9ca08b72a9cddd581c52d63833a473b30e5b7e58d06a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b008f5d0d943a10e7eae9ca08b72a9cddd581c52d63833a473b30e5b7e58d06a", kill_on_drop: false }`
[INFO] [stdout] b008f5d0d943a10e7eae9ca08b72a9cddd581c52d63833a473b30e5b7e58d06a
