Skip to content

Rollup of 25 pull requests - #162310

Open
JonathanBrouwer wants to merge 64 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-3MKPWlW
Open

Rollup of 25 pull requests#162310
JonathanBrouwer wants to merge 64 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-3MKPWlW

Conversation

@JonathanBrouwer

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost

Create a similar rollup

Dnreikronos and others added 30 commits August 11, 2026 15:21
Store identity argument indices instead of bound generic arguments so
callers can index concrete alias arguments without changing rigidness
through instantiation.
Match the existing params_in_repr / unsizing_params convention;
the compiler already treats generic arg counts as u32-sized.
Treat missing outlives information as no restriction so all sources can be
intersected uniformly. Keep bivariant alias arguments out of the final region
walk.
This is mainly because it would be very useful in Clippy to have a fast
way to check if two DefIds are related (and what that relation is).
This attempts to match clang's behavior of implicitly disabling
sanitizers that are incompatible. Specifically, if a set of default
sanitizers would be incompatible with ones provided by -Zsanitize=...,
then clang (and now rust) will opt for keeping the ones specified via
flags over the ones used as platform defaults. This helps maintain build
consistency where we can just enable sanitizers via flags for both rust and
c++ code without needing to manually disable others.

The driving reason for this is asan and safestack where we'd like to
enable safestack by default for x86_64 fuchsia but disable it if
-Zsanitize=address is passed (matching clang's behavior).

This commit also refactors all uses of `self.opts.unstable_opts.sanitizer`
to go through the updated `sanitizer()` method.

AI: Gemini was used to help review the code and write some tests, but it
did not generate the whole patch. I edited and reviewed this PR to the
best of my ability before pushing for review.
There are various types used to carry name resolution results across
crate boundaries. They are scattered across places like
`rustc_middle::ty`, `rustc_middle::metadata`, and `rustc_hir::def`.

This commit moves them into the new module, a more logical place for
them to live. As part of this it eliminates the small
`rustc_middle::metadata` module.

One nice consequence of this change: it removes the single use of a
`LocalDefId` in `rustc_ast`. (This is what got my attention in the first
place.)
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rust-analyzer Relevant to the rust-analyzer team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Sep 4, 2026
@JonathanBrouwer

Copy link
Copy Markdown
Member Author

@bors r+ p=5

Trying commonly failed jobs
@bors try jobs=dist-various-1,test-various,x86_64-gnu-aux,x86_64-gnu-llvm-21-3,x86_64-msvc-1,aarch64-apple-1,aarch64-apple-2,x86_64-mingw-1,i686-msvc-1,i686-msvc-2

@rust-bors

rust-bors Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 18836ba has been approved by JonathanBrouwer

It is now in the queue for this repository.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 4, 2026
@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Sep 4, 2026
Rollup of 25 pull requests


try-job: dist-various-1
try-job: test-various
try-job: x86_64-gnu-aux
try-job: x86_64-gnu-llvm-21-3
try-job: x86_64-msvc-1
try-job: aarch64-apple-1
try-job: aarch64-apple-2
try-job: x86_64-mingw-1
try-job: i686-msvc-1
try-job: i686-msvc-2
@rust-bors

rust-bors Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: 902c786 (902c786eab90c8d3d69ff2feb0db141da86fb29a)
Base parent: 0ed41eb (0ed41eb4142dda2df61eb1145a312c1a9d62eb56)

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Sep 5, 2026
…uwer

Rollup of 25 pull requests

Successful merges:

 - #162072 (Add new Tier-3 target: `powerpc64-sony-ps3`)
 - #162179 (type system const items via direct rhs)
 - #162255 (let people change rustc-dev-guide in-tree)
 - #162262 (Avoid manually instantiating some binders in error reporting with `-Znext-solver`)
 - #162277 (Introduce `rustc_middle::middel::resolve`)
 - #162285 (box: fixup map/try_map deallocate calls)
 - #162286 (string: don't unwind prematurely)
 - #162289 (alloc: a bunch of safety comments)
 - #162290 (abby test DSL: AliasTyOutlivesViaEnv)
 - #162292 (Update `askama` version to `0.16.1`)
 - #160509 (Remove `RegionExt`; move methods to `Region` in `rustc_type_ir`)
 - #160906 (Suggest usize instead of placeholder type for array length constants)
 - #160936 (traits: Represent live alias arguments as bitsets)
 - #161394 (fix `is_homogeneous_aggregate`: use unit size, not total size )
 - #161400 (Improve diagnostics for references to closures)
 - #161656 (Suggest mutable references for FnMut closure arguments)
 - #161711 (Add more splat fn type tests)
 - #161786 (Make `tcx.def_id_partial_cmp` public)
 - #161953 (sanitizers: Implicitly disable mutually exclusive sanitizers)
 - #162155 (add suggestion for `rustc_allowed_through_unstable_modules` attribute)
 - #162212 (Implement `Rng` for `Box`)
 - #162246 (Fix incorrect meta span)
 - #162266 (std: fix typo)
 - #162291 (Add regression test from 1.98.1)
 - #162303 (Fix a minor spelling error in `library/std/src/sys/fs/unix.rs`)
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job dist-x86_64-apple failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
  checking for x86_64-apple-darwin-cxx... no
  checking for x86_64-apple-darwin-cc++... no
  checking for x86_64-apple-darwin-cl.exe... no
  checking for x86_64-apple-darwin-FCC... no
  checking for x86_64-apple-darwin-KCC... no
  checking for x86_64-apple-darwin-RCC... no
  checking for x86_64-apple-darwin-xlC_r... no
  checking for x86_64-apple-darwin-xlC... no
  checking for x86_64-apple-darwin-clang++... no
  checking for g++... g++
  checking whether the compiler supports GNU C++... yes
  checking whether g++ accepts -g... yes
  checking for g++ option to enable C++11 features... none needed
---
  checking for mt... no
  checking if : is a manifest tool... no
  checking for x86_64-apple-darwin-dsymutil... no
  checking for dsymutil... dsymutil
  checking for x86_64-apple-darwin-nmedit... no
  checking for nmedit... nmedit
  checking for x86_64-apple-darwin-lipo... no
  checking for lipo... lipo
  checking for x86_64-apple-darwin-otool... no
  checking for otool... otool
  checking for x86_64-apple-darwin-otool64... no
  checking for otool64... no
---
  make[3]: Nothing to be done for `install-exec-am'.
   mkdir -p '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools/x86_64-apple-darwin/release/build/libffi-sys/0b21137bc660b411/out/libffi-root/share/man/man3'
   /usr/bin/install -c -m 644 ../../man/ffi.3 ../../man/ffi_call.3 ../../man/ffi_prep_cif.3 ../../man/ffi_prep_cif_var.3 '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools/x86_64-apple-darwin/release/build/libffi-sys/0b21137bc660b411/out/libffi-root/share/man/man3'
  depbase=`echo src/prep_cif.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
   /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I. -I../include -Iinclude -I../src   -Wall -O3 -ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-apple-macosx -mmacosx-version-min=10.12 -w -fmacro-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fdebug-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -flto=thin -fexceptions -MT src/prep_cif.lo -MD -MP -MF $depbase.Tpo -c -o src/prep_cif.lo ../src/prep_cif.c &&\
   mv -f $depbase.Tpo $depbase.Plo
  libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -Wall -O3 -ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-apple-macosx -mmacosx-version-min=10.12 -w -fmacro-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fdebug-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -flto=thin -fexceptions -MT src/prep_cif.lo -MD -MP -MF src/.deps/prep_cif.Tpo -c ../src/prep_cif.c  -fno-common -DPIC -o src/prep_cif.o
  depbase=`echo src/types.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
   /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I. -I../include -Iinclude -I../src   -Wall -O3 -ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-apple-macosx -mmacosx-version-min=10.12 -w -fmacro-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fdebug-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -flto=thin -fexceptions -MT src/types.lo -MD -MP -MF $depbase.Tpo -c -o src/types.lo ../src/types.c &&\
   mv -f $depbase.Tpo $depbase.Plo
  libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -Wall -O3 -ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-apple-macosx -mmacosx-version-min=10.12 -w -fmacro-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fdebug-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -flto=thin -fexceptions -MT src/types.lo -MD -MP -MF src/.deps/types.Tpo -c ../src/types.c  -fno-common -DPIC -o src/types.o
  depbase=`echo src/raw_api.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
   /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I. -I../include -Iinclude -I../src   -Wall -O3 -ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-apple-macosx -mmacosx-version-min=10.12 -w -fmacro-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fdebug-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -flto=thin -fexceptions -MT src/raw_api.lo -MD -MP -MF $depbase.Tpo -c -o src/raw_api.lo ../src/raw_api.c &&\
   mv -f $depbase.Tpo $depbase.Plo
  libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -Wall -O3 -ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-apple-macosx -mmacosx-version-min=10.12 -w -fmacro-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fdebug-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -flto=thin -fexceptions -MT src/raw_api.lo -MD -MP -MF src/.deps/raw_api.Tpo -c ../src/raw_api.c  -fno-common -DPIC -o src/raw_api.o
  depbase=`echo src/java_raw_api.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
   /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I. -I../include -Iinclude -I../src   -Wall -O3 -ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-apple-macosx -mmacosx-version-min=10.12 -w -fmacro-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fdebug-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -flto=thin -fexceptions -MT src/java_raw_api.lo -MD -MP -MF $depbase.Tpo -c -o src/java_raw_api.lo ../src/java_raw_api.c &&\
   mv -f $depbase.Tpo $depbase.Plo
  libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -Wall -O3 -ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-apple-macosx -mmacosx-version-min=10.12 -w -fmacro-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fdebug-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -flto=thin -fexceptions -MT src/java_raw_api.lo -MD -MP -MF src/.deps/java_raw_api.Tpo -c ../src/java_raw_api.c  -fno-common -DPIC -o src/java_raw_api.o
  depbase=`echo src/closures.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
   /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I. -I../include -Iinclude -I../src   -Wall -O3 -ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-apple-macosx -mmacosx-version-min=10.12 -w -fmacro-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fdebug-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -flto=thin -fexceptions -MT src/closures.lo -MD -MP -MF $depbase.Tpo -c -o src/closures.lo ../src/closures.c &&\
   mv -f $depbase.Tpo $depbase.Plo
  libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -Wall -O3 -ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-apple-macosx -mmacosx-version-min=10.12 -w -fmacro-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fdebug-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -flto=thin -fexceptions -MT src/closures.lo -MD -MP -MF src/.deps/closures.Tpo -c ../src/closures.c  -fno-common -DPIC -o src/closures.o
  depbase=`echo src/tramp.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
   /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I. -I../include -Iinclude -I../src   -Wall -O3 -ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-apple-macosx -mmacosx-version-min=10.12 -w -fmacro-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fdebug-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -flto=thin -fexceptions -MT src/tramp.lo -MD -MP -MF $depbase.Tpo -c -o src/tramp.lo ../src/tramp.c &&\
   mv -f $depbase.Tpo $depbase.Plo
  libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -Wall -O3 -ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-apple-macosx -mmacosx-version-min=10.12 -w -fmacro-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fdebug-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -flto=thin -fexceptions -MT src/tramp.lo -MD -MP -MF src/.deps/tramp.Tpo -c ../src/tramp.c  -fno-common -DPIC -o src/tramp.o
  depbase=`echo src/x86/ffi64.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
   /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I. -I../include -Iinclude -I../src   -Wall -O3 -ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-apple-macosx -mmacosx-version-min=10.12 -w -fmacro-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fdebug-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -flto=thin -fexceptions -MT src/x86/ffi64.lo -MD -MP -MF $depbase.Tpo -c -o src/x86/ffi64.lo ../src/x86/ffi64.c &&\
   mv -f $depbase.Tpo $depbase.Plo
  libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -Wall -O3 -ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-apple-macosx -mmacosx-version-min=10.12 -w -fmacro-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fdebug-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -flto=thin -fexceptions -MT src/x86/ffi64.lo -MD -MP -MF src/x86/.deps/ffi64.Tpo -c ../src/x86/ffi64.c  -fno-common -DPIC -o src/x86/ffi64.o
  depbase=`echo src/x86/unix64.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
   /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I. -I../include -Iinclude -I../src  '-I. -I../include -Iinclude -I../src' -O3 -ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-apple-macosx -mmacosx-version-min=10.12 -w -fmacro-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fdebug-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -flto=thin -MT src/x86/unix64.lo -MD -MP -MF $depbase.Tpo -c -o src/x86/unix64.lo ../src/x86/unix64.S &&\
   mv -f $depbase.Tpo $depbase.Plo
  libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src "-I. -I../include -Iinclude -I../src" -O3 -ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-apple-macosx -mmacosx-version-min=10.12 -w -fmacro-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fdebug-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -flto=thin -MT src/x86/unix64.lo -MD -MP -MF src/x86/.deps/unix64.Tpo -c ../src/x86/unix64.S  -fno-common -DPIC -o src/x86/unix64.o
  depbase=`echo src/x86/ffiw64.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
   /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I. -I../include -Iinclude -I../src   -Wall -O3 -ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-apple-macosx -mmacosx-version-min=10.12 -w -fmacro-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fdebug-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -flto=thin -fexceptions -MT src/x86/ffiw64.lo -MD -MP -MF $depbase.Tpo -c -o src/x86/ffiw64.lo ../src/x86/ffiw64.c &&\
   mv -f $depbase.Tpo $depbase.Plo
  libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -Wall -O3 -ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-apple-macosx -mmacosx-version-min=10.12 -w -fmacro-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fdebug-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -flto=thin -fexceptions -MT src/x86/ffiw64.lo -MD -MP -MF src/x86/.deps/ffiw64.Tpo -c ../src/x86/ffiw64.c  -fno-common -DPIC -o src/x86/ffiw64.o
  depbase=`echo src/x86/win64.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
   /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I. -I../include -Iinclude -I../src  '-I. -I../include -Iinclude -I../src' -O3 -ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-apple-macosx -mmacosx-version-min=10.12 -w -fmacro-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fdebug-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -flto=thin -MT src/x86/win64.lo -MD -MP -MF $depbase.Tpo -c -o src/x86/win64.lo ../src/x86/win64.S &&\
   mv -f $depbase.Tpo $depbase.Plo
  libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src "-I. -I../include -Iinclude -I../src" -O3 -ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-apple-macosx -mmacosx-version-min=10.12 -w -fmacro-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fdebug-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -flto=thin -MT src/x86/win64.lo -MD -MP -MF src/x86/.deps/win64.Tpo -c ../src/x86/win64.S  -fno-common -DPIC -o src/x86/win64.o
  /bin/sh ./libtool  --tag=CC   --mode=link cc  -Wall -O3 -ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-apple-macosx -mmacosx-version-min=10.12 -w -fmacro-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fdebug-prefix-map=/Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f=/cargo/registry/25cdd57fae9f0462 -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools=/cargo/build-dir -fmacro-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -fdebug-prefix-map=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/src/rust=/rustc/6d451b72ed9d05c5f5d8d6d1e71dcb3f89686404 -flto=thin -fexceptions   -o libffi_convenience.la  src/prep_cif.lo src/types.lo src/raw_api.lo src/java_raw_api.lo src/closures.lo src/tramp.lo   src/x86/ffi64.lo src/x86/unix64.lo src/x86/ffiw64.lo src/x86/win64.lo 
  libtool: link: ar cr .libs/libffi_convenience.a  src/prep_cif.o src/types.o src/raw_api.o src/java_raw_api.o src/closures.o src/tramp.o src/x86/ffi64.o src/x86/unix64.o src/x86/ffiw64.o src/x86/win64.o
  cargo:warning=Building libffi failed with exit status: 2

  --- stderr
  clang: error: unsupported option '-print-multi-os-directory'
  clang: error: no input files
  fatal error: /Applications/Xcode_26.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: can't write to output file (Input/output error)
  /Applications/Xcode_26.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar: internal ranlib command failed
  make[2]: *** [libffi_convenience.la] Error 1
  make[1]: *** [install-recursive] Error 1
  make: *** [install] Error 2

  thread 'main' (717701) panicked at /cargo/registry/25cdd57fae9f0462/libffi-sys-4.1.0/build/not_msvc.rs:48:5:
  Building libffi: exit status: 2 (cd "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage2-tools/x86_64-apple-darwin/release/build/libffi-sys/0b21137bc660b411/out/libffi-build" && env -u DESTDIR "make" "install")
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
[RUSTC-TIMING] ui_test test:false 17.930
Bootstrap failed while executing `dist bootstrap enzyme --include-default-paths --host=x86_64-apple-darwin --target=x86_64-apple-darwin`
Currently active steps:

@rust-bors rust-bors Bot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Sep 5, 2026
@rust-bors

rust-bors Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

💔 Test for 6d451b7 failed: CI. Failed job:

@Zalathar

Zalathar commented Sep 5, 2026

Copy link
Copy Markdown
Member

Looks potentially flaky, but it's hard to be sure.

@bors try jobs=dist-x86_64-apple

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Sep 5, 2026
Rollup of 25 pull requests


try-job: dist-x86_64-apple
@rust-bors

rust-bors Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: 00ca44a (00ca44aa9959807da684677337ee29e78f9e592d)
Base parent: 0ed41eb (0ed41eb4142dda2df61eb1145a312c1a9d62eb56)

@JonathanBrouwer

Copy link
Copy Markdown
Member Author

@bors retry

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) A-CI Area: Our Github Actions CI A-compiler-builtins Area: compiler-builtins (https://github.com/rust-lang/compiler-builtins) A-meta Area: Issues & PRs about the rust-lang/rust repository itself A-test-infra-minicore Area: `minicore` test auxiliary and `//@ add-core-stubs` A-testsuite Area: The testsuite used to check the correctness of rustc rollup A PR which is a rollup S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rust-analyzer Relevant to the rust-analyzer team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)

Projects

None yet

Development

Successfully merging this pull request may close these issues.