The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Socket, reference main (579c0f), with Swift 6.1 for Android on 22 Mar 2026 02:32:47 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/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.69.2
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 579c0fc Fix `SocketDescriptor.Event.Flags`
Cloned https://github.com/PureSwift/Socket.git
Revision (git rev-parse @):
579c0fc29cf2dc9f227f89403fb44d4726a4af44
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-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/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 swiftpackageindex/spi-images
e1a89dea01a6: Already exists
39bc14e52995: Pulling fs layer
cc0382103b05: Pulling fs layer
084072dee40a: Pulling fs layer
808f514ddc0c: Pulling fs layer
808f514ddc0c: Waiting
084072dee40a: Verifying Checksum
084072dee40a: Download complete
39bc14e52995: Verifying Checksum
39bc14e52995: Download complete
808f514ddc0c: Verifying Checksum
808f514ddc0c: Download complete
cc0382103b05: Verifying Checksum
cc0382103b05: Download complete
39bc14e52995: Pull complete
cc0382103b05: Pull complete
084072dee40a: Pull complete
808f514ddc0c: Pull complete
Digest: sha256:4aaa9704d9ec48004f0d4dbd1faa76d47dfce67570c934d5c9f7c1557cee5c73
Status: Downloaded newer image for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system
[1/6252] Fetching swift-log
[2877/11853] Fetching swift-log, swift-system
Fetched https://github.com/apple/swift-log.git from cache (0.56s)
Fetched https://github.com/apple/swift-system from cache (0.56s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (1.42s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (0.65s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.10.1
Building for debugging...
[0/6] Write sources
[2/6] Compiling CSocket android.c
[3/6] Compiling CSystem shims.c
[4/6] Write swift-version-24593BA9C3E375BF.txt
[5/6] Compiling CSocket shims.c
[7/37] Compiling SystemPackage IORing.swift
[8/37] Compiling SystemPackage RawIORequest.swift
[9/37] Compiling SystemPackage Backcompat.swift
[10/37] Compiling SystemPackage CInterop.swift
[11/41] Emitting module SystemPackage
[12/41] Compiling SystemPackage Errno.swift
[13/41] Compiling SystemPackage ErrnoWindows.swift
[14/41] Compiling SystemPackage FileDescriptor.swift
[15/41] Compiling SystemPackage FileHelpers.swift
[16/41] Compiling SystemPackage FileOperations.swift
[17/41] Compiling SystemPackage SystemString.swift
[18/41] Compiling SystemPackage Util+StringArray.swift
[19/41] Compiling SystemPackage Util.swift
[20/41] Compiling SystemPackage UtilConsumers.swift
[21/41] Compiling SystemPackage Syscalls.swift
[22/41] Compiling SystemPackage WindowsSyscallAdapters.swift
[23/41] Compiling SystemPackage MachPort.swift
[24/41] Compiling SystemPackage PlatformString.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 FilePathWindows.swift
[31/41] Compiling SystemPackage FilePermissions.swift
[32/41] Compiling SystemPackage IOCompletion.swift
[33/41] Compiling SystemPackage IORequest.swift
[34/41] Compiling SystemPackage FilePathSyntax.swift
[35/41] Compiling SystemPackage FilePathTemp.swift
[36/41] Compiling SystemPackage FilePathTempPosix.swift
[37/41] Compiling SystemPackage FilePathTempWindows.swift
[38/41] Compiling SystemPackage Constants.swift
[39/41] Compiling SystemPackage Exports.swift
[40/41] Compiling SystemPackage Mocking.swift
[41/41] Compiling SystemPackage RawBuffer.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/88] Compiling Socket FileFlags.swift
[49/88] Compiling Socket IOControl.swift
[50/88] Compiling Socket IODirection.swift
[51/88] Compiling Socket IOOperations.swift
[52/88] Compiling Socket IOType.swift
[53/88] Compiling Socket InternetProtocol.swift
[54/88] Compiling Socket SocketFlags.swift
[55/88] Compiling Socket SocketHelpers.swift
[56/88] Compiling Socket SocketOperations.swift
[57/88] Compiling Socket SocketOption.swift
[58/88] Compiling Socket SocketOptionID.swift
[59/88] Compiling Socket CInterop.swift
[60/88] Compiling Socket CSocketAddress.swift
[61/88] Compiling Socket Constants.swift
[62/88] Compiling Socket Errno.swift
[63/88] Compiling Socket FileChange.swift
[64/88] Compiling Socket FileEvent.swift
[65/88] Compiling Socket MessageFlags.swift
[66/88] Compiling Socket NetworkInterface.swift
[67/88] Compiling Socket NetworkOrder.swift
[68/88] Compiling Socket Poll.swift
[69/88] Compiling Socket SocketAddress.swift
[70/88] Compiling Socket IPv4SocketAddress.swift
[71/88] Compiling Socket IPv6SocketAddress.swift
[72/88] Compiling Socket LinkLayerSocketAddress.swift
[73/88] Compiling Socket UnixSocketAddress.swift
[74/88] Compiling Socket SocketAddressFamily.swift
[75/88] Compiling Socket SocketDescriptor.swift
[76/88] Compiling Socket SocketEvent.swift
[77/88] Compiling Socket UnixProtocol.swift
[78/88] Compiling Socket SocketType.swift
[79/88] Compiling Socket Syscalls.swift
[80/88] Compiling Socket TCPSocketOption.swift
[81/88] Compiling Socket Util.swift
[82/88] Emitting module Socket
[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! (25.12s)
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 swiftpackageindex/spi-images
Digest: sha256:4aaa9704d9ec48004f0d4dbd1faa76d47dfce67570c934d5c9f7c1557cee5c73
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
Done.