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 fluent-wallet, reference main (ceeec0), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 21:34:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/fpseverino/fluent-wallet.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/fpseverino/fluent-wallet
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ceeec05 Update README for v0.1.0
Cloned https://github.com/fpseverino/fluent-wallet.git
Revision (git rev-parse @):
ceeec05d635b7e995956623ae2f1353d2df76965
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/fpseverino/fluent-wallet.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/fpseverino/fluent-wallet.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/vapor/fluent-kit.git
Fetching https://github.com/fpseverino/swift-wallet.git
[1/378] Fetching swift-wallet
[47/13706] Fetching swift-wallet, fluent-kit
Fetched https://github.com/fpseverino/swift-wallet.git from cache (0.93s)
Fetched https://github.com/vapor/fluent-kit.git from cache (0.94s)
Computing version for https://github.com/fpseverino/swift-wallet.git
Computed https://github.com/fpseverino/swift-wallet.git at 0.4.1 (1.75s)
Fetching https://github.com/adam-fowler/swift-zip-archive.git
Fetching https://github.com/apple/swift-certificates.git
[1/716] Fetching swift-zip-archive
[717/6900] Fetching swift-zip-archive, swift-certificates
Fetched https://github.com/adam-fowler/swift-zip-archive.git from cache (0.82s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.83s)
Computing version for https://github.com/adam-fowler/swift-zip-archive.git
Computed https://github.com/adam-fowler/swift-zip-archive.git at 0.6.3 (5.10s)
Fetching https://github.com/apple/swift-system.git
[1/4436] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.57s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (1.46s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (4.14s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-crypto.git
[1/1616] Fetching swift-asn1
[1617/17035] Fetching swift-asn1, swift-crypto
Fetched https://github.com/apple/swift-asn1.git from cache (2.54s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.61s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (4.60s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.96s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.52.2 (0.76s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/vapor/sql-kit.git
Fetching https://github.com/apple/swift-log.git
[1/5983] Fetching sql-kit
[241/9819] Fetching sql-kit, swift-log
[9820/86158] Fetching sql-kit, swift-log, swift-nio
Fetched https://github.com/vapor/sql-kit.git from cache (0.86s)
Fetched https://github.com/apple/swift-log.git from cache (0.87s)
[2291/76339] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (8.07s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (8.87s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.33.0 (0.76s)
Fetching https://github.com/apple/swift-collections.git
[1/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.68s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (3.19s)
Fetching https://github.com/apple/swift-atomics.git
[1/1797] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.64s)
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-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.13s)
Creating working copy for https://github.com/vapor/sql-kit.git
Working copy of https://github.com/vapor/sql-kit.git resolved at 3.33.0
Creating working copy for https://github.com/adam-fowler/swift-zip-archive.git
Working copy of https://github.com/adam-fowler/swift-zip-archive.git resolved at 0.6.3
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.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-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-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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.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/fpseverino/swift-wallet.git
Working copy of https://github.com/fpseverino/swift-wallet.git resolved at 0.4.1
Creating working copy for https://github.com/vapor/fluent-kit.git
Working copy of https://github.com/vapor/fluent-kit.git resolved at 1.52.2
Building for debugging...
[0/444] Write sources
[32/444] Compiling CSystem shims.c
[32/444] Compiling CZipZlib empty.c
[34/444] Compiling CNIOWindows shim.c
[35/444] Compiling _AtomicsShims.c
[36/444] Compiling CNIOWindows WSAStartup.c
[36/444] Compiling CNIOWASI CNIOWASI.c
[38/444] Compiling CNIOLinux liburing_shims.c
[39/444] Compiling CNIODarwin shim.c
[39/444] Compiling CNIOLinux shim.c
[41/444] Write swift-version-24593BA9C3E375BF.txt
[42/444] Compiling fiat_p256_adx_sqr.S
[43/444] Compiling fiat_curve25519_adx_mul.S
[44/444] Compiling fiat_p256_adx_mul.S
[45/447] Compiling md5-x86_64-linux.S
[46/448] Compiling fiat_curve25519_adx_square.S
[47/497] Compiling CCryptoBoringSSLShims shims.c
[49/502] Emitting module _CertificateInternals
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/502] Emitting module SystemPackage
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[51/505] Emitting module _NIODataStructures
[51/505] Compiling c-nioatomics.c
[52/519] Compiling c-atomics.c
[53/519] Compiling md5-x86_64-apple.S
[55/525] Emitting module NIOConcurrencyHelpers
[56/525] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[57/525] Compiling InternalCollectionsUtilities UInt+reversed.swift
[58/525] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[59/525] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[60/526] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[61/526] Compiling InternalCollectionsUtilities Descriptions.swift
[62/526] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[63/526] Emitting module Logging
[64/526] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[65/526] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[66/526] Compiling InternalCollectionsUtilities _SortedCollection.swift
[69/526] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[70/526] Compiling InternalCollectionsUtilities Debugging.swift
[71/528] Compiling SwiftASN1 ObjectIdentifier.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[72/528] Compiling SwiftASN1 PEMDocument.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[73/528] Compiling SwiftASN1 TimeUtilities.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[74/528] Compiling SwiftASN1 UTCTime.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[75/528] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[76/528] Compiling InternalCollectionsUtilities Integer rank.swift
[77/528] Emitting module InternalCollectionsUtilities
[78/528] Emitting module _NIOBase64
[79/528] Compiling _NIOBase64 Base64.swift
[85/529] Compiling SystemPackage Util+StringArray.swift
[86/529] Compiling SystemPackage Util.swift
[87/529] Compiling SystemPackage UtilConsumers.swift
[88/529] Compiling SystemPackage MachPort.swift
[89/529] Compiling SystemPackage PlatformString.swift
[90/529] Compiling SystemPackage SystemString.swift
[95/529] Emitting module SwiftASN1
[101/529] Compiling Logging Locks.swift
[115/529] Compiling _NIODataStructures PriorityQueue.swift
[116/529] Compiling _NIODataStructures _TinyArray.swift
[116/529] Compiling md5-586-linux.S
[117/529] Wrapping AST for _NIOBase64 for debugging
[119/529] Compiling _CertificateInternals _TinyArray.swift
[120/530] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[120/531] Compiling md5-586-apple.S
[123/531] Wrapping AST for _CertificateInternals for debugging
[124/531] Compiling chacha20_poly1305_x86_64-linux.S
[126/654] Compiling Logging MetadataProvider.swift
[127/654] Compiling OrderedCollections OrderedDictionary.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 |   _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 |   return umask(mode)
    |          `- error: cannot find 'umask' in scope
253 | }
254 |
[128/654] Compiling OrderedCollections OrderedSet+Codable.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 |   _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 |   return umask(mode)
    |          `- error: cannot find 'umask' in scope
253 | }
254 |
[129/654] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 |   _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 |   return umask(mode)
    |          `- error: cannot find 'umask' in scope
253 | }
254 |
[130/654] Compiling OrderedCollections OrderedSet+Descriptions.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 |   _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 |   return umask(mode)
    |          `- error: cannot find 'umask' in scope
253 | }
254 |
[131/654] Compiling NIOConcurrencyHelpers lock.swift
[132/654] Compiling OrderedCollections OrderedSet+Diffing.swift
[133/654] Compiling OrderedCollections OrderedSet+Equatable.swift
[134/654] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[135/654] Compiling OrderedCollections OrderedSet+Hashable.swift
[136/654] Compiling NIOConcurrencyHelpers NIOLock.swift
[137/654] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[137/654] Compiling err_data.cc
BUILD FAILURE 6.2 wasm