Skip to content

./x build failed with "llvm-config: error: libLLVM-22-rust-1.95.0-nightly.dylib is missing" #153127

Closed

Description

@theemathas

Summary

I am unable to build the compiler. I've done ./x clean and ./x build a few times already.

Command used

RUST_BACKTRACE=1 ./x build -v

Expected behaviour

Compile success

Actual behaviour

Failed to compile

Bootstrap configuration (bootstrap.toml)

# See bootstrap.example.toml for documentation of available options
#
profile = "compiler"  # Includes one of the default files in src/bootstrap/defaults
change-id = 148671

[rust]
# debug = true

Operating system

macOS Sequoia 15.6

HEAD

512b2d0
(#153125)

Additional context

Build Log

Building bootstrap
running: /Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/cargo build --jobs=default --manifest-path /Users/timch/rust/src/bootstrap/Cargo.toml -Zroot-dir=/Users/timch/rust -Zwarnings
    Finished `dev` profile [unoptimized] target(s) in 0.06s
running: /Users/timch/rust/build/bootstrap/debug/bootstrap build -v
running: "git" "rev-parse" "--show-cdup" (failure_mode=Ignore) (created at src/bootstrap/src/core/config/config.rs:1944:23, executed at src/bootstrap/src/core/config/config.rs:1954:42)
running: cd "/Users/timch/rust" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "rev-parse" (failure_mode=Ignore) (created at src/bootstrap/src/utils/channel.rs:47:31, executed at src/bootstrap/src/utils/channel.rs:49:50)
running: cd "/Users/timch/rust" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src/bootstrap/src/utils/channel.rs:63:31, executed at src/bootstrap/src/utils/channel.rs:70:14)
running: cd "/Users/timch/rust" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src/bootstrap/src/utils/channel.rs:72:32, executed at src/bootstrap/src/utils/channel.rs:77:14)
running: cd "/Users/timch/rust" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src/bootstrap/src/utils/channel.rs:79:38, executed at src/bootstrap/src/utils/channel.rs:85:14)
downloading stage0 beta artifacts
running: "/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/rustc" "--print" "sysroot" (failure_mode=Exit) (created at src/bootstrap/src/core/config/config.rs:760:13, executed at src/bootstrap/src/core/config/config.rs:763:18)
downloading stage0 beta artifacts
Cache hit: cd "/Users/timch/rust" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "rev-parse" (failure_mode=Ignore)
running: "/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/rustc" "--print" "target-libdir" (failure_mode=Exit) (created at src/bootstrap/src/lib.rs:475:37, executed at src/bootstrap/src/lib.rs:478:14)
running: "/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/rustc" "--version" "--verbose" (failure_mode=Exit) (created at src/bootstrap/src/lib.rs:583:37, executed at src/bootstrap/src/lib.rs:586:14)
finding compilers
CC_aarch64-apple-darwin = "cc"
CFLAGS_aarch64-apple-darwin = ["-ffunction-sections", "-fdata-sections", "-fPIC", "--target=arm64-apple-macosx", "-mmacosx-version-min=15.5"]
CXX_aarch64-apple-darwin = "c++"
CXXFLAGS_aarch64-apple-darwin = ["-ffunction-sections", "-fdata-sections", "-fPIC", "--target=arm64-apple-macosx", "-mmacosx-version-min=15.5", "-stdlib=libc++"]
AR_aarch64-apple-darwin = "ar"
running sanity check
running: "/Users/timch/rust/build/aarch64-apple-darwin/libcxx-version/libcxx-version" (failure_mode=Exit) (created at src/bootstrap/src/core/build_steps/tool.rs:1263:30, executed at src/bootstrap/src/core/build_steps/tool.rs:1263:50)
running: "/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/rustc" "--print" "target-list" (failure_mode=Exit) (created at src/bootstrap/src/core/sanity.rs:217:57, executed at src/bootstrap/src/core/sanity.rs:220:10)
running: cd "/Users/timch/rust/library/backtrace" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "rev-parse" (failure_mode=Ignore) (created at src/bootstrap/src/utils/channel.rs:47:31, executed at src/bootstrap/src/utils/channel.rs:49:50)
running: cd "/Users/timch/rust/library/backtrace" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src/bootstrap/src/utils/channel.rs:63:31, executed at src/bootstrap/src/utils/channel.rs:70:14)
running: cd "/Users/timch/rust/library/backtrace" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src/bootstrap/src/utils/channel.rs:72:32, executed at src/bootstrap/src/utils/channel.rs:77:14)
running: cd "/Users/timch/rust/library/backtrace" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src/bootstrap/src/utils/channel.rs:79:38, executed at src/bootstrap/src/utils/channel.rs:85:14)
Cache hit: cd "/Users/timch/rust/library/backtrace" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "rev-parse" "HEAD" (failure_mode=Exit)
running: cd "/Users/timch/rust" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "ls-tree" "HEAD" "library/backtrace" (failure_mode=Exit) (created at src/bootstrap/src/core/config/config.rs:2419:20, executed at src/bootstrap/src/core/config/config.rs:2423:10)
running: cd "/Users/timch/rust" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "config" "--file" ".gitmodules" "--get-regexp" "path" (failure_mode=Exit) (created at src/bootstrap/src/lib.rs:703:22, executed at src/bootstrap/src/lib.rs:707:14)
running: cd "library/backtrace" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "rev-parse" (failure_mode=Ignore) (created at src/bootstrap/src/utils/channel.rs:47:31, executed at src/bootstrap/src/utils/channel.rs:49:50)
running: cd "library/backtrace" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src/bootstrap/src/utils/channel.rs:63:31, executed at src/bootstrap/src/utils/channel.rs:70:14)
running: cd "library/backtrace" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src/bootstrap/src/utils/channel.rs:72:32, executed at src/bootstrap/src/utils/channel.rs:77:14)
running: cd "library/backtrace" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src/bootstrap/src/utils/channel.rs:79:38, executed at src/bootstrap/src/utils/channel.rs:85:14)
Cache hit: cd "/Users/timch/rust/library/backtrace" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "rev-parse" (failure_mode=Ignore)
Cache hit: cd "/Users/timch/rust/library/backtrace" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit)
Cache hit: cd "/Users/timch/rust/library/backtrace" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "rev-parse" "HEAD" (failure_mode=Exit)
Cache hit: cd "/Users/timch/rust/library/backtrace" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit)
Cache hit: cd "/Users/timch/rust/library/backtrace" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "rev-parse" "HEAD" (failure_mode=Exit)
Cache hit: cd "/Users/timch/rust" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "ls-tree" "HEAD" "library/backtrace" (failure_mode=Exit)
learning about cargo
running: RUSTC_BOOTSTRAP="1" "/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/cargo" "metadata" "--format-version" "1" "--no-deps" "--manifest-path" "/Users/timch/rust/Cargo.toml" (failure_mode=Exit) (created at src/bootstrap/src/core/metadata.rs:80:25, executed at src/bootstrap/src/core/metadata.rs:91:54)
running: RUSTC_BOOTSTRAP="1" "/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/cargo" "metadata" "--format-version" "1" "--no-deps" "--manifest-path" "/Users/timch/rust/library/Cargo.toml" (failure_mode=Exit) (created at src/bootstrap/src/core/metadata.rs:80:25, executed at src/bootstrap/src/core/metadata.rs:91:54)
Removing sysroot /Users/timch/rust/build/aarch64-apple-darwin/stage1 to avoid caching bugs
LLVM freshness: LastModifiedUpstream { upstream: "1ed488274bec5bf5cfe6bf7a1cc089abcc4ebd68" }
Removing sysroot /Users/timch/rust/build/aarch64-apple-darwin/stage0-sysroot to avoid caching bugs
running: "/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/rustc" "--print" "sysroot" (failure_mode=Exit) (created at src/bootstrap/src/lib.rs:1081:13, executed at src/bootstrap/src/lib.rs:1084:18)
LLVM freshness: LastModifiedUpstream { upstream: "1ed488274bec5bf5cfe6bf7a1cc089abcc4ebd68" }
running: cd "/Users/timch/rust" && env -u MAKEFLAGS CARGO_BUILD_BUILD_DIR="/Users/timch/rust/build/aarch64-apple-darwin/stage1-rustc" CARGO_BUILD_WARNINGS="deny" CARGO_INCREMENTAL="1" CARGO_PROFILE_RELEASE_DEBUG="line-tables-only" CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS="true" CARGO_PROFILE_RELEASE_OVERFLOW_CHECKS="false" CARGO_PROFILE_RELEASE_STRIP="false" CARGO_TARGET_AARCH64_APPLE_DARWIN_LINKER="" CARGO_TARGET_DIR="/Users/timch/rust/build/aarch64-apple-darwin/stage1-rustc" CC_aarch64_apple_darwin="" CFG_COMPILER_BUILD_TRIPLE="aarch64-apple-darwin" CFG_COMPILER_HOST_TRIPLE="aarch64-apple-darwin" CFG_DEFAULT_CODEGEN_BACKEND="llvm" CFG_LIBDIR_RELATIVE="lib" CFG_OMIT_GIT_HASH="1" CFG_RELEASE="1.95.0-dev" CFG_RELEASE_CHANNEL="dev" CFG_VERSION="1.95.0-dev" CFLAGS_aarch64_apple_darwin="" CXXFLAGS_aarch64_apple_darwin="-stdlib=libc++" CXX_aarch64_apple_darwin="" LIBC_CHECK_CFG="1" LLVM_CONFIG="/Users/timch/rust/build/aarch64-apple-darwin/ci-llvm/bin/llvm-config" LLVM_RUSTLLVM="1" REAL_LIBRARY_PATH_VAR="DYLD_LIBRARY_PATH" RUSTBUILD_NATIVE_DIR="/Users/timch/rust/build/aarch64-apple-darwin/native" RUSTC="/Users/timch/rust/build/bootstrap/debug/rustc" RUSTC_BACKTRACE_ON_ICE="1" RUSTC_BOOTSTRAP="1" RUSTC_BREAK_ON_ICE="1" RUSTC_ERROR_METADATA_DST="/Users/timch/rust/build/tmp/extended-error-metadata" RUSTC_FORCE_UNSTABLE="1" RUSTC_HOST_FLAGS="--check-cfg=cfg(bootstrap) --cfg=bootstrap" RUSTC_INSTALL_BINDIR="bin" RUSTC_LIBDIR="/Users/timch/rust/build/aarch64-apple-darwin/stage0/lib" RUSTC_LINK_STD_INTO_RUSTC_DRIVER="1" RUSTC_LINT_FLAGS="-Wrust_2018_idioms -Wunused_lifetimes -Wrustc::internal -Drustc::symbol_intern_string_literal -Wkeyword_idents_2024 -Wunreachable_pub -Wunsafe_op_in_unsafe_fn -Wunused_crate_dependencies" RUSTC_REAL="/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/rustc" RUSTC_SNAPSHOT="/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/rustc" RUSTC_SNAPSHOT_LIBDIR="/Users/timch/rust/build/aarch64-apple-darwin/stage0/lib" RUSTC_STAGE="0" RUSTC_SYSROOT="/Users/timch/rust/build/aarch64-apple-darwin/stage0-sysroot" RUSTC_TLS_MODEL_INITIAL_EXEC="1" RUSTC_VERBOSE="1" RUSTC_WRAPPER="/Users/timch/rust/build/bootstrap/debug/rustc" RUSTDOC="/Users/timch/rust/build/bootstrap/debug/rustdoc" RUSTDOCFLAGS="--cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options --check-cfg=cfg(bootstrap) -Wrustdoc::invalid_codeblock_attributes --crate-version 1.95.0-dev -Zcrate-attr=warn(rust_2018_idioms) --cfg=bootstrap" RUSTDOC_LIBDIR="/Users/timch/rust/build/aarch64-apple-darwin/stage0/lib" RUSTDOC_REAL="/path/to/nowhere/rustdoc/not/required" RUSTFLAGS="--cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options --check-cfg=cfg(bootstrap) -Zmacro-backtrace -Csplit-debuginfo=unpacked -Cforce-frame-pointers=true -Cllvm-args=-import-instr-limit=10 -Zosx-rpath-install-name -Clink-args=-Wl,-rpath,@loader_path/../lib -Zon-broken-pipe=kill -Clto=off --cfg=bootstrap" RUST_TEST_THREADS="10" __CARGO_DEFAULT_LIB_METADATA="bootstrap1.95.0" "/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/cargo" "build" "-Zwarnings" "--target" "aarch64-apple-darwin" "-Zbinary-dep-depinfo" "-j" "10" "-Zroot-dir=/Users/timch/rust" "--profile=release" "--features" "llvm" "--manifest-path" "/Users/timch/rust/compiler/rustc/Cargo.toml" "--message-format" "json-render-diagnostics" (failure_mode=Exit)
running: cd "/Users/timch/rust" && env -u MAKEFLAGS CARGO_BUILD_BUILD_DIR="/Users/timch/rust/build/aarch64-apple-darwin/stage1-std" CARGO_BUILD_WARNINGS="deny" CARGO_INCREMENTAL="0" CARGO_PROFILE_DIST_DEBUG="line-tables-only" CARGO_PROFILE_DIST_DEBUG_ASSERTIONS="true" CARGO_PROFILE_DIST_OVERFLOW_CHECKS="false" CARGO_PROFILE_DIST_STRIP="false" CARGO_TARGET_AARCH64_APPLE_DARWIN_LINKER="" CARGO_TARGET_DIR="/Users/timch/rust/build/aarch64-apple-darwin/stage1-std" CC_aarch64_apple_darwin="" CFG_COMPILER_BUILD_TRIPLE="aarch64-apple-darwin" CFG_RELEASE_CHANNEL="dev" CFLAGS_aarch64_apple_darwin="" CXXFLAGS_aarch64_apple_darwin="-stdlib=libc++" CXX_aarch64_apple_darwin="" LIBC_CHECK_CFG="1" REAL_LIBRARY_PATH_VAR="DYLD_LIBRARY_PATH" RUSTBUILD_NATIVE_DIR="/Users/timch/rust/build/aarch64-apple-darwin/native" RUSTC="/Users/timch/rust/build/bootstrap/debug/rustc" RUSTC_BACKTRACE_ON_ICE="1" RUSTC_BOOTSTRAP="1" RUSTC_BREAK_ON_ICE="1" RUSTC_ERROR_METADATA_DST="/Users/timch/rust/build/tmp/extended-error-metadata" RUSTC_FORCE_UNSTABLE="1" RUSTC_INSTALL_BINDIR="bin" RUSTC_LIBDIR="/Users/timch/rust/build/aarch64-apple-darwin/stage1/lib" RUSTC_LINK_STD_INTO_RUSTC_DRIVER="1" RUSTC_LINT_FLAGS="-Wrust_2018_idioms -Wunused_lifetimes" RUSTC_REAL="/Users/timch/rust/build/aarch64-apple-darwin/stage1/bin/rustc" RUSTC_SNAPSHOT="/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/rustc" RUSTC_SNAPSHOT_LIBDIR="/Users/timch/rust/build/aarch64-apple-darwin/stage0/lib" RUSTC_STAGE="1" RUSTC_SYSROOT="/Users/timch/rust/build/aarch64-apple-darwin/stage1" RUSTC_VERBOSE="1" RUSTC_WRAPPER="/Users/timch/rust/build/bootstrap/debug/rustc" RUSTDOC="/Users/timch/rust/build/bootstrap/debug/rustdoc" RUSTDOCFLAGS="-Zannotate-moves --check-cfg=cfg(feature,values(any())) -Zunstable-options -Wrustdoc::invalid_codeblock_attributes --crate-version 1.95.0-dev -Zcrate-attr=doc(html_root_url=\"https://doc.rust-lang.org/nightly/\") -Zcrate-attr=warn(rust_2018_idioms)" RUSTDOC_LIBDIR="/Users/timch/rust/build/aarch64-apple-darwin/stage1/lib" RUSTDOC_REAL="/path/to/nowhere/rustdoc/not/required" RUSTFLAGS="-Zannotate-moves --check-cfg=cfg(feature,values(any())) -Zunstable-options -Zmacro-backtrace -Csplit-debuginfo=unpacked -Cforce-frame-pointers=true -Cprefer-dynamic -Cllvm-args=-import-instr-limit=10 -Zinline-mir -Zinline-mir-preserve-debug -Zmir_strip_debuginfo=locals-in-tiny-functions -Zosx-rpath-install-name -Clink-args=-Wl,-rpath,@loader_path/../lib -Clto=off -Zcrate-attr=doc(html_root_url=\"https://doc.rust-lang.org/nightly/\")" RUST_TEST_THREADS="10" __CARGO_DEFAULT_LIB_METADATA="devstd1.95.0" "/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/cargo" "build" "-Zwarnings" "--target" "aarch64-apple-darwin" "-Zbinary-dep-depinfo" "-j" "10" "-Zroot-dir=/Users/timch/rust" "-Zno-embed-metadata" "--profile=dist" "-p" "alloc" "-p" "compiler_builtins" "-p" "core" "-p" "panic_abort" "-p" "panic_unwind" "-p" "proc_macro" "-p" "rustc-std-workspace-core" "-p" "std" "-p" "std_detect" "-p" "sysroot" "-p" "test" "-p" "unwind" "--features" "backtrace panic-unwind" "--manifest-path" "/Users/timch/rust/library/sysroot/Cargo.toml" "--message-format" "json-render-diagnostics" (failure_mode=Exit)
running: cd "/Users/timch/rust" && env -u MAKEFLAGS CARGO_BUILD_BUILD_DIR="/Users/timch/rust/build/aarch64-apple-darwin/stage1-tools" CARGO_BUILD_WARNINGS="deny" CARGO_INCREMENTAL="1" CARGO_PROFILE_RELEASE_DEBUG="line-tables-only" CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS="true" CARGO_PROFILE_RELEASE_OVERFLOW_CHECKS="false" CARGO_PROFILE_RELEASE_STRIP="false" CARGO_TARGET_AARCH64_APPLE_DARWIN_LINKER="" CARGO_TARGET_DIR="/Users/timch/rust/build/aarch64-apple-darwin/stage1-tools" CC_aarch64_apple_darwin="" CFG_COMPILER_BUILD_TRIPLE="aarch64-apple-darwin" CFG_RELEASE="1.95.0-dev" CFG_RELEASE_CHANNEL="dev" CFG_RELEASE_NUM="1.95.0" CFG_VERSION="1.95.0-dev" CFLAGS_aarch64_apple_darwin="" CXXFLAGS_aarch64_apple_darwin="-stdlib=libc++" CXX_aarch64_apple_darwin="" DOC_RUST_LANG_ORG_CHANNEL="https://doc.rust-lang.org/nightly" FORCE_ON_BROKEN_PIPE_KILL="-Zon-broken-pipe=kill" LIBC_CHECK_CFG="1" LZMA_API_STATIC="1" REAL_LIBRARY_PATH_VAR="DYLD_LIBRARY_PATH" RUSTBUILD_NATIVE_DIR="/Users/timch/rust/build/aarch64-apple-darwin/native" RUSTC="/Users/timch/rust/build/bootstrap/debug/rustc" RUSTC_BACKTRACE_ON_ICE="1" RUSTC_BOOTSTRAP="1" RUSTC_BREAK_ON_ICE="1" RUSTC_ERROR_METADATA_DST="/Users/timch/rust/build/tmp/extended-error-metadata" RUSTC_HOST_FLAGS="--check-cfg=cfg(bootstrap) --cfg=bootstrap" RUSTC_INSTALL_BINDIR="bin" RUSTC_LIBDIR="/Users/timch/rust/build/aarch64-apple-darwin/stage0/lib" RUSTC_LINK_STD_INTO_RUSTC_DRIVER="1" RUSTC_LINT_FLAGS="-Wrust_2018_idioms -Wunused_lifetimes" RUSTC_REAL="/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/rustc" RUSTC_SNAPSHOT="/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/rustc" RUSTC_SNAPSHOT_LIBDIR="/Users/timch/rust/build/aarch64-apple-darwin/stage0/lib" RUSTC_STAGE="0" RUSTC_SYSROOT="/Users/timch/rust/build/aarch64-apple-darwin/stage0-sysroot" RUSTC_TLS_MODEL_INITIAL_EXEC="1" RUSTC_VERBOSE="1" RUSTC_WRAPPER="/Users/timch/rust/build/bootstrap/debug/rustc" RUSTDOC="/Users/timch/rust/build/bootstrap/debug/rustdoc" RUSTDOCFLAGS="--cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options --check-cfg=cfg(bootstrap) --check-cfg=cfg(rust_analyzer) -Wrustdoc::invalid_codeblock_attributes --crate-version 1.95.0-dev --cfg=bootstrap" RUSTDOC_LIBDIR="/Users/timch/rust/build/aarch64-apple-darwin/stage0/lib" RUSTDOC_REAL="/path/to/nowhere/rustdoc/not/required" RUSTFLAGS="--cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options --check-cfg=cfg(bootstrap) --check-cfg=cfg(rust_analyzer) -Zmacro-backtrace -Csplit-debuginfo=unpacked -Cforce-frame-pointers=true -Cllvm-args=-import-instr-limit=10 -Zosx-rpath-install-name -Clink-args=-Wl,-rpath,@loader_path/../lib -Zunstable-options --cfg=bootstrap" RUST_TEST_THREADS="10" SYSROOT="/Users/timch/rust/build/aarch64-apple-darwin/stage0-sysroot" __CARGO_DEFAULT_LIB_METADATA="bootstraptool-rustc1.95.0" "/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/cargo" "build" "-Zwarnings" "--target" "aarch64-apple-darwin" "-Zbinary-dep-depinfo" "-j" "10" "-Zroot-dir=/Users/timch/rust" "--profile=release" "--manifest-path" "/Users/timch/rust/src/tools/rustdoc/Cargo.toml" "--message-format" "json-render-diagnostics" (failure_mode=Exit)
Removing sysroot /Users/timch/rust/build/aarch64-apple-darwin/stage1 to avoid caching bugs
Removing sysroot /Users/timch/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/aarch64-apple-darwin/lib to avoid caching bugs
LLVM freshness: LastModifiedUpstream { upstream: "1ed488274bec5bf5cfe6bf7a1cc089abcc4ebd68" }
running: "/Users/timch/rust/build/aarch64-apple-darwin/ci-llvm/bin/llvm-config" "--version" (failure_mode=Exit) (created at src/bootstrap/src/core/build_steps/llvm.rs:611:5, executed at src/bootstrap/src/core/build_steps/llvm.rs:614:10)
running: "/Users/timch/rust/build/aarch64-apple-darwin/ci-llvm/bin/llvm-config" "--bindir" (failure_mode=Exit) (created at src/bootstrap/src/core/build_steps/compile.rs:2139:41, executed at src/bootstrap/src/core/build_steps/compile.rs:2142:22)
/Users/timch/rust/build/aarch64-apple-darwin/ci-llvm/bin/llvm-strip does not exist; skipping copy
Removing sysroot /Users/timch/rust/build/aarch64-apple-darwin/stage0-sysroot to avoid caching bugs
LLVM freshness: LastModifiedUpstream { upstream: "1ed488274bec5bf5cfe6bf7a1cc089abcc4ebd68" }
Removing sysroot /Users/timch/rust/build/aarch64-apple-darwin/stage0-sysroot/lib/rustlib/aarch64-apple-darwin/lib to avoid caching bugs
using sysroot /Users/timch/rust/build/aarch64-apple-darwin/stage0-sysroot
LLVM freshness: LastModifiedUpstream { upstream: "1ed488274bec5bf5cfe6bf7a1cc089abcc4ebd68" }
Cache hit: "/Users/timch/rust/build/aarch64-apple-darwin/ci-llvm/bin/llvm-config" "--version" (failure_mode=Exit)
Building stage1 compiler artifacts (stage0 -> stage1, aarch64-apple-darwin)
running: cd "/Users/timch/rust" && env -u MAKEFLAGS AR_aarch64_apple_darwin="ar" CARGO_BUILD_BUILD_DIR="/Users/timch/rust/build/aarch64-apple-darwin/stage1-rustc" CARGO_BUILD_WARNINGS="deny" CARGO_INCREMENTAL="1" CARGO_PROFILE_RELEASE_DEBUG="line-tables-only" CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS="true" CARGO_PROFILE_RELEASE_OVERFLOW_CHECKS="false" CARGO_PROFILE_RELEASE_STRIP="false" CARGO_TARGET_DIR="/Users/timch/rust/build/aarch64-apple-darwin/stage1-rustc" CC_aarch64_apple_darwin="cc" CFG_COMPILER_BUILD_TRIPLE="aarch64-apple-darwin" CFG_COMPILER_HOST_TRIPLE="aarch64-apple-darwin" CFG_DEFAULT_CODEGEN_BACKEND="llvm" CFG_LIBDIR_RELATIVE="lib" CFG_OMIT_GIT_HASH="1" CFG_RELEASE="1.95.0-dev" CFG_RELEASE_CHANNEL="dev" CFG_VERSION="1.95.0-dev" CFLAGS_aarch64_apple_darwin="" CXXFLAGS_aarch64_apple_darwin="-stdlib=libc++" CXX_aarch64_apple_darwin="c++" LIBC_CHECK_CFG="1" LLVM_CONFIG="/Users/timch/rust/build/aarch64-apple-darwin/ci-llvm/bin/llvm-config" LLVM_LINK_SHARED="1" LLVM_RUSTLLVM="1" RANLIB_aarch64_apple_darwin="ar s" REAL_LIBRARY_PATH_VAR="DYLD_LIBRARY_PATH" RUSTBUILD_NATIVE_DIR="/Users/timch/rust/build/aarch64-apple-darwin/native" RUSTC="/Users/timch/rust/build/bootstrap/debug/rustc" RUSTC_BACKTRACE_ON_ICE="1" RUSTC_BOOTSTRAP="1" RUSTC_BREAK_ON_ICE="1" RUSTC_ERROR_METADATA_DST="/Users/timch/rust/build/tmp/extended-error-metadata" RUSTC_FORCE_UNSTABLE="1" RUSTC_HOST_FLAGS="--check-cfg=cfg(bootstrap) --cfg=bootstrap" RUSTC_INSTALL_BINDIR="bin" RUSTC_LIBDIR="/Users/timch/rust/build/aarch64-apple-darwin/stage0/lib" RUSTC_LINK_STD_INTO_RUSTC_DRIVER="1" RUSTC_LINT_FLAGS="-Wrust_2018_idioms -Wunused_lifetimes -Wrustc::internal -Drustc::symbol_intern_string_literal -Wkeyword_idents_2024 -Wunreachable_pub -Wunsafe_op_in_unsafe_fn -Wunused_crate_dependencies" RUSTC_REAL="/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/rustc" RUSTC_SNAPSHOT="/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/rustc" RUSTC_SNAPSHOT_LIBDIR="/Users/timch/rust/build/aarch64-apple-darwin/stage0/lib" RUSTC_STAGE="0" RUSTC_SYSROOT="/Users/timch/rust/build/aarch64-apple-darwin/stage0-sysroot" RUSTC_TLS_MODEL_INITIAL_EXEC="1" RUSTC_VERBOSE="1" RUSTC_WRAPPER="/Users/timch/rust/build/bootstrap/debug/rustc" RUSTDOC="/Users/timch/rust/build/bootstrap/debug/rustdoc" RUSTDOCFLAGS="--cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options --check-cfg=cfg(bootstrap) -Wrustdoc::invalid_codeblock_attributes --crate-version 1.95.0-dev -Zcrate-attr=warn(rust_2018_idioms) --cfg=bootstrap" RUSTDOC_LIBDIR="/Users/timch/rust/build/aarch64-apple-darwin/stage0/lib" RUSTDOC_REAL="/path/to/nowhere/rustdoc/not/required" RUSTFLAGS="--cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options --check-cfg=cfg(bootstrap) -Zmacro-backtrace -Csplit-debuginfo=unpacked -Cforce-frame-pointers=true -Cllvm-args=-import-instr-limit=10 -Zosx-rpath-install-name -Clink-args=-Wl,-rpath,@loader_path/../lib -Zon-broken-pipe=kill -Clto=off --cfg=bootstrap" RUST_TEST_THREADS="10" __CARGO_DEFAULT_LIB_METADATA="bootstrap1.95.0" "/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/cargo" "build" "-Zwarnings" "--target" "aarch64-apple-darwin" "-Zbinary-dep-depinfo" "-j" "10" "-Zroot-dir=/Users/timch/rust" "--profile=release" "--features" "llvm" "--manifest-path" "/Users/timch/rust/compiler/rustc/Cargo.toml" "--message-format" "json-render-diagnostics" (failure_mode=Exit)
   Compiling rustc_llvm v0.0.0 (/Users/timch/rust/compiler/rustc_llvm)
   Compiling rustc_lint v0.0.0 (/Users/timch/rust/compiler/rustc_lint)
   Compiling rustc_ty_utils v0.0.0 (/Users/timch/rust/compiler/rustc_ty_utils)
   Compiling rustc_traits v0.0.0 (/Users/timch/rust/compiler/rustc_traits)
   Compiling rustc_const_eval v0.0.0 (/Users/timch/rust/compiler/rustc_const_eval)
   Compiling rustc_sanitizers v0.0.0 (/Users/timch/rust/compiler/rustc_sanitizers)
   Compiling rustc_codegen_ssa v0.0.0 (/Users/timch/rust/compiler/rustc_codegen_ssa)
   Compiling rustc_resolve v0.0.0 (/Users/timch/rust/compiler/rustc_resolve)
   Compiling rustc_public v0.1.0-preview (/Users/timch/rust/compiler/rustc_public)
   Compiling rustc_privacy v0.0.0 (/Users/timch/rust/compiler/rustc_privacy)
   Compiling rustc_passes v0.0.0 (/Users/timch/rust/compiler/rustc_passes)
   Compiling rustc_hir_analysis v0.0.0 (/Users/timch/rust/compiler/rustc_hir_analysis)
   Compiling rustc_mir_transform v0.0.0 (/Users/timch/rust/compiler/rustc_mir_transform)
