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.4.0 (253aef), with Swift 6.0 for macOS (SPM) on 3 Dec 2024 02:45:53 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats

Build Log

========================================
RunAll
========================================
Builder version: 4.58.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PureSwift/Socket.git
Reference: 0.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/PureSwift/Socket
 * tag               0.4.0      -> FETCH_HEAD
HEAD is now at 253aef8 Add `Sendable` conformance
Cloned https://github.com/PureSwift/Socket.git
Revision (git rev-parse @):
253aef83213691b705dfeec8e20bfd7a72219fec
SUCCESS checkout https://github.com/PureSwift/Socket.git at 0.4.0
Fetching https://github.com/apple/swift-system
[1/3919] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (1.00s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.4.0 (0.46s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.4.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.4.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/PureSwift/Socket.git
[1/1057] Fetching socket
Fetched https://github.com/PureSwift/Socket.git from cache (0.89s)
Fetching https://github.com/apple/swift-system from cache
Fetched https://github.com/apple/swift-system from cache (0.59s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.4.0 (0.02s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.4.0
Creating working copy for https://github.com/PureSwift/Socket.git
Working copy of https://github.com/PureSwift/Socket.git resolved at 0.4.0 (253aef8)
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.0
Building package at path:  $PWD
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.1.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--7754E27361AE5C74.txt
[6/33] Emitting module SystemPackage
[7/36] Compiling SystemPackage FilePathString.swift
[8/36] Compiling SystemPackage FilePathSyntax.swift
[9/36] Compiling SystemPackage FilePathTemp.swift
[10/36] Compiling SystemPackage FilePathTempPosix.swift
[11/36] Compiling SystemPackage FilePathTempWindows.swift
[12/36] Compiling SystemPackage FilePathWindows.swift
[13/36] Compiling SystemPackage RawBuffer.swift
[14/36] Compiling SystemPackage Syscalls.swift
[15/36] Compiling SystemPackage WindowsSyscallAdapters.swift
[16/36] Compiling SystemPackage FileHelpers.swift
[17/36] Compiling SystemPackage FileOperations.swift
[18/36] Compiling SystemPackage FilePath.swift
[19/36] Compiling SystemPackage FilePermissions.swift
[20/36] Compiling SystemPackage Backcompat.swift
[21/36] Compiling SystemPackage CInterop.swift
[22/36] Compiling SystemPackage MachPort.swift
[23/36] Compiling SystemPackage PlatformString.swift
[24/36] Compiling SystemPackage SystemString.swift
[25/36] Compiling SystemPackage Errno.swift
[26/36] Compiling SystemPackage ErrnoWindows.swift
[27/36] Compiling SystemPackage FileDescriptor.swift
[28/36] Compiling SystemPackage FilePathComponentView.swift
[29/36] Compiling SystemPackage FilePathComponents.swift
[30/36] Compiling SystemPackage FilePathParsing.swift
[31/36] Compiling SystemPackage Constants.swift
[32/36] Compiling SystemPackage Exports.swift
[33/36] Compiling SystemPackage Mocking.swift
[34/36] Compiling SystemPackage Util+StringArray.swift
[35/36] Compiling SystemPackage Util.swift
[36/36] Compiling SystemPackage UtilConsumers.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 FileChange.swift
[42/76] Compiling Socket FileEvent.swift
[43/76] Compiling Socket FileFlags.swift
[44/76] Compiling Socket IOControl.swift
[45/76] Compiling Socket IODirection.swift
[46/80] Compiling Socket SocketProtocol.swift
[47/80] Compiling Socket IPv4Protocol.swift
[48/80] Compiling Socket IPv6Protocol.swift
[49/80] Compiling Socket LinkLayerProtocol.swift
[50/80] Compiling Socket SocketOperations.swift
[51/80] Compiling Socket SocketOption.swift
[52/80] Compiling Socket SocketOptionID.swift
[53/80] Compiling Socket SocketOptionLevel.swift
[54/80] Compiling Socket NetworkInterface.swift
[55/80] Compiling Socket NetworkOrder.swift
[56/80] Compiling Socket Poll.swift
[57/80] Compiling Socket SocketAddress.swift
[58/80] Compiling Socket UnixProtocol.swift
[59/80] Compiling Socket SocketType.swift
[60/80] Compiling Socket Syscalls.swift
[61/80] Compiling Socket Util.swift
[62/80] Compiling Socket IOOperations.swift
[63/80] Compiling Socket IOType.swift
[64/80] Compiling Socket InternetProtocol.swift
[65/80] Compiling Socket MessageFlags.swift
[66/80] Compiling Socket CInternetAddress.swift
[67/80] Compiling Socket CInterop.swift
[68/80] Compiling Socket CSocketAddress.swift
[69/80] Compiling Socket Constants.swift
[70/80] Compiling Socket Errno.swift
[71/80] Compiling Socket IPv4SocketAddress.swift
[72/80] Compiling Socket IPv6SocketAddress.swift
[73/80] Compiling Socket LinkLayerSocketAddress.swift
[74/80] Compiling Socket UnixSocketAddress.swift
[75/80] Emitting module Socket
[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! (15.02s)
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.