Tempo: first build is still loading the workspace after 19 min at 41 GB RSS

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

メンテナーはふだん 1 日以内に返信

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

評価

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

調査の方向性

Reproduce with the given cargo rustd build commands on the Tempo checkout and watch cargo rustd status show the worker loading for >1000s. Inspect the worker log at ~/.cache/rustd/spares/0/log to see where progress stops. The issue names no source file, so the workspace-loading code in rustd must be found by reading the repo.

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

説明

Environment: bare-metal x86-64, 48 cores, 377 GB RAM, Ubuntu 24.04, Rust 1.99.0 with rust-src, rustd nightly release 4530fb8 from install.sh (RUSTD_VERSION=nightly).

git clone https://github.com/tempoxyz/tempo && cd tempo && git checkout 60c3923
echo 1.99.0 > rust-toolchain
cargo build --bin tempo              # plain cargo: 130 s
cargo rustd build --bin tempo

Expected: the daemon loads the workspace and builds. ra-jit loads this same workspace in ~40 s.

Actual: after 18 min 50 s the build was still waiting, and I stopped it:

$ cargo rustd status
daemon: pid 95109, version 0.0.0-4530fb8-18e1a8ab3799c1bb, exits after 1800s idle
  worker: pid 95110, /home/ubuntu/w-rustd-tempo/, log ~/.cache/rustd/spares/0/log
    /home/ubuntu/w-rustd-tempo: loading for 1126s
$ ps -o rss,args
41270388 rustd --spare ~/.cache/rustd/spares/0/package

cargo's half finished (Finished dev profile … in 4.41s in the build log). Only the worker's load never finished, and the status line gives no sign of progress. Tempo is about 30 workspace crates on top of reth (git dependencies).

Context: https://github.com/tempoxyz/tempo/issues/8650

主要言語
Rust
スター
248
フォーク
13
平均マージ
7時間 52分
マージ済み PR(30日)
5

環境構築

はじめの一歩

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

DioxusLabs/rustd のほかの issue

DioxusLabs/rustd の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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