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

Compiling fails - error[E0599] #15

Open
Openuser87 opened this issue May 6, 2024 · 1 comment
Open

Compiling fails - error[E0599] #15

Openuser87 opened this issue May 6, 2024 · 1 comment

Comments

@Openuser87
Copy link

Following error occurs upon using cargo install cooklang-chef:

error[E0599]: no variant or associated item named `Default` found for enum `Color` in the current scope
   --> /home/<user>/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cooklang-0.13.2/src/error.rs:496:20
    |
496 |             Color::Default
    |                    ^^^^^^^ variant or associated item not found in `Color`

Versions: cargo 1.77.2, rustc 1.77.2.

@Zheoni
Copy link
Contributor

Zheoni commented May 6, 2024

Thanks for reporting. This is an issue with the dependency ariadne that I just reported (zesterer/ariadne#116). Until it's solved or a new version is released you can install chef with cargo install cooklang-chef --locked.

For library users, patch the ariadne version to "=0.4.0" until this is solved by, for example, adding it as a dependency even if you don't use it.

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

No branches or pull requests

2 participants