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 Linux on 3 Jan 2025 02:36:22 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.60.0
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 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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
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.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system"
    }
  ],
  "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",
      "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 ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-system
[1/3960] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.30s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.4.0 (0.49s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.4.0
Building for debugging...
[0/5] Write sources
[2/5] Compiling CSocket shims.c
[3/5] Write swift-version-24593BA9C3E375BF.txt
[3/5] Compiling CSystem shims.c
[6/33] Emitting module SystemPackage
[7/36] Compiling SystemPackage Util+StringArray.swift
[8/36] Compiling SystemPackage Util.swift
[9/36] Compiling SystemPackage UtilConsumers.swift
[10/36] Compiling SystemPackage Errno.swift
[11/36] Compiling SystemPackage ErrnoWindows.swift
[12/36] Compiling SystemPackage FileDescriptor.swift
[13/36] Compiling SystemPackage FileHelpers.swift
[14/36] Compiling SystemPackage FileOperations.swift
[15/36] Compiling SystemPackage FilePath.swift
[16/36] Compiling SystemPackage FilePathComponentView.swift
[17/36] Compiling SystemPackage FilePathComponents.swift
[18/36] Compiling SystemPackage MachPort.swift
[19/36] Compiling SystemPackage PlatformString.swift
[20/36] Compiling SystemPackage SystemString.swift
[21/36] Compiling SystemPackage FilePathTempPosix.swift
[22/36] Compiling SystemPackage FilePathTempWindows.swift
[23/36] Compiling SystemPackage FilePathWindows.swift
[24/36] Compiling SystemPackage FilePermissions.swift
[25/36] Compiling SystemPackage FilePathParsing.swift
[26/36] Compiling SystemPackage FilePathString.swift
[27/36] Compiling SystemPackage FilePathSyntax.swift
[28/36] Compiling SystemPackage FilePathTemp.swift
[29/36] Compiling SystemPackage Mocking.swift
[30/36] Compiling SystemPackage RawBuffer.swift
[31/36] Compiling SystemPackage Syscalls.swift
[32/36] Compiling SystemPackage WindowsSyscallAdapters.swift
[33/36] Compiling SystemPackage Backcompat.swift
[34/36] Compiling SystemPackage CInterop.swift
[35/36] Compiling SystemPackage Constants.swift
[36/36] Compiling SystemPackage Exports.swift
[38/76] Compiling Socket SocketOptionID.swift
[39/76] Compiling Socket SocketOptionLevel.swift
[40/76] Compiling Socket SocketProtocol.swift
[41/76] Compiling Socket IPv4Protocol.swift
[42/76] Compiling Socket IPv6Protocol.swift
[43/81] Compiling Socket CInterop.swift
[44/81] Compiling Socket CSocketAddress.swift
[45/81] Compiling Socket Constants.swift
[46/81] Compiling Socket Errno.swift
[47/81] Compiling Socket FileChange.swift
[48/81] Compiling Socket FileEvent.swift
[49/81] Compiling Socket FileFlags.swift
[50/81] Compiling Socket IOControl.swift
[51/81] Compiling Socket IODirection.swift
[52/81] Compiling Socket IOOperations.swift
[53/81] Compiling Socket IOType.swift
[54/81] Compiling Socket InternetProtocol.swift
[55/81] Compiling Socket SocketDescriptor.swift
[56/81] Compiling Socket SocketFlags.swift
[57/81] Compiling Socket SocketHelpers.swift
[58/81] Compiling Socket SocketOperations.swift
[59/81] Compiling Socket SocketOption.swift
[60/81] Compiling Socket LinkLayerProtocol.swift
[61/81] Compiling Socket UnixProtocol.swift
[62/81] Compiling Socket SocketType.swift
[63/81] Compiling Socket Syscalls.swift
[64/81] Compiling Socket Util.swift
[65/81] Emitting module Socket
[66/81] Compiling Socket IPv4SocketAddress.swift
[67/81] Compiling Socket IPv6SocketAddress.swift
[68/81] Compiling Socket LinkLayerSocketAddress.swift
[69/81] Compiling Socket UnixSocketAddress.swift
[70/81] Compiling Socket SocketAddressFamily.swift
[71/81] Compiling Socket MessageFlags.swift
[72/81] Compiling Socket NetworkInterface.swift
[73/81] Compiling Socket NetworkOrder.swift
[74/81] Compiling Socket Poll.swift
[75/81] Compiling Socket SocketAddress.swift
[76/81] Compiling Socket Socket.swift
[77/81] Compiling Socket SocketContinuation.swift
[78/81] Compiling Socket SocketManager.swift
[79/81] Compiling Socket AsyncSocketManager.swift
[80/81] Compiling Socket CFSocketManager.swift
[81/81] Compiling Socket CInternetAddress.swift
Build complete! (13.70s)
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" : "/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",
      "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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.