The Swift Package Index logo.Swift Package Index

Build Information

Failed to build modbus2mqtt, reference main (287341), with Swift 6.3 for Wasm on 30 Sep 2026 23:14:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
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 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 main
========================================
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-54344845-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.57s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/jollyjinx/SwiftLibModbus
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-argument-parser
[1/2867] Fetching swift-nio-transport-services
[1177/4806] Fetching swift-nio-transport-services, swift-http-types
[2869/5380] Fetching swift-nio-transport-services, swift-http-types, swiftlibmodbus
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.47s)
Fetching https://github.com/apple/swift-nio-ssl.git
[691/2513] Fetching swift-http-types, swiftlibmodbus
[983/9206] Fetching swift-http-types, swiftlibmodbus, swift-nio-extras
Fetched https://github.com/jollyjinx/SwiftLibModbus from cache (0.49s)
Fetching https://github.com/jollyjinx/JLog
[428/8632] Fetching swift-http-types, swift-nio-extras
Fetching https://github.com/apple/swift-configuration.git
Fetched https://github.com/apple/swift-http-types.git from cache (0.65s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.65s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[1/19010] Fetching swift-argument-parser
[762/19124] Fetching swift-argument-parser, jlog
Fetched https://github.com/jollyjinx/JLog from cache (0.41s)
[3802/19010] Fetching swift-argument-parser
[18441/27223] Fetching swift-argument-parser, swift-log
[19176/31058] Fetching swift-argument-parser, swift-log, swift-configuration
Fetched https://github.com/apple/swift-argument-parser from cache (1.19s)
Fetched https://github.com/apple/swift-configuration.git from cache (0.56s)
Fetched https://github.com/apple/swift-log.git from cache (0.58s)
[1/16863] Fetching swift-nio-ssl
[14504/103100] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.78s)
[54330/86237] Fetching swift-nio
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 (5.32s)
Computing version for https://github.com/jollyjinx/JLog
Computed https://github.com/jollyjinx/JLog at 0.0.9 (0.19s)
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 (1.59s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.1 (0.85s)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-collections
[1/28068] Fetching swift-collections
[4773/35103] Fetching swift-collections, swift-system
Fetching https://github.com/swift-server/swift-service-lifecycle
Fetched https://github.com/apple/swift-system from cache (1.31s)
Fetched https://github.com/apple/swift-collections from cache (1.33s)
[1/2849] Fetching swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle from cache (0.60s)
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.89s)
Fetching https://github.com/apple/swift-atomics.git
[1/1885] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.51s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.72s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.19s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.37s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.21s)
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.20s)
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.82s)
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.1 (0.26s)
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.20s)
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.19s)
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.55s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
[1/1253] Fetching swift-http-structured-headers
[428/3239] Fetching swift-http-structured-headers, swift-asn1
[3042/10837] Fetching swift-http-structured-headers, swift-asn1, swift-certificates
[3043/16996] Fetching swift-http-structured-headers, swift-asn1, swift-certificates, swift-algorithms
[3914/29251] Fetching swift-http-structured-headers, swift-asn1, swift-certificates, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git from cache (0.64s)
[13534/23092] Fetching swift-http-structured-headers, swift-asn1, swift-certificates, swift-nio-http2
Fetched https://github.com/apple/swift-certificates.git from cache (0.67s)
[6181/15494] Fetching swift-http-structured-headers, swift-asn1, swift-nio-http2
Fetched https://github.com/apple/swift-asn1.git from cache (1.07s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.07s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.08s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.26s)
Fetching https://github.com/apple/swift-numerics.git
[1/6651] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.57s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.74s)
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.25s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.21s)
Fetching https://github.com/apple/swift-crypto.git
[1/18572] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.33s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.0 (1.64s)
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.20s)
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-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.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-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-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-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-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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.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.12.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/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-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-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-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/JLog
Working copy of https://github.com/jollyjinx/JLog resolved at 0.0.9
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-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-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.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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
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 GenerateDoccReference
Building for debugging...
[2/86] Copying DeviceDefinitions
[3/86] Write sources
[29/86] Write swift-version-24593BA9C3E375BF.txt
[30/86] Compiling CSystem shims.c
[31/86] Compiling CModbus strlcpy.c
[32/86] Compiling _AtomicsShims.c
[32/86] Compiling CNIOWindows shim.c
[34/86] Compiling CNIOWindows WSAStartup.c
[35/86] Compiling CNIOWASI CNIOWASI.c
[36/114] Compiling CNIOSHA1 c_nio_sha1.c
[37/114] Compiling CModbus modbus.c
[38/130] Compiling CNIOOpenBSD shim.c
[39/139] Compiling CNIOLinux shim.c
[40/151] Compiling CNIOPosix event_loop_id.c
[41/169] Compiling CNIOLinux liburing_shims.c
[42/178] Compiling CNIOLLHTTP c_nio_http.c
[43/178] Compiling CNIOLLHTTP c_nio_api.c
[44/178] Compiling CNIOFreeBSD shim.c
[45/178] Compiling CNIODarwin shim.c
[47/178] Emitting module InternalCollectionsUtilities
[48/181] Emitting module SystemPackage
[48/186] Compiling CNIOLLHTTP c_nio_llhttp.c
[49/186] Compiling c-nioatomics.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.
[50/186] Compiling CModbus modbus-tcp.c
[50/186] Compiling c-atomics.c
[51/186] Emitting module _NIODataStructures
BUILD FAILURE 6.3 wasm