[INFO] fetching crate binstall-zip 0.6.4... [INFO] checking binstall-zip-0.6.4 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate binstall-zip 0.6.4 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate binstall-zip 0.6.4 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bencher v0.1.5 [INFO] [stderr] Downloaded cc v1.0.74 [INFO] [stderr] Downloaded libz-sys v1.1.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a214640c269fbe592418f48c999f36c4266dced8531b926b0b245d9933b9c6b [INFO] running `Command { std: "docker" "start" "-a" "2a214640c269fbe592418f48c999f36c4266dced8531b926b0b245d9933b9c6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a214640c269fbe592418f48c999f36c4266dced8531b926b0b245d9933b9c6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a214640c269fbe592418f48c999f36c4266dced8531b926b0b245d9933b9c6b", kill_on_drop: false }` [INFO] [stdout] 2a214640c269fbe592418f48c999f36c4266dced8531b926b0b245d9933b9c6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c501d6e8f994c5dca73038caf5a9fbaa042608240b9d0c5410dabb1920db6857 [INFO] running `Command { std: "docker" "start" "-a" "c501d6e8f994c5dca73038caf5a9fbaa042608240b9d0c5410dabb1920db6857", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking cpufeatures v0.2.5 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking base64ct v1.5.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking rand_core v0.6.4 [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 constant_time_eq v0.1.5 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking bencher v0.1.5 [INFO] [stderr] Compiling time-macros v0.2.6 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking password-hash v0.4.2 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Compiling jobserver v0.1.25 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Compiling cc v1.0.74 [INFO] [stderr] Checking time v0.3.17 [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 aes v0.7.5 [INFO] [stderr] Checking digest 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] 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] 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] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/read.rs:1034:14 [INFO] [stdout] | [INFO] [stdout] 1034 | reader: &'a mut R, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 1035 | ) -> ZipResult>> { [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>> { [INFO] [stdout] 1035 + ) -> ZipResult>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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)]` 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:1034:14 [INFO] [stdout] | [INFO] [stdout] 1034 | reader: &'a mut R, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 1035 | ) -> ZipResult>> { [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>> { [INFO] [stdout] 1035 + ) -> ZipResult>> { [INFO] [stdout] | [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[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 unresolved module or unlinked crate `zip` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `binstall-zip` (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/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] [stderr] warning: build failed, waiting for other jobs to finish... [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 E0432`. [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/issue_234.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | let archive = zip::ZipArchive::new(reader); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `zip` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use binstall_zip::ZipArchive; [INFO] [stdout] | [INFO] [stdout] help: if you import `ZipArchive`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 26 - let archive = zip::ZipArchive::new(reader); [INFO] [stdout] 26 + let archive = ZipArchive::new(reader); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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] 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] --> benches/read_entry.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use zip::{ZipArchive, ZipWriter}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `zip` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zip` [INFO] [stdout] --> tests/zip_comment_garbage.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use zip::ZipArchive; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `zip` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip` [INFO] [stdout] --> benches/read_metadata.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | zip::write::FileOptions::default().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 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 unresolved module or unlinked crate `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 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 - 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] [stderr] error: could not compile `binstall-zip` (test "invalid_date") 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 "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/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] [stderr] error: could not compile `binstall-zip` (test "issue_234") due to 2 previous errors [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 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::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 unresolved module or unlinked crate `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 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] 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] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip` [INFO] [stdout] --> examples/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] 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` (bench "read_metadata") due to 3 previous errors [INFO] [stderr] error: could not compile `binstall-zip` (example "stdin_info") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [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/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] 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_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] [stderr] error: could not compile `binstall-zip` (test "zip_comment_garbage") due to 1 previous error [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `binstall-zip` (example "extract_lorem") due to 1 previous error [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `binstall-zip` (example "file_info") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `binstall-zip` (bench "read_entry") due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip` [INFO] [stdout] --> tests/end_to_end.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | let mut src_archive = zip::ZipArchive::new(src_file).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `zip` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use binstall_zip::ZipArchive; [INFO] [stdout] | [INFO] [stdout] help: if you import `ZipArchive`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 35 - let mut src_archive = zip::ZipArchive::new(src_file).unwrap(); [INFO] [stdout] 35 + let mut src_archive = ZipArchive::new(src_file).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip` [INFO] [stdout] --> tests/end_to_end.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let mut zip = zip::ZipWriter::new(&mut tgt_file); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `zip` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use binstall_zip::ZipWriter; [INFO] [stdout] | [INFO] [stdout] help: if you import `ZipWriter`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 36 - let mut zip = zip::ZipWriter::new(&mut tgt_file); [INFO] [stdout] 36 + let mut zip = ZipWriter::new(&mut tgt_file); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip` [INFO] [stdout] --> tests/end_to_end.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | let mut tgt_archive = zip::ZipArchive::new(tgt_file).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `zip` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use binstall_zip::ZipArchive; [INFO] [stdout] | [INFO] [stdout] help: if you import `ZipArchive`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 56 - let mut tgt_archive = zip::ZipArchive::new(tgt_file).unwrap(); [INFO] [stdout] 56 + let mut tgt_archive = ZipArchive::new(tgt_file).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip` [INFO] [stdout] --> tests/end_to_end.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | let mut zip = zip::ZipWriter::new_append(&mut file).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `zip` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use binstall_zip::ZipWriter; [INFO] [stdout] | [INFO] [stdout] help: if you import `ZipWriter`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 72 - let mut zip = zip::ZipWriter::new_append(&mut file).unwrap(); [INFO] [stdout] 72 + let mut zip = ZipWriter::new_append(&mut file).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip` [INFO] [stdout] --> tests/end_to_end.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | let mut zip = zip::ZipArchive::new(&mut file).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `zip` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use binstall_zip::ZipArchive; [INFO] [stdout] | [INFO] [stdout] help: if you import `ZipArchive`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 82 - let mut zip = zip::ZipArchive::new(&mut file).unwrap(); [INFO] [stdout] 82 + let mut zip = ZipArchive::new(&mut file).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip` [INFO] [stdout] --> tests/end_to_end.rs:92:6 [INFO] [stdout] | [INFO] [stdout] 92 | ) -> zip::result::ZipResult<()> { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `zip` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use binstall_zip::result; [INFO] [stdout] | [INFO] [stdout] help: if you import `result`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 92 - ) -> zip::result::ZipResult<()> { [INFO] [stdout] 92 + ) -> result::ZipResult<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip` [INFO] [stdout] --> tests/end_to_end.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | let mut zip = zip::ZipWriter::new(file); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `zip` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use binstall_zip::ZipWriter; [INFO] [stdout] | [INFO] [stdout] help: if you import `ZipWriter`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 93 - let mut zip = zip::ZipWriter::new(file); [INFO] [stdout] 93 + let mut zip = ZipWriter::new(file); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip` [INFO] [stdout] --> tests/end_to_end.rs:119:55 [INFO] [stdout] | [INFO] [stdout] 119 | fn check_test_archive(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] [stderr] error: could not compile `binstall-zip` (test "zip_crypto") due to 4 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(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] [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] --> 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] [stderr] error: could not compile `binstall-zip` (test "end_to_end") due to 15 previous errors [INFO] [stderr] error: could not compile `binstall-zip` (example "write_dir") due to 15 previous errors [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] [stderr] error: could not compile `binstall-zip` (example "write_sample") due to 4 previous errors [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] [stderr] error: could not compile `binstall-zip` (test "zip64_large") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip` [INFO] [stdout] --> 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] --> 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 E0433`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c501d6e8f994c5dca73038caf5a9fbaa042608240b9d0c5410dabb1920db6857", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c501d6e8f994c5dca73038caf5a9fbaa042608240b9d0c5410dabb1920db6857", kill_on_drop: false }` [INFO] [stdout] c501d6e8f994c5dca73038caf5a9fbaa042608240b9d0c5410dabb1920db6857