Skip to content

Reinstalling sui fails after new update #3543

Closed
@MaithreyaSitaraman

Description

@MaithreyaSitaraman

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions