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 modbus2mqtt, reference main (208a1e), with Swift 6.1 for Linux on 3 Dec 2025 19:00:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jollyjinx/modbus-2-mqtt-bridge.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/jollyjinx/modbus-2-mqtt-bridge
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 208a1e3 updated readme to refer to ghcr.io instead of docker as images are now built automatically on github.
Cloned https://github.com/jollyjinx/modbus-2-mqtt-bridge.git
Revision (git rev-parse @):
208a1e35ef0a91fa85c0f1ea817a78c0dd695bb2
SUCCESS checkout https://github.com/jollyjinx/modbus-2-mqtt-bridge.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jollyjinx/modbus-2-mqtt-bridge.git
https://github.com/jollyjinx/modbus-2-mqtt-bridge.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "mqtt-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.8.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/sroebert/mqtt-nio.git"
    },
    {
      "identity" : "jlog",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.9",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jollyjinx/JLog"
    },
    {
      "identity" : "swiftlibmodbus",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.2",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jollyjinx/SwiftLibModbus"
    }
  ],
  "manifest_display_name" : "modbus2mqtt",
  "name" : "modbus2mqtt",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "18.0"
    },
    {
      "name" : "macos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "modbus2mqtt",
      "targets" : [
        "modbus2mqtt"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SwiftLibModbus2MQTT",
      "targets" : [
        "SwiftLibModbus2MQTT"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "modbus2mqtt",
      "module_type" : "SwiftTarget",
      "name" : "modbus2mqtt",
      "path" : "Sources/modbus2mqtt",
      "product_dependencies" : [
        "ArgumentParser",
        "JLog"
      ],
      "product_memberships" : [
        "modbus2mqtt"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/modbus2mqtt/DeviceDefinitions",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "modbus2mqtt.swift"
      ],
      "target_dependencies" : [
        "SwiftLibModbus2MQTT"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftLibModbus2MQTT",
      "module_type" : "SwiftTarget",
      "name" : "SwiftLibModbus2MQTT",
      "path" : "Sources/SwiftLibModbus2MQTT",
      "product_dependencies" : [
        "MQTTNIO",
        "JLog",
        "SwiftLibModbus"
      ],
      "product_memberships" : [
        "modbus2mqtt",
        "SwiftLibModbus2MQTT"
      ],
      "sources" : [
        "BitMappedValue.swift",
        "MQTTRequestResponse.swift",
        "MQTTServer.swift",
        "ModbusDefinition.swift",
        "ModbusValue.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:4d72617259f6eef9908440c49a67b79bc4f973ae19f78187418ddfb5b178d4ec
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/sroebert/mqtt-nio.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jollyjinx/SwiftLibModbus
[1/1676] Fetching mqtt-nio
[152/2164] Fetching mqtt-nio, swiftlibmodbus
[2165/19041] Fetching mqtt-nio, swiftlibmodbus, swift-argument-parser
Fetched https://github.com/jollyjinx/SwiftLibModbus from cache (0.30s)
[2520/18553] Fetching mqtt-nio, swift-argument-parser
Fetched https://github.com/sroebert/mqtt-nio.git from cache (0.31s)
[1013/16877] Fetching swift-argument-parser
Fetching https://github.com/jollyjinx/JLog
Fetched https://github.com/apple/swift-argument-parser from cache (0.75s)
[1/114] Fetching jlog
Fetched https://github.com/jollyjinx/JLog from cache (0.18s)
Computing version for https://github.com/jollyjinx/JLog
error: Dependencies could not be resolved because root depends on 'jlog' 0.0.9..<1.0.0.
'jlog' >= 0.0.9 cannot be used because no versions of 'jlog' match the requirement 0.0.10..<1.0.0 and 'jlog' 0.0.9 contains incompatible tools version (6.1.2).
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:4d72617259f6eef9908440c49a67b79bc4f973ae19f78187418ddfb5b178d4ec
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Updating https://github.com/jollyjinx/JLog
Updating https://github.com/jollyjinx/SwiftLibModbus
Updating https://github.com/apple/swift-argument-parser
Updating https://github.com/sroebert/mqtt-nio.git
Updated https://github.com/jollyjinx/SwiftLibModbus (0.25s)
Updated https://github.com/jollyjinx/JLog (0.26s)
Updated https://github.com/sroebert/mqtt-nio.git (0.25s)
Updated https://github.com/apple/swift-argument-parser (0.32s)
Computing version for https://github.com/jollyjinx/JLog
error: Dependencies could not be resolved because root depends on 'jlog' 0.0.9..<1.0.0.
'jlog' >= 0.0.9 cannot be used because no versions of 'jlog' match the requirement 0.0.10..<1.0.0 and 'jlog' 0.0.9 contains incompatible tools version (6.1.2).
BUILD FAILURE 6.1 linux