The Swift Package Index logo.Swift Package Index

Build Information

Failed to build modbus2mqtt, reference 2.9.1 (ba1e83), with Swift 6.3 for Wasm on 18 Oct 2026 00:05:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jollyjinx/modbus-2-mqtt-bridge.git
Reference: 2.9.1
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.1      -> FETCH_HEAD
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 2.9.1
========================================
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-54344847-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.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:11aa8e4a9dbcd813ae44128d01e945c51d260b4dfda77b6bb7d997d0cc236164
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.64s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/jollyjinx/SwiftLibModbus
[1/574] Fetching swiftlibmodbus
[24/2535] Fetching swiftlibmodbus, swift-http-types
[25/10840] Fetching swiftlibmodbus, swift-http-types, swift-log
[262/13707] Fetching swiftlibmodbus, swift-http-types, swift-log, swift-nio-transport-services
[1318/30596] Fetching swiftlibmodbus, swift-http-types, swift-log, swift-nio-transport-services, swift-nio-ssl
[1760/34680] Fetching swiftlibmodbus, swift-http-types, swift-log, swift-nio-transport-services, swift-nio-ssl, swift-configuration
Fetched https://github.com/jollyjinx/SwiftLibModbus from cache (0.50s)
[2522/34106] Fetching swift-http-types, swift-log, swift-nio-transport-services, swift-nio-ssl, swift-configuration
Fetching https://github.com/jollyjinx/JLog
Fetched https://github.com/apple/swift-configuration.git from cache (0.81s)
Fetching https://github.com/apple/swift-argument-parser
[14485/30022] Fetching swift-http-types, swift-log, swift-nio-transport-services, swift-nio-ssl
[14992/30136] Fetching swift-http-types, swift-log, swift-nio-transport-services, swift-nio-ssl, jlog
Fetched https://github.com/jollyjinx/JLog from cache (0.45s)
Fetching https://github.com/apple/swift-nio.git
[15667/30022] Fetching swift-http-types, swift-log, swift-nio-transport-services, swift-nio-ssl
[30023/49168] Fetching swift-http-types, swift-log, swift-nio-transport-services, swift-nio-ssl, swift-argument-parser
[49169/135731] Fetching swift-http-types, swift-log, swift-nio-transport-services, swift-nio-ssl, swift-argument-parser, swift-nio
Fetched https://github.com/apple/swift-argument-parser from cache (1.33s)
Fetching https://github.com/apple/swift-nio-extras.git
[34351/116585] Fetching swift-http-types, swift-log, swift-nio-transport-services, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-http-types.git from cache (2.35s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (2.35s)
Fetched https://github.com/apple/swift-log.git from cache (2.35s)
[26411/103452] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.38s)
[10388/86563] Fetching swift-nio
[36358/93268] Fetching swift-nio, swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.68s)
[56266/86563] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.17s)
Computing version for https://github.com/jollyjinx/SwiftLibModbus
Computed https://github.com/jollyjinx/SwiftLibModbus at 3.1.0 (6.44s)
Computing version for https://github.com/jollyjinx/JLog
Computed https://github.com/jollyjinx/JLog at 0.0.9 (0.28s)
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.50s)
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 (2.01s)
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.30s)
Fetching https://github.com/apple/swift-atomics.git
[1/1889] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.58s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.2 (1.92s)
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/swift-server/swift-service-lifecycle
[1/2874] Fetching swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle from cache (0.52s)
[1/28874] Fetching swift-collections
Fetching https://github.com/apple/swift-system
Fetched https://github.com/apple/swift-collections from cache (1.81s)
[1/7323] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.87s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (2.98s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.30s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.31s)
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.41s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.46s)
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.27s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6821] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.66s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (1.07s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.3 (0.44s)
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.33s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.35s)
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.70s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
[1/1284] Fetching swift-http-structured-headers
[445/3335] Fetching swift-http-structured-headers, swift-asn1
[1170/9494] Fetching swift-http-structured-headers, swift-asn1, swift-algorithms
[2674/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-asn1.git from cache (0.60s)
[7224/15044] Fetching swift-http-structured-headers, swift-algorithms, swift-certificates
Fetched https://github.com/apple/swift-certificates.git from cache (0.85s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.85s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.85s)
[1/12294] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.80s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.79s)
Fetching https://github.com/apple/swift-numerics.git
[1/6756] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.61s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.95s)
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.30s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.35s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.39s)
Fetching https://github.com/apple/swift-crypto.git
[1/18682] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.83s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.1 (2.24s)
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.29s)
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/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/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-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/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/jollyjinx/JLog
Working copy of https://github.com/jollyjinx/JLog resolved at 0.0.9
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/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-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-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-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-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-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-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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.0
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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.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/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/jollyjinx/SwiftLibModbus
Working copy of https://github.com/jollyjinx/SwiftLibModbus resolved at 3.1.0
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-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.7
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/86] Copying DeviceDefinitions
[3/86] Write sources
[31/86] Compiling CNIOWindows WSAStartup.c
[32/86] Compiling CNIOWASI CNIOWASI.c
[33/86] Compiling _AtomicsShims.c
[34/86] Compiling CNIOWindows shim.c
[35/86] Compiling CNIOLinux shim.c
[36/86] Compiling CNIOOpenBSD shim.c
[37/86] Compiling CNIOPosix event_loop_id.c
[38/86] Compiling CSystem shims.c
[39/86] Compiling CNIOLinux liburing_shims.c
[40/86] Compiling CNIOFreeBSD shim.c
[41/86] Compiling CNIODarwin shim.c
[42/86] Compiling CNIOLLHTTP c_nio_http.c
[43/86] Compiling CNIOSHA1 c_nio_sha1.c
[44/86] Compiling CModbus strlcpy.c
[45/86] Write swift-version-24593BA9C3E375BF.txt
[46/86] Compiling CNIOLLHTTP c_nio_api.c
In file included from /host/spi-builder-workspace/.build/checkouts/SwiftLibModbus/Sources/CModbus/modbus-tcp.c:28:
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
    2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
      |  ^
/host/spi-builder-workspace/.build/checkouts/SwiftLibModbus/Sources/CModbus/modbus-tcp.c:55:11: fatal error: 'netdb.h' file not found
   55 | # include <netdb.h>
      |           ^~~~~~~~~
2 errors generated.
[47/86] Compiling CModbus modbus-tcp.c
[47/86] Compiling c-nioatomics.c
[47/86] Compiling CModbus modbus-data.c
[47/86] Compiling CModbus modbus.c
[47/86] Compiling CNIOLLHTTP c_nio_llhttp.c
[47/86] Compiling c-atomics.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>
      |          ^~~~~~~~~~~
[47/86] Compiling CModbus modbus-rtu.c
BUILD FAILURE 6.3 wasm