error: failed to run custom build command for `rustc_llvm v0.0.0 (/Users/timch/rust/compiler/rustc_llvm)`

Caused by:
  process didn't exit successfully: `/Users/timch/rust/build/aarch64-apple-darwin/stage1-rustc/release/build/rustc_llvm-22cbf263524ba981/build-script-build` (exit status: 101)
  --- stdout
  cargo:rustc-check-cfg=cfg(llvm_component,values("ipo"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("bitreader"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("bitwriter"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("linker"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("asmparser"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("lto"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("coverage"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("instrumentation"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("x86"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("arm"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("aarch64"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("amdgpu"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("avr"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("loongarch"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("m68k"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("csky"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("mips"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("powerpc"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("systemz"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("webassembly"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("msp430"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("sparc"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("nvptx"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("hexagon"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("riscv"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("xtensa"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("bpf"))
  cargo:rerun-if-env-changed=RUST_CHECK
  cargo:rerun-if-env-changed=REAL_LIBRARY_PATH_VAR
  cargo:rerun-if-env-changed=REAL_LIBRARY_PATH
  cargo:rerun-if-env-changed=LLVM_CONFIG
  cargo:rerun-if-changed=/Users/timch/rust/build/aarch64-apple-darwin/ci-llvm/bin/llvm-config
  cargo:rustc-cfg=llvm_component="aarch64"
  cargo:rustc-cfg=llvm_component="amdgpu"
  cargo:rustc-cfg=llvm_component="arm"
  cargo:rustc-cfg=llvm_component="asmparser"
  cargo:rustc-cfg=llvm_component="avr"
  cargo:rustc-cfg=llvm_component="bitreader"
  cargo:rustc-cfg=llvm_component="bitwriter"
  cargo:rustc-cfg=llvm_component="bpf"
  cargo:rustc-cfg=llvm_component="coverage"
  cargo:rustc-cfg=llvm_component="csky"
  cargo:rustc-cfg=llvm_component="hexagon"
  cargo:rustc-cfg=llvm_component="instrumentation"
  cargo:rustc-cfg=llvm_component="ipo"
  cargo:rustc-cfg=llvm_component="linker"
  cargo:rustc-cfg=llvm_component="loongarch"
  cargo:rustc-cfg=llvm_component="lto"
  cargo:rustc-cfg=llvm_component="m68k"
  cargo:rustc-cfg=llvm_component="mips"
  cargo:rustc-cfg=llvm_component="msp430"
  cargo:rustc-cfg=llvm_component="nvptx"
  cargo:rustc-cfg=llvm_component="powerpc"
  cargo:rustc-cfg=llvm_component="riscv"
  cargo:rustc-cfg=llvm_component="sparc"
  cargo:rustc-cfg=llvm_component="systemz"
  cargo:rustc-cfg=llvm_component="webassembly"
  cargo:rustc-cfg=llvm_component="x86"
  cargo:rustc-cfg=llvm_component="xtensa"
  cargo:rerun-if-env-changed=LLVM_ENZYME
  cargo:rerun-if-env-changed=LLVM_OFFLOAD
  cargo:rerun-if-env-changed=LLVM_RUSTLLVM
  cargo:rerun-if-env-changed=LLVM_ASSERTIONS
  cargo:rerun-if-changed=llvm-wrapper/CoverageMappingWrapper.cpp
  cargo:rerun-if-changed=llvm-wrapper/SymbolWrapper.cpp
  cargo:rerun-if-changed=llvm-wrapper/PassWrapper.cpp
  cargo:rerun-if-changed=llvm-wrapper/.editorconfig
  cargo:rerun-if-changed=llvm-wrapper/README
  cargo:rerun-if-changed=llvm-wrapper/RustWrapper.cpp
  cargo:rerun-if-changed=llvm-wrapper/Linker.cpp
  cargo:rerun-if-changed=llvm-wrapper/SuppressLLVMWarnings.h
  cargo:rerun-if-changed=llvm-wrapper/LLVMWrapper.h
  OUT_DIR = Some(/Users/timch/rust/build/aarch64-apple-darwin/stage1-rustc/aarch64-apple-darwin/release/build/rustc_llvm-26137d926615811a/out)
  OPT_LEVEL = Some(3)
  TARGET = Some(aarch64-apple-darwin)
  HOST = Some(aarch64-apple-darwin)
  cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
  CXX_aarch64-apple-darwin = None
  cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
  CXX_aarch64_apple_darwin = Some(c++)
  cargo:rerun-if-env-changed=CC_KNOWN_WRAPPER_CUSTOM
  CC_KNOWN_WRAPPER_CUSTOM = None
  RUSTC_WRAPPER = Some(/Users/timch/rust/build/bootstrap/debug/rustc)
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some(true)
  cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
  MACOSX_DEPLOYMENT_TARGET = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
  CXXFLAGS_aarch64_apple_darwin = Some(-stdlib=libc++)
  cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS
  CC_SHELL_ESCAPED_FLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
  CXXFLAGS_aarch64-apple-darwin = None
  CARGO_ENCODED_RUSTFLAGS = Some(--cfg=windows_raw_dylib-Csymbol-mangling-version=v0-Zunstable-options--check-cfg=cfg(bootstrap)-Zmacro-backtrace-Csplit-debuginfo=unpacked-Cforce-frame-pointers=true-Cllvm-args=-import-instr-limit=10-Zosx-rpath-install-name-Clink-args=-Wl,-rpath,@loader_path/../lib-Zon-broken-pipe=kill-Clto=off--cfg=bootstrap)
  OUT_DIR = Some(/Users/timch/rust/build/aarch64-apple-darwin/stage1-rustc/aarch64-apple-darwin/release/build/rustc_llvm-26137d926615811a/out)
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  TARGET = Some(aarch64-apple-darwin)
  cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
  MACOSX_DEPLOYMENT_TARGET = None
  HOST = Some(aarch64-apple-darwin)
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
  CXXFLAGS_aarch64_apple_darwin = Some(-stdlib=libc++)
  cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS
  CC_SHELL_ESCAPED_FLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
  CXXFLAGS_aarch64-apple-darwin = None
  cargo:rerun-if-env-changed=AR_aarch64-apple-darwin
  AR_aarch64-apple-darwin = None
  cargo:rerun-if-env-changed=AR_aarch64_apple_darwin
  AR_aarch64_apple_darwin = Some(ar)
  cargo:rerun-if-env-changed=ARFLAGS
  ARFLAGS = None
  cargo:rerun-if-env-changed=HOST_ARFLAGS
  HOST_ARFLAGS = None
  cargo:rerun-if-env-changed=ARFLAGS_aarch64_apple_darwin
  ARFLAGS_aarch64_apple_darwin = None
  cargo:rerun-if-env-changed=ARFLAGS_aarch64-apple-darwin
  ARFLAGS_aarch64-apple-darwin = None
  cargo:rustc-link-lib=static=llvm-wrapper
  cargo:rustc-link-search=native=/Users/timch/rust/build/aarch64-apple-darwin/stage1-rustc/aarch64-apple-darwin/release/build/rustc_llvm-26137d926615811a/out
  cargo:rerun-if-env-changed=LLVM_LINK_SHARED
  cargo:rustc-link-lib=z

  --- stderr
  llvm-config: error: libLLVM-22-rust-1.95.0-nightly.dylib is missing

  thread 'main' (522367) panicked at compiler/rustc_llvm/build.rs:292:16:
  command did not execute successfully: "/Users/timch/rust/build/aarch64-apple-darwin/ci-llvm/bin/llvm-config" "--link-shared" "--libs" "--system-libs" "aarch64" "amdgpu" "arm" "asmparser" "avr" "bitreader" "bitwriter" "bpf" "coverage" "csky" "hexagon" "instrumentation" "ipo" "linker" "loongarch" "lto" "m68k" "mips" "msp430" "nvptx" "powerpc" "riscv" "sparc" "systemz" "webassembly" "x86" "xtensa"
  expected success, got: exit status: 1
  stack backtrace:
     0: __rustc::rust_begin_unwind
               at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panicking.rs:689:5
     1: core::panicking::panic_fmt
               at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/core/src/panicking.rs:80:14
     2: output
               at ./build.rs:98:9
     3: main
               at ./build.rs:292:16
     4: call_once<fn(), ()>
               at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/core/src/ops/function.rs:250:5
  note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
warning: build failed, waiting for other jobs to finish...
command did not execute successfully: cd "/Users/timch/rust" && env -u MAKEFLAGS AR_aarch64_apple_darwin="ar" CARGO_BUILD_BUILD_DIR="/Users/timch/rust/build/aarch64-apple-darwin/stage1-rustc" CARGO_BUILD_WARNINGS="deny" CARGO_INCREMENTAL="1" CARGO_PROFILE_RELEASE_DEBUG="line-tables-only" CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS="true" CARGO_PROFILE_RELEASE_OVERFLOW_CHECKS="false" CARGO_PROFILE_RELEASE_STRIP="false" CARGO_TARGET_DIR="/Users/timch/rust/build/aarch64-apple-darwin/stage1-rustc" CC_aarch64_apple_darwin="cc" CFG_COMPILER_BUILD_TRIPLE="aarch64-apple-darwin" CFG_COMPILER_HOST_TRIPLE="aarch64-apple-darwin" CFG_DEFAULT_CODEGEN_BACKEND="llvm" CFG_LIBDIR_RELATIVE="lib" CFG_OMIT_GIT_HASH="1" CFG_RELEASE="1.95.0-dev" CFG_RELEASE_CHANNEL="dev" CFG_VERSION="1.95.0-dev" CFLAGS_aarch64_apple_darwin="" CXXFLAGS_aarch64_apple_darwin="-stdlib=libc++" CXX_aarch64_apple_darwin="c++" LIBC_CHECK_CFG="1" LLVM_CONFIG="/Users/timch/rust/build/aarch64-apple-darwin/ci-llvm/bin/llvm-config" LLVM_LINK_SHARED="1" LLVM_RUSTLLVM="1" RANLIB_aarch64_apple_darwin="ar s" REAL_LIBRARY_PATH_VAR="DYLD_LIBRARY_PATH" RUSTBUILD_NATIVE_DIR="/Users/timch/rust/build/aarch64-apple-darwin/native" RUSTC="/Users/timch/rust/build/bootstrap/debug/rustc" RUSTC_BACKTRACE_ON_ICE="1" RUSTC_BOOTSTRAP="1" RUSTC_BREAK_ON_ICE="1" RUSTC_ERROR_METADATA_DST="/Users/timch/rust/build/tmp/extended-error-metadata" RUSTC_FORCE_UNSTABLE="1" RUSTC_HOST_FLAGS="--check-cfg=cfg(bootstrap) --cfg=bootstrap" RUSTC_INSTALL_BINDIR="bin" RUSTC_LIBDIR="/Users/timch/rust/build/aarch64-apple-darwin/stage0/lib" RUSTC_LINK_STD_INTO_RUSTC_DRIVER="1" RUSTC_LINT_FLAGS="-Wrust_2018_idioms -Wunused_lifetimes -Wrustc::internal -Drustc::symbol_intern_string_literal -Wkeyword_idents_2024 -Wunreachable_pub -Wunsafe_op_in_unsafe_fn -Wunused_crate_dependencies" RUSTC_REAL="/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/rustc" RUSTC_SNAPSHOT="/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/rustc" RUSTC_SNAPSHOT_LIBDIR="/Users/timch/rust/build/aarch64-apple-darwin/stage0/lib" RUSTC_STAGE="0" RUSTC_SYSROOT="/Users/timch/rust/build/aarch64-apple-darwin/stage0-sysroot" RUSTC_TLS_MODEL_INITIAL_EXEC="1" RUSTC_VERBOSE="1" RUSTC_WRAPPER="/Users/timch/rust/build/bootstrap/debug/rustc" RUSTDOC="/Users/timch/rust/build/bootstrap/debug/rustdoc" RUSTDOCFLAGS="--cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options --check-cfg=cfg(bootstrap) -Wrustdoc::invalid_codeblock_attributes --crate-version 1.95.0-dev -Zcrate-attr=warn(rust_2018_idioms) --cfg=bootstrap" RUSTDOC_LIBDIR="/Users/timch/rust/build/aarch64-apple-darwin/stage0/lib" RUSTDOC_REAL="/path/to/nowhere/rustdoc/not/required" RUSTFLAGS="--cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options --check-cfg=cfg(bootstrap) -Zmacro-backtrace -Csplit-debuginfo=unpacked -Cforce-frame-pointers=true -Cllvm-args=-import-instr-limit=10 -Zosx-rpath-install-name -Clink-args=-Wl,-rpath,@loader_path/../lib -Zon-broken-pipe=kill -Clto=off --cfg=bootstrap" RUST_TEST_THREADS="10" __CARGO_DEFAULT_LIB_METADATA="bootstrap1.95.0" "/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/cargo" "build" "-Zwarnings" "--target" "aarch64-apple-darwin" "-Zbinary-dep-depinfo" "-j" "10" "-Zroot-dir=/Users/timch/rust" "--profile=release" "--features" "llvm" "--manifest-path" "/Users/timch/rust/compiler/rustc/Cargo.toml" "--message-format" "json-render-diagnostics" (failure_mode=Exit)
expected success, got: exit status: 101
Traceback (most recent call last):
  File "/Users/timch/rust/x.py", line 53, in <module>
    bootstrap.main()
    ~~~~~~~~~~~~~~^^
  File "/Users/timch/rust/src/bootstrap/bootstrap.py", line 1413, in main
    bootstrap(args)
    ~~~~~~~~~^^^^^^
  File "/Users/timch/rust/src/bootstrap/bootstrap.py", line 1371, in bootstrap
    run(args, env=env, verbose=build.verbose, is_bootstrap=True)
    ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/timch/rust/src/bootstrap/bootstrap.py", line 237, in run
    raise RuntimeError(err)
RuntimeError: failed to run: /Users/timch/rust/build/bootstrap/debug/bootstrap build -v

Activity

  1. added
    T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
    C-bugCategory: This is a bug.
    on Feb 26, 2026
  2. added
    needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
    on Feb 26, 2026
  3. Kivooeo commented on Feb 26, 2026

    @Kivooeo
    Member

    Yep, I have a macOS Sequoia 15.6 and can confirm it

  4. added
    P-highHigh priority
    and removed
    needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
    on Feb 26, 2026
  5. RalfJung commented on Feb 26, 2026

    @RalfJung
    Member

    Yep, I have a macOS Sequoia 15.6 and can confirm it

    As in, it's already broken 2 weeks ago?
    But surely if building rustc main on macOS was entirely broken or 2 weeks we'd have heard about it. So there must be something specific to your setup that breaks it?

  6. Kivooeo commented on Feb 26, 2026

    @Kivooeo
    Member

    I tried it first time today, before this I was working only in dev desktop

    As for setup I just cloned https://github.com/rust-lang/rust and ran ./x b

  7. Kivooeo commented on Feb 26, 2026

    @Kivooeo
    Member

    if building rustc main on macOS was entirely broken or 2 weeks we'd have heard about it.

    but yeah, I agree with this, it's odd

  8. jieyouxu commented on Feb 26, 2026

    @jieyouxu
    Member

    I'm trying locally on aarch64 macos against 69b7853

  9. jieyouxu commented on Feb 26, 2026

    @jieyouxu
    Member

    I can reproduce with a compiler profile (arm64 macOS 26.2), no download-ci-rustc.

      --- stderr
      llvm-config: error: libLLVM-22-rust-1.95.0-nightly.dylib is missing
    

    Trying an slightly older commit.

    UPD:

  10. added and removed
    P-highHigh priority
    on Feb 26, 2026
  11. 10 remaining items

  12. added a commit that references this issue on Feb 27, 2026
  13. self-assigned this
    on Feb 27, 2026
  14. added 2 commits that reference this issue on Feb 27, 2026
  15. added a commit that references this issue on Feb 28, 2026
  16. madsmtm commented on Feb 28, 2026

    @madsmtm
    Member

    Seems to be fixed by #153179, cache-busting LLVM did the trick.

    Thanks @jieyouxu!

  17. theemathas commented on Mar 26, 2026

    @theemathas
    ContributorAuthor

    This error came back again, except now it talks about llvm-config: error: libLLVM-22-rust-1.96.0-nightly.dylib is missing (1.96 instead of 1.95).

    HEAD commit: 1174f78

    Build Log

    Building bootstrap
    running: /Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/cargo build --jobs=default --manifest-path /Users/timch/rust/src/bootstrap/Cargo.toml -Zroot-dir=/Users/timch/rust -Zwarnings
        Finished `dev` profile [unoptimized] target(s) in 0.07s
    running: /Users/timch/rust/build/bootstrap/debug/bootstrap build -v
    running: "git" "rev-parse" "--show-cdup" (failure_mode=Ignore) (created at src/bootstrap/src/core/config/config.rs:1950:23, executed at src/bootstrap/src/core/config/config.rs:1960:42)
    running: cd "/Users/timch/rust" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "rev-parse" (failure_mode=Ignore) (created at src/bootstrap/src/utils/channel.rs:47:31, executed at src/bootstrap/src/utils/channel.rs:49:50)
    running: cd "/Users/timch/rust" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src/bootstrap/src/utils/channel.rs:63:31, executed at src/bootstrap/src/utils/channel.rs:70:14)
    running: cd "/Users/timch/rust" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src/bootstrap/src/utils/channel.rs:72:32, executed at src/bootstrap/src/utils/channel.rs:77:14)
    running: cd "/Users/timch/rust" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src/bootstrap/src/utils/channel.rs:79:38, executed at src/bootstrap/src/utils/channel.rs:85:14)
    downloading stage0 beta artifacts
    running: "/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/rustc" "--print" "sysroot" (failure_mode=Exit) (created at src/bootstrap/src/core/config/config.rs:766:13, executed at src/bootstrap/src/core/config/config.rs:769:18)
    downloading stage0 beta artifacts
    Cache hit: cd "/Users/timch/rust" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "rev-parse" (failure_mode=Ignore)
    running: "/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/rustc" "--print" "target-libdir" (failure_mode=Exit) (created at src/bootstrap/src/lib.rs:483:37, executed at src/bootstrap/src/lib.rs:486:14)
    running: "/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/rustc" "--version" "--verbose" (failure_mode=Exit) (created at src/bootstrap/src/lib.rs:591:37, executed at src/bootstrap/src/lib.rs:594:14)
    finding compilers
    CC_aarch64-apple-darwin = "cc"
    CFLAGS_aarch64-apple-darwin = ["-ffunction-sections", "-fdata-sections", "-fPIC", "--target=arm64-apple-macosx", "-mmacosx-version-min=26.2"]
    CXX_aarch64-apple-darwin = "c++"
    CXXFLAGS_aarch64-apple-darwin = ["-ffunction-sections", "-fdata-sections", "-fPIC", "--target=arm64-apple-macosx", "-mmacosx-version-min=26.2", "-stdlib=libc++"]
    AR_aarch64-apple-darwin = "ar"
    running sanity check
    running: "/Users/timch/rust/build/aarch64-apple-darwin/libcxx-version/libcxx-version" (failure_mode=Exit) (created at src/bootstrap/src/core/build_steps/tool.rs:1269:30, executed at src/bootstrap/src/core/build_steps/tool.rs:1269:50)
    running: "/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/rustc" "--print" "target-list" (failure_mode=Exit) (created at src/bootstrap/src/core/sanity.rs:205:57, executed at src/bootstrap/src/core/sanity.rs:208:10)
    running: cd "/Users/timch/rust/library/backtrace" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "rev-parse" (failure_mode=Ignore) (created at src/bootstrap/src/utils/channel.rs:47:31, executed at src/bootstrap/src/utils/channel.rs:49:50)
    running: cd "/Users/timch/rust/library/backtrace" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src/bootstrap/src/utils/channel.rs:63:31, executed at src/bootstrap/src/utils/channel.rs:70:14)
    running: cd "/Users/timch/rust/library/backtrace" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src/bootstrap/src/utils/channel.rs:72:32, executed at src/bootstrap/src/utils/channel.rs:77:14)
    running: cd "/Users/timch/rust/library/backtrace" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src/bootstrap/src/utils/channel.rs:79:38, executed at src/bootstrap/src/utils/channel.rs:85:14)
    Cache hit: cd "/Users/timch/rust/library/backtrace" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "rev-parse" "HEAD" (failure_mode=Exit)
    running: cd "/Users/timch/rust" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "ls-tree" "HEAD" "library/backtrace" (failure_mode=Exit) (created at src/bootstrap/src/core/config/config.rs:2425:20, executed at src/bootstrap/src/core/config/config.rs:2429:10)
    running: cd "/Users/timch/rust" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "config" "--file" ".gitmodules" "--get-regexp" "path" (failure_mode=Exit) (created at src/bootstrap/src/lib.rs:711:22, executed at src/bootstrap/src/lib.rs:715:14)
    running: cd "library/backtrace" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "rev-parse" (failure_mode=Ignore) (created at src/bootstrap/src/utils/channel.rs:47:31, executed at src/bootstrap/src/utils/channel.rs:49:50)
    running: cd "library/backtrace" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src/bootstrap/src/utils/channel.rs:63:31, executed at src/bootstrap/src/utils/channel.rs:70:14)
    running: cd "library/backtrace" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src/bootstrap/src/utils/channel.rs:72:32, executed at src/bootstrap/src/utils/channel.rs:77:14)
    running: cd "library/backtrace" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src/bootstrap/src/utils/channel.rs:79:38, executed at src/bootstrap/src/utils/channel.rs:85:14)
    Cache hit: cd "/Users/timch/rust/library/backtrace" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "rev-parse" (failure_mode=Ignore)
    Cache hit: cd "/Users/timch/rust/library/backtrace" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit)
    Cache hit: cd "/Users/timch/rust/library/backtrace" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "rev-parse" "HEAD" (failure_mode=Exit)
    Cache hit: cd "/Users/timch/rust/library/backtrace" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit)
    Cache hit: cd "/Users/timch/rust/library/backtrace" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "rev-parse" "HEAD" (failure_mode=Exit)
    Cache hit: cd "/Users/timch/rust" && env -u GIT_ALTERNATE_OBJECT_DIRECTORIES -u GIT_DIR -u GIT_INDEX_FILE -u GIT_OBJECT_DIRECTORY -u GIT_WORK_TREE "git" "ls-tree" "HEAD" "library/backtrace" (failure_mode=Exit)
    learning about cargo
    running: RUSTC_BOOTSTRAP="1" "/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/cargo" "metadata" "--format-version" "1" "--no-deps" "--manifest-path" "/Users/timch/rust/Cargo.toml" (failure_mode=Exit) (created at src/bootstrap/src/core/metadata.rs:80:25, executed at src/bootstrap/src/core/metadata.rs:91:54)
    running: RUSTC_BOOTSTRAP="1" "/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/cargo" "metadata" "--format-version" "1" "--no-deps" "--manifest-path" "/Users/timch/rust/library/Cargo.toml" (failure_mode=Exit) (created at src/bootstrap/src/core/metadata.rs:80:25, executed at src/bootstrap/src/core/metadata.rs:91:54)
    Removing sysroot /Users/timch/rust/build/aarch64-apple-darwin/stage1 to avoid caching bugs
    LLVM freshness: LastModifiedUpstream { upstream: "80d0e4be6f15899649ba31669077c59a986f96cc" }
    Removing sysroot /Users/timch/rust/build/aarch64-apple-darwin/stage0-sysroot to avoid caching bugs
    running: "/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/rustc" "--print" "sysroot" (failure_mode=Exit) (created at src/bootstrap/src/lib.rs:1095:13, executed at src/bootstrap/src/lib.rs:1098:18)
    LLVM freshness: LastModifiedUpstream { upstream: "80d0e4be6f15899649ba31669077c59a986f96cc" }
    running: cd "/Users/timch/rust" && env -u MAKEFLAGS CARGO_BUILD_BUILD_DIR="/Users/timch/rust/build/aarch64-apple-darwin/stage1-rustc" CARGO_BUILD_WARNINGS="deny" CARGO_INCREMENTAL="1" CARGO_PROFILE_RELEASE_DEBUG="line-tables-only" CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS="true" CARGO_PROFILE_RELEASE_OVERFLOW_CHECKS="false" CARGO_PROFILE_RELEASE_STRIP="false" CARGO_TARGET_AARCH64_APPLE_DARWIN_LINKER="" CARGO_TARGET_DIR="/Users/timch/rust/build/aarch64-apple-darwin/stage1-rustc" CC_aarch64_apple_darwin="" CFG_COMPILER_BUILD_TRIPLE="aarch64-apple-darwin" CFG_COMPILER_HOST_TRIPLE="aarch64-apple-darwin" CFG_DEFAULT_CODEGEN_BACKEND="llvm" CFG_LIBDIR_RELATIVE="lib" CFG_OMIT_GIT_HASH="1" CFG_RELEASE="1.96.0-dev" CFG_RELEASE_CHANNEL="dev" CFG_VERSION="1.96.0-dev" CFLAGS_aarch64_apple_darwin="" CXXFLAGS_aarch64_apple_darwin="-stdlib=libc++" CXX_aarch64_apple_darwin="" LIBC_CHECK_CFG="1" LLVM_CONFIG="/Users/timch/rust/build/aarch64-apple-darwin/ci-llvm/bin/llvm-config" LLVM_RUSTLLVM="1" REAL_LIBRARY_PATH_VAR="DYLD_LIBRARY_PATH" RUSTBUILD_NATIVE_DIR="/Users/timch/rust/build/aarch64-apple-darwin/native" RUSTC="/Users/timch/rust/build/bootstrap/debug/rustc" RUSTC_BACKTRACE_ON_ICE="1" RUSTC_BOOTSTRAP="1" RUSTC_BREAK_ON_ICE="1" RUSTC_ERROR_METADATA_DST="/Users/timch/rust/build/tmp/extended-error-metadata" RUSTC_FORCE_UNSTABLE="1" RUSTC_HOST_FLAGS="--check-cfg=cfg(bootstrap) --cfg=bootstrap" RUSTC_INSTALL_BINDIR="bin" RUSTC_LIBDIR="/Users/timch/rust/build/aarch64-apple-darwin/stage0/lib" RUSTC_LINK_STD_INTO_RUSTC_DRIVER="1" RUSTC_LINT_FLAGS="-Wrust_2018_idioms -Wunused_lifetimes -Wrustc::internal -Drustc::symbol_intern_string_literal -Wkeyword_idents_2024 -Wunreachable_pub -Wunsafe_op_in_unsafe_fn -Wunused_crate_dependencies" RUSTC_REAL="/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/rustc" RUSTC_SNAPSHOT="/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/rustc" RUSTC_SNAPSHOT_LIBDIR="/Users/timch/rust/build/aarch64-apple-darwin/stage0/lib" RUSTC_STAGE="0" RUSTC_SYSROOT="/Users/timch/rust/build/aarch64-apple-darwin/stage0-sysroot" RUSTC_TLS_MODEL_INITIAL_EXEC="1" RUSTC_VERBOSE="1" RUSTC_WRAPPER="/Users/timch/rust/build/bootstrap/debug/rustc" RUSTDOC="/Users/timch/rust/build/bootstrap/debug/rustdoc" RUSTDOCFLAGS="--cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options --check-cfg=cfg(bootstrap) -Wrustdoc::invalid_codeblock_attributes --crate-version 1.96.0-dev -Zcrate-attr=warn(rust_2018_idioms) --cfg=bootstrap" RUSTDOC_LIBDIR="/Users/timch/rust/build/aarch64-apple-darwin/stage0/lib" RUSTDOC_REAL="/path/to/nowhere/rustdoc/not/required" RUSTFLAGS="--cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options --check-cfg=cfg(bootstrap) -Zmacro-backtrace -Csplit-debuginfo=unpacked -Cforce-frame-pointers=true -Cllvm-args=-import-instr-limit=10 -Zosx-rpath-install-name -Clink-args=-Wl,-rpath,@loader_path/../lib -Zon-broken-pipe=kill -Clto=off --cfg=bootstrap" RUST_TEST_THREADS="10" __CARGO_DEFAULT_LIB_METADATA="bootstrap1.96.0" "/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/cargo" "build" "-Zwarnings" "--target" "aarch64-apple-darwin" "-Zbinary-dep-depinfo" "-j" "10" "-Zroot-dir=/Users/timch/rust" "--profile=release" "--features" "llvm" "--manifest-path" "/Users/timch/rust/compiler/rustc/Cargo.toml" "--message-format" "json-render-diagnostics" (failure_mode=Exit)
    running: cd "/Users/timch/rust" && env -u MAKEFLAGS CARGO_BUILD_BUILD_DIR="/Users/timch/rust/build/aarch64-apple-darwin/stage1-std" CARGO_BUILD_WARNINGS="deny" CARGO_INCREMENTAL="0" CARGO_PROFILE_DIST_DEBUG="line-tables-only" CARGO_PROFILE_DIST_DEBUG_ASSERTIONS="true" CARGO_PROFILE_DIST_OVERFLOW_CHECKS="false" CARGO_PROFILE_DIST_STRIP="false" CARGO_TARGET_AARCH64_APPLE_DARWIN_LINKER="" CARGO_TARGET_DIR="/Users/timch/rust/build/aarch64-apple-darwin/stage1-std" CC_aarch64_apple_darwin="" CFG_COMPILER_BUILD_TRIPLE="aarch64-apple-darwin" CFG_RELEASE_CHANNEL="dev" CFLAGS_aarch64_apple_darwin="" CXXFLAGS_aarch64_apple_darwin="-stdlib=libc++" CXX_aarch64_apple_darwin="" LIBC_CHECK_CFG="1" REAL_LIBRARY_PATH_VAR="DYLD_LIBRARY_PATH" RUSTBUILD_NATIVE_DIR="/Users/timch/rust/build/aarch64-apple-darwin/native" RUSTC="/Users/timch/rust/build/bootstrap/debug/rustc" RUSTC_BACKTRACE_ON_ICE="1" RUSTC_BOOTSTRAP="1" RUSTC_BREAK_ON_ICE="1" RUSTC_ERROR_METADATA_DST="/Users/timch/rust/build/tmp/extended-error-metadata" RUSTC_FORCE_UNSTABLE="1" RUSTC_INSTALL_BINDIR="bin" RUSTC_LIBDIR="/Users/timch/rust/build/aarch64-apple-darwin/stage1/lib" RUSTC_LINK_STD_INTO_RUSTC_DRIVER="1" RUSTC_LINT_FLAGS="-Wrust_2018_idioms -Wunused_lifetimes" RUSTC_REAL="/Users/timch/rust/build/aarch64-apple-darwin/stage1/bin/rustc" RUSTC_SNAPSHOT="/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/rustc" RUSTC_SNAPSHOT_LIBDIR="/Users/timch/rust/build/aarch64-apple-darwin/stage0/lib" RUSTC_STAGE="1" RUSTC_SYSROOT="/Users/timch/rust/build/aarch64-apple-darwin/stage1" RUSTC_VERBOSE="1" RUSTC_WRAPPER="/Users/timch/rust/build/bootstrap/debug/rustc" RUSTDOC="/Users/timch/rust/build/bootstrap/debug/rustdoc" RUSTDOCFLAGS="-Zannotate-moves --check-cfg=cfg(feature,values(any())) -Zunstable-options -Wrustdoc::invalid_codeblock_attributes --crate-version 1.96.0-dev -Zcrate-attr=doc(html_root_url=\"https://doc.rust-lang.org/nightly/\") -Zcrate-attr=warn(rust_2018_idioms)" RUSTDOC_LIBDIR="/Users/timch/rust/build/aarch64-apple-darwin/stage1/lib" RUSTDOC_REAL="/path/to/nowhere/rustdoc/not/required" RUSTFLAGS="-Zannotate-moves --check-cfg=cfg(feature,values(any())) -Zunstable-options -Zmacro-backtrace -Csplit-debuginfo=unpacked -Cforce-frame-pointers=true -Cprefer-dynamic -Cllvm-args=-import-instr-limit=10 -Zinline-mir -Zinline-mir-preserve-debug -Zmir_strip_debuginfo=locals-in-tiny-functions -Zosx-rpath-install-name -Clink-args=-Wl,-rpath,@loader_path/../lib -Clto=off -Zcrate-attr=doc(html_root_url=\"https://doc.rust-lang.org/nightly/\")" RUST_TEST_THREADS="10" __CARGO_DEFAULT_LIB_METADATA="devstd1.96.0" "/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/cargo" "build" "-Zwarnings" "--target" "aarch64-apple-darwin" "-Zbinary-dep-depinfo" "-j" "10" "-Zroot-dir=/Users/timch/rust" "-Zno-embed-metadata" "--profile=dist" "-p" "alloc" "-p" "compiler_builtins" "-p" "core" "-p" "panic_abort" "-p" "panic_unwind" "-p" "proc_macro" "-p" "rustc-std-workspace-core" "-p" "std" "-p" "std_detect" "-p" "sysroot" "-p" "test" "-p" "unwind" "--features" "backtrace panic-unwind" "--manifest-path" "/Users/timch/rust/library/sysroot/Cargo.toml" "--message-format" "json-render-diagnostics" (failure_mode=Exit)
    running: cd "/Users/timch/rust" && env -u MAKEFLAGS CARGO_BUILD_BUILD_DIR="/Users/timch/rust/build/aarch64-apple-darwin/stage1-tools" CARGO_BUILD_WARNINGS="deny" CARGO_INCREMENTAL="1" CARGO_PROFILE_RELEASE_DEBUG="line-tables-only" CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS="true" CARGO_PROFILE_RELEASE_OVERFLOW_CHECKS="false" CARGO_PROFILE_RELEASE_STRIP="false" CARGO_TARGET_AARCH64_APPLE_DARWIN_LINKER="" CARGO_TARGET_DIR="/Users/timch/rust/build/aarch64-apple-darwin/stage1-tools" CC_aarch64_apple_darwin="" CFG_COMPILER_BUILD_TRIPLE="aarch64-apple-darwin" CFG_RELEASE="1.96.0-dev" CFG_RELEASE_CHANNEL="dev" CFG_RELEASE_NUM="1.96.0" CFG_VERSION="1.96.0-dev" CFLAGS_aarch64_apple_darwin="" CXXFLAGS_aarch64_apple_darwin="-stdlib=libc++" CXX_aarch64_apple_darwin="" DOC_RUST_LANG_ORG_CHANNEL="https://doc.rust-lang.org/nightly" FORCE_ON_BROKEN_PIPE_KILL="-Zon-broken-pipe=kill" LIBC_CHECK_CFG="1" LZMA_API_STATIC="1" REAL_LIBRARY_PATH_VAR="DYLD_LIBRARY_PATH" RUSTBUILD_NATIVE_DIR="/Users/timch/rust/build/aarch64-apple-darwin/native" RUSTC="/Users/timch/rust/build/bootstrap/debug/rustc" RUSTC_BACKTRACE_ON_ICE="1" RUSTC_BOOTSTRAP="1" RUSTC_BREAK_ON_ICE="1" RUSTC_ERROR_METADATA_DST="/Users/timch/rust/build/tmp/extended-error-metadata" RUSTC_HOST_FLAGS="--check-cfg=cfg(bootstrap) --cfg=bootstrap" RUSTC_INSTALL_BINDIR="bin" RUSTC_LIBDIR="/Users/timch/rust/build/aarch64-apple-darwin/stage0/lib" RUSTC_LINK_STD_INTO_RUSTC_DRIVER="1" RUSTC_LINT_FLAGS="-Wrust_2018_idioms -Wunused_lifetimes" RUSTC_REAL="/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/rustc" RUSTC_SNAPSHOT="/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/rustc" RUSTC_SNAPSHOT_LIBDIR="/Users/timch/rust/build/aarch64-apple-darwin/stage0/lib" RUSTC_STAGE="0" RUSTC_SYSROOT="/Users/timch/rust/build/aarch64-apple-darwin/stage0-sysroot" RUSTC_TLS_MODEL_INITIAL_EXEC="1" RUSTC_VERBOSE="1" RUSTC_WRAPPER="/Users/timch/rust/build/bootstrap/debug/rustc" RUSTDOC="/Users/timch/rust/build/bootstrap/debug/rustdoc" RUSTDOCFLAGS="--cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options --check-cfg=cfg(bootstrap) --check-cfg=cfg(rust_analyzer) -Wrustdoc::invalid_codeblock_attributes --crate-version 1.96.0-dev --cfg=bootstrap" RUSTDOC_LIBDIR="/Users/timch/rust/build/aarch64-apple-darwin/stage0/lib" RUSTDOC_REAL="/path/to/nowhere/rustdoc/not/required" RUSTFLAGS="--cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options --check-cfg=cfg(bootstrap) --check-cfg=cfg(rust_analyzer) -Zmacro-backtrace -Csplit-debuginfo=unpacked -Cforce-frame-pointers=true -Cllvm-args=-import-instr-limit=10 -Zosx-rpath-install-name -Clink-args=-Wl,-rpath,@loader_path/../lib -Zunstable-options --cfg=bootstrap" RUST_TEST_THREADS="10" SYSROOT="/Users/timch/rust/build/aarch64-apple-darwin/stage0-sysroot" __CARGO_DEFAULT_LIB_METADATA="bootstraptool-rustc1.96.0" "/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/cargo" "build" "-Zwarnings" "--target" "aarch64-apple-darwin" "-Zbinary-dep-depinfo" "-j" "10" "-Zroot-dir=/Users/timch/rust" "--profile=release" "--manifest-path" "/Users/timch/rust/src/tools/rustdoc/Cargo.toml" "--message-format" "json-render-diagnostics" (failure_mode=Exit)
    Removing sysroot /Users/timch/rust/build/aarch64-apple-darwin/stage1 to avoid caching bugs
    Removing sysroot /Users/timch/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/aarch64-apple-darwin/lib to avoid caching bugs
    LLVM freshness: LastModifiedUpstream { upstream: "80d0e4be6f15899649ba31669077c59a986f96cc" }
    running: "/Users/timch/rust/build/aarch64-apple-darwin/ci-llvm/bin/llvm-config" "--version" (failure_mode=Exit) (created at src/bootstrap/src/core/build_steps/llvm.rs:611:5, executed at src/bootstrap/src/core/build_steps/llvm.rs:614:10)
    running: "/Users/timch/rust/build/aarch64-apple-darwin/ci-llvm/bin/llvm-config" "--bindir" (failure_mode=Exit) (created at src/bootstrap/src/core/build_steps/compile.rs:2139:41, executed at src/bootstrap/src/core/build_steps/compile.rs:2142:22)
    /Users/timch/rust/build/aarch64-apple-darwin/ci-llvm/bin/llvm-strip does not exist; skipping copy
    Removing sysroot /Users/timch/rust/build/aarch64-apple-darwin/stage0-sysroot to avoid caching bugs
    LLVM freshness: LastModifiedUpstream { upstream: "80d0e4be6f15899649ba31669077c59a986f96cc" }
    Removing sysroot /Users/timch/rust/build/aarch64-apple-darwin/stage0-sysroot/lib/rustlib/aarch64-apple-darwin/lib to avoid caching bugs
    using sysroot /Users/timch/rust/build/aarch64-apple-darwin/stage0-sysroot
    LLVM freshness: LastModifiedUpstream { upstream: "80d0e4be6f15899649ba31669077c59a986f96cc" }
    Cache hit: "/Users/timch/rust/build/aarch64-apple-darwin/ci-llvm/bin/llvm-config" "--version" (failure_mode=Exit)
    Building stage1 compiler artifacts (stage0 -> stage1, aarch64-apple-darwin)
    running: cd "/Users/timch/rust" && env -u MAKEFLAGS AR_aarch64_apple_darwin="ar" CARGO_BUILD_BUILD_DIR="/Users/timch/rust/build/aarch64-apple-darwin/stage1-rustc" CARGO_BUILD_WARNINGS="deny" CARGO_INCREMENTAL="1" CARGO_PROFILE_RELEASE_DEBUG="line-tables-only" CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS="true" CARGO_PROFILE_RELEASE_OVERFLOW_CHECKS="false" CARGO_PROFILE_RELEASE_STRIP="false" CARGO_TARGET_DIR="/Users/timch/rust/build/aarch64-apple-darwin/stage1-rustc" CC_aarch64_apple_darwin="cc" CFG_COMPILER_BUILD_TRIPLE="aarch64-apple-darwin" CFG_COMPILER_HOST_TRIPLE="aarch64-apple-darwin" CFG_DEFAULT_CODEGEN_BACKEND="llvm" CFG_LIBDIR_RELATIVE="lib" CFG_OMIT_GIT_HASH="1" CFG_RELEASE="1.96.0-dev" CFG_RELEASE_CHANNEL="dev" CFG_VERSION="1.96.0-dev" CFLAGS_aarch64_apple_darwin="" CXXFLAGS_aarch64_apple_darwin="-stdlib=libc++" CXX_aarch64_apple_darwin="c++" LIBC_CHECK_CFG="1" LLVM_CONFIG="/Users/timch/rust/build/aarch64-apple-darwin/ci-llvm/bin/llvm-config" LLVM_LINK_SHARED="1" LLVM_RUSTLLVM="1" RANLIB_aarch64_apple_darwin="ar s" REAL_LIBRARY_PATH_VAR="DYLD_LIBRARY_PATH" RUSTBUILD_NATIVE_DIR="/Users/timch/rust/build/aarch64-apple-darwin/native" RUSTC="/Users/timch/rust/build/bootstrap/debug/rustc" RUSTC_BACKTRACE_ON_ICE="1" RUSTC_BOOTSTRAP="1" RUSTC_BREAK_ON_ICE="1" RUSTC_ERROR_METADATA_DST="/Users/timch/rust/build/tmp/extended-error-metadata" RUSTC_FORCE_UNSTABLE="1" RUSTC_HOST_FLAGS="--check-cfg=cfg(bootstrap) --cfg=bootstrap" RUSTC_INSTALL_BINDIR="bin" RUSTC_LIBDIR="/Users/timch/rust/build/aarch64-apple-darwin/stage0/lib" RUSTC_LINK_STD_INTO_RUSTC_DRIVER="1" RUSTC_LINT_FLAGS="-Wrust_2018_idioms -Wunused_lifetimes -Wrustc::internal -Drustc::symbol_intern_string_literal -Wkeyword_idents_2024 -Wunreachable_pub -Wunsafe_op_in_unsafe_fn -Wunused_crate_dependencies" RUSTC_REAL="/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/rustc" RUSTC_SNAPSHOT="/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/rustc" RUSTC_SNAPSHOT_LIBDIR="/Users/timch/rust/build/aarch64-apple-darwin/stage0/lib" RUSTC_STAGE="0" RUSTC_SYSROOT="/Users/timch/rust/build/aarch64-apple-darwin/stage0-sysroot" RUSTC_TLS_MODEL_INITIAL_EXEC="1" RUSTC_VERBOSE="1" RUSTC_WRAPPER="/Users/timch/rust/build/bootstrap/debug/rustc" RUSTDOC="/Users/timch/rust/build/bootstrap/debug/rustdoc" RUSTDOCFLAGS="--cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options --check-cfg=cfg(bootstrap) -Wrustdoc::invalid_codeblock_attributes --crate-version 1.96.0-dev -Zcrate-attr=warn(rust_2018_idioms) --cfg=bootstrap" RUSTDOC_LIBDIR="/Users/timch/rust/build/aarch64-apple-darwin/stage0/lib" RUSTDOC_REAL="/path/to/nowhere/rustdoc/not/required" RUSTFLAGS="--cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options --check-cfg=cfg(bootstrap) -Zmacro-backtrace -Csplit-debuginfo=unpacked -Cforce-frame-pointers=true -Cllvm-args=-import-instr-limit=10 -Zosx-rpath-install-name -Clink-args=-Wl,-rpath,@loader_path/../lib -Zon-broken-pipe=kill -Clto=off --cfg=bootstrap" RUST_TEST_THREADS="10" __CARGO_DEFAULT_LIB_METADATA="bootstrap1.96.0" "/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/cargo" "build" "-Zwarnings" "--target" "aarch64-apple-darwin" "-Zbinary-dep-depinfo" "-j" "10" "-Zroot-dir=/Users/timch/rust" "--profile=release" "--features" "llvm" "--manifest-path" "/Users/timch/rust/compiler/rustc/Cargo.toml" "--message-format" "json-render-diagnostics" (failure_mode=Exit)
       Compiling rustc_llvm v0.0.0 (/Users/timch/rust/compiler/rustc_llvm)
       Compiling rustc_ty_utils v0.0.0 (/Users/timch/rust/compiler/rustc_ty_utils)
       Compiling rustc_lint v0.0.0 (/Users/timch/rust/compiler/rustc_lint)
       Compiling rustc_metadata v0.0.0 (/Users/timch/rust/compiler/rustc_metadata)
       Compiling rustc_sanitizers v0.0.0 (/Users/timch/rust/compiler/rustc_sanitizers)
       Compiling rustc_traits v0.0.0 (/Users/timch/rust/compiler/rustc_traits)
       Compiling rustc_const_eval v0.0.0 (/Users/timch/rust/compiler/rustc_const_eval)
       Compiling rustc_mir_build v0.0.0 (/Users/timch/rust/compiler/rustc_mir_build)
       Compiling rustc_builtin_macros v0.0.0 (/Users/timch/rust/compiler/rustc_builtin_macros)
       Compiling rustc_borrowck v0.0.0 (/Users/timch/rust/compiler/rustc_borrowck)
       Compiling rustc_codegen_ssa v0.0.0 (/Users/timch/rust/compiler/rustc_codegen_ssa)
    error: failed to run custom build command for `rustc_llvm v0.0.0 (/Users/timch/rust/compiler/rustc_llvm)`
    
    Caused by:
      process didn't exit successfully: `/Users/timch/rust/build/aarch64-apple-darwin/stage1-rustc/release/build/rustc_llvm-8e62beee65179d73/build-script-build` (exit status: 101)
      --- stdout
      cargo:rustc-check-cfg=cfg(llvm_component,values("ipo"))
      cargo:rustc-check-cfg=cfg(llvm_component,values("bitreader"))
      cargo:rustc-check-cfg=cfg(llvm_component,values("bitwriter"))
      cargo:rustc-check-cfg=cfg(llvm_component,values("linker"))
      cargo:rustc-check-cfg=cfg(llvm_component,values("asmparser"))
      cargo:rustc-check-cfg=cfg(llvm_component,values("lto"))
      cargo:rustc-check-cfg=cfg(llvm_component,values("coverage"))
      cargo:rustc-check-cfg=cfg(llvm_component,values("instrumentation"))
      cargo:rustc-check-cfg=cfg(llvm_component,values("x86"))
      cargo:rustc-check-cfg=cfg(llvm_component,values("arm"))
      cargo:rustc-check-cfg=cfg(llvm_component,values("aarch64"))
      cargo:rustc-check-cfg=cfg(llvm_component,values("amdgpu"))
      cargo:rustc-check-cfg=cfg(llvm_component,values("avr"))
      cargo:rustc-check-cfg=cfg(llvm_component,values("loongarch"))
      cargo:rustc-check-cfg=cfg(llvm_component,values("m68k"))
      cargo:rustc-check-cfg=cfg(llvm_component,values("csky"))
      cargo:rustc-check-cfg=cfg(llvm_component,values("mips"))
      cargo:rustc-check-cfg=cfg(llvm_component,values("powerpc"))
      cargo:rustc-check-cfg=cfg(llvm_component,values("systemz"))
      cargo:rustc-check-cfg=cfg(llvm_component,values("webassembly"))
      cargo:rustc-check-cfg=cfg(llvm_component,values("msp430"))
      cargo:rustc-check-cfg=cfg(llvm_component,values("sparc"))
      cargo:rustc-check-cfg=cfg(llvm_component,values("nvptx"))
      cargo:rustc-check-cfg=cfg(llvm_component,values("hexagon"))
      cargo:rustc-check-cfg=cfg(llvm_component,values("riscv"))
      cargo:rustc-check-cfg=cfg(llvm_component,values("xtensa"))
      cargo:rustc-check-cfg=cfg(llvm_component,values("bpf"))
      cargo:rerun-if-env-changed=RUST_CHECK
      cargo:rerun-if-env-changed=REAL_LIBRARY_PATH_VAR
      cargo:rerun-if-env-changed=REAL_LIBRARY_PATH
      cargo:rerun-if-env-changed=LLVM_CONFIG
      cargo:rerun-if-changed=/Users/timch/rust/build/aarch64-apple-darwin/ci-llvm/bin/llvm-config
      cargo:rustc-cfg=llvm_component="aarch64"
      cargo:rustc-cfg=llvm_component="amdgpu"
      cargo:rustc-cfg=llvm_component="arm"
      cargo:rustc-cfg=llvm_component="asmparser"
      cargo:rustc-cfg=llvm_component="avr"
      cargo:rustc-cfg=llvm_component="bitreader"
      cargo:rustc-cfg=llvm_component="bitwriter"
      cargo:rustc-cfg=llvm_component="bpf"
      cargo:rustc-cfg=llvm_component="coverage"
      cargo:rustc-cfg=llvm_component="csky"
      cargo:rustc-cfg=llvm_component="hexagon"
      cargo:rustc-cfg=llvm_component="instrumentation"
      cargo:rustc-cfg=llvm_component="ipo"
      cargo:rustc-cfg=llvm_component="linker"
      cargo:rustc-cfg=llvm_component="loongarch"
      cargo:rustc-cfg=llvm_component="lto"
      cargo:rustc-cfg=llvm_component="m68k"
      cargo:rustc-cfg=llvm_component="mips"
      cargo:rustc-cfg=llvm_component="msp430"
      cargo:rustc-cfg=llvm_component="nvptx"
      cargo:rustc-cfg=llvm_component="powerpc"
      cargo:rustc-cfg=llvm_component="riscv"
      cargo:rustc-cfg=llvm_component="sparc"
      cargo:rustc-cfg=llvm_component="systemz"
      cargo:rustc-cfg=llvm_component="webassembly"
      cargo:rustc-cfg=llvm_component="x86"
      cargo:rustc-cfg=llvm_component="xtensa"
      cargo:rerun-if-env-changed=LLVM_ENZYME
      cargo:rerun-if-env-changed=LLVM_OFFLOAD
      cargo:rerun-if-env-changed=LLVM_RUSTLLVM
      cargo:rerun-if-env-changed=LLVM_ASSERTIONS
      cargo:rerun-if-changed=llvm-wrapper/CoverageMappingWrapper.cpp
      cargo:rerun-if-changed=llvm-wrapper/SymbolWrapper.cpp
      cargo:rerun-if-changed=llvm-wrapper/PassWrapper.cpp
      cargo:rerun-if-changed=llvm-wrapper/.editorconfig
      cargo:rerun-if-changed=llvm-wrapper/README
      cargo:rerun-if-changed=llvm-wrapper/RustWrapper.cpp
      cargo:rerun-if-changed=llvm-wrapper/Linker.cpp
      cargo:rerun-if-changed=llvm-wrapper/SuppressLLVMWarnings.h
      cargo:rerun-if-changed=llvm-wrapper/LLVMWrapper.h
      OUT_DIR = Some(/Users/timch/rust/build/aarch64-apple-darwin/stage1-rustc/aarch64-apple-darwin/release/build/rustc_llvm-54395567ece97de8/out)
      OPT_LEVEL = Some(3)
      TARGET = Some(aarch64-apple-darwin)
      HOST = Some(aarch64-apple-darwin)
      cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
      CXX_aarch64-apple-darwin = None
      cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
      CXX_aarch64_apple_darwin = Some(c++)
      cargo:rerun-if-env-changed=CC_KNOWN_WRAPPER_CUSTOM
      CC_KNOWN_WRAPPER_CUSTOM = None
      RUSTC_WRAPPER = Some(/Users/timch/rust/build/bootstrap/debug/rustc)
      cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
      cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
      CRATE_CC_NO_DEFAULTS = None
      DEBUG = Some(true)
      cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
      MACOSX_DEPLOYMENT_TARGET = None
      cargo:rerun-if-env-changed=CXXFLAGS
      CXXFLAGS = None
      cargo:rerun-if-env-changed=HOST_CXXFLAGS
      HOST_CXXFLAGS = None
      cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
      CXXFLAGS_aarch64_apple_darwin = Some(-stdlib=libc++)
      cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS
      CC_SHELL_ESCAPED_FLAGS = None
      cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
      CXXFLAGS_aarch64-apple-darwin = None
      CARGO_ENCODED_RUSTFLAGS = Some(--cfg=windows_raw_dylib-Csymbol-mangling-version=v0-Zunstable-options--check-cfg=cfg(bootstrap)-Zmacro-backtrace-Csplit-debuginfo=unpacked-Cforce-frame-pointers=true-Cllvm-args=-import-instr-limit=10-Zosx-rpath-install-name-Clink-args=-Wl,-rpath,@loader_path/../lib-Zon-broken-pipe=kill-Clto=off--cfg=bootstrap)
      OUT_DIR = Some(/Users/timch/rust/build/aarch64-apple-darwin/stage1-rustc/aarch64-apple-darwin/release/build/rustc_llvm-54395567ece97de8/out)
      cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
      cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
      CRATE_CC_NO_DEFAULTS = None
      TARGET = Some(aarch64-apple-darwin)
      cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
      MACOSX_DEPLOYMENT_TARGET = None
      HOST = Some(aarch64-apple-darwin)
      cargo:rerun-if-env-changed=CXXFLAGS
      CXXFLAGS = None
      cargo:rerun-if-env-changed=HOST_CXXFLAGS
      HOST_CXXFLAGS = None
      cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
      CXXFLAGS_aarch64_apple_darwin = Some(-stdlib=libc++)
      cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS
      CC_SHELL_ESCAPED_FLAGS = None
      cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
      CXXFLAGS_aarch64-apple-darwin = None
      cargo:rerun-if-env-changed=AR_aarch64-apple-darwin
      AR_aarch64-apple-darwin = None
      cargo:rerun-if-env-changed=AR_aarch64_apple_darwin
      AR_aarch64_apple_darwin = Some(ar)
      cargo:rerun-if-env-changed=ARFLAGS
      ARFLAGS = None
      cargo:rerun-if-env-changed=HOST_ARFLAGS
      HOST_ARFLAGS = None
      cargo:rerun-if-env-changed=ARFLAGS_aarch64_apple_darwin
      ARFLAGS_aarch64_apple_darwin = None
      cargo:rerun-if-env-changed=ARFLAGS_aarch64-apple-darwin
      ARFLAGS_aarch64-apple-darwin = None
      cargo:rustc-link-lib=static=llvm-wrapper
      cargo:rustc-link-search=native=/Users/timch/rust/build/aarch64-apple-darwin/stage1-rustc/aarch64-apple-darwin/release/build/rustc_llvm-54395567ece97de8/out
      cargo:rerun-if-env-changed=LLVM_LINK_SHARED
      cargo:rustc-link-lib=z
    
      --- stderr
      llvm-config: error: libLLVM-22-rust-1.96.0-nightly.dylib is missing
    
      thread 'main' (176271) panicked at compiler/rustc_llvm/build.rs:191:43:
      command did not execute successfully: "/Users/timch/rust/build/aarch64-apple-darwin/ci-llvm/bin/llvm-config" "--link-shared" "--libs" "--system-libs" "aarch64" "amdgpu" "arm" "asmparser" "avr" "bitreader" "bitwriter" "bpf" "coverage" "csky" "hexagon" "instrumentation" "ipo" "linker" "loongarch" "lto" "m68k" "mips" "msp430" "nvptx" "powerpc" "riscv" "sparc" "systemz" "webassembly" "x86" "xtensa" "--quote-paths"
      expected success, got: exit status: 1
      stack backtrace:
         0: __rustc::rust_begin_unwind
                   at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:689:5
         1: core::panicking::panic_fmt
                   at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/panicking.rs:80:14
         2: execute
                   at ./build.rs:102:9
         3: output
                   at ./build.rs:113:23
         4: {closure#0}
                   at ./build.rs:191:43
         5: main
                   at ./build.rs:361:17
         6: call_once<fn(), ()>
                   at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/ops/function.rs:250:5
      note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
    warning: build failed, waiting for other jobs to finish...
    command did not execute successfully: cd "/Users/timch/rust" && env -u MAKEFLAGS AR_aarch64_apple_darwin="ar" CARGO_BUILD_BUILD_DIR="/Users/timch/rust/build/aarch64-apple-darwin/stage1-rustc" CARGO_BUILD_WARNINGS="deny" CARGO_INCREMENTAL="1" CARGO_PROFILE_RELEASE_DEBUG="line-tables-only" CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS="true" CARGO_PROFILE_RELEASE_OVERFLOW_CHECKS="false" CARGO_PROFILE_RELEASE_STRIP="false" CARGO_TARGET_DIR="/Users/timch/rust/build/aarch64-apple-darwin/stage1-rustc" CC_aarch64_apple_darwin="cc" CFG_COMPILER_BUILD_TRIPLE="aarch64-apple-darwin" CFG_COMPILER_HOST_TRIPLE="aarch64-apple-darwin" CFG_DEFAULT_CODEGEN_BACKEND="llvm" CFG_LIBDIR_RELATIVE="lib" CFG_OMIT_GIT_HASH="1" CFG_RELEASE="1.96.0-dev" CFG_RELEASE_CHANNEL="dev" CFG_VERSION="1.96.0-dev" CFLAGS_aarch64_apple_darwin="" CXXFLAGS_aarch64_apple_darwin="-stdlib=libc++" CXX_aarch64_apple_darwin="c++" LIBC_CHECK_CFG="1" LLVM_CONFIG="/Users/timch/rust/build/aarch64-apple-darwin/ci-llvm/bin/llvm-config" LLVM_LINK_SHARED="1" LLVM_RUSTLLVM="1" RANLIB_aarch64_apple_darwin="ar s" REAL_LIBRARY_PATH_VAR="DYLD_LIBRARY_PATH" RUSTBUILD_NATIVE_DIR="/Users/timch/rust/build/aarch64-apple-darwin/native" RUSTC="/Users/timch/rust/build/bootstrap/debug/rustc" RUSTC_BACKTRACE_ON_ICE="1" RUSTC_BOOTSTRAP="1" RUSTC_BREAK_ON_ICE="1" RUSTC_ERROR_METADATA_DST="/Users/timch/rust/build/tmp/extended-error-metadata" RUSTC_FORCE_UNSTABLE="1" RUSTC_HOST_FLAGS="--check-cfg=cfg(bootstrap) --cfg=bootstrap" RUSTC_INSTALL_BINDIR="bin" RUSTC_LIBDIR="/Users/timch/rust/build/aarch64-apple-darwin/stage0/lib" RUSTC_LINK_STD_INTO_RUSTC_DRIVER="1" RUSTC_LINT_FLAGS="-Wrust_2018_idioms -Wunused_lifetimes -Wrustc::internal -Drustc::symbol_intern_string_literal -Wkeyword_idents_2024 -Wunreachable_pub -Wunsafe_op_in_unsafe_fn -Wunused_crate_dependencies" RUSTC_REAL="/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/rustc" RUSTC_SNAPSHOT="/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/rustc" RUSTC_SNAPSHOT_LIBDIR="/Users/timch/rust/build/aarch64-apple-darwin/stage0/lib" RUSTC_STAGE="0" RUSTC_SYSROOT="/Users/timch/rust/build/aarch64-apple-darwin/stage0-sysroot" RUSTC_TLS_MODEL_INITIAL_EXEC="1" RUSTC_VERBOSE="1" RUSTC_WRAPPER="/Users/timch/rust/build/bootstrap/debug/rustc" RUSTDOC="/Users/timch/rust/build/bootstrap/debug/rustdoc" RUSTDOCFLAGS="--cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options --check-cfg=cfg(bootstrap) -Wrustdoc::invalid_codeblock_attributes --crate-version 1.96.0-dev -Zcrate-attr=warn(rust_2018_idioms) --cfg=bootstrap" RUSTDOC_LIBDIR="/Users/timch/rust/build/aarch64-apple-darwin/stage0/lib" RUSTDOC_REAL="/path/to/nowhere/rustdoc/not/required" RUSTFLAGS="--cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options --check-cfg=cfg(bootstrap) -Zmacro-backtrace -Csplit-debuginfo=unpacked -Cforce-frame-pointers=true -Cllvm-args=-import-instr-limit=10 -Zosx-rpath-install-name -Clink-args=-Wl,-rpath,@loader_path/../lib -Zon-broken-pipe=kill -Clto=off --cfg=bootstrap" RUST_TEST_THREADS="10" __CARGO_DEFAULT_LIB_METADATA="bootstrap1.96.0" "/Users/timch/rust/build/aarch64-apple-darwin/stage0/bin/cargo" "build" "-Zwarnings" "--target" "aarch64-apple-darwin" "-Zbinary-dep-depinfo" "-j" "10" "-Zroot-dir=/Users/timch/rust" "--profile=release" "--features" "llvm" "--manifest-path" "/Users/timch/rust/compiler/rustc/Cargo.toml" "--message-format" "json-render-diagnostics" (failure_mode=Exit)
    expected success, got: exit status: 101
    Traceback (most recent call last):
      File "/Users/timch/rust/x.py", line 53, in <module>
        bootstrap.main()
        ~~~~~~~~~~~~~~^^
      File "/Users/timch/rust/src/bootstrap/bootstrap.py", line 1413, in main
        bootstrap(args)
        ~~~~~~~~~^^^^^^
      File "/Users/timch/rust/src/bootstrap/bootstrap.py", line 1371, in bootstrap
        run(args, env=env, verbose=build.verbose, is_bootstrap=True)
        ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/Users/timch/rust/src/bootstrap/bootstrap.py", line 237, in run
        raise RuntimeError(err)
    RuntimeError: failed to run: /Users/timch/rust/build/bootstrap/debug/bootstrap build -v

  18. jieyouxu commented on Mar 26, 2026

    @jieyouxu
    Member

    ... Does it happen on a commit before #154348?

    EDIT: no. I need to check if that's the change that matters.

  19. jieyouxu commented on Mar 26, 2026

    @jieyouxu
    Member

    Tracking the new instance in #154408.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-bootstrap-ci-llvmArea: bootstrap CI LLVMA-contributor-roadblockArea: Makes things more difficult for new or seasoned contributors to RustC-bugCategory: This is a bug.O-macosOperating system: macOSP-highHigh priorityT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions