Skip to content

Bug prevents from using dependency #11638

Closed
@mouse07410

Description

@mouse07410

Problem

$ cargo run --release
.  .  .
    Updating git repository `https://github.com/Manishearth/rust-clippy.git`
error: failed to download `aho-corasick v0.5.3`

Caused by:
  unable to get packages from source

Caused by:
  failed to unpack package `aho-corasick v0.5.3`

Caused by:
  failed to open `/Users/ur20980/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/aho-corasick-0.5.3/.cargo-ok`

Caused by:
  File exists (os error 17)

Steps

  1. Run cargo build on https://github.com/killercup/trpl-ebook.git

Possible Solution(s)

No idea. But it should either accept and use the already-installed package as-is, or re-download and re-build it a-fresh if needed. Just aborting here does not make any sense.

Notes

No response

Version

$ cargo version --verbose
cargo 1.67.0 (8ecd4f20a 2023-01-10)
release: 1.67.0
commit-hash: 8ecd4f20a9efb626975ac18a016d480dc7183d9b
commit-date: 2023-01-10
host: x86_64-apple-darwin
libgit2: 1.5.0 (sys:0.16.0 vendored)
libcurl: 7.86.0 (sys:0.4.59+curl-7.86.0 system ssl:(SecureTransport) LibreSSL/3.3.6)
os: Mac OS 13.2.0 [64-bit]

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions