Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Docker image no longer builds #1099

@chevdor

Description

@chevdor

The issue here is that the version of cargo available for alpine always lags a bit behind. As soon as the repo uses non supported features, the build will break until a newer version of cargo for alpine makes it in.

I think we may want to reconsider using alpine for now at least as default and bring back the phusion image as default. Once substrate stabilises, there is no doubt the alpine version will be much better but for now, I see mostly extra hassle.

cc @azban, your thoughts?

 Compiling twox-hash v1.1.1
error[E0658]: :vis fragment specifier is experimental and subject to change (see issue #41022)
  --> /root/.cargo/registry/src/github.amrom.workers.dev-1ecc6299db9ec823/fixed-hash-0.3.0-beta.3/src/hash.rs:51:22
   |
51 |     ( $(#[$attr:meta])* $visibility:vis struct $name:ident ( $n_bytes:expr ); ) => {
   |                         ^^^^^^^^^^^^^^^

error[E0432]: unresolved import `static_assertions::const_assert`
  --> /root/.cargo/registry/src/github.amrom.workers.dev-1ecc6299db9ec823/fixed-hash-0.3.0-beta.3/src/lib.rs:27:9
   |
27 | pub use static_assertions::const_assert;
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `const_assert` in the root. Did you mean to use `const_assert_eq`?

error: aborting due to 2 previous errors

Some errors occurred: E0432, E0658.
For more information about an error, try `rustc --explain E0432`.
error: Could not compile `fixed-hash`.
warning: build failed, waiting for other jobs to finish...
error: build failed

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