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 Dollup, reference 0.6.1 (dc4a52), with Swift 6.1 for Wasm on 16 Nov 2025 02:01:18 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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

Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.3 (0.94s)
Creating working copy for https://github.com/tayloraswift/swift-io
Working copy of https://github.com/tayloraswift/swift-io resolved at 0.1.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
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.2
[1/1] Compiling plugin DollupPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/74] Write sources
[33/74] Compiling _SwiftSyntaxCShims PlatformMutex.c
[34/74] Compiling CSystem shims.c
[35/74] Compiling _SwiftSyntaxCShims PlatformMutex.c
[36/74] Compiling CSystem shims.c
[37/74] Write swift-version-24593BA9C3E375BF.txt
[39/148] Emitting module SystemPackage
[40/152] Emitting module SwiftSyntax600
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[41/152] Compiling SwiftSyntax600 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[42/153] Compiling SwiftSyntax602 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[43/153] Emitting module SwiftSyntax602
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[44/154] Emitting module SwiftSyntax600
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[45/154] Compiling SwiftSyntax601 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[46/154] Emitting module SwiftSyntax601
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[47/155] Emitting module SwiftSyntax602
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[48/155] Compiling SwiftSyntax602 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[49/155] Compiling SwiftSyntax600 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[51/157] Compiling SystemPackage Errno.swift
[52/157] Compiling SystemPackage ErrnoWindows.swift
[53/157] Compiling SystemPackage FileDescriptor.swift
[54/157] Compiling SystemPackage FileHelpers.swift
[57/157] Compiling SwiftSyntax601 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[58/157] Emitting module SwiftSyntax601
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[59/157] Compiling SystemPackage FilePathWindows.swift
[60/157] Compiling SystemPackage FilePermissions.swift
[61/157] Compiling SystemPackage IOCompletion.swift
[62/157] Compiling SystemPackage IORequest.swift
[65/162] Compiling SystemPackage SystemString.swift
[66/162] Compiling SystemPackage Util+StringArray.swift
[67/162] Compiling SystemPackage Util.swift
[68/162] Compiling SystemPackage UtilConsumers.swift
[69/162] Compiling SystemPackage FilePathSyntax.swift
[70/162] Compiling SystemPackage FilePathTemp.swift
[71/162] Compiling SystemPackage FilePathTempPosix.swift
[72/162] Compiling SystemPackage FilePathTempWindows.swift
[73/162] Emitting module SystemPackage
[78/162] Compiling SystemPackage FileOperations.swift
[79/162] Compiling SystemPackage FilePath.swift
[80/162] Compiling SystemPackage FilePathComponentView.swift
[81/162] Compiling SystemPackage FilePathComponents.swift
[82/162] Compiling SystemPackage FilePathParsing.swift
[83/162] Compiling SystemPackage FilePathString.swift
[84/162] Wrapping AST for SwiftSyntax602 for debugging
[85/168] Wrapping AST for SwiftSyntax600 for debugging
[86/170] Wrapping AST for SwiftSyntax601 for debugging
[88/170] Emitting module SwiftSyntax509
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[89/170] Emitting module SwiftSyntax510
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[90/170] Compiling SwiftSyntax510 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[91/170] Emitting module SwiftSyntax510
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[92/171] Compiling SwiftSyntax510 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[93/172] Compiling SwiftSyntax509 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[94/173] Emitting module SwiftSyntax509
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[95/173] Compiling SwiftSyntax509 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[95/174] Wrapping AST for SwiftSyntax602 for debugging
[96/174] Wrapping AST for SwiftSyntax601 for debugging
[111/174] Compiling SystemPackage Constants.swift
[112/174] Compiling SystemPackage Exports.swift
[113/174] Compiling SystemPackage Mocking.swift
[114/174] Compiling SystemPackage RawBuffer.swift
[115/174] Compiling SystemPackage IORing.swift
[116/174] Compiling SystemPackage RawIORequest.swift
[117/174] Compiling SystemPackage Backcompat.swift
[118/174] Compiling SystemPackage CInterop.swift
[123/174] Compiling SystemPackage Syscalls.swift
[124/174] Compiling SystemPackage WindowsSyscallAdapters.swift
[125/174] Compiling SystemPackage MachPort.swift
[126/174] Compiling SystemPackage PlatformString.swift
[127/175] Wrapping AST for SwiftSyntax600 for debugging
[128/175] Wrapping AST for SwiftSyntax510 for debugging
[130/175] Wrapping AST for SwiftSyntax509 for debugging
[133/301] Wrapping AST for SystemPackage for debugging
[135/320] Compiling SwiftSyntax TokenDiagnostic.swift
[136/320] Compiling SwiftSyntax TokenSequence.swift
[137/320] Compiling SwiftSyntax TokenSyntax.swift
[138/320] Compiling SwiftSyntax Trivia.swift
[139/320] Compiling SwiftSyntax SyntaxNodeStructure.swift
[140/320] Compiling SwiftSyntax SyntaxProtocol.swift
[141/320] Compiling SwiftSyntax SyntaxText.swift
[142/320] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[143/320] Compiling SwiftSyntax Utils.swift
[144/320] Compiling SwiftSyntax SourceLength.swift
[145/320] Compiling SwiftSyntax SourceLocation.swift
[146/320] Compiling SwiftSyntax SourcePresence.swift
[147/320] Compiling SystemIO SystemProcess.Stream.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:14:12: error: cannot find type 'pid_t' in scope
 12 |     let invocation:[String]
 13 |     public
 14 |     let id:pid_t
    |            `- error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:17:34: error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
 17 |     init(invocation:[String], id:pid_t)
    |                                  `- error: cannot find type 'pid_t' in scope
 18 |     {
 19 |         self.invocation = invocation
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:20:14: error: property 'id' requires that 'SystemProcess' be a class type
 18 |     {
 19 |         self.invocation = invocation
 20 |         self.id = id
    |              `- error: property 'id' requires that 'SystemProcess' be a class type
 21 |     }
 22 | }
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/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:108:13: error: cannot find 'posix_spawn_file_actions_init' in scope
106 |         do
107 |         {
108 |             posix_spawn_file_actions_init(&actions)
    |             `- error: cannot find 'posix_spawn_file_actions_init' in scope
109 |         }
110 |         defer
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:108:44: error: cannot find 'actions' in scope
106 |         do
107 |         {
108 |             posix_spawn_file_actions_init(&actions)
    |                                            `- error: cannot find 'actions' in scope
109 |         }
110 |         defer
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:112:13: error: cannot find 'posix_spawn_file_actions_destroy' in scope
110 |         defer
111 |         {
112 |             posix_spawn_file_actions_destroy(&actions)
    |             `- error: cannot find 'posix_spawn_file_actions_destroy' in scope
113 |         }
114 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:112:47: error: cannot find 'actions' in scope
110 |         defer
111 |         {
112 |             posix_spawn_file_actions_destroy(&actions)
    |                                               `- error: cannot find 'actions' in scope
113 |         }
114 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:117:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
115 |         if  let stdout:FileDescriptor
116 |         {
117 |             posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
118 |         }
119 |         if  let stderr:FileDescriptor
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:117:47: error: cannot find 'actions' in scope
115 |         if  let stdout:FileDescriptor
116 |         {
117 |             posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
    |                                               `- error: cannot find 'actions' in scope
118 |         }
119 |         if  let stderr:FileDescriptor
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:121:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
119 |         if  let stderr:FileDescriptor
120 |         {
121 |             posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
122 |         }
123 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:121:47: error: cannot find 'actions' in scope
119 |         if  let stderr:FileDescriptor
120 |         {
121 |             posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
    |                                               `- error: cannot find 'actions' in scope
122 |         }
123 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:126:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
124 |         for stream:SystemProcess.Stream in streams
125 |         {
126 |             posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
127 |         }
128 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:126:47: error: cannot find 'actions' in scope
124 |         for stream:SystemProcess.Stream in streams
125 |         {
126 |             posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
    |                                               `- error: cannot find 'actions' in scope
127 |         }
128 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:129:21: error: cannot find type 'pid_t' in scope
127 |         }
128 |
129 |         var process:pid_t = 0
    |                     `- error: cannot find type 'pid_t' in scope
130 |         let status:Int32 = environment.withUnsafePointers
131 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:134:17: error: cannot find 'posix_spawnp' in scope
132 |             if  let command:String
133 |             {
134 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                 `- error: cannot find 'posix_spawnp' in scope
135 |             }
136 |             else
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:134:50: error: cannot find 'actions' in scope
132 |             if  let command:String
133 |             {
134 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                                                  `- error: cannot find 'actions' in scope
135 |             }
136 |             else
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:138:17: error: cannot find 'posix_spawn' in scope
136 |             else
137 |             {
138 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
    |                 `- error: cannot find 'posix_spawn' in scope
139 |             }
140 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:138:55: error: cannot find 'actions' in scope
136 |             else
137 |             {
138 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
    |                                                       `- error: cannot find 'actions' in scope
139 |             }
140 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:134:59: error: 'nil' requires a contextual type
132 |             if  let command:String
133 |             {
134 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                                                           `- error: 'nil' requires a contextual type
135 |             }
136 |             else
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:146:47: error: extra argument 'id' in call
144 |         }
145 |
146 |         self.init(invocation: invocation, id: process)
    |                                               `- error: extra argument 'id' in call
147 |     }
148 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:146:19: error: missing argument for parameter 'command' in call
 38 | {
 39 |     public
 40 |     init(command:String?,
    |     `- note: 'init(command:_:stdout:stderr:duping:echo:with:)' declared here
 41 |         _ arguments:String?...,
 42 |         stdout:FileDescriptor? = nil,
    :
144 |         }
145 |
146 |         self.init(invocation: invocation, id: process)
    |                   `- error: missing argument for parameter 'command' in call
147 |     }
148 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:146:31: error: cannot convert value of type '[String]' to expected argument type 'String'
144 |         }
145 |
146 |         self.init(invocation: invocation, id: process)
    |                               `- error: cannot convert value of type '[String]' to expected argument type 'String'
147 |     }
148 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:154:16: error: cannot find 'waitpid' in scope
152 |         var status:Int32 = 0
153 |
154 |         switch waitpid(self.id, &status, 0)
    |                `- error: cannot find 'waitpid' in scope
155 |         {
156 |         case self.id:       break
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:154:29: error: property 'id' requires that 'SystemProcess' be a class type
152 |         var status:Int32 = 0
153 |
154 |         switch waitpid(self.id, &status, 0)
    |                             `- error: property 'id' requires that 'SystemProcess' be a class type
