rust-lang / rust-lang/rust

Runaway builds: the build hangs for 2 hours without producing any output on arm64

Open
#137,496 22 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-bug I-compiletime O-freebsd S-needs-info T-compiler
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

The builds of the hyperswitch project hang for 120 minutes without any output on arm64.

This triggers the "runaway build" error in the FreeBSD package builder.

log

The Rust compiler should periodically print progress reports if/when it works on something for too long and no other printouts are occurring.

All recent rust versions are affected.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked FreeBSD arm64 build log and reproduce the hyperswitch build on arm64 using a recent Rust version. Trace where the compiler stops producing output during the build and determine how progress reports should be emitted. Done means long-running compiler work produces periodic output and the build no longer triggers the runaway-build timeout.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.