Build Information
Failed to build Shaft, reference main (ffd840
), with Swift 6.1 for Wasm on 25 Jun 2025 15:02:32 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-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/ShaftUI/Shaft.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/ShaftUI/Shaft
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ffd840d Fix FocusNode debugLabel
Cloned https://github.com/ShaftUI/Shaft.git
Revision (git rev-parse @):
ffd840dcca85084637c02c883e41f14f42c24469
SUCCESS checkout https://github.com/ShaftUI/Shaft.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/ShaftUI/Shaft.git
https://github.com/ShaftUI/Shaft.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
error: 'spi-builder-workspace': Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.GxNupQ/vfs.yaml", "-L", "/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/usr/lib/swift/pm/ManifestAPI", "-swift-version", "5", "-I", "/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "5.9.0", "/host/spi-builder-workspace/Package.swift", "-o", "/tmp/TemporaryDirectory.KfANt2/spi-builder-workspace-manifest"])
/host/spi-builder-workspace/Package.swift:216:9: error: unexpected ',' separator
214 | // )
215 | // ]
216 | ),
| `- error: unexpected ',' separator
217 |
218 | .target(
error: fatalError
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/ShaftUI/SwiftSDL3
[1/1787] Fetching swiftsdl3
Fetched https://github.com/ShaftUI/SwiftSDL3 from cache (0.55s)
Fetching https://github.com/ShaftUI/Splash
[1/1351] Fetching splash
Fetched https://github.com/ShaftUI/Splash from cache (0.28s)
Fetching https://github.com/ShaftUI/SwiftReload.git
[1/151] Fetching swiftreload
Fetched https://github.com/ShaftUI/SwiftReload.git from cache (0.25s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/ShaftUI/swift-collections
Fetching https://github.com/swiftwasm/JavaScriptKit
Fetching https://github.com/gregcotten/ZIPFoundationModern
Fetching https://github.com/onevcat/Rainbow
[1/1196] Fetching rainbow
[229/11967] Fetching rainbow, swift-collections
[1951/17158] Fetching rainbow, swift-collections, zipfoundationmodern
[2950/28094] Fetching rainbow, swift-collections, zipfoundationmodern, yams
Fetched https://github.com/onevcat/Rainbow from cache (0.42s)
[5049/26898] Fetching swift-collections, zipfoundationmodern, yams
Fetching https://github.com/ShaftUI/SwiftMath
[7870/50734] Fetching swift-collections, zipfoundationmodern, yams, javascriptkit
[26579/51507] Fetching swift-collections, zipfoundationmodern, yams, javascriptkit, swiftmath
[26641/122458] Fetching swift-collections, zipfoundationmodern, yams, javascriptkit, swiftmath, swift-syntax
Fetched https://github.com/ShaftUI/SwiftMath from cache (0.42s)
[34566/121685] Fetching swift-collections, zipfoundationmodern, yams, javascriptkit, swift-syntax
Fetched https://github.com/gregcotten/ZIPFoundationModern from cache (0.88s)
[34090/116494] Fetching swift-collections, yams, javascriptkit, swift-syntax
Fetched https://github.com/ShaftUI/swift-collections from cache (1.37s)
[47107/105723] Fetching yams, javascriptkit, swift-syntax
Fetched https://github.com/swiftwasm/JavaScriptKit from cache (1.69s)
[34350/81887] Fetching yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (1.94s)
[45409/70951] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.63s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (6.26s)
Computing version for https://github.com/ShaftUI/swift-collections
Computed https://github.com/ShaftUI/swift-collections at 1.3.0 (0.65s)
Computing version for https://github.com/ShaftUI/SwiftMath
Computed https://github.com/ShaftUI/SwiftMath at 3.4.0 (0.48s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (1.84s)
Computing version for https://github.com/gregcotten/ZIPFoundationModern
Computed https://github.com/gregcotten/ZIPFoundationModern at 0.0.5 (0.47s)
Fetching https://github.com/gregcotten/CSProgress
Fetching https://github.com/the-swift-collective/zlib
Fetching https://github.com/apple/swift-system
[1/48] Fetching zlib
[49/4484] Fetching zlib, swift-system
[582/4723] Fetching zlib, swift-system, csprogress
Fetched https://github.com/gregcotten/CSProgress from cache (0.38s)
[2843/4484] Fetching zlib, swift-system
Fetched https://github.com/the-swift-collective/zlib from cache (0.49s)
Fetched https://github.com/apple/swift-system from cache (0.50s)
Computing version for https://github.com/gregcotten/CSProgress
Computed https://github.com/gregcotten/CSProgress at 0.0.1 (0.97s)
Computing version for https://github.com/the-swift-collective/zlib
Computed https://github.com/the-swift-collective/zlib at 1.3.2 (0.49s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.43s)
Computing version for https://github.com/swiftwasm/JavaScriptKit
Computed https://github.com/swiftwasm/JavaScriptKit at 0.30.0 (0.54s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.49s)
Creating working copy for https://github.com/ShaftUI/SwiftReload.git
Working copy of https://github.com/ShaftUI/SwiftReload.git resolved at main (587b067)
Creating working copy for https://github.com/ShaftUI/SwiftSDL3
Working copy of https://github.com/ShaftUI/SwiftSDL3 resolved at main (d33d998)
Creating working copy for https://github.com/ShaftUI/swift-collections
Working copy of https://github.com/ShaftUI/swift-collections resolved at 1.3.0
Creating working copy for https://github.com/gregcotten/CSProgress
Working copy of https://github.com/gregcotten/CSProgress resolved at 0.0.1
Creating working copy for https://github.com/ShaftUI/Splash
Working copy of https://github.com/ShaftUI/Splash resolved at master (ed08785)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/the-swift-collective/zlib
Working copy of https://github.com/the-swift-collective/zlib resolved at 1.3.2
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/swiftwasm/JavaScriptKit
Working copy of https://github.com/swiftwasm/JavaScriptKit resolved at 0.30.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
Creating working copy for https://github.com/gregcotten/ZIPFoundationModern
Working copy of https://github.com/gregcotten/ZIPFoundationModern resolved at 0.0.5
Creating working copy for https://github.com/ShaftUI/SwiftMath
Working copy of https://github.com/ShaftUI/SwiftMath resolved at 3.4.0
[1/1] Compiling plugin BuilderPlugin
[2/2] Compiling plugin CSkiaSetupPlugin
[3/3] Compiling plugin BridgeJSCommandPlugin
[4/4] Compiling plugin BridgeJS
[5/5] Compiling plugin PackageToJS
Building for debugging...
[5/89] Write sources
[10/89] Compiling ZLibC compress.c
[11/89] Compiling ZLibC crc32.c
[12/89] Compiling ZLibC zutil.c
[13/89] Compiling ZLibC uncompr.c
[14/89] Compiling ZLibC inftrees.c
[15/89] Compiling ZLibC deflate.c
[16/89] Compiling ZLibC inffast.c
[17/89] Compiling ZLibC inflate.c
[18/89] Compiling ZLibC infback.c
[19/89] Write swift-version-24593BA9C3E375BF.txt
[20/89] Write sources
[22/89] Compiling ZLibC trees.c
[23/89] Write sources
[29/89] Compiling ZLibC gzread.c
[30/89] Write sources
[32/89] Compiling ZLibC gzlib.c
[33/89] Compiling ZLibC adler32.c
[34/89] Compiling ZLibC gzwrite.c
[34/89] Compiling ZLibC gzclose.c
[34/89] Write sources
[46/89] Copying icudtl.dat
[47/89] Compiling CSystem shims.c
[49/89] Write embedded_resources.swift
[51/206] Emitting module SystemPackage
[52/209] Emitting module Splash
[53/211] Emitting module SwiftMath
In file included from /host/spi-builder-workspace/Sources/CSkia/utils.cpp:1:
In file included from /host/spi-builder-workspace/Sources/CSkia/utils.h:78:
/host/spi-builder-workspace/Sources/CSkia/include/ports/SkFontMgr_mac_ct.h:15:9: fatal error: 'ApplicationServices/ApplicationServices.h' file not found
15 | #import <ApplicationServices/ApplicationServices.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[53/214] Compiling CSkia utils.cpp
error: emit-module command failed with exit code 1 (use -v to see invocation)
[54/214] 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)
[55/214] Emitting module CSProgress
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin BuilderPlugin
[2/2] Compiling plugin CSkiaSetupPlugin
[3/3] Compiling plugin BridgeJSCommandPlugin
[4/4] Compiling plugin BridgeJS
[5/5] Compiling plugin PackageToJS
Building for debugging...
[5/44] Write sources
[8/45] Write swift-version-24593BA9C3E375BF.txt
[10/177] Emitting module Splash
[11/179] Compiling Splash HTMLOutputFormat.swift
[12/179] Compiling Splash MarkdownDecorator.swift
[13/181] Compiling Splash Sequence+Occurrences.swift
[14/181] Compiling Splash String+HTMLEntities.swift
[15/181] Compiling Splash OutputBuilder.swift
[16/181] Compiling Splash Sequence+AnyOf.swift
[17/181] Compiling Splash TokenType.swift
[18/181] Compiling Splash Tokenizer.swift
[19/181] Compiling SwiftMath functions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/184] 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)
/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)
/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)
[25/187] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[26/187] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[27/187] Compiling Splash CharacterSet+Contains.swift
[28/187] Compiling Splash Equatable+AnyOf.swift
[29/187] Compiling Splash Int+IsOdd.swift
[30/187] Compiling Splash OutputFormat.swift
[31/187] Compiling Splash SyntaxHighlighter.swift
[32/187] Compiling Splash Substring+HasSuffix.swift
[33/187] Compiling Splash Grammar.swift
[34/187] Compiling Splash SwiftGrammar.swift
[35/187] Compiling Rainbow StringGenerator.swift
[36/187] Compiling Rainbow String+Rainbow.swift
[37/188] Compiling Rainbow Style.swift
[38/188] Emitting module InternalCollectionsUtilities
[39/188] Emitting module SwiftMath
[40/188] Compiling SwiftMath easing.swift
[41/188] Compiling SwiftMath platform.swift
[42/188] Compiling SwiftMath random.swift
[45/188] Compiling Splash String+Removing.swift
[47/188] Compiling SystemPackage Util+StringArray.swift
[48/188] Compiling SystemPackage Util.swift
[49/188] Compiling SystemPackage UtilConsumers.swift
[53/188] Compiling Splash SyntaxRule.swift
[54/188] Compiling Splash Segment.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 |
/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 |
[59/188] Compiling SwiftMath Vector4.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 |
[60/188] Compiling SwiftMath Vectorf+Components.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 |
[89/189] Compiling Rainbow Rainbow.swift
[117/189] Compiling Rainbow OutputTarget.swift
[118/189] Emitting module Rainbow
[123/191] Compiling ZLib ZLib.swift
[124/191] Emitting module ZLib
[124/192] Compiling CSkia utils.cpp
BUILD FAILURE 6.1 wasm