Build Information
Failed to build modbus2mqtt, reference main (ba1e83), with Swift 6.4 for Wasm on 18 Oct 2026 00:29:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
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 ba1e831 Apply scaling factors to float MQTT values
Cloned https://github.com/jollyjinx/modbus-2-mqtt-bridge.git
Revision (git rev-parse @):
ba1e831f33a423122726643b22a46e439297efaf
SUCCESS checkout https://github.com/jollyjinx/modbus-2-mqtt-bridge.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/jollyjinx/modbus-2-mqtt-bridge.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:7a2e5502d3bb6640f9b2bbb1dadf9967024364ce9ed0ed0bd80cf1b699d193fd
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/jollyjinx/mqtt-nio.git
[1/2859] Fetching mqtt-nio
Fetched https://github.com/jollyjinx/mqtt-nio.git (0.57s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/jollyjinx/JLog
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/114] Fetching jlog
[115/8419] Fetching jlog, swift-log
[199/11286] Fetching jlog, swift-log, swift-nio-transport-services
[200/15370] Fetching jlog, swift-log, swift-nio-transport-services, swift-configuration
[12866/22075] Fetching jlog, swift-log, swift-nio-transport-services, swift-configuration, swift-nio-extras
Fetched https://github.com/apple/swift-nio-transport-services.git (0.51s)
[15185/19208] Fetching jlog, swift-log, swift-configuration, swift-nio-extras
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-log.git (0.59s)
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/jollyjinx/JLog (0.65s)
Fetched https://github.com/apple/swift-nio-extras.git (0.65s)
Fetching https://github.com/jollyjinx/SwiftLibModbus
Fetching https://github.com/apple/swift-argument-parser
[1/86563] Fetching swift-nio
[3464/88524] Fetching swift-nio, swift-http-types
[3465/105413] Fetching swift-nio, swift-http-types, swift-nio-ssl
[5943/105987] Fetching swift-nio, swift-http-types, swift-nio-ssl, swiftlibmodbus
Fetched https://github.com/apple/swift-http-types.git (0.40s)
[8514/104026] Fetching swift-nio, swift-nio-ssl, swiftlibmodbus
Fetched https://github.com/jollyjinx/SwiftLibModbus (0.35s)
[9840/103452] Fetching swift-nio, swift-nio-ssl
[39019/122598] Fetching swift-nio, swift-nio-ssl, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (1.05s)
[79215/103452] Fetching swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git (1.69s)
Fetched https://github.com/apple/swift-configuration.git (3.73s)
Fetched https://github.com/apple/swift-nio.git (3.77s)
Computing version for https://github.com/jollyjinx/SwiftLibModbus
Computed https://github.com/jollyjinx/SwiftLibModbus at 3.1.0 (3.92s)
Computing version for https://github.com/jollyjinx/JLog
Computed https://github.com/jollyjinx/JLog at 0.0.9 (0.13s)
Fetching https://github.com/Adorkable/swift-log-format-and-pipe
[1/190] Fetching swift-log-format-and-pipe
Fetched https://github.com/Adorkable/swift-log-format-and-pipe (0.34s)
Computing version for https://github.com/Adorkable/swift-log-format-and-pipe
Computed https://github.com/Adorkable/swift-log-format-and-pipe at 0.1.1 (1.23s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.15s)
Fetching https://github.com/apple/swift-atomics.git
[1/1889] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.44s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.2 (1.28s)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/swift-server/swift-service-lifecycle
Fetching https://github.com/apple/swift-collections
[1/2874] Fetching swift-service-lifecycle
[2875/10197] Fetching swift-service-lifecycle, swift-system
Fetched https://github.com/swift-server/swift-service-lifecycle (0.54s)
[74/7323] Fetching swift-system
[1100/36197] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system (1.33s)
Fetched https://github.com/apple/swift-collections (1.34s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (1.48s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.14s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.14s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.19s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.25s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.13.0 (0.13s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6821] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.57s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.75s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.3 (0.24s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.17s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.20s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.1 (0.44s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
[1/1284] Fetching swift-http-structured-headers
[40/3335] Fetching swift-http-structured-headers, swift-asn1
[1962/9494] Fetching swift-http-structured-headers, swift-asn1, swift-algorithms
[3132/17095] Fetching swift-http-structured-headers, swift-asn1, swift-algorithms, swift-certificates
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-algorithms.git (0.55s)
Fetched https://github.com/apple/swift-certificates.git (0.55s)
[1/12294] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-http-structured-headers.git (1.30s)
Fetched https://github.com/apple/swift-asn1.git (1.30s)
Fetched https://github.com/apple/swift-nio-http2.git (0.90s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.47s)
Fetching https://github.com/apple/swift-numerics.git
[1/6756] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.52s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.66s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.15s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.19s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.20s)
Fetching https://github.com/apple/swift-crypto.git
[1/18682] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.44s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.1 (1.69s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.18s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.7
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.13.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.2.2
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/jollyjinx/SwiftLibModbus
Working copy of https://github.com/jollyjinx/SwiftLibModbus resolved at 3.1.0
Creating working copy for https://github.com/Adorkable/swift-log-format-and-pipe
Working copy of https://github.com/Adorkable/swift-log-format-and-pipe resolved at 0.1.1
Creating working copy for https://github.com/jollyjinx/JLog
Working copy of https://github.com/jollyjinx/JLog resolved at 0.0.9
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Creating working copy for https://github.com/jollyjinx/mqtt-nio.git
Working copy of https://github.com/jollyjinx/mqtt-nio.git resolved at main (0d32051)
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
Building for debugging...
[Computing dependencies]
[Provisioning 16 / 63]
[Constructing description]
[Pre-planning 1 / 1315]
[Planning 724 / 1315]
[Planning 1242 / 1315]
[Planning deferred tasks]
[Constructing 1313 / 2783]
[Starting]
[65 / 430] SwiftLibModbus2MQTT
[194 / 430]
[204 / 438] Logging
[211 / 471] NIOConcurrencyHelpers
[219 / 489] InternalCollectionsUtilities
[219 / 489] Logging
[231 / 489] CSystem
[238 / 489] SystemPackage
[239 / 489] InternalCollectionsUtilities
[251 / 489] SystemPackage
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/.build/checkouts/SwiftLibModbus/Sources/SwiftLibModbus/ModbusDevice.swift:6:8: [1;31merror: [1;39mno such module 'Dispatch'[0;0m
[0;36m4 |[0;0m
[0;36m5 |[0;0m import CModbus
[0;36m6 |[0;0m import Dispatch
[0;36m|[0;0m `- [1;31merror: [1;39mno such module 'Dispatch'[0;0m
[0;36m7 |[0;0m import Foundation
[0;36m8 |[0;0m
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/SwiftLibModbus/Sources/SwiftLibModbus/ModbusDevice.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature StrictConcurrency -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -user-module-version 3.1.0 -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-webassembly-wasm32/CModbus.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/SwiftLibModbus/Sources/CModbus/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLibModbus.build/Debug-webassembly-wasm32/SwiftLibModbus-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLibModbus.build/Debug-webassembly-wasm32/SwiftLibModbus-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLibModbus.build/Debug-webassembly-wasm32/SwiftLibModbus-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftLibModbus -package-name swiftlibmodbus -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLibModbus.build/Debug-webassembly-wasm32/SwiftLibModbus-t.build/Objects-normal/wasm32/SwiftLibModbus_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLibModbus.build/Debug-webassembly-wasm32/SwiftLibModbus-t.build/Objects-normal/wasm32/Modules/SwiftLibModbus.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLibModbus.build/Debug-webassembly-wasm32/SwiftLibModbus-t.build/Objects-normal/wasm32/Modules/SwiftLibModbus.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLibModbus.build/Debug-webassembly-wasm32/SwiftLibModbus-t.build/Objects-normal/wasm32/SwiftLibModbus-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLibModbus.build/Debug-webassembly-wasm32/SwiftLibModbus-t.build/Objects-normal/wasm32/SwiftLibModbus-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLibModbus.build/Debug-webassembly-wasm32/SwiftLibModbus-t.build/Objects-normal/wasm32/SwiftLibModbus-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLibModbus.build/Debug-webassembly-wasm32/SwiftLibModbus-t.build/Objects-normal/wasm32/Modules/SwiftLibModbus.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm