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.2 (beta) for Android on 25 Jul 2025 20:27:43 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 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:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/PureSwift/Socket.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system
[1/3867] Fetching swift-log
[3868/8526] Fetching swift-log, swift-system
Fetched https://github.com/apple/swift-system from cache (0.48s)
Fetched https://github.com/apple/swift-log.git 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.90s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.81s)
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
Building for debugging...
[0/6] Write sources
[2/6] Compiling CSocket android.c
[3/6] Compiling CSystem shims.c
[4/6] Write swift-version-8C5A4AE7A8CE2BA.txt
[5/6] Compiling CSocket shims.c
[7/37] Emitting module SystemPackage
[8/41] Compiling SystemPackage Errno.swift
[9/41] Compiling SystemPackage ErrnoWindows.swift
[10/41] Compiling SystemPackage FileDescriptor.swift
[11/41] Compiling SystemPackage FileHelpers.swift
[12/41] Compiling SystemPackage FileOperations.swift
[13/41] Compiling SystemPackage SystemString.swift
[14/41] Compiling SystemPackage Util+StringArray.swift
[15/41] Compiling SystemPackage Util.swift
[16/41] Compiling SystemPackage UtilConsumers.swift
[17/41] Compiling SystemPackage FilePathSyntax.swift
[18/41] Compiling SystemPackage FilePathTemp.swift
[19/41] Compiling SystemPackage FilePathTempPosix.swift
[20/41] Compiling SystemPackage FilePathTempWindows.swift
[21/41] Compiling SystemPackage FilePathWindows.swift
[22/41] Compiling SystemPackage FilePermissions.swift
[23/41] Compiling SystemPackage IOCompletion.swift
[24/41] Compiling SystemPackage IORequest.swift
[25/41] Compiling SystemPackage FilePath.swift
[26/41] Compiling SystemPackage FilePathComponentView.swift
[27/41] Compiling SystemPackage FilePathComponents.swift
[28/41] Compiling SystemPackage FilePathParsing.swift
[29/41] Compiling SystemPackage FilePathString.swift
[30/41] Compiling SystemPackage IORing.swift
[31/41] Compiling SystemPackage RawIORequest.swift
[32/41] Compiling SystemPackage Backcompat.swift
[33/41] Compiling SystemPackage CInterop.swift
[34/41] Compiling SystemPackage Constants.swift
[35/41] Compiling SystemPackage Exports.swift
[36/41] Compiling SystemPackage Mocking.swift
[37/41] Compiling SystemPackage RawBuffer.swift
[38/41] Compiling SystemPackage Syscalls.swift
[39/41] Compiling SystemPackage WindowsSyscallAdapters.swift
[40/41] Compiling SystemPackage MachPort.swift
[41/41] Compiling SystemPackage PlatformString.swift
[43/83] Emitting module Socket
[44/88] Compiling Socket MessageFlags.swift
[45/88] Compiling Socket NetworkInterface.swift
[46/88] Compiling Socket NetworkOrder.swift
[47/88] Compiling Socket Poll.swift
[48/88] Compiling Socket SocketAddress.swift
[49/88] Compiling Socket IPv4SocketAddress.swift
[50/88] Compiling Socket IPv6SocketAddress.swift
[51/88] Compiling Socket LinkLayerSocketAddress.swift
[52/88] Compiling Socket UnixSocketAddress.swift
[53/88] Compiling Socket SocketAddressFamily.swift
[54/88] Compiling Socket SocketDescriptor.swift
[55/88] Compiling Socket SocketEvent.swift
[56/88] Compiling Socket SocketFlags.swift
[57/88] Compiling Socket SocketHelpers.swift
[58/88] Compiling Socket SocketOperations.swift
[59/88] Compiling Socket SocketOption.swift
[60/88] Compiling Socket SocketOptionID.swift
[61/88] Compiling Socket UnixProtocol.swift
[62/88] Compiling Socket SocketType.swift
[63/88] Compiling Socket Syscalls.swift
[64/88] Compiling Socket TCPSocketOption.swift
[65/88] Compiling Socket Util.swift
[66/88] Compiling Socket FileFlags.swift
[67/88] Compiling Socket IOControl.swift
[68/88] Compiling Socket IODirection.swift
[69/88] Compiling Socket IOOperations.swift
[70/88] Compiling Socket IOType.swift
[71/88] Compiling Socket InternetProtocol.swift
[72/88] Compiling Socket CInterop.swift
[73/88] Compiling Socket CSocketAddress.swift
[74/88] Compiling Socket Constants.swift
[75/88] Compiling Socket Errno.swift
[76/88] Compiling Socket FileChange.swift
[77/88] Compiling Socket FileEvent.swift
[78/88] Compiling Socket SocketOptionLevel.swift
[79/88] Compiling Socket SocketProtocol.swift
[80/88] Compiling Socket IPv4Protocol.swift
[81/88] Compiling Socket IPv6Protocol.swift
[82/88] Compiling Socket LinkLayerProtocol.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! (26.39s)
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"
}
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Done.