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

Error while installing with cargo #98

Open
MathewPhew opened this issue Mar 17, 2023 · 3 comments
Open

Error while installing with cargo #98

MathewPhew opened this issue Mar 17, 2023 · 3 comments

Comments

@MathewPhew
Copy link

error[E0080]: evaluation of constant value failed
--> /home/dujan/.cargo/registry/src/github.com-1ecc6299db9ec823/ropey-1.4.1/src/tree/mod.rs:74:19
|
74 | const _: [(); 0 - !{
| ___________________^
75 | | // Assert alignment.
76 | | const ASSERT: bool = if align_of::() > ARC_COUNT...
77 | | align_of::() + size_of::()
... |
81 | | ASSERT
82 | | } as usize] = [];
| |______________^ attempt to compute 0_usize - 1_usize, which would overflow

For more information about this error, try rustc --explain E0080.
error: could not compile ropey due to previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile zee v0.3.2, intermediate artifacts can be found at /tmp/cargo-install9I2Zyc

@MathewPhew
Copy link
Author

I just used the "cargo install --locked zee" command. I run Artix Linux with the runit system.

@MathewPhew MathewPhew changed the title Erro while installing with cargo Error while installing with cargo Mar 17, 2023
@zt15905696693
Copy link

I ran into the same problem, but was able to install it successfully using nightly version

@rirze
Copy link

rirze commented Jun 14, 2023

Ran it without --locked and it compiled fine.

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

3 participants