Build Information
Failed to build fluent-wallet, reference main (ceeec0
), with Swift 6.1 for Wasm on 30 May 2025 05:19:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: 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.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-2":/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
[1/370] Fetching swift-wallet
Fetching https://github.com/vapor/fluent-kit.git
Fetched https://github.com/fpseverino/swift-wallet.git from cache (0.41s)
[1/13328] Fetching fluent-kit
Fetched https://github.com/vapor/fluent-kit.git from cache (0.98s)
Computing version for https://github.com/fpseverino/swift-wallet.git
Computed https://github.com/fpseverino/swift-wallet.git at 0.4.0 (2.39s)
Fetching https://github.com/adam-fowler/swift-zip-archive.git
Fetching https://github.com/apple/swift-certificates.git
[1/716] Fetching swift-zip-archive
[614/6871] Fetching swift-zip-archive, swift-certificates
Fetched https://github.com/adam-fowler/swift-zip-archive.git from cache (0.83s)
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 (4.88s)
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.61s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (1.64s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (4.22s)
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 (0.55s)
[976/13936] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.66s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (5.73s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.30s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.52.2 (0.98s)
Fetching https://github.com/vapor/sql-kit.git
Fetching https://github.com/apple/swift-log.git
[1/5983] Fetching sql-kit
[839/9819] Fetching sql-kit, swift-log
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-log.git from cache (0.79s)
Fetched https://github.com/vapor/sql-kit.git from cache (0.80s)
[1/76108] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (6.82s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (8.53s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.33.0 (0.99s)
Fetching https://github.com/apple/swift-collections.git
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.81s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (3.46s)
Fetching https://github.com/apple/swift-atomics.git
[1/1710] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.65s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.72s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.34s)
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.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-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-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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
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/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/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-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
Building for debugging...
[0/444] Write sources
[32/444] Compiling _AtomicsShims.c
[33/444] Compiling CZipZlib empty.c
[34/444] Compiling CNIOWASI CNIOWASI.c
[35/444] Compiling CNIOWindows WSAStartup.c
[36/444] Compiling CSystem shims.c
[36/444] Compiling CNIOWindows shim.c
[38/444] Compiling CNIODarwin shim.c
[39/444] Compiling CNIOLinux liburing_shims.c
[39/444] Compiling CNIOLinux shim.c
[41/444] Compiling fiat_p256_adx_sqr.S
[42/444] Compiling fiat_curve25519_adx_mul.S
[43/444] Compiling fiat_curve25519_adx_square.S
[44/444] Compiling fiat_p256_adx_mul.S
[45/444] Compiling md5-x86_64-linux.S
[46/444] Compiling md5-x86_64-apple.S
[47/444] Compiling md5-586-linux.S
[48/444] Compiling md5-586-apple.S
[49/444] Compiling chacha20_poly1305_x86_64-linux.S
[50/444] Compiling chacha20_poly1305_x86_64-apple.S
[51/444] Write swift-version-24593BA9C3E375BF.txt
[52/444] Compiling chacha20_poly1305_armv8-win.S
[53/444] Compiling chacha20_poly1305_armv8-linux.S
[54/444] Compiling chacha20_poly1305_armv8-apple.S
[55/444] Compiling chacha-x86_64-linux.S
[56/451] Compiling CCryptoBoringSSLShims shims.c
[57/497] Compiling err_data.cc
[59/497] Emitting module _NIOBase64
[60/502] Emitting module _NIODataStructures
error: emit-module command failed with exit code 1 (use -v to see invocation)
[61/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)
[62/505] Emitting module Logging
[62/505] Compiling c-nioatomics.c
[63/505] Compiling c-atomics.c
[65/519] Compiling _NIODataStructures _TinyArray.swift
[66/519] Compiling SystemPackage Util+StringArray.swift
[67/519] Compiling SystemPackage Util.swift
[68/519] Compiling SystemPackage UtilConsumers.swift
[69/519] Compiling SwiftASN1 TimeUtilities.swift
[70/519] Compiling SwiftASN1 UTCTime.swift
[71/521] Compiling Logging Locks.swift
[72/521] Compiling _NIOBase64 Base64.swift
[73/521] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[74/521] Compiling InternalCollectionsUtilities UInt+reversed.swift
[75/521] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[76/521] Compiling InternalCollectionsUtilities Integer rank.swift
[77/521] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[78/522] Compiling _CertificateInternals _TinyArray.swift
[79/522] Emitting module _CertificateInternals
[80/523] Compiling SystemPackage MachPort.swift
[81/523] Compiling SystemPackage PlatformString.swift
[82/523] Compiling SystemPackage SystemString.swift
[83/527] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[84/527] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[85/527] Compiling InternalCollectionsUtilities _SortedCollection.swift
[94/529] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[95/529] Compiling InternalCollectionsUtilities Debugging.swift
[96/529] Compiling InternalCollectionsUtilities Descriptions.swift
[97/529] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[98/529] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[104/530] Wrapping AST for _NIOBase64 for debugging
[105/530] Compiling chacha-x86_64-apple.S
[106/530] Wrapping AST for _CertificateInternals for debugging
[107/530] Compiling chacha-x86-linux.S
[108/530] Compiling chacha-x86-apple.S
[109/530] Compiling chacha-armv8-win.S
[110/530] Compiling chacha-armv8-linux.S
[111/530] Compiling chacha-armv8-apple.S
[112/530] Compiling chacha-armv4-linux.S
[114/530] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[114/530] Compiling aes128gcmsiv-x86_64-linux.S
[115/530] Compiling aes128gcmsiv-x86_64-apple.S
[116/530] Compiling x86_64-mont5-linux.S
[117/530] Compiling x86_64-mont5-apple.S
[119/530] Compiling NIOConcurrencyHelpers lock.swift
[120/530] Compiling Logging MetadataProvider.swift
[120/530] Compiling x86_64-mont-linux.S
[122/530] Compiling _NIODataStructures Heap.swift
[123/530] Compiling _NIODataStructures PriorityQueue.swift
[124/530] 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 |
[125/530] 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 |
[126/530] 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 |
[127/530] 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 |
[127/530] Compiling x86_64-mont-apple.S
[129/530] Compiling SwiftASN1 ASN1OctetString.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)
[130/530] Compiling SwiftASN1 ASN1Strings.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)
/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)
/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)
[133/530] Compiling SwiftASN1 DER.swift
[134/530] Compiling SwiftASN1 Errors.swift
[135/530] Compiling SystemPackage Constants.swift
[136/530] Compiling SystemPackage Exports.swift
[137/531] Compiling Logging LogHandler.swift
[138/531] Compiling Logging Logging.swift
[139/531] Emitting module InternalCollectionsUtilities
[145/532] Compiling x86-mont-linux.S
[146/532] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[147/532] Compiling NIOConcurrencyHelpers NIOLock.swift
[149/532] Compiling x86-mont-apple.S
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/372] Compiling x86-mont-linux.S
[1/372] Compiling vpaes-x86_64-apple.S
[2/372] Compiling vpaes-x86_64-linux.S
[3/372] Compiling vpaes-armv8-linux.S
[4/372] Compiling vpaes-x86-linux.S
[5/372] Compiling vpaes-armv8-win.S
[6/372] Compiling vpaes-x86-apple.S
[7/372] Compiling x86-mont-apple.S
[8/372] Compiling vpaes-armv7-linux.S
[9/372] Compiling sha512-x86_64-linux.S
[10/372] Compiling vpaes-armv8-apple.S
[11/372] Compiling sha512-armv8-win.S
[12/372] Compiling sha512-x86_64-apple.S
[13/372] Compiling sha512-armv8-apple.S
[14/372] Compiling sha512-armv8-linux.S
[15/372] Compiling sha512-586-linux.S
[16/372] Compiling sha512-armv4-linux.S
[17/372] Compiling sha512-586-apple.S
[18/372] Compiling sha256-x86_64-linux.S
[19/372] Compiling sha256-x86_64-apple.S
[20/372] Compiling sha256-armv8-win.S
[21/372] Compiling sha256-armv8-apple.S
[22/372] Compiling sha256-armv8-linux.S
[23/372] Compiling sha256-586-linux.S
[24/372] Compiling sha256-armv4-linux.S
[25/372] Compiling sha1-x86_64-linux.S
[26/372] Compiling sha256-586-apple.S
[27/372] Compiling sha1-armv8-win.S
[28/372] Compiling sha1-x86_64-apple.S
[29/372] Compiling sha1-armv8-linux.S
[30/372] Compiling sha1-armv4-large-linux.S
[31/372] Compiling sha1-586-linux.S
[32/372] Compiling sha1-armv8-apple.S
[33/372] Compiling rsaz-avx2-apple.S
[34/372] Compiling rdrand-x86_64-linux.S
[35/372] Compiling rsaz-avx2-linux.S
[36/372] Compiling sha1-586-apple.S
[37/372] Compiling rdrand-x86_64-apple.S
[38/372] Write swift-version-24593BA9C3E375BF.txt
[39/372] Compiling p256_beeu-x86_64-asm-linux.S
[40/372] Compiling p256_beeu-armv8-asm-win.S
[41/372] Compiling p256_beeu-armv8-asm-apple.S
[42/372] Compiling p256_beeu-x86_64-asm-apple.S
[43/372] Compiling p256-x86_64-asm-linux.S
[43/372] Compiling p256_beeu-armv8-asm-linux.S
[45/372] Compiling p256-x86_64-asm-apple.S
[46/372] Compiling p256-armv8-asm-win.S
[48/450] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[49/451] Compiling SystemPackage FileDescriptor.swift
[50/451] Compiling SystemPackage FileHelpers.swift
[51/451] Compiling Logging MetadataProvider.swift
[52/451] Compiling Logging Locks.swift
[53/451] Compiling Logging LogHandler.swift
[54/451] Compiling NIOConcurrencyHelpers lock.swift
[55/451] Compiling SystemPackage FilePathComponentView.swift
[56/451] Compiling SystemPackage FilePathComponents.swift
[57/451] Emitting module Logging
[58/451] Compiling SystemPackage FilePathParsing.swift
[59/451] Compiling SystemPackage FilePathString.swift
[60/451] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[61/451] 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)
[62/451] 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)
[63/451] 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)
[64/451] 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)
[65/451] Compiling SystemPackage Backcompat.swift
[66/451] Compiling SystemPackage CInterop.swift
[67/451] Compiling SystemPackage Constants.swift
[68/451] Compiling SystemPackage Exports.swift
[69/454] Emitting module _NIOBase64
[70/454] Emitting module _CertificateInternals
[71/454] Compiling _CertificateInternals _TinyArray.swift
[72/455] Compiling _NIODataStructures PriorityQueue.swift
[73/455] Compiling _NIODataStructures Heap.swift
[74/455] Emitting module _NIODataStructures
[75/455] Compiling _NIODataStructures _TinyArray.swift
[77/456] Emitting module InternalCollectionsUtilities
[78/455] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[79/455] Emitting module NIOConcurrencyHelpers
[79/455] Compiling p256-armv8-asm-linux.S
[81/455] Compiling _NIOBase64 Base64.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[82/455] 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)
[84/456] Compiling NIOConcurrencyHelpers NIOLock.swift
[85/456] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[86/456] Compiling NIOConcurrencyHelpers atomics.swift
[86/457] Compiling p256-armv8-asm-apple.S
[88/457] Compiling SystemPackage FileOperations.swift
[89/457] Compiling SystemPackage FilePath.swift
[89/457] Compiling ghashv8-armv8-win.S
[92/456] Compiling ghashv8-armv8-linux.S
[94/456] Compiling SystemPackage FilePathSyntax.swift
[95/456] Compiling SystemPackage FilePathTemp.swift
[96/456] Compiling SystemPackage Errno.swift
[97/456] Compiling SystemPackage ErrnoWindows.swift
[97/457] Wrapping AST for _NIODataStructures for debugging
[99/457] Compiling SystemPackage MachPort.swift
[100/457] Compiling SystemPackage PlatformString.swift
[101/457] Compiling SystemPackage SystemString.swift
[101/457] Compiling ghashv8-armv8-apple.S
[103/457] 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 |
[104/457] 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 |
[105/457] 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 |
[106/457] 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 |
[106/457] Compiling ghash-x86_64-linux.S
[107/457] Compiling ghashv8-armv7-linux.S
[108/457] Compiling ghash-x86_64-apple.S
[109/457] Compiling ghash-ssse3-x86_64-linux.S
[110/457] Compiling ghash-x86-linux.S
[111/457] Wrapping AST for NIOConcurrencyHelpers for debugging
[112/457] Compiling ghash-x86-apple.S
[113/457] Compiling ghash-ssse3-x86_64-apple.S
[114/457] Compiling ghash-ssse3-x86-apple.S
[118/457] Compiling ghash-ssse3-x86-linux.S
[119/459] Compiling ghash-neon-armv8-apple.S
[120/459] Compiling ghash-neon-armv8-win.S
[121/459] Compiling ghash-neon-armv8-linux.S
[122/459] Compiling ghash-armv4-linux.S
[124/459] Compiling SystemPackage Util+StringArray.swift
[125/459] Compiling SystemPackage Util.swift
[126/459] Compiling SystemPackage UtilConsumers.swift
[127/530] Compiling HashTreeCollections _HashLevel.swift
[128/530] Compiling HashTreeCollections _HashNode+Builder.swift
[129/533] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[130/533] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[131/533] Compiling HashTreeCollections TreeDictionary+Filter.swift
[132/533] Compiling HashTreeCollections _Bucket.swift
[133/533] Compiling HashTreeCollections _Hash.swift
[134/533] Compiling HashTreeCollections _AncestorHashSlots.swift
[135/533] Compiling HashTreeCollections _Bitmap.swift
[136/533] Compiling HashTreeCollections _HashNode+Lookups.swift
[137/533] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[138/680] Compiling Logging Logging.swift
[139/681] Compiling _RopeModule BigString+Comparable.swift
[140/681] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[141/681] Compiling _RopeModule BigString+CustomStringConvertible.swift
[142/681] Compiling _RopeModule BigString+Equatable.swift
[144/681] Compiling _RopeModule BigString+ExpressibleByStringLiteral.swift
[145/681] Compiling _RopeModule BigString+Hashing.swift
[146/681] Compiling _RopeModule BigString+LosslessStringConvertible.swift
[147/681] Compiling _RopeModule BigString+RangeReplaceableCollection.swift
[148/681] Compiling _RopeModule BigString+Sequence.swift
[149/681] Compiling _RopeModule BigString+TextOutputStream.swift
[150/681] Compiling _RopeModule BigString+Builder.swift
[151/681] Compiling _RopeModule BigString+Contents.swift
[151/681] Wrapping AST for Logging for debugging
[152/681] Wrapping AST for InternalCollectionsUtilities for debugging
BUILD FAILURE 6.1 wasm