The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwifterSockets, reference master (a1bad9), with Swift 6.2 for Linux on 18 Jun 2025 10:13:46 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Balancingrock/SwifterSockets.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/Balancingrock/SwifterSockets
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a1bad95 reduced target macos to 10.10
Cloned https://github.com/Balancingrock/SwifterSockets.git
Revision (git rev-parse @):
a1bad95095bca87756cd0f3d72d6b448ce5684a3
SUCCESS checkout https://github.com/Balancingrock/SwifterSockets.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Balancingrock/SwifterSockets.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/18] Emitting module SwifterSockets
[4/20] Compiling SwifterSockets FileDescriptorMacros.swift
[5/20] Compiling SwifterSockets InterfaceAccess.swift
[6/20] Compiling SwifterSockets TransmitterProtocol.swift
[7/20] Compiling SwifterSockets WaitForSelect.swift
[8/20] Compiling SwifterSockets SwifterSocketsUtils.swift
[9/20] Compiling SwifterSockets TipAccept.swift
[10/20] Compiling SwifterSockets SetupTipServer.swift
[11/20] Compiling SwifterSockets SwifterSocketsResult.swift
[12/20] Compiling SwifterSockets TipInterface.swift
[13/20] Compiling SwifterSockets TipReceiverLoop.swift
[14/20] Compiling SwifterSockets TipServer.swift
[15/20] Compiling SwifterSockets TipTransfer.swift
[16/20] Compiling SwifterSockets ConnectToTipServer.swift
/host/spi-builder-workspace/Sources/SwifterSockets/Connection.swift:544:29: warning: capture of 'buffer' with non-Sendable type 'UnsafeBufferPointer<UInt8>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
542 |
543 |                 _ = self.interface?.transfer(
544 |                     buffer: buffer,
    |                             `- warning: capture of 'buffer' with non-Sendable type 'UnsafeBufferPointer<UInt8>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
545 |                     timeout: timeout ?? self.transmitterTimeoutValue,
546 |                     callback: callback ?? self.transmitterProtocol ?? self,
Swift.UnsafeBufferPointer:1:23: note: generic struct 'UnsafeBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeBufferPointer<Element> : Copyable where Element : ~Copyable {
  |                       `- note: generic struct 'UnsafeBufferPointer' does not conform to the 'Sendable' protocol
2 |     public let count: Int
3 |     @inlinable public init(start: UnsafePointer<Element>?, count: Int)
/host/spi-builder-workspace/Sources/SwifterSockets/Connection.swift:696:56: warning: capture of 'copy' with non-Sendable type 'UnsafeMutableRawBufferPointer' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
694 |
695 |                 _ = self.interface?.transfer(
696 |                     buffer: UnsafeBufferPointer(start: copy.baseAddress!.assumingMemoryBound(to: UInt8.self), count: buffer.count),
    |                                                        `- warning: capture of 'copy' with non-Sendable type 'UnsafeMutableRawBufferPointer' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
697 |                     timeout: timeout ?? self.transmitterTimeoutValue,
698 |                     callback: callback ?? self.transmitterProtocol ?? self,
Swift.UnsafeMutableRawBufferPointer:1:23: note: struct 'UnsafeMutableRawBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawBufferPointer {
  |                       `- note: struct 'UnsafeMutableRawBufferPointer' does not conform to the 'Sendable' protocol
2 |     @inlinable public init(start: UnsafeMutableRawPointer?, count: Int)
3 | }
/host/spi-builder-workspace/Sources/SwifterSockets/Connection.swift:696:118: warning: capture of 'buffer' with non-Sendable type 'UnsafeBufferPointer<UInt8>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
694 |
695 |                 _ = self.interface?.transfer(
696 |                     buffer: UnsafeBufferPointer(start: copy.baseAddress!.assumingMemoryBound(to: UInt8.self), count: buffer.count),
    |                                                                                                                      `- warning: capture of 'buffer' with non-Sendable type 'UnsafeBufferPointer<UInt8>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
697 |                     timeout: timeout ?? self.transmitterTimeoutValue,
698 |                     callback: callback ?? self.transmitterProtocol ?? self,
Swift.UnsafeBufferPointer:1:23: note: generic struct 'UnsafeBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeBufferPointer<Element> : Copyable where Element : ~Copyable {
  |                       `- note: generic struct 'UnsafeBufferPointer' does not conform to the 'Sendable' protocol
2 |     public let count: Int
3 |     @inlinable public init(start: UnsafePointer<Element>?, count: Int)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[17/20] Compiling SwifterSockets Connection.swift
/host/spi-builder-workspace/Sources/SwifterSockets/Connection.swift:544:29: warning: capture of 'buffer' with non-Sendable type 'UnsafeBufferPointer<UInt8>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
542 |
543 |                 _ = self.interface?.transfer(
544 |                     buffer: buffer,
    |                             `- warning: capture of 'buffer' with non-Sendable type 'UnsafeBufferPointer<UInt8>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
545 |                     timeout: timeout ?? self.transmitterTimeoutValue,
546 |                     callback: callback ?? self.transmitterProtocol ?? self,
Swift.UnsafeBufferPointer:1:23: note: generic struct 'UnsafeBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeBufferPointer<Element> : Copyable where Element : ~Copyable {
  |                       `- note: generic struct 'UnsafeBufferPointer' does not conform to the 'Sendable' protocol
2 |     public let count: Int
3 |     @inlinable public init(start: UnsafePointer<Element>?, count: Int)
/host/spi-builder-workspace/Sources/SwifterSockets/Connection.swift:696:56: warning: capture of 'copy' with non-Sendable type 'UnsafeMutableRawBufferPointer' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
694 |
695 |                 _ = self.interface?.transfer(
696 |                     buffer: UnsafeBufferPointer(start: copy.baseAddress!.assumingMemoryBound(to: UInt8.self), count: buffer.count),
    |                                                        `- warning: capture of 'copy' with non-Sendable type 'UnsafeMutableRawBufferPointer' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
697 |                     timeout: timeout ?? self.transmitterTimeoutValue,
698 |                     callback: callback ?? self.transmitterProtocol ?? self,
Swift.UnsafeMutableRawBufferPointer:1:23: note: struct 'UnsafeMutableRawBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawBufferPointer {
  |                       `- note: struct 'UnsafeMutableRawBufferPointer' does not conform to the 'Sendable' protocol
2 |     @inlinable public init(start: UnsafeMutableRawPointer?, count: Int)
3 | }
/host/spi-builder-workspace/Sources/SwifterSockets/Connection.swift:696:118: warning: capture of 'buffer' with non-Sendable type 'UnsafeBufferPointer<UInt8>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
694 |
695 |                 _ = self.interface?.transfer(
696 |                     buffer: UnsafeBufferPointer(start: copy.baseAddress!.assumingMemoryBound(to: UInt8.self), count: buffer.count),
    |                                                                                                                      `- warning: capture of 'buffer' with non-Sendable type 'UnsafeBufferPointer<UInt8>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
697 |                     timeout: timeout ?? self.transmitterTimeoutValue,
698 |                     callback: callback ?? self.transmitterProtocol ?? self,
Swift.UnsafeBufferPointer:1:23: note: generic struct 'UnsafeBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeBufferPointer<Element> : Copyable where Element : ~Copyable {
  |                       `- note: generic struct 'UnsafeBufferPointer' does not conform to the 'Sendable' protocol
2 |     public let count: Int
3 |     @inlinable public init(start: UnsafePointer<Element>?, count: Int)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[18/20] Compiling SwifterSockets ConnectionPool.swift
/host/spi-builder-workspace/Sources/SwifterSockets/Connection.swift:544:29: warning: capture of 'buffer' with non-Sendable type 'UnsafeBufferPointer<UInt8>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
542 |
543 |                 _ = self.interface?.transfer(
544 |                     buffer: buffer,
    |                             `- warning: capture of 'buffer' with non-Sendable type 'UnsafeBufferPointer<UInt8>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
545 |                     timeout: timeout ?? self.transmitterTimeoutValue,
546 |                     callback: callback ?? self.transmitterProtocol ?? self,
Swift.UnsafeBufferPointer:1:23: note: generic struct 'UnsafeBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeBufferPointer<Element> : Copyable where Element : ~Copyable {
  |                       `- note: generic struct 'UnsafeBufferPointer' does not conform to the 'Sendable' protocol
2 |     public let count: Int
3 |     @inlinable public init(start: UnsafePointer<Element>?, count: Int)
/host/spi-builder-workspace/Sources/SwifterSockets/Connection.swift:696:56: warning: capture of 'copy' with non-Sendable type 'UnsafeMutableRawBufferPointer' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
694 |
695 |                 _ = self.interface?.transfer(
696 |                     buffer: UnsafeBufferPointer(start: copy.baseAddress!.assumingMemoryBound(to: UInt8.self), count: buffer.count),
    |                                                        `- warning: capture of 'copy' with non-Sendable type 'UnsafeMutableRawBufferPointer' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
697 |                     timeout: timeout ?? self.transmitterTimeoutValue,
698 |                     callback: callback ?? self.transmitterProtocol ?? self,
Swift.UnsafeMutableRawBufferPointer:1:23: note: struct 'UnsafeMutableRawBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawBufferPointer {
  |                       `- note: struct 'UnsafeMutableRawBufferPointer' does not conform to the 'Sendable' protocol
2 |     @inlinable public init(start: UnsafeMutableRawPointer?, count: Int)
3 | }
/host/spi-builder-workspace/Sources/SwifterSockets/Connection.swift:696:118: warning: capture of 'buffer' with non-Sendable type 'UnsafeBufferPointer<UInt8>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
694 |
695 |                 _ = self.interface?.transfer(
696 |                     buffer: UnsafeBufferPointer(start: copy.baseAddress!.assumingMemoryBound(to: UInt8.self), count: buffer.count),
    |                                                                                                                      `- warning: capture of 'buffer' with non-Sendable type 'UnsafeBufferPointer<UInt8>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
697 |                     timeout: timeout ?? self.transmitterTimeoutValue,
698 |                     callback: callback ?? self.transmitterProtocol ?? self,
Swift.UnsafeBufferPointer:1:23: note: generic struct 'UnsafeBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeBufferPointer<Element> : Copyable where Element : ~Copyable {
  |                       `- note: generic struct 'UnsafeBufferPointer' does not conform to the 'Sendable' protocol
2 |     public let count: Int
3 |     @inlinable public init(start: UnsafePointer<Element>?, count: Int)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[19/20] Compiling SwifterSockets ReceiverProtocol.swift
[20/20] Compiling SwifterSockets ServerProtocol.swift
Build complete! (10.06s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwifterSockets",
  "name" : "SwifterSockets",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "SwifterSockets",
      "targets" : [
        "SwifterSockets"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4",
    "4.2",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SwifterSockets",
      "module_type" : "SwiftTarget",
      "name" : "SwifterSockets",
      "path" : "Sources/SwifterSockets",
      "product_memberships" : [
        "SwifterSockets"
      ],
      "sources" : [
        "ConnectToTipServer.swift",
        "Connection.swift",
        "ConnectionPool.swift",
        "FileDescriptorMacros.swift",
        "InterfaceAccess.swift",
        "ReceiverProtocol.swift",
        "ServerProtocol.swift",
        "SetupTipServer.swift",
        "SwifterSocketsResult.swift",
        "SwifterSocketsUtils.swift",
        "TipAccept.swift",
        "TipInterface.swift",
        "TipReceiverLoop.swift",
        "TipServer.swift",
        "TipTransfer.swift",
        "TransmitterProtocol.swift",
        "WaitForSelect.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.