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 Socket, reference main (9945ad), with Swift 6.2 (beta) for macOS (SPM) on 21 Jun 2025 13:21:11 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/stackotter/Socket.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/stackotter/Socket
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9945adf Fix pointer related build warnings
Cloned https://github.com/stackotter/Socket.git
Revision (git rev-parse @):
9945adfb7b2b089b1f9963db31544f604d260293
SUCCESS checkout https://github.com/stackotter/Socket.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/stackotter/Socket.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[2/5] Compiling CSocket shims.c
[2/5] Compiling CSystem shims.c
[4/5] Write swift-version-1EA4D86E10B52AF.txt
[6/33] Emitting module SystemPackage
[7/36] Compiling SystemPackage FileHelpers.swift
[8/36] Compiling SystemPackage FileOperations.swift
[9/36] Compiling SystemPackage FilePath.swift
[10/36] Compiling SystemPackage Util+StringArray.swift
[11/36] Compiling SystemPackage Util.swift
[12/36] Compiling SystemPackage UtilConsumers.swift
[13/36] Compiling SystemPackage FilePathTempPosix.swift
[14/36] Compiling SystemPackage FilePathTempWindows.swift
[15/36] Compiling SystemPackage FilePathWindows.swift
[16/36] Compiling SystemPackage FilePathString.swift
[17/36] Compiling SystemPackage FilePathSyntax.swift
[18/36] Compiling SystemPackage FilePathTemp.swift
[19/36] Compiling SystemPackage FilePathComponentView.swift
[20/36] Compiling SystemPackage FilePathComponents.swift
[21/36] Compiling SystemPackage FilePathParsing.swift
[22/36] Compiling SystemPackage Errno.swift
[23/36] Compiling SystemPackage ErrnoWindows.swift
[24/36] Compiling SystemPackage FileDescriptor.swift
[25/36] Compiling SystemPackage FilePermissions.swift
[26/36] Compiling SystemPackage Backcompat.swift
[27/36] Compiling SystemPackage CInterop.swift
[28/36] Compiling SystemPackage RawBuffer.swift
[29/36] Compiling SystemPackage Syscalls.swift
[30/36] Compiling SystemPackage WindowsSyscallAdapters.swift
[31/36] Compiling SystemPackage Constants.swift
[32/36] Compiling SystemPackage Exports.swift
[33/36] Compiling SystemPackage Mocking.swift
[34/36] Compiling SystemPackage MachPort.swift
[35/36] Compiling SystemPackage PlatformString.swift
[36/36] Compiling SystemPackage SystemString.swift
[37/76] Compiling Socket SocketAddressFamily.swift
[38/76] Compiling Socket SocketDescriptor.swift
[39/76] Compiling Socket SocketFlags.swift
[40/76] Compiling Socket SocketHelpers.swift
[41/76] Compiling Socket IOOperations.swift
[42/76] Compiling Socket IOType.swift
[43/76] Compiling Socket InternetProtocol.swift
[44/76] Compiling Socket MessageFlags.swift
[45/80] Compiling Socket FileChange.swift
[46/80] Compiling Socket FileEvent.swift
[47/80] Compiling Socket FileFlags.swift
[48/80] Compiling Socket IOControl.swift
[49/80] Compiling Socket IODirection.swift
[50/80] Emitting module Socket
/Users/admin/builder/spi-builder-workspace/Sources/Socket/System/NetworkInterface.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
  7 |
  8 | import SystemPackage
  9 | @_implementationOnly import CSocket
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 10 |
 11 | /// UNIX Network Interface
/Users/admin/builder/spi-builder-workspace/Sources/Socket/System/SocketAddress/LinkLayerSocketAddress.swift:11:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 9 | import Foundation
10 | import SystemPackage
11 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
12 |
13 | /// Unix Socket Address
/Users/admin/builder/spi-builder-workspace/Sources/Socket/System/SocketType.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 3 | #endif
 4 | import SystemPackage
 5 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 6 |
 7 | /// POSIX Socket Type
