Skip to content

Getting base16ct error #85

@mikedotexe

Description

@mikedotexe

I am not sure if this is my Rust setup, but I am consistently trying to run:

docker run --rm -v "$(pwd)":/code \
  --mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target \
  --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
  cosmwasm/rust-optimizer:0.12.3 ./contracts/*/

in the cw-contracts repo and getting:

error: failed to download `base16ct v0.1.1`

Caused by:
  unable to get packages from source

Caused by:
  failed to parse manifest at `/usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/base16ct-0.1.1/Cargo.toml`

Caused by:
  feature `edition2021` is required

  The package requires the Cargo feature called `edition2021`, but that feature is not stabilized in this version of Cargo (1.55.0 (32da73ab1 2021-08-23)).

and indeed, I see the manifest has this:
https://github.com/RustCrypto/formats/blame/7cadd9d3696b6ec06b79281e08805625dd8f3187/base64ct/Cargo.toml#L16

edition = "2021"

but that's been there for 10 months, so maybe that's not as new as I'd think.

Anyway, writing this issue but again, not positive if it's my setup.

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