The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Aoxiang, reference main (220000), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 07:25:00 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: 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 220000a fix: public property automaticallySuspendInBackground
Cloned https://github.com/isaced/Aoxiang.git
Revision (git rev-parse @):
220000a543578c7fb4aa8eed01ab7fe95488cbda
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/isaced/Aoxiang.git at main
========================================
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 HTTPRouter.swift
[4/9] Compiling Aoxiang HTTPResponse.swift
[5/9] Compiling Aoxiang HTTPRequest.swift
[6/9] Compiling Aoxiang HTTPServer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Aoxiang/HTTPServer.swift:115:25: 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()
    :
113 |                     guard let strongSelf = self else { return }
114 |                     strongSelf.queue.async {
115 |                         strongSelf.sockets.insert(socket)
    |                         `- warning: capture of 'strongSelf' with non-sendable type 'HTTPServer' in a '@Sendable' closure [#SendableClosureCaptures]
116 |                     }
117 |
/Users/admin/builder/spi-builder-workspace/Sources/Aoxiang/HTTPServer.swift:115:51: warning: capture of 'socket' with non-sendable type 'Socket' in a '@Sendable' closure [#SendableClosureCaptures]
113 |                     guard let strongSelf = self else { return }
114 |                     strongSelf.queue.async {
115 |                         strongSelf.sockets.insert(socket)
    |                                                   `- warning: capture of 'socket' with non-sendable type 'Socket' in a '@Sendable' closure [#SendableClosureCaptures]
116 |                     }
117 |
/Users/admin/builder/spi-builder-workspace/Sources/Aoxiang/Socket.swift:24:7: note: class 'Socket' does not conform to the 'Sendable' protocol
 22 | ///
 23 | /// This class is used to create a socket, bind it to a port, listen for incoming connections, and accept them.
 24 | class Socket: Hashable, Equatable {
    |       `- note: class 'Socket' does not conform to the 'Sendable' protocol
 25 |     let sock: Int32
 26 |
/Users/admin/builder/spi-builder-workspace/Sources/Aoxiang/HTTPServer.swift:121:25: 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()
    :
119 |
120 |                     strongSelf.queue.async {
121 |                         strongSelf.sockets.remove(socket)
    |                         `- warning: capture of 'strongSelf' with non-sendable type 'HTTPServer' in a '@Sendable' closure [#SendableClosureCaptures]
122 |                     }
123 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Aoxiang/HTTPServer.swift:121:51: warning: capture of 'socket' with non-sendable type 'Socket' in a '@Sendable' closure [#SendableClosureCaptures]
119 |
120 |                     strongSelf.queue.async {
121 |                         strongSelf.sockets.remove(socket)
    |                                                   `- warning: capture of 'socket' with non-sendable type 'Socket' in a '@Sendable' closure [#SendableClosureCaptures]
122 |                     }
123 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Aoxiang/Socket.swift:24:7: note: class 'Socket' does not conform to the 'Sendable' protocol
 22 | ///
 23 | /// This class is used to create a socket, bind it to a port, listen for incoming connections, and accept them.
 24 | class Socket: Hashable, Equatable {
    |       `- note: class 'Socket' does not conform to the 'Sendable' protocol
 25 |     let sock: Int32
 26 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[7/9] Emitting module Aoxiang
[8/9] Compiling Aoxiang HTTPParser.swift
[9/9] Compiling Aoxiang Socket.swift
Build complete! (3.77s)
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",
        "MiddlewareTests.swift",
        "Utils.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.