[INFO] fetching crate binstall-zip 0.6.4... [INFO] testing binstall-zip-0.6.4 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate binstall-zip 0.6.4 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate binstall-zip 0.6.4 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bencher v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74291e36e03711d2f0988feb8ea6bc8d0685352018ce504b7abe4d819b7842a9 [INFO] running `Command { std: "docker" "start" "-a" "74291e36e03711d2f0988feb8ea6bc8d0685352018ce504b7abe4d819b7842a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74291e36e03711d2f0988feb8ea6bc8d0685352018ce504b7abe4d819b7842a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74291e36e03711d2f0988feb8ea6bc8d0685352018ce504b7abe4d819b7842a9", kill_on_drop: false }` [INFO] [stdout] 74291e36e03711d2f0988feb8ea6bc8d0685352018ce504b7abe4d819b7842a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] dab3c5307ae854393b1be8b5bfe75a1ac6f535e466121960e18974879d0d4b4d [INFO] running `Command { std: "docker" "start" "-a" "dab3c5307ae854393b1be8b5bfe75a1ac6f535e466121960e18974879d0d4b4d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling base64ct v1.5.3 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling time-macros v0.2.6 [INFO] [stderr] Compiling password-hash v0.4.2 [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 digest v0.10.5 [INFO] [stderr] Compiling jobserver v0.1.25 [INFO] [stderr] Compiling time v0.3.17 [INFO] [stderr] Compiling aes v0.7.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 cc v1.0.74 [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/read.rs:1034:14 [INFO] [stdout] | [INFO] [stdout] 1034 | reader: &'a mut R, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 1035 | ) -> ZipResult>> { [INFO] [stdout] | -- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1035 - ) -> ZipResult>> { [INFO] [stdout] 1035 + ) -> ZipResult>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.72s [INFO] running `Command { std: "docker" "inspect" "dab3c5307ae854393b1be8b5bfe75a1ac6f535e466121960e18974879d0d4b4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dab3c5307ae854393b1be8b5bfe75a1ac6f535e466121960e18974879d0d4b4d", kill_on_drop: false }` [INFO] [stdout] dab3c5307ae854393b1be8b5bfe75a1ac6f535e466121960e18974879d0d4b4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a8db2fbed5a0fafab1499e4e7dffbf8a8c471f0041f1befe45c8eb7239fb718a [INFO] running `Command { std: "docker" "start" "-a" "a8db2fbed5a0fafab1499e4e7dffbf8a8c471f0041f1befe45c8eb7239fb718a", kill_on_drop: false }` [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling bencher v0.1.5 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/read.rs:1034:14 [INFO] [stdout] | [INFO] [stdout] 1034 | reader: &'a mut R, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 1035 | ) -> ZipResult>> { [INFO] [stdout] | -- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1035 - ) -> ZipResult>> { [INFO] [stdout] 1035 + ) -> ZipResult>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling walkdir v2.3.2 [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] --> 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] 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] --> 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[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip` [INFO] [stdout] --> examples/write_dir.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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/write_dir.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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] --> examples/extract.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | let mut archive = zip::ZipArchive::new(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] 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 unresolved module or unlinked crate `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 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] 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] [stdout] For more information about this error, try `rustc --explain E0433`. [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 E0433`. [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] [stderr] error: could not compile `binstall-zip` (example "file_info") 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: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[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] [stdout] For more information about this error, try `rustc --explain E0432`. [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] [stderr] error: could not compile `binstall-zip` (example "extract") due to 1 previous error [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] [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 E0433`. [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] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `binstall-zip` (test "zip64_large") due to 1 previous error [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] [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] --> 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] [stderr] error: could not compile `binstall-zip` (test "issue_234") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [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] [stderr] error: could not compile `binstall-zip` (example "write_sample") due to 4 previous errors [INFO] [stderr] error: could not compile `binstall-zip` (example "extract_lorem") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [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/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] [stderr] error: could not compile `binstall-zip` (example "stdin_info") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip` [INFO] [stdout] --> examples/write_dir.rs:15:60 [INFO] [stdout] | [INFO] [stdout] 15 | const METHOD_STORED: Option = Some(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] 15 - const METHOD_STORED: Option = Some(zip::CompressionMethod::Stored); [INFO] [stdout] 15 + const METHOD_STORED: Option = Some(CompressionMethod::Stored); [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(zip_file: R) -> 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] 119 - fn check_test_archive(zip_file: R) -> zip::result::ZipResult> { [INFO] [stdout] 119 + fn check_test_archive(zip_file: R) -> 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: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 { [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 { [INFO] [stdout] 152 + ) -> 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_dir.rs:22:62 [INFO] [stdout] | [INFO] [stdout] 22 | const METHOD_DEFLATED: Option = Some(zip::CompressionMethod::Deflated); [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] 22 - const METHOD_DEFLATED: Option = Some(zip::CompressionMethod::Deflated); [INFO] [stdout] 22 + const METHOD_DEFLATED: Option = Some(CompressionMethod::Deflated); [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_dir.rs:31:59 [INFO] [stdout] | [INFO] [stdout] 31 | const METHOD_BZIP2: Option = Some(zip::CompressionMethod::Bzip2); [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] 31 - const METHOD_BZIP2: Option = Some(zip::CompressionMethod::Bzip2); [INFO] [stdout] 31 + const METHOD_BZIP2: Option = Some(CompressionMethod::Bzip2); [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_dir.rs:36:58 [INFO] [stdout] | [INFO] [stdout] 36 | const METHOD_ZSTD: Option = Some(zip::CompressionMethod::Zstd); [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] 36 - const METHOD_ZSTD: Option = Some(zip::CompressionMethod::Zstd); [INFO] [stdout] 36 + const METHOD_ZSTD: Option = Some(CompressionMethod::Zstd); [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_dir.rs:70:6 [INFO] [stdout] | [INFO] [stdout] 70 | ) -> 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] 70 - ) -> zip::result::ZipResult<()> [INFO] [stdout] 70 + ) -> 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_dir.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let mut zip = zip::ZipWriter::new(writer); [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] 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 unresolved module or unlinked crate `zip` [INFO] [stdout] --> examples/write_dir.rs:111:6 [INFO] [stdout] | [INFO] [stdout] 111 | ) -> 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] 111 - ) -> zip::result::ZipResult<()> { [INFO] [stdout] 111 + ) -> result::ZipResult<()> { [INFO] [stdout] | [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 unresolved module or unlinked crate `zip` [INFO] [stdout] --> examples/write_dir.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | const METHOD_STORED: Option = Some(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] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip` [INFO] [stdout] --> examples/write_dir.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | const METHOD_DEFLATED: Option = Some(zip::CompressionMethod::Deflated); [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/write_dir.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | const METHOD_BZIP2: Option = Some(zip::CompressionMethod::Bzip2); [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/write_dir.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | const METHOD_ZSTD: Option = Some(zip::CompressionMethod::Zstd); [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/write_dir.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | method: zip::CompressionMethod, [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/write_dir.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | method: zip::CompressionMethod, [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] 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(zip_file: R) -> 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] [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, [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, [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] [stderr] error: could not compile `binstall-zip` (test "zip_crypto") due to 4 previous errors [INFO] [stderr] error: could not compile `binstall-zip` (example "write_dir") due to 15 previous errors [INFO] [stderr] error: could not compile `binstall-zip` (test "end_to_end") due to 15 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: `CounterVisitor` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/read.rs:1034:14 [INFO] [stdout] | [INFO] [stdout] 1034 | reader: &'a mut R, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 1035 | ) -> ZipResult>> { [INFO] [stdout] | -- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1035 - ) -> ZipResult>> { [INFO] [stdout] 1035 + ) -> ZipResult>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a8db2fbed5a0fafab1499e4e7dffbf8a8c471f0041f1befe45c8eb7239fb718a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8db2fbed5a0fafab1499e4e7dffbf8a8c471f0041f1befe45c8eb7239fb718a", kill_on_drop: false }` [INFO] [stdout] a8db2fbed5a0fafab1499e4e7dffbf8a8c471f0041f1befe45c8eb7239fb718a