Build Information
Failed to build fluent-wallet, reference 0.1.0 (fbfe7e
), with Swift 6.1 for Wasm on 30 May 2025 05:19:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fpseverino/fluent-wallet.git
Reference: 0.1.0
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
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at fbfe7eb Rename `Personalization` to `PersonalizationInfo`
Cloned https://github.com/fpseverino/fluent-wallet.git
Revision (git rev-parse @):
fbfe7eb39506d4ce77b4c0eeb802f213f359d347
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/fpseverino/fluent-wallet.git at 0.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/fpseverino/fluent-wallet.git
https://github.com/fpseverino/fluent-wallet.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "fluent-kit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.49.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/fluent-kit.git"
},
{
"identity" : "swift-wallet",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/fpseverino/swift-wallet.git"
}
],
"manifest_display_name" : "fluent-wallet",
"name" : "fluent-wallet",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "FluentWalletPasses",
"targets" : [
"FluentWalletPasses"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FluentWalletOrders",
"targets" : [
"FluentWalletOrders"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "OrderData",
"targets" : [
"OrderData"
],
"type" : {
"snippet" : null
}
},
{
"name" : "PassData",
"targets" : [
"PassData"
],
"type" : {
"snippet" : null
}
}
],
"targets" : [
{
"c99name" : "FluentWalletPassesTests",
"module_type" : "SwiftTarget",
"name" : "FluentWalletPassesTests",
"path" : "Tests/FluentWalletPassesTests",
"product_dependencies" : [
"XCTFluent"
],
"sources" : [
"FluentWalletPassesTests.swift"
],
"target_dependencies" : [
"FluentWalletPasses"
],
"type" : "test"
},
{
"c99name" : "FluentWalletPasses",
"module_type" : "SwiftTarget",
"name" : "FluentWalletPasses",
"path" : "Sources/FluentWalletPasses",
"product_dependencies" : [
"WalletPasses"
],
"product_memberships" : [
"FluentWalletPasses",
"OrderData",
"PassData"
],
"sources" : [
"DTOs/PersonalizationDictionaryDTO.swift",
"DTOs/SerialNumbersDTO.swift",
"Exports.swift",
"Models/Concrete Models/Pass.swift",
"Models/Concrete Models/PassesDevice.swift",
"Models/Concrete Models/PassesRegistration.swift",
"Models/Concrete Models/PersonalizationInfo.swift",
"Models/PassDataModel.swift",
"Models/PassModel.swift",
"Models/PassesRegistrationModel.swift",
"Models/PersonalizationInfoModel.swift"
],
"target_dependencies" : [
"FluentWallet"
],
"type" : "library"
},
{
"c99name" : "FluentWalletOrdersTests",
"module_type" : "SwiftTarget",
"name" : "FluentWalletOrdersTests",
"path" : "Tests/FluentWalletOrdersTests",
"product_dependencies" : [
"XCTFluent"
],
"sources" : [
"FluentWalletOrdersTests.swift"
],
"target_dependencies" : [
"FluentWalletOrders"
],
"type" : "test"
},
{
"c99name" : "FluentWalletOrders",
"module_type" : "SwiftTarget",
"name" : "FluentWalletOrders",
"path" : "Sources/FluentWalletOrders",
"product_dependencies" : [
"WalletOrders"
],
"product_memberships" : [
"FluentWalletOrders",
"OrderData",
"PassData"
],
"sources" : [
"DTOs/OrderIdentifiersDTO.swift",
"Exports.swift",
"Models/Concrete Models/Order.swift",
"Models/Concrete Models/OrdersDevice.swift",
"Models/Concrete Models/OrdersRegistration.swift",
"Models/OrderDataModel.swift",
"Models/OrderModel.swift",
"Models/OrdersRegistrationModel.swift"
],
"target_dependencies" : [
"FluentWallet"
],
"type" : "library"
},
{
"c99name" : "FluentWallet",
"module_type" : "SwiftTarget",
"name" : "FluentWallet",
"path" : "Sources/FluentWallet",
"product_dependencies" : [
"FluentKit"
],
"product_memberships" : [
"FluentWalletPasses",
"FluentWalletOrders",
"OrderData",
"PassData"
],
"sources" : [
"DTOs/LogEntriesDTO.swift",
"DTOs/PushTokenDTO.swift",
"Models/DeviceModel.swift"
],
"type" : "library"
},
{
"c99name" : "OrderData",
"module_type" : "SwiftTarget",
"name" : "OrderData",
"path" : "Snippets",
"product_memberships" : [
"OrderData"
],
"sources" : [
"OrderData.swift"
],
"target_dependencies" : [
"FluentWalletPasses",
"FluentWalletOrders"
],
"type" : "snippet"
},
{
"c99name" : "PassData",
"module_type" : "SwiftTarget",
"name" : "PassData",
"path" : "Snippets",
"product_memberships" : [
"PassData"
],
"sources" : [
"PassData.swift"
],
"target_dependencies" : [
"FluentWalletPasses",
"FluentWalletOrders"
],
"type" : "snippet"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/fpseverino/swift-wallet.git
Fetching https://github.com/vapor/fluent-kit.git
[1/370] Fetching swift-wallet
[297/13698] Fetching swift-wallet, fluent-kit
Fetched https://github.com/fpseverino/swift-wallet.git from cache (1.19s)
Fetched https://github.com/vapor/fluent-kit.git from cache (1.19s)
Computing version for https://github.com/fpseverino/swift-wallet.git
Computed https://github.com/fpseverino/swift-wallet.git at 0.4.0 (2.19s)
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/6871] Fetching swift-zip-archive, swift-certificates
Fetched https://github.com/adam-fowler/swift-zip-archive.git from cache (0.77s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.77s)
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 (4.84s)
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.59s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (1.67s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (4.26s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-crypto.git
[1/1590] Fetching swift-asn1
[1591/15526] Fetching swift-asn1, swift-crypto
Fetched https://github.com/apple/swift-asn1.git from cache (2.65s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.71s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (6.01s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.16s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.52.2 (1.15s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/vapor/sql-kit.git
[1/5983] Fetching sql-kit
[61/9819] Fetching sql-kit, swift-log
[9820/85927] Fetching sql-kit, swift-log, swift-nio
Fetched https://github.com/vapor/sql-kit.git from cache (0.90s)
[4598/79944] Fetching swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (9.34s)
Fetched https://github.com/apple/swift-nio.git from cache (9.52s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (10.60s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.33.0 (1.22s)
Fetching https://github.com/apple/swift-collections.git
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.99s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (3.68s)
Fetching https://github.com/apple/swift-atomics.git
[1/1710] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.77s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.90s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.42s)
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-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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
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
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/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-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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.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.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/adam-fowler/swift-zip-archive.git
Working copy of https://github.com/adam-fowler/swift-zip-archive.git resolved at 0.6.3
Building for debugging...
[0/444] Write sources
[32/444] Compiling _AtomicsShims.c
[33/444] Compiling CZipZlib empty.c
[34/444] Compiling CSystem shims.c
[35/444] Compiling CNIOWindows shim.c
[36/444] Compiling CNIOWindows WSAStartup.c
[37/444] Compiling CNIOWASI CNIOWASI.c
[38/444] Compiling CNIOLinux shim.c
[39/444] Compiling CNIOLinux liburing_shims.c
[40/444] Compiling CNIODarwin shim.c
[41/444] Compiling asn_pack.cc
[42/444] Compiling a_octet.cc
[43/444] Compiling fiat_p256_adx_sqr.S
[44/444] Compiling a_mbstr.cc
[45/444] Compiling a_strex.cc
[46/444] Compiling a_object.cc
[46/444] Write swift-version-24593BA9C3E375BF.txt
[48/444] Compiling fiat_p256_adx_mul.S
[49/444] Compiling fiat_curve25519_adx_square.S
[50/444] Compiling fiat_curve25519_adx_mul.S
[51/444] Compiling md5-x86_64-linux.S
[52/444] Compiling md5-x86_64-apple.S
[53/444] Compiling CCryptoBoringSSLShims shims.c
[55/502] Emitting module Logging
[56/502] Emitting module _NIODataStructures
error: emit-module command failed with exit code 1 (use -v to see invocation)
[57/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)
[57/505] Compiling c-nioatomics.c
[58/519] Compiling c-atomics.c
[59/519] Compiling md5-586-linux.S
[61/525] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[62/525] Compiling InternalCollectionsUtilities Descriptions.swift
[63/525] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[64/526] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[65/526] Compiling InternalCollectionsUtilities Debugging.swift
[66/526] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[67/526] Compiling InternalCollectionsUtilities Integer rank.swift
[68/526] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[69/526] Compiling InternalCollectionsUtilities _SortedCollection.swift
[72/526] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[73/526] Compiling InternalCollectionsUtilities UInt+reversed.swift
[74/526] Compiling _NIODataStructures _TinyArray.swift
[77/526] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[78/526] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[79/526] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[80/526] Compiling _NIODataStructures PriorityQueue.swift
[81/526] Compiling SwiftASN1 ArraySliceBigint.swift
[82/526] Compiling SwiftASN1 GeneralizedTime.swift
[83/526] Compiling SwiftASN1 TimeUtilities.swift
[84/526] Compiling SwiftASN1 UTCTime.swift
[85/528] Compiling SystemPackage Util+StringArray.swift
[86/528] Compiling SystemPackage Util.swift
[87/528] Compiling SystemPackage UtilConsumers.swift
[90/528] Emitting module _NIOBase64
[91/528] Compiling _NIOBase64 Base64.swift
[92/528] Emitting module _CertificateInternals
[93/528] Compiling _CertificateInternals _TinyArray.swift
[94/530] Emitting module InternalCollectionsUtilities
[100/531] Compiling md5-586-apple.S
[101/560] Wrapping AST for _NIOBase64 for debugging
[103/659] Compiling NIOConcurrencyHelpers lock.swift
[104/661] Compiling NIOConcurrencyHelpers NIOLock.swift
[105/661] Compiling Logging Locks.swift
[106/661] Compiling NIOConcurrencyHelpers atomics.swift
[107/661] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[108/661] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.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 |
[109/661] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.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 |
[110/661] Compiling OrderedCollections OrderedDictionary+Sendable.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 |
[111/661] Compiling OrderedCollections OrderedDictionary+Sequence.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 |
[112/661] Compiling OrderedCollections OrderedDictionary+Values.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)
[113/661] Compiling OrderedCollections OrderedDictionary.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)
[114/661] Compiling OrderedCollections OrderedSet+Codable.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)
[115/661] Compiling OrderedCollections OrderedSet+CustomReflectable.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)
[116/661] Compiling OrderedCollections _HashTable+Testing.swift
[117/661] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[118/661] Compiling OrderedCollections _HashTable.swift
[119/661] Compiling OrderedCollections _Hashtable+Header.swift
[120/661] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[121/661] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[122/661] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[123/661] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[124/661] Compiling OrderedCollections OrderedDictionary+Codable.swift
[125/661] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[126/661] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[127/661] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[128/661] Compiling Logging LogHandler.swift
[129/661] Compiling Logging MetadataProvider.swift
[130/661] Compiling Logging Logging.swift
[131/662] Compiling _NIODataStructures Heap.swift
[132/663] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[137/663] Compiling OrderedCollections _HashTable+Bucket.swift
[138/663] Compiling OrderedCollections _HashTable+BucketIterator.swift
[139/663] Compiling OrderedCollections _HashTable+Constants.swift
[142/663] Emitting module SwiftASN1
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/385] Write sources
[1/387] Compiling chacha20_poly1305_x86_64-linux.S
[2/387] Compiling chacha20_poly1305_x86_64-apple.S
[3/387] Compiling chacha-x86_64-apple.S
[4/387] Compiling chacha20_poly1305_armv8-apple.S
[4/387] Compiling chacha20_poly1305_armv8-win.S
[6/387] Compiling chacha-x86_64-linux.S
[7/387] Compiling chacha20_poly1305_armv8-linux.S
[8/387] Compiling chacha-x86-apple.S
[9/387] Compiling chacha-x86-linux.S
[10/387] Compiling chacha-armv8-win.S
[11/387] Compiling chacha-armv8-apple.S
[12/387] Compiling chacha-armv4-linux.S
[13/387] Compiling chacha-armv8-linux.S
[14/387] Compiling aes128gcmsiv-x86_64-linux.S
[15/387] Compiling aes128gcmsiv-x86_64-apple.S
[16/387] Compiling x86_64-mont-linux.S
[17/387] Compiling x86_64-mont-apple.S
[18/387] Compiling x86_64-mont5-apple.S
[19/387] Compiling x86_64-mont5-linux.S
[20/387] Compiling x86-mont-linux.S
[21/387] Compiling vpaes-x86_64-linux.S
[22/387] Compiling x86-mont-apple.S
[23/387] Compiling vpaes-x86_64-apple.S
[23/387] Compiling vpaes-x86-linux.S
[25/387] Write swift-version-24593BA9C3E375BF.txt
[26/387] Compiling vpaes-x86-apple.S
[27/387] Compiling vpaes-armv8-win.S
[28/387] Compiling vpaes-armv8-linux.S
[29/387] Compiling vpaes-armv7-linux.S
[30/387] Compiling sha512-x86_64-apple.S
[31/387] Compiling vpaes-armv8-apple.S
[32/387] Compiling sha512-x86_64-linux.S
[33/387] Compiling err_data.cc
[35/465] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[36/465] Compiling NIOConcurrencyHelpers lock.swift
[37/466] Compiling SystemPackage FilePathParsing.swift
[38/466] Compiling SystemPackage FilePathString.swift
[39/466] Compiling SystemPackage FilePathSyntax.swift
[40/466] Compiling SystemPackage FilePathTemp.swift
[41/466] Compiling Logging Locks.swift
[42/466] Compiling Logging MetadataProvider.swift
[43/466] Compiling SystemPackage Mocking.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 |
[44/466] Compiling SystemPackage RawBuffer.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 |
[45/466] Compiling SystemPackage Syscalls.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 |
[46/466] Compiling SystemPackage WindowsSyscallAdapters.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 |
[47/469] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[48/469] Emitting module Logging
[49/469] Compiling _CertificateInternals _TinyArray.swift
[50/469] Emitting module _CertificateInternals
error: emit-module command failed with exit code 1 (use -v to see invocation)
[52/470] 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)
[53/470] Compiling SystemPackage Backcompat.swift
[54/470] Compiling SystemPackage CInterop.swift
[55/470] Compiling SystemPackage Constants.swift
[56/470] Compiling SystemPackage Exports.swift
[57/470] Compiling SystemPackage FilePathTempPosix.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)
[58/470] Compiling SystemPackage FilePathTempWindows.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)
[59/470] Compiling SystemPackage FilePathWindows.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)
[60/470] Compiling SystemPackage FilePermissions.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)
[61/470] Compiling _NIODataStructures PriorityQueue.swift
[62/470] Compiling _NIODataStructures Heap.swift
[63/470] Emitting module _NIODataStructures
[64/470] Compiling _NIODataStructures _TinyArray.swift
[65/471] Emitting module InternalCollectionsUtilities
[65/471] Wrapping AST for _CertificateInternals for debugging
[68/471] Compiling _NIOBase64 Base64.swift
[69/471] Emitting module _NIOBase64
[70/472] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[71/472] Compiling NIOConcurrencyHelpers NIOLock.swift
[72/472] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[73/472] Emitting module NIOConcurrencyHelpers
[74/472] Compiling NIOConcurrencyHelpers atomics.swift
[74/473] Compiling sha512-armv8-win.S
[75/473] Compiling sha512-armv8-linux.S
[77/473] Compiling SystemPackage Errno.swift
[78/473] Compiling SystemPackage ErrnoWindows.swift
[79/473] Compiling SystemPackage FileDescriptor.swift
[80/473] Compiling SystemPackage FileHelpers.swift
[81/473] Compiling SystemPackage FilePathComponentView.swift
[82/473] Compiling SystemPackage FilePathComponents.swift
[83/473] Compiling SystemPackage FileOperations.swift
[84/473] Compiling SystemPackage FilePath.swift
[85/473] Compiling sha512-armv8-apple.S
[87/473] Compiling sha512-armv4-linux.S
[88/473] Wrapping AST for _NIODataStructures for debugging
[89/473] Compiling sha512-586-linux.S
[93/475] Compiling sha256-x86_64-linux.S
[94/475] Compiling sha512-586-apple.S
[95/475] Compiling sha256-x86_64-apple.S
[99/475] Compiling sha256-armv8-win.S
[100/475] Wrapping AST for NIOConcurrencyHelpers for debugging
[102/475] Compiling SystemPackage Util+StringArray.swift
[103/475] Compiling SystemPackage Util.swift
[104/475] Compiling SystemPackage UtilConsumers.swift
[109/475] Compiling SystemPackage MachPort.swift
[110/475] Compiling SystemPackage PlatformString.swift
[111/475] Compiling SystemPackage SystemString.swift
[112/601] Compiling _RopeModule BigString+Builder.swift
[113/601] Compiling _RopeModule BigString+Contents.swift
[114/601] Compiling _RopeModule BigString+Debugging.swift
[115/601] Compiling _RopeModule BigString+Index.swift
[116/620] Compiling DequeModule _DequeBuffer.swift
[117/620] Compiling DequeModule _DequeBufferHeader.swift
[118/620] Compiling DequeModule Deque._UnsafeHandle.swift
[119/620] Compiling DequeModule Deque.swift
[120/695] Compiling HashTreeCollections _HashNode+Structural filter.swift
[121/695] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[122/695] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[123/695] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[124/695] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[125/695] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[126/695] Compiling HashTreeCollections _HashNode+Storage.swift
[127/695] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[128/696] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[129/696] Compiling HeapModule Heap+Invariants.swift
[132/698] Compiling Logging LogHandler.swift
BUILD FAILURE 6.1 wasm