Closed kdheepak closed 5 months ago
I recommend removing the cche in .cargo
, perhaps one of the downloaded file is broken?
Hi @kdheepak Does removing the cache fix the installation for you?
Hmm, that doesn't seem to solve it for me:
failed to verify the checksum of `flate2 v1.0.30`
╭─ ~ ···················································································· base 43s ✘ 18:14:03
╰ rm -rf ~/.cargo/binstall/crates-v1.json
╭─ ~ ·························································································· base ✔ 18:14:06
╰ rm -rf ~/.cargo/binstall
╭─ ~ ·························································································· base ✔ 18:14:18
╰ rm -rf ~/.cargo/registry/cache
╭─ ~ ·························································································· base ✔ 18:14:20
╰ cargo install cargo-binstall
Updating crates.io index
Downloaded cargo-binstall v1.7.3
Downloaded 1 crate (64.0 KB) in 0.91s
Installing cargo-binstall v1.7.3
Updating crates.io index
Locking 437 packages to latest compatible versions
Adding addr2line v0.22.0 (latest: v0.23.0)
Adding base64 v0.21.7 (latest: v0.22.1)
Adding bitflags v1.3.2 (latest: v2.5.0)
Adding dlopen2 v0.5.0 (latest: v0.7.0)
Adding errno v0.2.8 (latest: v0.3.9)
Adding fastrand v1.9.0 (latest: v2.1.0)
Adding generic-array v0.14.7 (latest: v1.0.0)
Adding gimli v0.29.0 (latest: v0.30.0)
Adding h2 v0.3.26 (latest: v0.4.5)
Adding h3 v0.0.2 (latest: v0.0.5)
Adding h3-quinn v0.0.3 (latest: v0.0.6)
Adding heck v0.4.1 (latest: v0.5.0)
Adding hermit-abi v0.3.9 (latest: v0.4.0)
Adding hostname v0.3.1 (latest: v0.4.0)
Adding http v0.2.12 (latest: v1.1.0)
Adding idna v0.4.0 (latest: v1.0.1)
Adding idna v0.5.0 (latest: v1.0.1)
Adding linux-raw-sys v0.4.14 (latest: v0.6.4)
Adding mio v0.8.11 (latest: v1.0.0)
Adding netlink-packet-route v0.17.1 (latest: v0.20.0)
Adding nix v0.27.1 (latest: v0.29.0)
Adding nu-ansi-term v0.46.0 (latest: v0.50.0)
Adding quick-error v1.2.3 (latest: v2.0.1)
Adding quinn v0.10.2 (latest: v0.11.2)
Adding quinn-proto v0.10.6 (latest: v0.11.3)
Adding quinn-udp v0.4.1 (latest: v0.5.2)
Adding redox_syscall v0.3.5 (latest: v0.5.2)
Adding redox_syscall v0.4.1 (latest: v0.5.2)
Adding ring v0.16.20 (latest: v0.17.8)
Adding rustc-hash v1.1.0 (latest: v2.0.0)
Adding rustls v0.21.12 (latest: v0.23.10)
Adding rustls-pemfile v1.0.4 (latest: v2.1.2)
Adding rustls-webpki v0.101.7 (latest: v0.102.4)
Adding spin v0.5.2 (latest: v0.9.8)
Adding system-configuration v0.5.1 (latest: v0.6.0)
Adding system-configuration-sys v0.5.0 (latest: v0.6.0)
Adding tokio-rustls v0.24.1 (latest: v0.26.0)
Adding untrusted v0.7.1 (latest: v0.9.0)
Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
Adding windows v0.48.0 (latest: v0.57.0)
Adding windows-sys v0.48.0 (latest: v0.52.0)
Adding windows-targets v0.48.5 (latest: v0.52.5)
Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.5)
Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.5)
Adding windows_i686_gnu v0.48.5 (latest: v0.52.5)
Adding windows_i686_msvc v0.48.5 (latest: v0.52.5)
Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.5)
Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.5)
Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.5)
Adding winreg v0.50.0 (latest: v0.52.0)
Downloaded adler v1.0.2
Downloaded alloc-stdlib v0.2.2
Downloaded anstyle v1.0.7
Downloaded ahash v0.8.11
Downloaded anyhow v1.0.86
Downloaded atomic-file-install v1.0.4
Downloaded base16 v0.2.1
Downloaded beef v0.5.2
Downloaded async-compression v0.4.11
Downloaded binstalk-downloader v0.11.5
Downloaded binstalk-manifests v0.13.0
Downloaded binstall-tar v0.4.42
Downloaded block-buffer v0.10.4
Downloaded bzip2 v0.4.4
Downloaded bstr v1.9.1
Downloaded cargo-platform v0.1.8
Downloaded cargo_toml v0.20.3
Downloaded cfg-if v1.0.0
Downloaded clap_derive v4.5.5
Downloaded colorchoice v1.0.1
Downloaded core-foundation v0.9.4
Downloaded crc32fast v1.4.2
Downloaded crossbeam-deque v0.8.5
Downloaded deflate64 v0.1.8
Downloaded crossbeam-utils v0.8.20
Downloaded dirs-sys v0.4.1
Downloaded detect-targets v0.1.17
Downloaded errno v0.2.8
Downloaded fastrand v1.9.0
Downloaded filetime v0.2.23
Downloaded form_urlencoded v1.2.1
Downloaded futures v0.3.30
Downloaded futures-executor v0.3.30
Downloaded encoding_rs v0.8.34
Downloaded futures-macro v0.3.30
Downloaded gix v0.63.0
Downloaded gix-bitmap v0.2.11
Downloaded gix-commitgraph v0.24.2
Downloaded futures-util v0.3.30
Downloaded gix-credentials v0.24.2
Downloaded gix-discover v0.32.0
Downloaded gix-fs v0.11.1
Downloaded gix-hashtable v0.5.2
Downloaded gix-lock v14.0.0
Downloaded gix-object v0.42.2
Downloaded gix-packetline v0.17.5
Downloaded gix-pathspec v0.7.5
Downloaded gix-quote v0.4.12
Downloaded gix-revision v0.27.1
Downloaded gix-submodule v0.11.0
Downloaded gix-utils v0.1.12
Downloaded gix-transport v0.42.1
Downloaded gix-worktree-state v0.11.0
Downloaded glob v0.3.1
Downloaded h3-quinn v0.0.3
Downloaded heck v0.5.0
Downloaded home v0.5.9
Downloaded httparse v1.9.4
Downloaded http v1.1.0
Downloaded hyper v1.3.1
Downloaded idna v0.4.0
Downloaded io-close v0.3.7
Downloaded is_terminal_polyfill v1.70.0
Downloaded jobserver v0.1.31
Downloaded kstring v2.0.0
Downloaded leon-macros v1.0.2
Downloaded lock_api v0.4.12
Downloaded maybe-owned v0.3.4
Downloaded miette v7.2.0
Downloaded minisign-verify v0.2.1
warning: spurious network error (3 tries remaining): [18] Transferred a partial file (transfer closed with 32768 bytes rema
Downloaded nix v0.27.1
Downloaded num-conv v0.1.0
Downloaded overload v0.1.1
Downloaded parking_lot v0.12.3
Downloaded pin-utils v0.1.0
Downloaded ppv-lite86 v0.2.17
Downloaded pin-project v1.1.5
Downloaded quick-error v1.2.3
Downloaded quinn-udp v0.5.2
Downloaded quinn v0.10.2
Downloaded rand_chacha v0.3.1
Downloaded rayon-core v1.12.1
Downloaded resolv-conf v0.7.0
Downloaded rustc-hash v1.1.0
Downloaded regex-automata v0.4.7
Downloaded rustls-pemfile v1.0.4
Downloaded rustls v0.21.12
Downloaded rustls-webpki v0.101.7
Downloaded ryu v1.0.18
Downloaded sct v0.7.1
Downloaded semver v1.0.23
Downloaded serde_derive v1.0.203
Downloaded serde_urlencoded v0.7.1
Downloaded sharded-slab v0.1.7
Downloaded simple-git v0.2.8
Downloaded smawk v0.3.2
Downloaded static_assertions v1.1.0
Downloaded strum_macros v0.26.4
Downloaded supports-hyperlinks v3.0.0
Downloaded sync_wrapper v1.0.1
Downloaded target-lexicon v0.12.14
Downloaded textwrap v0.16.1
Downloaded thread_local v1.1.8
Downloaded time-macros v0.2.18
Downloaded tokio-rustls v0.26.0
Downloaded tokio-util v0.7.11
Downloaded toml_edit v0.22.14
Downloaded tower-service v0.3.2
Downloaded tracing-core v0.1.32
Downloaded tracing-subscriber v0.3.18
Downloaded uluru v3.1.0
Downloaded unicode-ident v1.0.12
Downloaded tokio v1.38.0
Downloaded unicode-width v0.1.13
Downloaded version_check v0.9.4
Downloaded webpki-roots v0.26.3
Downloaded xz2 v0.1.7
Downloaded url v2.5.2
Downloaded zstd v0.13.1
Downloaded anstream v0.6.14
Downloaded aho-corasick v1.1.3
Downloaded arc-swap v1.7.1
Downloaded base64 v0.21.7
Downloaded binstalk-bins v0.4.0
Downloaded async_zip v0.0.17
Downloaded binstalk-registry v0.9.1
Downloaded binstalk-types v0.7.0
Downloaded camino v1.1.7
Downloaded bytes v1.6.0
Downloaded castaway v0.2.2
Downloaded clap_builder v4.5.7
Downloaded cpufeatures v0.2.12
Downloaded command-group v5.0.1
Downloaded data-encoding v2.6.0
Downloaded crossbeam-epoch v0.9.18
Downloaded embed-resource v2.4.2
Downloaded digest v0.10.7
Downloaded errno v0.3.9
Downloaded fs-lock v0.1.3
Downloaded file-format v0.25.0
Downloaded futures-sink v0.3.30
Downloaded futures-core v0.3.30
Downloaded gix-chunk v0.4.8
Downloaded getrandom v0.2.15
Downloaded gix-config-value v0.14.6
Downloaded gix-features v0.38.2
Downloaded gix-hash v0.14.2
Downloaded gix-macros v0.1.5
Downloaded gix-prompt v0.8.5
Downloaded gix-pack v0.51.0
Downloaded gix-refspec v0.23.0
Downloaded gix-tempfile v14.0.0
Downloaded gix-url v0.27.3
Downloaded guess_host_triple v0.1.3
Downloaded h3 v0.0.2
Downloaded http v0.2.12
Downloaded hickory-proto v0.24.1
Downloaded httpdate v1.0.3
Downloaded ipnet v2.9.0
Downloaded hyper-util v0.1.5
Downloaded itoa v1.0.11
Downloaded lazy_static v1.5.0
Downloaded match_cfg v0.1.0
Downloaded linked-hash-map v0.5.6
Downloaded memmap2 v0.9.4
Downloaded miette-derive v7.2.0
Downloaded nu-ansi-term v0.46.0
Downloaded once_cell v1.19.0
Downloaded percent-encoding v2.3.1
Downloaded owo-colors v4.0.0
Downloaded pkg-config v0.3.30
Downloaded prodash v28.0.0
Downloaded quinn-proto v0.11.3
Downloaded reflink-copy v0.1.18
Downloaded rand v0.8.5
Downloaded rustc_version v0.4.0
Downloaded reqwest v0.12.5
Downloaded rustls-native-certs v0.7.0
Downloaded scopeguard v1.2.0
Downloaded serde v1.0.203
Downloaded rustls-webpki v0.102.4
Downloaded serde_spanned v0.6.6
Downloaded shell-words v1.1.0
Downloaded smallvec v1.13.2
Downloaded strsim v0.11.1
Downloaded supports-unicode v3.0.0
Downloaded supports-color v3.0.0
Downloaded terminal_size v0.3.0
Downloaded tinyvec_macros v0.1.1
Downloaded tokio-stream v0.1.15
Downloaded time v0.3.36
Downloaded toml_datetime v0.6.6
Downloaded tracing-serde v0.1.3
Downloaded tracing v0.1.40
Downloaded unicode-normalization v0.1.23
Downloaded unicode-bidi v0.3.15
Downloaded utf8parse v0.2.2
Downloaded want v0.3.1
Downloaded zstd-sys v2.0.11+zstd.1.5.6
Downloaded anstyle-parse v0.2.4
Downloaded zerocopy v0.7.34
Downloaded async-trait v0.1.80
Downloaded binstalk-git-repo-api v0.3.0
Downloaded brotli-decompressor v4.0.1
Downloaded cargo-toml-workspace v6.0.0
Downloaded base64 v0.22.1
Downloaded compact_str v0.7.1
Downloaded clap v4.5.7
Downloaded deranged v0.3.11
Downloaded crossbeam-channel v0.5.13
Downloaded either v1.12.0
Downloaded fnv v1.0.7
Downloaded futures-io v0.3.30
Downloaded generic-array v0.14.7
Downloaded faster-hex v0.9.0
Downloaded gix-command v0.3.7
Downloaded gix-diff v0.44.0
Downloaded gix-ignore v0.11.2
Downloaded gix-odb v0.61.0
Downloaded gix-protocol v0.45.1
Downloaded gix-sec v0.10.6
Downloaded gix-validate v0.8.5
Downloaded h2 v0.4.5
Downloaded hickory-resolver v0.24.1
Downloaded http-body-util v0.1.2
Downloaded idna v0.5.0
Downloaded leon v3.0.1
Downloaded itertools v0.13.0
Downloaded lru-cache v0.1.2
Downloaded miniz_oxide v0.7.4
Downloaded mime v0.3.17
Downloaded option-ext v0.2.0
Downloaded parking_lot_core v0.9.10
Downloaded powerfmt v0.2.0
Downloaded rand_core v0.6.4
Downloaded quinn-proto v0.10.6
Downloaded regex-syntax v0.8.4
Downloaded rustls-pki-types v1.7.0
Downloaded security-framework v2.11.0
Downloaded rustix v0.38.34
Downloaded signal-hook-registry v1.4.2
Downloaded spin v0.9.8
Downloaded serde_json v1.0.117
Downloaded tempfile v3.10.1
Downloaded time-core v0.1.2
Downloaded tokio-rustls v0.24.1
Downloaded syn v2.0.68
Downloaded tracing-log v0.2.0
Downloaded tower v0.4.13
Downloaded unicode-bom v2.0.3
Downloaded untrusted v0.9.0
Downloaded zstd-safe v7.1.0
Downloaded winnow v0.6.13
Downloaded anstyle-query v1.1.0
Downloaded autocfg v1.3.0
Downloaded bitflags v1.3.2
Downloaded bytesize v1.3.0
Downloaded cc v1.0.100
Downloaded core-foundation-sys v0.8.6
Downloaded crypto-common v0.1.6
Downloaded equivalent v1.0.1
Downloaded enum-as-inner v0.6.0
Downloaded futures-lite v2.3.0
Downloaded gix-attributes v0.22.2
Downloaded gix-negotiate v0.13.1
Downloaded gix-ref v0.44.1
Downloaded gix-worktree v0.34.0
Downloaded gix-filter v0.11.2
Downloaded heck v0.4.1
Downloaded human_format v1.1.0
Downloaded is_ci v1.2.0
Downloaded memchr v2.7.4
Downloaded num_cpus v1.16.0
Downloaded libc v0.2.155
Downloaded parking v2.2.0
Downloaded proc-macro2 v1.0.86
Downloaded quote v1.0.36
Downloaded rustls-pemfile v2.1.2
Downloaded security-framework-sys v2.11.0
Downloaded sha2 v0.10.8
Downloaded strum v0.26.2
Downloaded system-configuration-sys v0.5.0
Downloaded tinyvec v1.6.0
Downloaded toml v0.8.14
Downloaded try-lock v0.2.5
Downloaded ring v0.16.20
Downloaded untrusted v0.7.1
Downloaded xattr v1.3.1
Downloaded allocator-api2 v0.2.18
Downloaded binstalk v0.26.1
Downloaded clap_lex v0.7.1
Downloaded crossbeam-queue v0.3.11
Downloaded brotli v6.0.0
Downloaded fastrand v2.1.0
Downloaded futures-channel v0.3.30
Downloaded gix-index v0.33.0
Downloaded gix-config v0.37.0
Downloaded gix-revwalk v0.13.1
Downloaded gix-trace v0.1.9
Downloaded http-body v1.0.0
Downloaded jobslot v0.2.17
Downloaded num_threads v0.1.7
Downloaded maybe-async v0.2.10
Downloaded quinn v0.11.2
Downloaded pin-project-lite v0.2.14
Downloaded serde-tuple-vec-map v1.0.1
Downloaded socket2 v0.5.7
Downloaded thiserror v1.0.61
Downloaded rustls v0.23.10
Downloaded tokio-tar v0.3.1
Downloaded typenum v1.17.0
Downloaded unicode-linebreak v0.1.5
Downloaded arrayvec v0.7.4
Downloaded bitflags v2.5.0
Downloaded clru v0.6.2
Downloaded dirs v5.0.1
Downloaded futures-task v0.3.30
Downloaded gix-glob v0.16.3
Downloaded gix-traverse v0.39.1
Downloaded jwalk v0.8.1
Downloaded hostname v0.3.1
Downloaded normalize-path v0.2.1
Downloaded quinn-udp v0.4.1
Downloaded sha1_smol v1.0.0
Downloaded system-configuration v0.5.1
Downloaded tower-layer v0.3.2
Downloaded walkdir v2.5.0
Downloaded atomic-waker v1.1.2
Downloaded cargo_metadata v0.18.1
Downloaded gix-date v0.8.7
Downloaded flate2 v1.0.30
error: failed to compile `cargo-binstall v1.7.3`, intermediate artifacts can be found at `/var/folders/1_/8skv_n7s2h7_ryz240dsr25m0000gp/T/cargo-install73gHqp`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
Caused by:
failed to verify the checksum of `flate2 v1.0.30`
It doesn't seem to be an issue with cargo-binstall
. I'm getting an issue with a new crate as well:
Hi, thanks for maintaining this crate.
Do you happen to know why I might be getting this error:
I've tried repeatedly, cleared
~/.cargo
, reinstalledrustup
etc but to no avail.