paritytech / paritytech/try-runtime-cli

Can not build with stable toolchain

オープン
#105 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Rust
スター
25
フォーク
29
PR マージ指標
30日以内にマージされた PR はありません

説明

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 ...

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

安定版ツールチェーンで try-runtime-cli をビルドして失敗を再現し、nightly ビルドと比較してください。チェックアウト済みの依存関係にある substrate/primitives/panic-handler/src/lib.rs から調査を始め、安定版ツールチェーンでのビルドが E0658 lazy_cell エラーなしで完了するために必要なプロジェクトの変更を特定してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
rust
領域
build-system
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。