Build Information
Failed to build archer, reference 0.1.0 (baf588), with Swift 6.3 for Android on 15 Apr 2026 17:21:00 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/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tayloraswift/archer.git
Reference: 0.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/tayloraswift/archer
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at baf5882 switch S3 bucket
Cloned https://github.com/tayloraswift/archer.git
Revision (git rev-parse @):
baf58823159522c7095f6d1544be1d2dd4b83a3e
SUCCESS checkout https://github.com/tayloraswift/archer.git at 0.1.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/tayloraswift/archer.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/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/tayloraswift/swift-io
[1/305] Fetching swift-io
Fetched https://github.com/tayloraswift/swift-io from cache (0.25s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-system
Fetching https://github.com/swiftwasm/WasmTransformer
[1/809] Fetching wasmtransformer
Fetched https://github.com/swiftwasm/WasmTransformer from cache (0.25s)
[1/17523] Fetching swift-argument-parser
[177/23124] Fetching swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-system from cache (1.02s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.03s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (1.55s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.46s)
Computing version for https://github.com/swiftwasm/WasmTransformer
Computed https://github.com/swiftwasm/WasmTransformer at 0.5.0 (2.92s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Creating working copy for https://github.com/swiftwasm/WasmTransformer
Working copy of https://github.com/swiftwasm/WasmTransformer resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
Creating working copy for https://github.com/tayloraswift/swift-io
Working copy of https://github.com/tayloraswift/swift-io resolved at master (dddfd29)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/23] Write sources
[10/23] Compiling _GitVersion swiftpm_git_version.c
[11/23] Compiling CSystem shims.c
[12/23] Write swift-version--4F562202D5529B1.txt
[14/75] Emitting module WasmTransformer
[15/77] Emitting module SystemPackage
[16/81] Compiling WasmTransformer StackOverflowSanitizer.swift
[17/81] Compiling WasmTransformer WasmTransformer.swift
[18/81] Compiling SystemPackage FilePathWindows.swift
[19/81] Compiling SystemPackage FilePermissions.swift
[20/81] Compiling SystemPackage IOCompletion.swift
[21/81] Compiling SystemPackage IORequest.swift
[22/81] Compiling SystemPackage RawBuffer.swift
[23/81] Compiling SystemPackage IORing.swift
[24/81] Compiling SystemPackage FilePathParsing.swift
[25/81] Compiling SystemPackage FilePathString.swift
[27/81] Compiling SystemPackage Errno.swift
[28/81] Compiling SystemPackage ErrnoWindows.swift
[29/81] Compiling SystemPackage FileDescriptor.swift
[30/81] Compiling SystemPackage FileHelpers.swift
[31/81] Compiling SystemPackage FileOperations.swift
[32/81] Compiling SystemPackage FilePath.swift
[33/81] Compiling SystemPackage FilePathComponentView.swift
[34/81] Compiling SystemPackage FilePathComponents.swift
[38/81] Compiling SystemPackage Syscalls.swift
[39/81] Compiling SystemPackage WindowsSyscallAdapters.swift
[40/81] Compiling SystemPackage MachPort.swift
[41/81] Compiling SystemPackage PlatformString.swift
[42/81] Compiling SystemPackage Constants.swift
[43/81] Compiling SystemPackage Exports.swift
[44/81] Compiling SystemPackage Mocking.swift
[45/82] Compiling SystemPackage FilePathSyntax.swift
[46/82] Compiling SystemPackage FilePathTemp.swift
[47/82] Compiling SystemPackage FilePathTempPosix.swift
[48/82] Compiling SystemPackage FilePathTempWindows.swift
[55/82] Compiling SystemPackage SystemString.swift
[56/82] Compiling SystemPackage Util+StringArray.swift
[57/82] Compiling SystemPackage Util.swift
[58/82] Compiling SystemPackage UtilConsumers.swift
[58/82] Wrapping AST for WasmTransformer for debugging
[60/82] Emitting module ArgumentParserToolInfo
[61/82] Compiling ArgumentParserToolInfo ToolInfo.swift
[62/83] Wrapping AST for ArgumentParserToolInfo for debugging
[64/129] Compiling ArgumentParser ParsedValues.swift
[65/129] Compiling ArgumentParser ParserError.swift
[66/129] Compiling ArgumentParser SplitArguments.swift
[67/129] Compiling ArgumentParser ParsableCommand.swift
[68/129] Compiling ArgumentParser ParsableArguments.swift
[69/129] Compiling ArgumentParser InputOrigin.swift
[70/129] Compiling ArgumentParser Name.swift
[71/129] Compiling ArgumentParser Parsed.swift
[72/129] Compiling ArgumentParser CommandConfiguration.swift
[73/129] Compiling ArgumentParser CommandGroup.swift
[74/129] Compiling ArgumentParser EnumerableFlag.swift
[75/129] Compiling ArgumentParser ExpressibleByArgument.swift
[76/130] Wrapping AST for SystemPackage for debugging
[78/151] Emitting module ArgumentParser
[79/157] Compiling SystemIO FileStatus.swift
[80/157] Compiling SystemIO FileSystemStats.swift
[81/157] Compiling SystemIO FilePath.DirectoryIterator.Stream.swift
[82/157] Compiling SystemIO FilePath.DirectoryIterator.swift
[83/157] Compiling SystemIO FilePath.DirectoryPointer.swift
[84/157] Compiling SystemIO FileType.swift
[85/157] Compiling SystemIO SystemProcess.EnvironmentEncoder.swift
[86/157] Compiling ArgumentParser Tree.swift
[87/157] Compiling ArgumentParser CodingKeyValidator.swift
[88/157] Compiling ArgumentParser NonsenseFlagsValidator.swift
[89/157] Compiling ArgumentParser ParsableArgumentsValidation.swift
[90/157] Compiling ArgumentParser PositionalArgumentsValidator.swift
[91/157] Compiling ArgumentParser UniqueNamesValidator.swift
[92/157] Compiling SystemIO FileError.swift
[93/157] Compiling SystemIO FilePath (ext).swift
[94/157] Compiling SystemIO FilePath.Directory.swift
[95/157] Compiling SystemIO Environment.VariableError.swift
[96/157] Compiling SystemIO Environment.swift
[97/157] Compiling SystemIO FileDescriptor (ext).swift
[98/157] Compiling SystemIO FileSeekError.swift
[99/157] Compiling ArgumentParser ArgumentVisibility.swift
[100/157] Compiling ArgumentParser CompletionKind.swift
[101/157] Compiling ArgumentParser Errors.swift
[102/157] Compiling ArgumentParser Flag.swift
[103/157] Compiling ArgumentParser NameSpecification.swift
[104/157] Compiling ArgumentParser Option.swift
[105/157] Compiling ArgumentParser OptionGroup.swift
[106/157] Compiling ArgumentParser Foundation.swift
[107/157] Compiling ArgumentParser Mutex.swift
[108/157] Compiling ArgumentParser Platform.swift
[109/157] Compiling ArgumentParser SequenceExtensions.swift
[110/157] Compiling ArgumentParser StringExtensions.swift
[111/157] Compiling ArgumentParser SwiftExtensions.swift
[112/157] Compiling ArgumentParser DumpHelpGenerator.swift
[113/157] Compiling ArgumentParser HelpCommand.swift
[114/157] Compiling ArgumentParser HelpGenerator.swift
[115/157] Compiling ArgumentParser MessageInfo.swift
[116/157] Compiling ArgumentParser UsageGenerator.swift
[117/157] Compiling ArgumentParser CollectionExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift: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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift: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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift: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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift: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/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:21:33: error: cannot find 'S_IFBLK' in scope
19 | @inlinable var mask: mode_t {
20 | switch self {
21 | case .blockDevice: S_IFBLK
| `- error: cannot find 'S_IFBLK' in scope
22 | case .characterDevice: S_IFCHR
23 | case .directory: S_IFDIR
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:22:33: error: cannot find 'S_IFCHR' in scope
20 | switch self {
21 | case .blockDevice: S_IFBLK
22 | case .characterDevice: S_IFCHR
| `- error: cannot find 'S_IFCHR' in scope
23 | case .directory: S_IFDIR
24 | case .fifo: S_IFIFO
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:33: error: cannot find 'S_IFDIR' in scope
21 | case .blockDevice: S_IFBLK
22 | case .characterDevice: S_IFCHR
23 | case .directory: S_IFDIR
| `- error: cannot find 'S_IFDIR' in scope
24 | case .fifo: S_IFIFO
25 | case .regular: S_IFREG
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:24:33: error: cannot find 'S_IFIFO' in scope
22 | case .characterDevice: S_IFCHR
23 | case .directory: S_IFDIR
24 | case .fifo: S_IFIFO
| `- error: cannot find 'S_IFIFO' in scope
25 | case .regular: S_IFREG
26 | case .socket: S_IFSOCK
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:25:33: error: cannot find 'S_IFREG' in scope
23 | case .directory: S_IFDIR
24 | case .fifo: S_IFIFO
25 | case .regular: S_IFREG
| `- error: cannot find 'S_IFREG' in scope
26 | case .socket: S_IFSOCK
27 | case .symlink: S_IFLNK
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:26:33: error: cannot find 'S_IFSOCK' in scope
24 | case .fifo: S_IFIFO
25 | case .regular: S_IFREG
26 | case .socket: S_IFSOCK
| `- error: cannot find 'S_IFSOCK' in scope
27 | case .symlink: S_IFLNK
28 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:27:33: error: cannot find 'S_IFLNK' in scope
25 | case .regular: S_IFREG
26 | case .socket: S_IFSOCK
27 | case .symlink: S_IFLNK
| `- error: cannot find 'S_IFLNK' in scope
28 | }
29 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:46:49: error: cannot find 'environ' in scope
44 | to: CChar.self
45 | ).baseAddress else {
46 | return try yield(self.inherit ? environ : nil)
| `- error: cannot find 'environ' in scope
47 | }
48 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:50:29: error: cannot find 'environ' in scope
48 |
49 | var inherited: Int = 0
50 | while case _? = environ[inherited] {
| `- error: cannot find 'environ' in scope
51 | inherited += 1
52 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:59:53: error: cannot find 'environ' in scope
57 | ) {
58 | for i: Int in 0 ..< inherited {
59 | $0.initializeElement(at: i, to: environ[i])
| `- error: cannot find 'environ' in scope
60 | }
61 | var i: Int = inherited
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift: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/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:21:33: error: cannot find 'S_IFBLK' in scope
19 | @inlinable var mask: mode_t {
20 | switch self {
21 | case .blockDevice: S_IFBLK
| `- error: cannot find 'S_IFBLK' in scope
22 | case .characterDevice: S_IFCHR
23 | case .directory: S_IFDIR
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:22:33: error: cannot find 'S_IFCHR' in scope
20 | switch self {
21 | case .blockDevice: S_IFBLK
22 | case .characterDevice: S_IFCHR
| `- error: cannot find 'S_IFCHR' in scope
23 | case .directory: S_IFDIR
24 | case .fifo: S_IFIFO
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:33: error: cannot find 'S_IFDIR' in scope
21 | case .blockDevice: S_IFBLK
22 | case .characterDevice: S_IFCHR
23 | case .directory: S_IFDIR
| `- error: cannot find 'S_IFDIR' in scope
24 | case .fifo: S_IFIFO
25 | case .regular: S_IFREG
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:24:33: error: cannot find 'S_IFIFO' in scope
22 | case .characterDevice: S_IFCHR
23 | case .directory: S_IFDIR
24 | case .fifo: S_IFIFO
| `- error: cannot find 'S_IFIFO' in scope
25 | case .regular: S_IFREG
26 | case .socket: S_IFSOCK
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:25:33: error: cannot find 'S_IFREG' in scope
23 | case .directory: S_IFDIR
24 | case .fifo: S_IFIFO
25 | case .regular: S_IFREG
| `- error: cannot find 'S_IFREG' in scope
26 | case .socket: S_IFSOCK
27 | case .symlink: S_IFLNK
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:26:33: error: cannot find 'S_IFSOCK' in scope
24 | case .fifo: S_IFIFO
25 | case .regular: S_IFREG
26 | case .socket: S_IFSOCK
| `- error: cannot find 'S_IFSOCK' in scope
27 | case .symlink: S_IFLNK
28 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:27:33: error: cannot find 'S_IFLNK' in scope
25 | case .regular: S_IFREG
26 | case .socket: S_IFSOCK
27 | case .symlink: S_IFLNK
| `- error: cannot find 'S_IFLNK' in scope
28 | }
29 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:46:49: error: cannot find 'environ' in scope
44 | to: CChar.self
45 | ).baseAddress else {
46 | return try yield(self.inherit ? environ : nil)
| `- error: cannot find 'environ' in scope
47 | }
48 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:50:29: error: cannot find 'environ' in scope
48 |
49 | var inherited: Int = 0
50 | while case _? = environ[inherited] {
| `- error: cannot find 'environ' in scope
51 | inherited += 1
52 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:59:53: error: cannot find 'environ' in scope
57 | ) {
58 | for i: Int in 0 ..< inherited {
59 | $0.initializeElement(at: i, to: environ[i])
| `- error: cannot find 'environ' in scope
60 | }
61 | var i: Int = inherited
[123/159] Compiling SystemIO SystemProcess.EnvironmentSpecification.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift: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/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:21:33: error: cannot find 'S_IFBLK' in scope
19 | @inlinable var mask: mode_t {
20 | switch self {
21 | case .blockDevice: S_IFBLK
| `- error: cannot find 'S_IFBLK' in scope
22 | case .characterDevice: S_IFCHR
23 | case .directory: S_IFDIR
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:22:33: error: cannot find 'S_IFCHR' in scope
20 | switch self {
21 | case .blockDevice: S_IFBLK
22 | case .characterDevice: S_IFCHR
| `- error: cannot find 'S_IFCHR' in scope
23 | case .directory: S_IFDIR
24 | case .fifo: S_IFIFO
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:33: error: cannot find 'S_IFDIR' in scope
21 | case .blockDevice: S_IFBLK
22 | case .characterDevice: S_IFCHR
23 | case .directory: S_IFDIR
| `- error: cannot find 'S_IFDIR' in scope
24 | case .fifo: S_IFIFO
25 | case .regular: S_IFREG
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:24:33: error: cannot find 'S_IFIFO' in scope
22 | case .characterDevice: S_IFCHR
23 | case .directory: S_IFDIR
24 | case .fifo: S_IFIFO
| `- error: cannot find 'S_IFIFO' in scope
25 | case .regular: S_IFREG
26 | case .socket: S_IFSOCK
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:25:33: error: cannot find 'S_IFREG' in scope
23 | case .directory: S_IFDIR
24 | case .fifo: S_IFIFO
25 | case .regular: S_IFREG
| `- error: cannot find 'S_IFREG' in scope
26 | case .socket: S_IFSOCK
27 | case .symlink: S_IFLNK
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:26:33: error: cannot find 'S_IFSOCK' in scope
24 | case .fifo: S_IFIFO
25 | case .regular: S_IFREG
26 | case .socket: S_IFSOCK
| `- error: cannot find 'S_IFSOCK' in scope
27 | case .symlink: S_IFLNK
28 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:27:33: error: cannot find 'S_IFLNK' in scope
25 | case .regular: S_IFREG
26 | case .socket: S_IFSOCK
27 | case .symlink: S_IFLNK
| `- error: cannot find 'S_IFLNK' in scope
28 | }
29 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:46:49: error: cannot find 'environ' in scope
44 | to: CChar.self
45 | ).baseAddress else {
46 | return try yield(self.inherit ? environ : nil)
| `- error: cannot find 'environ' in scope
47 | }
48 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:50:29: error: cannot find 'environ' in scope
48 |
49 | var inherited: Int = 0
50 | while case _? = environ[inherited] {
| `- error: cannot find 'environ' in scope
51 | inherited += 1
52 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:59:53: error: cannot find 'environ' in scope
57 | ) {
58 | for i: Int in 0 ..< inherited {
59 | $0.initializeElement(at: i, to: environ[i])
| `- error: cannot find 'environ' in scope
60 | }
61 | var i: Int = inherited
[124/159] Compiling SystemIO SystemProcess.Stream.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift: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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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 | }
[125/159] Compiling SystemIO SystemProcess.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift: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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[126/159] Emitting module SystemIO
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/Environment.swift:12:56: error: cannot find 'getenv' in scope
10 | extension Environment {
11 | @inlinable public static subscript(_ name: String) -> String? {
12 | if let cString: UnsafeMutablePointer<CChar> = getenv(name) {
| `- error: cannot find 'getenv' in scope
13 | return String.init(cString: cString)
14 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:21:33: error: cannot find 'S_IFBLK' in scope
19 | @inlinable var mask: mode_t {
20 | switch self {
21 | case .blockDevice: S_IFBLK
| `- error: cannot find 'S_IFBLK' in scope
22 | case .characterDevice: S_IFCHR
23 | case .directory: S_IFDIR
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:22:33: error: cannot find 'S_IFCHR' in scope
20 | switch self {
21 | case .blockDevice: S_IFBLK
22 | case .characterDevice: S_IFCHR
| `- error: cannot find 'S_IFCHR' in scope
23 | case .directory: S_IFDIR
24 | case .fifo: S_IFIFO
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:33: error: cannot find 'S_IFDIR' in scope
21 | case .blockDevice: S_IFBLK
22 | case .characterDevice: S_IFCHR
23 | case .directory: S_IFDIR
| `- error: cannot find 'S_IFDIR' in scope
24 | case .fifo: S_IFIFO
25 | case .regular: S_IFREG
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:24:33: error: cannot find 'S_IFIFO' in scope
22 | case .characterDevice: S_IFCHR
23 | case .directory: S_IFDIR
24 | case .fifo: S_IFIFO
| `- error: cannot find 'S_IFIFO' in scope
25 | case .regular: S_IFREG
26 | case .socket: S_IFSOCK
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:25:33: error: cannot find 'S_IFREG' in scope
23 | case .directory: S_IFDIR
24 | case .fifo: S_IFIFO
25 | case .regular: S_IFREG
| `- error: cannot find 'S_IFREG' in scope
26 | case .socket: S_IFSOCK
27 | case .symlink: S_IFLNK
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:26:33: error: cannot find 'S_IFSOCK' in scope
24 | case .fifo: S_IFIFO
25 | case .regular: S_IFREG
26 | case .socket: S_IFSOCK
| `- error: cannot find 'S_IFSOCK' in scope
27 | case .symlink: S_IFLNK
28 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:27:33: error: cannot find 'S_IFLNK' in scope
25 | case .regular: S_IFREG
26 | case .socket: S_IFSOCK
27 | case .symlink: S_IFLNK
| `- error: cannot find 'S_IFLNK' in scope
28 | }
29 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/Environment.swift:12:56: error: cannot find 'getenv' in scope
10 | extension Environment {
11 | @inlinable public static subscript(_ name: String) -> String? {
12 | if let cString: UnsafeMutablePointer<CChar> = getenv(name) {
| `- error: cannot find 'getenv' in scope
13 | return String.init(cString: cString)
14 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/Environment.swift:12:56: error: cannot find 'getenv' in scope
10 | extension Environment {
11 | @inlinable public static subscript(_ name: String) -> String? {
12 | if let cString: UnsafeMutablePointer<CChar> = getenv(name) {
| `- error: cannot find 'getenv' in scope
13 | return String.init(cString: cString)
14 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/Environment.swift:12:56: error: cannot find 'getenv' in scope
10 | extension Environment {
11 | @inlinable public static subscript(_ name: String) -> String? {
12 | if let cString: UnsafeMutablePointer<CChar> = getenv(name) {
| `- error: cannot find 'getenv' in scope
13 | return String.init(cString: cString)
14 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:25:62: error: cannot find 'opendir' in scope
23 | case .unopened(let path):
24 | let pointer: FilePath.DirectoryPointer? = try path.withPlatformString {
25 | if let pointer: FilePath.DirectoryPointer = opendir($0) {
| `- error: cannot find 'opendir' in scope
26 | return pointer
27 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:28:45: error: cannot find 'errno' in scope
26 | return pointer
27 | }
28 | switch Errno.init(rawValue: errno) {
| `- error: cannot find 'errno' in scope
29 | case .notDirectory:
30 | return nil
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:25:43: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
23 | case .unopened(let path):
24 | let pointer: FilePath.DirectoryPointer? = try path.withPlatformString {
25 | if let pointer: FilePath.DirectoryPointer = opendir($0) {
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
26 | return pointer
27 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift: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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:25:62: error: cannot find 'opendir' in scope
23 | case .unopened(let path):
24 | let pointer: FilePath.DirectoryPointer? = try path.withPlatformString {
25 | if let pointer: FilePath.DirectoryPointer = opendir($0) {
| `- error: cannot find 'opendir' in scope
26 | return pointer
27 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:28:45: error: cannot find 'errno' in scope
26 | return pointer
27 | }
28 | switch Errno.init(rawValue: errno) {
| `- error: cannot find 'errno' in scope
29 | case .notDirectory:
30 | return nil
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:25:43: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
23 | case .unopened(let path):
24 | let pointer: FilePath.DirectoryPointer? = try path.withPlatformString {
25 | if let pointer: FilePath.DirectoryPointer = opendir($0) {
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
26 | return pointer
27 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift: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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:25:62: error: cannot find 'opendir' in scope
23 | case .unopened(let path):
24 | let pointer: FilePath.DirectoryPointer? = try path.withPlatformString {
25 | if let pointer: FilePath.DirectoryPointer = opendir($0) {
| `- error: cannot find 'opendir' in scope
26 | return pointer
27 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:28:45: error: cannot find 'errno' in scope
26 | return pointer
27 | }
28 | switch Errno.init(rawValue: errno) {
| `- error: cannot find 'errno' in scope
29 | case .notDirectory:
30 | return nil
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:25:43: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
23 | case .unopened(let path):
24 | let pointer: FilePath.DirectoryPointer? = try path.withPlatformString {
25 | if let pointer: FilePath.DirectoryPointer = opendir($0) {
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
26 | return pointer
27 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift: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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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 | }
[133/159] Compiling SystemIO SystemProcessError.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
[134/159] Compiling SystemIO lexemes.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
[136/159] Compiling SystemIO FilePermissions (ext).swift
[137/159] Compiling SystemIO FilePermissions.Component.swift
[138/159] Compiling SystemIO FileReadError.swift
[143/159] Compiling ArgumentParser ArgumentDefinition.swift
[144/159] Compiling ArgumentParser ArgumentSet.swift
[145/159] Compiling ArgumentParser CommandParser.swift
[146/159] Compiling ArgumentParser InputKey.swift
[147/160] Wrapping AST for ArgumentParser for debugging
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:55:68: error: cannot find '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 'statvfs' in scope
56 | guard case 0 = statvfs(path.string, &$0[0]) else {
57 | throw Errno.init(rawValue: errno)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:56:28: error: cannot find 'statvfs' in scope
54 | public static func containing(path: FilePath) throws -> Self {
55 | let stats: statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1) {
56 | guard case 0 = statvfs(path.string, &$0[0]) else {
| `- error: cannot find 'statvfs' in scope
57 | throw Errno.init(rawValue: errno)
58 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:57:44: error: cannot find 'errno' in scope
55 | let stats: statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1) {
56 | guard case 0 = statvfs(path.string, &$0[0]) else {
57 | throw Errno.init(rawValue: errno)
| `- error: cannot find 'errno' in scope
58 | }
59 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:55:34: error: generic parameter 'T' could not be inferred
53 | extension FileSystemStats {
54 | public static func containing(path: FilePath) throws -> Self {
55 | let stats: statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1) {
| `- error: generic parameter 'T' could not be inferred
56 | guard case 0 = statvfs(path.string, &$0[0]) else {
57 | throw Errno.init(rawValue: errno)
Swift.withUnsafeTemporaryAllocation:1:13: note: in call to function 'withUnsafeTemporaryAllocation(of:capacity:_:)'
1 | public func withUnsafeTemporaryAllocation<T, R, E>(of type: T.Type, capacity: Int, _ body: (UnsafeMutableBufferPointer<T>) throws(E) -> R) throws(E) -> R where E : Error, T : ~Copyable, R : ~Copyable
| `- note: in call to function 'withUnsafeTemporaryAllocation(of:capacity:_:)'
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:55:68: error: cannot find '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 'statvfs' in scope
56 | guard case 0 = statvfs(path.string, &$0[0]) else {
57 | throw Errno.init(rawValue: errno)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:56:28: error: cannot find 'statvfs' in scope
54 | public static func containing(path: FilePath) throws -> Self {
55 | let stats: statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1) {
56 | guard case 0 = statvfs(path.string, &$0[0]) else {
| `- error: cannot find 'statvfs' in scope
57 | throw Errno.init(rawValue: errno)
58 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:57:44: error: cannot find 'errno' in scope
55 | let stats: statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1) {
56 | guard case 0 = statvfs(path.string, &$0[0]) else {
57 | throw Errno.init(rawValue: errno)
| `- error: cannot find 'errno' in scope
58 | }
59 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:55:34: error: generic parameter 'T' could not be inferred
53 | extension FileSystemStats {
54 | public static func containing(path: FilePath) throws -> Self {
55 | let stats: statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1) {
| `- error: generic parameter 'T' could not be inferred
56 | guard case 0 = statvfs(path.string, &$0[0]) else {
57 | throw Errno.init(rawValue: errno)
Swift.withUnsafeTemporaryAllocation:1:13: note: in call to function 'withUnsafeTemporaryAllocation(of:capacity:_:)'
1 | public func withUnsafeTemporaryAllocation<T, R, E>(of type: T.Type, capacity: Int, _ body: (UnsafeMutableBufferPointer<T>) throws(E) -> R) throws(E) -> R where E : Error, T : ~Copyable, R : ~Copyable
| `- note: in call to function 'withUnsafeTemporaryAllocation(of:capacity:_:)'
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:55:68: error: cannot find '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 'statvfs' in scope
56 | guard case 0 = statvfs(path.string, &$0[0]) else {
57 | throw Errno.init(rawValue: errno)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:56:28: error: cannot find 'statvfs' in scope
54 | public static func containing(path: FilePath) throws -> Self {
55 | let stats: statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1) {
56 | guard case 0 = statvfs(path.string, &$0[0]) else {
| `- error: cannot find 'statvfs' in scope
57 | throw Errno.init(rawValue: errno)
58 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:57:44: error: cannot find 'errno' in scope
55 | let stats: statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1) {
56 | guard case 0 = statvfs(path.string, &$0[0]) else {
57 | throw Errno.init(rawValue: errno)
| `- error: cannot find 'errno' in scope
58 | }
59 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:55:34: error: generic parameter 'T' could not be inferred
53 | extension FileSystemStats {
54 | public static func containing(path: FilePath) throws -> Self {
55 | let stats: statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1) {
| `- error: generic parameter 'T' could not be inferred
56 | guard case 0 = statvfs(path.string, &$0[0]) else {
57 | throw Errno.init(rawValue: errno)
Swift.withUnsafeTemporaryAllocation:1:13: note: in call to function 'withUnsafeTemporaryAllocation(of:capacity:_:)'
1 | public func withUnsafeTemporaryAllocation<T, R, E>(of type: T.Type, capacity: Int, _ body: (UnsafeMutableBufferPointer<T>) throws(E) -> R) throws(E) -> R where E : Error, T : ~Copyable, R : ~Copyable
| `- note: in call to function 'withUnsafeTemporaryAllocation(of:capacity:_:)'
/host/spi-builder-workspace/.build/checkouts/swift-io/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/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
8 | import Glibc
9 | #else
10 | #error("unsupported platform")
| `- error: unsupported platform
11 | #endif
12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
BUILD FAILURE 6.3 android