The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build sma2mqtt, reference 3.1.2 (ab4f06), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 20:56:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/sma2mqtt.git
Reference: 3.1.2
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/sma2mqtt
 * tag               3.1.2      -> FETCH_HEAD
HEAD is now at ab4f067 Added multiarch (arm64/amd64) docker build file
Cloned https://github.com/jollyjinx/sma2mqtt.git
Revision (git rev-parse @):
ab4f067c1911f16488a89a3716866dbb4bb96b53
SUCCESS checkout https://github.com/jollyjinx/sma2mqtt.git at 3.1.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/jollyjinx/sma2mqtt.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/apple/swift-argument-parser
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/jollyjinx/BinaryCoder
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/swift-server-community/mqtt-nio
Fetching https://github.com/jollyjinx/JLog
[1/296] Fetching binarycoder
[297/389] Fetching binarycoder, jlog
[390/14403] Fetching binarycoder, jlog, async-http-client
[2493/23230] Fetching binarycoder, jlog, async-http-client, mqtt-nio
[15928/38610] Fetching binarycoder, jlog, async-http-client, mqtt-nio, swift-argument-parser
[38611/87551] Fetching binarycoder, jlog, async-http-client, mqtt-nio, swift-argument-parser, swiftformat
Fetched https://github.com/jollyjinx/JLog from cache (1.17s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.18s)
[26074/72078] Fetching binarycoder, async-http-client, mqtt-nio, swiftformat
Fetched https://github.com/jollyjinx/BinaryCoder from cache (27.79s)
Fetched https://github.com/swift-server/async-http-client.git from cache (27.80s)
Fetched https://github.com/swift-server-community/mqtt-nio from cache (27.84s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (28.53s)
Computing version for https://github.com/jollyjinx/BinaryCoder
Computed https://github.com/jollyjinx/BinaryCoder at 2.3.2 (31.85s)
Computing version for https://github.com/jollyjinx/JLog
Computed https://github.com/jollyjinx/JLog at 0.0.7 (0.48s)
Fetching https://github.com/Adorkable/swift-log-format-and-pipe
Fetching https://github.com/apple/swift-log.git
[1/190] Fetching swift-log-format-and-pipe
[191/4026] Fetching swift-log-format-and-pipe, swift-log
Fetched https://github.com/Adorkable/swift-log-format-and-pipe from cache (0.67s)
Fetched https://github.com/apple/swift-log.git from cache (0.67s)
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.90s)
Computing version for https://github.com/swift-server-community/mqtt-nio
Computed https://github.com/swift-server-community/mqtt-nio at 2.12.1 (0.66s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/1797] Fetching swift-atomics
[1798/4464] Fetching swift-atomics, swift-nio-transport-services
[4465/19354] Fetching swift-atomics, swift-nio-transport-services, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.39s)
[2244/16687] Fetching swift-atomics, swift-nio-ssl
[3734/93026] Fetching swift-atomics, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.89s)
[60579/78136] Fetching swift-atomics, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (4.63s)
Fetched https://github.com/apple/swift-nio.git from cache (4.75s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (5.68s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4436] Fetching swift-system
[1155/21076] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.55s)
[4327/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.42s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.85s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.51s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.69s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.46s)
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 (0.43s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.47s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.26.1 (0.45s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-algorithms.git
[1/5942] Fetching swift-nio-extras
[2735/11901] Fetching swift-nio-extras, swift-algorithms
[5353/23433] Fetching swift-nio-extras, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git from cache (0.45s)
[8595/17474] Fetching swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.14s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.15s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (1.63s)
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.55s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.45s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.49s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.28.0 (1.16s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/1616] Fetching swift-asn1
[82/2520] Fetching swift-asn1, swift-http-types
[2021/4946] Fetching swift-asn1, swift-http-types, swift-service-lifecycle
[2255/9931] Fetching swift-asn1, swift-http-types, swift-service-lifecycle, swift-async-algorithms
Fetched https://github.com/apple/swift-asn1.git from cache (0.34s)
[7069/8315] Fetching swift-http-types, swift-service-lifecycle, swift-async-algorithms
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.40s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.47s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.47s)
[1/1169] Fetching swift-http-structured-headers
[1170/7353] Fetching swift-http-structured-headers, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.43s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.43s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (1.27s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.59s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (0.57s)
Fetching https://github.com/apple/swift-crypto.git
[1/15419] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.24s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (3.59s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.61s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.51s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.67s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (0.51s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.56.4 (0.56s)
Creating working copy for https://github.com/jollyjinx/BinaryCoder
Working copy of https://github.com/jollyjinx/BinaryCoder resolved at 2.3.2
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/swift-server-community/mqtt-nio
Working copy of https://github.com/swift-server-community/mqtt-nio resolved at 2.12.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.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.28.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.3.2
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-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/jollyjinx/JLog
Working copy of https://github.com/jollyjinx/JLog resolved at 0.0.7
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.3.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/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.0.3
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/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.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.10.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/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/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.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.6.3
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.36.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.0.4
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.26.1
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.56.4
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
warning: 'spi-builder-workspace': found 6 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/sma2mqttLibrary/DataObjects/Resources/sbs.definition.json
    /host/spi-builder-workspace/Sources/sma2mqttLibrary/DataObjects/Resources/sb3.definition.json
    /host/spi-builder-workspace/Sources/sma2mqttLibrary/DataObjects/Resources/sb4.definition.json
    /host/spi-builder-workspace/Sources/sma2mqttLibrary/DataObjects/Resources/sb3.translationData.json
    /host/spi-builder-workspace/Sources/sma2mqttLibrary/DataObjects/Resources/sb4.translationData.json
    /host/spi-builder-workspace/Sources/sma2mqttLibrary/DataObjects/Resources/sbs.translationData.json
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin SwiftFormatPlugin
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/CNative/select.c:1:
/host/spi-builder-workspace/Sources/CNative/include/select.h:3:1: error: unknown type name '__BEGIN_DECLS'
    3 | __BEGIN_DECLS
      | ^
/host/spi-builder-workspace/Sources/CNative/include/select.h:7:1: error: unknown type name '__END_DECLS'
    7 | __END_DECLS
      | ^
2 errors generated.
[2/490] Compiling CNative select.c
[2/490] Compiling a_d2i_fp.cc
[2/490] Compiling a_bool.cc
[2/490] Compiling CAsyncHTTPClient CAsyncHTTPClient.c
[2/490] Compiling c-atomics.c
[2/490] Compiling a_dup.cc
[2/490] Compiling a_bitstr.cc
[2/490] Compiling c-nioatomics.c
BUILD FAILURE 6.2 wasm