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 Mqtt, reference master (2af558), with Swift 6.1 for Linux on 25 Apr 2025 09:05:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/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:         linux
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-4606859-0":/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/sockets
[1/3312] Fetching sockets
Fetched https://github.com/vapor/sockets from cache (0.28s)
Computing version for https://github.com/vapor/sockets
Computed https://github.com/vapor/sockets at 2.2.4 (0.86s)
Fetching https://github.com/vapor/async.git
Fetching https://github.com/vapor/core.git
[1/2323] Fetching async
[1860/22466] Fetching async, core
Fetched https://github.com/vapor/async.git from cache (0.26s)
[2821/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (0.87s)
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 (0.22s)
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-4606859-0":/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/sockets
Updated https://github.com/vapor/sockets (0.31s)
Computing version for https://github.com/vapor/sockets
Computed https://github.com/vapor/sockets at 2.2.4 (1.20s)
Updating https://github.com/vapor/async.git
Updating https://github.com/vapor/core.git
Updated https://github.com/vapor/async.git (0.15s)
Updated https://github.com/vapor/core.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.73s)
Updating https://github.com/vapor/cepoll.git
Updated https://github.com/vapor/cepoll.git (0.19s)
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 linux