Build Information
Failed to build modbus2mqtt, reference 2.9.0 (287341), with Swift 6.3 for Wasm on 30 Sep 2026 23:23:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jollyjinx/modbus-2-mqtt-bridge.git
Reference: 2.9.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.9.0 -> FETCH_HEAD
HEAD is now at 287341d Correct NIBE S2125 register definitions and metadata
Cloned https://github.com/jollyjinx/modbus-2-mqtt-bridge.git
Revision (git rev-parse @):
287341deb79b5027ff533e4275cdc7e506bc743e
SUCCESS checkout https://github.com/jollyjinx/modbus-2-mqtt-bridge.git at 2.9.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
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-54344843-0":/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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:253aad7f5b11d25cf9eaef34120b94cd8a325782929c57fb304a7711494a3f9a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/jollyjinx/mqtt-nio.git
[1/2859] Fetching mqtt-nio
Fetched https://github.com/jollyjinx/mqtt-nio.git from cache (0.59s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio.git
[1/2867] Fetching swift-nio-transport-services
[2/11080] Fetching swift-nio-transport-services, swift-log
[2555/17773] Fetching swift-nio-transport-services, swift-log, swift-nio-extras
[7153/21608] Fetching swift-nio-transport-services, swift-log, swift-nio-extras, swift-configuration
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.57s)
Fetched https://github.com/apple/swift-log.git from cache (0.57s)
Fetching https://github.com/jollyjinx/SwiftLibModbus
Fetching https://github.com/apple/swift-http-types.git
[1/16863] Fetching swift-nio-ssl
[2194/18802] Fetching swift-nio-ssl, swift-http-types
[4769/19376] Fetching swift-nio-ssl, swift-http-types, swiftlibmodbus
Fetched https://github.com/apple/swift-http-types.git from cache (0.41s)
Fetching https://github.com/jollyjinx/JLog
[4082/17437] Fetching swift-nio-ssl, swiftlibmodbus
[4083/103674] Fetching swift-nio-ssl, swiftlibmodbus, swift-nio
Fetched https://github.com/jollyjinx/SwiftLibModbus from cache (0.45s)
Fetching https://github.com/apple/swift-argument-parser
[3880/103100] Fetching swift-nio-ssl, swift-nio
[54809/103214] Fetching swift-nio-ssl, swift-nio, jlog
Fetched https://github.com/jollyjinx/JLog from cache (0.43s)
[58257/103100] Fetching swift-nio-ssl, swift-nio
[68607/122110] Fetching swift-nio-ssl, swift-nio, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.00s)
[79817/103100] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (4.41s)
Fetched https://github.com/apple/swift-configuration.git from cache (4.42s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.43s)
Fetched https://github.com/apple/swift-nio.git from cache (4.46s)
Computing version for https://github.com/jollyjinx/SwiftLibModbus
Computed https://github.com/jollyjinx/SwiftLibModbus at 3.1.0 (4.67s)
Computing version for https://github.com/jollyjinx/JLog
Computed https://github.com/jollyjinx/JLog at 0.0.9 (0.18s)
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 from cache (0.48s)
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.50s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.1 (1.34s)
Fetching https://github.com/swift-server/swift-service-lifecycle
[1/2849] Fetching swift-service-lifecycle
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-collections
Fetched https://github.com/swift-server/swift-service-lifecycle from cache (0.46s)
[1/7035] Fetching swift-system
[7036/35103] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system from cache (1.27s)
Fetched https://github.com/apple/swift-collections from cache (1.28s)
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 (1.99s)
Fetching https://github.com/apple/swift-atomics.git
[19/1885] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.59s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.91s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.31s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.46s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.29s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.12.0 (0.24s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6792] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (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.85s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.1 (0.35s)
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.28s)
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.26s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.26s)
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.61s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1253] Fetching swift-http-structured-headers
[58/3239] Fetching swift-http-structured-headers, swift-asn1
[3240/10837] Fetching swift-http-structured-headers, swift-asn1, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.56s)
[2138/9584] Fetching swift-asn1, swift-certificates
[3127/21839] Fetching swift-asn1, swift-certificates, swift-nio-http2
Fetched https://github.com/apple/swift-certificates.git from cache (0.79s)
[7379/14241] Fetching swift-asn1, swift-nio-http2
Fetching https://github.com/apple/swift-algorithms.git
Fetched https://github.com/apple/swift-asn1.git from cache (1.28s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.29s)
[1/6159] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.61s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.15s)
Fetching https://github.com/apple/swift-numerics.git
[1/6651] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.20s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.40s)
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.20s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.26s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.29s)
Fetching https://github.com/apple/swift-crypto.git
[1/18572] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.90s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.0 (2.15s)
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.17s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
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/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-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-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/jollyjinx/JLog
Working copy of https://github.com/jollyjinx/JLog resolved at 0.0.9
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-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/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/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-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/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.12.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.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-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.2.1
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
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/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
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.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-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-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.1
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
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/86] Write sources
[3/86] Copying DeviceDefinitions
[4/86] Write sources
[29/86] Compiling CSystem shims.c
[29/86] Compiling _AtomicsShims.c
[31/86] Compiling CNIOWindows shim.c
[32/86] Compiling CNIOWindows WSAStartup.c
[33/86] Compiling CNIOPosix event_loop_id.c
[34/86] Compiling CNIOWASI CNIOWASI.c
[35/86] Compiling CNIOLinux shim.c
[36/86] Compiling CNIOOpenBSD shim.c
[36/86] Compiling CNIOLinux liburing_shims.c
[38/86] Compiling CNIOFreeBSD shim.c
[39/86] Compiling CNIODarwin shim.c
[40/86] Compiling CNIOLLHTTP c_nio_http.c
[41/86] Compiling CNIOSHA1 c_nio_sha1.c
[42/86] Compiling CModbus strlcpy.c
In file included from /host/spi-builder-workspace/.build/checkouts/SwiftLibModbus/Sources/CModbus/modbus-rtu.c:23:
/host/spi-builder-workspace/.build/checkouts/SwiftLibModbus/Sources/CModbus/modbus-rtu-private.h:26:10: fatal error: 'termios.h' file not found
26 | #include <termios.h>
| ^~~~~~~~~~~
1 error generated.
[43/86] Compiling CModbus modbus-rtu.c
[43/86] Compiling c-atomics.c
[43/86] Compiling CModbus modbus.c
[43/86] Compiling c-nioatomics.c
[43/86] Compiling CNIOLLHTTP c_nio_api.c
[43/86] Compiling CModbus modbus-tcp.c
[43/86] Compiling CNIOLLHTTP c_nio_llhttp.c
[43/86] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.3 wasm