[51/80] Compiling Socket NetworkInterface.swift
/Users/admin/builder/spi-builder-workspace/Sources/Socket/System/NetworkInterface.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
  7 |
  8 | import SystemPackage
  9 | @_implementationOnly import CSocket
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 10 |
 11 | /// UNIX Network Interface
[52/80] Compiling Socket NetworkOrder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Socket/System/NetworkInterface.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
  7 |
  8 | import SystemPackage
  9 | @_implementationOnly import CSocket
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 10 |
 11 | /// UNIX Network Interface
[53/80] Compiling Socket Poll.swift
/Users/admin/builder/spi-builder-workspace/Sources/Socket/System/NetworkInterface.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
  7 |
  8 | import SystemPackage
  9 | @_implementationOnly import CSocket
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 10 |
 11 | /// UNIX Network Interface
[54/80] Compiling Socket SocketAddress.swift
/Users/admin/builder/spi-builder-workspace/Sources/Socket/System/NetworkInterface.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
  7 |
  8 | import SystemPackage
  9 | @_implementationOnly import CSocket
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 10 |
 11 | /// UNIX Network Interface
[55/80] Compiling Socket CInternetAddress.swift
[56/80] Compiling Socket CInterop.swift
[57/80] Compiling Socket CSocketAddress.swift
[58/80] Compiling Socket Constants.swift
[59/80] Compiling Socket Errno.swift
[60/80] Compiling Socket UnixProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/Socket/System/SocketType.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 3 | #endif
 4 | import SystemPackage
 5 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 6 |
 7 | /// POSIX Socket Type
[61/80] Compiling Socket SocketType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Socket/System/SocketType.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 3 | #endif
 4 | import SystemPackage
 5 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 6 |
 7 | /// POSIX Socket Type
[62/80] Compiling Socket Syscalls.swift
/Users/admin/builder/spi-builder-workspace/Sources/Socket/System/SocketType.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 3 | #endif
 4 | import SystemPackage
 5 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 6 |
 7 | /// POSIX Socket Type
[63/80] Compiling Socket Util.swift
/Users/admin/builder/spi-builder-workspace/Sources/Socket/System/SocketType.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 3 | #endif
 4 | import SystemPackage
 5 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 6 |
 7 | /// POSIX Socket Type
[64/80] Compiling Socket SocketProtocol.swift
[65/80] Compiling Socket IPv4Protocol.swift
[66/80] Compiling Socket IPv6Protocol.swift
[67/80] Compiling Socket LinkLayerProtocol.swift
[68/80] Compiling Socket IPv4SocketAddress.swift
/Users/admin/builder/spi-builder-workspace/Sources/Socket/System/SocketAddress/LinkLayerSocketAddress.swift:11:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 9 | import Foundation
10 | import SystemPackage
11 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
12 |
13 | /// Unix Socket Address
[69/80] Compiling Socket IPv6SocketAddress.swift
/Users/admin/builder/spi-builder-workspace/Sources/Socket/System/SocketAddress/LinkLayerSocketAddress.swift:11:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 9 | import Foundation
10 | import SystemPackage
11 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
12 |
13 | /// Unix Socket Address
[70/80] Compiling Socket LinkLayerSocketAddress.swift
/Users/admin/builder/spi-builder-workspace/Sources/Socket/System/SocketAddress/LinkLayerSocketAddress.swift:11:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 9 | import Foundation
10 | import SystemPackage
11 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
12 |
13 | /// Unix Socket Address
[71/80] Compiling Socket UnixSocketAddress.swift
/Users/admin/builder/spi-builder-workspace/Sources/Socket/System/SocketAddress/LinkLayerSocketAddress.swift:11:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
 9 | import Foundation
