The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build archer, reference master (3aead0), with Swift 6.1 for Android on 30 May 2025 07:57:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tayloraswift/archer.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/tayloraswift/archer
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 3aead02 adopt withSingleDash: true
Cloned https://github.com/tayloraswift/archer.git
Revision (git rev-parse @):
3aead02a105ebf24a150f23498589d5ca8037d41
SUCCESS checkout https://github.com/tayloraswift/archer.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tayloraswift/archer.git
https://github.com/tayloraswift/archer.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "wasmtransformer",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftwasm/WasmTransformer"
    },
    {
      "identity" : "swift-io",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tayloraswift/swift-io"
    }
  ],
  "manifest_display_name" : "archer",
  "name" : "archer",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "18.0"
    },
    {
      "name" : "visionos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "archer",
      "targets" : [
        "ArcherCommands"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "_GitVersion",
      "module_type" : "ClangTarget",
      "name" : "_GitVersion",
      "path" : "Sources/_GitVersion",
      "product_memberships" : [
        "archer"
      ],
      "sources" : [
        "swiftpm_git_version.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ArcherCommands",
      "module_type" : "SwiftTarget",
      "name" : "ArcherCommands",
      "path" : "Sources/ArcherCommands",
      "product_dependencies" : [
        "ArgumentParser",
        "System_ArgumentParser"
      ],
      "product_memberships" : [
        "archer"
      ],
      "sources" : [
        "ArcherCommand.Crush.swift",
        "ArcherCommand.Init.swift",
        "ArcherCommand.Version.swift",
        "ArcherCommand.swift"
      ],
      "target_dependencies" : [
        "Archer",
        "_GitVersion"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Archer",
      "module_type" : "SwiftTarget",
      "name" : "Archer",
      "path" : "Sources/Archer",
      "product_dependencies" : [
        "SystemIO",
        "WasmTransformer"
      ],
      "product_memberships" : [
        "archer"
      ],
      "sources" : [
        "Archer.Bundle.swift",
        "Archer.Crusher.swift",
        "Archer.swift",
        "_CartonResources (gen).swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/tayloraswift/swift-io
[1/71] Fetching swift-io
Fetched https://github.com/tayloraswift/swift-io from cache (0.27s)
Fetching https://github.com/swiftwasm/WasmTransformer
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-system
[1/4391] Fetching swift-system
[2021/5200] Fetching swift-system, wasmtransformer
Fetched https://github.com/swiftwasm/WasmTransformer from cache (0.42s)
Fetched https://github.com/apple/swift-system from cache (0.42s)
[1/15386] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.09s)
Computing version for https://github.com/swiftwasm/WasmTransformer
Computed https://github.com/swiftwasm/WasmTransformer at 0.5.0 (3.70s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.58s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.71s)
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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/tayloraswift/swift-io
Working copy of https://github.com/tayloraswift/swift-io resolved at master (1cbe8b2)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/22] Write sources
[9/22] Compiling CSystem shims.c
[10/22] Compiling _GitVersion swiftpm_git_version.c
[11/22] Write swift-version-24593BA9C3E375BF.txt
[13/71] Emitting module WasmTransformer
[14/73] Emitting module SystemPackage
[15/76] Compiling SystemPackage FilePathTemp.swift
[16/76] Compiling SystemPackage Backcompat.swift
[17/76] Compiling ArgumentParserToolInfo ToolInfo.swift
[18/76] Emitting module ArgumentParserToolInfo
[19/77] Compiling SystemPackage FilePathWindows.swift
[20/77] Compiling SystemPackage FilePermissions.swift
[21/77] Compiling SystemPackage FilePathTempPosix.swift
[22/77] Compiling SystemPackage FilePathTempWindows.swift
[23/77] Compiling SystemPackage FilePathParsing.swift
[24/77] Compiling SystemPackage FilePathString.swift
[25/77] Compiling SystemPackage FilePathSyntax.swift
[26/77] Compiling SystemPackage FilePathComponents.swift
[27/77] Compiling SystemPackage Errno.swift
[28/77] Compiling SystemPackage ErrnoWindows.swift
[29/77] Compiling SystemPackage FileOperations.swift
[30/77] Compiling SystemPackage FilePath.swift
[31/77] Compiling SystemPackage FilePathComponentView.swift
[32/77] Compiling WasmTransformer StackOverflowSanitizer.swift
[33/77] Compiling WasmTransformer WasmTransformer.swift
[34/77] Compiling SystemPackage CInterop.swift
[35/77] Compiling SystemPackage Constants.swift
[36/77] Compiling SystemPackage Exports.swift
[39/78] Compiling SystemPackage MachPort.swift
[40/78] Compiling SystemPackage PlatformString.swift
[41/78] Compiling SystemPackage SystemString.swift
[49/78] Wrapping AST for WasmTransformer for debugging
[50/78] Wrapping AST for ArgumentParserToolInfo for debugging
[52/106] Compiling SystemPackage Util+StringArray.swift
[53/106] Compiling SystemPackage Util.swift
[54/106] Compiling SystemPackage UtilConsumers.swift
[55/116] Compiling ArgumentParser AsyncParsableCommand.swift
[56/116] Compiling ArgumentParser CommandConfiguration.swift
[57/116] Compiling ArgumentParser CommandGroup.swift
[58/116] Compiling ArgumentParser EnumerableFlag.swift
[59/116] Compiling ArgumentParser CompletionKind.swift
[60/116] Compiling ArgumentParser Errors.swift
[61/116] Compiling ArgumentParser Flag.swift
[62/116] Compiling ArgumentParser NameSpecification.swift
[63/116] Compiling ArgumentParser BashCompletionsGenerator.swift
[64/116] Compiling ArgumentParser CompletionsGenerator.swift
[65/116] Compiling ArgumentParser FishCompletionsGenerator.swift
[66/116] Compiling ArgumentParser ZshCompletionsGenerator.swift
[67/116] Compiling ArgumentParser ParsableArgumentsValidation.swift
[68/116] Compiling ArgumentParser ParsableCommand.swift
[69/116] Compiling ArgumentParser ArgumentDecoder.swift
[70/116] Compiling ArgumentParser ArgumentVisibility.swift
[72/117] Emitting module ArgumentParser
[72/122] Wrapping AST for SystemPackage for debugging
[74/141] Compiling SystemIO SystemProcess.Environment.swift
[75/141] Compiling SystemIO SystemProcess.EnvironmentEncoder.swift
[76/141] Compiling SystemIO FileReadError.swift
[77/141] Compiling SystemIO FileSeekError.swift
[78/141] Compiling SystemIO FileStatus.swift
[79/141] Compiling SystemIO SystemProcess.Stream.swift
[80/141] Compiling SystemIO FilePath.Directory.swift
[81/141] Compiling SystemIO FilePath.DirectoryIterator.Stream.swift
[82/141] Compiling SystemIO FilePath.DirectoryIterator.swift
[83/141] Compiling SystemIO FilePath.DirectoryPointer.swift
[84/141] Compiling SystemIO FilePermissions (ext).swift
[85/141] Compiling SystemIO FilePermissions.Component.swift
[86/141] Compiling SystemIO FileDescriptor.swift
[87/141] Compiling SystemIO FileError.swift
[88/141] Compiling SystemIO FilePath (ext).swift
[89/141] Compiling SystemIO FileSystemStats.swift
[90/141] Compiling SystemIO FileType.swift
[91/141] Compiling ArgumentParser OptionGroup.swift
[96/141] Compiling SystemIO SystemProcess.swift
[97/141] Compiling ArgumentParser ArgumentSet.swift
[98/141] Compiling ArgumentParser CommandParser.swift
[99/141] Compiling ArgumentParser InputKey.swift
[100/141] Compiling ArgumentParser InputOrigin.swift
[101/141] Compiling ArgumentParser CollectionExtensions.swift
[102/141] Compiling ArgumentParser Platform.swift
[103/141] Compiling ArgumentParser SequenceExtensions.swift
[104/141] Compiling ArgumentParser StringExtensions.swift
[105/141] Compiling ArgumentParser Tree.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:14:12: error: cannot find type 'pid_t' in scope
 12 |     let invocation:[String]
 13 |     public
 14 |     let id:pid_t
    |            `- error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
  4 | import Darwin
  5 | #else
  6 | #error("unsupported platform")
    |        `- error: unsupported platform
  7 | #endif
  8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:17:34: error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
 17 |     init(invocation:[String], id:pid_t)
    |                                  `- error: cannot find type 'pid_t' in scope
 18 |     {
 19 |         self.invocation = invocation
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:20:14: error: property 'id' requires that 'SystemProcess' be a class type
 18 |     {
 19 |         self.invocation = invocation
 20 |         self.id = id
    |              `- error: property 'id' requires that 'SystemProcess' be a class type
 21 |     }
 22 | }
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
  |           `- note: where 'Self' = 'SystemProcess'
3 |     public var id: ObjectIdentifier { get }
4 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:108:13: error: cannot find 'posix_spawn_file_actions_init' in scope
106 |         do
107 |         {
108 |             posix_spawn_file_actions_init(&actions)
    |             `- error: cannot find 'posix_spawn_file_actions_init' in scope
109 |         }
110 |         defer
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:108:44: error: cannot find 'actions' in scope
106 |         do
107 |         {
108 |             posix_spawn_file_actions_init(&actions)
    |                                            `- error: cannot find 'actions' in scope
109 |         }
110 |         defer
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:112:13: error: cannot find 'posix_spawn_file_actions_destroy' in scope
110 |         defer
111 |         {
112 |             posix_spawn_file_actions_destroy(&actions)
    |             `- error: cannot find 'posix_spawn_file_actions_destroy' in scope
113 |         }
114 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:112:47: error: cannot find 'actions' in scope
110 |         defer
111 |         {
112 |             posix_spawn_file_actions_destroy(&actions)
    |                                               `- error: cannot find 'actions' in scope
113 |         }
114 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:117:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
115 |         if  let stdout:FileDescriptor
116 |         {
117 |             posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
118 |         }
119 |         if  let stderr:FileDescriptor
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:117:47: error: cannot find 'actions' in scope
115 |         if  let stdout:FileDescriptor
116 |         {
117 |             posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
    |                                               `- error: cannot find 'actions' in scope
118 |         }
119 |         if  let stderr:FileDescriptor
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:121:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
119 |         if  let stderr:FileDescriptor
120 |         {
121 |             posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
122 |         }
123 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:121:47: error: cannot find 'actions' in scope
119 |         if  let stderr:FileDescriptor
120 |         {
121 |             posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
    |                                               `- error: cannot find 'actions' in scope
122 |         }
123 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:126:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
124 |         for stream:SystemProcess.Stream in streams
125 |         {
126 |             posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
127 |         }
128 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:126:47: error: cannot find 'actions' in scope
124 |         for stream:SystemProcess.Stream in streams
125 |         {
126 |             posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
    |                                               `- error: cannot find 'actions' in scope
127 |         }
128 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:129:21: error: cannot find type 'pid_t' in scope
127 |         }
128 |
129 |         var process:pid_t = 0
    |                     `- error: cannot find type 'pid_t' in scope
130 |         let status:Int32 = environment.withUnsafePointers
131 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:134:17: error: cannot find 'posix_spawnp' in scope
132 |             if  let command:String
133 |             {
134 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                 `- error: cannot find 'posix_spawnp' in scope
135 |             }
136 |             else
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:134:50: error: cannot find 'actions' in scope
132 |             if  let command:String
133 |             {
134 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                                                  `- error: cannot find 'actions' in scope
135 |             }
136 |             else
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:138:17: error: cannot find 'posix_spawn' in scope
136 |             else
137 |             {
138 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
    |                 `- error: cannot find 'posix_spawn' in scope
139 |             }
140 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:138:55: error: cannot find 'actions' in scope
136 |             else
137 |             {
138 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
    |                                                       `- error: cannot find 'actions' in scope
139 |             }
140 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:134:59: error: 'nil' requires a contextual type
132 |             if  let command:String
133 |             {
134 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                                                           `- error: 'nil' requires a contextual type
135 |             }
136 |             else
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:146:47: error: extra argument 'id' in call
144 |         }
145 |
146 |         self.init(invocation: invocation, id: process)
    |                                               `- error: extra argument 'id' in call
147 |     }
148 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:146:19: error: missing argument for parameter 'command' in call
 38 | {
 39 |     public
 40 |     init(command:String?,
    |     `- note: 'init(command:_:stdout:stderr:duping:echo:with:)' declared here
 41 |         _ arguments:String?...,
 42 |         stdout:FileDescriptor? = nil,
    :
