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 2.6.0 (208a1e), with Swift 6.1 for Android on 3 Dec 2025 19:00:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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: 2.6.0
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
 * tag               2.6.0      -> FETCH_HEAD
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 2.6.0
========================================
Build
========================================
Selected platform:         android
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-4609320-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:91d018f1076d6a900d71818287e1b2618039c67008f0564a121787f87e1ae735
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/jollyjinx/JLog
Fetching https://github.com/sroebert/mqtt-nio.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jollyjinx/SwiftLibModbus
[1/114] Fetching jlog
[115/602] Fetching jlog, swiftlibmodbus
[130/2278] Fetching jlog, swiftlibmodbus, mqtt-nio
[2279/19155] Fetching jlog, swiftlibmodbus, mqtt-nio, swift-argument-parser
Fetched https://github.com/jollyjinx/SwiftLibModbus from cache (0.32s)
[2466/18667] Fetching jlog, mqtt-nio, swift-argument-parser
Fetched https://github.com/jollyjinx/JLog from cache (0.74s)
Fetched https://github.com/sroebert/mqtt-nio.git from cache (0.75s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.22s)
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-4609320-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:91d018f1076d6a900d71818287e1b2618039c67008f0564a121787f87e1ae735
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Updating https://github.com/jollyjinx/SwiftLibModbus
Updating https://github.com/apple/swift-argument-parser
Updating https://github.com/jollyjinx/JLog
Updated https://github.com/jollyjinx/JLog (0.17s)
Updating https://github.com/sroebert/mqtt-nio.git
Updated https://github.com/jollyjinx/SwiftLibModbus (0.20s)
Updated https://github.com/apple/swift-argument-parser (0.20s)
Updated https://github.com/sroebert/mqtt-nio.git (0.16s)
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 android