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

Failed to build Sockets, reference master (738f3e), with Swift 6.1 for Wasm on 27 May 2025 12:04:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor-community/sockets.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         wasm
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-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/async.git
[1/20143] Fetching core
[2419/22466] Fetching core, async
Fetched https://github.com/vapor/async.git from cache (0.30s)
[8058/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (0.86s)
Computing version for https://github.com/vapor/async.git
Computed https://github.com/vapor/async.git at 1.0.0-rc.1.1 (1.46s)
Fetching https://github.com/vapor/cepoll.git
[1/33] Fetching cepoll
Fetched https://github.com/vapor/cepoll.git from cache (1.17s)
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-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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.21s)
Updated https://github.com/vapor/async.git (0.22s)
Computing version for https://github.com/vapor/async.git
Computed https://github.com/vapor/async.git at 1.0.0-rc.1.1 (0.96s)
Updating https://github.com/vapor/cepoll.git
Updated https://github.com/vapor/cepoll.git (0.18s)
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 wasm