The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftXCore, reference 1.0.0 (5b0ba4), with Swift 6.3 for macOS (SPM) on 19 Apr 2026 07:44:23 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/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",
  "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.64s)
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.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] Compiling SwiftXCore radix_router.swift
[6/29] Compiling SwiftXCore queue.swift
[7/29] Compiling SwiftXCore socket.swift
[8/29] Compiling SwiftXCore wsapoll_backend.swift
[9/31] Compiling SwiftXCore scheduler.swift
[10/31] Compiling SwiftXCore task.swift
[11/31] Compiling SwiftXCore connection.swift
[12/31] Compiling SwiftXCore listener.swift
[13/31] Compiling SwiftXCore worker.swift
[14/31] Compiling SwiftXCore config.swift
[15/31] Compiling SwiftXCore backend.swift
[16/31] Compiling SwiftXCore epoll_backend.swift
[17/31] Compiling SwiftXCore iocp_backend.swift
[18/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 |
[19/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 |
[20/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])
[21/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])
[22/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])
[23/31] Compiling SwiftXCore SwiftXCore.swift
[24/31] Compiling SwiftXCore byte_buffer.swift
[25/31] Compiling SwiftXCore encoder.swift
[26/31] Emitting module SwiftXCore
[27/31] Compiling SwiftXCore runtime_info.swift
[28/31] Compiling SwiftXCore websocket_server.swift
BUILD FAILURE 6.3 macosSpm