The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-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.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.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-53886769-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: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.57s)
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/jollyjinx/JLog
[1/114] Fetching jlog
[115/2075] Fetching jlog, swift-http-types
[2076/6159] Fetching jlog, swift-http-types, swift-configuration
Fetched https://github.com/jollyjinx/JLog from cache (0.38s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.38s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[654/4084] Fetching swift-configuration
[1921/10789] Fetching swift-configuration, swift-nio-extras
[3998/27678] Fetching swift-configuration, swift-nio-extras, swift-nio-ssl
[8178/46824] Fetching swift-configuration, swift-nio-extras, swift-nio-ssl, swift-argument-parser
[35510/49691] Fetching swift-configuration, swift-nio-extras, swift-nio-ssl, swift-argument-parser, swift-nio-transport-services
[36024/57996] Fetching swift-configuration, swift-nio-extras, swift-nio-ssl, swift-argument-parser, swift-nio-transport-services, swift-log
Fetched https://github.com/apple/swift-argument-parser from cache (0.81s)
[26691/38850] Fetching swift-configuration, swift-nio-extras, swift-nio-ssl, swift-nio-transport-services, swift-log
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.43s)
[24495/35983] Fetching swift-configuration, swift-nio-extras, swift-nio-ssl, swift-log
Fetching https://github.com/jollyjinx/SwiftLibModbus
Fetched https://github.com/apple/swift-log.git from cache (0.53s)
[1/574] Fetching swiftlibmodbus
Fetched https://github.com/jollyjinx/SwiftLibModbus from cache (0.37s)
Fetched https://github.com/apple/swift-configuration.git from cache (1.25s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.25s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.26s)
[1/86563] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.46s)
Computing version for https://github.com/jollyjinx/SwiftLibModbus
Computed https://github.com/jollyjinx/SwiftLibModbus at 3.1.0 (4.41s)
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 from cache (0.38s)
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.24s)
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.14s)
Fetching https://github.com/apple/swift-atomics.git
[1/1889] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (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.21s)
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/swift-server/swift-service-lifecycle
Fetching https://github.com/apple/swift-system
[1/2874] Fetching swift-service-lifecycle
[2875/10197] Fetching swift-service-lifecycle, swift-system
[9906/39071] Fetching swift-service-lifecycle, swift-system, swift-collections
Fetched https://github.com/swift-server/swift-service-lifecycle from cache (1.66s)
Fetched https://github.com/apple/swift-system from cache (1.66s)
Fetched https://github.com/apple/swift-collections from cache (1.67s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (1.81s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.13s)
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.17s)
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.12s)
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.52s)
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.70s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.3 (0.21s)
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.15s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.15s)
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.38s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-algorithms.git
[1/2051] Fetching swift-asn1
[104/3335] Fetching swift-asn1, swift-http-structured-headers
[3336/9494] Fetching swift-asn1, swift-http-structured-headers, swift-algorithms
[3337/17095] Fetching swift-asn1, swift-http-structured-headers, swift-algorithms, swift-certificates
[9559/29389] Fetching swift-asn1, swift-http-structured-headers, swift-algorithms, swift-certificates, swift-nio-http2
Fetched https://github.com/apple/swift-asn1.git from cache (0.64s)
[23896/27338] Fetching swift-http-structured-headers, swift-algorithms, swift-certificates, swift-nio-http2
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.64s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.64s)
[16576/19895] Fetching swift-certificates, swift-nio-http2
Fetched https://github.com/apple/swift-certificates.git from cache (0.64s)
[9098/12294] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (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.06s)
Fetching https://github.com/apple/swift-numerics.git
[1/6756] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (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.65s)
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.13s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.16s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.19s)
Fetching https://github.com/apple/swift-crypto.git
[1/18682] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.20s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.1 (1.43s)
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.15s)
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-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-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/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-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-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-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/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/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-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-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-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-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.3
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-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-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-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.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.104.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-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/JLog
Working copy of https://github.com/jollyjinx/JLog resolved at 0.0.9
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
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/86] Write sources
[6/86] Copying DeviceDefinitions
[7/86] Write sources
[25/86] Compiling _AtomicsShims.c
[26/86] Write sources
[30/86] Compiling CNIOWindows shim.c
[31/86] Compiling CNIOWindows WSAStartup.c
[32/86] Compiling CNIOWASI CNIOWASI.c
[33/86] Compiling CNIOPosix event_loop_id.c
[34/86] Compiling CSystem shims.c
[35/86] Compiling CNIOOpenBSD shim.c
[36/86] Compiling CNIOLinux shim.c
[37/86] Compiling CNIOLinux liburing_shims.c
[38/86] Compiling CNIOSHA1 c_nio_sha1.c
[39/86] Compiling CNIODarwin shim.c
[39/86] Compiling CNIOFreeBSD shim.c
[40/86] Compiling CNIOLLHTTP c_nio_http.c
[42/86] Compiling CModbus strlcpy.c
[43/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.
[44/86] Compiling CModbus modbus-tcp.c
[44/86] Compiling CModbus modbus-data.c
[44/86] Compiling CModbus modbus.c
[44/86] Compiling CModbus modbus-rtu.c
[44/86] Compiling CNIOLLHTTP c_nio_llhttp.c
[44/86] Compiling c-atomics.c
[44/86] Compiling c-nioatomics.c
[44/86] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.3 wasm