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

[QUESTION] card_deck subject #2808

Open
akhaled01 opened this issue Nov 19, 2024 · 2 comments
Open

[QUESTION] card_deck subject #2808

akhaled01 opened this issue Nov 19, 2024 · 2 comments
Assignees
Labels
🙋 question Questions or other issues 📕 Rust Rust

Comments

@akhaled01
Copy link

card_deck

when using an external crate (the rand package), the following issue comes when running the exercise

Error: Already failed code at commit 13eb30b

Previous output:
    Updating crates.io index
warning: spurious network error (3 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)
warning: spurious network error (2 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)
warning: spurious network error (1 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)
error: failed to get `rand` as a dependency of package `card_deck v0.1.0 (/jail/solutions/card_deck)`
    ... which satisfies path dependency `card_deck` (locked to 0.1.0) of package `card_deck_test v0.1.0 (/jail/tests/card_deck_test)`

Caused by:
  download of config.json failed

Caused by:
  failed to download from `https://index.crates.io/config.json`

Caused by:
  [6] Couldn't resolve host name (Could not resolve host: index.crates.io)
@pedrodesu
Copy link
Contributor

Hello @akhaled01!

That does not seem like a problem related to the code or the subject in question, but rather related to your network/ability to access crates.io, the official repository where rust's crates/dependencies are stored.

What machine were you in when you got that error? Were you at a 01 campus or in a personal computer?

Best regards.

@HarryVasanth HarryVasanth changed the title card_deck subject [QUESTION] card_deck subject Nov 21, 2024
@HarryVasanth HarryVasanth added the 🙋 question Questions or other issues label Nov 21, 2024
@HarryVasanth
Copy link
Member

Duplicate:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🙋 question Questions or other issues 📕 Rust Rust
Projects
None yet
Development

No branches or pull requests

4 participants