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-io, reference master (9c68f7), with Swift 6.1 for Wasm on 5 Oct 2025 12:59:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tayloraswift/swift-io.git
Reference: master
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/tayloraswift/swift-io
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 9c68f73 format code using dollup
Cloned https://github.com/tayloraswift/swift-io.git
Revision (git rev-parse @):
9c68f73034a61b742a9dbc98661946b990e4b319
SUCCESS checkout https://github.com/tayloraswift/swift-io.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tayloraswift/swift-io.git
https://github.com/tayloraswift/swift-io.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system"
    }
  ],
  "manifest_display_name" : "swift-io",
  "name" : "swift-io",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "18.0"
    },
    {
      "name" : "visionos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "SystemIO",
      "targets" : [
        "SystemIO"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "System_ArgumentParser",
      "targets" : [
        "System_ArgumentParser"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "System_ArgumentParser",
      "module_type" : "SwiftTarget",
      "name" : "System_ArgumentParser",
      "path" : "Sources/System_ArgumentParser",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "System_ArgumentParser"
      ],
      "sources" : [
        "FilePath (ext).swift",
        "FilePath.Directory (ext).swift"
      ],
      "target_dependencies" : [
        "SystemIO"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SystemTests",
      "module_type" : "SwiftTarget",
      "name" : "SystemTests",
      "path" : "Sources/SystemTests",
      "sources" : [
        "Directories.swift"
      ],
      "target_dependencies" : [
        "SystemIO"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SystemIO",
      "module_type" : "SwiftTarget",
      "name" : "SystemIO",
      "path" : "Sources/SystemIO",
      "product_dependencies" : [
        "SystemPackage"
      ],
      "product_memberships" : [
        "SystemIO",
        "System_ArgumentParser"
      ],
      "sources" : [
        "FileDescriptor.swift",
        "FileError.swift",
        "FilePath (ext).swift",
        "FilePath.Directory.swift",
        "FilePath.DirectoryIterator.Stream.swift",
        "FilePath.DirectoryIterator.swift",
        "FilePath.DirectoryPointer.swift",
        "FilePermissions (ext).swift",
        "FilePermissions.Component.swift",
        "FileReadError.swift",
        "FileSeekError.swift",
        "FileStatus.swift",
        "FileSystemStats.swift",
        "FileType.swift",
        "SystemProcess.Environment.swift",
        "SystemProcess.EnvironmentEncoder.swift",
        "SystemProcess.Stream.swift",
        "SystemProcess.swift",
        "SystemProcessError.swift",
        "lexemes.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
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-argument-parser
[1/16643] Fetching swift-argument-parser
[834/21681] Fetching swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-system from cache (0.41s)
[13481/16643] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.67s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (1.26s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.3 (0.55s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/9] Write sources
[7/9] Compiling CSystem shims.c
[8/9] Write swift-version-24593BA9C3E375BF.txt
[10/42] Emitting module ArgumentParserToolInfo
[11/42] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/43] Emitting module SystemPackage
[14/47] Compiling SystemPackage Errno.swift
[15/47] Compiling SystemPackage ErrnoWindows.swift
[16/47] Compiling SystemPackage FileDescriptor.swift
[17/47] Compiling SystemPackage FileHelpers.swift
[18/47] Compiling SystemPackage FileOperations.swift
[19/91] Compiling ArgumentParser CommandGroup.swift
[20/91] Compiling ArgumentParser EnumerableFlag.swift
[21/91] Compiling ArgumentParser ExpressibleByArgument.swift
[22/91] Compiling ArgumentParser BashCompletionsGenerator.swift
[23/91] Compiling ArgumentParser CompletionsGenerator.swift
[24/91] Compiling ArgumentParser FishCompletionsGenerator.swift
[25/91] Compiling ArgumentParser ZshCompletionsGenerator.swift
[26/91] Compiling ArgumentParser Argument.swift
[27/91] Compiling ArgumentParser Option.swift
[28/91] Compiling ArgumentParser OptionGroup.swift
[29/91] Compiling ArgumentParser AsyncParsableCommand.swift
[30/91] Compiling ArgumentParser CommandConfiguration.swift
[31/91] Compiling ArgumentParser ArgumentDiscussion.swift
[32/91] Compiling ArgumentParser ArgumentHelp.swift
[33/91] Compiling ArgumentParser ParsableArguments.swift
[34/91] Compiling ArgumentParser ParsableCommand.swift
[35/91] Compiling ArgumentParser ArgumentDecoder.swift
[36/91] Compiling ArgumentParser DumpHelpGenerator.swift
[37/91] Compiling ArgumentParser HelpCommand.swift
[38/91] Compiling ArgumentParser HelpGenerator.swift
[39/91] Compiling ArgumentParser MessageInfo.swift
[40/91] Compiling ArgumentParser ArgumentDefinition.swift
[41/91] Compiling ArgumentParser ArgumentSet.swift
[42/91] Compiling ArgumentParser CommandParser.swift
[43/91] Compiling ArgumentParser SplitArguments.swift
[44/91] Compiling ArgumentParser UsageGenerator.swift
[45/91] Compiling ArgumentParser CollectionExtensions.swift
[46/91] Compiling ArgumentParser Mutex.swift
[47/91] Compiling ArgumentParser Platform.swift
[49/111] Compiling SystemIO SystemProcess.Stream.swift
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:11:20: error: cannot find type 'pid_t' in scope
  9 | @frozen public struct SystemProcess: Identifiable {
 10 |     let invocation: [String]
 11 |     public let id: pid_t
    |                    `- error: cannot find type 'pid_t' in scope
 12 |
 13 |     private init(invocation: [String], id: pid_t) {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
  4 | import Darwin
  5 | #else
  6 | #error("unsupported platform")
    |        `- error: unsupported platform
  7 | #endif
  8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:13:44: error: cannot find type 'pid_t' in scope
 11 |     public let id: pid_t
 12 |
 13 |     private init(invocation: [String], id: pid_t) {
    |                                            `- error: cannot find type 'pid_t' in scope
 14 |         self.invocation = invocation
 15 |         self.id = id
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:15:14: error: property 'id' requires that 'SystemProcess' be a class type
 13 |     private init(invocation: [String], id: pid_t) {
 14 |         self.invocation = invocation
 15 |         self.id = id
    |              `- error: property 'id' requires that 'SystemProcess' be a class type
 16 |     }
 17 | }
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
  |           `- note: where 'Self' = 'SystemProcess'
3 |     public var id: ObjectIdentifier { get }
4 | }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:93:13: error: cannot find 'posix_spawn_file_actions_init' in scope
 91 |
 92 |         do {
 93 |             posix_spawn_file_actions_init(&actions)
    |             `- error: cannot find 'posix_spawn_file_actions_init' in scope
 94 |         }
 95 |         defer {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:93:44: error: cannot find 'actions' in scope
 91 |
 92 |         do {
 93 |             posix_spawn_file_actions_init(&actions)
    |                                            `- error: cannot find 'actions' in scope
 94 |         }
 95 |         defer {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:96:13: error: cannot find 'posix_spawn_file_actions_destroy' in scope
 94 |         }
 95 |         defer {
 96 |             posix_spawn_file_actions_destroy(&actions)
    |             `- error: cannot find 'posix_spawn_file_actions_destroy' in scope
 97 |         }
 98 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:96:47: error: cannot find 'actions' in scope
 94 |         }
 95 |         defer {
 96 |             posix_spawn_file_actions_destroy(&actions)
    |                                               `- error: cannot find 'actions' in scope
 97 |         }
 98 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:100:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
 98 |
 99 |         if  let stdout: FileDescriptor {
100 |             posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
101 |         }
102 |         if  let stderr: FileDescriptor {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:100:47: error: cannot find 'actions' in scope
 98 |
 99 |         if  let stdout: FileDescriptor {
100 |             posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
    |                                               `- error: cannot find 'actions' in scope
101 |         }
102 |         if  let stderr: FileDescriptor {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:103:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
101 |         }
102 |         if  let stderr: FileDescriptor {
103 |             posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
104 |         }
105 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:103:47: error: cannot find 'actions' in scope
101 |         }
102 |         if  let stderr: FileDescriptor {
103 |             posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
    |                                               `- error: cannot find 'actions' in scope
104 |         }
105 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:107:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
105 |
106 |         for stream: SystemProcess.Stream in streams {
107 |             posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
108 |         }
109 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:107:47: error: cannot find 'actions' in scope
105 |
106 |         for stream: SystemProcess.Stream in streams {
107 |             posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
    |                                               `- error: cannot find 'actions' in scope
108 |         }
109 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:110:22: error: cannot find type 'pid_t' in scope
108 |         }
109 |
110 |         var process: pid_t = 0
    |                      `- error: cannot find type 'pid_t' in scope
111 |         let status: Int32 = environment.withUnsafePointers {
112 |             if  let command: String {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:113:17: error: cannot find 'posix_spawnp' in scope
111 |         let status: Int32 = environment.withUnsafePointers {
112 |             if  let command: String {
113 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                 `- error: cannot find 'posix_spawnp' in scope
114 |             } else {
115 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:113:50: error: cannot find 'actions' in scope
111 |         let status: Int32 = environment.withUnsafePointers {
112 |             if  let command: String {
113 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                                                  `- error: cannot find 'actions' in scope
114 |             } else {
115 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:115:17: error: cannot find 'posix_spawn' in scope
113 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
114 |             } else {
115 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
    |                 `- error: cannot find 'posix_spawn' in scope
116 |             }
117 |         }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:115:55: error: cannot find 'actions' in scope
113 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
114 |             } else {
115 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
    |                                                       `- error: cannot find 'actions' in scope
116 |             }
117 |         }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:113:59: error: 'nil' requires a contextual type
111 |         let status: Int32 = environment.withUnsafePointers {
112 |             if  let command: String {
113 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                                                           `- error: 'nil' requires a contextual type
114 |             } else {
115 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:122:47: error: extra argument 'id' in call
120 |         }
121 |
122 |         self.init(invocation: invocation, id: process)
    |                                               `- error: extra argument 'id' in call
123 |     }
124 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:122:19: error: missing argument for parameter 'command' in call
 28 | }
 29 | extension SystemProcess {
 30 |     public init(
    |            `- note: 'init(command:_:stdout:stderr:duping:echo:with:)' declared here
 31 |         command: String?,
 32 |         _ arguments: String?...,
    :
120 |         }
121 |
122 |         self.init(invocation: invocation, id: process)
    |                   `- error: missing argument for parameter 'command' in call
123 |     }
124 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:122:31: error: cannot convert value of type '[String]' to expected argument type 'String'
120 |         }
121 |
122 |         self.init(invocation: invocation, id: process)
    |                               `- error: cannot convert value of type '[String]' to expected argument type 'String'
