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

Reinstalling sui fails after new update #3543

Closed
MaithreyaSitaraman opened this issue Jul 27, 2022 · 0 comments
Closed

Reinstalling sui fails after new update #3543

MaithreyaSitaraman opened this issue Jul 27, 2022 · 0 comments

Comments

@MaithreyaSitaraman
Copy link

Everything used to work fine and install fine before the recent update. I need to reinstall because the old version throws errors with the updated sui framework.

However, I get the error:

`
error[E0658]: use of unstable library feature 'bool_to_option'
--> /Users/maithreya/.cargo/git/checkouts/mysten-infra-e26c6e4a001ad289/123c9e4/crates/mysten-network/src/server.rs:89:14
|
89 | .then_some(tower::load_shed::LoadShedLayer::new());
| ^^^^^^^^^
|
= note: see issue #80967 rust-lang/rust#80967 for more information

For more information about this error, try rustc --explain E0658.
error: could not compile mysten-network due to previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile sui v0.6.2 (https://github.com/MystenLabs/sui.git?branch=devnet#ad6d37e3), intermediate artifacts can be found at /var/folders/0q/6mkhx7zx52dgfl666lz0q7bw0000gn/T/cargo-install6jSoH5

Caused by:
build failed
Summary Failed to install sui-gateway, sui (see error(s) above).
error: some crates failed to install
`

Similarly, if I try to install binaries directly, I get the error:

`
error[E0658]: use of unstable library feature 'bool_to_option'
--> /Users/maithreya/.cargo/git/checkouts/mysten-infra-e26c6e4a001ad289/123c9e4/crates/mysten-network/src/server.rs:89:14
|
89 | .then_some(tower::load_shed::LoadShedLayer::new());
| ^^^^^^^^^
|
= note: see issue #80967 rust-lang/rust#80967 for more information

For more information about this error, try rustc --explain E0658.
error: could not compile mysten-network due to previous error
warning: build failed, waiting for other jobs to finish...
cerror: failed to compile sui v0.6.2 (https://github.com/MystenLabs/sui.git?branch=devnet#ad6d37e3), intermediate artifacts can be found at /var/folders/0q/6mkhx7zx52dgfl666lz0q7bw0000gn/T/cargo-installHsQ2FE

Caused by:
build failed
Summary Failed to install sui-gateway, sui (see error(s) above).
error: some crates failed to install
`

Any idea how to get around this issue? Thanks in advance.

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

1 participant