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 swift-system, reference 1.5.0 (61e4ca), with Swift 6.1 for Wasm on 31 May 2025 12:58:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-system.git
Reference: 1.5.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/apple/swift-system
 * tag               1.5.0      -> FETCH_HEAD
HEAD is now at 61e4ca4 Merge pull request #231 from apple/main
Cloned https://github.com/apple/swift-system.git
Revision (git rev-parse @):
61e4ca4b81b9e09e2ec863b00c340eb13497dac6
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-system.git at 1.5.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/apple/swift-system.git
https://github.com/apple/swift-system.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-system",
  "name" : "swift-system",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SystemPackage",
      "targets" : [
        "SystemPackage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SystemTests",
      "module_type" : "SwiftTarget",
      "name" : "SystemTests",
      "path" : "Tests/SystemTests",
      "sources" : [
        "ErrnoTest.swift",
        "FileDescriptorExtras.swift",
        "FileOperationsTest.swift",
        "FileOperationsTestWindows.swift",
        "FilePathTests/FilePathComponentsTest.swift",
        "FilePathTests/FilePathDecodable.swift",
        "FilePathTests/FilePathExtras.swift",
        "FilePathTests/FilePathParsingTest.swift",
        "FilePathTests/FilePathSyntaxTest.swift",
        "FilePathTests/FilePathTempTest.swift",
        "FilePathTests/FilePathTest.swift",
        "FileTypesTest.swift",
        "MachPortTests.swift",
        "MockingTest.swift",
        "SystemCharTest.swift",
        "SystemStringTests.swift",
        "TestingInfrastructure.swift",
        "UtilTests.swift"
      ],
      "target_dependencies" : [
        "SystemPackage"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SystemPackage",
      "module_type" : "SwiftTarget",
      "name" : "SystemPackage",
      "path" : "Sources/System",
      "product_memberships" : [
        "SystemPackage"
      ],
      "sources" : [
        "Errno.swift",
        "ErrnoWindows.swift",
        "FileDescriptor.swift",
        "FileHelpers.swift",
        "FileOperations.swift",
        "FilePath/FilePath.swift",
        "FilePath/FilePathComponentView.swift",
        "FilePath/FilePathComponents.swift",
        "FilePath/FilePathParsing.swift",
        "FilePath/FilePathString.swift",
        "FilePath/FilePathSyntax.swift",
        "FilePath/FilePathTemp.swift",
        "FilePath/FilePathTempPosix.swift",
        "FilePath/FilePathTempWindows.swift",
        "FilePath/FilePathWindows.swift",
        "FilePermissions.swift",
        "Internals/Backcompat.swift",
        "Internals/CInterop.swift",
        "Internals/Constants.swift",
        "Internals/Exports.swift",
        "Internals/Mocking.swift",
        "Internals/RawBuffer.swift",
        "Internals/Syscalls.swift",
        "Internals/WindowsSyscallAdapters.swift",
        "MachPort.swift",
        "PlatformString.swift",
        "SystemString.swift",
        "Util+StringArray.swift",
        "Util.swift",
        "UtilConsumers.swift"
      ],
      "target_dependencies" : [
        "CSystem"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSystem",
      "module_type" : "ClangTarget",
      "name" : "CSystem",
      "path" : "Sources/CSystem",
      "product_memberships" : [
        "SystemPackage"
      ],
      "sources" : [
        "shims.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/3] Write sources
[1/3] Compiling CSystem shims.c
[1/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/31] Emitting module SystemPackage
/host/spi-builder-workspace/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/Sources/System/Internals/Mocking.swift:69:13: warning: let 'driverKey' is not concurrency-safe because non-'Sendable' type '_PlatformTLSKey' may have shared mutable state; this is an error in the Swift 6 language mode
 67 | }
 68 |
 69 | private let driverKey: _PlatformTLSKey = { makeTLSKey() }()
    |             |- warning: let 'driverKey' is not concurrency-safe because non-'Sendable' type '_PlatformTLSKey' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'driverKey' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 70 |
 71 | internal var currentMockingDriver: MockingDriver? {
/host/spi-builder-workspace/Sources/System/Internals/Exports.swift:169:22: note: class '_PlatformTLSKey' does not conform to the 'Sendable' protocol
167 | #elseif os(WASI) && (swift(<6.1) || !_runtime(_multithreaded))
168 | // Mock TLS storage for single-threaded WASI
169 | internal final class _PlatformTLSKey {
    |                      `- note: class '_PlatformTLSKey' does not conform to the 'Sendable' protocol
170 |     fileprivate init() {}
171 | }
/host/spi-builder-workspace/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)
[5/34] Compiling SystemPackage FilePathTempPosix.swift
/host/spi-builder-workspace/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/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)
[6/34] Compiling SystemPackage FilePathTempWindows.swift
/host/spi-builder-workspace/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/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)
[7/34] Compiling SystemPackage FilePathWindows.swift
/host/spi-builder-workspace/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/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)
[8/34] Compiling SystemPackage FilePermissions.swift
/host/spi-builder-workspace/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/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)
[9/34] Compiling SystemPackage Util+StringArray.swift
[10/34] Compiling SystemPackage Util.swift
[11/34] Compiling SystemPackage UtilConsumers.swift
[12/34] Compiling SystemPackage FileOperations.swift
[13/34] Compiling SystemPackage FilePath.swift
[14/34] Compiling SystemPackage FilePathComponentView.swift
[15/34] Compiling SystemPackage FilePathComponents.swift
[16/34] Compiling SystemPackage Errno.swift
[17/34] Compiling SystemPackage ErrnoWindows.swift
[18/34] Compiling SystemPackage FileDescriptor.swift
[19/34] Compiling SystemPackage FileHelpers.swift
[20/34] Compiling SystemPackage Mocking.swift
/host/spi-builder-workspace/Sources/System/Internals/Mocking.swift:69:13: warning: let 'driverKey' is not concurrency-safe because non-'Sendable' type '_PlatformTLSKey' may have shared mutable state; this is an error in the Swift 6 language mode
 67 | }
 68 |
 69 | private let driverKey: _PlatformTLSKey = { makeTLSKey() }()
    |             |- warning: let 'driverKey' is not concurrency-safe because non-'Sendable' type '_PlatformTLSKey' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'driverKey' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 70 |
 71 | internal var currentMockingDriver: MockingDriver? {
/host/spi-builder-workspace/Sources/System/Internals/Exports.swift:169:22: note: class '_PlatformTLSKey' does not conform to the 'Sendable' protocol
167 | #elseif os(WASI) && (swift(<6.1) || !_runtime(_multithreaded))
168 | // Mock TLS storage for single-threaded WASI
169 | internal final class _PlatformTLSKey {
    |                      `- note: class '_PlatformTLSKey' does not conform to the 'Sendable' protocol
170 |     fileprivate init() {}
171 | }
/host/spi-builder-workspace/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/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/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 |
[21/34] Compiling SystemPackage RawBuffer.swift
/host/spi-builder-workspace/Sources/System/Internals/Mocking.swift:69:13: warning: let 'driverKey' is not concurrency-safe because non-'Sendable' type '_PlatformTLSKey' may have shared mutable state; this is an error in the Swift 6 language mode
 67 | }
 68 |
 69 | private let driverKey: _PlatformTLSKey = { makeTLSKey() }()
    |             |- warning: let 'driverKey' is not concurrency-safe because non-'Sendable' type '_PlatformTLSKey' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'driverKey' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 70 |
 71 | internal var currentMockingDriver: MockingDriver? {
/host/spi-builder-workspace/Sources/System/Internals/Exports.swift:169:22: note: class '_PlatformTLSKey' does not conform to the 'Sendable' protocol
167 | #elseif os(WASI) && (swift(<6.1) || !_runtime(_multithreaded))
168 | // Mock TLS storage for single-threaded WASI
169 | internal final class _PlatformTLSKey {
    |                      `- note: class '_PlatformTLSKey' does not conform to the 'Sendable' protocol
170 |     fileprivate init() {}
171 | }
/host/spi-builder-workspace/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/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/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 |
[22/34] Compiling SystemPackage Syscalls.swift
/host/spi-builder-workspace/Sources/System/Internals/Mocking.swift:69:13: warning: let 'driverKey' is not concurrency-safe because non-'Sendable' type '_PlatformTLSKey' may have shared mutable state; this is an error in the Swift 6 language mode
 67 | }
 68 |
 69 | private let driverKey: _PlatformTLSKey = { makeTLSKey() }()
    |             |- warning: let 'driverKey' is not concurrency-safe because non-'Sendable' type '_PlatformTLSKey' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'driverKey' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 70 |
 71 | internal var currentMockingDriver: MockingDriver? {
/host/spi-builder-workspace/Sources/System/Internals/Exports.swift:169:22: note: class '_PlatformTLSKey' does not conform to the 'Sendable' protocol
167 | #elseif os(WASI) && (swift(<6.1) || !_runtime(_multithreaded))
168 | // Mock TLS storage for single-threaded WASI
169 | internal final class _PlatformTLSKey {
    |                      `- note: class '_PlatformTLSKey' does not conform to the 'Sendable' protocol
170 |     fileprivate init() {}
171 | }
/host/spi-builder-workspace/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/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/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 |
[23/34] Compiling SystemPackage WindowsSyscallAdapters.swift
/host/spi-builder-workspace/Sources/System/Internals/Mocking.swift:69:13: warning: let 'driverKey' is not concurrency-safe because non-'Sendable' type '_PlatformTLSKey' may have shared mutable state; this is an error in the Swift 6 language mode
 67 | }
 68 |
 69 | private let driverKey: _PlatformTLSKey = { makeTLSKey() }()
    |             |- warning: let 'driverKey' is not concurrency-safe because non-'Sendable' type '_PlatformTLSKey' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'driverKey' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 70 |
 71 | internal var currentMockingDriver: MockingDriver? {
/host/spi-builder-workspace/Sources/System/Internals/Exports.swift:169:22: note: class '_PlatformTLSKey' does not conform to the 'Sendable' protocol
167 | #elseif os(WASI) && (swift(<6.1) || !_runtime(_multithreaded))
168 | // Mock TLS storage for single-threaded WASI
169 | internal final class _PlatformTLSKey {
    |                      `- note: class '_PlatformTLSKey' does not conform to the 'Sendable' protocol
170 |     fileprivate init() {}
171 | }
/host/spi-builder-workspace/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/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/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 |
[24/34] Compiling SystemPackage FilePathParsing.swift
[25/34] Compiling SystemPackage FilePathString.swift
[26/34] Compiling SystemPackage FilePathSyntax.swift
[27/34] Compiling SystemPackage FilePathTemp.swift
[28/34] Compiling SystemPackage MachPort.swift
[29/34] Compiling SystemPackage PlatformString.swift
[30/34] Compiling SystemPackage SystemString.swift
[31/34] Compiling SystemPackage Backcompat.swift
[32/34] Compiling SystemPackage CInterop.swift
[33/34] Compiling SystemPackage Constants.swift
[34/34] Compiling SystemPackage Exports.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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: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/1] Write swift-version-24593BA9C3E375BF.txt
[2/29] Compiling SystemPackage FilePathTempPosix.swift
/host/spi-builder-workspace/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/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)
[3/29] Compiling SystemPackage FilePathTempWindows.swift
/host/spi-builder-workspace/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/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)
[4/29] Compiling SystemPackage FilePathWindows.swift
/host/spi-builder-workspace/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/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)
[5/29] Compiling SystemPackage FilePermissions.swift
/host/spi-builder-workspace/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/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)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/32] Emitting module SystemPackage
/host/spi-builder-workspace/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/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)
[7/32] Compiling SystemPackage Errno.swift
[8/32] Compiling SystemPackage ErrnoWindows.swift
[9/32] Compiling SystemPackage FileDescriptor.swift
[10/32] Compiling SystemPackage FileHelpers.swift
[11/32] Compiling SystemPackage MachPort.swift
[12/32] Compiling SystemPackage PlatformString.swift
[13/32] Compiling SystemPackage SystemString.swift
[14/32] Compiling SystemPackage Mocking.swift
/host/spi-builder-workspace/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/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/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 |
[15/32] Compiling SystemPackage RawBuffer.swift
/host/spi-builder-workspace/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/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/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 |
[16/32] Compiling SystemPackage Syscalls.swift
/host/spi-builder-workspace/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/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/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 |
[17/32] Compiling SystemPackage WindowsSyscallAdapters.swift
/host/spi-builder-workspace/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/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/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 |
[18/32] Compiling SystemPackage Util+StringArray.swift
[19/32] Compiling SystemPackage Util.swift
[20/32] Compiling SystemPackage UtilConsumers.swift
[21/32] Compiling SystemPackage FileOperations.swift
[22/32] Compiling SystemPackage FilePath.swift
[23/32] Compiling SystemPackage FilePathComponentView.swift
[24/32] Compiling SystemPackage FilePathComponents.swift
[25/32] Compiling SystemPackage Backcompat.swift
[26/32] Compiling SystemPackage CInterop.swift
[27/32] Compiling SystemPackage Constants.swift
[28/32] Compiling SystemPackage Exports.swift
[29/32] Compiling SystemPackage FilePathParsing.swift
[30/32] Compiling SystemPackage FilePathString.swift
[31/32] Compiling SystemPackage FilePathSyntax.swift
[32/32] Compiling SystemPackage FilePathTemp.swift
BUILD FAILURE 6.1 wasm