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 Mqtt, reference master (2af558), with Swift 6.1 for Wasm on 27 May 2025 10:58:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/hjianbo/mqtt.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/hjianbo/mqtt
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2af5589 Merge branch 'dev'
Cloned https://github.com/hjianbo/mqtt.git
Revision (git rev-parse @):
2af55898db7cccfc12accfd0a15fe4ecbf9fa579
SUCCESS checkout https://github.com/hjianbo/mqtt.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/hjianbo/mqtt.git
https://github.com/hjianbo/mqtt.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "sockets",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.2.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/sockets"
    }
  ],
  "manifest_display_name" : "Mqtt",
  "name" : "Mqtt",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Mqtt",
      "targets" : [
        "Mqtt"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MqttTests",
      "module_type" : "SwiftTarget",
      "name" : "MqttTests",
      "path" : "Tests/MqttTests",
      "sources" : [
        "MqttClientTests.swift",
        "MqttPacketTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Mqtt"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Mqtt",
      "module_type" : "SwiftTarget",
      "name" : "Mqtt",
      "path" : "Sources/Mqtt",
      "product_dependencies" : [
        "Sockets"
      ],
      "product_memberships" : [
        "Mqtt"
      ],
      "sources" : [
        "DDLog.swift",
        "Extension.swift",
        "LocalStorage.swift",
        "MqttClient.swift",
        "Packet/ConnAckPacket.swift",
        "Packet/ConnectPacket.swift",
        "Packet/DisconnectPacket.swift",
        "Packet/Packet.swift",
        "Packet/PingReqPacket.swift",
        "Packet/PingRespPacket.swift",
        "Packet/PubAckPacket.swift",
        "Packet/PubCompPacket.swift",
        "Packet/PubRecPacket.swift",
        "Packet/PubRelPacket.swift",
        "Packet/PublishPacket.swift",
        "Packet/SubAckPacket.swift",
        "Packet/SubscribePacket.swift",
        "Packet/UnsubAckPacket.swift",
        "Packet/UnsubscribePacket.swift",
        "Session/Session.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/Mqtt/Examples': File not found.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/sockets
[1/3312] Fetching sockets
Fetched https://github.com/vapor/sockets from cache (1.26s)
Computing version for https://github.com/vapor/sockets
Computed https://github.com/vapor/sockets at 2.2.4 (1.95s)
Fetching https://github.com/vapor/async.git
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
[16519/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.84s)
Computing version for https://github.com/vapor/async.git
Computed https://github.com/vapor/async.git at 1.0.0-rc.1.1 (1.43s)
Fetching https://github.com/vapor/cepoll.git
[1/33] Fetching cepoll
Fetched https://github.com/vapor/cepoll.git from cache (0.26s)
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
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/Mqtt/Examples': File not found.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/sockets
Updated https://github.com/vapor/sockets (0.24s)
Computing version for https://github.com/vapor/sockets
Computed https://github.com/vapor/sockets at 2.2.4 (1.63s)
Updating https://github.com/vapor/core.git
Updating https://github.com/vapor/async.git
Updated https://github.com/vapor/async.git (0.24s)
Updated https://github.com/vapor/core.git (0.26s)
Computing version for https://github.com/vapor/async.git
Computed https://github.com/vapor/async.git at 1.0.0-rc.1.1 (1.00s)
Updating https://github.com/vapor/cepoll.git
Updated https://github.com/vapor/cepoll.git (0.21s)
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
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/Mqtt/Examples': File not found.
BUILD FAILURE 6.1 wasm