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 0.5.1 (9d27d8), with Swift 6.1 for macOS (SPM) on 25 Jul 2025 20:35:31 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PureSwift/Socket.git
Reference: 0.5.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/PureSwift/Socket
 * tag               0.5.1      -> FETCH_HEAD
HEAD is now at 9d27d8b Update GitHub CI
Cloned https://github.com/PureSwift/Socket.git
Revision (git rev-parse @):
9d27d8b6619e80f4e7966acd23bf3663f1374f64
SUCCESS checkout https://github.com/PureSwift/Socket.git at 0.5.1
Fetching https://github.com/apple/swift-system from cache
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-system from cache (0.75s)
Fetched https://github.com/apple/swift-log.git from cache (0.76s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.0 (1.26s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.46s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "socket",
      "name": "Socket",
      "url": "https://github.com/PureSwift/Socket.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Socket",
      "dependencies": [
        {
          "identity": "swift-system",
          "name": "swift-system",
          "url": "https://github.com/apple/swift-system",
          "version": "1.6.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/PureSwift/Socket.git
[1/1321] Fetching socket
Fetched https://github.com/PureSwift/Socket.git from cache (0.83s)
Fetching https://github.com/apple/swift-system from cache
Fetched https://github.com/apple/swift-system from cache (0.48s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.0 (0.54s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.0
Creating working copy for https://github.com/PureSwift/Socket.git
Working copy of https://github.com/PureSwift/Socket.git resolved at 0.5.1 (9d27d8b)
warning: '.resolve-product-dependencies': dependency 'socket' is not used by any target
Found 1 product dependencies
  - swift-system
========================================
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.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "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",
      "product_dependencies" : [
        "Logging"
      ],
      "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/SocketEvent.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/TCPSocketOption.swift",
        "System/Util.swift"
      ],
      "target_dependencies" : [
        "CSocket"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSocket",
      "module_type" : "ClangTarget",
      "name" : "CSocket",
      "path" : "Sources/CSocket",
      "product_memberships" : [
        "Socket"
      ],
      "sources" : [
        "android.c",
        "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/6] Write sources
[2/6] Compiling CSocket android.c
[3/6] Compiling CSystem shims.c
[4/6] Compiling CSocket shims.c
[5/6] Write swift-version-2F0A5646E1D333AE.txt
[7/34] Emitting module SystemPackage
[8/37] Compiling SystemPackage FilePathTempPosix.swift
[9/37] Compiling SystemPackage FilePathTempWindows.swift
[10/37] Compiling SystemPackage FilePathWindows.swift
[11/37] Compiling SystemPackage Errno.swift
[12/37] Compiling SystemPackage ErrnoWindows.swift
[13/37] Compiling SystemPackage FileDescriptor.swift
[14/37] Compiling SystemPackage FileHelpers.swift
[15/37] Compiling SystemPackage FileOperations.swift
[16/37] Compiling SystemPackage FilePath.swift
[17/37] Compiling SystemPackage Util+StringArray.swift
[18/37] Compiling SystemPackage Util.swift
[19/37] Compiling SystemPackage UtilConsumers.swift
[20/37] Compiling SystemPackage FilePathComponentView.swift
[21/37] Compiling SystemPackage FilePathComponents.swift
[22/37] Compiling SystemPackage FilePathParsing.swift
[23/37] Compiling SystemPackage FilePathString.swift
[24/37] Compiling SystemPackage FilePathSyntax.swift
[25/37] Compiling SystemPackage FilePathTemp.swift
[26/37] Compiling SystemPackage RawBuffer.swift
[27/37] Compiling SystemPackage Syscalls.swift
[28/37] Compiling SystemPackage WindowsSyscallAdapters.swift
[29/37] Compiling SystemPackage FilePermissions.swift
[30/37] Compiling SystemPackage Backcompat.swift
[31/37] Compiling SystemPackage CInterop.swift
[32/37] Compiling SystemPackage Constants.swift
[33/37] Compiling SystemPackage Exports.swift
[34/37] Compiling SystemPackage Mocking.swift
[35/37] Compiling SystemPackage MachPort.swift
[36/37] Compiling SystemPackage PlatformString.swift
[37/37] Compiling SystemPackage SystemString.swift
[38/79] Emitting module Socket
[39/83] Compiling Socket FileChange.swift
[40/83] Compiling Socket FileEvent.swift
[41/83] Compiling Socket FileFlags.swift
[42/83] Compiling Socket IOControl.swift
[43/83] Compiling Socket IODirection.swift
[44/83] Compiling Socket IPv4Protocol.swift
[45/83] Compiling Socket IPv6Protocol.swift
[46/83] Compiling Socket LinkLayerProtocol.swift
[47/83] Compiling Socket UnixProtocol.swift
[48/83] Compiling Socket CInternetAddress.swift
[49/83] Compiling Socket CInterop.swift
[50/83] Compiling Socket CSocketAddress.swift
[51/83] Compiling Socket Constants.swift
[52/83] Compiling Socket Errno.swift
[53/83] Compiling Socket NetworkOrder.swift
[54/83] Compiling Socket Poll.swift
[55/83] Compiling Socket SocketAddress.swift
[56/83] Compiling Socket IPv4SocketAddress.swift
[57/83] Compiling Socket IPv6SocketAddress.swift
[58/83] Compiling Socket IOOperations.swift
[59/83] Compiling Socket IOType.swift
[60/83] Compiling Socket InternetProtocol.swift
[61/83] Compiling Socket MessageFlags.swift
[62/83] Compiling Socket NetworkInterface.swift
[63/83] Compiling Socket SocketType.swift
[64/83] Compiling Socket Syscalls.swift
[65/83] Compiling Socket TCPSocketOption.swift
[66/83] Compiling Socket Util.swift
[67/83] Compiling Socket SocketEvent.swift
[68/83] Compiling Socket SocketFlags.swift
[69/83] Compiling Socket SocketHelpers.swift
[70/83] Compiling Socket SocketOperations.swift
[71/83] Compiling Socket SocketOption.swift
[72/83] Compiling Socket SocketOptionID.swift
[73/83] Compiling Socket SocketOptionLevel.swift
[74/83] Compiling Socket SocketProtocol.swift
[75/83] Compiling Socket LinkLayerSocketAddress.swift
[76/83] Compiling Socket UnixSocketAddress.swift
[77/83] Compiling Socket SocketAddressFamily.swift
[78/83] Compiling Socket SocketDescriptor.swift
[79/83] Compiling Socket Socket.swift
[80/83] Compiling Socket SocketContinuation.swift
[81/83] Compiling Socket SocketManager.swift
[82/83] Compiling Socket AsyncSocketManager.swift
[83/83] Compiling Socket CFSocketManager.swift
Build complete! (6.69s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "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",
      "product_dependencies" : [
        "Logging"
      ],
      "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/SocketEvent.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/TCPSocketOption.swift",
        "System/Util.swift"
      ],
      "target_dependencies" : [
        "CSocket"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSocket",
      "module_type" : "ClangTarget",
      "name" : "CSocket",
      "path" : "Sources/CSocket",
      "product_memberships" : [
        "Socket"
      ],
      "sources" : [
        "android.c",
        "shims.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.