123 |     }
124 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:128:16: error: cannot find 'waitpid' in scope
126 |         var status: Int32 = 0
127 |
128 |         switch waitpid(self.id, &status, 0) {
    |                `- error: cannot find 'waitpid' in scope
129 |         case self.id:       break
130 |         case let status:    return .failure(.wait(status, self.invocation))
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:128:29: error: property 'id' requires that 'SystemProcess' be a class type
126 |         var status: Int32 = 0
127 |
128 |         switch waitpid(self.id, &status, 0) {
    |                             `- error: property 'id' requires that 'SystemProcess' be a class type
129 |         case self.id:       break
130 |         case let status:    return .failure(.wait(status, self.invocation))
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
  |           `- note: where 'Self' = 'SystemProcess'
3 |     public var id: ObjectIdentifier { get }
4 | }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:129:19: error: property 'id' requires that 'SystemProcess' be a class type
127 |
128 |         switch waitpid(self.id, &status, 0) {
129 |         case self.id:       break
    |                   `- error: property 'id' requires that 'SystemProcess' be a class type
130 |         case let status:    return .failure(.wait(status, self.invocation))
131 |         }
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
  |           `- note: where 'Self' = 'SystemProcess'
3 |     public var id: ObjectIdentifier { get }
4 | }
[50/111] Compiling SystemIO SystemProcess.swift
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:11:20: error: cannot find type 'pid_t' in scope
  9 | @frozen public struct SystemProcess: Identifiable {
 10 |     let invocation: [String]
 11 |     public let id: pid_t
    |                    `- error: cannot find type 'pid_t' in scope
 12 |
 13 |     private init(invocation: [String], id: pid_t) {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
  4 | import Darwin
  5 | #else
  6 | #error("unsupported platform")
    |        `- error: unsupported platform
  7 | #endif
  8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:13:44: error: cannot find type 'pid_t' in scope
 11 |     public let id: pid_t
 12 |
 13 |     private init(invocation: [String], id: pid_t) {
    |                                            `- error: cannot find type 'pid_t' in scope
 14 |         self.invocation = invocation
 15 |         self.id = id
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:15:14: error: property 'id' requires that 'SystemProcess' be a class type
 13 |     private init(invocation: [String], id: pid_t) {
 14 |         self.invocation = invocation
 15 |         self.id = id
    |              `- error: property 'id' requires that 'SystemProcess' be a class type
 16 |     }
 17 | }
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
  |           `- note: where 'Self' = 'SystemProcess'
3 |     public var id: ObjectIdentifier { get }
4 | }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:93:13: error: cannot find 'posix_spawn_file_actions_init' in scope
 91 |
 92 |         do {
 93 |             posix_spawn_file_actions_init(&actions)
    |             `- error: cannot find 'posix_spawn_file_actions_init' in scope
 94 |         }
 95 |         defer {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:93:44: error: cannot find 'actions' in scope
 91 |
 92 |         do {
 93 |             posix_spawn_file_actions_init(&actions)
    |                                            `- error: cannot find 'actions' in scope
 94 |         }
 95 |         defer {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:96:13: error: cannot find 'posix_spawn_file_actions_destroy' in scope
 94 |         }
 95 |         defer {
 96 |             posix_spawn_file_actions_destroy(&actions)
    |             `- error: cannot find 'posix_spawn_file_actions_destroy' in scope
 97 |         }
 98 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:96:47: error: cannot find 'actions' in scope
 94 |         }
 95 |         defer {
 96 |             posix_spawn_file_actions_destroy(&actions)
    |                                               `- error: cannot find 'actions' in scope
 97 |         }
 98 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:100:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
 98 |
 99 |         if  let stdout: FileDescriptor {
100 |             posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
101 |         }
102 |         if  let stderr: FileDescriptor {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:100:47: error: cannot find 'actions' in scope
 98 |
 99 |         if  let stdout: FileDescriptor {
100 |             posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
    |                                               `- error: cannot find 'actions' in scope
101 |         }
102 |         if  let stderr: FileDescriptor {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:103:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
101 |         }
102 |         if  let stderr: FileDescriptor {
103 |             posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
104 |         }
105 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:103:47: error: cannot find 'actions' in scope
101 |         }
102 |         if  let stderr: FileDescriptor {
103 |             posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
    |                                               `- error: cannot find 'actions' in scope
104 |         }
105 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:107:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
105 |
106 |         for stream: SystemProcess.Stream in streams {
107 |             posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
108 |         }
109 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:107:47: error: cannot find 'actions' in scope
105 |
106 |         for stream: SystemProcess.Stream in streams {
107 |             posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
    |                                               `- error: cannot find 'actions' in scope
108 |         }
109 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:110:22: error: cannot find type 'pid_t' in scope
108 |         }
109 |
110 |         var process: pid_t = 0
    |                      `- error: cannot find type 'pid_t' in scope
111 |         let status: Int32 = environment.withUnsafePointers {
112 |             if  let command: String {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:113:17: error: cannot find 'posix_spawnp' in scope
111 |         let status: Int32 = environment.withUnsafePointers {
112 |             if  let command: String {
113 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                 `- error: cannot find 'posix_spawnp' in scope
114 |             } else {
115 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:113:50: error: cannot find 'actions' in scope
111 |         let status: Int32 = environment.withUnsafePointers {
112 |             if  let command: String {
113 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                                                  `- error: cannot find 'actions' in scope
114 |             } else {
115 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:115:17: error: cannot find 'posix_spawn' in scope
113 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
114 |             } else {
115 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
    |                 `- error: cannot find 'posix_spawn' in scope
116 |             }
117 |         }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:115:55: error: cannot find 'actions' in scope
113 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
114 |             } else {
115 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
    |                                                       `- error: cannot find 'actions' in scope
116 |             }
117 |         }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:113:59: error: 'nil' requires a contextual type
111 |         let status: Int32 = environment.withUnsafePointers {
112 |             if  let command: String {
113 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                                                           `- error: 'nil' requires a contextual type
114 |             } else {
115 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:122:47: error: extra argument 'id' in call
120 |         }
121 |
122 |         self.init(invocation: invocation, id: process)
    |                                               `- error: extra argument 'id' in call
123 |     }
124 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:122:19: error: missing argument for parameter 'command' in call
 28 | }
 29 | extension SystemProcess {
 30 |     public init(
    |            `- note: 'init(command:_:stdout:stderr:duping:echo:with:)' declared here
 31 |         command: String?,
 32 |         _ arguments: String?...,
    :
120 |         }
121 |
122 |         self.init(invocation: invocation, id: process)
    |                   `- error: missing argument for parameter 'command' in call
123 |     }
124 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:122:31: error: cannot convert value of type '[String]' to expected argument type 'String'
120 |         }
121 |
122 |         self.init(invocation: invocation, id: process)
    |                               `- error: cannot convert value of type '[String]' to expected argument type 'String'
123 |     }
124 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:128:16: error: cannot find 'waitpid' in scope
126 |         var status: Int32 = 0
127 |
128 |         switch waitpid(self.id, &status, 0) {
    |                `- error: cannot find 'waitpid' in scope
129 |         case self.id:       break
130 |         case let status:    return .failure(.wait(status, self.invocation))
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:128:29: error: property 'id' requires that 'SystemProcess' be a class type
126 |         var status: Int32 = 0
127 |
128 |         switch waitpid(self.id, &status, 0) {
    |                             `- error: property 'id' requires that 'SystemProcess' be a class type
129 |         case self.id:       break
130 |         case let status:    return .failure(.wait(status, self.invocation))
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
  |           `- note: where 'Self' = 'SystemProcess'
3 |     public var id: ObjectIdentifier { get }
4 | }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:129:19: error: property 'id' requires that 'SystemProcess' be a class type
127 |
128 |         switch waitpid(self.id, &status, 0) {
129 |         case self.id:       break
    |                   `- error: property 'id' requires that 'SystemProcess' be a class type
130 |         case let status:    return .failure(.wait(status, self.invocation))
131 |         }
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
  |           `- note: where 'Self' = 'SystemProcess'
3 |     public var id: ObjectIdentifier { get }
4 | }
[51/113] Compiling SystemIO SystemProcess.Environment.swift
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
 4 | import Darwin
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:11:20: error: cannot find type 'pid_t' in scope
  9 | @frozen public struct SystemProcess: Identifiable {
 10 |     let invocation: [String]
 11 |     public let id: pid_t
    |                    `- error: cannot find type 'pid_t' in scope
 12 |
 13 |     private init(invocation: [String], id: pid_t) {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:40:49: error: cannot find 'environ' in scope
38 |                 to: CChar.self
39 |             ).baseAddress else {
40 |                 return try yield(self.inherit ? environ : nil)
   |                                                 `- error: cannot find 'environ' in scope
41 |             }
42 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:44:29: error: cannot find 'environ' in scope
42 |
43 |             var inherited: Int = 0
44 |             while case _? = environ[inherited] {
   |                             `- error: cannot find 'environ' in scope
45 |                 inherited += 1
46 |             }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:53:53: error: cannot find 'environ' in scope
51 |             ) {
52 |                 for i: Int in 0 ..< inherited {
53 |                     $0.initializeElement(at: i, to: environ[i])
   |                                                     `- error: cannot find 'environ' in scope
54 |                 }
55 |                 var i: Int = inherited
[52/113] Compiling SystemIO SystemProcess.EnvironmentEncoder.swift
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
 4 | import Darwin
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:11:20: error: cannot find type 'pid_t' in scope
  9 | @frozen public struct SystemProcess: Identifiable {
 10 |     let invocation: [String]
 11 |     public let id: pid_t
    |                    `- error: cannot find type 'pid_t' in scope
 12 |
 13 |     private init(invocation: [String], id: pid_t) {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:40:49: error: cannot find 'environ' in scope
38 |                 to: CChar.self
39 |             ).baseAddress else {
40 |                 return try yield(self.inherit ? environ : nil)
   |                                                 `- error: cannot find 'environ' in scope
41 |             }
42 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:44:29: error: cannot find 'environ' in scope
42 |
43 |             var inherited: Int = 0
44 |             while case _? = environ[inherited] {
   |                             `- error: cannot find 'environ' in scope
45 |                 inherited += 1
46 |             }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:53:53: error: cannot find 'environ' in scope
51 |             ) {
52 |                 for i: Int in 0 ..< inherited {
53 |                     $0.initializeElement(at: i, to: environ[i])
   |                                                     `- error: cannot find 'environ' in scope
54 |                 }
55 |                 var i: Int = inherited
[53/113] Compiling SystemIO SystemProcessError.swift
[54/113] Compiling SystemIO lexemes.swift
[55/113] Compiling SystemIO FilePath.DirectoryPointer.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[56/113] Compiling SystemIO FilePermissions (ext).swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[57/113] Compiling SystemIO FilePermissions.Component.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[58/113] Compiling SystemIO FileReadError.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[59/113] Compiling SystemIO FileSeekError.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[60/113] Compiling SystemIO FileStatus.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
error: emit-module command failed with exit code 1 (use -v to see invocation)
[61/119] Emitting module ArgumentParser
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[62/119] Compiling ArgumentParser Tree.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[63/119] Compiling ArgumentParser CodingKeyValidator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[64/119] Compiling ArgumentParser NonsenseFlagsValidator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[65/119] Compiling ArgumentParser ParsableArgumentsValidation.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[66/119] Compiling ArgumentParser PositionalArgumentsValidator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[67/119] Compiling ArgumentParser UniqueNamesValidator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[72/119] Compiling SystemIO FileSystemStats.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[73/119] Compiling SystemIO FileType.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[75/119] Compiling SystemIO FileDescriptor.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[76/119] Compiling SystemIO FileError.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[77/119] Compiling SystemIO FilePath (ext).swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[78/119] Compiling SystemIO FilePath.Directory.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[79/119] Compiling SystemIO FilePath.DirectoryIterator.Stream.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[80/119] Compiling SystemIO FilePath.DirectoryIterator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[96/119] Compiling ArgumentParser InputKey.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[97/119] Compiling ArgumentParser InputOrigin.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[98/119] Compiling ArgumentParser Name.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[99/119] Compiling ArgumentParser Parsed.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[100/119] Compiling ArgumentParser ParsedValues.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[101/119] Compiling ArgumentParser ParserError.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[105/119] Compiling ArgumentParser SequenceExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[106/119] Compiling ArgumentParser StringExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[107/119] Compiling ArgumentParser SwiftExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
error: emit-module command failed with exit code 1 (use -v to see invocation)
[111/119] Emitting module SystemIO
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
 10 |
 11 | #else
 12 | #error("unsupported platform")
    |        `- error: unsupported platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
 8 | import Glibc
 9 | #else
10 | #error("unsupported platform")
   |        `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:17:30: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
15 |     @usableFromInline @frozen enum Stream {
16 |         case unopened(FilePath)
17 |         case opened(FilePath.DirectoryPointer?)
   |                              `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
18 |     }
19 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:21:53: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
19 | }
20 | extension FilePath.DirectoryIterator.Stream {
21 |     private mutating func open() throws -> FilePath.DirectoryPointer? {
   |                                                     `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
22 |         switch self {
23 |         case .unopened(let path):
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:12:34: error: cannot find type 'stat' in scope
10 |
11 | @frozen public struct FileStatus {
12 |     @usableFromInline let value: stat
   |                                  `- error: cannot find type 'stat' in scope
13 |
14 |     private init(value: stat) {
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:14:25: error: cannot find type 'stat' in scope
12 |     @usableFromInline let value: stat
13 |
14 |     private init(value: stat) {
   |                         `- error: cannot find type 'stat' in scope
15 |         self.value = value
16 |     }
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:20:30: error: cannot find 'S_IFMT' in scope
18 | extension FileStatus {
19 |     @inlinable public func `is`(_ type: FileType) -> Bool {
20 |         self.value.st_mode & S_IFMT == type.mask
   |                              `- error: cannot find 'S_IFMT' in scope
21 |     }
22 | }
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:19:26: error: cannot find type 'mode_t' in scope
17 | }
18 | extension FileType {
19 |     @inlinable var mask: mode_t {
   |                          `- error: cannot find type 'mode_t' in scope
20 |         switch self {
21 |         case .blockDevice:      S_IFBLK
/host/spi-builder-workspace/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
 4 | import Darwin
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
 4 | import Darwin
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:11:20: error: cannot find type 'pid_t' in scope
  9 | @frozen public struct SystemProcess: Identifiable {
 10 |     let invocation: [String]
 11 |     public let id: pid_t
    |                    `- error: cannot find type 'pid_t' in scope
 12 |
 13 |     private init(invocation: [String], id: pid_t) {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
  4 | import Darwin
  5 | #else
  6 | #error("unsupported platform")
    |        `- error: unsupported platform
  7 | #endif
  8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:13:44: error: cannot find type 'pid_t' in scope
 11 |     public let id: pid_t
 12 |
 13 |     private init(invocation: [String], id: pid_t) {
    |                                            `- error: cannot find type 'pid_t' in scope
 14 |         self.invocation = invocation
 15 |         self.id = id
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
 10 |
 11 | #else
 12 | #error("unsupported platform")
    |        `- error: unsupported platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:31:51: error: cannot find 'getcwd' in scope
 29 |     public static func current() -> Self? {
 30 |         guard
 31 |         let buffer: UnsafeMutablePointer<CChar> = getcwd(nil, 0) else {
    |                                                   `- error: cannot find 'getcwd' in scope
 32 |             return nil
 33 |         }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:31:58: error: 'nil' requires a contextual type
 29 |     public static func current() -> Self? {
 30 |         guard
 31 |         let buffer: UnsafeMutablePointer<CChar> = getcwd(nil, 0) else {
    |                                                          `- error: 'nil' requires a contextual type
 32 |             return nil
 33 |         }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:35:13: error: cannot find 'free' in scope
 33 |         }
 34 |         defer {
 35 |             free(buffer)
    |             `- error: cannot find 'free' in scope
 36 |         }
 37 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
 8 | import Glibc
 9 | #else
10 | #error("unsupported platform")
   |        `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:17:30: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
15 |     @usableFromInline @frozen enum Stream {
16 |         case unopened(FilePath)
17 |         case opened(FilePath.DirectoryPointer?)
   |                              `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
18 |     }
19 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:21:53: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
19 | }
20 | extension FilePath.DirectoryIterator.Stream {
21 |     private mutating func open() throws -> FilePath.DirectoryPointer? {
   |                                                     `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
22 |         switch self {
23 |         case .unopened(let path):
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:24:35: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
22 |         switch self {
23 |         case .unopened(let path):
24 |             let pointer: FilePath.DirectoryPointer? = try path.withPlatformString {
   |                                   `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
25 |                 if  let pointer: FilePath.DirectoryPointer = opendir($0) {
26 |                     return pointer
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:44:36: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
42 |     }
43 |     mutating func next() throws -> FilePath.Component? {
44 |         guard let stream: FilePath.DirectoryPointer = try self.open() else {
   |                                    `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
45 |             return nil
46 |         }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:44:64: error: type of expression is ambiguous without a type annotation
42 |     }
43 |     mutating func next() throws -> FilePath.Component? {
44 |         guard let stream: FilePath.DirectoryPointer = try self.open() else {
   |                                                                `- error: type of expression is ambiguous without a type annotation
45 |             return nil
46 |         }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:48:46: error: cannot find type 'dirent' in scope
46 |         }
47 |
48 |         guard let offset: Int = MemoryLayout<dirent>.offset(of: \.d_name) else {
   |                                              `- error: cannot find type 'dirent' in scope
49 |             fatalError("invalid `dirent` layout")
50 |         }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:48:65: error: cannot infer key path type from context; consider explicitly specifying a root type
46 |         }
47 |
48 |         guard let offset: Int = MemoryLayout<dirent>.offset(of: \.d_name) else {
   |                                                                 `- error: cannot infer key path type from context; consider explicitly specifying a root type
49 |             fatalError("invalid `dirent` layout")
50 |         }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:51:47: error: cannot find type 'dirent' in scope
49 |             fatalError("invalid `dirent` layout")
50 |         }
51 |         while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
   |                                               `- error: cannot find type 'dirent' in scope
52 |             // `entry` is likely statically-allocated, and has variable-length layout.
53 |             //  attemping to unbind or rebind memory would be meaningless, as we must
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:51:57: error: cannot find 'readdir' in scope
49 |             fatalError("invalid `dirent` layout")
50 |         }
51 |         while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
   |                                                         `- error: cannot find 'readdir' in scope
52 |             // `entry` is likely statically-allocated, and has variable-length layout.
53 |             //  attemping to unbind or rebind memory would be meaningless, as we must
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:51:57: error: type of expression is ambiguous without a type annotation
49 |             fatalError("invalid `dirent` layout")
50 |         }
51 |         while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
   |                                                         `- error: type of expression is ambiguous without a type annotation
52 |             // `entry` is likely statically-allocated, and has variable-length layout.
53 |             //  attemping to unbind or rebind memory would be meaningless, as we must
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:71:9: error: cannot find 'closedir' in scope
69 |         }
70 |
71 |         closedir(stream)
   |         `- error: cannot find 'closedir' in scope
72 |         self = .opened(nil)
73 |         return nil
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:72:24: error: 'nil' requires a contextual type
70 |
71 |         closedir(stream)
72 |         self = .opened(nil)
   |                        `- error: 'nil' requires a contextual type
73 |         return nil
74 |     }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:76:39: error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
74 |     }
75 |     mutating func close() {
76 |         guard case .opened(let stream?) = self else {
   |                                       `- error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
77 |             return
78 |         }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:76:21: error: type 'Errno' has no member 'opened'
74 |     }
75 |     mutating func close() {
76 |         guard case .opened(let stream?) = self else {
   |                     `- error: type 'Errno' has no member 'opened'
77 |             return
78 |         }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:80:9: error: cannot find 'closedir' in scope
78 |         }
79 |
80 |         closedir(stream)
   |         `- error: cannot find 'closedir' in scope
81 |         self = .opened(nil)
82 |     }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:81:24: error: 'nil' requires a contextual type
79 |
80 |         closedir(stream)
81 |         self = .opened(nil)
   |                        `- error: 'nil' requires a contextual type
82 |     }
83 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
 10 |
 11 | #else
 12 | #error("unsupported platform")
    |        `- error: unsupported platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:31:51: error: cannot find 'getcwd' in scope
 29 |     public static func current() -> Self? {
 30 |         guard
 31 |         let buffer: UnsafeMutablePointer<CChar> = getcwd(nil, 0) else {
    |                                                   `- error: cannot find 'getcwd' in scope
 32 |             return nil
 33 |         }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:31:58: error: 'nil' requires a contextual type
 29 |     public static func current() -> Self? {
 30 |         guard
 31 |         let buffer: UnsafeMutablePointer<CChar> = getcwd(nil, 0) else {
    |                                                          `- error: 'nil' requires a contextual type
 32 |             return nil
 33 |         }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:35:13: error: cannot find 'free' in scope
 33 |         }
 34 |         defer {
 35 |             free(buffer)
    |             `- error: cannot find 'free' in scope
 36 |         }
 37 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
 8 | import Glibc
 9 | #else
10 | #error("unsupported platform")
   |        `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:17:30: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
15 |     @usableFromInline @frozen enum Stream {
16 |         case unopened(FilePath)
17 |         case opened(FilePath.DirectoryPointer?)
   |                              `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
18 |     }
19 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:21:53: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
19 | }
20 | extension FilePath.DirectoryIterator.Stream {
21 |     private mutating func open() throws -> FilePath.DirectoryPointer? {
   |                                                     `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
22 |         switch self {
23 |         case .unopened(let path):
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:24:35: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
22 |         switch self {
23 |         case .unopened(let path):
24 |             let pointer: FilePath.DirectoryPointer? = try path.withPlatformString {
   |                                   `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
25 |                 if  let pointer: FilePath.DirectoryPointer = opendir($0) {
26 |                     return pointer
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:44:36: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
42 |     }
43 |     mutating func next() throws -> FilePath.Component? {
44 |         guard let stream: FilePath.DirectoryPointer = try self.open() else {
   |                                    `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
45 |             return nil
46 |         }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:44:64: error: type of expression is ambiguous without a type annotation
42 |     }
43 |     mutating func next() throws -> FilePath.Component? {
44 |         guard let stream: FilePath.DirectoryPointer = try self.open() else {
   |                                                                `- error: type of expression is ambiguous without a type annotation
45 |             return nil
46 |         }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:48:46: error: cannot find type 'dirent' in scope
46 |         }
47 |
48 |         guard let offset: Int = MemoryLayout<dirent>.offset(of: \.d_name) else {
   |                                              `- error: cannot find type 'dirent' in scope
49 |             fatalError("invalid `dirent` layout")
50 |         }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:48:65: error: cannot infer key path type from context; consider explicitly specifying a root type
46 |         }
47 |
48 |         guard let offset: Int = MemoryLayout<dirent>.offset(of: \.d_name) else {
   |                                                                 `- error: cannot infer key path type from context; consider explicitly specifying a root type
49 |             fatalError("invalid `dirent` layout")
50 |         }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:51:47: error: cannot find type 'dirent' in scope
49 |             fatalError("invalid `dirent` layout")
50 |         }
51 |         while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
   |                                               `- error: cannot find type 'dirent' in scope
52 |             // `entry` is likely statically-allocated, and has variable-length layout.
53 |             //  attemping to unbind or rebind memory would be meaningless, as we must
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:51:57: error: cannot find 'readdir' in scope
49 |             fatalError("invalid `dirent` layout")
50 |         }
51 |         while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
   |                                                         `- error: cannot find 'readdir' in scope
52 |             // `entry` is likely statically-allocated, and has variable-length layout.
53 |             //  attemping to unbind or rebind memory would be meaningless, as we must
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:51:57: error: type of expression is ambiguous without a type annotation
49 |             fatalError("invalid `dirent` layout")
50 |         }
51 |         while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
   |                                                         `- error: type of expression is ambiguous without a type annotation
52 |             // `entry` is likely statically-allocated, and has variable-length layout.
53 |             //  attemping to unbind or rebind memory would be meaningless, as we must
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:71:9: error: cannot find 'closedir' in scope
69 |         }
70 |
71 |         closedir(stream)
   |         `- error: cannot find 'closedir' in scope
72 |         self = .opened(nil)
73 |         return nil
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:72:24: error: 'nil' requires a contextual type
70 |
71 |         closedir(stream)
72 |         self = .opened(nil)
   |                        `- error: 'nil' requires a contextual type
73 |         return nil
74 |     }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:76:39: error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
74 |     }
75 |     mutating func close() {
76 |         guard case .opened(let stream?) = self else {
   |                                       `- error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
77 |             return
78 |         }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:76:21: error: type 'Errno' has no member 'opened'
74 |     }
75 |     mutating func close() {
76 |         guard case .opened(let stream?) = self else {
   |                     `- error: type 'Errno' has no member 'opened'
77 |             return
78 |         }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:80:9: error: cannot find 'closedir' in scope
78 |         }
79 |
80 |         closedir(stream)
   |         `- error: cannot find 'closedir' in scope
81 |         self = .opened(nil)
82 |     }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:81:24: error: 'nil' requires a contextual type
79 |
80 |         closedir(stream)
81 |         self = .opened(nil)
   |                        `- error: 'nil' requires a contextual type
82 |     }
83 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
 10 |
 11 | #else
 12 | #error("unsupported platform")
    |        `- error: unsupported platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:31:51: error: cannot find 'getcwd' in scope
 29 |     public static func current() -> Self? {
 30 |         guard
 31 |         let buffer: UnsafeMutablePointer<CChar> = getcwd(nil, 0) else {
    |                                                   `- error: cannot find 'getcwd' in scope
 32 |             return nil
 33 |         }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:31:58: error: 'nil' requires a contextual type
 29 |     public static func current() -> Self? {
 30 |         guard
 31 |         let buffer: UnsafeMutablePointer<CChar> = getcwd(nil, 0) else {
    |                                                          `- error: 'nil' requires a contextual type
 32 |             return nil
 33 |         }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:35:13: error: cannot find 'free' in scope
 33 |         }
 34 |         defer {
 35 |             free(buffer)
    |             `- error: cannot find 'free' in scope
 36 |         }
 37 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
 8 | import Glibc
 9 | #else
10 | #error("unsupported platform")
   |        `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:17:30: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
15 |     @usableFromInline @frozen enum Stream {
16 |         case unopened(FilePath)
17 |         case opened(FilePath.DirectoryPointer?)
   |                              `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
18 |     }
19 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:21:53: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
19 | }
20 | extension FilePath.DirectoryIterator.Stream {
21 |     private mutating func open() throws -> FilePath.DirectoryPointer? {
   |                                                     `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
22 |         switch self {
23 |         case .unopened(let path):
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:24:35: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
22 |         switch self {
23 |         case .unopened(let path):
24 |             let pointer: FilePath.DirectoryPointer? = try path.withPlatformString {
   |                                   `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
25 |                 if  let pointer: FilePath.DirectoryPointer = opendir($0) {
26 |                     return pointer
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:44:36: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
42 |     }
43 |     mutating func next() throws -> FilePath.Component? {
44 |         guard let stream: FilePath.DirectoryPointer = try self.open() else {
   |                                    `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
45 |             return nil
46 |         }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:44:64: error: type of expression is ambiguous without a type annotation
42 |     }
43 |     mutating func next() throws -> FilePath.Component? {
44 |         guard let stream: FilePath.DirectoryPointer = try self.open() else {
   |                                                                `- error: type of expression is ambiguous without a type annotation
45 |             return nil
46 |         }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:48:46: error: cannot find type 'dirent' in scope
46 |         }
47 |
48 |         guard let offset: Int = MemoryLayout<dirent>.offset(of: \.d_name) else {
   |                                              `- error: cannot find type 'dirent' in scope
49 |             fatalError("invalid `dirent` layout")
50 |         }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:48:65: error: cannot infer key path type from context; consider explicitly specifying a root type
46 |         }
47 |
48 |         guard let offset: Int = MemoryLayout<dirent>.offset(of: \.d_name) else {
   |                                                                 `- error: cannot infer key path type from context; consider explicitly specifying a root type
49 |             fatalError("invalid `dirent` layout")
50 |         }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:51:47: error: cannot find type 'dirent' in scope
49 |             fatalError("invalid `dirent` layout")
50 |         }
51 |         while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
   |                                               `- error: cannot find type 'dirent' in scope
52 |             // `entry` is likely statically-allocated, and has variable-length layout.
53 |             //  attemping to unbind or rebind memory would be meaningless, as we must
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:51:57: error: cannot find 'readdir' in scope
49 |             fatalError("invalid `dirent` layout")
50 |         }
51 |         while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
   |                                                         `- error: cannot find 'readdir' in scope
52 |             // `entry` is likely statically-allocated, and has variable-length layout.
53 |             //  attemping to unbind or rebind memory would be meaningless, as we must
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:51:57: error: type of expression is ambiguous without a type annotation
49 |             fatalError("invalid `dirent` layout")
50 |         }
51 |         while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
   |                                                         `- error: type of expression is ambiguous without a type annotation
52 |             // `entry` is likely statically-allocated, and has variable-length layout.
53 |             //  attemping to unbind or rebind memory would be meaningless, as we must
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:71:9: error: cannot find 'closedir' in scope
69 |         }
70 |
71 |         closedir(stream)
   |         `- error: cannot find 'closedir' in scope
72 |         self = .opened(nil)
73 |         return nil
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:72:24: error: 'nil' requires a contextual type
70 |
71 |         closedir(stream)
72 |         self = .opened(nil)
   |                        `- error: 'nil' requires a contextual type
73 |         return nil
74 |     }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:76:39: error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
74 |     }
75 |     mutating func close() {
76 |         guard case .opened(let stream?) = self else {
   |                                       `- error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
77 |             return
78 |         }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:76:21: error: type 'Errno' has no member 'opened'
74 |     }
75 |     mutating func close() {
76 |         guard case .opened(let stream?) = self else {
   |                     `- error: type 'Errno' has no member 'opened'
77 |             return
78 |         }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:80:9: error: cannot find 'closedir' in scope
78 |         }
79 |
80 |         closedir(stream)
   |         `- error: cannot find 'closedir' in scope
81 |         self = .opened(nil)
82 |     }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:81:24: error: 'nil' requires a contextual type
79 |
80 |         closedir(stream)
81 |         self = .opened(nil)
   |                        `- error: 'nil' requires a contextual type
82 |     }
83 | }
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:12:34: error: cannot find type 'stat' in scope
10 |
11 | @frozen public struct FileStatus {
12 |     @usableFromInline let value: stat
   |                                  `- error: cannot find type 'stat' in scope
13 |
14 |     private init(value: stat) {
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:14:25: error: cannot find type 'stat' in scope
12 |     @usableFromInline let value: stat
13 |
14 |     private init(value: stat) {
   |                         `- error: cannot find type 'stat' in scope
15 |         self.value = value
16 |     }
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:20:30: error: cannot find 'S_IFMT' in scope
18 | extension FileStatus {
19 |     @inlinable public func `is`(_ type: FileType) -> Bool {
20 |         self.value.st_mode & S_IFMT == type.mask
   |                              `- error: cannot find 'S_IFMT' in scope
21 |     }
22 | }
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:19:26: error: cannot find type 'mode_t' in scope
17 | }
18 | extension FileType {
19 |     @inlinable var mask: mode_t {
   |                          `- error: cannot find type 'mode_t' in scope
20 |         switch self {
21 |         case .blockDevice:      S_IFBLK
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:27:20: error: cannot find 'stat' in scope
25 |         try path.withPlatformString {
26 |             var value: stat = .init()
27 |             switch stat($0, &value) {
   |                    `- error: cannot find 'stat' in scope
28 |             case 0: return .init(value: value)
29 |             case _: throw Errno.init(rawValue: errno)
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:29:48: error: cannot find 'errno' in scope
27 |             switch stat($0, &value) {
28 |             case 0: return .init(value: value)
29 |             case _: throw Errno.init(rawValue: errno)
   |                                                `- error: cannot find 'errno' in scope
30 |             }
31 |         }
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:26:24: error: cannot find type 'stat' in scope
24 |     public static func status(of path: FilePath) throws -> Self {
25 |         try path.withPlatformString {
26 |             var value: stat = .init()
   |                        `- error: cannot find type 'stat' in scope
27 |             switch stat($0, &value) {
28 |             case 0: return .init(value: value)
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:25:18: error: type of expression is ambiguous without a type annotation
23 | extension FileStatus {
24 |     public static func status(of path: FilePath) throws -> Self {
25 |         try path.withPlatformString {
   |                  `- error: type of expression is ambiguous without a type annotation
26 |             var value: stat = .init()
27 |             switch stat($0, &value) {
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:34:20: error: cannot find type 'stat' in scope
32 |     }
33 |     public static func status(of file: FileDescriptor) throws -> Self {
34 |         var value: stat = .init()
   |                    `- error: cannot find type 'stat' in scope
35 |         switch fstat(file.rawValue, &value) {
36 |         case 0: return .init(value: value)
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:35:16: error: cannot find 'fstat' in scope
33 |     public static func status(of file: FileDescriptor) throws -> Self {
34 |         var value: stat = .init()
35 |         switch fstat(file.rawValue, &value) {
   |                `- error: cannot find 'fstat' in scope
36 |         case 0: return .init(value: value)
37 |         case _: throw Errno.init(rawValue: errno)
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:37:44: error: cannot find 'errno' in scope
35 |         switch fstat(file.rawValue, &value) {
36 |         case 0: return .init(value: value)
37 |         case _: throw Errno.init(rawValue: errno)
   |                                            `- error: cannot find 'errno' in scope
38 |         }
39 |     }
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:12:34: error: cannot find type 'stat' in scope
10 |
11 | @frozen public struct FileStatus {
12 |     @usableFromInline let value: stat
   |                                  `- error: cannot find type 'stat' in scope
13 |
14 |     private init(value: stat) {
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:14:25: error: cannot find type 'stat' in scope
12 |     @usableFromInline let value: stat
13 |
14 |     private init(value: stat) {
   |                         `- error: cannot find type 'stat' in scope
15 |         self.value = value
16 |     }
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:20:30: error: cannot find 'S_IFMT' in scope
18 | extension FileStatus {
19 |     @inlinable public func `is`(_ type: FileType) -> Bool {
20 |         self.value.st_mode & S_IFMT == type.mask
   |                              `- error: cannot find 'S_IFMT' in scope
21 |     }
22 | }
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:19:26: error: cannot find type 'mode_t' in scope
17 | }
18 | extension FileType {
19 |     @inlinable var mask: mode_t {
   |                          `- error: cannot find type 'mode_t' in scope
20 |         switch self {
21 |         case .blockDevice:      S_IFBLK
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:27:20: error: cannot find 'stat' in scope
25 |         try path.withPlatformString {
26 |             var value: stat = .init()
27 |             switch stat($0, &value) {
   |                    `- error: cannot find 'stat' in scope
28 |             case 0: return .init(value: value)
29 |             case _: throw Errno.init(rawValue: errno)
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:29:48: error: cannot find 'errno' in scope
27 |             switch stat($0, &value) {
28 |             case 0: return .init(value: value)
29 |             case _: throw Errno.init(rawValue: errno)
   |                                                `- error: cannot find 'errno' in scope
30 |             }
31 |         }
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:26:24: error: cannot find type 'stat' in scope
24 |     public static func status(of path: FilePath) throws -> Self {
25 |         try path.withPlatformString {
26 |             var value: stat = .init()
   |                        `- error: cannot find type 'stat' in scope
27 |             switch stat($0, &value) {
28 |             case 0: return .init(value: value)
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:25:18: error: type of expression is ambiguous without a type annotation
23 | extension FileStatus {
24 |     public static func status(of path: FilePath) throws -> Self {
25 |         try path.withPlatformString {
   |                  `- error: type of expression is ambiguous without a type annotation
26 |             var value: stat = .init()
27 |             switch stat($0, &value) {
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:34:20: error: cannot find type 'stat' in scope
32 |     }
33 |     public static func status(of file: FileDescriptor) throws -> Self {
34 |         var value: stat = .init()
   |                    `- error: cannot find type 'stat' in scope
35 |         switch fstat(file.rawValue, &value) {
36 |         case 0: return .init(value: value)
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:35:16: error: cannot find 'fstat' in scope
33 |     public static func status(of file: FileDescriptor) throws -> Self {
34 |         var value: stat = .init()
35 |         switch fstat(file.rawValue, &value) {
   |                `- error: cannot find 'fstat' in scope
36 |         case 0: return .init(value: value)
37 |         case _: throw Errno.init(rawValue: errno)
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:37:44: error: cannot find 'errno' in scope
35 |         switch fstat(file.rawValue, &value) {
36 |         case 0: return .init(value: value)
37 |         case _: throw Errno.init(rawValue: errno)
   |                                            `- error: cannot find 'errno' in scope
38 |         }
39 |     }
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:12:34: error: cannot find type 'stat' in scope
10 |
11 | @frozen public struct FileStatus {
12 |     @usableFromInline let value: stat
   |                                  `- error: cannot find type 'stat' in scope
13 |
14 |     private init(value: stat) {
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:14:25: error: cannot find type 'stat' in scope
12 |     @usableFromInline let value: stat
13 |
14 |     private init(value: stat) {
   |                         `- error: cannot find type 'stat' in scope
15 |         self.value = value
16 |     }
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:20:30: error: cannot find 'S_IFMT' in scope
18 | extension FileStatus {
19 |     @inlinable public func `is`(_ type: FileType) -> Bool {
20 |         self.value.st_mode & S_IFMT == type.mask
   |                              `- error: cannot find 'S_IFMT' in scope
21 |     }
22 | }
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:19:26: error: cannot find type 'mode_t' in scope
17 | }
18 | extension FileType {
19 |     @inlinable var mask: mode_t {
   |                          `- error: cannot find type 'mode_t' in scope
20 |         switch self {
21 |         case .blockDevice:      S_IFBLK
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:27:20: error: cannot find 'stat' in scope
25 |         try path.withPlatformString {
26 |             var value: stat = .init()
27 |             switch stat($0, &value) {
   |                    `- error: cannot find 'stat' in scope
28 |             case 0: return .init(value: value)
29 |             case _: throw Errno.init(rawValue: errno)
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:29:48: error: cannot find 'errno' in scope
27 |             switch stat($0, &value) {
28 |             case 0: return .init(value: value)
29 |             case _: throw Errno.init(rawValue: errno)
   |                                                `- error: cannot find 'errno' in scope
30 |             }
31 |         }
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:26:24: error: cannot find type 'stat' in scope
24 |     public static func status(of path: FilePath) throws -> Self {
25 |         try path.withPlatformString {
26 |             var value: stat = .init()
   |                        `- error: cannot find type 'stat' in scope
27 |             switch stat($0, &value) {
28 |             case 0: return .init(value: value)
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:25:18: error: type of expression is ambiguous without a type annotation
23 | extension FileStatus {
24 |     public static func status(of path: FilePath) throws -> Self {
25 |         try path.withPlatformString {
   |                  `- error: type of expression is ambiguous without a type annotation
26 |             var value: stat = .init()
27 |             switch stat($0, &value) {
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:34:20: error: cannot find type 'stat' in scope
32 |     }
33 |     public static func status(of file: FileDescriptor) throws -> Self {
34 |         var value: stat = .init()
   |                    `- error: cannot find type 'stat' in scope
35 |         switch fstat(file.rawValue, &value) {
36 |         case 0: return .init(value: value)
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:35:16: error: cannot find 'fstat' in scope
33 |     public static func status(of file: FileDescriptor) throws -> Self {
34 |         var value: stat = .init()
35 |         switch fstat(file.rawValue, &value) {
   |                `- error: cannot find 'fstat' in scope
36 |         case 0: return .init(value: value)
37 |         case _: throw Errno.init(rawValue: errno)
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:37:44: error: cannot find 'errno' in scope
35 |         switch fstat(file.rawValue, &value) {
36 |         case 0: return .init(value: value)
37 |         case _: throw Errno.init(rawValue: errno)
   |                                            `- error: cannot find 'errno' in scope
38 |         }
39 |     }
/host/spi-builder-workspace/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
 4 | import Darwin
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
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 GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/36] Compiling SystemPackage Syscalls.swift
[5/36] Compiling SystemPackage WindowsSyscallAdapters.swift
[6/36] Compiling SystemPackage MachPort.swift
[7/36] Compiling SystemPackage PlatformString.swift
[8/40] Emitting module SystemPackage
[9/40] Compiling SystemPackage FilePathWindows.swift
[10/40] Compiling SystemPackage FilePermissions.swift
[11/40] Compiling SystemPackage IOCompletion.swift
[12/40] Compiling SystemPackage IORequest.swift
[13/40] Compiling SystemPackage FilePathSyntax.swift
[14/40] Compiling SystemPackage FilePathTemp.swift
[15/40] Compiling SystemPackage FilePathTempPosix.swift
[16/40] Compiling SystemPackage FilePathTempWindows.swift
[17/40] Compiling SystemPackage Constants.swift
[18/40] Compiling SystemPackage Exports.swift
[19/40] Compiling SystemPackage Mocking.swift
[20/40] Compiling SystemPackage RawBuffer.swift
[21/40] Compiling ArgumentParserToolInfo ToolInfo.swift
[22/40] Emitting module ArgumentParserToolInfo
[24/41] Compiling SystemPackage IORing.swift
[25/41] Compiling SystemPackage RawIORequest.swift
[26/41] Compiling SystemPackage Backcompat.swift
[27/41] Compiling SystemPackage CInterop.swift
[28/41] Compiling SystemPackage Errno.swift
[29/41] Compiling SystemPackage ErrnoWindows.swift
[30/41] Compiling SystemPackage FileDescriptor.swift
[31/41] Compiling SystemPackage FileHelpers.swift
[32/41] Compiling SystemPackage FileOperations.swift
[33/41] Compiling SystemPackage FilePath.swift
[34/41] Compiling SystemPackage FilePathComponentView.swift
[35/41] Compiling SystemPackage FilePathComponents.swift
[36/41] Compiling SystemPackage FilePathParsing.swift
[37/41] Compiling SystemPackage FilePathString.swift
[38/41] Compiling SystemPackage SystemString.swift
[39/41] Compiling SystemPackage Util+StringArray.swift
[40/41] Compiling SystemPackage Util.swift
[41/41] Compiling SystemPackage UtilConsumers.swift
[43/105] Compiling SystemIO FileStatus.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[44/105] Compiling SystemIO SystemProcess.Environment.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[45/105] Compiling SystemIO SystemProcess.EnvironmentEncoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[46/105] Compiling SystemIO SystemProcess.Stream.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[47/105] Compiling SystemIO SystemProcess.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[48/105] Compiling ArgumentParser SwiftExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:11:20: error: cannot find type 'pid_t' in scope
  9 | @frozen public struct SystemProcess: Identifiable {
 10 |     let invocation: [String]
 11 |     public let id: pid_t
    |                    `- error: cannot find type 'pid_t' in scope
 12 |
 13 |     private init(invocation: [String], id: pid_t) {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
  4 | import Darwin
  5 | #else
  6 | #error("unsupported platform")
    |        `- error: unsupported platform
  7 | #endif
  8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:13:44: error: cannot find type 'pid_t' in scope
 11 |     public let id: pid_t
 12 |
 13 |     private init(invocation: [String], id: pid_t) {
    |                                            `- error: cannot find type 'pid_t' in scope
 14 |         self.invocation = invocation
 15 |         self.id = id
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:15:14: error: property 'id' requires that 'SystemProcess' be a class type
 13 |     private init(invocation: [String], id: pid_t) {
 14 |         self.invocation = invocation
 15 |         self.id = id
    |              `- error: property 'id' requires that 'SystemProcess' be a class type
 16 |     }
 17 | }
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
  |           `- note: where 'Self' = 'SystemProcess'
3 |     public var id: ObjectIdentifier { get }
4 | }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:93:13: error: cannot find 'posix_spawn_file_actions_init' in scope
 91 |
 92 |         do {
 93 |             posix_spawn_file_actions_init(&actions)
    |             `- error: cannot find 'posix_spawn_file_actions_init' in scope
 94 |         }
 95 |         defer {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:93:44: error: cannot find 'actions' in scope
 91 |
 92 |         do {
 93 |             posix_spawn_file_actions_init(&actions)
    |                                            `- error: cannot find 'actions' in scope
 94 |         }
 95 |         defer {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:96:13: error: cannot find 'posix_spawn_file_actions_destroy' in scope
 94 |         }
 95 |         defer {
 96 |             posix_spawn_file_actions_destroy(&actions)
    |             `- error: cannot find 'posix_spawn_file_actions_destroy' in scope
 97 |         }
 98 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:96:47: error: cannot find 'actions' in scope
 94 |         }
 95 |         defer {
 96 |             posix_spawn_file_actions_destroy(&actions)
    |                                               `- error: cannot find 'actions' in scope
 97 |         }
 98 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:100:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
 98 |
 99 |         if  let stdout: FileDescriptor {
100 |             posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
101 |         }
102 |         if  let stderr: FileDescriptor {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:100:47: error: cannot find 'actions' in scope
 98 |
 99 |         if  let stdout: FileDescriptor {
100 |             posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
    |                                               `- error: cannot find 'actions' in scope
101 |         }
102 |         if  let stderr: FileDescriptor {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:103:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
101 |         }
102 |         if  let stderr: FileDescriptor {
103 |             posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
104 |         }
105 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:103:47: error: cannot find 'actions' in scope
101 |         }
102 |         if  let stderr: FileDescriptor {
103 |             posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
    |                                               `- error: cannot find 'actions' in scope
104 |         }
105 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:107:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
105 |
106 |         for stream: SystemProcess.Stream in streams {
107 |             posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
108 |         }
109 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:107:47: error: cannot find 'actions' in scope
105 |
106 |         for stream: SystemProcess.Stream in streams {
107 |             posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
    |                                               `- error: cannot find 'actions' in scope
108 |         }
109 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:110:22: error: cannot find type 'pid_t' in scope
108 |         }
109 |
110 |         var process: pid_t = 0
    |                      `- error: cannot find type 'pid_t' in scope
111 |         let status: Int32 = environment.withUnsafePointers {
112 |             if  let command: String {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:113:17: error: cannot find 'posix_spawnp' in scope
111 |         let status: Int32 = environment.withUnsafePointers {
112 |             if  let command: String {
113 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                 `- error: cannot find 'posix_spawnp' in scope
114 |             } else {
115 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:113:50: error: cannot find 'actions' in scope
111 |         let status: Int32 = environment.withUnsafePointers {
112 |             if  let command: String {
113 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                                                  `- error: cannot find 'actions' in scope
114 |             } else {
115 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:115:17: error: cannot find 'posix_spawn' in scope
113 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
114 |             } else {
115 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
    |                 `- error: cannot find 'posix_spawn' in scope
116 |             }
117 |         }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:115:55: error: cannot find 'actions' in scope
113 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
114 |             } else {
115 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
    |                                                       `- error: cannot find 'actions' in scope
116 |             }
117 |         }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:113:59: error: 'nil' requires a contextual type
111 |         let status: Int32 = environment.withUnsafePointers {
112 |             if  let command: String {
113 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                                                           `- error: 'nil' requires a contextual type
114 |             } else {
115 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:122:47: error: extra argument 'id' in call
120 |         }
121 |
122 |         self.init(invocation: invocation, id: process)
    |                                               `- error: extra argument 'id' in call
123 |     }
124 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:122:19: error: missing argument for parameter 'command' in call
 28 | }
 29 | extension SystemProcess {
 30 |     public init(
    |            `- note: 'init(command:_:stdout:stderr:duping:echo:with:)' declared here
 31 |         command: String?,
 32 |         _ arguments: String?...,
    :
120 |         }
121 |
122 |         self.init(invocation: invocation, id: process)
    |                   `- error: missing argument for parameter 'command' in call
123 |     }
124 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:122:31: error: cannot convert value of type '[String]' to expected argument type 'String'
120 |         }
121 |
122 |         self.init(invocation: invocation, id: process)
    |                               `- error: cannot convert value of type '[String]' to expected argument type 'String'
123 |     }
124 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:128:16: error: cannot find 'waitpid' in scope
126 |         var status: Int32 = 0
127 |
128 |         switch waitpid(self.id, &status, 0) {
    |                `- error: cannot find 'waitpid' in scope
129 |         case self.id:       break
130 |         case let status:    return .failure(.wait(status, self.invocation))
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:128:29: error: property 'id' requires that 'SystemProcess' be a class type
126 |         var status: Int32 = 0
127 |
128 |         switch waitpid(self.id, &status, 0) {
    |                             `- error: property 'id' requires that 'SystemProcess' be a class type
129 |         case self.id:       break
130 |         case let status:    return .failure(.wait(status, self.invocation))
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
  |           `- note: where 'Self' = 'SystemProcess'
3 |     public var id: ObjectIdentifier { get }
4 | }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:129:19: error: property 'id' requires that 'SystemProcess' be a class type
127 |
128 |         switch waitpid(self.id, &status, 0) {
129 |         case self.id:       break
    |                   `- error: property 'id' requires that 'SystemProcess' be a class type
130 |         case let status:    return .failure(.wait(status, self.invocation))
131 |         }
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
  |           `- note: where 'Self' = 'SystemProcess'
3 |     public var id: ObjectIdentifier { get }
4 | }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:11:20: error: cannot find type 'pid_t' in scope
  9 | @frozen public struct SystemProcess: Identifiable {
 10 |     let invocation: [String]
 11 |     public let id: pid_t
    |                    `- error: cannot find type 'pid_t' in scope
 12 |
 13 |     private init(invocation: [String], id: pid_t) {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
  4 | import Darwin
  5 | #else
  6 | #error("unsupported platform")
    |        `- error: unsupported platform
  7 | #endif
  8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:13:44: error: cannot find type 'pid_t' in scope
 11 |     public let id: pid_t
 12 |
 13 |     private init(invocation: [String], id: pid_t) {
    |                                            `- error: cannot find type 'pid_t' in scope
 14 |         self.invocation = invocation
 15 |         self.id = id
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:15:14: error: property 'id' requires that 'SystemProcess' be a class type
 13 |     private init(invocation: [String], id: pid_t) {
 14 |         self.invocation = invocation
 15 |         self.id = id
    |              `- error: property 'id' requires that 'SystemProcess' be a class type
 16 |     }
 17 | }
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
  |           `- note: where 'Self' = 'SystemProcess'
3 |     public var id: ObjectIdentifier { get }
4 | }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:93:13: error: cannot find 'posix_spawn_file_actions_init' in scope
 91 |
 92 |         do {
 93 |             posix_spawn_file_actions_init(&actions)
    |             `- error: cannot find 'posix_spawn_file_actions_init' in scope
 94 |         }
 95 |         defer {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:93:44: error: cannot find 'actions' in scope
 91 |
 92 |         do {
 93 |             posix_spawn_file_actions_init(&actions)
    |                                            `- error: cannot find 'actions' in scope
 94 |         }
 95 |         defer {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:96:13: error: cannot find 'posix_spawn_file_actions_destroy' in scope
 94 |         }
 95 |         defer {
 96 |             posix_spawn_file_actions_destroy(&actions)
    |             `- error: cannot find 'posix_spawn_file_actions_destroy' in scope
 97 |         }
 98 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:96:47: error: cannot find 'actions' in scope
 94 |         }
 95 |         defer {
 96 |             posix_spawn_file_actions_destroy(&actions)
    |                                               `- error: cannot find 'actions' in scope
 97 |         }
 98 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:100:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
 98 |
 99 |         if  let stdout: FileDescriptor {
100 |             posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
101 |         }
102 |         if  let stderr: FileDescriptor {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:100:47: error: cannot find 'actions' in scope
 98 |
 99 |         if  let stdout: FileDescriptor {
100 |             posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
    |                                               `- error: cannot find 'actions' in scope
101 |         }
102 |         if  let stderr: FileDescriptor {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:103:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
101 |         }
102 |         if  let stderr: FileDescriptor {
103 |             posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
104 |         }
105 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:103:47: error: cannot find 'actions' in scope
101 |         }
102 |         if  let stderr: FileDescriptor {
103 |             posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
    |                                               `- error: cannot find 'actions' in scope
104 |         }
105 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:107:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
105 |
106 |         for stream: SystemProcess.Stream in streams {
107 |             posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
108 |         }
109 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:107:47: error: cannot find 'actions' in scope
105 |
106 |         for stream: SystemProcess.Stream in streams {
107 |             posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
    |                                               `- error: cannot find 'actions' in scope
108 |         }
109 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:110:22: error: cannot find type 'pid_t' in scope
108 |         }
109 |
110 |         var process: pid_t = 0
    |                      `- error: cannot find type 'pid_t' in scope
111 |         let status: Int32 = environment.withUnsafePointers {
112 |             if  let command: String {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:113:17: error: cannot find 'posix_spawnp' in scope
111 |         let status: Int32 = environment.withUnsafePointers {
112 |             if  let command: String {
113 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                 `- error: cannot find 'posix_spawnp' in scope
114 |             } else {
115 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:113:50: error: cannot find 'actions' in scope
111 |         let status: Int32 = environment.withUnsafePointers {
112 |             if  let command: String {
113 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                                                  `- error: cannot find 'actions' in scope
114 |             } else {
115 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:115:17: error: cannot find 'posix_spawn' in scope
113 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
114 |             } else {
115 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
    |                 `- error: cannot find 'posix_spawn' in scope
116 |             }
117 |         }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:115:55: error: cannot find 'actions' in scope
113 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
114 |             } else {
115 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
    |                                                       `- error: cannot find 'actions' in scope
116 |             }
117 |         }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:113:59: error: 'nil' requires a contextual type
111 |         let status: Int32 = environment.withUnsafePointers {
112 |             if  let command: String {
113 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                                                           `- error: 'nil' requires a contextual type
114 |             } else {
115 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:122:47: error: extra argument 'id' in call
120 |         }
121 |
122 |         self.init(invocation: invocation, id: process)
    |                                               `- error: extra argument 'id' in call
123 |     }
124 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:122:19: error: missing argument for parameter 'command' in call
 28 | }
 29 | extension SystemProcess {
 30 |     public init(
    |            `- note: 'init(command:_:stdout:stderr:duping:echo:with:)' declared here
 31 |         command: String?,
 32 |         _ arguments: String?...,
    :
120 |         }
121 |
122 |         self.init(invocation: invocation, id: process)
    |                   `- error: missing argument for parameter 'command' in call
123 |     }
124 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:122:31: error: cannot convert value of type '[String]' to expected argument type 'String'
120 |         }
121 |
122 |         self.init(invocation: invocation, id: process)
    |                               `- error: cannot convert value of type '[String]' to expected argument type 'String'
123 |     }
124 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:128:16: error: cannot find 'waitpid' in scope
126 |         var status: Int32 = 0
127 |
128 |         switch waitpid(self.id, &status, 0) {
    |                `- error: cannot find 'waitpid' in scope
129 |         case self.id:       break
130 |         case let status:    return .failure(.wait(status, self.invocation))
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:128:29: error: property 'id' requires that 'SystemProcess' be a class type
126 |         var status: Int32 = 0
127 |
128 |         switch waitpid(self.id, &status, 0) {
    |                             `- error: property 'id' requires that 'SystemProcess' be a class type
129 |         case self.id:       break
130 |         case let status:    return .failure(.wait(status, self.invocation))
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
  |           `- note: where 'Self' = 'SystemProcess'
3 |     public var id: ObjectIdentifier { get }
4 | }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:129:19: error: property 'id' requires that 'SystemProcess' be a class type
127 |
128 |         switch waitpid(self.id, &status, 0) {
129 |         case self.id:       break
    |                   `- error: property 'id' requires that 'SystemProcess' be a class type
130 |         case let status:    return .failure(.wait(status, self.invocation))
131 |         }
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
  |           `- note: where 'Self' = 'SystemProcess'
3 |     public var id: ObjectIdentifier { get }
4 | }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
 4 | import Darwin
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:11:20: error: cannot find type 'pid_t' in scope
  9 | @frozen public struct SystemProcess: Identifiable {
 10 |     let invocation: [String]
 11 |     public let id: pid_t
    |                    `- error: cannot find type 'pid_t' in scope
 12 |
 13 |     private init(invocation: [String], id: pid_t) {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:40:49: error: cannot find 'environ' in scope
38 |                 to: CChar.self
39 |             ).baseAddress else {
40 |                 return try yield(self.inherit ? environ : nil)
   |                                                 `- error: cannot find 'environ' in scope
41 |             }
42 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:44:29: error: cannot find 'environ' in scope
42 |
43 |             var inherited: Int = 0
44 |             while case _? = environ[inherited] {
   |                             `- error: cannot find 'environ' in scope
45 |                 inherited += 1
46 |             }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:53:53: error: cannot find 'environ' in scope
51 |             ) {
52 |                 for i: Int in 0 ..< inherited {
53 |                     $0.initializeElement(at: i, to: environ[i])
   |                                                     `- error: cannot find 'environ' in scope
54 |                 }
55 |                 var i: Int = inherited
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
 4 | import Darwin
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:11:20: error: cannot find type 'pid_t' in scope
  9 | @frozen public struct SystemProcess: Identifiable {
 10 |     let invocation: [String]
 11 |     public let id: pid_t
    |                    `- error: cannot find type 'pid_t' in scope
 12 |
 13 |     private init(invocation: [String], id: pid_t) {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:40:49: error: cannot find 'environ' in scope
38 |                 to: CChar.self
39 |             ).baseAddress else {
40 |                 return try yield(self.inherit ? environ : nil)
   |                                                 `- error: cannot find 'environ' in scope
41 |             }
42 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:44:29: error: cannot find 'environ' in scope
42 |
43 |             var inherited: Int = 0
44 |             while case _? = environ[inherited] {
   |                             `- error: cannot find 'environ' in scope
45 |                 inherited += 1
46 |             }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:53:53: error: cannot find 'environ' in scope
51 |             ) {
52 |                 for i: Int in 0 ..< inherited {
53 |                     $0.initializeElement(at: i, to: environ[i])
   |                                                     `- error: cannot find 'environ' in scope
54 |                 }
55 |                 var i: Int = inherited
[53/113] Compiling SystemIO FileDescriptor.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[54/113] Compiling SystemIO FileError.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[55/113] Compiling SystemIO FilePath (ext).swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[56/113] Compiling SystemIO FilePath.Directory.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[57/113] Compiling SystemIO FilePath.DirectoryIterator.Stream.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[58/113] Compiling SystemIO FilePath.DirectoryIterator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[59/113] Compiling SystemIO FilePath.DirectoryPointer.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[60/113] Compiling SystemIO lexemes.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[61/113] Compiling ArgumentParser DumpHelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[62/113] Compiling ArgumentParser HelpCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[63/113] Compiling ArgumentParser HelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[64/113] Compiling ArgumentParser MessageInfo.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[65/113] Compiling ArgumentParser UsageGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
error: emit-module command failed with exit code 1 (use -v to see invocation)
[66/113] Emitting module ArgumentParser
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[67/113] Compiling ArgumentParser OptionGroup.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[68/113] Compiling ArgumentParser AsyncParsableCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[69/113] Compiling ArgumentParser CommandConfiguration.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[70/113] Compiling ArgumentParser CommandGroup.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[71/113] Compiling ArgumentParser EnumerableFlag.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[72/113] Compiling ArgumentParser ExpressibleByArgument.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[73/113] Compiling ArgumentParser ParsableArguments.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[74/113] Compiling ArgumentParser ParsableCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[75/113] Compiling ArgumentParser ArgumentDecoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[76/113] Compiling ArgumentParser ArgumentDefinition.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[77/113] Compiling ArgumentParser ArgumentSet.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[78/113] Compiling ArgumentParser CommandParser.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[79/113] Compiling ArgumentParser InputKey.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[80/113] Compiling ArgumentParser InputOrigin.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[81/113] Compiling ArgumentParser Name.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[82/113] Compiling ArgumentParser Parsed.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[83/113] Compiling ArgumentParser ParsedValues.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[84/113] Compiling ArgumentParser ParserError.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[85/113] Compiling SystemIO SystemProcessError.swift
[87/113] Compiling SystemIO FilePermissions (ext).swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[88/113] Compiling SystemIO FilePermissions.Component.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[89/113] Compiling SystemIO FileSystemStats.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[90/113] Compiling SystemIO FileType.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[91/113] Compiling SystemIO FileReadError.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[92/113] Compiling SystemIO FileSeekError.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[93/113] Compiling ArgumentParser Tree.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[94/113] Compiling ArgumentParser CodingKeyValidator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[95/113] Compiling ArgumentParser NonsenseFlagsValidator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[96/113] Compiling ArgumentParser ParsableArgumentsValidation.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[97/113] Compiling ArgumentParser PositionalArgumentsValidator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[98/113] Compiling ArgumentParser UniqueNamesValidator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
 10 |
 11 | #else
 12 | #error("unsupported platform")
    |        `- error: unsupported platform
 13 | #endif
 14 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
 8 | import Glibc
 9 | #else
10 | #error("unsupported platform")
   |        `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:17:30: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
15 |     @usableFromInline @frozen enum Stream {
16 |         case unopened(FilePath)
17 |         case opened(FilePath.DirectoryPointer?)
   |                              `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
18 |     }
19 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:21:53: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
19 | }
20 | extension FilePath.DirectoryIterator.Stream {
21 |     private mutating func open() throws -> FilePath.DirectoryPointer? {
   |                                                     `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
22 |         switch self {
23 |         case .unopened(let path):
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
BUILD FAILURE 6.1 wasm