144 |         }
145 |
146 |         self.init(invocation: invocation, id: process)
    |                   `- error: missing argument for parameter 'command' in call
147 |     }
148 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:146:31: error: cannot convert value of type '[String]' to expected argument type 'String'
144 |         }
145 |
146 |         self.init(invocation: invocation, id: process)
    |                               `- error: cannot convert value of type '[String]' to expected argument type 'String'
147 |     }
148 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:154:16: error: cannot find 'waitpid' in scope
152 |         var status:Int32 = 0
153 |
154 |         switch waitpid(self.id, &status, 0)
    |                `- error: cannot find 'waitpid' in scope
155 |         {
156 |         case self.id:       break
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:154:29: error: property 'id' requires that 'SystemProcess' be a class type
152 |         var status:Int32 = 0
153 |
154 |         switch waitpid(self.id, &status, 0)
    |                             `- error: property 'id' requires that 'SystemProcess' be a class type
155 |         {
156 |         case self.id:       break
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
  |           `- note: where 'Self' = 'SystemProcess'
3 |     public var id: ObjectIdentifier { get }
4 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:156:19: error: property 'id' requires that 'SystemProcess' be a class type
154 |         switch waitpid(self.id, &status, 0)
155 |         {
156 |         case self.id:       break
    |                   `- error: property 'id' requires that 'SystemProcess' be a class type
157 |         case let status:    return .failure(.wait(status, self.invocation))
158 |         }
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
  |           `- note: where 'Self' = 'SystemProcess'
3 |     public var id: ObjectIdentifier { get }
4 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:14:12: error: cannot find type 'pid_t' in scope
 12 |     let invocation:[String]
 13 |     public
 14 |     let id:pid_t
    |            `- error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
  4 | import Darwin
  5 | #else
  6 | #error("unsupported platform")
    |        `- error: unsupported platform
  7 | #endif
  8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:17:34: error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
 17 |     init(invocation:[String], id:pid_t)
    |                                  `- error: cannot find type 'pid_t' in scope
 18 |     {
 19 |         self.invocation = invocation
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:20:14: error: property 'id' requires that 'SystemProcess' be a class type
 18 |     {
 19 |         self.invocation = invocation
 20 |         self.id = id
    |              `- error: property 'id' requires that 'SystemProcess' be a class type
 21 |     }
 22 | }
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
  |           `- note: where 'Self' = 'SystemProcess'
3 |     public var id: ObjectIdentifier { get }
4 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:108:13: error: cannot find 'posix_spawn_file_actions_init' in scope
106 |         do
107 |         {
108 |             posix_spawn_file_actions_init(&actions)
    |             `- error: cannot find 'posix_spawn_file_actions_init' in scope
109 |         }
110 |         defer
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:108:44: error: cannot find 'actions' in scope
106 |         do
107 |         {
108 |             posix_spawn_file_actions_init(&actions)
    |                                            `- error: cannot find 'actions' in scope
109 |         }
110 |         defer
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:112:13: error: cannot find 'posix_spawn_file_actions_destroy' in scope
110 |         defer
111 |         {
112 |             posix_spawn_file_actions_destroy(&actions)
    |             `- error: cannot find 'posix_spawn_file_actions_destroy' in scope
113 |         }
114 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:112:47: error: cannot find 'actions' in scope
110 |         defer
111 |         {
112 |             posix_spawn_file_actions_destroy(&actions)
    |                                               `- error: cannot find 'actions' in scope
113 |         }
114 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:117:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
115 |         if  let stdout:FileDescriptor
116 |         {
117 |             posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
118 |         }
119 |         if  let stderr:FileDescriptor
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:117:47: error: cannot find 'actions' in scope
115 |         if  let stdout:FileDescriptor
116 |         {
117 |             posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
    |                                               `- error: cannot find 'actions' in scope
118 |         }
119 |         if  let stderr:FileDescriptor
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:121:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
119 |         if  let stderr:FileDescriptor
120 |         {
121 |             posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
122 |         }
123 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:121:47: error: cannot find 'actions' in scope
119 |         if  let stderr:FileDescriptor
120 |         {
121 |             posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
    |                                               `- error: cannot find 'actions' in scope
122 |         }
123 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:126:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
124 |         for stream:SystemProcess.Stream in streams
125 |         {
126 |             posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
127 |         }
128 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:126:47: error: cannot find 'actions' in scope
124 |         for stream:SystemProcess.Stream in streams
125 |         {
126 |             posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
    |                                               `- error: cannot find 'actions' in scope
127 |         }
128 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:129:21: error: cannot find type 'pid_t' in scope
127 |         }
128 |
129 |         var process:pid_t = 0
    |                     `- error: cannot find type 'pid_t' in scope
130 |         let status:Int32 = environment.withUnsafePointers
131 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:134:17: error: cannot find 'posix_spawnp' in scope
132 |             if  let command:String
133 |             {
134 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                 `- error: cannot find 'posix_spawnp' in scope
135 |             }
136 |             else
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:134:50: error: cannot find 'actions' in scope
132 |             if  let command:String
133 |             {
134 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                                                  `- error: cannot find 'actions' in scope
135 |             }
136 |             else
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:138:17: error: cannot find 'posix_spawn' in scope
136 |             else
137 |             {
138 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
    |                 `- error: cannot find 'posix_spawn' in scope
139 |             }
140 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:138:55: error: cannot find 'actions' in scope
136 |             else
137 |             {
138 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
    |                                                       `- error: cannot find 'actions' in scope
139 |             }
140 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:134:59: error: 'nil' requires a contextual type
132 |             if  let command:String
133 |             {
134 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                                                           `- error: 'nil' requires a contextual type
135 |             }
136 |             else
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:146:47: error: extra argument 'id' in call
144 |         }
145 |
146 |         self.init(invocation: invocation, id: process)
    |                                               `- error: extra argument 'id' in call
147 |     }
148 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:146:19: error: missing argument for parameter 'command' in call
 38 | {
 39 |     public
 40 |     init(command:String?,
    |     `- note: 'init(command:_:stdout:stderr:duping:echo:with:)' declared here
 41 |         _ arguments:String?...,
 42 |         stdout:FileDescriptor? = nil,
    :
144 |         }
145 |
146 |         self.init(invocation: invocation, id: process)
    |                   `- error: missing argument for parameter 'command' in call
147 |     }
148 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:146:31: error: cannot convert value of type '[String]' to expected argument type 'String'
144 |         }
145 |
146 |         self.init(invocation: invocation, id: process)
    |                               `- error: cannot convert value of type '[String]' to expected argument type 'String'
147 |     }
148 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:154:16: error: cannot find 'waitpid' in scope
152 |         var status:Int32 = 0
153 |
154 |         switch waitpid(self.id, &status, 0)
    |                `- error: cannot find 'waitpid' in scope
155 |         {
156 |         case self.id:       break
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:154:29: error: property 'id' requires that 'SystemProcess' be a class type
152 |         var status:Int32 = 0
153 |
154 |         switch waitpid(self.id, &status, 0)
    |                             `- error: property 'id' requires that 'SystemProcess' be a class type
155 |         {
156 |         case self.id:       break
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
  |           `- note: where 'Self' = 'SystemProcess'
3 |     public var id: ObjectIdentifier { get }
4 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:156:19: error: property 'id' requires that 'SystemProcess' be a class type
154 |         switch waitpid(self.id, &status, 0)
155 |         {
156 |         case self.id:       break
    |                   `- error: property 'id' requires that 'SystemProcess' be a class type
157 |         case let status:    return .failure(.wait(status, self.invocation))
158 |         }
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
  |           `- note: where 'Self' = 'SystemProcess'
3 |     public var id: ObjectIdentifier { get }
4 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
 4 | import Darwin
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:14:12: error: cannot find type 'pid_t' in scope
 12 |     let invocation:[String]
 13 |     public
 14 |     let id:pid_t
    |            `- error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.Environment.swift:53:49: error: cannot find 'environ' in scope
51 |             else
52 |             {
53 |                 return try yield(self.inherit ? environ : nil)
   |                                                 `- error: cannot find 'environ' in scope
54 |             }
55 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.Environment.swift:57:29: error: cannot find 'environ' in scope
55 |
56 |             var inherited:Int = 0
57 |             while case _? = environ[inherited]
   |                             `- error: cannot find 'environ' in scope
58 |             {
59 |                 inherited += 1
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.Environment.swift:67:53: error: cannot find 'environ' in scope
65 |                 for i:Int in 0 ..< inherited
66 |                 {
67 |                     $0.initializeElement(at: i, to: environ[i])
   |                                                     `- error: cannot find 'environ' in scope
68 |                 }
69 |                 var i:Int = inherited
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
 4 | import Darwin
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:14:12: error: cannot find type 'pid_t' in scope
 12 |     let invocation:[String]
 13 |     public
 14 |     let id:pid_t
    |            `- error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.Environment.swift:53:49: error: cannot find 'environ' in scope
51 |             else
52 |             {
53 |                 return try yield(self.inherit ? environ : nil)
   |                                                 `- error: cannot find 'environ' in scope
54 |             }
55 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.Environment.swift:57:29: error: cannot find 'environ' in scope
55 |
56 |             var inherited:Int = 0
57 |             while case _? = environ[inherited]
   |                             `- error: cannot find 'environ' in scope
58 |             {
59 |                 inherited += 1
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.Environment.swift:67:53: error: cannot find 'environ' in scope
65 |                 for i:Int in 0 ..< inherited
66 |                 {
67 |                     $0.initializeElement(at: i, to: environ[i])
   |                                                     `- error: cannot find 'environ' in scope
68 |                 }
69 |                 var i:Int = inherited
[110/143] Compiling ArgumentParser Name.swift
[111/143] Compiling ArgumentParser Parsed.swift
[112/143] Compiling ArgumentParser ParsedValues.swift
[113/143] Compiling ArgumentParser ParserError.swift
[114/143] Compiling ArgumentParser SplitArguments.swift
[115/143] Compiling ArgumentParser DumpHelpGenerator.swift
[116/143] Compiling ArgumentParser HelpCommand.swift
[117/143] Compiling ArgumentParser HelpGenerator.swift
[118/143] Compiling ArgumentParser MessageInfo.swift
[119/143] Compiling ArgumentParser UsageGenerator.swift
[121/144] Compiling SystemIO SystemProcessError.swift
[122/144] Compiling SystemIO lexemes.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[123/144] Emitting module SystemIO
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
 10 |
 11 | #else
 12 | #error("unsupported platform")
    |        `- error: unsupported platform
 13 | #endif
 14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("unsupported platform")
    |        `- error: unsupported platform
 11 | #endif
 12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:20:30: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 18 |     {
 19 |         case unopened(FilePath)
 20 |         case opened(FilePath.DirectoryPointer?)
    |                              `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 21 |     }
 22 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(/*System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:26:36: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 24 | {
 25 |     private mutating
 26 |     func open() throws -> FilePath.DirectoryPointer?
    |                                    `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 27 |     {
 28 |         switch self
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(/*System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:15:15: error: cannot find type 'stat' in scope
13 | {
14 |     @usableFromInline
15 |     let value:stat
   |               `- error: cannot find type 'stat' in scope
16 |
17 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:18:16: error: cannot find type 'stat' in scope
16 |
17 |     private
18 |     init(value:stat)
   |                `- error: cannot find type 'stat' in scope
19 |     {
20 |         self.value = value
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:28:30: error: cannot find 'S_IFMT' in scope
26 |     func `is`(_ type:FileType) -> Bool
27 |     {
28 |         self.value.st_mode & S_IFMT == type.mask
   |                              `- error: cannot find 'S_IFMT' in scope
29 |     }
30 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:14: error: cannot find type 'mode_t' in scope
21 | {
22 |     @inlinable
23 |     var mask:mode_t
   |              `- error: cannot find type 'mode_t' in scope
24 |     {
25 |         switch self
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
 4 | import Darwin
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
 4 | import Darwin
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:14:12: error: cannot find type 'pid_t' in scope
 12 |     let invocation:[String]
 13 |     public
 14 |     let id:pid_t
    |            `- error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
  4 | import Darwin
  5 | #else
  6 | #error("unsupported platform")
    |        `- error: unsupported platform
  7 | #endif
  8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:17:34: error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
 17 |     init(invocation:[String], id:pid_t)
    |                                  `- error: cannot find type 'pid_t' in scope
 18 |     {
 19 |         self.invocation = invocation
[123/144] 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.Directory.swift:40:50: error: cannot find 'getcwd' in scope
 38 |     {
 39 |         guard
 40 |         let buffer:UnsafeMutablePointer<CChar> = getcwd(nil, 0)
    |                                                  `- error: cannot find 'getcwd' in scope
 41 |         else
 42 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:40:57: error: 'nil' requires a contextual type
 38 |     {
 39 |         guard
 40 |         let buffer:UnsafeMutablePointer<CChar> = getcwd(nil, 0)
    |                                                         `- error: 'nil' requires a contextual type
 41 |         else
 42 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:47:13: error: cannot find 'free' in scope
 45 |         defer
 46 |         {
 47 |             free(buffer)
    |             `- error: cannot find 'free' in scope
 48 |         }
 49 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("unsupported platform")
    |        `- error: unsupported platform
 11 | #endif
 12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:20:30: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 18 |     {
 19 |         case unopened(FilePath)
 20 |         case opened(FilePath.DirectoryPointer?)
    |                              `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 21 |     }
 22 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(/*System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:26:36: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 24 | {
 25 |     private mutating
 26 |     func open() throws -> FilePath.DirectoryPointer?
    |                                    `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 27 |     {
 28 |         switch self
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(/*System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:31:34: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 29 |         {
 30 |         case .unopened(let path):
 31 |             let pointer:FilePath.DirectoryPointer? = try path.withPlatformString
    |                                  `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 32 |             {
 33 |                 if  let pointer:FilePath.DirectoryPointer = opendir($0)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(/*System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:56:35: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 54 |     func next() throws -> FilePath.Component?
 55 |     {
 56 |         guard let stream:FilePath.DirectoryPointer = try self.open()
    |                                   `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 57 |         else
 58 |         {
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(/*System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:56:63: error: type of expression is ambiguous without a type annotation
 54 |     func next() throws -> FilePath.Component?
 55 |     {
 56 |         guard let stream:FilePath.DirectoryPointer = try self.open()
    |                                                               `- error: type of expression is ambiguous without a type annotation
 57 |         else
 58 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:62:45: error: cannot find type 'dirent' in scope
 60 |         }
 61 |
 62 |         guard let offset:Int = MemoryLayout<dirent>.offset(of: \.d_name)
    |                                             `- error: cannot find type 'dirent' in scope
 63 |         else
 64 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:62:64: error: cannot infer key path type from context; consider explicitly specifying a root type
 60 |         }
 61 |
 62 |         guard let offset:Int = MemoryLayout<dirent>.offset(of: \.d_name)
    |                                                                `- error: cannot infer key path type from context; consider explicitly specifying a root type
 63 |         else
 64 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:46: error: cannot find type 'dirent' in scope
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                              `- error: cannot find type 'dirent' in scope
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:56: error: cannot find 'readdir' in scope
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                                        `- error: cannot find 'readdir' in scope
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:56: error: type of expression is ambiguous without a type annotation
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                                        `- error: type of expression is ambiguous without a type annotation
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:92:9: error: cannot find 'closedir' in scope
 90 |         }
 91 |
 92 |         closedir(stream)
    |         `- error: cannot find 'closedir' in scope
 93 |         self = .opened(nil)
 94 |         return nil
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:93:24: error: 'nil' requires a contextual type
 91 |
 92 |         closedir(stream)
 93 |         self = .opened(nil)
    |                        `- error: 'nil' requires a contextual type
 94 |         return nil
 95 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:99:39: error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
 97 |     func close()
 98 |     {
 99 |         guard case .opened(let stream?) = self
    |                                       `- error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
100 |         else
101 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:99:21: error: type 'Errno' has no member 'opened'
 97 |     func close()
 98 |     {
 99 |         guard case .opened(let stream?) = self
    |                     `- error: type 'Errno' has no member 'opened'
100 |         else
101 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:105:9: error: cannot find 'closedir' in scope
103 |         }
104 |
105 |         closedir(stream)
    |         `- error: cannot find 'closedir' in scope
106 |         self = .opened(nil)
107 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:106:24: error: 'nil' requires a contextual type
104 |
105 |         closedir(stream)
106 |         self = .opened(nil)
    |                        `- error: 'nil' requires a contextual type
107 |     }
108 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
 10 |
 11 | #else
 12 | #error("unsupported platform")
    |        `- error: unsupported platform
 13 | #endif
 14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:40:50: error: cannot find 'getcwd' in scope
 38 |     {
 39 |         guard
 40 |         let buffer:UnsafeMutablePointer<CChar> = getcwd(nil, 0)
    |                                                  `- error: cannot find 'getcwd' in scope
 41 |         else
 42 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:40:57: error: 'nil' requires a contextual type
 38 |     {
 39 |         guard
 40 |         let buffer:UnsafeMutablePointer<CChar> = getcwd(nil, 0)
    |                                                         `- error: 'nil' requires a contextual type
 41 |         else
 42 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:47:13: error: cannot find 'free' in scope
 45 |         defer
 46 |         {
 47 |             free(buffer)
    |             `- error: cannot find 'free' in scope
 48 |         }
 49 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("unsupported platform")
    |        `- error: unsupported platform
 11 | #endif
 12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:20:30: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 18 |     {
 19 |         case unopened(FilePath)
 20 |         case opened(FilePath.DirectoryPointer?)
    |                              `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 21 |     }
 22 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(/*System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:26:36: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 24 | {
 25 |     private mutating
 26 |     func open() throws -> FilePath.DirectoryPointer?
    |                                    `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 27 |     {
 28 |         switch self
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(/*System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:31:34: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 29 |         {
 30 |         case .unopened(let path):
 31 |             let pointer:FilePath.DirectoryPointer? = try path.withPlatformString
    |                                  `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 32 |             {
 33 |                 if  let pointer:FilePath.DirectoryPointer = opendir($0)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(/*System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:56:35: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 54 |     func next() throws -> FilePath.Component?
 55 |     {
 56 |         guard let stream:FilePath.DirectoryPointer = try self.open()
    |                                   `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 57 |         else
 58 |         {
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(/*System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:56:63: error: type of expression is ambiguous without a type annotation
 54 |     func next() throws -> FilePath.Component?
 55 |     {
 56 |         guard let stream:FilePath.DirectoryPointer = try self.open()
    |                                                               `- error: type of expression is ambiguous without a type annotation
 57 |         else
 58 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:62:45: error: cannot find type 'dirent' in scope
 60 |         }
 61 |
 62 |         guard let offset:Int = MemoryLayout<dirent>.offset(of: \.d_name)
    |                                             `- error: cannot find type 'dirent' in scope
 63 |         else
 64 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:62:64: error: cannot infer key path type from context; consider explicitly specifying a root type
 60 |         }
 61 |
 62 |         guard let offset:Int = MemoryLayout<dirent>.offset(of: \.d_name)
    |                                                                `- error: cannot infer key path type from context; consider explicitly specifying a root type
 63 |         else
 64 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:46: error: cannot find type 'dirent' in scope
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                              `- error: cannot find type 'dirent' in scope
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:56: error: cannot find 'readdir' in scope
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                                        `- error: cannot find 'readdir' in scope
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:56: error: type of expression is ambiguous without a type annotation
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                                        `- error: type of expression is ambiguous without a type annotation
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:92:9: error: cannot find 'closedir' in scope
 90 |         }
 91 |
 92 |         closedir(stream)
    |         `- error: cannot find 'closedir' in scope
 93 |         self = .opened(nil)
 94 |         return nil
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:93:24: error: 'nil' requires a contextual type
 91 |
 92 |         closedir(stream)
 93 |         self = .opened(nil)
    |                        `- error: 'nil' requires a contextual type
 94 |         return nil
 95 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:99:39: error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
 97 |     func close()
 98 |     {
 99 |         guard case .opened(let stream?) = self
    |                                       `- error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
100 |         else
101 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:99:21: error: type 'Errno' has no member 'opened'
 97 |     func close()
 98 |     {
 99 |         guard case .opened(let stream?) = self
    |                     `- error: type 'Errno' has no member 'opened'
100 |         else
101 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:105:9: error: cannot find 'closedir' in scope
103 |         }
104 |
105 |         closedir(stream)
    |         `- error: cannot find 'closedir' in scope
106 |         self = .opened(nil)
107 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:106:24: error: 'nil' requires a contextual type
104 |
105 |         closedir(stream)
106 |         self = .opened(nil)
    |                        `- error: 'nil' requires a contextual type
107 |     }
108 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
 10 |
 11 | #else
 12 | #error("unsupported platform")
    |        `- error: unsupported platform
 13 | #endif
 14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:40:50: error: cannot find 'getcwd' in scope
 38 |     {
 39 |         guard
 40 |         let buffer:UnsafeMutablePointer<CChar> = getcwd(nil, 0)
    |                                                  `- error: cannot find 'getcwd' in scope
 41 |         else
 42 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:40:57: error: 'nil' requires a contextual type
 38 |     {
 39 |         guard
 40 |         let buffer:UnsafeMutablePointer<CChar> = getcwd(nil, 0)
    |                                                         `- error: 'nil' requires a contextual type
 41 |         else
 42 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:47:13: error: cannot find 'free' in scope
 45 |         defer
 46 |         {
 47 |             free(buffer)
    |             `- error: cannot find 'free' in scope
 48 |         }
 49 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("unsupported platform")
    |        `- error: unsupported platform
 11 | #endif
 12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:20:30: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 18 |     {
 19 |         case unopened(FilePath)
 20 |         case opened(FilePath.DirectoryPointer?)
    |                              `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 21 |     }
 22 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(/*System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:26:36: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 24 | {
 25 |     private mutating
 26 |     func open() throws -> FilePath.DirectoryPointer?
    |                                    `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 27 |     {
 28 |         switch self
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(/*System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:31:34: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 29 |         {
 30 |         case .unopened(let path):
 31 |             let pointer:FilePath.DirectoryPointer? = try path.withPlatformString
    |                                  `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 32 |             {
 33 |                 if  let pointer:FilePath.DirectoryPointer = opendir($0)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(/*System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:56:35: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 54 |     func next() throws -> FilePath.Component?
 55 |     {
 56 |         guard let stream:FilePath.DirectoryPointer = try self.open()
    |                                   `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 57 |         else
 58 |         {
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(/*System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:56:63: error: type of expression is ambiguous without a type annotation
 54 |     func next() throws -> FilePath.Component?
 55 |     {
 56 |         guard let stream:FilePath.DirectoryPointer = try self.open()
    |                                                               `- error: type of expression is ambiguous without a type annotation
 57 |         else
 58 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:62:45: error: cannot find type 'dirent' in scope
 60 |         }
 61 |
 62 |         guard let offset:Int = MemoryLayout<dirent>.offset(of: \.d_name)
    |                                             `- error: cannot find type 'dirent' in scope
 63 |         else
 64 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:62:64: error: cannot infer key path type from context; consider explicitly specifying a root type
 60 |         }
 61 |
 62 |         guard let offset:Int = MemoryLayout<dirent>.offset(of: \.d_name)
    |                                                                `- error: cannot infer key path type from context; consider explicitly specifying a root type
 63 |         else
 64 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:46: error: cannot find type 'dirent' in scope
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                              `- error: cannot find type 'dirent' in scope
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:56: error: cannot find 'readdir' in scope
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                                        `- error: cannot find 'readdir' in scope
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:56: error: type of expression is ambiguous without a type annotation
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                                        `- error: type of expression is ambiguous without a type annotation
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:92:9: error: cannot find 'closedir' in scope
 90 |         }
 91 |
 92 |         closedir(stream)
    |         `- error: cannot find 'closedir' in scope
 93 |         self = .opened(nil)
 94 |         return nil
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:93:24: error: 'nil' requires a contextual type
 91 |
 92 |         closedir(stream)
 93 |         self = .opened(nil)
    |                        `- error: 'nil' requires a contextual type
 94 |         return nil
 95 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:99:39: error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
 97 |     func close()
 98 |     {
 99 |         guard case .opened(let stream?) = self
    |                                       `- error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
100 |         else
101 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:99:21: error: type 'Errno' has no member 'opened'
 97 |     func close()
 98 |     {
 99 |         guard case .opened(let stream?) = self
    |                     `- error: type 'Errno' has no member 'opened'
100 |         else
101 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:105:9: error: cannot find 'closedir' in scope
103 |         }
104 |
105 |         closedir(stream)
    |         `- error: cannot find 'closedir' in scope
106 |         self = .opened(nil)
107 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:106:24: error: 'nil' requires a contextual type
104 |
105 |         closedir(stream)
106 |         self = .opened(nil)
    |                        `- error: 'nil' requires a contextual type
107 |     }
108 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:15:15: error: cannot find type 'stat' in scope
13 | {
14 |     @usableFromInline
15 |     let value:stat
   |               `- error: cannot find type 'stat' in scope
16 |
17 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:18:16: error: cannot find type 'stat' in scope
16 |
17 |     private
18 |     init(value:stat)
   |                `- error: cannot find type 'stat' in scope
19 |     {
20 |         self.value = value
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:28:30: error: cannot find 'S_IFMT' in scope
26 |     func `is`(_ type:FileType) -> Bool
27 |     {
28 |         self.value.st_mode & S_IFMT == type.mask
   |                              `- error: cannot find 'S_IFMT' in scope
29 |     }
30 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:14: error: cannot find type 'mode_t' in scope
21 | {
22 |     @inlinable
23 |     var mask:mode_t
   |              `- error: cannot find type 'mode_t' in scope
24 |     {
25 |         switch self
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:39:20: error: cannot find 'stat' in scope
37 |         {
38 |             var value:stat = .init()
39 |             switch stat($0, &value)
   |                    `- error: cannot find 'stat' in scope
40 |             {
41 |             case 0: return .init(value: value)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:42:48: error: cannot find 'errno' in scope
40 |             {
41 |             case 0: return .init(value: value)
42 |             case _: throw Errno.init(rawValue: errno)
   |                                                `- error: cannot find 'errno' in scope
43 |             }
44 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:38:23: error: cannot find type 'stat' in scope
36 |         try path.withPlatformString
37 |         {
38 |             var value:stat = .init()
   |                       `- error: cannot find type 'stat' in scope
39 |             switch stat($0, &value)
40 |             {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:36:18: error: type of expression is ambiguous without a type annotation
34 |     func status(of path:FilePath) throws -> Self
35 |     {
36 |         try path.withPlatformString
   |                  `- error: type of expression is ambiguous without a type annotation
37 |         {
38 |             var value:stat = .init()
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:49:19: error: cannot find type 'stat' in scope
47 |     func status(of file:FileDescriptor) throws -> Self
48 |     {
49 |         var value:stat = .init()
   |                   `- error: cannot find type 'stat' in scope
50 |         switch fstat(file.rawValue, &value)
51 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:50:16: error: cannot find 'fstat' in scope
48 |     {
49 |         var value:stat = .init()
50 |         switch fstat(file.rawValue, &value)
   |                `- error: cannot find 'fstat' in scope
51 |         {
52 |         case 0: return .init(value: value)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:53:44: error: cannot find 'errno' in scope
51 |         {
52 |         case 0: return .init(value: value)
53 |         case _: throw Errno.init(rawValue: errno)
   |                                            `- error: cannot find 'errno' in scope
54 |         }
55 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:15:15: error: cannot find type 'stat' in scope
13 | {
14 |     @usableFromInline
15 |     let value:stat
   |               `- error: cannot find type 'stat' in scope
16 |
17 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:18:16: error: cannot find type 'stat' in scope
16 |
17 |     private
18 |     init(value:stat)
   |                `- error: cannot find type 'stat' in scope
19 |     {
20 |         self.value = value
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:28:30: error: cannot find 'S_IFMT' in scope
26 |     func `is`(_ type:FileType) -> Bool
27 |     {
28 |         self.value.st_mode & S_IFMT == type.mask
   |                              `- error: cannot find 'S_IFMT' in scope
29 |     }
30 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:14: error: cannot find type 'mode_t' in scope
21 | {
22 |     @inlinable
23 |     var mask:mode_t
   |              `- error: cannot find type 'mode_t' in scope
24 |     {
25 |         switch self
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:39:20: error: cannot find 'stat' in scope
37 |         {
38 |             var value:stat = .init()
39 |             switch stat($0, &value)
   |                    `- error: cannot find 'stat' in scope
40 |             {
41 |             case 0: return .init(value: value)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:42:48: error: cannot find 'errno' in scope
40 |             {
41 |             case 0: return .init(value: value)
42 |             case _: throw Errno.init(rawValue: errno)
   |                                                `- error: cannot find 'errno' in scope
43 |             }
44 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:38:23: error: cannot find type 'stat' in scope
36 |         try path.withPlatformString
37 |         {
38 |             var value:stat = .init()
   |                       `- error: cannot find type 'stat' in scope
39 |             switch stat($0, &value)
40 |             {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:36:18: error: type of expression is ambiguous without a type annotation
34 |     func status(of path:FilePath) throws -> Self
35 |     {
36 |         try path.withPlatformString
   |                  `- error: type of expression is ambiguous without a type annotation
37 |         {
38 |             var value:stat = .init()
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:49:19: error: cannot find type 'stat' in scope
47 |     func status(of file:FileDescriptor) throws -> Self
48 |     {
49 |         var value:stat = .init()
   |                   `- error: cannot find type 'stat' in scope
50 |         switch fstat(file.rawValue, &value)
51 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:50:16: error: cannot find 'fstat' in scope
48 |     {
49 |         var value:stat = .init()
50 |         switch fstat(file.rawValue, &value)
   |                `- error: cannot find 'fstat' in scope
51 |         {
52 |         case 0: return .init(value: value)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:53:44: error: cannot find 'errno' in scope
51 |         {
52 |         case 0: return .init(value: value)
53 |         case _: throw Errno.init(rawValue: errno)
   |                                            `- error: cannot find 'errno' in scope
54 |         }
55 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:15:15: error: cannot find type 'stat' in scope
13 | {
14 |     @usableFromInline
15 |     let value:stat
   |               `- error: cannot find type 'stat' in scope
16 |
17 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:18:16: error: cannot find type 'stat' in scope
16 |
17 |     private
18 |     init(value:stat)
   |                `- error: cannot find type 'stat' in scope
19 |     {
20 |         self.value = value
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:28:30: error: cannot find 'S_IFMT' in scope
26 |     func `is`(_ type:FileType) -> Bool
27 |     {
28 |         self.value.st_mode & S_IFMT == type.mask
   |                              `- error: cannot find 'S_IFMT' in scope
29 |     }
30 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:14: error: cannot find type 'mode_t' in scope
21 | {
22 |     @inlinable
23 |     var mask:mode_t
   |              `- error: cannot find type 'mode_t' in scope
24 |     {
25 |         switch self
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:39:20: error: cannot find 'stat' in scope
37 |         {
38 |             var value:stat = .init()
39 |             switch stat($0, &value)
   |                    `- error: cannot find 'stat' in scope
40 |             {
41 |             case 0: return .init(value: value)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:42:48: error: cannot find 'errno' in scope
40 |             {
41 |             case 0: return .init(value: value)
42 |             case _: throw Errno.init(rawValue: errno)
   |                                                `- error: cannot find 'errno' in scope
43 |             }
44 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:38:23: error: cannot find type 'stat' in scope
36 |         try path.withPlatformString
37 |         {
38 |             var value:stat = .init()
   |                       `- error: cannot find type 'stat' in scope
39 |             switch stat($0, &value)
40 |             {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:36:18: error: type of expression is ambiguous without a type annotation
34 |     func status(of path:FilePath) throws -> Self
35 |     {
36 |         try path.withPlatformString
   |                  `- error: type of expression is ambiguous without a type annotation
37 |         {
38 |             var value:stat = .init()
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:49:19: error: cannot find type 'stat' in scope
47 |     func status(of file:FileDescriptor) throws -> Self
48 |     {
49 |         var value:stat = .init()
   |                   `- error: cannot find type 'stat' in scope
50 |         switch fstat(file.rawValue, &value)
51 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:50:16: error: cannot find 'fstat' in scope
48 |     {
49 |         var value:stat = .init()
50 |         switch fstat(file.rawValue, &value)
   |                `- error: cannot find 'fstat' in scope
51 |         {
52 |         case 0: return .init(value: value)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:53:44: error: cannot find 'errno' in scope
51 |         {
52 |         case 0: return .init(value: value)
53 |         case _: throw Errno.init(rawValue: errno)
   |                                            `- error: cannot find 'errno' in scope
54 |         }
55 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
 4 | import Darwin
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:71:19: error: cannot find type 'statvfs' in scope
69 |     func containing(path:FilePath) throws -> Self
70 |     {
71 |         let stats:statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1)
   |                   `- error: cannot find type 'statvfs' in scope
72 |         {
73 |             guard case 0 = statvfs(path.string, &$0[0])
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:82:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
80 |         }
81 |         //  Explicit `UInt32 -> UInt` conversion needed on Darwin.
82 |         return .init(id: UInt.init(stats.f_fsid),
   |                `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
83 |             fragmentCount: UInt.init(stats.f_blocks),
84 |             fragmentSize: UInt.init(stats.f_frsize),
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:14: error: cannot find type 'mode_t' in scope
21 | {
22 |     @inlinable
23 |     var mask:mode_t
   |              `- error: cannot find type 'mode_t' in scope
24 |     {
25 |         switch self
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
 4 | import Darwin
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:71:19: error: cannot find type 'statvfs' in scope
69 |     func containing(path:FilePath) throws -> Self
70 |     {
71 |         let stats:statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1)
   |                   `- error: cannot find type 'statvfs' in scope
72 |         {
73 |             guard case 0 = statvfs(path.string, &$0[0])
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:82:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
80 |         }
81 |         //  Explicit `UInt32 -> UInt` conversion needed on Darwin.
82 |         return .init(id: UInt.init(stats.f_fsid),
   |                `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
83 |             fragmentCount: UInt.init(stats.f_blocks),
84 |             fragmentSize: UInt.init(stats.f_frsize),
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:14: error: cannot find type 'mode_t' in scope
21 | {
22 |     @inlinable
23 |     var mask:mode_t
   |              `- error: cannot find type 'mode_t' in scope
24 |     {
25 |         switch self
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/13] Compiling _GitVersion swiftpm_git_version.c
[2/13] Write swift-version-24593BA9C3E375BF.txt
[4/62] Compiling SystemPackage FilePathParsing.swift
[5/62] Compiling SystemPackage FilePathString.swift
[6/64] Compiling SystemPackage FilePathComponentView.swift
[7/64] Compiling SystemPackage FilePathComponents.swift
[8/64] Compiling SystemPackage FileHelpers.swift
[9/64] Compiling SystemPackage FileOperations.swift
[10/64] Compiling SystemPackage FilePath.swift
[11/64] Compiling SystemPackage FilePermissions.swift
[12/64] Compiling SystemPackage Backcompat.swift
[13/64] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/64] Emitting module ArgumentParserToolInfo
[15/65] Emitting module WasmTransformer
[16/65] Compiling SystemPackage Errno.swift
[17/65] Compiling SystemPackage ErrnoWindows.swift
[18/65] Compiling SystemPackage FileDescriptor.swift
[19/65] Compiling SystemPackage FilePathTempPosix.swift
[20/65] Compiling SystemPackage FilePathTempWindows.swift
[21/65] Compiling SystemPackage FilePathWindows.swift
[22/65] Compiling SystemPackage CInterop.swift
[23/65] Compiling SystemPackage Constants.swift
[24/65] Compiling SystemPackage Exports.swift
[26/64] Compiling WasmTransformer StackOverflowSanitizer.swift
[27/64] Compiling WasmTransformer WasmTransformer.swift
[28/65] Compiling SystemPackage MachPort.swift
[29/65] Compiling SystemPackage PlatformString.swift
[30/65] Compiling SystemPackage SystemString.swift
[36/67] Compiling SystemPackage Mocking.swift
[37/67] Compiling SystemPackage RawBuffer.swift
[38/67] Compiling SystemPackage Syscalls.swift
[39/67] Compiling SystemPackage WindowsSyscallAdapters.swift
[40/67] Emitting module SystemPackage
[41/105] Compiling ArgumentParser ZshCompletionsGenerator.swift
[42/105] Compiling ArgumentParser Argument.swift
[43/105] Compiling ArgumentParser ArgumentHelp.swift
[44/105] Compiling ArgumentParser ExpressibleByArgument.swift
[45/105] Compiling ArgumentParser ArgumentDefinition.swift
[46/105] Compiling ArgumentParser ArgumentSet.swift
[47/105] Compiling ArgumentParser CommandParser.swift
[48/105] Compiling ArgumentParser InputKey.swift
[49/105] Compiling ArgumentParser EnumerableFlag.swift
[50/105] Compiling ArgumentParser BashCompletionsGenerator.swift
[51/105] Compiling ArgumentParser CompletionsGenerator.swift
[52/105] Compiling ArgumentParser FishCompletionsGenerator.swift
[53/105] Compiling ArgumentParser OptionGroup.swift
[54/105] Compiling ArgumentParser AsyncParsableCommand.swift
[55/105] Compiling ArgumentParser CommandConfiguration.swift
[56/105] Compiling ArgumentParser CommandGroup.swift
[57/105] Compiling ArgumentParser Parsed.swift
[58/105] Compiling ArgumentParser ParsedValues.swift
[59/105] Compiling ArgumentParser ParserError.swift
[61/124] Emitting module ArgumentParser
[62/129] Compiling SystemIO SystemProcess.Environment.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
 4 | import Darwin
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:14:12: error: cannot find type 'pid_t' in scope
 12 |     let invocation:[String]
 13 |     public
 14 |     let id:pid_t
    |            `- error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.Environment.swift:53:49: error: cannot find 'environ' in scope
51 |             else
52 |             {
53 |                 return try yield(self.inherit ? environ : nil)
   |                                                 `- error: cannot find 'environ' in scope
54 |             }
55 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.Environment.swift:57:29: error: cannot find 'environ' in scope
55 |
56 |             var inherited:Int = 0
57 |             while case _? = environ[inherited]
   |                             `- error: cannot find 'environ' in scope
58 |             {
59 |                 inherited += 1
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.Environment.swift:67:53: error: cannot find 'environ' in scope
65 |                 for i:Int in 0 ..< inherited
66 |                 {
67 |                     $0.initializeElement(at: i, to: environ[i])
   |                                                     `- error: cannot find 'environ' in scope
68 |                 }
69 |                 var i:Int = inherited
[63/129] Compiling SystemIO SystemProcess.EnvironmentEncoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
 4 | import Darwin
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:14:12: error: cannot find type 'pid_t' in scope
 12 |     let invocation:[String]
 13 |     public
 14 |     let id:pid_t
    |            `- error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.Environment.swift:53:49: error: cannot find 'environ' in scope
51 |             else
52 |             {
53 |                 return try yield(self.inherit ? environ : nil)
   |                                                 `- error: cannot find 'environ' in scope
54 |             }
55 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.Environment.swift:57:29: error: cannot find 'environ' in scope
55 |
56 |             var inherited:Int = 0
57 |             while case _? = environ[inherited]
   |                             `- error: cannot find 'environ' in scope
58 |             {
59 |                 inherited += 1
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.Environment.swift:67:53: error: cannot find 'environ' in scope
65 |                 for i:Int in 0 ..< inherited
66 |                 {
67 |                     $0.initializeElement(at: i, to: environ[i])
   |                                                     `- error: cannot find 'environ' in scope
68 |                 }
69 |                 var i:Int = inherited
[64/129] Compiling SystemIO SystemProcess.Stream.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:14:12: error: cannot find type 'pid_t' in scope
 12 |     let invocation:[String]
 13 |     public
 14 |     let id:pid_t
    |            `- error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
  4 | import Darwin
  5 | #else
  6 | #error("unsupported platform")
    |        `- error: unsupported platform
  7 | #endif
  8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:17:34: error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
 17 |     init(invocation:[String], id:pid_t)
    |                                  `- error: cannot find type 'pid_t' in scope
 18 |     {
 19 |         self.invocation = invocation
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:20:14: error: property 'id' requires that 'SystemProcess' be a class type
 18 |     {
 19 |         self.invocation = invocation
 20 |         self.id = id
    |              `- error: property 'id' requires that 'SystemProcess' be a class type
 21 |     }
 22 | }
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
  |           `- note: where 'Self' = 'SystemProcess'
3 |     public var id: ObjectIdentifier { get }
4 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:108:13: error: cannot find 'posix_spawn_file_actions_init' in scope
106 |         do
107 |         {
108 |             posix_spawn_file_actions_init(&actions)
    |             `- error: cannot find 'posix_spawn_file_actions_init' in scope
109 |         }
110 |         defer
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:108:44: error: cannot find 'actions' in scope
106 |         do
107 |         {
108 |             posix_spawn_file_actions_init(&actions)
    |                                            `- error: cannot find 'actions' in scope
109 |         }
110 |         defer
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:112:13: error: cannot find 'posix_spawn_file_actions_destroy' in scope
110 |         defer
111 |         {
112 |             posix_spawn_file_actions_destroy(&actions)
    |             `- error: cannot find 'posix_spawn_file_actions_destroy' in scope
113 |         }
114 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:112:47: error: cannot find 'actions' in scope
110 |         defer
111 |         {
112 |             posix_spawn_file_actions_destroy(&actions)
    |                                               `- error: cannot find 'actions' in scope
113 |         }
114 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:117:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
115 |         if  let stdout:FileDescriptor
116 |         {
117 |             posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
118 |         }
119 |         if  let stderr:FileDescriptor
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:117:47: error: cannot find 'actions' in scope
115 |         if  let stdout:FileDescriptor
116 |         {
117 |             posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
    |                                               `- error: cannot find 'actions' in scope
118 |         }
119 |         if  let stderr:FileDescriptor
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:121:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
119 |         if  let stderr:FileDescriptor
120 |         {
121 |             posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
122 |         }
123 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:121:47: error: cannot find 'actions' in scope
119 |         if  let stderr:FileDescriptor
120 |         {
121 |             posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
    |                                               `- error: cannot find 'actions' in scope
122 |         }
123 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:126:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
124 |         for stream:SystemProcess.Stream in streams
125 |         {
126 |             posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
127 |         }
128 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:126:47: error: cannot find 'actions' in scope
124 |         for stream:SystemProcess.Stream in streams
125 |         {
126 |             posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
    |                                               `- error: cannot find 'actions' in scope
127 |         }
128 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:129:21: error: cannot find type 'pid_t' in scope
127 |         }
128 |
129 |         var process:pid_t = 0
    |                     `- error: cannot find type 'pid_t' in scope
130 |         let status:Int32 = environment.withUnsafePointers
131 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:134:17: error: cannot find 'posix_spawnp' in scope
132 |             if  let command:String
133 |             {
134 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                 `- error: cannot find 'posix_spawnp' in scope
135 |             }
136 |             else
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:134:50: error: cannot find 'actions' in scope
132 |             if  let command:String
133 |             {
134 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                                                  `- error: cannot find 'actions' in scope
135 |             }
136 |             else
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:138:17: error: cannot find 'posix_spawn' in scope
136 |             else
137 |             {
138 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
    |                 `- error: cannot find 'posix_spawn' in scope
139 |             }
140 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:138:55: error: cannot find 'actions' in scope
136 |             else
137 |             {
138 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
    |                                                       `- error: cannot find 'actions' in scope
139 |             }
140 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:134:59: error: 'nil' requires a contextual type
132 |             if  let command:String
133 |             {
134 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                                                           `- error: 'nil' requires a contextual type
135 |             }
136 |             else
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:146:47: error: extra argument 'id' in call
144 |         }
145 |
146 |         self.init(invocation: invocation, id: process)
    |                                               `- error: extra argument 'id' in call
147 |     }
148 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:146:19: error: missing argument for parameter 'command' in call
 38 | {
 39 |     public
 40 |     init(command:String?,
    |     `- note: 'init(command:_:stdout:stderr:duping:echo:with:)' declared here
 41 |         _ arguments:String?...,
 42 |         stdout:FileDescriptor? = nil,
    :
144 |         }
145 |
146 |         self.init(invocation: invocation, id: process)
    |                   `- error: missing argument for parameter 'command' in call
147 |     }
148 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:146:31: error: cannot convert value of type '[String]' to expected argument type 'String'
144 |         }
145 |
146 |         self.init(invocation: invocation, id: process)
    |                               `- error: cannot convert value of type '[String]' to expected argument type 'String'
147 |     }
148 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:154:16: error: cannot find 'waitpid' in scope
152 |         var status:Int32 = 0
153 |
154 |         switch waitpid(self.id, &status, 0)
    |                `- error: cannot find 'waitpid' in scope
155 |         {
156 |         case self.id:       break
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:154:29: error: property 'id' requires that 'SystemProcess' be a class type
152 |         var status:Int32 = 0
153 |
154 |         switch waitpid(self.id, &status, 0)
    |                             `- error: property 'id' requires that 'SystemProcess' be a class type
155 |         {
156 |         case self.id:       break
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
  |           `- note: where 'Self' = 'SystemProcess'
3 |     public var id: ObjectIdentifier { get }
4 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:156:19: error: property 'id' requires that 'SystemProcess' be a class type
154 |         switch waitpid(self.id, &status, 0)
155 |         {
156 |         case self.id:       break
    |                   `- error: property 'id' requires that 'SystemProcess' be a class type
157 |         case let status:    return .failure(.wait(status, self.invocation))
158 |         }
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
  |           `- note: where 'Self' = 'SystemProcess'
3 |     public var id: ObjectIdentifier { get }
4 | }
[65/129] Compiling SystemIO SystemProcess.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:14:12: error: cannot find type 'pid_t' in scope
 12 |     let invocation:[String]
 13 |     public
 14 |     let id:pid_t
    |            `- error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
  4 | import Darwin
  5 | #else
  6 | #error("unsupported platform")
    |        `- error: unsupported platform
  7 | #endif
  8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:17:34: error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
 17 |     init(invocation:[String], id:pid_t)
    |                                  `- error: cannot find type 'pid_t' in scope
 18 |     {
 19 |         self.invocation = invocation
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:20:14: error: property 'id' requires that 'SystemProcess' be a class type
 18 |     {
 19 |         self.invocation = invocation
 20 |         self.id = id
    |              `- error: property 'id' requires that 'SystemProcess' be a class type
 21 |     }
 22 | }
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
  |           `- note: where 'Self' = 'SystemProcess'
3 |     public var id: ObjectIdentifier { get }
4 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:108:13: error: cannot find 'posix_spawn_file_actions_init' in scope
106 |         do
107 |         {
108 |             posix_spawn_file_actions_init(&actions)
    |             `- error: cannot find 'posix_spawn_file_actions_init' in scope
109 |         }
110 |         defer
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:108:44: error: cannot find 'actions' in scope
106 |         do
107 |         {
108 |             posix_spawn_file_actions_init(&actions)
    |                                            `- error: cannot find 'actions' in scope
109 |         }
110 |         defer
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:112:13: error: cannot find 'posix_spawn_file_actions_destroy' in scope
110 |         defer
111 |         {
112 |             posix_spawn_file_actions_destroy(&actions)
    |             `- error: cannot find 'posix_spawn_file_actions_destroy' in scope
113 |         }
114 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:112:47: error: cannot find 'actions' in scope
110 |         defer
111 |         {
112 |             posix_spawn_file_actions_destroy(&actions)
    |                                               `- error: cannot find 'actions' in scope
113 |         }
114 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:117:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
115 |         if  let stdout:FileDescriptor
116 |         {
117 |             posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
118 |         }
119 |         if  let stderr:FileDescriptor
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:117:47: error: cannot find 'actions' in scope
115 |         if  let stdout:FileDescriptor
116 |         {
117 |             posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
    |                                               `- error: cannot find 'actions' in scope
118 |         }
119 |         if  let stderr:FileDescriptor
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:121:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
119 |         if  let stderr:FileDescriptor
120 |         {
121 |             posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
122 |         }
123 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:121:47: error: cannot find 'actions' in scope
119 |         if  let stderr:FileDescriptor
120 |         {
121 |             posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
    |                                               `- error: cannot find 'actions' in scope
122 |         }
123 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:126:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
124 |         for stream:SystemProcess.Stream in streams
125 |         {
126 |             posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
    |             `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
127 |         }
128 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:126:47: error: cannot find 'actions' in scope
124 |         for stream:SystemProcess.Stream in streams
125 |         {
126 |             posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
    |                                               `- error: cannot find 'actions' in scope
127 |         }
128 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:129:21: error: cannot find type 'pid_t' in scope
127 |         }
128 |
129 |         var process:pid_t = 0
    |                     `- error: cannot find type 'pid_t' in scope
130 |         let status:Int32 = environment.withUnsafePointers
131 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:134:17: error: cannot find 'posix_spawnp' in scope
132 |             if  let command:String
133 |             {
134 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                 `- error: cannot find 'posix_spawnp' in scope
135 |             }
136 |             else
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:134:50: error: cannot find 'actions' in scope
132 |             if  let command:String
133 |             {
134 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                                                  `- error: cannot find 'actions' in scope
135 |             }
136 |             else
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:138:17: error: cannot find 'posix_spawn' in scope
136 |             else
137 |             {
138 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
    |                 `- error: cannot find 'posix_spawn' in scope
139 |             }
140 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:138:55: error: cannot find 'actions' in scope
136 |             else
137 |             {
138 |                 posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
    |                                                       `- error: cannot find 'actions' in scope
139 |             }
140 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:134:59: error: 'nil' requires a contextual type
132 |             if  let command:String
133 |             {
134 |                 posix_spawnp(&process, command, &actions, nil, argv, $0)
    |                                                           `- error: 'nil' requires a contextual type
135 |             }
136 |             else
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:146:47: error: extra argument 'id' in call
144 |         }
145 |
146 |         self.init(invocation: invocation, id: process)
    |                                               `- error: extra argument 'id' in call
147 |     }
148 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:146:19: error: missing argument for parameter 'command' in call
 38 | {
 39 |     public
 40 |     init(command:String?,
    |     `- note: 'init(command:_:stdout:stderr:duping:echo:with:)' declared here
 41 |         _ arguments:String?...,
 42 |         stdout:FileDescriptor? = nil,
    :
144 |         }
145 |
146 |         self.init(invocation: invocation, id: process)
    |                   `- error: missing argument for parameter 'command' in call
147 |     }
148 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:146:31: error: cannot convert value of type '[String]' to expected argument type 'String'
144 |         }
145 |
146 |         self.init(invocation: invocation, id: process)
    |                               `- error: cannot convert value of type '[String]' to expected argument type 'String'
147 |     }
148 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:154:16: error: cannot find 'waitpid' in scope
152 |         var status:Int32 = 0
153 |
154 |         switch waitpid(self.id, &status, 0)
    |                `- error: cannot find 'waitpid' in scope
155 |         {
156 |         case self.id:       break
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:154:29: error: property 'id' requires that 'SystemProcess' be a class type
152 |         var status:Int32 = 0
153 |
154 |         switch waitpid(self.id, &status, 0)
    |                             `- error: property 'id' requires that 'SystemProcess' be a class type
155 |         {
156 |         case self.id:       break
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
  |           `- note: where 'Self' = 'SystemProcess'
3 |     public var id: ObjectIdentifier { get }
4 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:156:19: error: property 'id' requires that 'SystemProcess' be a class type
154 |         switch waitpid(self.id, &status, 0)
155 |         {
156 |         case self.id:       break
    |                   `- error: property 'id' requires that 'SystemProcess' be a class type
157 |         case let status:    return .failure(.wait(status, self.invocation))
158 |         }
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
  |           `- note: where 'Self' = 'SystemProcess'
3 |     public var id: ObjectIdentifier { get }
4 | }
[66/129] Compiling SystemIO FileReadError.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:15:15: error: cannot find type 'stat' in scope
13 | {
14 |     @usableFromInline
15 |     let value:stat
   |               `- error: cannot find type 'stat' in scope
16 |
17 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:18:16: error: cannot find type 'stat' in scope
16 |
17 |     private
18 |     init(value:stat)
   |                `- error: cannot find type 'stat' in scope
19 |     {
20 |         self.value = value
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:28:30: error: cannot find 'S_IFMT' in scope
26 |     func `is`(_ type:FileType) -> Bool
27 |     {
28 |         self.value.st_mode & S_IFMT == type.mask
   |                              `- error: cannot find 'S_IFMT' in scope
29 |     }
30 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:14: error: cannot find type 'mode_t' in scope
21 | {
22 |     @inlinable
23 |     var mask:mode_t
   |              `- error: cannot find type 'mode_t' in scope
24 |     {
25 |         switch self
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:39:20: error: cannot find 'stat' in scope
37 |         {
38 |             var value:stat = .init()
39 |             switch stat($0, &value)
   |                    `- error: cannot find 'stat' in scope
40 |             {
41 |             case 0: return .init(value: value)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:42:48: error: cannot find 'errno' in scope
40 |             {
41 |             case 0: return .init(value: value)
42 |             case _: throw Errno.init(rawValue: errno)
   |                                                `- error: cannot find 'errno' in scope
43 |             }
44 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:38:23: error: cannot find type 'stat' in scope
36 |         try path.withPlatformString
37 |         {
38 |             var value:stat = .init()
   |                       `- error: cannot find type 'stat' in scope
39 |             switch stat($0, &value)
40 |             {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:36:18: error: type of expression is ambiguous without a type annotation
34 |     func status(of path:FilePath) throws -> Self
35 |     {
36 |         try path.withPlatformString
   |                  `- error: type of expression is ambiguous without a type annotation
37 |         {
38 |             var value:stat = .init()
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:49:19: error: cannot find type 'stat' in scope
47 |     func status(of file:FileDescriptor) throws -> Self
48 |     {
49 |         var value:stat = .init()
   |                   `- error: cannot find type 'stat' in scope
50 |         switch fstat(file.rawValue, &value)
51 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:50:16: error: cannot find 'fstat' in scope
48 |     {
49 |         var value:stat = .init()
50 |         switch fstat(file.rawValue, &value)
   |                `- error: cannot find 'fstat' in scope
51 |         {
52 |         case 0: return .init(value: value)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:53:44: error: cannot find 'errno' in scope
51 |         {
52 |         case 0: return .init(value: value)
53 |         case _: throw Errno.init(rawValue: errno)
   |                                            `- error: cannot find 'errno' in scope
54 |         }
55 |     }
[67/129] Compiling SystemIO FileSeekError.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:15:15: error: cannot find type 'stat' in scope
13 | {
14 |     @usableFromInline
15 |     let value:stat
   |               `- error: cannot find type 'stat' in scope
16 |
17 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:18:16: error: cannot find type 'stat' in scope
16 |
17 |     private
18 |     init(value:stat)
   |                `- error: cannot find type 'stat' in scope
19 |     {
20 |         self.value = value
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:28:30: error: cannot find 'S_IFMT' in scope
26 |     func `is`(_ type:FileType) -> Bool
27 |     {
28 |         self.value.st_mode & S_IFMT == type.mask
   |                              `- error: cannot find 'S_IFMT' in scope
29 |     }
30 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:14: error: cannot find type 'mode_t' in scope
21 | {
22 |     @inlinable
23 |     var mask:mode_t
   |              `- error: cannot find type 'mode_t' in scope
24 |     {
25 |         switch self
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:39:20: error: cannot find 'stat' in scope
37 |         {
38 |             var value:stat = .init()
39 |             switch stat($0, &value)
   |                    `- error: cannot find 'stat' in scope
40 |             {
41 |             case 0: return .init(value: value)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:42:48: error: cannot find 'errno' in scope
40 |             {
41 |             case 0: return .init(value: value)
42 |             case _: throw Errno.init(rawValue: errno)
   |                                                `- error: cannot find 'errno' in scope
43 |             }
44 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:38:23: error: cannot find type 'stat' in scope
36 |         try path.withPlatformString
37 |         {
38 |             var value:stat = .init()
   |                       `- error: cannot find type 'stat' in scope
39 |             switch stat($0, &value)
40 |             {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:36:18: error: type of expression is ambiguous without a type annotation
34 |     func status(of path:FilePath) throws -> Self
35 |     {
36 |         try path.withPlatformString
   |                  `- error: type of expression is ambiguous without a type annotation
37 |         {
38 |             var value:stat = .init()
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:49:19: error: cannot find type 'stat' in scope
47 |     func status(of file:FileDescriptor) throws -> Self
48 |     {
49 |         var value:stat = .init()
   |                   `- error: cannot find type 'stat' in scope
50 |         switch fstat(file.rawValue, &value)
51 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:50:16: error: cannot find 'fstat' in scope
48 |     {
49 |         var value:stat = .init()
50 |         switch fstat(file.rawValue, &value)
   |                `- error: cannot find 'fstat' in scope
51 |         {
52 |         case 0: return .init(value: value)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:53:44: error: cannot find 'errno' in scope
51 |         {
52 |         case 0: return .init(value: value)
53 |         case _: throw Errno.init(rawValue: errno)
   |                                            `- error: cannot find 'errno' in scope
54 |         }
55 |     }
[68/129] Compiling SystemIO FileStatus.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:15:15: error: cannot find type 'stat' in scope
13 | {
14 |     @usableFromInline
15 |     let value:stat
   |               `- error: cannot find type 'stat' in scope
16 |
17 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:18:16: error: cannot find type 'stat' in scope
16 |
17 |     private
18 |     init(value:stat)
   |                `- error: cannot find type 'stat' in scope
19 |     {
20 |         self.value = value
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:28:30: error: cannot find 'S_IFMT' in scope
26 |     func `is`(_ type:FileType) -> Bool
27 |     {
28 |         self.value.st_mode & S_IFMT == type.mask
   |                              `- error: cannot find 'S_IFMT' in scope
29 |     }
30 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:14: error: cannot find type 'mode_t' in scope
21 | {
22 |     @inlinable
23 |     var mask:mode_t
   |              `- error: cannot find type 'mode_t' in scope
24 |     {
25 |         switch self
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:39:20: error: cannot find 'stat' in scope
37 |         {
38 |             var value:stat = .init()
39 |             switch stat($0, &value)
   |                    `- error: cannot find 'stat' in scope
40 |             {
41 |             case 0: return .init(value: value)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:42:48: error: cannot find 'errno' in scope
40 |             {
41 |             case 0: return .init(value: value)
42 |             case _: throw Errno.init(rawValue: errno)
   |                                                `- error: cannot find 'errno' in scope
43 |             }
44 |         }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:38:23: error: cannot find type 'stat' in scope
36 |         try path.withPlatformString
37 |         {
38 |             var value:stat = .init()
   |                       `- error: cannot find type 'stat' in scope
39 |             switch stat($0, &value)
40 |             {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:36:18: error: type of expression is ambiguous without a type annotation
34 |     func status(of path:FilePath) throws -> Self
35 |     {
36 |         try path.withPlatformString
   |                  `- error: type of expression is ambiguous without a type annotation
37 |         {
38 |             var value:stat = .init()
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:49:19: error: cannot find type 'stat' in scope
47 |     func status(of file:FileDescriptor) throws -> Self
48 |     {
49 |         var value:stat = .init()
   |                   `- error: cannot find type 'stat' in scope
50 |         switch fstat(file.rawValue, &value)
51 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:50:16: error: cannot find 'fstat' in scope
48 |     {
49 |         var value:stat = .init()
50 |         switch fstat(file.rawValue, &value)
   |                `- error: cannot find 'fstat' in scope
51 |         {
52 |         case 0: return .init(value: value)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:53:44: error: cannot find 'errno' in scope
51 |         {
52 |         case 0: return .init(value: value)
53 |         case _: throw Errno.init(rawValue: errno)
   |                                            `- error: cannot find 'errno' in scope
54 |         }
55 |     }
[69/131] Compiling SystemIO FileDescriptor.swift
[70/131] Compiling SystemIO FileError.swift
[71/131] Compiling SystemIO FilePath (ext).swift
[75/131] Compiling SystemIO FilePath.DirectoryPointer.swift
[76/131] Compiling SystemIO FilePermissions (ext).swift
[77/131] Compiling SystemIO SystemProcessError.swift
[78/131] Compiling SystemIO lexemes.swift
[79/131] Compiling ArgumentParser ArgumentVisibility.swift
[80/131] Compiling ArgumentParser CompletionKind.swift
[81/131] Compiling ArgumentParser Errors.swift
[82/131] Compiling ArgumentParser Flag.swift
[83/131] Compiling ArgumentParser NameSpecification.swift
[84/131] Compiling ArgumentParser Option.swift
[85/131] Compiling ArgumentParser CollectionExtensions.swift
[86/131] Compiling ArgumentParser Platform.swift
[87/131] Compiling ArgumentParser SequenceExtensions.swift
[88/131] Compiling ArgumentParser StringExtensions.swift
[89/131] Compiling ArgumentParser Tree.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[90/131] Emitting module SystemIO
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
 10 |
 11 | #else
 12 | #error("unsupported platform")
    |        `- error: unsupported platform
 13 | #endif
 14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("unsupported platform")
    |        `- error: unsupported platform
 11 | #endif
 12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:20:30: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 18 |     {
 19 |         case unopened(FilePath)
 20 |         case opened(FilePath.DirectoryPointer?)
    |                              `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 21 |     }
 22 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(/*System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:26:36: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 24 | {
 25 |     private mutating
 26 |     func open() throws -> FilePath.DirectoryPointer?
    |                                    `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 27 |     {
 28 |         switch self
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(/*System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:15:15: error: cannot find type 'stat' in scope
13 | {
14 |     @usableFromInline
15 |     let value:stat
   |               `- error: cannot find type 'stat' in scope
16 |
17 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:18:16: error: cannot find type 'stat' in scope
16 |
17 |     private
18 |     init(value:stat)
   |                `- error: cannot find type 'stat' in scope
19 |     {
20 |         self.value = value
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:28:30: error: cannot find 'S_IFMT' in scope
26 |     func `is`(_ type:FileType) -> Bool
27 |     {
28 |         self.value.st_mode & S_IFMT == type.mask
   |                              `- error: cannot find 'S_IFMT' in scope
29 |     }
30 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:14: error: cannot find type 'mode_t' in scope
21 | {
22 |     @inlinable
23 |     var mask:mode_t
   |              `- error: cannot find type 'mode_t' in scope
24 |     {
25 |         switch self
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
 4 | import Darwin
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.Environment.swift:6:8: error: unsupported platform
 4 | import Darwin
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:14:12: error: cannot find type 'pid_t' in scope
 12 |     let invocation:[String]
 13 |     public
 14 |     let id:pid_t
    |            `- error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
  4 | import Darwin
  5 | #else
  6 | #error("unsupported platform")
    |        `- error: unsupported platform
  7 | #endif
  8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:17:34: error: cannot find type 'pid_t' in scope
 15 |
 16 |     private
 17 |     init(invocation:[String], id:pid_t)
    |                                  `- error: cannot find type 'pid_t' in scope
 18 |     {
 19 |         self.invocation = invocation
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
[93/131] Compiling SystemIO FilePermissions.Component.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
[94/131] Compiling SystemIO FilePath.Directory.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.Directory.swift:40:50: error: cannot find 'getcwd' in scope
 38 |     {
 39 |         guard
 40 |         let buffer:UnsafeMutablePointer<CChar> = getcwd(nil, 0)
    |                                                  `- error: cannot find 'getcwd' in scope
 41 |         else
 42 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:40:57: error: 'nil' requires a contextual type
 38 |     {
 39 |         guard
 40 |         let buffer:UnsafeMutablePointer<CChar> = getcwd(nil, 0)
    |                                                         `- error: 'nil' requires a contextual type
 41 |         else
 42 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:47:13: error: cannot find 'free' in scope
 45 |         defer
 46 |         {
 47 |             free(buffer)
    |             `- error: cannot find 'free' in scope
 48 |         }
 49 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("unsupported platform")
    |        `- error: unsupported platform
 11 | #endif
 12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:20:30: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 18 |     {
 19 |         case unopened(FilePath)
 20 |         case opened(FilePath.DirectoryPointer?)
    |                              `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 21 |     }
 22 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(/*System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:26:36: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 24 | {
 25 |     private mutating
 26 |     func open() throws -> FilePath.DirectoryPointer?
    |                                    `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 27 |     {
 28 |         switch self
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(/*System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:31:34: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 29 |         {
 30 |         case .unopened(let path):
 31 |             let pointer:FilePath.DirectoryPointer? = try path.withPlatformString
    |                                  `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 32 |             {
 33 |                 if  let pointer:FilePath.DirectoryPointer = opendir($0)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(/*System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:56:35: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 54 |     func next() throws -> FilePath.Component?
 55 |     {
 56 |         guard let stream:FilePath.DirectoryPointer = try self.open()
    |                                   `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 57 |         else
 58 |         {
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(/*System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:56:63: error: type of expression is ambiguous without a type annotation
 54 |     func next() throws -> FilePath.Component?
 55 |     {
 56 |         guard let stream:FilePath.DirectoryPointer = try self.open()
    |                                                               `- error: type of expression is ambiguous without a type annotation
 57 |         else
 58 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:62:45: error: cannot find type 'dirent' in scope
 60 |         }
 61 |
 62 |         guard let offset:Int = MemoryLayout<dirent>.offset(of: \.d_name)
    |                                             `- error: cannot find type 'dirent' in scope
 63 |         else
 64 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:62:64: error: cannot infer key path type from context; consider explicitly specifying a root type
 60 |         }
 61 |
 62 |         guard let offset:Int = MemoryLayout<dirent>.offset(of: \.d_name)
    |                                                                `- error: cannot infer key path type from context; consider explicitly specifying a root type
 63 |         else
 64 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:46: error: cannot find type 'dirent' in scope
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                              `- error: cannot find type 'dirent' in scope
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:56: error: cannot find 'readdir' in scope
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                                        `- error: cannot find 'readdir' in scope
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:56: error: type of expression is ambiguous without a type annotation
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                                        `- error: type of expression is ambiguous without a type annotation
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:92:9: error: cannot find 'closedir' in scope
 90 |         }
 91 |
 92 |         closedir(stream)
    |         `- error: cannot find 'closedir' in scope
 93 |         self = .opened(nil)
 94 |         return nil
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:93:24: error: 'nil' requires a contextual type
 91 |
 92 |         closedir(stream)
 93 |         self = .opened(nil)
    |                        `- error: 'nil' requires a contextual type
 94 |         return nil
 95 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:99:39: error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
 97 |     func close()
 98 |     {
 99 |         guard case .opened(let stream?) = self
    |                                       `- error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
100 |         else
101 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:99:21: error: type 'Errno' has no member 'opened'
 97 |     func close()
 98 |     {
 99 |         guard case .opened(let stream?) = self
    |                     `- error: type 'Errno' has no member 'opened'
100 |         else
101 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:105:9: error: cannot find 'closedir' in scope
103 |         }
104 |
105 |         closedir(stream)
    |         `- error: cannot find 'closedir' in scope
106 |         self = .opened(nil)
107 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:106:24: error: 'nil' requires a contextual type
104 |
105 |         closedir(stream)
106 |         self = .opened(nil)
    |                        `- error: 'nil' requires a contextual type
107 |     }
108 | }
[95/131] Compiling SystemIO FilePath.DirectoryIterator.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.Directory.swift:40:50: error: cannot find 'getcwd' in scope
 38 |     {
 39 |         guard
 40 |         let buffer:UnsafeMutablePointer<CChar> = getcwd(nil, 0)
    |                                                  `- error: cannot find 'getcwd' in scope
 41 |         else
 42 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:40:57: error: 'nil' requires a contextual type
 38 |     {
 39 |         guard
 40 |         let buffer:UnsafeMutablePointer<CChar> = getcwd(nil, 0)
    |                                                         `- error: 'nil' requires a contextual type
 41 |         else
 42 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:47:13: error: cannot find 'free' in scope
 45 |         defer
 46 |         {
 47 |             free(buffer)
    |             `- error: cannot find 'free' in scope
 48 |         }
 49 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("unsupported platform")
    |        `- error: unsupported platform
 11 | #endif
 12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:20:30: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 18 |     {
 19 |         case unopened(FilePath)
 20 |         case opened(FilePath.DirectoryPointer?)
    |                              `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 21 |     }
 22 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(/*System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:26:36: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 24 | {
 25 |     private mutating
 26 |     func open() throws -> FilePath.DirectoryPointer?
    |                                    `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 27 |     {
 28 |         switch self
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(/*System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:31:34: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 29 |         {
 30 |         case .unopened(let path):
 31 |             let pointer:FilePath.DirectoryPointer? = try path.withPlatformString
    |                                  `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 32 |             {
 33 |                 if  let pointer:FilePath.DirectoryPointer = opendir($0)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(/*System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:56:35: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 54 |     func next() throws -> FilePath.Component?
 55 |     {
 56 |         guard let stream:FilePath.DirectoryPointer = try self.open()
    |                                   `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 57 |         else
 58 |         {
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(/*System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:56:63: error: type of expression is ambiguous without a type annotation
 54 |     func next() throws -> FilePath.Component?
 55 |     {
 56 |         guard let stream:FilePath.DirectoryPointer = try self.open()
    |                                                               `- error: type of expression is ambiguous without a type annotation
 57 |         else
 58 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:62:45: error: cannot find type 'dirent' in scope
 60 |         }
 61 |
 62 |         guard let offset:Int = MemoryLayout<dirent>.offset(of: \.d_name)
    |                                             `- error: cannot find type 'dirent' in scope
 63 |         else
 64 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:62:64: error: cannot infer key path type from context; consider explicitly specifying a root type
 60 |         }
 61 |
 62 |         guard let offset:Int = MemoryLayout<dirent>.offset(of: \.d_name)
    |                                                                `- error: cannot infer key path type from context; consider explicitly specifying a root type
 63 |         else
 64 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:46: error: cannot find type 'dirent' in scope
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                              `- error: cannot find type 'dirent' in scope
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:56: error: cannot find 'readdir' in scope
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                                        `- error: cannot find 'readdir' in scope
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:56: error: type of expression is ambiguous without a type annotation
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                                        `- error: type of expression is ambiguous without a type annotation
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:92:9: error: cannot find 'closedir' in scope
 90 |         }
 91 |
 92 |         closedir(stream)
    |         `- error: cannot find 'closedir' in scope
 93 |         self = .opened(nil)
 94 |         return nil
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:93:24: error: 'nil' requires a contextual type
 91 |
 92 |         closedir(stream)
 93 |         self = .opened(nil)
    |                        `- error: 'nil' requires a contextual type
 94 |         return nil
 95 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:99:39: error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
 97 |     func close()
 98 |     {
 99 |         guard case .opened(let stream?) = self
    |                                       `- error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
100 |         else
101 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:99:21: error: type 'Errno' has no member 'opened'
 97 |     func close()
 98 |     {
 99 |         guard case .opened(let stream?) = self
    |                     `- error: type 'Errno' has no member 'opened'
100 |         else
101 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:105:9: error: cannot find 'closedir' in scope
103 |         }
104 |
105 |         closedir(stream)
    |         `- error: cannot find 'closedir' in scope
106 |         self = .opened(nil)
107 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:106:24: error: 'nil' requires a contextual type
104 |
105 |         closedir(stream)
106 |         self = .opened(nil)
    |                        `- error: 'nil' requires a contextual type
107 |     }
108 | }
[96/131] Compiling SystemIO FilePath.DirectoryIterator.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.Directory.swift:40:50: error: cannot find 'getcwd' in scope
 38 |     {
 39 |         guard
 40 |         let buffer:UnsafeMutablePointer<CChar> = getcwd(nil, 0)
    |                                                  `- error: cannot find 'getcwd' in scope
 41 |         else
 42 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:40:57: error: 'nil' requires a contextual type
 38 |     {
 39 |         guard
 40 |         let buffer:UnsafeMutablePointer<CChar> = getcwd(nil, 0)
    |                                                         `- error: 'nil' requires a contextual type
 41 |         else
 42 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:47:13: error: cannot find 'free' in scope
 45 |         defer
 46 |         {
 47 |             free(buffer)
    |             `- error: cannot find 'free' in scope
 48 |         }
 49 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:10:8: error: unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("unsupported platform")
    |        `- error: unsupported platform
 11 | #endif
 12 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:20:30: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 18 |     {
 19 |         case unopened(FilePath)
 20 |         case opened(FilePath.DirectoryPointer?)
    |                              `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 21 |     }
 22 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(/*System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:26:36: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 24 | {
 25 |     private mutating
 26 |     func open() throws -> FilePath.DirectoryPointer?
    |                                    `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 27 |     {
 28 |         switch self
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(/*System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:31:34: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 29 |         {
 30 |         case .unopened(let path):
 31 |             let pointer:FilePath.DirectoryPointer? = try path.withPlatformString
    |                                  `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 32 |             {
 33 |                 if  let pointer:FilePath.DirectoryPointer = opendir($0)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(/*System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:56:35: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 54 |     func next() throws -> FilePath.Component?
 55 |     {
 56 |         guard let stream:FilePath.DirectoryPointer = try self.open()
    |                                   `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
 57 |         else
 58 |         {
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(/*System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declared here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:56:63: error: type of expression is ambiguous without a type annotation
 54 |     func next() throws -> FilePath.Component?
 55 |     {
 56 |         guard let stream:FilePath.DirectoryPointer = try self.open()
    |                                                               `- error: type of expression is ambiguous without a type annotation
 57 |         else
 58 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:62:45: error: cannot find type 'dirent' in scope
 60 |         }
 61 |
 62 |         guard let offset:Int = MemoryLayout<dirent>.offset(of: \.d_name)
    |                                             `- error: cannot find type 'dirent' in scope
 63 |         else
 64 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:62:64: error: cannot infer key path type from context; consider explicitly specifying a root type
 60 |         }
 61 |
 62 |         guard let offset:Int = MemoryLayout<dirent>.offset(of: \.d_name)
    |                                                                `- error: cannot infer key path type from context; consider explicitly specifying a root type
 63 |         else
 64 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:46: error: cannot find type 'dirent' in scope
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                              `- error: cannot find type 'dirent' in scope
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:56: error: cannot find 'readdir' in scope
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                                        `- error: cannot find 'readdir' in scope
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:67:56: error: type of expression is ambiguous without a type annotation
 65 |             fatalError("invalid `dirent` layout")
 66 |         }
 67 |         while let entry:UnsafeMutablePointer<dirent> = readdir(stream)
    |                                                        `- error: type of expression is ambiguous without a type annotation
 68 |         {
 69 |             // `entry` is likely statically-allocated, and has variable-length layout.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:92:9: error: cannot find 'closedir' in scope
 90 |         }
 91 |
 92 |         closedir(stream)
    |         `- error: cannot find 'closedir' in scope
 93 |         self = .opened(nil)
 94 |         return nil
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:93:24: error: 'nil' requires a contextual type
 91 |
 92 |         closedir(stream)
 93 |         self = .opened(nil)
    |                        `- error: 'nil' requires a contextual type
 94 |         return nil
 95 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:99:39: error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
 97 |     func close()
 98 |     {
 99 |         guard case .opened(let stream?) = self
    |                                       `- error: expression pattern of type 'Errno' cannot match values of type 'FilePath.DirectoryIterator.Stream'
100 |         else
101 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:99:21: error: type 'Errno' has no member 'opened'
 97 |     func close()
 98 |     {
 99 |         guard case .opened(let stream?) = self
    |                     `- error: type 'Errno' has no member 'opened'
100 |         else
101 |         {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:105:9: error: cannot find 'closedir' in scope
103 |         }
104 |
105 |         closedir(stream)
    |         `- error: cannot find 'closedir' in scope
106 |         self = .opened(nil)
107 |     }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryIterator.Stream.swift:106:24: error: 'nil' requires a contextual type
104 |
105 |         closedir(stream)
106 |         self = .opened(nil)
    |                        `- error: 'nil' requires a contextual type
107 |     }
108 | }
[98/131] Compiling SystemIO FileSystemStats.swift
[99/131] Compiling SystemIO FileType.swift
[102/131] Compiling ArgumentParser Name.swift
[106/131] Compiling ArgumentParser SplitArguments.swift
[111/131] Compiling ArgumentParser InputOrigin.swift
[112/131] Compiling ArgumentParser DumpHelpGenerator.swift
[113/131] Compiling ArgumentParser HelpCommand.swift
[114/131] Compiling ArgumentParser HelpGenerator.swift
[115/131] Compiling ArgumentParser MessageInfo.swift
[116/131] Compiling ArgumentParser UsageGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
 4 | import Darwin
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:71:19: error: cannot find type 'statvfs' in scope
69 |     func containing(path:FilePath) throws -> Self
70 |     {
71 |         let stats:statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1)
   |                   `- error: cannot find type 'statvfs' in scope
72 |         {
73 |             guard case 0 = statvfs(path.string, &$0[0])
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:82:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
80 |         }
81 |         //  Explicit `UInt32 -> UInt` conversion needed on Darwin.
82 |         return .init(id: UInt.init(stats.f_fsid),
   |                `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
83 |             fragmentCount: UInt.init(stats.f_blocks),
84 |             fragmentSize: UInt.init(stats.f_frsize),
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:14: error: cannot find type 'mode_t' in scope
21 | {
22 |     @inlinable
23 |     var mask:mode_t
   |              `- error: cannot find type 'mode_t' in scope
24 |     {
25 |         switch self
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
 4 | import Darwin
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:71:19: error: cannot find type 'statvfs' in scope
69 |     func containing(path:FilePath) throws -> Self
70 |     {
71 |         let stats:statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1)
   |                   `- error: cannot find type 'statvfs' in scope
72 |         {
73 |             guard case 0 = statvfs(path.string, &$0[0])
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:82:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
80 |         }
81 |         //  Explicit `UInt32 -> UInt` conversion needed on Darwin.
82 |         return .init(id: UInt.init(stats.f_fsid),
   |                `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
83 |             fragmentCount: UInt.init(stats.f_blocks),
84 |             fragmentSize: UInt.init(stats.f_frsize),
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
 4 | import Glibc
 5 | #else
 6 | #error("unsupported platform")
   |        `- error: unsupported platform
 7 | #endif
 8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:14: error: cannot find type 'mode_t' in scope
21 | {
22 |     @inlinable
23 |     var mask:mode_t
   |              `- error: cannot find type 'mode_t' in scope
24 |     {
25 |         switch self
BUILD FAILURE 6.1 android