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 Linux on 25 Jul 2025 20:26:24 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/PureSwift/Socket.git
https://github.com/PureSwift/Socket.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-log.git
[1/3867] Fetching swift-log
[3868/8526] Fetching swift-log, swift-system
Fetched https://github.com/apple/swift-system from cache (0.42s)
Fetched https://github.com/apple/swift-log.git from cache (0.42s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.0 (1.64s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.45s)
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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Building for debugging...
[0/6] Write sources
[2/6] Compiling CSocket android.c
[3/6] Compiling CSocket shims.c
[4/6] Compiling CSystem shims.c
[4/6] Write swift-version-24593BA9C3E375BF.txt
[7/37] Compiling SystemPackage FilePathWindows.swift
[8/37] Compiling SystemPackage FilePermissions.swift
[9/37] Compiling SystemPackage IOCompletion.swift
[10/37] Compiling SystemPackage IORequest.swift
[11/41] Compiling SystemPackage FilePathSyntax.swift
[12/41] Compiling SystemPackage FilePathTemp.swift
[13/41] Compiling SystemPackage FilePathTempPosix.swift
[14/41] Compiling SystemPackage FilePathTempWindows.swift
[15/41] Emitting module SystemPackage
[16/41] Compiling SystemPackage Errno.swift
[17/41] Compiling SystemPackage ErrnoWindows.swift
[18/41] Compiling SystemPackage FileDescriptor.swift
[19/41] Compiling SystemPackage FileHelpers.swift
[20/41] Compiling SystemPackage FileOperations.swift
[21/41] Compiling SystemPackage IORing.swift
[22/41] Compiling SystemPackage RawIORequest.swift
[23/41] Compiling SystemPackage Backcompat.swift
[24/41] Compiling SystemPackage CInterop.swift
[25/41] Compiling SystemPackage Constants.swift
[26/41] Compiling SystemPackage Exports.swift
[27/41] Compiling SystemPackage Mocking.swift
[28/41] Compiling SystemPackage RawBuffer.swift
[29/41] Compiling SystemPackage FilePath.swift
[30/41] Compiling SystemPackage FilePathComponentView.swift
[31/41] Compiling SystemPackage FilePathComponents.swift
[32/41] Compiling SystemPackage FilePathParsing.swift
[33/41] Compiling SystemPackage FilePathString.swift
[34/41] Compiling SystemPackage Syscalls.swift
[35/41] Compiling SystemPackage WindowsSyscallAdapters.swift
[36/41] Compiling SystemPackage MachPort.swift
[37/41] Compiling SystemPackage PlatformString.swift
[38/41] Compiling SystemPackage SystemString.swift
[39/41] Compiling SystemPackage Util+StringArray.swift
[40/41] Compiling SystemPackage Util.swift
[41/41] Compiling SystemPackage UtilConsumers.swift
[43/83] Compiling Socket FileFlags.swift
[44/83] Compiling Socket IOControl.swift
[45/83] Compiling Socket IODirection.swift
[46/83] Compiling Socket IOOperations.swift
[47/83] Compiling Socket IOType.swift
[48/83] Compiling Socket InternetProtocol.swift
[49/88] Emitting module Socket
[50/88] Compiling Socket UnixProtocol.swift
[51/88] Compiling Socket SocketType.swift
[52/88] Compiling Socket Syscalls.swift
[53/88] Compiling Socket TCPSocketOption.swift
[54/88] Compiling Socket Util.swift
[55/88] Compiling Socket SocketFlags.swift
[56/88] Compiling Socket SocketHelpers.swift
[57/88] Compiling Socket SocketOperations.swift
[58/88] Compiling Socket SocketOption.swift
[59/88] Compiling Socket SocketOptionID.swift
[60/88] Compiling Socket CInterop.swift
[61/88] Compiling Socket CSocketAddress.swift
[62/88] Compiling Socket Constants.swift
[63/88] Compiling Socket Errno.swift
[64/88] Compiling Socket FileChange.swift
[65/88] Compiling Socket FileEvent.swift
[66/88] Compiling Socket IPv6SocketAddress.swift
[67/88] Compiling Socket LinkLayerSocketAddress.swift
[68/88] Compiling Socket UnixSocketAddress.swift
[69/88] Compiling Socket SocketAddressFamily.swift
[70/88] Compiling Socket SocketDescriptor.swift
[71/88] Compiling Socket SocketEvent.swift
[72/88] Compiling Socket SocketOptionLevel.swift
[73/88] Compiling Socket SocketProtocol.swift
[74/88] Compiling Socket IPv4Protocol.swift
[75/88] Compiling Socket IPv6Protocol.swift
[76/88] Compiling Socket LinkLayerProtocol.swift
[77/88] Compiling Socket MessageFlags.swift
[78/88] Compiling Socket NetworkInterface.swift
[79/88] Compiling Socket NetworkOrder.swift
[80/88] Compiling Socket Poll.swift
[81/88] Compiling Socket SocketAddress.swift
[82/88] Compiling Socket IPv4SocketAddress.swift
[83/88] Compiling Socket Socket.swift
[84/88] Compiling Socket SocketContinuation.swift
[85/88] Compiling Socket SocketManager.swift
[86/88] Compiling Socket AsyncSocketManager.swift
[87/88] Compiling Socket CFSocketManager.swift
[88/88] Compiling Socket CInternetAddress.swift
Build complete! (12.27s)
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" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.