Skip to content

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

@theemathas

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

Metadata

Metadata

Assignees

Labels

A-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