Build Information
Failed to build SwiftXCore, reference 1.0.0 (5b0ba4), with Swift 6.2 for macOS (SPM) on 22 Mar 2026 18:30:25 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftXCity/SwiftXCore.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftXCity/SwiftXCore
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 5b0ba45 docs: add MIT license and update repo url
Cloned https://github.com/SwiftXCity/SwiftXCore.git
Revision (git rev-parse @):
5b0ba4544e30120f773e2d72ea025f7ba0f5fb5d
SUCCESS checkout https://github.com/SwiftXCity/SwiftXCore.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",
"dependencies": [
{
"identity": "swiftxcore",
"name": "SwiftXCore",
"url": "https://github.com/SwiftXCity/SwiftXCore.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftXCore",
"dependencies": [
]
}
]
}
Fetching https://github.com/SwiftXCity/SwiftXCore.git
[1/67] Fetching swiftxcore
Fetched https://github.com/SwiftXCity/SwiftXCore.git from cache (0.69s)
Creating working copy for https://github.com/SwiftXCity/SwiftXCore.git
Working copy of https://github.com/SwiftXCity/SwiftXCore.git resolved at 1.0.0 (5b0ba45)
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/SwiftXCity/SwiftXCore.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write SwiftXCoreExample-entitlement.plist
[0/7] Write sources
[3/7] Write swift-version-49B95AFC49DCD68C.txt
[5/29] Compiling SwiftXCore connection.swift
[6/29] Compiling SwiftXCore listener.swift
[7/29] Compiling SwiftXCore worker.swift
[8/29] Compiling SwiftXCore config.swift
[9/29] Compiling SwiftXCore http_parser.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftXCore/http/http_parser.swift:51:17: warning: variable 'query' was never mutated; consider changing to 'let' constant
49 | // Query params
50 | var path = pathFull
51 | var query: [String: String] = [:]
| `- warning: variable 'query' was never mutated; consider changing to 'let' constant
52 | if let qIdx = pathFull.firstIndex(of: "?") {
53 | path = String(pathFull[..<qIdx])
[10/29] Compiling SwiftXCore request.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftXCore/http/http_parser.swift:51:17: warning: variable 'query' was never mutated; consider changing to 'let' constant
49 | // Query params
50 | var path = pathFull
51 | var query: [String: String] = [:]
| `- warning: variable 'query' was never mutated; consider changing to 'let' constant
52 | if let qIdx = pathFull.firstIndex(of: "?") {
53 | path = String(pathFull[..<qIdx])
[11/29] Compiling SwiftXCore response.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftXCore/http/http_parser.swift:51:17: warning: variable 'query' was never mutated; consider changing to 'let' constant
49 | // Query params
50 | var path = pathFull
51 | var query: [String: String] = [:]
| `- warning: variable 'query' was never mutated; consider changing to 'let' constant
52 | if let qIdx = pathFull.firstIndex(of: "?") {
53 | path = String(pathFull[..<qIdx])
[12/29] Compiling SwiftXCore socket.swift
[13/29] Compiling SwiftXCore wsapoll_backend.swift
[14/29] Compiling SwiftXCore backend.swift
[15/29] Compiling SwiftXCore epoll_backend.swift
[16/29] Compiling SwiftXCore iocp_backend.swift
[17/29] Compiling SwiftXCore kqueue_backend.swift
/Users/admin/builder/spi-builder-workspace/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/29] Compiling SwiftXCore select_backend.swift
/Users/admin/builder/spi-builder-workspace/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/29] Compiling SwiftXCore radix_router.swift
[20/29] Compiling SwiftXCore queue.swift
[21/29] Compiling SwiftXCore scheduler.swift
[22/29] Compiling SwiftXCore task.swift
[23/31] Emitting module SwiftXCore
[24/31] Compiling SwiftXCore SwiftXCore.swift
[25/31] Compiling SwiftXCore byte_buffer.swift
[26/31] Compiling SwiftXCore encoder.swift
[27/31] Compiling SwiftXCore runtime_info.swift
[28/31] Compiling SwiftXCore websocket_server.swift
BUILD FAILURE 6.2 macosSpm