Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to download aho-corasick v0.7.18 #10858

Closed
ash-hashtag opened this issue Jul 13, 2022 · 3 comments
Closed

failed to download aho-corasick v0.7.18 #10858

ash-hashtag opened this issue Jul 13, 2022 · 3 comments
Labels
C-bug Category: bug

Comments

@ash-hashtag
Copy link

ash-hashtag commented Jul 13, 2022

Problem

when building a docker image at(haven't tested locally)
RUN cargo chef cook --release --recipe-path recipe.json:
#13 0.774 Updating crates.io index
#13 1.664 Downloading crates ...
#13 1.689 error: failed to download aho-corasick v0.7.18
#13 1.689
#13 1.689 Caused by:
#13 1.689 unable to get packages from source
#13 1.689
de: 101', /usr/local/cargo/registry/src/github.lhy31512.workers.dev-1ecc6299db9ec823/cargo-chef-0.1.37/src/recipe.rs:156:27

#14 3.488 note: this is an unexpected cargo internal error
#14 3.488 note: we would appreciate a bug report: https://github.com/rust-lang/cargo/issues/
#14 3.488 note: cargo 1.62.0 (a748cf5 2022-06-08)
#14 3.492 thread 'main' panicked at 'Exited with status code: 101', /usr/local/cargo/registry/src/github.lhy31512.workers.dev-1ecc6299db9ec823/cargo-chef-0.1.37/src/recipe.rs:156:27

cargo 1.61.0 (a028ae42f 2022-04-29)
release: 1.61.0
commit-hash: a028ae42fc1376571de836be702e840ca8e060c2
commit-date: 2022-04-29
host: x86_64-pc-windows-msvc
libgit2: 1.4.2 (sys:0.14.2 vendored)
libcurl: 7.80.0-DEV (sys:0.4.51+curl-7.80.0 vendored ssl:Schannel)
os: Windows 10.0.22000 (Windows 10 Home Single Language) [64-bit]

wait whaaaat? I'm on windows 11
@ash-hashtag ash-hashtag added the C-bug Category: bug label Jul 13, 2022
@epage
Copy link
Contributor

epage commented Jul 13, 2022

/usr/local/cargo/registry/src/github.lhy31512.workers.dev-1ecc6299db9ec823/cargo-chef-0.1.37/src/recipe.rs:156:27

It looks like that panic is coming from cargo-chef, a third-party plugin into cargo. See https://github.com/lukemathwalker/cargo-chef

@epage epage closed this as completed Jul 13, 2022
@ash-hashtag
Copy link
Author

I opened issue there and they sent me back here :( telling issue was with cargo and crates.io

@epage
Copy link
Contributor

epage commented Jul 14, 2022

The panic came from within cargo-chef. If they have more details as to what went wrong within cargo or reproduction steps outside of cargo-chef,. that'd be a help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

2 participants