Build Information
Failed to build modbus2mqtt, reference main (1d878c
), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 09:40:32 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.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 1d878cd Merge pull request #6 from ThomasSchoeller/patch-1
Cloned https://github.com/jollyjinx/modbus-2-mqtt-bridge.git
Revision (git rev-parse @):
1d878cd79d0cf6e0e8487532907a41ae24c90156
SUCCESS checkout https://github.com/jollyjinx/modbus-2-mqtt-bridge.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
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-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/nicklockwood/SwiftFormat
[1/48941] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (32.84s)
Fetching https://github.com/sroebert/mqtt-nio.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jollyjinx/JLog
Fetching https://github.com/jollyjinx/SwiftLibModbus
[1/488] Fetching swiftlibmodbus
[270/581] Fetching swiftlibmodbus, jlog
[363/2257] Fetching swiftlibmodbus, jlog, mqtt-nio
Fetched https://github.com/jollyjinx/SwiftLibModbus from cache (0.39s)
Fetched https://github.com/jollyjinx/JLog from cache (0.40s)
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/sroebert/mqtt-nio.git from cache (1.74s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.75s)
Computing version for https://github.com/sroebert/mqtt-nio.git
Computed https://github.com/sroebert/mqtt-nio.git at 2.8.1 (2.27s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[1/2667] Fetching swift-nio-transport-services
[2668/6503] Fetching swift-nio-transport-services, swift-log
[6504/21393] Fetching swift-nio-transport-services, swift-log, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.42s)
Fetched https://github.com/apple/swift-log.git from cache (0.42s)
[1638/14890] Fetching swift-nio-ssl
[1937/91229] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.12s)
[54201/76339] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (7.39s)
Computing version for https://github.com/jollyjinx/JLog
Computed https://github.com/jollyjinx/JLog at 0.0.7 (10.96s)
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 (1.19s)
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 (4.93s)
Computing version for https://github.com/jollyjinx/SwiftLibModbus
Computed https://github.com/jollyjinx/SwiftLibModbus at 2.0.5 (3.74s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (1.40s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.55s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (1.64s)
Fetching https://github.com/apple/swift-atomics.git
[1/1797] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.67s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.78s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4436] Fetching swift-system
[2885/21076] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.23s)
Fetched https://github.com/apple/swift-collections.git from cache (1.25s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.73s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.46s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.74s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.32.0 (0.62s)
Creating working copy for https://github.com/jollyjinx/JLog
Working copy of https://github.com/jollyjinx/JLog resolved at 0.0.7
Creating working copy for https://github.com/sroebert/mqtt-nio.git
Working copy of https://github.com/sroebert/mqtt-nio.git resolved at 2.8.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.32.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.5.1
Creating working copy for https://github.com/jollyjinx/SwiftLibModbus
Working copy of https://github.com/jollyjinx/SwiftLibModbus resolved at 2.0.5
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at main (6ebb96c)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.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.24.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.83.0
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.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
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin SwiftFormatPlugin
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/SwiftLibModbus/Sources/CModbus/modbus-rtu.c:38:
/host/spi-builder-workspace/.build/checkouts/SwiftLibModbus/Sources/CModbus/modbus-rtu-private.h:31:10: fatal error: 'termios.h' file not found
31 | #include <termios.h>
| ^~~~~~~~~~~
1 error generated.
[2/70] Compiling CModbus modbus-rtu.c
[2/70] Compiling CModbus modbus.c
[2/70] Compiling CModbus strlcpy.c
[2/70] Compiling CModbus modbus-data.c
[2/70] Compiling CModbus modbus-tcp.c
[2/70] Compiling CNIOLLHTTP c_nio_http.c
[2/70] Compiling c-nioatomics.c
[2/70] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm