paritytech / paritytech/try-runtime-cli
Can not build with stable toolchain
Offen
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Rust
- Sterne
- 25
- Forks
- 29
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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 ...
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Reproduziere den Fehler, indem du try-runtime-cli mit der stabilen Toolchain baust, und vergleiche es mit dem Nightly-Build. Beginne bei substrate/primitives/panic-handler/src/lib.rs in der ausgecheckten Abhängigkeit und ermittle dann die erforderliche Änderung am Projekt, damit der Build mit der stabilen Toolchain ohne die E0658-lazy_cell-Fehler abgeschlossen wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- rust
- Bereich
- build-system
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100