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-filestreamer, reference main (8f0e50), with Swift 6.1 for Wasm on 5 Jun 2025 10:20:18 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/sersoft-gmbh/swift-filestreamer.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/sersoft-gmbh/swift-filestreamer
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8f0e509 Bump github.com/apple/swift-docc-plugin from 1.4.3 to 1.4.4
Cloned https://github.com/sersoft-gmbh/swift-filestreamer.git
Revision (git rev-parse @):
8f0e5091e52e117d2c5bdcee709a2541928e8eb6
SUCCESS checkout https://github.com/sersoft-gmbh/swift-filestreamer.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/sersoft-gmbh/swift-filestreamer.git
https://github.com/sersoft-gmbh/swift-filestreamer.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    },
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system"
    }
  ],
  "manifest_display_name" : "swift-filestreamer",
  "name" : "swift-filestreamer",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "FileStreamer",
      "targets" : [
        "FileStreamer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FileStreamerTests",
      "module_type" : "SwiftTarget",
      "name" : "FileStreamerTests",
      "path" : "Tests/FileStreamerTests",
      "sources" : [
        "FileStreamTests.swift"
      ],
      "target_dependencies" : [
        "FileStreamer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FileStreamer",
      "module_type" : "SwiftTarget",
      "name" : "FileStreamer",
      "path" : "Sources/FileStreamer",
      "product_dependencies" : [
        "SystemPackage"
      ],
      "product_memberships" : [
        "FileStreamer"
      ],
      "sources" : [
        "FileStream.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
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 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/apple/swift-system
Fetching https://github.com/apple/swift-docc-plugin
[1/2068] Fetching swift-docc-plugin
[250/6459] Fetching swift-docc-plugin, swift-system
Fetched https://github.com/apple/swift-system from cache (0.43s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.44s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (3.88s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3406] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.40s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.63s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.50s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/6] Write sources
[4/6] Compiling CSystem shims.c
[4/6] Write swift-version-24593BA9C3E375BF.txt
[7/34] Compiling SystemPackage FilePathParsing.swift
[8/34] Compiling SystemPackage FilePathString.swift
[9/34] Compiling SystemPackage FilePathSyntax.swift
[10/34] Compiling SystemPackage FilePathTemp.swift
[11/37] Compiling SystemPackage FilePathTempPosix.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[12/37] Compiling SystemPackage FilePathTempWindows.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[13/37] Compiling SystemPackage FilePathWindows.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[14/37] Compiling SystemPackage FilePermissions.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[15/37] Compiling SystemPackage Errno.swift
[16/37] Compiling SystemPackage ErrnoWindows.swift
[17/37] Compiling SystemPackage FileDescriptor.swift
[18/37] Compiling SystemPackage FileHelpers.swift
[19/37] Compiling SystemPackage Backcompat.swift
[20/37] Compiling SystemPackage CInterop.swift
[21/37] Compiling SystemPackage Constants.swift
[22/37] Compiling SystemPackage Exports.swift
[23/37] Compiling SystemPackage FileOperations.swift
[24/37] Compiling SystemPackage FilePath.swift
[25/37] Compiling SystemPackage FilePathComponentView.swift
[26/37] Compiling SystemPackage FilePathComponents.swift
[27/37] Compiling SystemPackage MachPort.swift
[28/37] Compiling SystemPackage PlatformString.swift
[29/37] Compiling SystemPackage SystemString.swift
[30/37] Compiling SystemPackage Mocking.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 |   _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 |   return umask(mode)
    |          `- error: cannot find 'umask' in scope
253 | }
254 |
[31/37] Compiling SystemPackage RawBuffer.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 |   _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 |   return umask(mode)
    |          `- error: cannot find 'umask' in scope
253 | }
254 |
[32/37] Compiling SystemPackage Syscalls.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 |   _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 |   return umask(mode)
    |          `- error: cannot find 'umask' in scope
253 | }
254 |
[33/37] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/37] 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)
[35/37] Compiling SystemPackage Util+StringArray.swift
[36/37] Compiling SystemPackage Util.swift
[37/37] Compiling SystemPackage UtilConsumers.swift
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 Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/31] Compiling SystemPackage Mocking.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 |   _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 |   return umask(mode)
    |          `- error: cannot find 'umask' in scope
253 | }
254 |
[5/31] Compiling SystemPackage RawBuffer.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 |   _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 |   return umask(mode)
    |          `- error: cannot find 'umask' in scope
253 | }
254 |
[6/31] Compiling SystemPackage Syscalls.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 |   _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 |   return umask(mode)
    |          `- error: cannot find 'umask' in scope
253 | }
254 |
[7/31] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/34] 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)
[9/34] Compiling SystemPackage Errno.swift
[10/34] Compiling SystemPackage ErrnoWindows.swift
[11/34] Compiling SystemPackage FileDescriptor.swift
[12/34] Compiling SystemPackage FileHelpers.swift
[13/34] Compiling SystemPackage Backcompat.swift
[14/34] Compiling SystemPackage CInterop.swift
[15/34] Compiling SystemPackage Constants.swift
[16/34] Compiling SystemPackage Exports.swift
[17/34] Compiling SystemPackage MachPort.swift
[18/34] Compiling SystemPackage PlatformString.swift
[19/34] Compiling SystemPackage SystemString.swift
[20/34] Compiling SystemPackage FilePathTempPosix.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[21/34] Compiling SystemPackage FilePathTempWindows.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[22/34] Compiling SystemPackage FilePathWindows.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[23/34] Compiling SystemPackage FilePermissions.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[24/34] Compiling SystemPackage Util+StringArray.swift
[25/34] Compiling SystemPackage Util.swift
[26/34] Compiling SystemPackage UtilConsumers.swift
[27/34] Compiling SystemPackage FilePathParsing.swift
[28/34] Compiling SystemPackage FilePathString.swift
[29/34] Compiling SystemPackage FilePathSyntax.swift
[30/34] Compiling SystemPackage FilePathTemp.swift
[31/34] Compiling SystemPackage FileOperations.swift
[32/34] Compiling SystemPackage FilePath.swift
[33/34] Compiling SystemPackage FilePathComponentView.swift
[34/34] Compiling SystemPackage FilePathComponents.swift
BUILD FAILURE 6.1 wasm