Build Information
Failed to build swift-io, reference master (9c68f7), with Swift 6.2 for Android on 5 Oct 2025 12:59:32 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tayloraswift/swift-io.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/tayloraswift/swift-io
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 9c68f73 format code using dollup
Cloned https://github.com/tayloraswift/swift-io.git
Revision (git rev-parse @):
9c68f73034a61b742a9dbc98661946b990e4b319
SUCCESS checkout https://github.com/tayloraswift/swift-io.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/tayloraswift/swift-io.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:d70d83f328e9f1ae04a4e17e63e2d335ae10639f90ee796a5fe3bfb139eab948
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-argument-parser
[1/16643] Fetching swift-argument-parser
[1000/21681] Fetching swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-system from cache (0.40s)
[11983/16643] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.65s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.99s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.3 (0.39s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/9] Write sources
[7/9] Compiling CSystem shims.c
[8/9] Write swift-version--11D90AFD9DD3AB2.txt
[10/42] Emitting module SystemPackage
[11/46] Compiling SystemPackage FilePath.swift
[12/46] Compiling SystemPackage FilePathComponentView.swift
[13/46] Compiling SystemPackage FilePathComponents.swift
[14/46] Compiling SystemPackage FilePathParsing.swift
[15/46] Compiling SystemPackage FilePathString.swift
[16/46] Compiling SystemPackage Errno.swift
[17/46] Compiling SystemPackage ErrnoWindows.swift
[18/46] Compiling SystemPackage FileDescriptor.swift
[19/46] Compiling SystemPackage FileHelpers.swift
[20/46] Compiling SystemPackage FileOperations.swift
[21/46] Compiling SystemPackage SystemString.swift
[22/46] Compiling SystemPackage Util+StringArray.swift
[23/46] Compiling SystemPackage Util.swift
[24/46] Compiling SystemPackage UtilConsumers.swift
[25/46] Compiling SystemPackage FilePathWindows.swift
[26/46] Compiling SystemPackage FilePermissions.swift
[27/46] Compiling SystemPackage IOCompletion.swift
[28/46] Compiling SystemPackage IORequest.swift
[29/46] Compiling ArgumentParserToolInfo ToolInfo.swift
[30/46] Emitting module ArgumentParserToolInfo
[32/91] Compiling ArgumentParser Argument.swift
[33/91] Compiling ArgumentParser ArgumentDiscussion.swift
[34/91] Compiling ArgumentParser ArgumentHelp.swift
[35/91] Compiling ArgumentParser ArgumentVisibility.swift
[36/91] Compiling ArgumentParser Option.swift
[37/91] Compiling ArgumentParser OptionGroup.swift
[38/91] Compiling ArgumentParser AsyncParsableCommand.swift
[39/91] Compiling ArgumentParser CommandConfiguration.swift
[40/91] Compiling ArgumentParser ArgumentDecoder.swift
[41/91] Compiling ArgumentParser ArgumentDefinition.swift
[42/91] Compiling ArgumentParser ArgumentSet.swift
[43/91] Compiling ArgumentParser CommandParser.swift
[44/91] Compiling ArgumentParser BashCompletionsGenerator.swift
[45/91] Compiling ArgumentParser CompletionsGenerator.swift
[46/91] Compiling ArgumentParser FishCompletionsGenerator.swift
[47/91] Compiling ArgumentParser ZshCompletionsGenerator.swift
[49/111] Compiling ArgumentParser InputKey.swift
[50/111] Compiling ArgumentParser InputOrigin.swift
[51/111] Compiling ArgumentParser Name.swift
[52/111] Compiling ArgumentParser Parsed.swift
[53/111] Compiling ArgumentParser ParsedValues.swift
[54/111] Compiling ArgumentParser ParserError.swift
[55/117] Compiling ArgumentParser CollectionExtensions.swift
[56/117] Compiling ArgumentParser Mutex.swift
[57/117] Compiling ArgumentParser Platform.swift
[58/117] Compiling ArgumentParser SequenceExtensions.swift
[59/117] Compiling ArgumentParser StringExtensions.swift
[60/117] Compiling ArgumentParser SwiftExtensions.swift
[61/117] Compiling ArgumentParser Tree.swift
[62/117] Compiling ArgumentParser CodingKeyValidator.swift
[63/117] Compiling ArgumentParser NonsenseFlagsValidator.swift
[64/117] Compiling ArgumentParser ParsableArgumentsValidation.swift
[65/117] Compiling ArgumentParser PositionalArgumentsValidator.swift
[66/117] Compiling ArgumentParser UniqueNamesValidator.swift
[67/117] Compiling SystemIO SystemProcess.Stream.swift
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:11:20: error: cannot find type 'pid_t' in scope
9 | @frozen public struct SystemProcess: Identifiable {
10 | let invocation: [String]
11 | public let id: pid_t
| `- error: cannot find type 'pid_t' in scope
12 |
13 | private init(invocation: [String], id: pid_t) {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:13:44: error: cannot find type 'pid_t' in scope
11 | public let id: pid_t
12 |
13 | private init(invocation: [String], id: pid_t) {
| `- error: cannot find type 'pid_t' in scope
14 | self.invocation = invocation
15 | self.id = id
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:15:14: error: property 'id' requires that 'SystemProcess' be a class type
13 | private init(invocation: [String], id: pid_t) {
14 | self.invocation = invocation
15 | self.id = id
| `- error: property 'id' requires that 'SystemProcess' be a class type
16 | }
17 | }
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
| `- note: where 'Self' = 'SystemProcess'
3 | public var id: ObjectIdentifier { get }
4 | }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:93:13: error: cannot find 'posix_spawn_file_actions_init' in scope
91 |
92 | do {
93 | posix_spawn_file_actions_init(&actions)
| `- error: cannot find 'posix_spawn_file_actions_init' in scope
94 | }
95 | defer {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:93:44: error: cannot find 'actions' in scope
91 |
92 | do {
93 | posix_spawn_file_actions_init(&actions)
| `- error: cannot find 'actions' in scope
94 | }
95 | defer {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:96:13: error: cannot find 'posix_spawn_file_actions_destroy' in scope
94 | }
95 | defer {
96 | posix_spawn_file_actions_destroy(&actions)
| `- error: cannot find 'posix_spawn_file_actions_destroy' in scope
97 | }
98 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:96:47: error: cannot find 'actions' in scope
94 | }
95 | defer {
96 | posix_spawn_file_actions_destroy(&actions)
| `- error: cannot find 'actions' in scope
97 | }
98 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:100:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
98 |
99 | if let stdout: FileDescriptor {
100 | posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
| `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
101 | }
102 | if let stderr: FileDescriptor {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:100:47: error: cannot find 'actions' in scope
98 |
99 | if let stdout: FileDescriptor {
100 | posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
| `- error: cannot find 'actions' in scope
101 | }
102 | if let stderr: FileDescriptor {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:103:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
101 | }
102 | if let stderr: FileDescriptor {
103 | posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
| `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
104 | }
105 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:103:47: error: cannot find 'actions' in scope
101 | }
102 | if let stderr: FileDescriptor {
103 | posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
| `- error: cannot find 'actions' in scope
104 | }
105 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:107:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
105 |
106 | for stream: SystemProcess.Stream in streams {
107 | posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
| `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
108 | }
109 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:107:47: error: cannot find 'actions' in scope
105 |
106 | for stream: SystemProcess.Stream in streams {
107 | posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
| `- error: cannot find 'actions' in scope
108 | }
109 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:110:22: error: cannot find type 'pid_t' in scope
108 | }
109 |
110 | var process: pid_t = 0
| `- error: cannot find type 'pid_t' in scope
111 | let status: Int32 = environment.withUnsafePointers {
112 | if let command: String {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:113:17: error: cannot find 'posix_spawnp' in scope
111 | let status: Int32 = environment.withUnsafePointers {
112 | if let command: String {
113 | posix_spawnp(&process, command, &actions, nil, argv, $0)
| `- error: cannot find 'posix_spawnp' in scope
114 | } else {
115 | posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:113:50: error: cannot find 'actions' in scope
111 | let status: Int32 = environment.withUnsafePointers {
112 | if let command: String {
113 | posix_spawnp(&process, command, &actions, nil, argv, $0)
| `- error: cannot find 'actions' in scope
114 | } else {
115 | posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:115:17: error: cannot find 'posix_spawn' in scope
113 | posix_spawnp(&process, command, &actions, nil, argv, $0)
114 | } else {
115 | posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
| `- error: cannot find 'posix_spawn' in scope
116 | }
117 | }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:115:55: error: cannot find 'actions' in scope
113 | posix_spawnp(&process, command, &actions, nil, argv, $0)
114 | } else {
115 | posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
| `- error: cannot find 'actions' in scope
116 | }
117 | }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:113:59: error: 'nil' requires a contextual type
111 | let status: Int32 = environment.withUnsafePointers {
112 | if let command: String {
113 | posix_spawnp(&process, command, &actions, nil, argv, $0)
| `- error: 'nil' requires a contextual type
114 | } else {
115 | posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:122:47: error: extra argument 'id' in call
120 | }
121 |
122 | self.init(invocation: invocation, id: process)
| `- error: extra argument 'id' in call
123 | }
124 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:122:19: error: missing argument for parameter 'command' in call
28 | }
29 | extension SystemProcess {
30 | public init(
| `- note: 'init(command:_:stdout:stderr:duping:echo:with:)' declared here
31 | command: String?,
32 | _ arguments: String?...,
:
120 | }
121 |
122 | self.init(invocation: invocation, id: process)
| `- error: missing argument for parameter 'command' in call
123 | }
124 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:122:31: error: cannot convert value of type '[String]' to expected argument type 'String'
120 | }
121 |
122 | self.init(invocation: invocation, id: process)
| `- error: cannot convert value of type '[String]' to expected argument type 'String'
123 | }
124 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:128:16: error: cannot find 'waitpid' in scope
126 | var status: Int32 = 0
127 |
128 | switch waitpid(self.id, &status, 0) {
| `- error: cannot find 'waitpid' in scope
129 | case self.id: break
130 | case let status: return .failure(.wait(status, self.invocation))
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:128:29: error: property 'id' requires that 'SystemProcess' be a class type
126 | var status: Int32 = 0
127 |
128 | switch waitpid(self.id, &status, 0) {
| `- error: property 'id' requires that 'SystemProcess' be a class type
129 | case self.id: break
130 | case let status: return .failure(.wait(status, self.invocation))
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
| `- note: where 'Self' = 'SystemProcess'
3 | public var id: ObjectIdentifier { get }
4 | }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:129:19: error: property 'id' requires that 'SystemProcess' be a class type
127 |
128 | switch waitpid(self.id, &status, 0) {
129 | case self.id: break
| `- error: property 'id' requires that 'SystemProcess' be a class type
130 | case let status: return .failure(.wait(status, self.invocation))
131 | }
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
| `- note: where 'Self' = 'SystemProcess'
3 | public var id: ObjectIdentifier { get }
4 | }
[68/117] Compiling SystemIO SystemProcess.swift
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:11:20: error: cannot find type 'pid_t' in scope
9 | @frozen public struct SystemProcess: Identifiable {
10 | let invocation: [String]
11 | public let id: pid_t
| `- error: cannot find type 'pid_t' in scope
12 |
13 | private init(invocation: [String], id: pid_t) {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:13:44: error: cannot find type 'pid_t' in scope
11 | public let id: pid_t
12 |
13 | private init(invocation: [String], id: pid_t) {
| `- error: cannot find type 'pid_t' in scope
14 | self.invocation = invocation
15 | self.id = id
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:15:14: error: property 'id' requires that 'SystemProcess' be a class type
13 | private init(invocation: [String], id: pid_t) {
14 | self.invocation = invocation
15 | self.id = id
| `- error: property 'id' requires that 'SystemProcess' be a class type
16 | }
17 | }
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
| `- note: where 'Self' = 'SystemProcess'
3 | public var id: ObjectIdentifier { get }
4 | }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:93:13: error: cannot find 'posix_spawn_file_actions_init' in scope
91 |
92 | do {
93 | posix_spawn_file_actions_init(&actions)
| `- error: cannot find 'posix_spawn_file_actions_init' in scope
94 | }
95 | defer {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:93:44: error: cannot find 'actions' in scope
91 |
92 | do {
93 | posix_spawn_file_actions_init(&actions)
| `- error: cannot find 'actions' in scope
94 | }
95 | defer {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:96:13: error: cannot find 'posix_spawn_file_actions_destroy' in scope
94 | }
95 | defer {
96 | posix_spawn_file_actions_destroy(&actions)
| `- error: cannot find 'posix_spawn_file_actions_destroy' in scope
97 | }
98 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:96:47: error: cannot find 'actions' in scope
94 | }
95 | defer {
96 | posix_spawn_file_actions_destroy(&actions)
| `- error: cannot find 'actions' in scope
97 | }
98 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:100:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
98 |
99 | if let stdout: FileDescriptor {
100 | posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
| `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
101 | }
102 | if let stderr: FileDescriptor {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:100:47: error: cannot find 'actions' in scope
98 |
99 | if let stdout: FileDescriptor {
100 | posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
| `- error: cannot find 'actions' in scope
101 | }
102 | if let stderr: FileDescriptor {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:103:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
101 | }
102 | if let stderr: FileDescriptor {
103 | posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
| `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
104 | }
105 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:103:47: error: cannot find 'actions' in scope
101 | }
102 | if let stderr: FileDescriptor {
103 | posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
| `- error: cannot find 'actions' in scope
104 | }
105 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:107:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
105 |
106 | for stream: SystemProcess.Stream in streams {
107 | posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
| `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
108 | }
109 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:107:47: error: cannot find 'actions' in scope
105 |
106 | for stream: SystemProcess.Stream in streams {
107 | posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
| `- error: cannot find 'actions' in scope
108 | }
109 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:110:22: error: cannot find type 'pid_t' in scope
108 | }
109 |
110 | var process: pid_t = 0
| `- error: cannot find type 'pid_t' in scope
111 | let status: Int32 = environment.withUnsafePointers {
112 | if let command: String {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:113:17: error: cannot find 'posix_spawnp' in scope
111 | let status: Int32 = environment.withUnsafePointers {
112 | if let command: String {
113 | posix_spawnp(&process, command, &actions, nil, argv, $0)
| `- error: cannot find 'posix_spawnp' in scope
114 | } else {
115 | posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:113:50: error: cannot find 'actions' in scope
111 | let status: Int32 = environment.withUnsafePointers {
112 | if let command: String {
113 | posix_spawnp(&process, command, &actions, nil, argv, $0)
| `- error: cannot find 'actions' in scope
114 | } else {
115 | posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:115:17: error: cannot find 'posix_spawn' in scope
113 | posix_spawnp(&process, command, &actions, nil, argv, $0)
114 | } else {
115 | posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
| `- error: cannot find 'posix_spawn' in scope
116 | }
117 | }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:115:55: error: cannot find 'actions' in scope
113 | posix_spawnp(&process, command, &actions, nil, argv, $0)
114 | } else {
115 | posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
| `- error: cannot find 'actions' in scope
116 | }
117 | }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:113:59: error: 'nil' requires a contextual type
111 | let status: Int32 = environment.withUnsafePointers {
112 | if let command: String {
113 | posix_spawnp(&process, command, &actions, nil, argv, $0)
| `- error: 'nil' requires a contextual type
114 | } else {
115 | posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:122:47: error: extra argument 'id' in call
120 | }
121 |
122 | self.init(invocation: invocation, id: process)
| `- error: extra argument 'id' in call
123 | }
124 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:122:19: error: missing argument for parameter 'command' in call
28 | }
29 | extension SystemProcess {
30 | public init(
| `- note: 'init(command:_:stdout:stderr:duping:echo:with:)' declared here
31 | command: String?,
32 | _ arguments: String?...,
:
120 | }
121 |
122 | self.init(invocation: invocation, id: process)
| `- error: missing argument for parameter 'command' in call
123 | }
124 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:122:31: error: cannot convert value of type '[String]' to expected argument type 'String'
120 | }
121 |
122 | self.init(invocation: invocation, id: process)
| `- error: cannot convert value of type '[String]' to expected argument type 'String'
123 | }
124 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:128:16: error: cannot find 'waitpid' in scope
126 | var status: Int32 = 0
127 |
128 | switch waitpid(self.id, &status, 0) {
| `- error: cannot find 'waitpid' in scope
129 | case self.id: break
130 | case let status: return .failure(.wait(status, self.invocation))
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:128:29: error: property 'id' requires that 'SystemProcess' be a class type
126 | var status: Int32 = 0
127 |
128 | switch waitpid(self.id, &status, 0) {
| `- error: property 'id' requires that 'SystemProcess' be a class type
129 | case self.id: break
130 | case let status: return .failure(.wait(status, self.invocation))
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
| `- note: where 'Self' = 'SystemProcess'
3 | public var id: ObjectIdentifier { get }
4 | }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:129:19: error: property 'id' requires that 'SystemProcess' be a class type
127 |
128 | switch waitpid(self.id, &status, 0) {
129 | case self.id: break
| `- error: property 'id' requires that 'SystemProcess' be a class type
130 | case let status: return .failure(.wait(status, self.invocation))
131 | }
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
| `- note: where 'Self' = 'SystemProcess'
3 | public var id: ObjectIdentifier { get }
4 | }
[69/119] Compiling SystemIO SystemProcessError.swift
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
[70/119] Compiling SystemIO lexemes.swift
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[71/119] Emitting module SystemIO
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:17:30: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
15 | @usableFromInline @frozen enum Stream {
16 | case unopened(FilePath)
17 | case opened(FilePath.DirectoryPointer?)
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
18 | }
19 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:21:53: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
19 | }
20 | extension FilePath.DirectoryIterator.Stream {
21 | private mutating func open() throws -> FilePath.DirectoryPointer? {
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
22 | switch self {
23 | case .unopened(let path):
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:12:34: error: cannot find type 'stat' in scope
10 |
11 | @frozen public struct FileStatus {
12 | @usableFromInline let value: stat
| `- error: cannot find type 'stat' in scope
13 |
14 | private init(value: stat) {
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:14:25: error: cannot find type 'stat' in scope
12 | @usableFromInline let value: stat
13 |
14 | private init(value: stat) {
| `- error: cannot find type 'stat' in scope
15 | self.value = value
16 | }
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:20:30: error: cannot find 'S_IFMT' in scope
18 | extension FileStatus {
19 | @inlinable public func `is`(_ type: FileType) -> Bool {
20 | self.value.st_mode & S_IFMT == type.mask
| `- error: cannot find 'S_IFMT' in scope
21 | }
22 | }
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:19:26: error: cannot find type 'mode_t' in scope
17 | }
18 | extension FileType {
19 | @inlinable var mask: mode_t {
| `- error: cannot find type 'mode_t' in scope
20 | switch self {
21 | case .blockDevice: S_IFBLK
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:11:20: error: cannot find type 'pid_t' in scope
9 | @frozen public struct SystemProcess: Identifiable {
10 | let invocation: [String]
11 | public let id: pid_t
| `- error: cannot find type 'pid_t' in scope
12 |
13 | private init(invocation: [String], id: pid_t) {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:13:44: error: cannot find type 'pid_t' in scope
11 | public let id: pid_t
12 |
13 | private init(invocation: [String], id: pid_t) {
| `- error: cannot find type 'pid_t' in scope
14 | self.invocation = invocation
15 | self.id = id
[72/119] Compiling ArgumentParser SplitArguments.swift
[73/119] Compiling ArgumentParser DumpHelpGenerator.swift
[74/119] Compiling ArgumentParser HelpCommand.swift
[75/119] Compiling ArgumentParser HelpGenerator.swift
[76/119] Compiling ArgumentParser MessageInfo.swift
[77/119] Compiling ArgumentParser UsageGenerator.swift
[78/119] Compiling SystemIO FileStatus.swift
[79/119] Compiling SystemIO SystemProcess.Environment.swift
[80/119] Compiling SystemIO SystemProcess.EnvironmentEncoder.swift
[84/119] Compiling SystemIO FilePath.DirectoryIterator.swift
[85/119] Compiling SystemIO FilePath.DirectoryPointer.swift
[86/119] Compiling SystemIO FilePermissions (ext).swift
[87/119] Compiling SystemIO FilePermissions.Component.swift
[88/119] Compiling SystemIO FileReadError.swift
[89/119] Compiling SystemIO FileSeekError.swift
[90/119] Emitting module ArgumentParser
[92/119] Compiling ArgumentParser ParsableCommand.swift
[97/119] Compiling SystemIO FileDescriptor.swift
[98/119] Compiling SystemIO FileError.swift
[99/119] Compiling SystemIO FilePath (ext).swift
[100/119] Compiling SystemIO FileSystemStats.swift
[101/119] Compiling SystemIO FileType.swift
[102/119] Compiling SystemIO FilePath.Directory.swift
[103/119] Compiling SystemIO FilePath.DirectoryIterator.Stream.swift
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:11:20: error: cannot find type 'pid_t' in scope
9 | @frozen public struct SystemProcess: Identifiable {
10 | let invocation: [String]
11 | public let id: pid_t
| `- error: cannot find type 'pid_t' in scope
12 |
13 | private init(invocation: [String], id: pid_t) {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:40:49: error: cannot find 'environ' in scope
38 | to: CChar.self
39 | ).baseAddress else {
40 | return try yield(self.inherit ? environ : nil)
| `- error: cannot find 'environ' in scope
41 | }
42 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:44:29: error: cannot find 'environ' in scope
42 |
43 | var inherited: Int = 0
44 | while case _? = environ[inherited] {
| `- error: cannot find 'environ' in scope
45 | inherited += 1
46 | }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:53:53: error: cannot find 'environ' in scope
51 | ) {
52 | for i: Int in 0 ..< inherited {
53 | $0.initializeElement(at: i, to: environ[i])
| `- error: cannot find 'environ' in scope
54 | }
55 | var i: Int = inherited
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:11:20: error: cannot find type 'pid_t' in scope
9 | @frozen public struct SystemProcess: Identifiable {
10 | let invocation: [String]
11 | public let id: pid_t
| `- error: cannot find type 'pid_t' in scope
12 |
13 | private init(invocation: [String], id: pid_t) {
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:40:49: error: cannot find 'environ' in scope
38 | to: CChar.self
39 | ).baseAddress else {
40 | return try yield(self.inherit ? environ : nil)
| `- error: cannot find 'environ' in scope
41 | }
42 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:44:29: error: cannot find 'environ' in scope
42 |
43 | var inherited: Int = 0
44 | while case _? = environ[inherited] {
| `- error: cannot find 'environ' in scope
45 | inherited += 1
46 | }
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:53:53: error: cannot find 'environ' in scope
51 | ) {
52 | for i: Int in 0 ..< inherited {
53 | $0.initializeElement(at: i, to: environ[i])
| `- error: cannot find 'environ' in scope
54 | }
55 | var i: Int = inherited
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:12:34: error: cannot find type 'stat' in scope
10 |
11 | @frozen public struct FileStatus {
12 | @usableFromInline let value: stat
| `- error: cannot find type 'stat' in scope
13 |
14 | private init(value: stat) {
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:14:25: error: cannot find type 'stat' in scope
12 | @usableFromInline let value: stat
13 |
14 | private init(value: stat) {
| `- error: cannot find type 'stat' in scope
15 | self.value = value
16 | }
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:20:30: error: cannot find 'S_IFMT' in scope
18 | extension FileStatus {
19 | @inlinable public func `is`(_ type: FileType) -> Bool {
20 | self.value.st_mode & S_IFMT == type.mask
| `- error: cannot find 'S_IFMT' in scope
21 | }
22 | }
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:19:26: error: cannot find type 'mode_t' in scope
17 | }
18 | extension FileType {
19 | @inlinable var mask: mode_t {
| `- error: cannot find type 'mode_t' in scope
20 | switch self {
21 | case .blockDevice: S_IFBLK
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:27:20: error: cannot find 'stat' in scope
25 | try path.withPlatformString {
26 | var value: stat = .init()
27 | switch stat($0, &value) {
| `- error: cannot find 'stat' in scope
28 | case 0: return .init(value: value)
29 | case _: throw Errno.init(rawValue: errno)
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:29:48: error: cannot find 'errno' in scope
27 | switch stat($0, &value) {
28 | case 0: return .init(value: value)
29 | case _: throw Errno.init(rawValue: errno)
| `- error: cannot find 'errno' in scope
30 | }
31 | }
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:26:24: error: cannot find type 'stat' in scope
24 | public static func status(of path: FilePath) throws -> Self {
25 | try path.withPlatformString {
26 | var value: stat = .init()
| `- error: cannot find type 'stat' in scope
27 | switch stat($0, &value) {
28 | case 0: return .init(value: value)
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:25:18: error: type of expression is ambiguous without a type annotation
23 | extension FileStatus {
24 | public static func status(of path: FilePath) throws -> Self {
25 | try path.withPlatformString {
| `- error: type of expression is ambiguous without a type annotation
26 | var value: stat = .init()
27 | switch stat($0, &value) {
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:34:20: error: cannot find type 'stat' in scope
32 | }
33 | public static func status(of file: FileDescriptor) throws -> Self {
34 | var value: stat = .init()
| `- error: cannot find type 'stat' in scope
35 | switch fstat(file.rawValue, &value) {
36 | case 0: return .init(value: value)
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:35:16: error: cannot find 'fstat' in scope
33 | public static func status(of file: FileDescriptor) throws -> Self {
34 | var value: stat = .init()
35 | switch fstat(file.rawValue, &value) {
| `- error: cannot find 'fstat' in scope
36 | case 0: return .init(value: value)
37 | case _: throw Errno.init(rawValue: errno)
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:37:44: error: cannot find 'errno' in scope
35 | switch fstat(file.rawValue, &value) {
36 | case 0: return .init(value: value)
37 | case _: throw Errno.init(rawValue: errno)
| `- error: cannot find 'errno' in scope
38 | }
39 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:12:34: error: cannot find type 'stat' in scope
10 |
11 | @frozen public struct FileStatus {
12 | @usableFromInline let value: stat
| `- error: cannot find type 'stat' in scope
13 |
14 | private init(value: stat) {
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:14:25: error: cannot find type 'stat' in scope
12 | @usableFromInline let value: stat
13 |
14 | private init(value: stat) {
| `- error: cannot find type 'stat' in scope
15 | self.value = value
16 | }
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:20:30: error: cannot find 'S_IFMT' in scope
18 | extension FileStatus {
19 | @inlinable public func `is`(_ type: FileType) -> Bool {
20 | self.value.st_mode & S_IFMT == type.mask
| `- error: cannot find 'S_IFMT' in scope
21 | }
22 | }
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:19:26: error: cannot find type 'mode_t' in scope
17 | }
18 | extension FileType {
19 | @inlinable var mask: mode_t {
| `- error: cannot find type 'mode_t' in scope
20 | switch self {
21 | case .blockDevice: S_IFBLK
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:27:20: error: cannot find 'stat' in scope
25 | try path.withPlatformString {
26 | var value: stat = .init()
27 | switch stat($0, &value) {
| `- error: cannot find 'stat' in scope
28 | case 0: return .init(value: value)
29 | case _: throw Errno.init(rawValue: errno)
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:29:48: error: cannot find 'errno' in scope
27 | switch stat($0, &value) {
28 | case 0: return .init(value: value)
29 | case _: throw Errno.init(rawValue: errno)
| `- error: cannot find 'errno' in scope
30 | }
31 | }
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:26:24: error: cannot find type 'stat' in scope
24 | public static func status(of path: FilePath) throws -> Self {
25 | try path.withPlatformString {
26 | var value: stat = .init()
| `- error: cannot find type 'stat' in scope
27 | switch stat($0, &value) {
28 | case 0: return .init(value: value)
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:25:18: error: type of expression is ambiguous without a type annotation
23 | extension FileStatus {
24 | public static func status(of path: FilePath) throws -> Self {
25 | try path.withPlatformString {
| `- error: type of expression is ambiguous without a type annotation
26 | var value: stat = .init()
27 | switch stat($0, &value) {
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:34:20: error: cannot find type 'stat' in scope
32 | }
33 | public static func status(of file: FileDescriptor) throws -> Self {
34 | var value: stat = .init()
| `- error: cannot find type 'stat' in scope
35 | switch fstat(file.rawValue, &value) {
36 | case 0: return .init(value: value)
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:35:16: error: cannot find 'fstat' in scope
33 | public static func status(of file: FileDescriptor) throws -> Self {
34 | var value: stat = .init()
35 | switch fstat(file.rawValue, &value) {
| `- error: cannot find 'fstat' in scope
36 | case 0: return .init(value: value)
37 | case _: throw Errno.init(rawValue: errno)
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:37:44: error: cannot find 'errno' in scope
35 | switch fstat(file.rawValue, &value) {
36 | case 0: return .init(value: value)
37 | case _: throw Errno.init(rawValue: errno)
| `- error: cannot find 'errno' in scope
38 | }
39 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:12:34: error: cannot find type 'stat' in scope
10 |
11 | @frozen public struct FileStatus {
12 | @usableFromInline let value: stat
| `- error: cannot find type 'stat' in scope
13 |
14 | private init(value: stat) {
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:14:25: error: cannot find type 'stat' in scope
12 | @usableFromInline let value: stat
13 |
14 | private init(value: stat) {
| `- error: cannot find type 'stat' in scope
15 | self.value = value
16 | }
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:20:30: error: cannot find 'S_IFMT' in scope
18 | extension FileStatus {
19 | @inlinable public func `is`(_ type: FileType) -> Bool {
20 | self.value.st_mode & S_IFMT == type.mask
| `- error: cannot find 'S_IFMT' in scope
21 | }
22 | }
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:19:26: error: cannot find type 'mode_t' in scope
17 | }
18 | extension FileType {
19 | @inlinable var mask: mode_t {
| `- error: cannot find type 'mode_t' in scope
20 | switch self {
21 | case .blockDevice: S_IFBLK
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:27:20: error: cannot find 'stat' in scope
25 | try path.withPlatformString {
26 | var value: stat = .init()
27 | switch stat($0, &value) {
| `- error: cannot find 'stat' in scope
28 | case 0: return .init(value: value)
29 | case _: throw Errno.init(rawValue: errno)
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:29:48: error: cannot find 'errno' in scope
27 | switch stat($0, &value) {
28 | case 0: return .init(value: value)
29 | case _: throw Errno.init(rawValue: errno)
| `- error: cannot find 'errno' in scope
30 | }
31 | }
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:26:24: error: cannot find type 'stat' in scope
24 | public static func status(of path: FilePath) throws -> Self {
25 | try path.withPlatformString {
26 | var value: stat = .init()
| `- error: cannot find type 'stat' in scope
27 | switch stat($0, &value) {
28 | case 0: return .init(value: value)
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:25:18: error: type of expression is ambiguous without a type annotation
23 | extension FileStatus {
24 | public static func status(of path: FilePath) throws -> Self {
25 | try path.withPlatformString {
| `- error: type of expression is ambiguous without a type annotation
26 | var value: stat = .init()
27 | switch stat($0, &value) {
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:34:20: error: cannot find type 'stat' in scope
32 | }
33 | public static func status(of file: FileDescriptor) throws -> Self {
34 | var value: stat = .init()
| `- error: cannot find type 'stat' in scope
35 | switch fstat(file.rawValue, &value) {
36 | case 0: return .init(value: value)
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:35:16: error: cannot find 'fstat' in scope
33 | public static func status(of file: FileDescriptor) throws -> Self {
34 | var value: stat = .init()
35 | switch fstat(file.rawValue, &value) {
| `- error: cannot find 'fstat' in scope
36 | case 0: return .init(value: value)
37 | case _: throw Errno.init(rawValue: errno)
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:37:44: error: cannot find 'errno' in scope
35 | switch fstat(file.rawValue, &value) {
36 | case 0: return .init(value: value)
37 | case _: throw Errno.init(rawValue: errno)
| `- error: cannot find 'errno' in scope
38 | }
39 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:31:51: error: cannot find 'getcwd' in scope
29 | public static func current() -> Self? {
30 | guard
31 | let buffer: UnsafeMutablePointer<CChar> = getcwd(nil, 0) else {
| `- error: cannot find 'getcwd' in scope
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:31:58: error: 'nil' requires a contextual type
29 | public static func current() -> Self? {
30 | guard
31 | let buffer: UnsafeMutablePointer<CChar> = getcwd(nil, 0) else {
| `- error: 'nil' requires a contextual type
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:35:13: error: cannot find 'free' in scope
33 | }
34 | defer {
35 | free(buffer)
| `- error: cannot find 'free' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:17:30: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
15 | @usableFromInline @frozen enum Stream {
16 | case unopened(FilePath)
17 | case opened(FilePath.DirectoryPointer?)
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
18 | }
19 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:21:53: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
19 | }
20 | extension FilePath.DirectoryIterator.Stream {
21 | private mutating func open() throws -> FilePath.DirectoryPointer? {
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
22 | switch self {
23 | case .unopened(let path):
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:24:35: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
22 | switch self {
23 | case .unopened(let path):
24 | let pointer: FilePath.DirectoryPointer? = try path.withPlatformString {
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
25 | if let pointer: FilePath.DirectoryPointer = opendir($0) {
26 | return pointer
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:44:36: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
42 | }
43 | mutating func next() throws -> FilePath.Component? {
44 | guard let stream: FilePath.DirectoryPointer = try self.open() else {
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
45 | return nil
46 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:44:64: error: type of expression is ambiguous without a type annotation
42 | }
43 | mutating func next() throws -> FilePath.Component? {
44 | guard let stream: FilePath.DirectoryPointer = try self.open() else {
| `- error: type of expression is ambiguous without a type annotation
45 | return nil
46 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:48:46: error: cannot find type 'dirent' in scope
46 | }
47 |
48 | guard let offset: Int = MemoryLayout<dirent>.offset(of: \.d_name) else {
| `- error: cannot find type 'dirent' in scope
49 | fatalError("invalid `dirent` layout")
50 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:48:65: error: cannot infer key path type from context; consider explicitly specifying a root type
46 | }
47 |
48 | guard let offset: Int = MemoryLayout<dirent>.offset(of: \.d_name) else {
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
49 | fatalError("invalid `dirent` layout")
50 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:51:47: error: cannot find type 'dirent' in scope
49 | fatalError("invalid `dirent` layout")
50 | }
51 | while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
| `- error: cannot find type 'dirent' in scope
52 | // `entry` is likely statically-allocated, and has variable-length layout.
53 | // attemping to unbind or rebind memory would be meaningless, as we must
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:51:57: error: cannot find 'readdir' in scope
49 | fatalError("invalid `dirent` layout")
50 | }
51 | while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
| `- error: cannot find 'readdir' in scope
52 | // `entry` is likely statically-allocated, and has variable-length layout.
53 | // attemping to unbind or rebind memory would be meaningless, as we must
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:51:57: error: type of expression is ambiguous without a type annotation
49 | fatalError("invalid `dirent` layout")
50 | }
51 | while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
| `- error: type of expression is ambiguous without a type annotation
52 | // `entry` is likely statically-allocated, and has variable-length layout.
53 | // attemping to unbind or rebind memory would be meaningless, as we must
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:71:9: error: cannot find 'closedir' in scope
69 | }
70 |
71 | closedir(stream)
| `- error: cannot find 'closedir' in scope
72 | self = .opened(nil)
73 | return nil
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:72:24: error: 'nil' requires a contextual type
70 |
71 | closedir(stream)
72 | self = .opened(nil)
| `- error: 'nil' requires a contextual type
73 | return nil
74 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:76:39: error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
74 | }
75 | mutating func close() {
76 | guard case .opened(let stream?) = self else {
| `- error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
77 | return
78 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:76:21: error: type 'Errno' has no member 'opened'
74 | }
75 | mutating func close() {
76 | guard case .opened(let stream?) = self else {
| `- error: type 'Errno' has no member 'opened'
77 | return
78 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:80:9: error: cannot find 'closedir' in scope
78 | }
79 |
80 | closedir(stream)
| `- error: cannot find 'closedir' in scope
81 | self = .opened(nil)
82 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:81:24: error: 'nil' requires a contextual type
79 |
80 | closedir(stream)
81 | self = .opened(nil)
| `- error: 'nil' requires a contextual type
82 | }
83 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:31:51: error: cannot find 'getcwd' in scope
29 | public static func current() -> Self? {
30 | guard
31 | let buffer: UnsafeMutablePointer<CChar> = getcwd(nil, 0) else {
| `- error: cannot find 'getcwd' in scope
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:31:58: error: 'nil' requires a contextual type
29 | public static func current() -> Self? {
30 | guard
31 | let buffer: UnsafeMutablePointer<CChar> = getcwd(nil, 0) else {
| `- error: 'nil' requires a contextual type
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:35:13: error: cannot find 'free' in scope
33 | }
34 | defer {
35 | free(buffer)
| `- error: cannot find 'free' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:17:30: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
15 | @usableFromInline @frozen enum Stream {
16 | case unopened(FilePath)
17 | case opened(FilePath.DirectoryPointer?)
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
18 | }
19 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:21:53: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
19 | }
20 | extension FilePath.DirectoryIterator.Stream {
21 | private mutating func open() throws -> FilePath.DirectoryPointer? {
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
22 | switch self {
23 | case .unopened(let path):
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:24:35: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
22 | switch self {
23 | case .unopened(let path):
24 | let pointer: FilePath.DirectoryPointer? = try path.withPlatformString {
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
25 | if let pointer: FilePath.DirectoryPointer = opendir($0) {
26 | return pointer
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:44:36: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
42 | }
43 | mutating func next() throws -> FilePath.Component? {
44 | guard let stream: FilePath.DirectoryPointer = try self.open() else {
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
45 | return nil
46 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:44:64: error: type of expression is ambiguous without a type annotation
42 | }
43 | mutating func next() throws -> FilePath.Component? {
44 | guard let stream: FilePath.DirectoryPointer = try self.open() else {
| `- error: type of expression is ambiguous without a type annotation
45 | return nil
46 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:48:46: error: cannot find type 'dirent' in scope
46 | }
47 |
48 | guard let offset: Int = MemoryLayout<dirent>.offset(of: \.d_name) else {
| `- error: cannot find type 'dirent' in scope
49 | fatalError("invalid `dirent` layout")
50 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:48:65: error: cannot infer key path type from context; consider explicitly specifying a root type
46 | }
47 |
48 | guard let offset: Int = MemoryLayout<dirent>.offset(of: \.d_name) else {
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
49 | fatalError("invalid `dirent` layout")
50 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:51:47: error: cannot find type 'dirent' in scope
49 | fatalError("invalid `dirent` layout")
50 | }
51 | while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
| `- error: cannot find type 'dirent' in scope
52 | // `entry` is likely statically-allocated, and has variable-length layout.
53 | // attemping to unbind or rebind memory would be meaningless, as we must
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:51:57: error: cannot find 'readdir' in scope
49 | fatalError("invalid `dirent` layout")
50 | }
51 | while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
| `- error: cannot find 'readdir' in scope
52 | // `entry` is likely statically-allocated, and has variable-length layout.
53 | // attemping to unbind or rebind memory would be meaningless, as we must
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:51:57: error: type of expression is ambiguous without a type annotation
49 | fatalError("invalid `dirent` layout")
50 | }
51 | while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
| `- error: type of expression is ambiguous without a type annotation
52 | // `entry` is likely statically-allocated, and has variable-length layout.
53 | // attemping to unbind or rebind memory would be meaningless, as we must
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:71:9: error: cannot find 'closedir' in scope
69 | }
70 |
71 | closedir(stream)
| `- error: cannot find 'closedir' in scope
72 | self = .opened(nil)
73 | return nil
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:72:24: error: 'nil' requires a contextual type
70 |
71 | closedir(stream)
72 | self = .opened(nil)
| `- error: 'nil' requires a contextual type
73 | return nil
74 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:76:39: error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
74 | }
75 | mutating func close() {
76 | guard case .opened(let stream?) = self else {
| `- error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
77 | return
78 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:76:21: error: type 'Errno' has no member 'opened'
74 | }
75 | mutating func close() {
76 | guard case .opened(let stream?) = self else {
| `- error: type 'Errno' has no member 'opened'
77 | return
78 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:80:9: error: cannot find 'closedir' in scope
78 | }
79 |
80 | closedir(stream)
| `- error: cannot find 'closedir' in scope
81 | self = .opened(nil)
82 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:81:24: error: 'nil' requires a contextual type
79 |
80 | closedir(stream)
81 | self = .opened(nil)
| `- error: 'nil' requires a contextual type
82 | }
83 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:31:51: error: cannot find 'getcwd' in scope
29 | public static func current() -> Self? {
30 | guard
31 | let buffer: UnsafeMutablePointer<CChar> = getcwd(nil, 0) else {
| `- error: cannot find 'getcwd' in scope
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:31:58: error: 'nil' requires a contextual type
29 | public static func current() -> Self? {
30 | guard
31 | let buffer: UnsafeMutablePointer<CChar> = getcwd(nil, 0) else {
| `- error: 'nil' requires a contextual type
32 | return nil
33 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:35:13: error: cannot find 'free' in scope
33 | }
34 | defer {
35 | free(buffer)
| `- error: cannot find 'free' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:17:30: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
15 | @usableFromInline @frozen enum Stream {
16 | case unopened(FilePath)
17 | case opened(FilePath.DirectoryPointer?)
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
18 | }
19 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:21:53: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
19 | }
20 | extension FilePath.DirectoryIterator.Stream {
21 | private mutating func open() throws -> FilePath.DirectoryPointer? {
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
22 | switch self {
23 | case .unopened(let path):
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:24:35: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
22 | switch self {
23 | case .unopened(let path):
24 | let pointer: FilePath.DirectoryPointer? = try path.withPlatformString {
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
25 | if let pointer: FilePath.DirectoryPointer = opendir($0) {
26 | return pointer
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:44:36: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
42 | }
43 | mutating func next() throws -> FilePath.Component? {
44 | guard let stream: FilePath.DirectoryPointer = try self.open() else {
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
45 | return nil
46 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:44:64: error: type of expression is ambiguous without a type annotation
42 | }
43 | mutating func next() throws -> FilePath.Component? {
44 | guard let stream: FilePath.DirectoryPointer = try self.open() else {
| `- error: type of expression is ambiguous without a type annotation
45 | return nil
46 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:48:46: error: cannot find type 'dirent' in scope
46 | }
47 |
48 | guard let offset: Int = MemoryLayout<dirent>.offset(of: \.d_name) else {
| `- error: cannot find type 'dirent' in scope
49 | fatalError("invalid `dirent` layout")
50 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:48:65: error: cannot infer key path type from context; consider explicitly specifying a root type
46 | }
47 |
48 | guard let offset: Int = MemoryLayout<dirent>.offset(of: \.d_name) else {
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
49 | fatalError("invalid `dirent` layout")
50 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:51:47: error: cannot find type 'dirent' in scope
49 | fatalError("invalid `dirent` layout")
50 | }
51 | while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
| `- error: cannot find type 'dirent' in scope
52 | // `entry` is likely statically-allocated, and has variable-length layout.
53 | // attemping to unbind or rebind memory would be meaningless, as we must
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:51:57: error: cannot find 'readdir' in scope
49 | fatalError("invalid `dirent` layout")
50 | }
51 | while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
| `- error: cannot find 'readdir' in scope
52 | // `entry` is likely statically-allocated, and has variable-length layout.
53 | // attemping to unbind or rebind memory would be meaningless, as we must
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:51:57: error: type of expression is ambiguous without a type annotation
49 | fatalError("invalid `dirent` layout")
50 | }
51 | while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
| `- error: type of expression is ambiguous without a type annotation
52 | // `entry` is likely statically-allocated, and has variable-length layout.
53 | // attemping to unbind or rebind memory would be meaningless, as we must
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:71:9: error: cannot find 'closedir' in scope
69 | }
70 |
71 | closedir(stream)
| `- error: cannot find 'closedir' in scope
72 | self = .opened(nil)
73 | return nil
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:72:24: error: 'nil' requires a contextual type
70 |
71 | closedir(stream)
72 | self = .opened(nil)
| `- error: 'nil' requires a contextual type
73 | return nil
74 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:76:39: error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
74 | }
75 | mutating func close() {
76 | guard case .opened(let stream?) = self else {
| `- error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
77 | return
78 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:76:21: error: type 'Errno' has no member 'opened'
74 | }
75 | mutating func close() {
76 | guard case .opened(let stream?) = self else {
| `- error: type 'Errno' has no member 'opened'
77 | return
78 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:80:9: error: cannot find 'closedir' in scope
78 | }
79 |
80 | closedir(stream)
| `- error: cannot find 'closedir' in scope
81 | self = .opened(nil)
82 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:81:24: error: 'nil' requires a contextual type
79 |
80 | closedir(stream)
81 | self = .opened(nil)
| `- error: 'nil' requires a contextual type
82 | }
83 | }
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileSystemStats.swift:55:20: error: cannot find type 'statvfs' in scope
53 | extension FileSystemStats {
54 | public static func containing(path: FilePath) throws -> Self {
55 | let stats: statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1) {
| `- error: cannot find type 'statvfs' in scope
56 | guard case 0 = statvfs(path.string, &$0[0]) else {
57 | throw Errno.init(rawValue: errno)
/host/spi-builder-workspace/Sources/SystemIO/FileSystemStats.swift:63:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
61 | }
62 | // Explicit `UInt32 -> UInt` conversion needed on Darwin.
63 | return .init(
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
64 | id: UInt.init(stats.f_fsid),
65 | fragmentCount: UInt.init(stats.f_blocks),
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:19:26: error: cannot find type 'mode_t' in scope
17 | }
18 | extension FileType {
19 | @inlinable var mask: mode_t {
| `- error: cannot find type 'mode_t' in scope
20 | switch self {
21 | case .blockDevice: S_IFBLK
/host/spi-builder-workspace/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SystemIO/FileSystemStats.swift:55:20: error: cannot find type 'statvfs' in scope
53 | extension FileSystemStats {
54 | public static func containing(path: FilePath) throws -> Self {
55 | let stats: statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1) {
| `- error: cannot find type 'statvfs' in scope
56 | guard case 0 = statvfs(path.string, &$0[0]) else {
57 | throw Errno.init(rawValue: errno)
/host/spi-builder-workspace/Sources/SystemIO/FileSystemStats.swift:63:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
61 | }
62 | // Explicit `UInt32 -> UInt` conversion needed on Darwin.
63 | return .init(
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
64 | id: UInt.init(stats.f_fsid),
65 | fragmentCount: UInt.init(stats.f_blocks),
/host/spi-builder-workspace/Sources/SystemIO/FileType.swift:19:26: error: cannot find type 'mode_t' in scope
17 | }
18 | extension FileType {
19 | @inlinable var mask: mode_t {
| `- error: cannot find type 'mode_t' in scope
20 | switch self {
21 | case .blockDevice: S_IFBLK
BUILD FAILURE 6.2 android