The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Sockets, reference 3.0.0-rc.1 (738f3e), with Swift 6.1 for Linux on 25 Apr 2025 07:30:46 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor-community/sockets.git
Reference: 3.0.0-rc.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/vapor-community/sockets
 * tag               3.0.0-rc.1 -> FETCH_HEAD
HEAD is now at 738f3eb Merge pull request #152 from vapor/beta
Cloned https://github.com/vapor-community/sockets.git
Revision (git rev-parse @):
738f3ebf3ebb8ea886d5dd8588dd46a54f66af1c
SUCCESS checkout https://github.com/vapor-community/sockets.git at 3.0.0-rc.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/vapor-community/sockets.git
https://github.com/vapor-community/sockets.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "async",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0-rc",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/async.git"
    },
    {
      "identity" : "core",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0-rc",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/core.git"
    }
  ],
  "manifest_display_name" : "Sockets",
  "name" : "Sockets",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "TCP",
      "targets" : [
        "TCP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TCPTests",
      "module_type" : "SwiftTarget",
      "name" : "TCPTests",
      "path" : "Tests/TCPTests",
      "product_dependencies" : [
        "Async"
      ],
      "sources" : [
        "SocketsTests.swift"
      ],
      "target_dependencies" : [
        "TCP"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TCP",
      "module_type" : "SwiftTarget",
      "name" : "TCP",
      "path" : "Sources/TCP",
      "product_dependencies" : [
        "Async",
        "Bits",
        "COperatingSystem",
        "Debugging"
      ],
      "product_memberships" : [
        "TCP"
      ],
      "sources" : [
        "Socket/TCPClient.swift",
        "Socket/TCPServer.swift",
        "Socket/TCPSocket.swift",
        "Socket/TCPSocketStatus.swift",
        "Streams/TCPClientStream.swift",
        "Streams/TCPSocketSink.swift",
        "Streams/TCPSocketSource.swift",
        "Streams/TCPSocketStream.swift",
        "Utilties/TCPAddress.swift",
        "Utilties/TCPError.swift",
        "Utilties/TCPSocket+COperatingSystem.swift",
        "Utilties/TCPSocket+Data.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/vapor/async.git
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
[6044/22466] Fetching core, async
Fetched https://github.com/vapor/async.git from cache (0.80s)
Fetched https://github.com/vapor/core.git from cache (0.82s)
Computing version for https://github.com/vapor/async.git
Computed https://github.com/vapor/async.git at 1.0.0-rc.1.1 (1.37s)
Fetching https://github.com/vapor/cepoll.git
[1/33] Fetching cepoll
Fetched https://github.com/vapor/cepoll.git from cache (0.20s)
Computing version for https://github.com/vapor/cepoll.git
error: the Swift tools version specification is missing a label; consider inserting 'swift-tools-version:' between the comment marker and the version specifier
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Updating https://github.com/vapor/core.git
Updating https://github.com/vapor/async.git
Updated https://github.com/vapor/core.git (0.15s)
Updated https://github.com/vapor/async.git (0.15s)
Computing version for https://github.com/vapor/async.git
Computed https://github.com/vapor/async.git at 1.0.0-rc.1.1 (0.71s)
Updating https://github.com/vapor/cepoll.git
Updated https://github.com/vapor/cepoll.git (0.13s)
Computing version for https://github.com/vapor/cepoll.git
error: the Swift tools version specification is missing a label; consider inserting 'swift-tools-version:' between the comment marker and the version specifier
BUILD FAILURE 6.1 linux