rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
98.78k stars 12.77k forks source link

Cargo install failing in rustlang/rust:nightly image (1.83.0) #130813

Closed Vikari closed 1 month ago

Vikari commented 1 month ago

The compiler unexpectedly panicked. this is a bug. When running cargo install --path . in rustlang/rust:nightly image.

Error file attached.

rustc-panic.txt

compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no -C strip=debuginfo

error: could not compile `http-body` (lib)

Caused by:
  process didn't exit successfully: `/usr/local/rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc --crate-name http_body --edition=2018 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/http-body-0.4.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=281 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=82a59836d3af2aec -C extra-filename=-82a59836d3af2aec --out-dir /usr/src/app/target/release/deps -C strip=debuginfo -L dependency=/usr/src/app/target/release/deps --extern bytes=/usr/src/app/target/release/deps/libbytes-6e7a8737cc65033e.rmeta --extern http=/usr/src/app/target/release/deps/libhttp-6fcad499b8642d62.rmeta --extern pin_project_lite=/usr/src/app/target/release/deps/libpin_project_lite-919c6a70ea62ed97.rmeta --cap-lints allow` (exit status: 101)
theemathas commented 1 month ago

Duplicate of #130769. Should be fixed in tomorrow's nightly, if it's not already fixed.