Build Information
Failed to build SwiftXCore, reference main (82cf45), with Swift 6.3 for macOS (SPM) on 19 Apr 2026 07:44:15 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/SwiftXCity/SwiftXCore.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftXCity/SwiftXCore
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 82cf451 Update badges for platform and Swift version support
Cloned https://github.com/SwiftXCity/SwiftXCore.git
Revision (git rev-parse @):
82cf4516ff6680611be90dd27db25fffefa498da
SUCCESS checkout https://github.com/SwiftXCity/SwiftXCore.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": "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",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/SwiftXCity/SwiftXCore.git
[1/70] Fetching swiftxcore
Fetched https://github.com/SwiftXCity/SwiftXCore.git from cache (0.59s)
Creating working copy for https://github.com/SwiftXCity/SwiftXCore.git
Working copy of https://github.com/SwiftXCity/SwiftXCore.git resolved at main (82cf451)
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/SwiftXCity/SwiftXCore.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write sources
[0/7] Write SwiftXCoreExample-entitlement.plist
[0/7] Write sources
[3/7] Write swift-version--6988338F2F200930.txt
[5/29] Emitting module SwiftXCore
[6/31] Compiling SwiftXCore worker.swift
[7/31] Compiling SwiftXCore config.swift
[8/31] 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 |
[9/31] 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 |
[10/31] Compiling SwiftXCore runtime_info.swift
[11/31] Compiling SwiftXCore websocket_server.swift
[12/31] Compiling SwiftXCore socket.swift
[13/31] Compiling SwiftXCore wsapoll_backend.swift
[14/31] Compiling SwiftXCore connection.swift
[15/31] Compiling SwiftXCore listener.swift
[16/31] Compiling SwiftXCore scheduler.swift
[17/31] Compiling SwiftXCore task.swift
[18/31] 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])
[19/31] 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])
[20/31] 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])
[21/31] Compiling SwiftXCore backend.swift
[22/31] Compiling SwiftXCore epoll_backend.swift
[23/31] Compiling SwiftXCore iocp_backend.swift
[24/31] Compiling SwiftXCore radix_router.swift
[25/31] Compiling SwiftXCore queue.swift
[26/31] Compiling SwiftXCore SwiftXCore.swift
[27/31] Compiling SwiftXCore byte_buffer.swift
[28/31] Compiling SwiftXCore encoder.swift
BUILD FAILURE 6.3 macosSpm