paritytech / paritytech/try-runtime-cli

Can not build with stable toolchain

Abierto
#105 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Lenguaje dominante
Rust
Estrellas
25
Forks
29
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

error[E0658]: use of unstable library feature 'lazy_cell'
  --> /Users/xavier/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/8279d10/substrate/primitives/panic-handler/src/lib.rs:34:2
   |
34 |     sync::LazyLock,
   |     ^^^^^^^^^^^^^^
   |
   = note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information

error[E0658]: use of unstable library feature 'lazy_cell'
   --> /Users/xavier/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/8279d10/substrate/primitives/panic-handler/src/lib.rs:132:13
    |
132 |     static RE: LazyLock<Regex> = LazyLock::new(|| {
    |                ^^^^^^^^^^^^^^^
    |
    = note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information

error[E0658]: use of unstable library feature 'lazy_cell'
   --> /Users/xavier/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/8279d10/substrate/primitives/panic-handler/src/lib.rs:132:31
    |
132 |     static RE: LazyLock<Regex> = LazyLock::new(|| {
    |                                  ^^^^^^^^
    |
    = note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information

error[E0658]: use of unstable library feature 'lazy_cell'
   --> /Users/xavier/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/8279d10/substrate/primitives/panic-handler/src/lib.rs:132:31
    |
132 |     static RE: LazyLock<Regex> = LazyLock::new(|| {
    |                                  ^^^^^^^^^^^^^
    |
    = note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information

For more information about this error, try `rustc --explain E0658`.
error: could not compile `sp-panic-handler` (lib) due to 4 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile `try-runtime-cli v0.8.0 (https://github.com/paritytech/try-runtime-cli?tag=v0.8.0#95cff053)`, intermediate artifacts can be found at `/var/folders/c0/wqgh59fj3j7b6hjphk6mpfgw0000gn/T/cargo-installAnHz5r`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

Have to use cargo +nightly ...

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

Reproduce el fallo compilando try-runtime-cli con la toolchain estable y compáralo con la compilación nightly. Empieza en substrate/primitives/panic-handler/src/lib.rs dentro de la dependencia descargada y, a continuación, determina el cambio necesario en el proyecto para que la compilación con la toolchain estable se complete sin los errores E0658 de lazy_cell.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
rust
Área
build-system
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.