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 main (94e55e), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 20:57:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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: 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/sma2mqtt
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 94e55e2 updated to swift 6 package, removed CNative module, moved sma2mqttLibrary Resources to single directory.
Cloned https://github.com/jollyjinx/sma2mqtt.git
Revision (git rev-parse @):
94e55e267d9ba3872c2f17ad158f51e5bccd6a13
SUCCESS checkout https://github.com/jollyjinx/sma2mqtt.git at main
========================================
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-4606859-0":/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/swift-server-community/mqtt-nio
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/jollyjinx/JLog
Fetching https://github.com/jollyjinx/BinaryCoder
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/nicklockwood/SwiftFormat
[1/93] Fetching jlog
[69/389] Fetching jlog, binarycoder
[365/14403] Fetching jlog, binarycoder, async-http-client
[1487/23230] Fetching jlog, binarycoder, async-http-client, mqtt-nio
[10063/38610] Fetching jlog, binarycoder, async-http-client, mqtt-nio, swift-argument-parser
[35203/87551] Fetching jlog, binarycoder, async-http-client, mqtt-nio, swift-argument-parser, swiftformat
Fetched https://github.com/swift-server-community/mqtt-nio from cache (1.13s)
[32206/78724] Fetching jlog, binarycoder, async-http-client, swift-argument-parser, swiftformat
Fetched https://github.com/jollyjinx/BinaryCoder from cache (1.39s)
Fetched https://github.com/swift-server/async-http-client.git from cache (1.40s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.41s)
[4473/49034] Fetching jlog, swiftformat
Fetched https://github.com/jollyjinx/JLog from cache (33.94s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (34.97s)
Computing version for https://github.com/jollyjinx/BinaryCoder
Computed https://github.com/jollyjinx/BinaryCoder at 2.3.2 (35.67s)
Computing version for https://github.com/jollyjinx/JLog
Computed https://github.com/jollyjinx/JLog at 0.0.7 (0.46s)
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
[79/4026] Fetching swift-log-format-and-pipe, swift-log
Fetched https://github.com/Adorkable/swift-log-format-and-pipe from cache (0.58s)
Fetched https://github.com/apple/swift-log.git from cache (0.59s)
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 (7.16s)
Computing version for https://github.com/swift-server-community/mqtt-nio
Computed https://github.com/swift-server-community/mqtt-nio at 2.12.1 (4.26s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2667] Fetching swift-nio-transport-services
[28/4464] Fetching swift-nio-transport-services, swift-atomics
[4465/80803] Fetching swift-nio-transport-services, swift-atomics, swift-nio
[4466/95693] Fetching swift-nio-transport-services, swift-atomics, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (3.40s)
[67346/93026] Fetching swift-atomics, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-atomics.git from cache (7.59s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (7.62s)
Fetched https://github.com/apple/swift-nio.git from cache (7.72s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (8.78s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4436] Fetching swift-system
[2353/21076] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.57s)
[2829/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.79s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.37s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.49s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.81s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (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 (0.47s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.60s)
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.60s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/5942] Fetching swift-nio-extras
[477/11901] Fetching swift-nio-extras, swift-algorithms
[5712/23433] Fetching swift-nio-extras, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.51s)
[8612/17491] Fetching swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git from cache (2.47s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.48s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (5.47s)
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.82s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.75s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.97s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.28.0 (2.53s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
[1/904] Fetching swift-http-types
[65/3330] Fetching swift-http-types, swift-service-lifecycle
[3331/4499] Fetching swift-http-types, swift-service-lifecycle, swift-http-structured-headers
Fetched https://github.com/apple/swift-http-types.git from cache (0.38s)
[2485/3595] Fetching swift-service-lifecycle, swift-http-structured-headers
[2661/5211] Fetching swift-service-lifecycle, swift-http-structured-headers, swift-asn1
[2722/10196] Fetching swift-service-lifecycle, swift-http-structured-headers, swift-asn1, swift-async-algorithms
[4746/16380] Fetching swift-service-lifecycle, swift-http-structured-headers, swift-asn1, swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.60s)
[10374/14764] Fetching swift-service-lifecycle, swift-http-structured-headers, swift-async-algorithms, swift-certificates
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.77s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.86s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.86s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.86s)
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.45s)
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.68s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (0.65s)
Fetching https://github.com/apple/swift-crypto.git
[1/15419] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.09s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (3.47s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.64s)
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.54s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.61s)
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.54s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.56.4 (0.54s)
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
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-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/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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.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-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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
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/jollyjinx/BinaryCoder
Working copy of https://github.com/jollyjinx/BinaryCoder resolved at 2.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/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/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/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/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-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-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-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-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-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-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.36.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin SwiftFormatPlugin
Building for debugging...
[2/489] Compiling a_d2i_fp.cc
[3/489] Compiling a_i2d_fp.cc
[4/489] Copying sma.data.objectMetaData.json
[5/489] Copying sma.data.Translation_Names.json
[6/489] Copying obisdefinition.json
[7/489] Copying SMANetPacketDefinitions.json
[8/489] Write sources
[10/489] Write swift-version-24593BA9C3E375BF.txt
[11/489] Write sources
[13/489] Compiling _NumericsShims _NumericsShims.c
[14/495] Compiling a_dup.cc
[15/495] Compiling _AtomicsShims.c
[16/495] Write sources
[18/495] Compiling a_mbstr.cc
[18/495] Write sources
[39/496] Compiling CNIOWindows shim.c
[40/510] Compiling a_object.cc
[42/524] Emitting module RealModule
[42/525] Compiling a_int.cc
[43/525] Compiling CNIOWindows WSAStartup.c
[44/525] Compiling CNIOWASI CNIOWASI.c
[45/525] Compiling a_gentm.cc
[46/525] Compiling CNIOLinux shim.c
[47/525] Compiling CNIOLinux liburing_shims.c
[48/525] Compiling CNIOSHA1 c_nio_sha1.c
[50/525] Emitting module _NIOBase64
[50/525] Compiling CNIOLLHTTP c_nio_http.c
[51/525] Compiling CNIOLLHTTP c_nio_api.c
[52/525] Compiling CNIOExtrasZlib empty.c
[53/525] Compiling CNIODarwin shim.c
[55/525] Emitting module _NIODataStructures
[55/525] Compiling CNIOBoringSSLShims shims.c
[56/525] Compiling fiat_p256_adx_sqr.S
[57/525] Compiling fiat_p256_adx_mul.S
[58/525] Compiling fiat_curve25519_adx_square.S
[59/525] Compiling fiat_curve25519_adx_mul.S
[60/525] Compiling c-nioatomics.c
[61/525] Compiling tls_record.cc
[62/525] Compiling CNIOLLHTTP c_nio_llhttp.c
[63/525] Compiling tls_method.cc
[64/525] Compiling tls13_server.cc
[65/525] Compiling tls13_enc.cc
[66/525] Compiling tls13_client.cc
[68/525] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[69/526] Compiling RealModule ElementaryFunctions.swift
[70/526] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[71/526] Compiling InternalCollectionsUtilities UInt+reversed.swift
[72/526] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[73/526] Compiling InternalCollectionsUtilities Integer rank.swift
[74/526] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[75/526] Compiling InternalCollectionsUtilities Debugging.swift
[76/526] Compiling RealModule RealFunctions.swift
[77/526] Compiling InternalCollectionsUtilities Descriptions.swift
[78/526] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[79/526] Emitting module Logging
[82/526] Emitting module InternalCollectionsUtilities
[85/526] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[86/526] Compiling InternalCollectionsUtilities _SortedCollection.swift
[87/526] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[88/526] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[89/526] Compiling RealModule Float80+Real.swift
[90/526] Compiling RealModule Real.swift
[91/526] Compiling _NIODataStructures PriorityQueue.swift
[92/526] Compiling Logging LogHandler.swift
[93/526] Compiling Logging Locks.swift
[94/526] Compiling RealModule Float16+Real.swift
[95/526] Compiling RealModule Float+Real.swift
[96/527] Compiling _NIOBase64 Base64.swift
[99/528] Compiling _NIODataStructures _TinyArray.swift
[99/528] Wrapping AST for _NIOBase64 for debugging
[100/528] Wrapping AST for RealModule for debugging
[102/528] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[104/544] Compiling Logging MetadataProvider.swift
[105/544] Compiling _NIODataStructures Heap.swift
[106/545] Wrapping AST for InternalCollectionsUtilities for debugging
[107/545] Wrapping AST for _NIODataStructures for debugging
[109/545] Compiling DequeModule Deque+Equatable.swift
[110/545] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[111/545] Compiling DequeModule Deque+Extras.swift
[112/545] Compiling DequeModule Deque+Hashable.swift
[113/545] Compiling DequeModule Deque+CustomReflectable.swift
[114/545] Compiling DequeModule Deque+Descriptions.swift
[115/545] Compiling DequeModule Deque+Testing.swift
[116/545] Compiling DequeModule Deque._Storage.swift
[117/547] Compiling Logging Logging.swift
[117/547] Compiling tls13_both.cc
[120/548] Compiling DequeModule Deque._UnsafeHandle.swift
[121/548] Compiling DequeModule Deque.swift
[122/548] Compiling DequeModule _DequeBuffer.swift
[123/548] Compiling DequeModule _DequeBufferHeader.swift
[124/549] Compiling DequeModule _DequeSlot.swift
[125/549] Compiling DequeModule _UnsafeWrappedBuffer.swift
[125/554] Compiling t1_enc.cc
[127/554] Compiling LoggingFormatAndPipe Pipe.swift
/host/spi-builder-workspace/.build/checkouts/swift-log-format-and-pipe/Sources/LoggingFormatAndPipe/BasicFormatter.swift:9:8: error: no such module 'Foundation'
 7 |
 8 | import Logging
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Your basic, customizable log formatter
[128/554] Compiling LoggingFormatAndPipe LoggerTextOutputStreamPipe.swift
/host/spi-builder-workspace/.build/checkouts/swift-log-format-and-pipe/Sources/LoggingFormatAndPipe/BasicFormatter.swift:9:8: error: no such module 'Foundation'
 7 |
 8 | import Logging
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Your basic, customizable log formatter
[128/554] Wrapping AST for Logging for debugging
[130/554] Compiling LoggingFormatAndPipe Formatter.swift
/host/spi-builder-workspace/.build/checkouts/swift-log-format-and-pipe/Sources/LoggingFormatAndPipe/BasicFormatter.swift:9:8: error: no such module 'Foundation'
 7 |
 8 | import Logging
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Your basic, customizable log formatter
[131/554] Compiling LoggingFormatAndPipe Handler.swift
/host/spi-builder-workspace/.build/checkouts/swift-log-format-and-pipe/Sources/LoggingFormatAndPipe/BasicFormatter.swift:9:8: error: no such module 'Foundation'
 7 |
 8 | import Logging
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Your basic, customizable log formatter
[132/554] Compiling LoggingFormatAndPipe BasicFormatter.swift
/host/spi-builder-workspace/.build/checkouts/swift-log-format-and-pipe/Sources/LoggingFormatAndPipe/BasicFormatter.swift:9:8: error: no such module 'Foundation'
 7 |
 8 | import Logging
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Your basic, customizable log formatter
error: emit-module command failed with exit code 1 (use -v to see invocation)
[133/554] Emitting module LoggingFormatAndPipe
/host/spi-builder-workspace/.build/checkouts/swift-log-format-and-pipe/Sources/LoggingFormatAndPipe/BasicFormatter.swift:9:8: error: no such module 'Foundation'
 7 |
 8 | import Logging
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Your basic, customizable log formatter
[133/554] Compiling ssl_stat.cc
[133/554] Compiling ssl_session.cc
[133/554] Compiling ssl_versions.cc
[133/554] Compiling ssl_transcript.cc
[133/554] Compiling ssl_privkey.cc
[133/554] Compiling ssl_x509.cc
BUILD FAILURE 6.2 wasm