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 (fa5f3c), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 21:46:19 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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PureSwift/Socket.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/PureSwift/Socket
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at fa5f3c5 Merge pull request #9 from lyrise/work-around-a-swift-compiler-bug
Cloned https://github.com/PureSwift/Socket.git
Revision (git rev-parse @):
fa5f3c58ae1e72a5f1e996dc41dacedafecb8c30
SUCCESS checkout https://github.com/PureSwift/Socket.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/PureSwift/Socket.git
https://github.com/PureSwift/Socket.git
{
  "dependencies" : [
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "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" : "6.0"
}
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
Building for debugging...
[0/5] Write sources
[2/5] Compiling CSystem shims.c
[2/5] Compiling CSocket shims.c
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/33] Emitting module SystemPackage
[7/36] Compiling SystemPackage Errno.swift
[8/36] Compiling SystemPackage ErrnoWindows.swift
[9/36] Compiling SystemPackage FileDescriptor.swift
[10/36] Compiling SystemPackage Util+StringArray.swift
[11/36] Compiling SystemPackage Util.swift
[12/36] Compiling SystemPackage UtilConsumers.swift
[13/36] Compiling SystemPackage FilePathComponentView.swift
[14/36] Compiling SystemPackage FilePathComponents.swift
[15/36] Compiling SystemPackage FilePathParsing.swift
[16/36] Compiling SystemPackage RawBuffer.swift
[17/36] Compiling SystemPackage Syscalls.swift
[18/36] Compiling SystemPackage WindowsSyscallAdapters.swift
[19/36] Compiling SystemPackage FilePathTempPosix.swift
[20/36] Compiling SystemPackage FilePathTempWindows.swift
[21/36] Compiling SystemPackage FilePathWindows.swift
[22/36] Compiling SystemPackage FilePermissions.swift
[23/36] Compiling SystemPackage Backcompat.swift
[24/36] Compiling SystemPackage CInterop.swift
[25/36] Compiling SystemPackage Constants.swift
[26/36] Compiling SystemPackage Exports.swift
[27/36] Compiling SystemPackage Mocking.swift
[28/36] Compiling SystemPackage FilePathString.swift
[29/36] Compiling SystemPackage FilePathSyntax.swift
[30/36] Compiling SystemPackage FilePathTemp.swift
[31/36] Compiling SystemPackage MachPort.swift
[32/36] Compiling SystemPackage PlatformString.swift
[33/36] Compiling SystemPackage SystemString.swift
[34/36] Compiling SystemPackage FileHelpers.swift
[35/36] Compiling SystemPackage FileOperations.swift
[36/36] Compiling SystemPackage FilePath.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/80] Compiling Socket SocketOperations.swift
[42/80] Compiling Socket SocketOption.swift
[43/80] Compiling Socket SocketOptionID.swift
[44/80] Compiling Socket SocketOptionLevel.swift
[45/80] Compiling Socket NetworkInterface.swift
[46/80] Compiling Socket NetworkOrder.swift
[47/80] Compiling Socket Poll.swift
[48/80] Compiling Socket SocketAddress.swift
[49/80] Compiling Socket IOOperations.swift
[50/80] Compiling Socket IOType.swift
[51/80] Compiling Socket InternetProtocol.swift
[52/80] Compiling Socket MessageFlags.swift
[53/80] Compiling Socket UnixProtocol.swift
[54/80] Compiling Socket SocketType.swift
[55/80] Compiling Socket Syscalls.swift
[56/80] Compiling Socket Util.swift
[57/80] Compiling Socket FileChange.swift
[58/80] Compiling Socket FileEvent.swift
[59/80] Compiling Socket FileFlags.swift
[60/80] Compiling Socket IOControl.swift
[61/80] Compiling Socket IODirection.swift
[62/80] Emitting module Socket
[63/80] Compiling Socket SocketProtocol.swift
[64/80] Compiling Socket IPv4Protocol.swift
[65/80] Compiling Socket IPv6Protocol.swift
[66/80] Compiling Socket LinkLayerProtocol.swift
[67/80] Compiling Socket IPv4SocketAddress.swift
[68/80] Compiling Socket IPv6SocketAddress.swift
[69/80] Compiling Socket LinkLayerSocketAddress.swift
[70/80] Compiling Socket UnixSocketAddress.swift
[71/80] Compiling Socket CInternetAddress.swift
[72/80] Compiling Socket CInterop.swift
[73/80] Compiling Socket CSocketAddress.swift
[74/80] Compiling Socket Constants.swift
[75/80] Compiling Socket Errno.swift
[76/80] Compiling Socket Socket.swift
[77/80] Compiling Socket SocketContinuation.swift
[78/80] Compiling Socket SocketManager.swift
[79/80] Compiling Socket AsyncSocketManager.swift
[80/80] Compiling Socket CFSocketManager.swift
Build complete! (7.87s)
Fetching https://github.com/apple/swift-system from cache
Fetched https://github.com/apple/swift-system from cache (0.56s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.4.2 (1.03s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.4.2
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "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" : "6.0"
}
Done.