The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Aoxiang, reference main (8ead0b), with Swift 6.1 for macOS (SPM) on 29 Oct 2026 02:49:54 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/isaced/Aoxiang.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/isaced/Aoxiang
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/isaced/Aoxiang.git
https://github.com/isaced/Aoxiang.git
{
  "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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/9] Compiling Aoxiang HTTPParser.swift
[4/9] Emitting module Aoxiang
[5/9] Compiling Aoxiang HTTPRouter.swift
[6/9] Compiling Aoxiang HTTPServer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Aoxiang/HTTPServer.swift:143:36: warning: capture of 'self' with non-sendable type 'HTTPServer?' in a '@Sendable' closure
 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()
    :
141 |             defer { acceptLoopDone.signal() }
142 |
143 |             while let strongSelf = self, strongSelf.socket === listeningSocket {
    |                                    `- warning: capture of 'self' with non-sendable type 'HTTPServer?' in a '@Sendable' closure
144 |                 do {
145 |                     let clientSocket = try listeningSocket.accept()
/Users/admin/builder/spi-builder-workspace/Sources/Aoxiang/HTTPServer.swift:143:64: warning: capture of 'listeningSocket' with non-sendable type 'Socket' in a '@Sendable' closure
141 |             defer { acceptLoopDone.signal() }
142 |
143 |             while let strongSelf = self, strongSelf.socket === listeningSocket {
    |                                                                `- warning: capture of 'listeningSocket' with non-sendable type 'Socket' in a '@Sendable' closure
144 |                 do {
145 |                     let clientSocket = try listeningSocket.accept()
/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:162:29: warning: capture of 'strongSelf' with non-sendable type 'HTTPServer' in a '@Sendable' closure
 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
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
160 |                         }
161 |                         strongSelf.queue.async {
162 |                             strongSelf.sockets.insert(clientSocket)
    |                                                       `- warning: capture of 'clientSocket' with non-sendable type 'Socket' in a '@Sendable' closure
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
 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
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
166 |
167 |                         strongSelf.queue.async {
168 |                             strongSelf.sockets.remove(clientSocket)
    |                                                       `- warning: capture of 'clientSocket' with non-sendable type 'Socket' in a '@Sendable' closure
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
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
276 |         }
277 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Aoxiang/HTTPServer.swift:156:21: warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
154 |                         clientSocket.setReadTimeout(strongSelf.readTimeout)
155 |                     }
156 |                     Task(priority: .background) { [weak self] in
    |                     |- warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
    |                     |- note: Passing value of non-Sendable type '() async -> ()' as a 'sending' argument risks causing races in between local and caller code
    |                     `- note: access can happen concurrently
157 |                         guard let strongSelf = self else {
158 |                             clientSocket.close()
[7/9] Compiling Aoxiang HTTPRequest.swift
[8/9] Compiling Aoxiang HTTPResponse.swift
[9/9] Compiling Aoxiang Socket.swift
Build complete! (4.28s)
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.