Build Information
Failed to build FileSystem, reference 0.10.10 (f16cb3
), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 01:49:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/tuist/FileSystem.git
Reference: 0.10.10
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/tuist/FileSystem
* tag 0.10.10 -> FETCH_HEAD
HEAD is now at f16cb3b [Release] FileSystem 0.10.10
Cloned https://github.com/tuist/FileSystem.git
Revision (git rev-parse @):
f16cb3b6f13669b02a11f1ac8dc71193cf94af63
SUCCESS checkout https://github.com/tuist/FileSystem.git at 0.10.10
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/tuist/FileSystem.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/tuist/Path
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/apple/swift-log
Fetching https://github.com/tuist/ZIPFoundation
[1/354] Fetching path
[355/5229] Fetching path, zipfoundation
Fetched https://github.com/tuist/Path from cache (0.39s)
[635/8711] Fetching zipfoundation, swift-log
[8712/85050] Fetching zipfoundation, swift-log, swift-nio
Fetched https://github.com/apple/swift-log from cache (0.71s)
Fetched https://github.com/tuist/ZIPFoundation from cache (0.72s)
[3817/76339] Fetching swift-nio
Fetched https://github.com/apple/swift-nio from cache (8.67s)
Computing version for https://github.com/tuist/ZIPFoundation
Computed https://github.com/tuist/ZIPFoundation at 0.9.20 (10.44s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.82s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.83.0 (5.31s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4436] Fetching swift-system
[1155/6233] Fetching swift-system, swift-atomics
[2547/22873] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.79s)
[4626/18437] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.94s)
[4327/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (3.05s)
Computing version for https://github.com/tuist/Path
Computed https://github.com/tuist/Path at 0.3.8 (4.15s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.84s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.71s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.77s)
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-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.83.0
Creating working copy for https://github.com/tuist/Path
Working copy of https://github.com/tuist/Path resolved at 0.3.8
Creating working copy for https://github.com/tuist/ZIPFoundation
Working copy of https://github.com/tuist/ZIPFoundation resolved at 0.9.20
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-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
Building for debugging...
[0/51] Write sources
[16/51] Compiling CNIOWASI CNIOWASI.c
[17/51] Compiling CNIODarwin shim.c
[17/51] Compiling CNIOLinux shim.c
[19/51] Compiling CNIOLinux liburing_shims.c
[19/51] Write sources
[21/51] Compiling CNIOWindows shim.c
[22/51] Compiling CSystem shims.c
[23/51] Compiling _AtomicsShims.c
[24/51] Compiling CNIOWindows WSAStartup.c
[25/51] Write swift-version-24593BA9C3E375BF.txt
[27/112] Emitting module Path
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/112] 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)
[28/115] Compiling c-nioatomics.c
[29/129] Compiling c-atomics.c
[31/137] Emitting module InternalCollectionsUtilities
[32/138] Compiling Glob Pattern.swift
/host/spi-builder-workspace/Sources/Glob/GlobSearch.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The result of a custom matcher for searching directory components
[33/138] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[34/138] Compiling InternalCollectionsUtilities Debugging.swift
[35/138] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[36/138] Compiling InternalCollectionsUtilities _SortedCollection.swift
[37/138] Compiling Glob Pattern+Parser.swift
/host/spi-builder-workspace/Sources/Glob/GlobSearch.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The result of a custom matcher for searching directory components
[38/138] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | extension Archive {
[39/138] Compiling InternalCollectionsUtilities UInt+reversed.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | extension Archive {
[40/138] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | extension Archive {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/138] Emitting module Glob
/host/spi-builder-workspace/Sources/Glob/GlobSearch.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The result of a custom matcher for searching directory components
error: emit-module command failed with exit code 1 (use -v to see invocation)
[42/138] Emitting module ZIPFoundation
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | extension Archive {
[43/140] Compiling Glob Pattern+Match.swift
/host/spi-builder-workspace/Sources/Glob/GlobSearch.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The result of a custom matcher for searching directory components
[44/140] Compiling Glob Pattern+Options.swift
/host/spi-builder-workspace/Sources/Glob/GlobSearch.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The result of a custom matcher for searching directory components
[45/140] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[46/140] Compiling InternalCollectionsUtilities Descriptions.swift
[47/140] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[49/140] Compiling InternalCollectionsUtilities Integer rank.swift
[52/140] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[53/140] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | extension Archive {
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | extension Archive {
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | extension Archive {
[57/140] Compiling Glob GlobSearch.swift
/host/spi-builder-workspace/Sources/Glob/GlobSearch.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The result of a custom matcher for searching directory components
[58/140] Compiling Glob InvalidPattern.swift
/host/spi-builder-workspace/Sources/Glob/GlobSearch.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The result of a custom matcher for searching directory components
[59/140] Emitting module Logging
[60/140] Compiling Logging Locks.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | extension Archive {
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | extension Archive {
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | extension Archive {
[64/140] Compiling Glob Unicode.GeneralCategory+Helpers.swift
/host/spi-builder-workspace/Sources/Glob/GlobSearch.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The result of a custom matcher for searching directory components
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | extension Archive {
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | extension Archive {
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | extension Archive {
[68/140] Compiling SystemPackage Util+StringArray.swift
[69/140] Compiling SystemPackage Util.swift
[70/140] Compiling SystemPackage UtilConsumers.swift
[71/140] Compiling ZIPFoundation Archive+MemoryFile.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | extension Archive {
[72/140] Compiling ZIPFoundation Archive+Progress.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | extension Archive {
[73/140] Compiling ZIPFoundation Archive+Reading.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | extension Archive {
[74/140] Compiling ZIPFoundation Entry+Serialization.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | extension Archive {
[75/140] Compiling ZIPFoundation Entry+ZIP64.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | extension Archive {
[76/140] Compiling ZIPFoundation Entry.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | extension Archive {
[77/140] Compiling ZIPFoundation FileManager+ZIP.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
9 | //
10 |
11 | import Foundation
| `- error: no such module 'Foundation'
12 |
13 | extension Archive {
[78/140] Compiling Logging LogHandler.swift
[79/140] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[80/140] Emitting module _NIOBase64
BUILD FAILURE 6.2 wasm