Build Information
Failed to build llbuild, reference 1.0.0 (783aec), with Swift 6.3 for macOS (SPM) on 14 Apr 2026 08:00:23 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/art-divin/swift-llbuild.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/art-divin/swift-llbuild
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 783aec2 Fix a few comment typos in the codebase (#906)
Cloned https://github.com/art-divin/swift-llbuild.git
Revision (git rev-parse @):
783aec21649a6c47d1a8314db4144bdceb11df30
SUCCESS checkout https://github.com/art-divin/swift-llbuild.git at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-llbuild",
"name": "llbuild",
"url": "https://github.com/art-divin/swift-llbuild.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-llbuild",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/art-divin/swift-llbuild.git
[1/17437] Fetching swift-llbuild
Fetched https://github.com/art-divin/swift-llbuild.git from cache (1.68s)
Creating working copy for https://github.com/art-divin/swift-llbuild.git
Working copy of https://github.com/art-divin/swift-llbuild.git resolved at 1.0.0 (783aec2)
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/art-divin/swift-llbuild.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/155] Compiling llbuildBasic ExecutionQueue.cpp
/Users/admin/builder/spi-builder-workspace/lib/Basic/Subprocess.cpp:89:12: error: static declaration of 'posix_spawn_file_actions_addchdir' follows non-static declaration
89 | static int posix_spawn_file_actions_addchdir(posix_spawn_file_actions_t * __restrict file_actions,
| ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/spawn.h:72:9: note: previous declaration is here
72 | int posix_spawn_file_actions_addchdir(posix_spawn_file_actions_t *,
| ^
/Users/admin/builder/spi-builder-workspace/lib/Basic/Subprocess.cpp:774:7: warning: 'posix_spawn_file_actions_addchdir' is only available on macOS 26.0 or newer [-Wunguarded-availability-new]
774 | posix_spawn_file_actions_addchdir(&fileActions, workingDir.c_str()) != ENOSYS) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/spawn.h:72:9: note: 'posix_spawn_file_actions_addchdir' has been marked as being introduced in macOS 26.0 here, but the deployment target is macOS 10.13.0
72 | int posix_spawn_file_actions_addchdir(posix_spawn_file_actions_t *,
| ^
/Users/admin/builder/spi-builder-workspace/lib/Basic/Subprocess.cpp:774:7: note: enclose 'posix_spawn_file_actions_addchdir' in a __builtin_available check to silence this warning
773 | if (!workingDir.empty() &&
774 | posix_spawn_file_actions_addchdir(&fileActions, workingDir.c_str()) != ENOSYS) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
775 | usePosixSpawnChdirFallback = false;
776 | }
|
1 warning and 1 error generated.
[1/155] Compiling llbuildBasic Subprocess.cpp
[1/155] Compiling swift-build-tool main.cpp
[1/155] Compiling llbuildBasic FileInfo.cpp
[1/155] Compiling libllbuild Core-C-API.cpp
[1/155] Compiling llbuild main.cpp
[1/155] Compiling llbuildBasic FileSystem.cpp
[1/155] Compiling libllbuild BuildSystem-C-API.cpp
[1/155] Compiling gtestlib gtest-all.cc
[1/155] Compiling libllbuild BuildDB-C-API.cpp
In file included from /Users/admin/builder/spi-builder-workspace/products/libllbuild/Ninja-C-API.cpp:17:
In file included from /Users/admin/builder/spi-builder-workspace/lib/Ninja/include/llbuild/Ninja/Lexer.h:18:
In file included from /Users/admin/builder/spi-builder-workspace/lib/llvm/Support/include/llvm/ADT/StringRef.h:13:
In file included from /Users/admin/builder/spi-builder-workspace/lib/llvm/Support/include/llvm/ADT/STLExtras.h:21:
/Users/admin/builder/spi-builder-workspace/lib/llvm/Support/include/llvm/ADT/SmallVector.h:313:18: warning: first argument in call to 'memcpy' is a pointer to non-trivially copyable type 'std::pair<void *, unsigned long>' [-Wnontrivial-memcall]
313 | memcpy(this->end(), &Elt, sizeof(T));
| ^
/Users/admin/builder/spi-builder-workspace/lib/llvm/Support/include/llvm/Support/Allocator.h:250:24: note: in instantiation of member function 'llvm::SmallVectorTemplateBase<std::pair<void *, unsigned long>, true>::push_back' requested here
250 | CustomSizedSlabs.push_back(std::make_pair(NewSlab, PaddedSize));
| ^
/Users/admin/builder/spi-builder-workspace/lib/llvm/Support/include/llvm/Support/Allocator.h:56:38: note: in instantiation of member function 'llvm::BumpPtrAllocatorImpl<>::Allocate' requested here
56 | &DerivedT::Allocate),
| ^
/Users/admin/builder/spi-builder-workspace/lib/llvm/Support/include/llvm/Support/Allocator.h:82:29: note: in instantiation of member function 'llvm::AllocatorBase<llvm::BumpPtrAllocatorImpl<>>::Allocate' requested here
82 | return static_cast<T *>(Allocate(Num * sizeof(T), alignof(T)));
| ^
/Users/admin/builder/spi-builder-workspace/products/libllbuild/Ninja-C-API.cpp:88:55: note: in instantiation of function template specialization 'llvm::AllocatorBase<llvm::BumpPtrAllocatorImpl<>>::Allocate<llb_ninja_build_statement_t_>' requested here
88 | auto copied = llvm::makeMutableArrayRef(Allocator.Allocate<R>(orig.size()),
| ^
/Users/admin/builder/spi-builder-workspace/lib/llvm/Support/include/llvm/ADT/SmallVector.h:313:18: note: explicitly cast the pointer to silence this warning
313 | memcpy(this->end(), &Elt, sizeof(T));
| ^
| (void*)
[1/155] Compiling libllbuild Ninja-C-API.cpp
BUILD FAILURE 6.3 macosSpm