The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Shaft, reference main (271df7), with Swift 6.1 for Wasm on 4 Jun 2025 16:12:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/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 271df74 Handle app lifecycle state transitions between resumed and hidden
Cloned https://github.com/ShaftUI/Shaft.git
Revision (git rev-parse @):
271df74b46931e65b446b45fcfbf36d6a995acd6
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.2Oja2b/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.UN69qJ/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-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 -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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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 (1.76s)
Fetching https://github.com/ShaftUI/Splash
[1/1351] Fetching splash
Fetched https://github.com/ShaftUI/Splash from cache (0.34s)
Fetching https://github.com/ShaftUI/SwiftReload.git
[1/151] Fetching swiftreload
Fetched https://github.com/ShaftUI/SwiftReload.git from cache (0.21s)
Fetching https://github.com/swiftwasm/JavaScriptKit
Fetching https://github.com/gregcotten/ZIPFoundationModern
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/ShaftUI/swift-collections
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/jpsim/Yams.git
[1/1196] Fetching rainbow
[1197/6387] Fetching rainbow, zipfoundationmodern
[1872/17118] Fetching rainbow, zipfoundationmodern, yams
[2409/27889] Fetching rainbow, zipfoundationmodern, yams, swift-collections
[3378/51302] Fetching rainbow, zipfoundationmodern, yams, swift-collections, javascriptkit
[30088/122038] Fetching rainbow, zipfoundationmodern, yams, swift-collections, javascriptkit, swift-syntax
Fetched https://github.com/gregcotten/ZIPFoundationModern from cache (2.80s)
Fetching https://github.com/ShaftUI/SwiftMath
Fetched https://github.com/swiftwasm/JavaScriptKit from cache (2.81s)
[53115/93434] Fetching rainbow, yams, swift-collections, swift-syntax
Fetched https://github.com/ShaftUI/swift-collections from cache (2.88s)
[44466/82663] Fetching rainbow, yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (2.91s)
[34442/71932] Fetching rainbow, swift-syntax
[47883/72705] Fetching rainbow, swift-syntax, swiftmath
Fetched https://github.com/ShaftUI/SwiftMath from cache (0.36s)
[55663/71932] Fetching rainbow, swift-syntax
Fetched https://github.com/onevcat/Rainbow from cache (6.54s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.58s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (7.19s)
Computing version for https://github.com/ShaftUI/swift-collections
Computed https://github.com/ShaftUI/swift-collections at 1.3.0 (0.64s)
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 (2.19s)
Computing version for https://github.com/gregcotten/ZIPFoundationModern
Computed https://github.com/gregcotten/ZIPFoundationModern at 0.0.5 (0.62s)
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
Fetched https://github.com/the-swift-collective/zlib from cache (0.25s)
[1/239] Fetching csprogress
[240/4630] Fetching csprogress, swift-system
Fetched https://github.com/gregcotten/CSProgress from cache (0.44s)
Fetched https://github.com/apple/swift-system from cache (0.44s)
Computing version for https://github.com/gregcotten/CSProgress
Computed https://github.com/gregcotten/CSProgress at 0.0.1 (0.95s)
Computing version for https://github.com/the-swift-collective/zlib
Computed https://github.com/the-swift-collective/zlib at 1.3.2 (0.52s)
Computing version for https://github.com/swiftwasm/JavaScriptKit
Computed https://github.com/swiftwasm/JavaScriptKit at 0.29.0 (0.66s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.62s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.54s)
Creating working copy for https://github.com/ShaftUI/SwiftMath
Working copy of https://github.com/ShaftUI/SwiftMath resolved at 3.4.0
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/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/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
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/ShaftUI/SwiftSDL3
Working copy of https://github.com/ShaftUI/SwiftSDL3 resolved at main (d33d998)
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/swift-collections
Working copy of https://github.com/ShaftUI/swift-collections resolved at 1.3.0
Creating working copy for https://github.com/swiftwasm/JavaScriptKit
Working copy of https://github.com/swiftwasm/JavaScriptKit resolved at 0.29.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)
[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
[8/89] Compiling ZLibC uncompr.c
[9/89] Compiling ZLibC zutil.c
[9/89] Compiling ZLibC inftrees.c
[11/89] Compiling ZLibC inffast.c
[12/89] Compiling ZLibC trees.c
[13/89] Compiling ZLibC inflate.c
[14/89] Compiling ZLibC infback.c
[15/89] Compiling ZLibC gzread.c
[16/89] Compiling ZLibC gzclose.c
[17/89] Write swift-version-24593BA9C3E375BF.txt
[18/89] Write sources
[21/89] Compiling ZLibC gzwrite.c
[21/89] Compiling ZLibC gzlib.c
[23/89] Write sources
[29/89] Compiling ZLibC crc32.c
[30/89] Write sources
[31/89] Compiling ZLibC deflate.c
[31/89] Compiling ZLibC compress.c
[33/89] Write sources
[34/89] Compiling ZLibC adler32.c
[35/89] Compiling CSystem shims.c
[35/89] Write sources
[45/89] Compiling CSystem shims.c
[46/89] Copying icudtl.dat
[47/91] Write embedded_resources.swift
[49/195] Emitting module ZLib
[50/206] Emitting module SystemPackage
[51/209] Emitting module Rainbow
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.
[51/210] Compiling CSkia utils.cpp
/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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
[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/46] Write sources
[10/47] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/179] 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)
[14/185] Compiling Splash Grammar.swift
[15/185] Compiling Splash SwiftGrammar.swift
[16/187] Emitting module InternalCollectionsUtilities
[17/187] Compiling SystemPackage FileOperations.swift
[18/187] Compiling SystemPackage FilePath.swift
[19/187] Compiling SystemPackage FilePathComponentView.swift
[20/187] Compiling SystemPackage FileDescriptor.swift
[21/187] Compiling SystemPackage FileHelpers.swift
[22/187] Compiling SystemPackage MachPort.swift
[23/187] Compiling Splash OutputFormat.swift
[24/187] Compiling Splash SyntaxHighlighter.swift
[25/187] Compiling Splash HTMLOutputFormat.swift
[26/187] Compiling Splash MarkdownDecorator.swift
[27/190] Emitting module SwiftMath
[31/190] Compiling Splash String+IsNumber.swift
[32/190] Compiling Splash String+HTMLEntities.swift
[33/190] Compiling Splash Substring+HasSuffix.swift
[35/190] Compiling Splash String+PrefixChecking.swift
[36/190] Compiling Splash String+Removing.swift
[37/190] Compiling Splash Sequence+AnyOf.swift
[38/190] Compiling Splash Sequence+Occurrences.swift
[39/190] Compiling Rainbow StringGenerator.swift
[40/190] Emitting module Rainbow
[46/191] Compiling SwiftMath platform.swift
[47/191] Compiling SwiftMath random.swift
[48/191] Compiling Rainbow Style.swift
[49/191] Compiling Rainbow String+Rainbow.swift
[54/191] Compiling SwiftMath utils.swift
[55/191] Compiling SystemPackage Util.swift
[56/191] Compiling SystemPackage UtilConsumers.swift
[57/191] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[58/191] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.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 |
[62/192] 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 |
[63/192] 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 |
/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)
[72/192] Compiling SystemPackage Errno.swift
[73/192] Compiling SystemPackage ErrnoWindows.swift
[80/192] Compiling ZLib ZLib.swift
[81/192] Emitting module ZLib
[86/192] Compiling CSkia utils.cpp
BUILD FAILURE 6.1 wasm