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 (85fdca), with Swift 6.1 for Android on 8 Sep 2025 20:42:33 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PureSwift/Socket.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 85fdcac Merge pull request #20 from the-braveknight/main
Cloned https://github.com/PureSwift/Socket.git
Revision (git rev-parse @):
85fdcac657041100365190a02c70a72146fadaf0
SUCCESS checkout https://github.com/PureSwift/Socket.git at main
========================================
Build
========================================
Selected platform:         android
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-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-log.git
[1/3903] Fetching swift-log
[2773/8840] Fetching swift-log, swift-system
Fetched https://github.com/apple/swift-system from cache (0.44s)
Fetched https://github.com/apple/swift-log.git from cache (0.44s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.2 (1.05s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.51s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.2
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 shims.c
[3/6] Compiling CSocket android.c
[4/6] Compiling CSystem shims.c
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/37] Emitting module SystemPackage
[8/41] Compiling SystemPackage SystemString.swift
[9/41] Compiling SystemPackage Util+StringArray.swift
[10/41] Compiling SystemPackage Util.swift
[11/41] Compiling SystemPackage UtilConsumers.swift
[12/41] Compiling SystemPackage IORing.swift
[13/41] Compiling SystemPackage RawIORequest.swift
[14/41] Compiling SystemPackage Backcompat.swift
[15/41] Compiling SystemPackage CInterop.swift
[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 Constants.swift
[22/41] Compiling SystemPackage Exports.swift
[23/41] Compiling SystemPackage Mocking.swift
[24/41] Compiling SystemPackage RawBuffer.swift
[25/41] Compiling SystemPackage FilePathSyntax.swift
[26/41] Compiling SystemPackage FilePathTemp.swift
[27/41] Compiling SystemPackage FilePathTempPosix.swift
[28/41] Compiling SystemPackage FilePathTempWindows.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 FilePathWindows.swift
[35/41] Compiling SystemPackage FilePermissions.swift
[36/41] Compiling SystemPackage IOCompletion.swift
[37/41] Compiling SystemPackage IORequest.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] Compiling Socket SocketOptionLevel.swift
[44/83] Compiling Socket SocketProtocol.swift
[45/83] Compiling Socket IPv4Protocol.swift
[46/83] Compiling Socket IPv6Protocol.swift
[47/83] Compiling Socket LinkLayerProtocol.swift
[48/83] Compiling Socket FileFlags.swift
[49/83] Compiling Socket IOControl.swift
[50/83] Compiling Socket IODirection.swift
[51/83] Compiling Socket IOOperations.swift
[52/83] Compiling Socket IOType.swift
[53/83] Compiling Socket InternetProtocol.swift
[54/88] Compiling Socket IPv6SocketAddress.swift
[55/88] Compiling Socket LinkLayerSocketAddress.swift
[56/88] Compiling Socket UnixSocketAddress.swift
[57/88] Compiling Socket SocketAddressFamily.swift
[58/88] Compiling Socket SocketDescriptor.swift
[59/88] Compiling Socket SocketEvent.swift
[60/88] Emitting module Socket
[61/88] Compiling Socket SocketFlags.swift
[62/88] Compiling Socket SocketHelpers.swift
[63/88] Compiling Socket SocketOperations.swift
[64/88] Compiling Socket SocketOption.swift
[65/88] Compiling Socket SocketOptionID.swift
[66/88] Compiling Socket UnixProtocol.swift
[67/88] Compiling Socket SocketType.swift
[68/88] Compiling Socket Syscalls.swift
[69/88] Compiling Socket TCPSocketOption.swift
[70/88] Compiling Socket Util.swift
[71/88] Compiling Socket CInterop.swift
[72/88] Compiling Socket CSocketAddress.swift
[73/88] Compiling Socket Constants.swift
[74/88] Compiling Socket Errno.swift
[75/88] Compiling Socket FileChange.swift
[76/88] Compiling Socket FileEvent.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! (15.61s)
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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.