The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftX, reference main (2838d8), with Swift 6.2 for macOS (SPM) on 23 Mar 2026 22:31:03 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftxcity/swiftx.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftxcity/swiftx
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2838d84 Fix link to Runtime APIs documentation in README
Cloned https://github.com/swiftxcity/swiftx.git
Revision (git rev-parse @):
2838d84627fd46b2ec151434c800f0bc34ae77e4
SUCCESS checkout https://github.com/swiftxcity/swiftx.git at main
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/SwiftXCity/SwiftXCore.git
[1/70] Fetching swiftxcore
[71/6331] Fetching swiftxcore, swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.19s)
Fetched https://github.com/SwiftXCity/SwiftXCore.git from cache (1.19s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (1.77s)
Computing version for https://github.com/SwiftXCity/SwiftXCore.git
Computed https://github.com/SwiftXCity/SwiftXCore.git at 1.1.0 (0.53s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.10.1
Creating working copy for https://github.com/SwiftXCity/SwiftXCore.git
Working copy of https://github.com/SwiftXCity/SwiftXCore.git resolved at 1.1.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",
  "dependencies": [
    {
      "identity": "swiftx",
      "name": "SwiftX",
      "url": "https://github.com/swiftxcity/swiftx.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftx",
      "dependencies": [
        {
          "identity": "swiftxcore",
          "name": "SwiftXCore",
          "url": "https://github.com/SwiftXCity/SwiftXCore.git",
          "version": "1.1.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftXCore",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-log",
          "name": "swift-log",
          "url": "https://github.com/apple/swift-log.git",
          "version": "1.10.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/swiftxcity/swiftx.git
[1/54] Fetching swiftx
Fetched https://github.com/swiftxcity/swiftx.git from cache (0.69s)
Fetching https://github.com/SwiftXCity/SwiftXCore.git from cache
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.52s)
Fetched https://github.com/SwiftXCity/SwiftXCore.git from cache (0.52s)
Computing version for https://github.com/SwiftXCity/SwiftXCore.git
Computed https://github.com/SwiftXCity/SwiftXCore.git at 1.1.0 (0.58s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (0.05s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.10.1
Creating working copy for https://github.com/swiftxcity/swiftx.git
Working copy of https://github.com/swiftxcity/swiftx.git resolved at main (2838d84)
Creating working copy for https://github.com/SwiftXCity/SwiftXCore.git
Working copy of https://github.com/SwiftXCity/SwiftXCore.git resolved at 1.1.0
warning: '.resolve-product-dependencies': dependency 'swiftx' is not used by any target
Found 2 product dependencies
  - SwiftXCore
  - swift-log
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/swiftxcity/swiftx.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/14] Write sources
[4/14] Write FullShowcase-entitlement.plist
[4/14] Write SwiftXExample-entitlement.plist
[7/14] Write swift-version-49B95AFC49DCD68C.txt
[9/41] Emitting module Logging
[10/41] Compiling Logging Locks.swift
[11/41] Compiling Logging Logging.swift
[12/41] Compiling Logging LogHandler.swift
[13/41] Compiling Logging MetadataProvider.swift
[14/41] Emitting module SwiftXCore
[15/43] Compiling SwiftXCore runtime_info.swift
[16/43] Compiling SwiftXCore websocket_server.swift
[17/43] Compiling SwiftXCore kqueue_backend.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/kqueue_backend.swift:42:22: error: cannot call value of non-function type '[@Sendable (Int32, UnsafePointer<kevent>?, Int32, UnsafeMutablePointer<kevent>?, Int32, UnsafePointer<timespec>?) -> Int32]'
40 |
41 |     public func poll(timeout: Int) -> [IOEvent] {
42 |         var events = [kevent](repeating: kevent(), count: 1024)
   |                      `- error: cannot call value of non-function type '[@Sendable (Int32, UnsafePointer<kevent>?, Int32, UnsafeMutablePointer<kevent>?, Int32, UnsafePointer<timespec>?) -> Int32]'
43 |         var timeoutSpec = timespec(tv_sec: timeout / 1000, tv_nsec: (timeout % 1000) * 1_000_000)
44 |
[18/43] Compiling SwiftXCore select_backend.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftXCore/Sources/SwiftXCore/io/kqueue_backend.swift:42:22: error: cannot call value of non-function type '[@Sendable (Int32, UnsafePointer<kevent>?, Int32, UnsafeMutablePointer<kevent>?, Int32, UnsafePointer<timespec>?) -> Int32]'
40 |
41 |     public func poll(timeout: Int) -> [IOEvent] {
42 |         var events = [kevent](repeating: kevent(), count: 1024)
   |                      `- error: cannot call value of non-function type '[@Sendable (Int32, UnsafePointer<kevent>?, Int32, UnsafeMutablePointer<kevent>?, Int32, UnsafePointer<timespec>?) -> Int32]'
43 |         var timeoutSpec = timespec(tv_sec: timeout / 1000, tv_nsec: (timeout % 1000) * 1_000_000)
44 |
[19/43] Compiling SwiftXCore worker.swift
[20/43] Compiling SwiftXCore config.swift
[21/43] Compiling SwiftXCore scheduler.swift
[22/43] Compiling SwiftXCore task.swift
[23/43] Compiling SwiftXCore connection.swift
[24/43] Compiling SwiftXCore listener.swift
[25/43] Compiling SwiftXCore radix_router.swift
[26/43] Compiling SwiftXCore queue.swift
[27/43] Compiling SwiftXCore http_parser.swift
[28/43] Compiling SwiftXCore request.swift
[29/43] Compiling SwiftXCore response.swift
[30/43] Compiling SwiftXCore SwiftXCore.swift
[31/43] Compiling SwiftXCore byte_buffer.swift
[32/43] Compiling SwiftXCore encoder.swift
[33/43] Compiling SwiftXCore backend.swift
[34/43] Compiling SwiftXCore epoll_backend.swift
[35/43] Compiling SwiftXCore iocp_backend.swift
[36/43] Compiling SwiftXCore socket.swift
[37/43] Compiling SwiftXCore wsapoll_backend.swift
BUILD FAILURE 6.2 macosSpm