The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Aoxiang, reference 1.1.0 (8ead0b), with Swift 6.3 for macOS (SPM) on 29 Oct 2026 10:58:25 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/isaced/Aoxiang.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/isaced/Aoxiang
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 8ead0b7 test: keep the shared fetch helper out of the connection pool
Cloned https://github.com/isaced/Aoxiang.git
Revision (git rev-parse @):
8ead0b7ad5c5a64527373fd2c33da047d8555375
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/isaced/Aoxiang.git at 1.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/isaced/Aoxiang.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-69A768CDF2A0BEE1.txt
[3/9] Compiling Aoxiang Socket.swift
[4/9] Compiling Aoxiang HTTPRequest.swift
[5/9] Compiling Aoxiang HTTPParser.swift
[6/9] Compiling Aoxiang HTTPServer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Aoxiang/HTTPServer.swift:162:29: warning: capture of 'strongSelf' with non-Sendable type 'HTTPServer' in a '@Sendable' closure [#SendableClosureCaptures]
 49 | ///     }
 50 | ///     try server.start(3000)
 51 | open class HTTPServer {
    |            `- note: class 'HTTPServer' does not conform to the 'Sendable' protocol
 52 |     /// A butil-in router middleware
 53 |     let router = HTTPRouter()
    :
160 |                         }
161 |                         strongSelf.queue.async {
162 |                             strongSelf.sockets.insert(clientSocket)
    |                             `- warning: capture of 'strongSelf' with non-Sendable type 'HTTPServer' in a '@Sendable' closure [#SendableClosureCaptures]
163 |                         }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/Aoxiang/HTTPServer.swift:162:55: warning: capture of 'clientSocket' with non-Sendable type 'Socket' in a '@Sendable' closure [#SendableClosureCaptures]
160 |                         }
161 |                         strongSelf.queue.async {
162 |                             strongSelf.sockets.insert(clientSocket)
    |                                                       `- warning: capture of 'clientSocket' with non-Sendable type 'Socket' in a '@Sendable' closure [#SendableClosureCaptures]
163 |                         }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/Aoxiang/Socket.swift:26:7: note: class 'Socket' does not conform to the 'Sendable' protocol
 24 | ///
 25 | /// This class is used to create a socket, bind it to a port, listen for incoming connections, and accept them.
 26 | class Socket: Hashable, Equatable {
    |       `- note: class 'Socket' does not conform to the 'Sendable' protocol
 27 |     let sock: Int32
 28 |
/Users/admin/builder/spi-builder-workspace/Sources/Aoxiang/HTTPServer.swift:168:29: warning: capture of 'strongSelf' with non-Sendable type 'HTTPServer' in a '@Sendable' closure [#SendableClosureCaptures]
 49 | ///     }
 50 | ///     try server.start(3000)
 51 | open class HTTPServer {
    |            `- note: class 'HTTPServer' does not conform to the 'Sendable' protocol
 52 |     /// A butil-in router middleware
 53 |     let router = HTTPRouter()
    :
166 |
167 |                         strongSelf.queue.async {
168 |                             strongSelf.sockets.remove(clientSocket)
    |                             `- warning: capture of 'strongSelf' with non-Sendable type 'HTTPServer' in a '@Sendable' closure [#SendableClosureCaptures]
169 |                         }
170 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Aoxiang/HTTPServer.swift:168:55: warning: capture of 'clientSocket' with non-Sendable type 'Socket' in a '@Sendable' closure [#SendableClosureCaptures]
166 |
167 |                         strongSelf.queue.async {
168 |                             strongSelf.sockets.remove(clientSocket)
    |                                                       `- warning: capture of 'clientSocket' with non-Sendable type 'Socket' in a '@Sendable' closure [#SendableClosureCaptures]
169 |                         }
170 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Aoxiang/Socket.swift:26:7: note: class 'Socket' does not conform to the 'Sendable' protocol
 24 | ///
 25 | /// This class is used to create a socket, bind it to a port, listen for incoming connections, and accept them.
 26 | class Socket: Hashable, Equatable {
    |       `- note: class 'Socket' does not conform to the 'Sendable' protocol
 27 |     let sock: Int32
 28 |
/Users/admin/builder/spi-builder-workspace/Sources/Aoxiang/HTTPServer.swift:275:29: warning: result of call to 'wait(timeout:)' is unused [#no-usage]
273 |         // loop could still accept on it.
274 |         if waitForAcceptLoop {
275 |             acceptLoopDone?.wait(timeout: .now() + 2)
    |                             `- warning: result of call to 'wait(timeout:)' is unused [#no-usage]
276 |         }
277 |     }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[7/9] Emitting module Aoxiang
[8/9] Compiling Aoxiang HTTPRouter.swift
[9/9] Compiling Aoxiang HTTPResponse.swift
Build complete! (4.61s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Aoxiang",
  "name" : "Aoxiang",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "Aoxiang",
      "targets" : [
        "Aoxiang"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AoxiangTests",
      "module_type" : "SwiftTarget",
      "name" : "AoxiangTests",
      "path" : "Tests/AoxiangTests",
      "sources" : [
        "AoxiangTests.swift",
        "HTTPResponseTests.swift",
        "MiddlewareTests.swift",
        "PathParameterTests.swift",
        "PublicAPITests.swift",
        "QueryParameterTests.swift",
        "RawHTTPClient.swift",
        "ReadTimeoutTests.swift",
        "RequestLimitTests.swift",
        "ResponseBodyTests.swift",
        "SSETests.swift",
        "ServerLifecycleTests.swift",
        "Utils.swift",
        "iOSBackgroundTaskTests.swift"
      ],
      "target_dependencies" : [
        "Aoxiang"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Aoxiang",
      "module_type" : "SwiftTarget",
      "name" : "Aoxiang",
      "path" : "Sources/Aoxiang",
      "product_memberships" : [
        "Aoxiang"
      ],
      "sources" : [
        "HTTPParser.swift",
        "HTTPRequest.swift",
        "HTTPResponse.swift",
        "HTTPRouter.swift",
        "HTTPServer.swift",
        "Socket.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Done.