The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Aoxiang, reference 1.0.0 (db7da0), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 07:24:28 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/isaced/Aoxiang.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/isaced/Aoxiang
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at db7da0e doc: Update README.md
Cloned https://github.com/isaced/Aoxiang.git
Revision (git rev-parse @):
db7da0ef43828d05911110793302866d6164e4bd
SUCCESS checkout https://github.com/isaced/Aoxiang.git at 1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/isaced/Aoxiang.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/9] Compiling Aoxiang Socket.swift
[4/9] Compiling Aoxiang HTTPRouter.swift
[5/9] Compiling Aoxiang HTTPRequest.swift
[6/9] Compiling Aoxiang HTTPResponse.swift
[7/9] Compiling Aoxiang HTTPParser.swift
[8/9] Compiling Aoxiang HTTPServer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Aoxiang/HTTPServer.swift:58:25: warning: capture of 'strongSelf' with non-sendable type 'HTTPServer' in a '@Sendable' closure [#SendableClosureCaptures]
 23 | }
 24 |
 25 | open class HTTPServer {
    |            `- note: class 'HTTPServer' does not conform to the 'Sendable' protocol
 26 |     let router = HTTPRouter()
 27 |     var middleware: [HTTPMiddleware] = []
    :
 56 |                     guard let strongSelf = self else { return }
 57 |                     strongSelf.queue.async {
 58 |                         strongSelf.sockets.insert(socket)
    |                         `- warning: capture of 'strongSelf' with non-sendable type 'HTTPServer' in a '@Sendable' closure [#SendableClosureCaptures]
 59 |                     }
 60 |
/Users/admin/builder/spi-builder-workspace/Sources/Aoxiang/HTTPServer.swift:58:51: warning: capture of 'socket' with non-sendable type 'Socket' in a '@Sendable' closure [#SendableClosureCaptures]
 56 |                     guard let strongSelf = self else { return }
 57 |                     strongSelf.queue.async {
 58 |                         strongSelf.sockets.insert(socket)
    |                                                   `- warning: capture of 'socket' with non-sendable type 'Socket' in a '@Sendable' closure [#SendableClosureCaptures]
 59 |                     }
 60 |
/Users/admin/builder/spi-builder-workspace/Sources/Aoxiang/Socket.swift:22:7: note: class 'Socket' does not conform to the 'Sendable' protocol
 20 |
 21 | /// A wrapper around the POSIX socket API.
 22 | class Socket: Hashable, Equatable {
    |       `- note: class 'Socket' does not conform to the 'Sendable' protocol
 23 |     let sock: Int32
 24 |
/Users/admin/builder/spi-builder-workspace/Sources/Aoxiang/HTTPServer.swift:64:25: warning: capture of 'strongSelf' with non-sendable type 'HTTPServer' in a '@Sendable' closure [#SendableClosureCaptures]
 23 | }
 24 |
 25 | open class HTTPServer {
    |            `- note: class 'HTTPServer' does not conform to the 'Sendable' protocol
 26 |     let router = HTTPRouter()
 27 |     var middleware: [HTTPMiddleware] = []
    :
 62 |
 63 |                     strongSelf.queue.async {
 64 |                         strongSelf.sockets.remove(socket)
    |                         `- warning: capture of 'strongSelf' with non-sendable type 'HTTPServer' in a '@Sendable' closure [#SendableClosureCaptures]
 65 |                     }
 66 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Aoxiang/HTTPServer.swift:64:51: warning: capture of 'socket' with non-sendable type 'Socket' in a '@Sendable' closure [#SendableClosureCaptures]
 62 |
 63 |                     strongSelf.queue.async {
 64 |                         strongSelf.sockets.remove(socket)
    |                                                   `- warning: capture of 'socket' with non-sendable type 'Socket' in a '@Sendable' closure [#SendableClosureCaptures]
 65 |                     }
 66 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Aoxiang/Socket.swift:22:7: note: class 'Socket' does not conform to the 'Sendable' protocol
 20 |
 21 | /// A wrapper around the POSIX socket API.
 22 | class Socket: Hashable, Equatable {
    |       `- note: class 'Socket' does not conform to the 'Sendable' protocol
 23 |     let sock: Int32
 24 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[9/9] Emitting module Aoxiang
Build complete! (3.56s)
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"
      ],
      "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.