155 |         {
156 |         case self.id:       break
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/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:156:19: error: property 'id' requires that 'SystemProcess' be a class type
154 |         switch waitpid(self.id, &status, 0)
155 |         {
156 |         case self.id:       break
    |                   `- error: property 'id' requires that 'SystemProcess' be a class type
157 |         case let status:    return .failure(.wait(status, self.invocation))
158 |         }
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 | }
[148/320] Compiling SystemIO SystemProcess.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:14:12: error: cannot find type 'pid_t' in scope
 12 |     let invocation:[String]
 13 |     public
 14 |     let id:pid_t
    |            `- error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:17:34: error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
 17 |     init(invocation:[String], id:pid_t)
    |                                  `- error: cannot find type 'pid_t' in scope
 18 |     {
 19 |         self.invocation = invocation
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:20:14: error: property 'id' requires that 'SystemProcess' be a class type
 18 |     {
 19 |         self.invocation = invocation
 20 |         self.id = id
    |              `- error: property 'id' requires that 'SystemProcess' be a class type
 21 |     }
 22 | }
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/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:108:13: error: cannot find 'posix_spawn_file_actions_init' in scope
106 |         do
107 |         {
108 |             posix_spawn_file_actions_init(&actions)
    |             `- error: cannot find 'posix_spawn_file_actions_init' in scope
109 |         }
110 |         defer
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:108:44: error: cannot find 'actions' in scope
106 |         do
107 |         {
108 |             posix_spawn_file_actions_init(&actions)
    |                                            `- error: cannot find 'actions' in scope
109 |         }
110 |         defer
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:112:13: error: cannot find 'posix_spawn_file_actions_destroy' in scope
110 |         defer
111 |         {
112 |             posix_spawn_file_actions_destroy(&actions)
    |             `- error: cannot find 'posix_spawn_file_actions_destroy' in scope
113 |         }
114 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:112:47: error: cannot find 'actions' in scope
110 |         defer
111 |         {
112 |             posix_spawn_file_actions_destroy(&actions)
    |                                               `- error: cannot find 'actions' in scope
113 |         }
114 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:117:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
115 |         if  let stdout:FileDescriptor
116 |         {
117 |             posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
118 |         }
119 |         if  let stderr:FileDescriptor
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:117:47: error: cannot find 'actions' in scope
115 |         if  let stdout:FileDescriptor
116 |         {
117 |             posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
    |                                               `- error: cannot find 'actions' in scope
118 |         }
119 |         if  let stderr:FileDescriptor
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:121:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
119 |         if  let stderr:FileDescriptor
120 |         {
121 |             posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
122 |         }
123 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:121:47: error: cannot find 'actions' in scope
119 |         if  let stderr:FileDescriptor
120 |         {
121 |             posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
    |                                               `- error: cannot find 'actions' in scope
122 |         }
123 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:126:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
124 |         for stream:SystemProcess.Stream in streams
125 |         {
126 |             posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
127 |         }
128 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:126:47: error: cannot find 'actions' in scope
124 |         for stream:SystemProcess.Stream in streams
125 |         {
126 |             posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
    |                                               `- error: cannot find 'actions' in scope
127 |         }
128 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:129:21: error: cannot find type 'pid_t' in scope
127 |         }
128 |
129 |         var process:pid_t = 0
    |                     `- error: cannot find type 'pid_t' in scope
130 |         let status:Int32 = environment.withUnsafePointers
131 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:134:17: error: cannot find 'posix_spawnp' in scope
132 |             if  let command:String
133 |             {
134 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                 `- error: cannot find 'posix_spawnp' in scope
135 |             }
136 |             else
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:134:50: error: cannot find 'actions' in scope
132 |             if  let command:String
133 |             {
134 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                                                  `- error: cannot find 'actions' in scope
135 |             }
136 |             else
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:138:17: error: cannot find 'posix_spawn' in scope
136 |             else
137 |             {
138 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
    |                 `- error: cannot find 'posix_spawn' in scope
139 |             }
140 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:138:55: error: cannot find 'actions' in scope
136 |             else
137 |             {
138 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
    |                                                       `- error: cannot find 'actions' in scope
139 |             }
140 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:134:59: error: 'nil' requires a contextual type
132 |             if  let command:String
133 |             {
134 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                                                           `- error: 'nil' requires a contextual type
135 |             }
136 |             else
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:146:47: error: extra argument 'id' in call
144 |         }
145 |
146 |         self.init(invocation: invocation, id: process)
    |                                               `- error: extra argument 'id' in call
147 |     }
148 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:146:19: error: missing argument for parameter 'command' in call
 38 | {
 39 |     public
 40 |     init(command:String?,
    |     `- note: 'init(command:_:stdout:stderr:duping:echo:with:)' declared here
 41 |         _ arguments:String?...,
 42 |         stdout:FileDescriptor? = nil,
    :
144 |         }
145 |
146 |         self.init(invocation: invocation, id: process)
    |                   `- error: missing argument for parameter 'command' in call
147 |     }
148 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:146:31: error: cannot convert value of type '[String]' to expected argument type 'String'
144 |         }
145 |
146 |         self.init(invocation: invocation, id: process)
    |                               `- error: cannot convert value of type '[String]' to expected argument type 'String'
147 |     }
148 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:154:16: error: cannot find 'waitpid' in scope
152 |         var status:Int32 = 0
153 |
154 |         switch waitpid(self.id, &status, 0)
    |                `- error: cannot find 'waitpid' in scope
155 |         {
156 |         case self.id:       break
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:154:29: error: property 'id' requires that 'SystemProcess' be a class type
152 |         var status:Int32 = 0
153 |
154 |         switch waitpid(self.id, &status, 0)
    |                             `- error: property 'id' requires that 'SystemProcess' be a class type
155 |         {
156 |         case self.id:       break
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/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:156:19: error: property 'id' requires that 'SystemProcess' be a class type
154 |         switch waitpid(self.id, &status, 0)
155 |         {
156 |         case self.id:       break
    |                   `- error: property 'id' requires that 'SystemProcess' be a class type
157 |         case let status:    return .failure(.wait(status, self.invocation))
158 |         }
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 | }
[149/320] Compiling SystemIO SystemProcess.Environment.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:14:12: error: cannot find type 'pid_t' in scope
 12 |     let invocation:[String]
 13 |     public
 14 |     let id:pid_t
    |            `- error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.Environment.swift:53:49: error: cannot find 'environ' in scope
51 |             else
52 |             {
53 |                 return try yield(self.inherit ? environ : nil)
   |                                                 `- error: cannot find 'environ' in scope
54 |             }
55 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.Environment.swift:57:29: error: cannot find 'environ' in scope
55 |
56 |             var inherited:Int = 0
57 |             while case _? = environ[inherited]
   |                             `- error: cannot find 'environ' in scope
58 |             {
59 |                 inherited += 1
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.Environment.swift:67:53: error: cannot find 'environ' in scope
65 |                 for i:Int in 0 ..< inherited
66 |                 {
67 |                     $0.initializeElement(at: i, to: environ[i])
   |                                                     `- error: cannot find 'environ' in scope
68 |                 }
69 |                 var i:Int = inherited
[150/320] Compiling SystemIO SystemProcess.EnvironmentEncoder.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:14:12: error: cannot find type 'pid_t' in scope
 12 |     let invocation:[String]
 13 |     public
 14 |     let id:pid_t
    |            `- error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.Environment.swift:53:49: error: cannot find 'environ' in scope
51 |             else
52 |             {
53 |                 return try yield(self.inherit ? environ : nil)
   |                                                 `- error: cannot find 'environ' in scope
54 |             }
55 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.Environment.swift:57:29: error: cannot find 'environ' in scope
55 |
56 |             var inherited:Int = 0
57 |             while case _? = environ[inherited]
   |                             `- error: cannot find 'environ' in scope
58 |             {
59 |                 inherited += 1
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.Environment.swift:67:53: error: cannot find 'environ' in scope
65 |                 for i:Int in 0 ..< inherited
66 |                 {
67 |                     $0.initializeElement(at: i, to: environ[i])
   |                                                     `- error: cannot find 'environ' in scope
