The Swift Package Index logo.Swift Package Index

Build Information

Failed to build llbuild, reference main (783aec), with Swift 6.3 for macOS (SPM) on 14 Apr 2026 08:01:20 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/art-divin/swift-llbuild.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/art-divin/swift-llbuild
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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 (2.12s)
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 main (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...
/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.
[0/155] Compiling llbuildBasic Subprocess.cpp
[0/155] Compiling swift-build-tool main.cpp
[0/155] Compiling gmocklib gmock-all.cc
[0/155] Compiling gtestlib gtest-all.cc
[0/155] Compiling llbuild main.cpp
[0/155] Compiling llbuildBasic Tracing.cpp
[0/155] Compiling libllbuild BuildSystem-C-API.cpp
[0/155] Compiling libllbuild BuildDB-C-API.cpp
[0/155] Compiling libllbuild BuildKey-C-API.cpp
[0/155] Compiling libllbuild BuildValue-C-API.cpp
BUILD FAILURE 6.3 macosSpm