10 | import SystemPackage
11 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution
12 |
13 | /// Unix Socket Address
[72/80] Compiling Socket Socket.swift
/Users/admin/builder/spi-builder-workspace/Sources/Socket/SocketManager/CFSocketManager.swift:96:55: warning: capture of 'source' with non-sendable type 'CFRunLoopSource' in a '@Sendable' closure [#SendableClosureCaptures]
 94 |         // add to queue run loop
 95 |         configuration.queue.async {
 96 |             CFRunLoopAddSource(CFRunLoopGetCurrent(), source, CFRunLoopMode.commonModes)
    |                                                       `- warning: capture of 'source' with non-sendable type 'CFRunLoopSource' in a '@Sendable' closure [#SendableClosureCaptures]
 97 |         }
 98 |         fatalError()
CoreFoundation.CFRunLoopSource:1:14: note: class 'CFRunLoopSource' does not conform to the 'Sendable' protocol
1 | public class CFRunLoopSource : _CFObject {
  |              `- note: class 'CFRunLoopSource' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/Socket/SocketManager/CFSocketManager.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
  8 | #if canImport(Darwin)
  9 | import Foundation
 10 | import CoreFoundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
 11 | import Dispatch
 12 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[73/80] Compiling Socket SocketContinuation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Socket/SocketManager/CFSocketManager.swift:96:55: warning: capture of 'source' with non-sendable type 'CFRunLoopSource' in a '@Sendable' closure [#SendableClosureCaptures]
 94 |         // add to queue run loop
 95 |         configuration.queue.async {
 96 |             CFRunLoopAddSource(CFRunLoopGetCurrent(), source, CFRunLoopMode.commonModes)
    |                                                       `- warning: capture of 'source' with non-sendable type 'CFRunLoopSource' in a '@Sendable' closure [#SendableClosureCaptures]
 97 |         }
 98 |         fatalError()
CoreFoundation.CFRunLoopSource:1:14: note: class 'CFRunLoopSource' does not conform to the 'Sendable' protocol
1 | public class CFRunLoopSource : _CFObject {
  |              `- note: class 'CFRunLoopSource' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/Socket/SocketManager/CFSocketManager.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
  8 | #if canImport(Darwin)
  9 | import Foundation
 10 | import CoreFoundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
 11 | import Dispatch
 12 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[74/80] Compiling Socket SocketManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Socket/SocketManager/CFSocketManager.swift:96:55: warning: capture of 'source' with non-sendable type 'CFRunLoopSource' in a '@Sendable' closure [#SendableClosureCaptures]
 94 |         // add to queue run loop
 95 |         configuration.queue.async {
 96 |             CFRunLoopAddSource(CFRunLoopGetCurrent(), source, CFRunLoopMode.commonModes)
    |                                                       `- warning: capture of 'source' with non-sendable type 'CFRunLoopSource' in a '@Sendable' closure [#SendableClosureCaptures]
 97 |         }
 98 |         fatalError()
CoreFoundation.CFRunLoopSource:1:14: note: class 'CFRunLoopSource' does not conform to the 'Sendable' protocol
1 | public class CFRunLoopSource : _CFObject {
  |              `- note: class 'CFRunLoopSource' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/Socket/SocketManager/CFSocketManager.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
  8 | #if canImport(Darwin)
  9 | import Foundation
 10 | import CoreFoundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
 11 | import Dispatch
 12 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[75/80] Compiling Socket AsyncSocketManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Socket/SocketManager/CFSocketManager.swift:96:55: warning: capture of 'source' with non-sendable type 'CFRunLoopSource' in a '@Sendable' closure [#SendableClosureCaptures]
 94 |         // add to queue run loop
 95 |         configuration.queue.async {
 96 |             CFRunLoopAddSource(CFRunLoopGetCurrent(), source, CFRunLoopMode.commonModes)
    |                                                       `- warning: capture of 'source' with non-sendable type 'CFRunLoopSource' in a '@Sendable' closure [#SendableClosureCaptures]
 97 |         }
 98 |         fatalError()
CoreFoundation.CFRunLoopSource:1:14: note: class 'CFRunLoopSource' does not conform to the 'Sendable' protocol
1 | public class CFRunLoopSource : _CFObject {
  |              `- note: class 'CFRunLoopSource' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/Socket/SocketManager/CFSocketManager.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
  8 | #if canImport(Darwin)
  9 | import Foundation
 10 | import CoreFoundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
 11 | import Dispatch
 12 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[76/80] Compiling Socket CFSocketManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Socket/SocketManager/CFSocketManager.swift:96:55: warning: capture of 'source' with non-sendable type 'CFRunLoopSource' in a '@Sendable' closure [#SendableClosureCaptures]
 94 |         // add to queue run loop
 95 |         configuration.queue.async {
 96 |             CFRunLoopAddSource(CFRunLoopGetCurrent(), source, CFRunLoopMode.commonModes)
    |                                                       `- warning: capture of 'source' with non-sendable type 'CFRunLoopSource' in a '@Sendable' closure [#SendableClosureCaptures]
 97 |         }
 98 |         fatalError()
CoreFoundation.CFRunLoopSource:1:14: note: class 'CFRunLoopSource' does not conform to the 'Sendable' protocol
1 | public class CFRunLoopSource : _CFObject {
  |              `- note: class 'CFRunLoopSource' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/Socket/SocketManager/CFSocketManager.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
  8 | #if canImport(Darwin)
  9 | import Foundation
 10 | import CoreFoundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
 11 | import Dispatch
 12 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[77/80] Compiling Socket SocketOperations.swift
[78/80] Compiling Socket SocketOption.swift
[79/80] Compiling Socket SocketOptionID.swift
[80/80] Compiling Socket SocketOptionLevel.swift
Build complete! (7.32s)
Fetching https://github.com/apple/swift-system
[1/4436] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (1.10s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (1.53s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system"
    }
  ],
  "manifest_display_name" : "Socket",
  "name" : "Socket",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Socket",
      "targets" : [
        "Socket"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SocketTests",
      "module_type" : "SwiftTarget",
      "name" : "SocketTests",
      "path" : "Tests/SocketTests",
      "sources" : [
        "SocketTests.swift"
      ],
      "target_dependencies" : [
        "Socket"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Socket",
      "module_type" : "SwiftTarget",
      "name" : "Socket",
      "path" : "Sources/Socket",
      "product_dependencies" : [
        "SystemPackage"
      ],
      "product_memberships" : [
        "Socket"
      ],
      "sources" : [
        "Socket.swift",
        "SocketContinuation.swift",
        "SocketManager.swift",
        "SocketManager/AsyncSocketManager.swift",
        "SocketManager/CFSocketManager.swift",
        "System/CInternetAddress.swift",
        "System/CInterop.swift",
        "System/CSocketAddress.swift",
        "System/Constants.swift",
        "System/Errno.swift",
        "System/FileChange.swift",
        "System/FileEvent.swift",
        "System/FileFlags.swift",
        "System/InputOutput/IOControl.swift",
        "System/InputOutput/IODirection.swift",
        "System/InputOutput/IOOperations.swift",
        "System/InputOutput/IOType.swift",
        "System/InternetProtocol.swift",
        "System/MessageFlags.swift",
        "System/NetworkInterface.swift",
        "System/NetworkOrder.swift",
        "System/Poll.swift",
        "System/SocketAddress.swift",
        "System/SocketAddress/IPv4SocketAddress.swift",
        "System/SocketAddress/IPv6SocketAddress.swift",
        "System/SocketAddress/LinkLayerSocketAddress.swift",
        "System/SocketAddress/UnixSocketAddress.swift",
        "System/SocketAddressFamily.swift",
        "System/SocketDescriptor.swift",
        "System/SocketFlags.swift",
        "System/SocketHelpers.swift",
        "System/SocketOperations.swift",
        "System/SocketOption.swift",
        "System/SocketOptionID.swift",
        "System/SocketOptionLevel.swift",
        "System/SocketProtocol.swift",
        "System/SocketProtocol/IPv4Protocol.swift",
        "System/SocketProtocol/IPv6Protocol.swift",
        "System/SocketProtocol/LinkLayerProtocol.swift",
        "System/SocketProtocol/UnixProtocol.swift",
        "System/SocketType.swift",
        "System/Syscalls.swift",
        "System/Util.swift"
      ],
      "target_dependencies" : [
        "CSocket"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSocket",
      "module_type" : "ClangTarget",
      "name" : "CSocket",
      "path" : "Sources/CSocket",
      "product_memberships" : [
        "Socket"
      ],
      "sources" : [
        "shims.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.