68 |                 }
69 |                 var i:Int = inherited
[151/322] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[152/322] Compiling SwiftSyntax Syntax.swift
[153/322] Compiling SwiftSyntax SyntaxChildren.swift
[154/322] Compiling SwiftSyntax SyntaxCollection.swift
[155/323] Compiling SystemIO SystemProcessError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[156/323] Compiling SystemIO lexemes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[157/323] Wrapping AST for SystemPackage for debugging
[159/342] Compiling SystemIO SystemProcess.Environment.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[160/342] Compiling SystemIO SystemProcess.EnvironmentEncoder.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[161/344] Compiling SystemIO FileReadError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[162/344] Compiling SystemIO FileSeekError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[163/344] Compiling SystemIO FileStatus.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[164/344] Compiling SystemIO FileSystemStats.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[165/344] Compiling SystemIO FileType.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[166/344] Compiling SystemIO SystemProcess.Stream.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[167/344] Compiling SystemIO SystemProcess.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[168/344] Compiling SystemIO FilePath.Directory.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[169/344] Compiling SystemIO FilePath.DirectoryIterator.Stream.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[170/344] Compiling SystemIO FilePath.DirectoryIterator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[171/344] Compiling SystemIO SystemProcessError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[172/344] Compiling SystemIO lexemes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[173/344] Compiling SystemIO FileDescriptor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[174/344] Compiling SystemIO FileError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[175/344] Compiling SystemIO FilePath (ext).swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[176/344] Emitting module SystemIO
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:20:30: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 18 |     {
 19 |         case unopened(FilePath)
 20 |         case opened(FilePath.DirectoryPointer?)
    |                              `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 21 |     }
 22 | }
/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:26:36: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 24 | {
 25 |     private mutating
 26 |     func open() throws -> FilePath.DirectoryPointer?
    |                                    `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 27 |     {
 28 |         switch self
/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/.build/checkouts/swift-io/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-io/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/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:15:15: error: cannot find type 'stat' in scope
13 | {
14 |     @usableFromInline
15 |     let value:stat
   |               `- error: cannot find type 'stat' in scope
16 |
17 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:18:16: error: cannot find type 'stat' in scope
16 |
17 |     private
18 |     init(value:stat)
   |                `- error: cannot find type 'stat' in scope
19 |     {
20 |         self.value = value
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:28:30: error: cannot find 'S_IFMT' in scope
26 |     func `is`(_ type:FileType) -> Bool
27 |     {
28 |         self.value.st_mode & S_IFMT == type.mask
   |                              `- error: cannot find 'S_IFMT' in scope
29 |     }
30 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:14: error: cannot find type 'mode_t' in scope
21 | {
22 |     @inlinable
23 |     var mask:mode_t
   |              `- error: cannot find type 'mode_t' in scope
24 |     {
25 |         switch self
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:14:12: error: cannot find type 'pid_t' in scope
 12 |     let invocation:[String]
 13 |     public
 14 |     let id:pid_t
    |            `- error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:17:34: error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
 17 |     init(invocation:[String], id:pid_t)
    |                                  `- error: cannot find type 'pid_t' in scope
 18 |     {
 19 |         self.invocation = invocation
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[180/344] Compiling SystemIO FilePath.DirectoryPointer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[181/344] Compiling SystemIO FilePermissions (ext).swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[182/344] Compiling SystemIO FilePermissions.Component.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[183/344] Emitting module SystemIO
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[184/345] Wrapping AST for SystemIO for debugging
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[204/361] Emitting module SwiftSyntax
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:15:15: error: cannot find type 'stat' in scope
13 | {
14 |     @usableFromInline
15 |     let value:stat
   |               `- error: cannot find type 'stat' in scope
16 |
17 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:18:16: error: cannot find type 'stat' in scope
16 |
17 |     private
18 |     init(value:stat)
   |                `- error: cannot find type 'stat' in scope
19 |     {
20 |         self.value = value
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:28:30: error: cannot find 'S_IFMT' in scope
26 |     func `is`(_ type:FileType) -> Bool
27 |     {
28 |         self.value.st_mode & S_IFMT == type.mask
   |                              `- error: cannot find 'S_IFMT' in scope
29 |     }
30 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:14: error: cannot find type 'mode_t' in scope
21 | {
22 |     @inlinable
23 |     var mask:mode_t
   |              `- error: cannot find type 'mode_t' in scope
24 |     {
25 |         switch self
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:39:20: error: cannot find 'stat' in scope
37 |         {
38 |             var value:stat = .init()
39 |             switch stat($0, &value)
   |                    `- error: cannot find 'stat' in scope
40 |             {
41 |             case 0: return .init(value: value)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:42:48: error: cannot find 'errno' in scope
40 |             {
41 |             case 0: return .init(value: value)
42 |             case _: throw Errno.init(rawValue: errno)
   |                                                `- error: cannot find 'errno' in scope
43 |             }
44 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:38:23: error: cannot find type 'stat' in scope
36 |         try path.withPlatformString
37 |         {
38 |             var value:stat = .init()
   |                       `- error: cannot find type 'stat' in scope
39 |             switch stat($0, &value)
40 |             {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:36:18: error: type of expression is ambiguous without a type annotation
34 |     func status(of path:FilePath) throws -> Self
35 |     {
36 |         try path.withPlatformString
   |                  `- error: type of expression is ambiguous without a type annotation
37 |         {
38 |             var value:stat = .init()
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:49:19: error: cannot find type 'stat' in scope
47 |     func status(of file:FileDescriptor) throws -> Self
48 |     {
49 |         var value:stat = .init()
   |                   `- error: cannot find type 'stat' in scope
50 |         switch fstat(file.rawValue, &value)
51 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:50:16: error: cannot find 'fstat' in scope
48 |     {
49 |         var value:stat = .init()
50 |         switch fstat(file.rawValue, &value)
   |                `- error: cannot find 'fstat' in scope
51 |         {
52 |         case 0: return .init(value: value)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:53:44: error: cannot find 'errno' in scope
51 |         {
52 |         case 0: return .init(value: value)
53 |         case _: throw Errno.init(rawValue: errno)
   |                                            `- error: cannot find 'errno' in scope
54 |         }
55 |     }
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:15:15: error: cannot find type 'stat' in scope
13 | {
14 |     @usableFromInline
15 |     let value:stat
   |               `- error: cannot find type 'stat' in scope
16 |
17 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:18:16: error: cannot find type 'stat' in scope
16 |
17 |     private
18 |     init(value:stat)
   |                `- error: cannot find type 'stat' in scope
19 |     {
20 |         self.value = value
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:28:30: error: cannot find 'S_IFMT' in scope
26 |     func `is`(_ type:FileType) -> Bool
27 |     {
28 |         self.value.st_mode & S_IFMT == type.mask
   |                              `- error: cannot find 'S_IFMT' in scope
29 |     }
30 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:14: error: cannot find type 'mode_t' in scope
21 | {
22 |     @inlinable
23 |     var mask:mode_t
   |              `- error: cannot find type 'mode_t' in scope
24 |     {
25 |         switch self
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:39:20: error: cannot find 'stat' in scope
37 |         {
38 |             var value:stat = .init()
39 |             switch stat($0, &value)
   |                    `- error: cannot find 'stat' in scope
40 |             {
41 |             case 0: return .init(value: value)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:42:48: error: cannot find 'errno' in scope
40 |             {
41 |             case 0: return .init(value: value)
42 |             case _: throw Errno.init(rawValue: errno)
   |                                                `- error: cannot find 'errno' in scope
43 |             }
44 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:38:23: error: cannot find type 'stat' in scope
36 |         try path.withPlatformString
37 |         {
38 |             var value:stat = .init()
   |                       `- error: cannot find type 'stat' in scope
39 |             switch stat($0, &value)
40 |             {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:36:18: error: type of expression is ambiguous without a type annotation
34 |     func status(of path:FilePath) throws -> Self
35 |     {
36 |         try path.withPlatformString
   |                  `- error: type of expression is ambiguous without a type annotation
37 |         {
38 |             var value:stat = .init()
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:49:19: error: cannot find type 'stat' in scope
47 |     func status(of file:FileDescriptor) throws -> Self
48 |     {
49 |         var value:stat = .init()
   |                   `- error: cannot find type 'stat' in scope
50 |         switch fstat(file.rawValue, &value)
51 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:50:16: error: cannot find 'fstat' in scope
48 |     {
49 |         var value:stat = .init()
50 |         switch fstat(file.rawValue, &value)
   |                `- error: cannot find 'fstat' in scope
51 |         {
52 |         case 0: return .init(value: value)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:53:44: error: cannot find 'errno' in scope
51 |         {
52 |         case 0: return .init(value: value)
53 |         case _: throw Errno.init(rawValue: errno)
   |                                            `- error: cannot find 'errno' in scope
54 |         }
55 |     }
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:15:15: error: cannot find type 'stat' in scope
13 | {
14 |     @usableFromInline
15 |     let value:stat
   |               `- error: cannot find type 'stat' in scope
16 |
17 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:18:16: error: cannot find type 'stat' in scope
16 |
17 |     private
18 |     init(value:stat)
   |                `- error: cannot find type 'stat' in scope
19 |     {
20 |         self.value = value
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:28:30: error: cannot find 'S_IFMT' in scope
26 |     func `is`(_ type:FileType) -> Bool
27 |     {
28 |         self.value.st_mode & S_IFMT == type.mask
   |                              `- error: cannot find 'S_IFMT' in scope
29 |     }
30 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:14: error: cannot find type 'mode_t' in scope
21 | {
22 |     @inlinable
23 |     var mask:mode_t
   |              `- error: cannot find type 'mode_t' in scope
24 |     {
25 |         switch self
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:39:20: error: cannot find 'stat' in scope
37 |         {
38 |             var value:stat = .init()
39 |             switch stat($0, &value)
   |                    `- error: cannot find 'stat' in scope
40 |             {
41 |             case 0: return .init(value: value)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:42:48: error: cannot find 'errno' in scope
40 |             {
41 |             case 0: return .init(value: value)
42 |             case _: throw Errno.init(rawValue: errno)
   |                                                `- error: cannot find 'errno' in scope
43 |             }
44 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:38:23: error: cannot find type 'stat' in scope
36 |         try path.withPlatformString
37 |         {
38 |             var value:stat = .init()
   |                       `- error: cannot find type 'stat' in scope
39 |             switch stat($0, &value)
40 |             {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:36:18: error: type of expression is ambiguous without a type annotation
34 |     func status(of path:FilePath) throws -> Self
35 |     {
36 |         try path.withPlatformString
   |                  `- error: type of expression is ambiguous without a type annotation
37 |         {
38 |             var value:stat = .init()
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:49:19: error: cannot find type 'stat' in scope
47 |     func status(of file:FileDescriptor) throws -> Self
48 |     {
49 |         var value:stat = .init()
   |                   `- error: cannot find type 'stat' in scope
50 |         switch fstat(file.rawValue, &value)
51 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:50:16: error: cannot find 'fstat' in scope
48 |     {
49 |         var value:stat = .init()
50 |         switch fstat(file.rawValue, &value)
   |                `- error: cannot find 'fstat' in scope
51 |         {
52 |         case 0: return .init(value: value)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:53:44: error: cannot find 'errno' in scope
51 |         {
52 |         case 0: return .init(value: value)
53 |         case _: throw Errno.init(rawValue: errno)
   |                                            `- error: cannot find 'errno' in scope
54 |         }
55 |     }
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/swift-io/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 |
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/swift-io/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 |
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/swift-io/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 |
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:40:50: error: cannot find 'getcwd' in scope
 38 |     {
 39 |         guard
 40 |         let buffer:UnsafeMutablePointer<CChar> = getcwd(nil, 0)
    |                                                  `- error: cannot find 'getcwd' in scope
 41 |         else
 42 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:40:57: error: 'nil' requires a contextual type
 38 |     {
 39 |         guard
 40 |         let buffer:UnsafeMutablePointer<CChar> = getcwd(nil, 0)
    |                                                         `- error: 'nil' requires a contextual type
 41 |         else
 42 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:47:13: error: cannot find 'free' in scope
 45 |         defer
 46 |         {
 47 |             free(buffer)
    |             `- error: cannot find 'free' in scope
 48 |         }
 49 |
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:20:30: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 18 |     {
 19 |         case unopened(FilePath)
 20 |         case opened(FilePath.DirectoryPointer?)
    |                              `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 21 |     }
 22 | }
/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:26:36: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 24 | {
 25 |     private mutating
 26 |     func open() throws -> FilePath.DirectoryPointer?
    |                                    `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 27 |     {
 28 |         switch self
/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:31:34: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 29 |         {
 30 |         case .unopened(let path):
 31 |             let pointer:FilePath.DirectoryPointer? = try path.withPlatformString
    |                                  `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 32 |             {
 33 |                 if  let pointer:FilePath.DirectoryPointer = opendir($0)
/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:56:35: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 54 |     func next() throws -> FilePath.Component?
 55 |     {
 56 |         guard let stream:FilePath.DirectoryPointer = try self.open()
    |                                   `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 57 |         else
 58 |         {
/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:56:63: error: type of expression is ambiguous without a type annotation
 54 |     func next() throws -> FilePath.Component?
 55 |     {
 56 |         guard let stream:FilePath.DirectoryPointer = try self.open()
    |                                                               `- error: type of expression is ambiguous without a type annotation
 57 |         else
 58 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:62:45: error: cannot find type 'dirent' in scope
 60 |         }
 61 |
 62 |         guard let offset:Int = MemoryLayout<dirent>.offset(of: \.d_name)
    |                                             `- error: cannot find type 'dirent' in scope
 63 |         else
 64 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:62:64: error: cannot infer key path type from context; consider explicitly specifying a root type
 60 |         }
 61 |
 62 |         guard let offset:Int = MemoryLayout<dirent>.offset(of: \.d_name)
    |                                                                `- error: cannot infer key path type from context; consider explicitly specifying a root type
 63 |         else
 64 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:46: error: cannot find type 'dirent' in scope
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                              `- error: cannot find type 'dirent' in scope
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:56: error: cannot find 'readdir' in scope
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                                        `- error: cannot find 'readdir' in scope
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:56: error: type of expression is ambiguous without a type annotation
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                                        `- error: type of expression is ambiguous without a type annotation
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:92:9: error: cannot find 'closedir' in scope
 90 |         }
 91 |
 92 |         closedir(stream)
    |         `- error: cannot find 'closedir' in scope
 93 |         self = .opened(nil)
 94 |         return nil
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:93:24: error: 'nil' requires a contextual type
 91 |
 92 |         closedir(stream)
 93 |         self = .opened(nil)
    |                        `- error: 'nil' requires a contextual type
 94 |         return nil
 95 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:99:39: error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
 97 |     func close()
 98 |     {
 99 |         guard case .opened(let stream?) = self
    |                                       `- error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
100 |         else
101 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:99:21: error: type 'Errno' has no member 'opened'
 97 |     func close()
 98 |     {
 99 |         guard case .opened(let stream?) = self
    |                     `- error: type 'Errno' has no member 'opened'
100 |         else
101 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:105:9: error: cannot find 'closedir' in scope
103 |         }
104 |
105 |         closedir(stream)
    |         `- error: cannot find 'closedir' in scope
106 |         self = .opened(nil)
107 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:106:24: error: 'nil' requires a contextual type
104 |
105 |         closedir(stream)
106 |         self = .opened(nil)
    |                        `- error: 'nil' requires a contextual type
107 |     }
108 | }
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:40:50: error: cannot find 'getcwd' in scope
 38 |     {
 39 |         guard
 40 |         let buffer:UnsafeMutablePointer<CChar> = getcwd(nil, 0)
    |                                                  `- error: cannot find 'getcwd' in scope
 41 |         else
 42 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:40:57: error: 'nil' requires a contextual type
 38 |     {
 39 |         guard
 40 |         let buffer:UnsafeMutablePointer<CChar> = getcwd(nil, 0)
    |                                                         `- error: 'nil' requires a contextual type
 41 |         else
 42 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:47:13: error: cannot find 'free' in scope
 45 |         defer
 46 |         {
 47 |             free(buffer)
    |             `- error: cannot find 'free' in scope
 48 |         }
 49 |
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:20:30: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 18 |     {
 19 |         case unopened(FilePath)
 20 |         case opened(FilePath.DirectoryPointer?)
    |                              `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 21 |     }
 22 | }
/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:26:36: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 24 | {
 25 |     private mutating
 26 |     func open() throws -> FilePath.DirectoryPointer?
    |                                    `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 27 |     {
 28 |         switch self
/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:31:34: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 29 |         {
 30 |         case .unopened(let path):
 31 |             let pointer:FilePath.DirectoryPointer? = try path.withPlatformString
    |                                  `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 32 |             {
 33 |                 if  let pointer:FilePath.DirectoryPointer = opendir($0)
/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:56:35: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 54 |     func next() throws -> FilePath.Component?
 55 |     {
 56 |         guard let stream:FilePath.DirectoryPointer = try self.open()
    |                                   `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 57 |         else
 58 |         {
/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:56:63: error: type of expression is ambiguous without a type annotation
 54 |     func next() throws -> FilePath.Component?
 55 |     {
 56 |         guard let stream:FilePath.DirectoryPointer = try self.open()
    |                                                               `- error: type of expression is ambiguous without a type annotation
 57 |         else
 58 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:62:45: error: cannot find type 'dirent' in scope
 60 |         }
 61 |
 62 |         guard let offset:Int = MemoryLayout<dirent>.offset(of: \.d_name)
    |                                             `- error: cannot find type 'dirent' in scope
 63 |         else
 64 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:62:64: error: cannot infer key path type from context; consider explicitly specifying a root type
 60 |         }
 61 |
 62 |         guard let offset:Int = MemoryLayout<dirent>.offset(of: \.d_name)
    |                                                                `- error: cannot infer key path type from context; consider explicitly specifying a root type
 63 |         else
 64 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:46: error: cannot find type 'dirent' in scope
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                              `- error: cannot find type 'dirent' in scope
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:56: error: cannot find 'readdir' in scope
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                                        `- error: cannot find 'readdir' in scope
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:56: error: type of expression is ambiguous without a type annotation
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                                        `- error: type of expression is ambiguous without a type annotation
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:92:9: error: cannot find 'closedir' in scope
 90 |         }
 91 |
 92 |         closedir(stream)
    |         `- error: cannot find 'closedir' in scope
 93 |         self = .opened(nil)
 94 |         return nil
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:93:24: error: 'nil' requires a contextual type
 91 |
 92 |         closedir(stream)
 93 |         self = .opened(nil)
    |                        `- error: 'nil' requires a contextual type
 94 |         return nil
 95 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:99:39: error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
 97 |     func close()
 98 |     {
 99 |         guard case .opened(let stream?) = self
    |                                       `- error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
100 |         else
101 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:99:21: error: type 'Errno' has no member 'opened'
 97 |     func close()
 98 |     {
 99 |         guard case .opened(let stream?) = self
    |                     `- error: type 'Errno' has no member 'opened'
100 |         else
101 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:105:9: error: cannot find 'closedir' in scope
103 |         }
104 |
105 |         closedir(stream)
    |         `- error: cannot find 'closedir' in scope
106 |         self = .opened(nil)
107 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:106:24: error: 'nil' requires a contextual type
104 |
105 |         closedir(stream)
106 |         self = .opened(nil)
    |                        `- error: 'nil' requires a contextual type
107 |     }
108 | }
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:40:50: error: cannot find 'getcwd' in scope
 38 |     {
 39 |         guard
 40 |         let buffer:UnsafeMutablePointer<CChar> = getcwd(nil, 0)
    |                                                  `- error: cannot find 'getcwd' in scope
 41 |         else
 42 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:40:57: error: 'nil' requires a contextual type
 38 |     {
 39 |         guard
 40 |         let buffer:UnsafeMutablePointer<CChar> = getcwd(nil, 0)
    |                                                         `- error: 'nil' requires a contextual type
 41 |         else
 42 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:47:13: error: cannot find 'free' in scope
 45 |         defer
 46 |         {
 47 |             free(buffer)
    |             `- error: cannot find 'free' in scope
 48 |         }
 49 |
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:20:30: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 18 |     {
 19 |         case unopened(FilePath)
 20 |         case opened(FilePath.DirectoryPointer?)
    |                              `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 21 |     }
 22 | }
/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:26:36: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 24 | {
 25 |     private mutating
 26 |     func open() throws -> FilePath.DirectoryPointer?
    |                                    `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 27 |     {
 28 |         switch self
/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:31:34: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 29 |         {
 30 |         case .unopened(let path):
 31 |             let pointer:FilePath.DirectoryPointer? = try path.withPlatformString
    |                                  `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 32 |             {
 33 |                 if  let pointer:FilePath.DirectoryPointer = opendir($0)
/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:56:35: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 54 |     func next() throws -> FilePath.Component?
 55 |     {
 56 |         guard let stream:FilePath.DirectoryPointer = try self.open()
    |                                   `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 57 |         else
 58 |         {
/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:56:63: error: type of expression is ambiguous without a type annotation
 54 |     func next() throws -> FilePath.Component?
 55 |     {
 56 |         guard let stream:FilePath.DirectoryPointer = try self.open()
    |                                                               `- error: type of expression is ambiguous without a type annotation
 57 |         else
 58 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:62:45: error: cannot find type 'dirent' in scope
 60 |         }
 61 |
 62 |         guard let offset:Int = MemoryLayout<dirent>.offset(of: \.d_name)
    |                                             `- error: cannot find type 'dirent' in scope
 63 |         else
 64 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:62:64: error: cannot infer key path type from context; consider explicitly specifying a root type
 60 |         }
 61 |
 62 |         guard let offset:Int = MemoryLayout<dirent>.offset(of: \.d_name)
    |                                                                `- error: cannot infer key path type from context; consider explicitly specifying a root type
 63 |         else
 64 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:46: error: cannot find type 'dirent' in scope
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                              `- error: cannot find type 'dirent' in scope
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:56: error: cannot find 'readdir' in scope
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                                        `- error: cannot find 'readdir' in scope
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:56: error: type of expression is ambiguous without a type annotation
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                                        `- error: type of expression is ambiguous without a type annotation
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:92:9: error: cannot find 'closedir' in scope
 90 |         }
 91 |
 92 |         closedir(stream)
    |         `- error: cannot find 'closedir' in scope
 93 |         self = .opened(nil)
 94 |         return nil
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:93:24: error: 'nil' requires a contextual type
 91 |
 92 |         closedir(stream)
 93 |         self = .opened(nil)
    |                        `- error: 'nil' requires a contextual type
 94 |         return nil
 95 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:99:39: error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
 97 |     func close()
 98 |     {
 99 |         guard case .opened(let stream?) = self
    |                                       `- error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
100 |         else
101 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:99:21: error: type 'Errno' has no member 'opened'
 97 |     func close()
 98 |     {
 99 |         guard case .opened(let stream?) = self
    |                     `- error: type 'Errno' has no member 'opened'
100 |         else
101 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:105:9: error: cannot find 'closedir' in scope
103 |         }
104 |
105 |         closedir(stream)
    |         `- error: cannot find 'closedir' in scope
106 |         self = .opened(nil)
107 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:106:24: error: 'nil' requires a contextual type
104 |
105 |         closedir(stream)
106 |         self = .opened(nil)
    |                        `- error: 'nil' requires a contextual type
107 |     }
108 | }
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:71:19: error: cannot find type 'statvfs' in scope
69 |     func containing(path:FilePath) throws -> Self
70 |     {
71 |         let stats:statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1)
   |                   `- error: cannot find type 'statvfs' in scope
72 |         {
73 |             guard case 0 = statvfs(path.string, &$0[0])
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:82:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
80 |         }
81 |         //  Explicit `UInt32 -> UInt` conversion needed on Darwin.
82 |         return .init(id: UInt.init(stats.f_fsid),
   |                `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
83 |             fragmentCount: UInt.init(stats.f_blocks),
84 |             fragmentSize: UInt.init(stats.f_frsize),
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:14: error: cannot find type 'mode_t' in scope
21 | {
22 |     @inlinable
23 |     var mask:mode_t
   |              `- error: cannot find type 'mode_t' in scope
24 |     {
25 |         switch self
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:71:19: error: cannot find type 'statvfs' in scope
69 |     func containing(path:FilePath) throws -> Self
70 |     {
71 |         let stats:statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1)
   |                   `- error: cannot find type 'statvfs' in scope
72 |         {
73 |             guard case 0 = statvfs(path.string, &$0[0])
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:82:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
80 |         }
81 |         //  Explicit `UInt32 -> UInt` conversion needed on Darwin.
82 |         return .init(id: UInt.init(stats.f_fsid),
   |                `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
83 |             fragmentCount: UInt.init(stats.f_blocks),
84 |             fragmentSize: UInt.init(stats.f_frsize),
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:14: error: cannot find type 'mode_t' in scope
21 | {
22 |     @inlinable
23 |     var mask:mode_t
   |              `- error: cannot find type 'mode_t' in scope
24 |     {
25 |         switch self
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 DollupPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/40] Write swift-version-24593BA9C3E375BF.txt
[5/62] Emitting module SwiftSyntax600
[6/83] Compiling SwiftSyntax601 Empty.swift
[7/83] Compiling SwiftSyntax602 Empty.swift
[8/83] Emitting module SwiftSyntax601
[9/115] Compiling SwiftSyntax602 Empty.swift
[10/115] Compiling SwiftSyntax600 Empty.swift
[11/116] Emitting module SwiftSyntax602
[12/117] Emitting module SwiftSyntax600
[13/117] Emitting module SwiftSyntax602
[14/117] Compiling SwiftSyntax600 Empty.swift
[15/119] Compiling SwiftSyntax601 Empty.swift
[16/119] Emitting module SwiftSyntax601
[23/114] Compiling SystemPackage IORing.swift
[24/114] Compiling SystemPackage RawIORequest.swift
[25/114] Compiling SystemPackage Backcompat.swift
[26/114] Compiling SystemPackage CInterop.swift
[27/126] Compiling SystemPackage Syscalls.swift
[28/126] Compiling SystemPackage WindowsSyscallAdapters.swift
[29/126] Compiling SystemPackage MachPort.swift
[30/126] Compiling SystemPackage PlatformString.swift
[35/130] Compiling SwiftSyntax510 Empty.swift
[36/130] Compiling SwiftSyntax509 Empty.swift
[37/130] Emitting module SwiftSyntax510
[38/131] Emitting module SwiftSyntax509
[39/132] Emitting module SwiftSyntax510
[40/132] Compiling SwiftSyntax510 Empty.swift
[41/133] Emitting module SwiftSyntax509
[42/133] Compiling SwiftSyntax509 Empty.swift
[47/130] Emitting module SystemPackage
[49/256] Compiling SwiftSyntax SyntaxNodeStructure.swift
[50/256] Compiling SwiftSyntax SyntaxProtocol.swift
[51/256] Compiling SwiftSyntax SyntaxText.swift
[52/256] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[53/256] Compiling SwiftSyntax TokenDiagnostic.swift
[54/256] Compiling SwiftSyntax TokenSequence.swift
[55/256] Compiling SwiftSyntax TokenSyntax.swift
[56/256] Compiling SwiftSyntax Trivia.swift
[57/256] Compiling SwiftSyntax AbsolutePosition.swift
[58/256] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[59/256] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[60/256] Compiling SwiftSyntax Assert.swift
[61/256] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[62/256] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[63/256] Compiling SwiftSyntax RawSyntaxTokenView.swift
[64/256] Compiling SwiftSyntax SourceEdit.swift
[77/256] Compiling SwiftSyntax BumpPtrAllocator.swift
[78/256] Compiling SwiftSyntax CommonAncestor.swift
[79/256] Compiling SwiftSyntax Convenience.swift
[80/256] Compiling SwiftSyntax CustomTraits.swift
[81/256] Compiling SwiftSyntax EditorPlaceholder.swift
[82/256] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[83/256] Compiling SwiftSyntax Syntax.swift
[84/256] Compiling SwiftSyntax SyntaxChildren.swift
[85/256] Compiling SwiftSyntax SyntaxCollection.swift
[90/256] Compiling SwiftSyntax Identifier.swift
[91/256] Compiling SwiftSyntax MemoryLayout.swift
[92/256] Compiling SwiftSyntax MissingNodeInitializers.swift
[93/256] Compiling SwiftSyntax RawSyntax.swift
[94/256] Compiling SwiftSyntax RawSyntaxArena.swift
[106/258] Wrapping AST for SystemPackage for debugging
[109/296] Compiling SystemIO SystemProcess.Environment.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:14:12: error: cannot find type 'pid_t' in scope
 12 |     let invocation:[String]
 13 |     public
 14 |     let id:pid_t
    |            `- error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.Environment.swift:53:49: error: cannot find 'environ' in scope
51 |             else
52 |             {
53 |                 return try yield(self.inherit ? environ : nil)
   |                                                 `- error: cannot find 'environ' in scope
54 |             }
55 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.Environment.swift:57:29: error: cannot find 'environ' in scope
55 |
56 |             var inherited:Int = 0
57 |             while case _? = environ[inherited]
   |                             `- error: cannot find 'environ' in scope
58 |             {
59 |                 inherited += 1
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.Environment.swift:67:53: error: cannot find 'environ' in scope
65 |                 for i:Int in 0 ..< inherited
66 |                 {
67 |                     $0.initializeElement(at: i, to: environ[i])
   |                                                     `- error: cannot find 'environ' in scope
68 |                 }
69 |                 var i:Int = inherited
[110/296] Compiling SystemIO SystemProcess.EnvironmentEncoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:14:12: error: cannot find type 'pid_t' in scope
 12 |     let invocation:[String]
 13 |     public
 14 |     let id:pid_t
    |            `- error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.Environment.swift:53:49: error: cannot find 'environ' in scope
51 |             else
52 |             {
53 |                 return try yield(self.inherit ? environ : nil)
   |                                                 `- error: cannot find 'environ' in scope
54 |             }
55 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.Environment.swift:57:29: error: cannot find 'environ' in scope
55 |
56 |             var inherited:Int = 0
57 |             while case _? = environ[inherited]
   |                             `- error: cannot find 'environ' in scope
58 |             {
59 |                 inherited += 1
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.Environment.swift:67:53: error: cannot find 'environ' in scope
65 |                 for i:Int in 0 ..< inherited
66 |                 {
67 |                     $0.initializeElement(at: i, to: environ[i])
   |                                                     `- error: cannot find 'environ' in scope
68 |                 }
69 |                 var i:Int = inherited
[111/296] Compiling SystemIO SystemProcess.Stream.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:14:12: error: cannot find type 'pid_t' in scope
 12 |     let invocation:[String]
 13 |     public
 14 |     let id:pid_t
    |            `- error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:17:34: error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
 17 |     init(invocation:[String], id:pid_t)
    |                                  `- error: cannot find type 'pid_t' in scope
 18 |     {
 19 |         self.invocation = invocation
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:20:14: error: property 'id' requires that 'SystemProcess' be a class type
 18 |     {
 19 |         self.invocation = invocation
 20 |         self.id = id
    |              `- error: property 'id' requires that 'SystemProcess' be a class type
 21 |     }
 22 | }
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/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:108:13: error: cannot find 'posix_spawn_file_actions_init' in scope
106 |         do
107 |         {
108 |             posix_spawn_file_actions_init(&actions)
    |             `- error: cannot find 'posix_spawn_file_actions_init' in scope
109 |         }
110 |         defer
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:108:44: error: cannot find 'actions' in scope
106 |         do
107 |         {
108 |             posix_spawn_file_actions_init(&actions)
    |                                            `- error: cannot find 'actions' in scope
109 |         }
110 |         defer
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:112:13: error: cannot find 'posix_spawn_file_actions_destroy' in scope
110 |         defer
111 |         {
112 |             posix_spawn_file_actions_destroy(&actions)
    |             `- error: cannot find 'posix_spawn_file_actions_destroy' in scope
113 |         }
114 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:112:47: error: cannot find 'actions' in scope
110 |         defer
111 |         {
112 |             posix_spawn_file_actions_destroy(&actions)
    |                                               `- error: cannot find 'actions' in scope
113 |         }
114 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:117:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
115 |         if  let stdout:FileDescriptor
116 |         {
117 |             posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
118 |         }
119 |         if  let stderr:FileDescriptor
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:117:47: error: cannot find 'actions' in scope
115 |         if  let stdout:FileDescriptor
116 |         {
117 |             posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
    |                                               `- error: cannot find 'actions' in scope
118 |         }
119 |         if  let stderr:FileDescriptor
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:121:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
119 |         if  let stderr:FileDescriptor
120 |         {
121 |             posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
122 |         }
123 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:121:47: error: cannot find 'actions' in scope
119 |         if  let stderr:FileDescriptor
120 |         {
121 |             posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
    |                                               `- error: cannot find 'actions' in scope
122 |         }
123 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:126:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
124 |         for stream:SystemProcess.Stream in streams
125 |         {
126 |             posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
127 |         }
128 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:126:47: error: cannot find 'actions' in scope
124 |         for stream:SystemProcess.Stream in streams
125 |         {
126 |             posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
    |                                               `- error: cannot find 'actions' in scope
127 |         }
128 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:129:21: error: cannot find type 'pid_t' in scope
127 |         }
128 |
129 |         var process:pid_t = 0
    |                     `- error: cannot find type 'pid_t' in scope
130 |         let status:Int32 = environment.withUnsafePointers
131 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:134:17: error: cannot find 'posix_spawnp' in scope
132 |             if  let command:String
133 |             {
134 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                 `- error: cannot find 'posix_spawnp' in scope
135 |             }
136 |             else
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:134:50: error: cannot find 'actions' in scope
132 |             if  let command:String
133 |             {
134 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                                                  `- error: cannot find 'actions' in scope
135 |             }
136 |             else
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:138:17: error: cannot find 'posix_spawn' in scope
136 |             else
137 |             {
138 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
    |                 `- error: cannot find 'posix_spawn' in scope
139 |             }
140 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:138:55: error: cannot find 'actions' in scope
136 |             else
137 |             {
138 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
    |                                                       `- error: cannot find 'actions' in scope
139 |             }
140 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:134:59: error: 'nil' requires a contextual type
132 |             if  let command:String
133 |             {
134 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                                                           `- error: 'nil' requires a contextual type
135 |             }
136 |             else
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:146:47: error: extra argument 'id' in call
144 |         }
145 |
146 |         self.init(invocation: invocation, id: process)
    |                                               `- error: extra argument 'id' in call
147 |     }
148 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:146:19: error: missing argument for parameter 'command' in call
 38 | {
 39 |     public
 40 |     init(command:String?,
    |     `- note: 'init(command:_:stdout:stderr:duping:echo:with:)' declared here
 41 |         _ arguments:String?...,
 42 |         stdout:FileDescriptor? = nil,
    :
144 |         }
145 |
146 |         self.init(invocation: invocation, id: process)
    |                   `- error: missing argument for parameter 'command' in call
147 |     }
148 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:146:31: error: cannot convert value of type '[String]' to expected argument type 'String'
144 |         }
145 |
146 |         self.init(invocation: invocation, id: process)
    |                               `- error: cannot convert value of type '[String]' to expected argument type 'String'
147 |     }
148 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:154:16: error: cannot find 'waitpid' in scope
152 |         var status:Int32 = 0
153 |
154 |         switch waitpid(self.id, &status, 0)
    |                `- error: cannot find 'waitpid' in scope
155 |         {
156 |         case self.id:       break
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:154:29: error: property 'id' requires that 'SystemProcess' be a class type
152 |         var status:Int32 = 0
153 |
154 |         switch waitpid(self.id, &status, 0)
    |                             `- error: property 'id' requires that 'SystemProcess' be a class type
155 |         {
156 |         case self.id:       break
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/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:156:19: error: property 'id' requires that 'SystemProcess' be a class type
154 |         switch waitpid(self.id, &status, 0)
155 |         {
156 |         case self.id:       break
    |                   `- error: property 'id' requires that 'SystemProcess' be a class type
157 |         case let status:    return .failure(.wait(status, self.invocation))
158 |         }
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 | }
[112/296] Compiling SystemIO SystemProcess.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:14:12: error: cannot find type 'pid_t' in scope
 12 |     let invocation:[String]
 13 |     public
 14 |     let id:pid_t
    |            `- error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:17:34: error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
 17 |     init(invocation:[String], id:pid_t)
    |                                  `- error: cannot find type 'pid_t' in scope
 18 |     {
 19 |         self.invocation = invocation
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:20:14: error: property 'id' requires that 'SystemProcess' be a class type
 18 |     {
 19 |         self.invocation = invocation
 20 |         self.id = id
    |              `- error: property 'id' requires that 'SystemProcess' be a class type
 21 |     }
 22 | }
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/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:108:13: error: cannot find 'posix_spawn_file_actions_init' in scope
106 |         do
107 |         {
108 |             posix_spawn_file_actions_init(&actions)
    |             `- error: cannot find 'posix_spawn_file_actions_init' in scope
109 |         }
110 |         defer
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:108:44: error: cannot find 'actions' in scope
106 |         do
107 |         {
108 |             posix_spawn_file_actions_init(&actions)
    |                                            `- error: cannot find 'actions' in scope
109 |         }
110 |         defer
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:112:13: error: cannot find 'posix_spawn_file_actions_destroy' in scope
110 |         defer
111 |         {
112 |             posix_spawn_file_actions_destroy(&actions)
    |             `- error: cannot find 'posix_spawn_file_actions_destroy' in scope
113 |         }
114 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:112:47: error: cannot find 'actions' in scope
110 |         defer
111 |         {
112 |             posix_spawn_file_actions_destroy(&actions)
    |                                               `- error: cannot find 'actions' in scope
113 |         }
114 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:117:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
115 |         if  let stdout:FileDescriptor
116 |         {
117 |             posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
118 |         }
119 |         if  let stderr:FileDescriptor
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:117:47: error: cannot find 'actions' in scope
115 |         if  let stdout:FileDescriptor
116 |         {
117 |             posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
    |                                               `- error: cannot find 'actions' in scope
118 |         }
119 |         if  let stderr:FileDescriptor
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:121:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
119 |         if  let stderr:FileDescriptor
120 |         {
121 |             posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
122 |         }
123 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:121:47: error: cannot find 'actions' in scope
119 |         if  let stderr:FileDescriptor
120 |         {
121 |             posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
    |                                               `- error: cannot find 'actions' in scope
122 |         }
123 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:126:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
124 |         for stream:SystemProcess.Stream in streams
125 |         {
126 |             posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
127 |         }
128 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:126:47: error: cannot find 'actions' in scope
124 |         for stream:SystemProcess.Stream in streams
125 |         {
126 |             posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
    |                                               `- error: cannot find 'actions' in scope
127 |         }
128 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:129:21: error: cannot find type 'pid_t' in scope
127 |         }
128 |
129 |         var process:pid_t = 0
    |                     `- error: cannot find type 'pid_t' in scope
130 |         let status:Int32 = environment.withUnsafePointers
131 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:134:17: error: cannot find 'posix_spawnp' in scope
132 |             if  let command:String
133 |             {
134 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                 `- error: cannot find 'posix_spawnp' in scope
135 |             }
136 |             else
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:134:50: error: cannot find 'actions' in scope
132 |             if  let command:String
133 |             {
134 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                                                  `- error: cannot find 'actions' in scope
135 |             }
136 |             else
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:138:17: error: cannot find 'posix_spawn' in scope
136 |             else
137 |             {
138 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
    |                 `- error: cannot find 'posix_spawn' in scope
139 |             }
140 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:138:55: error: cannot find 'actions' in scope
136 |             else
137 |             {
138 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
    |                                                       `- error: cannot find 'actions' in scope
139 |             }
140 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:134:59: error: 'nil' requires a contextual type
132 |             if  let command:String
133 |             {
134 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                                                           `- error: 'nil' requires a contextual type
135 |             }
136 |             else
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:146:47: error: extra argument 'id' in call
144 |         }
145 |
146 |         self.init(invocation: invocation, id: process)
    |                                               `- error: extra argument 'id' in call
147 |     }
148 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:146:19: error: missing argument for parameter 'command' in call
 38 | {
 39 |     public
 40 |     init(command:String?,
    |     `- note: 'init(command:_:stdout:stderr:duping:echo:with:)' declared here
 41 |         _ arguments:String?...,
 42 |         stdout:FileDescriptor? = nil,
    :
144 |         }
145 |
146 |         self.init(invocation: invocation, id: process)
    |                   `- error: missing argument for parameter 'command' in call
147 |     }
148 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:146:31: error: cannot convert value of type '[String]' to expected argument type 'String'
144 |         }
145 |
146 |         self.init(invocation: invocation, id: process)
    |                               `- error: cannot convert value of type '[String]' to expected argument type 'String'
147 |     }
148 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:154:16: error: cannot find 'waitpid' in scope
152 |         var status:Int32 = 0
153 |
154 |         switch waitpid(self.id, &status, 0)
    |                `- error: cannot find 'waitpid' in scope
155 |         {
156 |         case self.id:       break
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:154:29: error: property 'id' requires that 'SystemProcess' be a class type
152 |         var status:Int32 = 0
153 |
154 |         switch waitpid(self.id, &status, 0)
    |                             `- error: property 'id' requires that 'SystemProcess' be a class type
155 |         {
156 |         case self.id:       break
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/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:156:19: error: property 'id' requires that 'SystemProcess' be a class type
154 |         switch waitpid(self.id, &status, 0)
155 |         {
156 |         case self.id:       break
    |                   `- error: property 'id' requires that 'SystemProcess' be a class type
157 |         case let status:    return .failure(.wait(status, self.invocation))
158 |         }
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 | }
[117/298] Compiling SystemIO FileReadError.swift
[118/298] Compiling SystemIO FileSeekError.swift
[119/298] Compiling SystemIO FileStatus.swift
[120/300] Compiling SystemIO FileSystemStats.swift
[121/300] Compiling SystemIO FileType.swift
[122/300] Compiling SystemIO SystemProcessError.swift
[123/300] Compiling SystemIO lexemes.swift
[126/300] Compiling SystemIO FileDescriptor.swift
[127/300] Compiling SystemIO FileError.swift
[128/300] Compiling SystemIO FilePath (ext).swift
[129/300] Compiling SystemIO FilePath.DirectoryPointer.swift
[130/300] Compiling SystemIO FilePermissions (ext).swift
[131/300] Compiling SystemIO FilePermissions.Component.swift
[132/300] Compiling SystemIO FilePath.Directory.swift
[133/300] Compiling SystemIO FilePath.DirectoryIterator.Stream.swift
[134/300] Compiling SystemIO FilePath.DirectoryIterator.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/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-io/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-io/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-io/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:40:50: error: cannot find 'getcwd' in scope
 38 |     {
 39 |         guard
 40 |         let buffer:UnsafeMutablePointer<CChar> = getcwd(nil, 0)
    |                                                  `- error: cannot find 'getcwd' in scope
 41 |         else
 42 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:40:57: error: 'nil' requires a contextual type
 38 |     {
 39 |         guard
 40 |         let buffer:UnsafeMutablePointer<CChar> = getcwd(nil, 0)
    |                                                         `- error: 'nil' requires a contextual type
 41 |         else
 42 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:47:13: error: cannot find 'free' in scope
 45 |         defer
 46 |         {
 47 |             free(buffer)
    |             `- error: cannot find 'free' in scope
 48 |         }
 49 |
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:20:30: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 18 |     {
 19 |         case unopened(FilePath)
 20 |         case opened(FilePath.DirectoryPointer?)
    |                              `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 21 |     }
 22 | }
/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:26:36: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 24 | {
 25 |     private mutating
 26 |     func open() throws -> FilePath.DirectoryPointer?
    |                                    `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 27 |     {
 28 |         switch self
/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:31:34: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 29 |         {
 30 |         case .unopened(let path):
 31 |             let pointer:FilePath.DirectoryPointer? = try path.withPlatformString
    |                                  `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 32 |             {
 33 |                 if  let pointer:FilePath.DirectoryPointer = opendir($0)
/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:56:35: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 54 |     func next() throws -> FilePath.Component?
 55 |     {
 56 |         guard let stream:FilePath.DirectoryPointer = try self.open()
    |                                   `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 57 |         else
 58 |         {
/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:56:63: error: type of expression is ambiguous without a type annotation
 54 |     func next() throws -> FilePath.Component?
 55 |     {
 56 |         guard let stream:FilePath.DirectoryPointer = try self.open()
    |                                                               `- error: type of expression is ambiguous without a type annotation
 57 |         else
 58 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:62:45: error: cannot find type 'dirent' in scope
 60 |         }
 61 |
 62 |         guard let offset:Int = MemoryLayout<dirent>.offset(of: \.d_name)
    |                                             `- error: cannot find type 'dirent' in scope
 63 |         else
 64 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:62:64: error: cannot infer key path type from context; consider explicitly specifying a root type
 60 |         }
 61 |
 62 |         guard let offset:Int = MemoryLayout<dirent>.offset(of: \.d_name)
    |                                                                `- error: cannot infer key path type from context; consider explicitly specifying a root type
 63 |         else
 64 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:46: error: cannot find type 'dirent' in scope
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                              `- error: cannot find type 'dirent' in scope
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:56: error: cannot find 'readdir' in scope
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                                        `- error: cannot find 'readdir' in scope
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:56: error: type of expression is ambiguous without a type annotation
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                                        `- error: type of expression is ambiguous without a type annotation
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:92:9: error: cannot find 'closedir' in scope
 90 |         }
 91 |
 92 |         closedir(stream)
    |         `- error: cannot find 'closedir' in scope
 93 |         self = .opened(nil)
 94 |         return nil
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:93:24: error: 'nil' requires a contextual type
 91 |
 92 |         closedir(stream)
 93 |         self = .opened(nil)
    |                        `- error: 'nil' requires a contextual type
 94 |         return nil
 95 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:99:39: error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
 97 |     func close()
 98 |     {
 99 |         guard case .opened(let stream?) = self
    |                                       `- error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
100 |         else
101 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:99:21: error: type 'Errno' has no member 'opened'
 97 |     func close()
 98 |     {
 99 |         guard case .opened(let stream?) = self
    |                     `- error: type 'Errno' has no member 'opened'
100 |         else
101 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:105:9: error: cannot find 'closedir' in scope
103 |         }
104 |
105 |         closedir(stream)
    |         `- error: cannot find 'closedir' in scope
106 |         self = .opened(nil)
107 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:106:24: error: 'nil' requires a contextual type
104 |
105 |         closedir(stream)
106 |         self = .opened(nil)
    |                        `- error: 'nil' requires a contextual type
107 |     }
108 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:40:50: error: cannot find 'getcwd' in scope
 38 |     {
 39 |         guard
 40 |         let buffer:UnsafeMutablePointer<CChar> = getcwd(nil, 0)
    |                                                  `- error: cannot find 'getcwd' in scope
 41 |         else
 42 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:40:57: error: 'nil' requires a contextual type
 38 |     {
 39 |         guard
 40 |         let buffer:UnsafeMutablePointer<CChar> = getcwd(nil, 0)
    |                                                         `- error: 'nil' requires a contextual type
 41 |         else
 42 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:47:13: error: cannot find 'free' in scope
 45 |         defer
 46 |         {
 47 |             free(buffer)
    |             `- error: cannot find 'free' in scope
 48 |         }
 49 |
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:20:30: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 18 |     {
 19 |         case unopened(FilePath)
 20 |         case opened(FilePath.DirectoryPointer?)
    |                              `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 21 |     }
 22 | }
/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:26:36: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 24 | {
 25 |     private mutating
 26 |     func open() throws -> FilePath.DirectoryPointer?
    |                                    `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 27 |     {
 28 |         switch self
/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:31:34: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 29 |         {
 30 |         case .unopened(let path):
 31 |             let pointer:FilePath.DirectoryPointer? = try path.withPlatformString
    |                                  `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 32 |             {
 33 |                 if  let pointer:FilePath.DirectoryPointer = opendir($0)
/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:56:35: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 54 |     func next() throws -> FilePath.Component?
 55 |     {
 56 |         guard let stream:FilePath.DirectoryPointer = try self.open()
    |                                   `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 57 |         else
 58 |         {
/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:56:63: error: type of expression is ambiguous without a type annotation
 54 |     func next() throws -> FilePath.Component?
 55 |     {
 56 |         guard let stream:FilePath.DirectoryPointer = try self.open()
    |                                                               `- error: type of expression is ambiguous without a type annotation
 57 |         else
 58 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:62:45: error: cannot find type 'dirent' in scope
 60 |         }
 61 |
 62 |         guard let offset:Int = MemoryLayout<dirent>.offset(of: \.d_name)
    |                                             `- error: cannot find type 'dirent' in scope
 63 |         else
 64 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:62:64: error: cannot infer key path type from context; consider explicitly specifying a root type
 60 |         }
 61 |
 62 |         guard let offset:Int = MemoryLayout<dirent>.offset(of: \.d_name)
    |                                                                `- error: cannot infer key path type from context; consider explicitly specifying a root type
 63 |         else
 64 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:46: error: cannot find type 'dirent' in scope
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                              `- error: cannot find type 'dirent' in scope
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:56: error: cannot find 'readdir' in scope
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                                        `- error: cannot find 'readdir' in scope
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:56: error: type of expression is ambiguous without a type annotation
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                                        `- error: type of expression is ambiguous without a type annotation
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:92:9: error: cannot find 'closedir' in scope
 90 |         }
 91 |
 92 |         closedir(stream)
    |         `- error: cannot find 'closedir' in scope
 93 |         self = .opened(nil)
 94 |         return nil
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:93:24: error: 'nil' requires a contextual type
 91 |
 92 |         closedir(stream)
 93 |         self = .opened(nil)
    |                        `- error: 'nil' requires a contextual type
 94 |         return nil
 95 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:99:39: error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
 97 |     func close()
 98 |     {
 99 |         guard case .opened(let stream?) = self
    |                                       `- error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
100 |         else
101 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:99:21: error: type 'Errno' has no member 'opened'
 97 |     func close()
 98 |     {
 99 |         guard case .opened(let stream?) = self
    |                     `- error: type 'Errno' has no member 'opened'
100 |         else
101 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:105:9: error: cannot find 'closedir' in scope
103 |         }
104 |
105 |         closedir(stream)
    |         `- error: cannot find 'closedir' in scope
106 |         self = .opened(nil)
107 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:106:24: error: 'nil' requires a contextual type
104 |
105 |         closedir(stream)
106 |         self = .opened(nil)
    |                        `- error: 'nil' requires a contextual type
107 |     }
108 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:40:50: error: cannot find 'getcwd' in scope
 38 |     {
 39 |         guard
 40 |         let buffer:UnsafeMutablePointer<CChar> = getcwd(nil, 0)
    |                                                  `- error: cannot find 'getcwd' in scope
 41 |         else
 42 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:40:57: error: 'nil' requires a contextual type
 38 |     {
 39 |         guard
 40 |         let buffer:UnsafeMutablePointer<CChar> = getcwd(nil, 0)
    |                                                         `- error: 'nil' requires a contextual type
 41 |         else
 42 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:47:13: error: cannot find 'free' in scope
 45 |         defer
 46 |         {
 47 |             free(buffer)
    |             `- error: cannot find 'free' in scope
 48 |         }
 49 |
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:20:30: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 18 |     {
 19 |         case unopened(FilePath)
 20 |         case opened(FilePath.DirectoryPointer?)
    |                              `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 21 |     }
 22 | }
/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:26:36: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 24 | {
 25 |     private mutating
 26 |     func open() throws -> FilePath.DirectoryPointer?
    |                                    `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 27 |     {
 28 |         switch self
/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:31:34: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 29 |         {
 30 |         case .unopened(let path):
 31 |             let pointer:FilePath.DirectoryPointer? = try path.withPlatformString
    |                                  `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 32 |             {
 33 |                 if  let pointer:FilePath.DirectoryPointer = opendir($0)
/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:56:35: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 54 |     func next() throws -> FilePath.Component?
 55 |     {
 56 |         guard let stream:FilePath.DirectoryPointer = try self.open()
    |                                   `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 57 |         else
 58 |         {
/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:56:63: error: type of expression is ambiguous without a type annotation
 54 |     func next() throws -> FilePath.Component?
 55 |     {
 56 |         guard let stream:FilePath.DirectoryPointer = try self.open()
    |                                                               `- error: type of expression is ambiguous without a type annotation
 57 |         else
 58 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:62:45: error: cannot find type 'dirent' in scope
 60 |         }
 61 |
 62 |         guard let offset:Int = MemoryLayout<dirent>.offset(of: \.d_name)
    |                                             `- error: cannot find type 'dirent' in scope
 63 |         else
 64 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:62:64: error: cannot infer key path type from context; consider explicitly specifying a root type
 60 |         }
 61 |
 62 |         guard let offset:Int = MemoryLayout<dirent>.offset(of: \.d_name)
    |                                                                `- error: cannot infer key path type from context; consider explicitly specifying a root type
 63 |         else
 64 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:46: error: cannot find type 'dirent' in scope
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                              `- error: cannot find type 'dirent' in scope
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:56: error: cannot find 'readdir' in scope
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                                        `- error: cannot find 'readdir' in scope
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:56: error: type of expression is ambiguous without a type annotation
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                                        `- error: type of expression is ambiguous without a type annotation
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:92:9: error: cannot find 'closedir' in scope
 90 |         }
 91 |
 92 |         closedir(stream)
    |         `- error: cannot find 'closedir' in scope
 93 |         self = .opened(nil)
 94 |         return nil
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:93:24: error: 'nil' requires a contextual type
 91 |
 92 |         closedir(stream)
 93 |         self = .opened(nil)
    |                        `- error: 'nil' requires a contextual type
 94 |         return nil
 95 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:99:39: error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
 97 |     func close()
 98 |     {
 99 |         guard case .opened(let stream?) = self
    |                                       `- error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
100 |         else
101 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:99:21: error: type 'Errno' has no member 'opened'
 97 |     func close()
 98 |     {
 99 |         guard case .opened(let stream?) = self
    |                     `- error: type 'Errno' has no member 'opened'
100 |         else
101 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:105:9: error: cannot find 'closedir' in scope
103 |         }
104 |
105 |         closedir(stream)
    |         `- error: cannot find 'closedir' in scope
106 |         self = .opened(nil)
107 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:106:24: error: 'nil' requires a contextual type
104 |
105 |         closedir(stream)
106 |         self = .opened(nil)
    |                        `- error: 'nil' requires a contextual type
107 |     }
108 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[153/308] Emitting module SystemIO
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:20:30: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 18 |     {
 19 |         case unopened(FilePath)
 20 |         case opened(FilePath.DirectoryPointer?)
    |                              `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 21 |     }
 22 | }
/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:26:36: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 24 | {
 25 |     private mutating
 26 |     func open() throws -> FilePath.DirectoryPointer?
    |                                    `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 27 |     {
 28 |         switch self
/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/.build/checkouts/swift-io/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-io/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/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:15:15: error: cannot find type 'stat' in scope
13 | {
14 |     @usableFromInline
15 |     let value:stat
   |               `- error: cannot find type 'stat' in scope
16 |
17 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:18:16: error: cannot find type 'stat' in scope
16 |
17 |     private
18 |     init(value:stat)
   |                `- error: cannot find type 'stat' in scope
19 |     {
20 |         self.value = value
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:28:30: error: cannot find 'S_IFMT' in scope
26 |     func `is`(_ type:FileType) -> Bool
27 |     {
28 |         self.value.st_mode & S_IFMT == type.mask
   |                              `- error: cannot find 'S_IFMT' in scope
29 |     }
30 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:14: error: cannot find type 'mode_t' in scope
21 | {
22 |     @inlinable
23 |     var mask:mode_t
   |              `- error: cannot find type 'mode_t' in scope
24 |     {
25 |         switch self
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:14:12: error: cannot find type 'pid_t' in scope
 12 |     let invocation:[String]
 13 |     public
 14 |     let id:pid_t
    |            `- error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:17:34: error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
 17 |     init(invocation:[String], id:pid_t)
    |                                  `- error: cannot find type 'pid_t' in scope
 18 |     {
 19 |         self.invocation = invocation
[174/316] Emitting module SwiftSyntax
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:71:19: error: cannot find type 'statvfs' in scope
69 |     func containing(path:FilePath) throws -> Self
70 |     {
71 |         let stats:statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1)
   |                   `- error: cannot find type 'statvfs' in scope
72 |         {
73 |             guard case 0 = statvfs(path.string, &$0[0])
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:82:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
80 |         }
81 |         //  Explicit `UInt32 -> UInt` conversion needed on Darwin.
82 |         return .init(id: UInt.init(stats.f_fsid),
   |                `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
83 |             fragmentCount: UInt.init(stats.f_blocks),
84 |             fragmentSize: UInt.init(stats.f_frsize),
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:14: error: cannot find type 'mode_t' in scope
21 | {
22 |     @inlinable
23 |     var mask:mode_t
   |              `- error: cannot find type 'mode_t' in scope
24 |     {
25 |         switch self
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:71:19: error: cannot find type 'statvfs' in scope
69 |     func containing(path:FilePath) throws -> Self
70 |     {
71 |         let stats:statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1)
   |                   `- error: cannot find type 'statvfs' in scope
72 |         {
73 |             guard case 0 = statvfs(path.string, &$0[0])
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:82:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
80 |         }
81 |         //  Explicit `UInt32 -> UInt` conversion needed on Darwin.
82 |         return .init(id: UInt.init(stats.f_fsid),
   |                `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
83 |             fragmentCount: UInt.init(stats.f_blocks),
84 |             fragmentSize: UInt.init(stats.f_frsize),
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:14: error: cannot find type 'mode_t' in scope
21 | {
22 |     @inlinable
23 |     var mask:mode_t
   |              `- error: cannot find type 'mode_t' in scope
24 |     {
25 |         switch self
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:15:15: error: cannot find type 'stat' in scope
13 | {
14 |     @usableFromInline
15 |     let value:stat
   |               `- error: cannot find type 'stat' in scope
16 |
17 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:18:16: error: cannot find type 'stat' in scope
16 |
17 |     private
18 |     init(value:stat)
   |                `- error: cannot find type 'stat' in scope
19 |     {
20 |         self.value = value
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:28:30: error: cannot find 'S_IFMT' in scope
26 |     func `is`(_ type:FileType) -> Bool
27 |     {
28 |         self.value.st_mode & S_IFMT == type.mask
   |                              `- error: cannot find 'S_IFMT' in scope
29 |     }
30 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:14: error: cannot find type 'mode_t' in scope
21 | {
22 |     @inlinable
23 |     var mask:mode_t
   |              `- error: cannot find type 'mode_t' in scope
24 |     {
25 |         switch self
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:39:20: error: cannot find 'stat' in scope
37 |         {
38 |             var value:stat = .init()
39 |             switch stat($0, &value)
   |                    `- error: cannot find 'stat' in scope
40 |             {
41 |             case 0: return .init(value: value)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:42:48: error: cannot find 'errno' in scope
40 |             {
41 |             case 0: return .init(value: value)
42 |             case _: throw Errno.init(rawValue: errno)
   |                                                `- error: cannot find 'errno' in scope
43 |             }
44 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:38:23: error: cannot find type 'stat' in scope
36 |         try path.withPlatformString
37 |         {
38 |             var value:stat = .init()
   |                       `- error: cannot find type 'stat' in scope
39 |             switch stat($0, &value)
40 |             {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:36:18: error: type of expression is ambiguous without a type annotation
34 |     func status(of path:FilePath) throws -> Self
35 |     {
36 |         try path.withPlatformString
   |                  `- error: type of expression is ambiguous without a type annotation
37 |         {
38 |             var value:stat = .init()
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:49:19: error: cannot find type 'stat' in scope
47 |     func status(of file:FileDescriptor) throws -> Self
48 |     {
49 |         var value:stat = .init()
   |                   `- error: cannot find type 'stat' in scope
50 |         switch fstat(file.rawValue, &value)
51 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:50:16: error: cannot find 'fstat' in scope
48 |     {
49 |         var value:stat = .init()
50 |         switch fstat(file.rawValue, &value)
   |                `- error: cannot find 'fstat' in scope
51 |         {
52 |         case 0: return .init(value: value)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:53:44: error: cannot find 'errno' in scope
51 |         {
52 |         case 0: return .init(value: value)
53 |         case _: throw Errno.init(rawValue: errno)
   |                                            `- error: cannot find 'errno' in scope
54 |         }
55 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:15:15: error: cannot find type 'stat' in scope
13 | {
14 |     @usableFromInline
15 |     let value:stat
   |               `- error: cannot find type 'stat' in scope
16 |
17 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:18:16: error: cannot find type 'stat' in scope
16 |
17 |     private
18 |     init(value:stat)
   |                `- error: cannot find type 'stat' in scope
19 |     {
20 |         self.value = value
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:28:30: error: cannot find 'S_IFMT' in scope
26 |     func `is`(_ type:FileType) -> Bool
27 |     {
28 |         self.value.st_mode & S_IFMT == type.mask
   |                              `- error: cannot find 'S_IFMT' in scope
29 |     }
30 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:14: error: cannot find type 'mode_t' in scope
21 | {
22 |     @inlinable
23 |     var mask:mode_t
   |              `- error: cannot find type 'mode_t' in scope
24 |     {
25 |         switch self
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:39:20: error: cannot find 'stat' in scope
37 |         {
38 |             var value:stat = .init()
39 |             switch stat($0, &value)
   |                    `- error: cannot find 'stat' in scope
40 |             {
41 |             case 0: return .init(value: value)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:42:48: error: cannot find 'errno' in scope
40 |             {
41 |             case 0: return .init(value: value)
42 |             case _: throw Errno.init(rawValue: errno)
   |                                                `- error: cannot find 'errno' in scope
43 |             }
44 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:38:23: error: cannot find type 'stat' in scope
36 |         try path.withPlatformString
37 |         {
38 |             var value:stat = .init()
   |                       `- error: cannot find type 'stat' in scope
39 |             switch stat($0, &value)
40 |             {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:36:18: error: type of expression is ambiguous without a type annotation
34 |     func status(of path:FilePath) throws -> Self
35 |     {
36 |         try path.withPlatformString
   |                  `- error: type of expression is ambiguous without a type annotation
37 |         {
38 |             var value:stat = .init()
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:49:19: error: cannot find type 'stat' in scope
47 |     func status(of file:FileDescriptor) throws -> Self
48 |     {
49 |         var value:stat = .init()
   |                   `- error: cannot find type 'stat' in scope
50 |         switch fstat(file.rawValue, &value)
51 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:50:16: error: cannot find 'fstat' in scope
48 |     {
49 |         var value:stat = .init()
50 |         switch fstat(file.rawValue, &value)
   |                `- error: cannot find 'fstat' in scope
51 |         {
52 |         case 0: return .init(value: value)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:53:44: error: cannot find 'errno' in scope
51 |         {
52 |         case 0: return .init(value: value)
53 |         case _: throw Errno.init(rawValue: errno)
   |                                            `- error: cannot find 'errno' in scope
54 |         }
55 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:15:15: error: cannot find type 'stat' in scope
13 | {
14 |     @usableFromInline
15 |     let value:stat
   |               `- error: cannot find type 'stat' in scope
16 |
17 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:18:16: error: cannot find type 'stat' in scope
16 |
17 |     private
18 |     init(value:stat)
   |                `- error: cannot find type 'stat' in scope
19 |     {
20 |         self.value = value
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:28:30: error: cannot find 'S_IFMT' in scope
26 |     func `is`(_ type:FileType) -> Bool
27 |     {
28 |         self.value.st_mode & S_IFMT == type.mask
   |                              `- error: cannot find 'S_IFMT' in scope
29 |     }
30 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:14: error: cannot find type 'mode_t' in scope
21 | {
22 |     @inlinable
23 |     var mask:mode_t
   |              `- error: cannot find type 'mode_t' in scope
24 |     {
25 |         switch self
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:39:20: error: cannot find 'stat' in scope
37 |         {
38 |             var value:stat = .init()
39 |             switch stat($0, &value)
   |                    `- error: cannot find 'stat' in scope
40 |             {
41 |             case 0: return .init(value: value)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:42:48: error: cannot find 'errno' in scope
40 |             {
41 |             case 0: return .init(value: value)
42 |             case _: throw Errno.init(rawValue: errno)
   |                                                `- error: cannot find 'errno' in scope
43 |             }
44 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:38:23: error: cannot find type 'stat' in scope
36 |         try path.withPlatformString
37 |         {
38 |             var value:stat = .init()
   |                       `- error: cannot find type 'stat' in scope
39 |             switch stat($0, &value)
40 |             {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:36:18: error: type of expression is ambiguous without a type annotation
34 |     func status(of path:FilePath) throws -> Self
35 |     {
36 |         try path.withPlatformString
   |                  `- error: type of expression is ambiguous without a type annotation
37 |         {
38 |             var value:stat = .init()
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:49:19: error: cannot find type 'stat' in scope
47 |     func status(of file:FileDescriptor) throws -> Self
48 |     {
49 |         var value:stat = .init()
   |                   `- error: cannot find type 'stat' in scope
50 |         switch fstat(file.rawValue, &value)
51 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:50:16: error: cannot find 'fstat' in scope
48 |     {
49 |         var value:stat = .init()
50 |         switch fstat(file.rawValue, &value)
   |                `- error: cannot find 'fstat' in scope
51 |         {
52 |         case 0: return .init(value: value)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:53:44: error: cannot find 'errno' in scope
51 |         {
52 |         case 0: return .init(value: value)
53 |         case _: throw Errno.init(rawValue: errno)
   |                                            `- error: cannot find 'errno' in scope
54 |         }
55 |     }
[181/316] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[182/316] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[183/316] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[184/316] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[185/316] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[186/316] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[187/316] Compiling SwiftSyntax RawSyntaxValidation.swift
[188/316] Compiling SwiftSyntax SyntaxNodesAB.swift
[189/316] Compiling SwiftSyntax SyntaxRewriter.swift
[190/316] Compiling SwiftSyntax SyntaxTraits.swift
[191/316] Compiling SwiftSyntax SyntaxVisitor.swift
[192/316] Compiling SwiftSyntax TokenKind.swift
[193/316] Compiling SwiftSyntax Tokens.swift
[194/316] Compiling SwiftSyntax TriviaPieces.swift
[195/316] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[196/316] Compiling SwiftSyntax RawSyntaxNodesC.swift
[197/316] Compiling SwiftSyntax RawSyntaxNodesD.swift
BUILD FAILURE 6.1 wasm