paritytech / paritytech/try-runtime-cli
Can not build with stable toolchain
Aperta
Nessuno ha ancora preso questa issue.
- Lingua principale
- Rust
- Stelle
- 25
- Fork
- 29
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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 ...
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Riproduci il problema compilando try-runtime-cli con la toolchain stabile e confrontalo con la build nightly. Inizia da substrate/primitives/panic-handler/src/lib.rs nella dipendenza sottoposta a checkout, quindi determina la modifica necessaria al progetto affinché la build con la toolchain stabile venga completata senza gli errori E0658 di lazy_cell.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- rust
- Ambito
- build-system
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100