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.0 for macOS (SPM) on 3 Jan 2025 02:37:39 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.0
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
Fetching https://github.com/apple/swift-system
[1/3960] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.97s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.4.0 (0.48s)
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/1064] Fetching socket
Fetched https://github.com/PureSwift/Socket.git from cache (0.92s)
Fetching https://github.com/apple/swift-system from cache
Fetched https://github.com/apple/swift-system from cache (0.49s)
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 main (fa5f3c5)
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
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.2.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
[3/5] Compiling CSocket shims.c
[4/5] Write swift-version-5BDAB9E9C0126B9D.txt
[6/33] Emitting module SystemPackage
[7/36] Compiling SystemPackage FilePermissions.swift
[8/36] Compiling SystemPackage Backcompat.swift
[9/36] Compiling SystemPackage CInterop.swift
[10/36] Compiling SystemPackage FilePathString.swift
[11/36] Compiling SystemPackage FilePathSyntax.swift
[12/36] Compiling SystemPackage FilePathTemp.swift
[13/36] Compiling SystemPackage FilePathTempPosix.swift
[14/36] Compiling SystemPackage FilePathTempWindows.swift
[15/36] Compiling SystemPackage FilePathWindows.swift
[16/36] Compiling SystemPackage RawBuffer.swift
[17/36] Compiling SystemPackage Syscalls.swift
[18/36] Compiling SystemPackage WindowsSyscallAdapters.swift
[19/36] Compiling SystemPackage MachPort.swift
[20/36] Compiling SystemPackage PlatformString.swift
[21/36] Compiling SystemPackage SystemString.swift
[22/36] Compiling SystemPackage FileHelpers.swift
[23/36] Compiling SystemPackage FileOperations.swift
[24/36] Compiling SystemPackage FilePath.swift
[25/36] Compiling SystemPackage Constants.swift
[26/36] Compiling SystemPackage Exports.swift
[27/36] Compiling SystemPackage Mocking.swift
[28/36] Compiling SystemPackage FilePathComponentView.swift
[29/36] Compiling SystemPackage FilePathComponents.swift
[30/36] Compiling SystemPackage FilePathParsing.swift
[31/36] Compiling SystemPackage Errno.swift
[32/36] Compiling SystemPackage ErrnoWindows.swift
[33/36] Compiling SystemPackage FileDescriptor.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/80] Compiling Socket FileChange.swift
[42/80] Compiling Socket FileEvent.swift
[43/80] Compiling Socket FileFlags.swift
[44/80] Compiling Socket IOControl.swift
[45/80] Compiling Socket IODirection.swift
[46/80] Compiling Socket CInternetAddress.swift
[47/80] Compiling Socket CInterop.swift
[48/80] Compiling Socket CSocketAddress.swift
[49/80] Compiling Socket Constants.swift
[50/80] Compiling Socket Errno.swift
[51/80] Compiling Socket SocketOperations.swift
[52/80] Compiling Socket SocketOption.swift
[53/80] Compiling Socket SocketOptionID.swift
[54/80] Compiling Socket SocketOptionLevel.swift
[55/80] Compiling Socket NetworkInterface.swift
[56/80] Compiling Socket NetworkOrder.swift
[57/80] Compiling Socket Poll.swift
[58/80] Compiling Socket SocketAddress.swift
[59/80] Compiling Socket SocketProtocol.swift
[60/80] Compiling Socket IPv4Protocol.swift
[61/80] Compiling Socket IPv6Protocol.swift
[62/80] Compiling Socket LinkLayerProtocol.swift
[63/80] Compiling Socket UnixProtocol.swift
[64/80] Compiling Socket SocketType.swift
[65/80] Compiling Socket Syscalls.swift
[66/80] Compiling Socket Util.swift
[67/80] Compiling Socket IOOperations.swift
[68/80] Compiling Socket IOType.swift
[69/80] Compiling Socket InternetProtocol.swift
[70/80] Compiling Socket MessageFlags.swift
[71/80] Emitting module Socket
[72/80] Compiling Socket IPv4SocketAddress.swift
[73/80] Compiling Socket IPv6SocketAddress.swift
[74/80] Compiling Socket LinkLayerSocketAddress.swift
[75/80] Compiling Socket UnixSocketAddress.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! (14.30s)
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.