Build Information
Failed to build Dollup, reference master (05313b), with Swift 6.3 for Android on 1 May 2026 00:25:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:14:39: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
12 | /// An unsafe interface for iterating directory entries from a directory pointer.
13 | struct Stream: ~Copyable {
14 | private var pointer: FilePath.DirectoryPointer?
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
15 |
16 | private init(pointer: FilePath.DirectoryPointer?) {
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.DirentOffsets.swift:26:47: error: cannot find type 'dirent' in scope
24 | }
25 | extension FilePath.Directory.Stream.DirentOffsets {
26 | func name(from base: UnsafeMutablePointer<dirent>) -> FilePath.Component {
| `- error: cannot find type 'dirent' in scope
27 | // `base` is likely statically-allocated, and has variable-length layout.
28 | // attemping to unbind or rebind memory would be meaningless, as we must
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.DirentOffsets.swift:19:38: error: cannot find type 'dirent' in scope
17 | static var load: Self {
18 | guard
19 | let name: Int = MemoryLayout<dirent>.offset(of: \.d_name) else {
| `- error: cannot find type 'dirent' in scope
20 | fatalError("invalid `dirent` layout")
21 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.DirentOffsets.swift:19:57: error: cannot infer key path type from context; consider explicitly specifying a root type
17 | static var load: Self {
18 | guard
19 | let name: Int = MemoryLayout<dirent>.offset(of: \.d_name) else {
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
20 | fatalError("invalid `dirent` layout")
21 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:16:40: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
14 | private var pointer: FilePath.DirectoryPointer?
15 |
16 | private init(pointer: FilePath.DirectoryPointer?) {
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
17 | self.pointer = pointer
18 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:21:38: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
19 |
20 | deinit {
21 | if let stream: FilePath.DirectoryPointer = self.pointer {
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
22 | closedir(stream)
23 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:22:17: error: cannot find 'closedir' in scope
20 | deinit {
21 | if let stream: FilePath.DirectoryPointer = self.pointer {
22 | closedir(stream)
| `- error: cannot find 'closedir' in scope
23 | }
24 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:31:45: error: 'nil' requires a contextual type
29 | }
30 | extension FilePath.Directory.Stream {
31 | static var empty: Self { .init(pointer: nil) }
| `- error: 'nil' requires a contextual type
32 |
33 | static func open(
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:36:31: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
34 | _ directory: FilePath.Directory
35 | ) throws(FileError) -> Self {
36 | let pointer: FilePath.DirectoryPointer? = directory.path.withPlatformString(opendir)
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
37 | if case nil = pointer {
38 | switch Errno.init(rawValue: errno) {
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:36:85: error: cannot find 'opendir' in scope
34 | _ directory: FilePath.Directory
35 | ) throws(FileError) -> Self {
36 | let pointer: FilePath.DirectoryPointer? = directory.path.withPlatformString(opendir)
| `- error: cannot find 'opendir' in scope
37 | if case nil = pointer {
38 | switch Errno.init(rawValue: errno) {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:36:85: error: converting non-escaping value to '(UnsafePointer<CInterop.PlatformChar>) throws -> _' (aka '(UnsafePointer<Int8>) throws -> _') may allow it to escape
34 | _ directory: FilePath.Directory
35 | ) throws(FileError) -> Self {
36 | let pointer: FilePath.DirectoryPointer? = directory.path.withPlatformString(opendir)
| `- error: converting non-escaping value to '(UnsafePointer<CInterop.PlatformChar>) throws -> _' (aka '(UnsafePointer<Int8>) throws -> _') may allow it to escape
37 | if case nil = pointer {
38 | switch Errno.init(rawValue: errno) {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:38:41: error: cannot find 'errno' in scope
36 | let pointer: FilePath.DirectoryPointer? = directory.path.withPlatformString(opendir)
37 | if case nil = pointer {
38 | switch Errno.init(rawValue: errno) {
| `- error: cannot find 'errno' in scope
39 | case .notDirectory:
40 | break
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:49:36: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
47 |
48 | mutating func next() -> (FilePath.Component, FileType?)? {
49 | guard let stream: FilePath.DirectoryPointer = self.pointer else {
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
50 | return nil
51 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:53:47: error: cannot find type 'dirent' in scope
51 | }
52 |
53 | while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
| `- error: cannot find type 'dirent' in scope
54 | let name: FilePath.Component = Self.dirent.name(from: entry)
55 | let type: FileType?
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:53:57: error: cannot find 'readdir' in scope
51 | }
52 |
53 | while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
| `- error: cannot find 'readdir' in scope
54 | let name: FilePath.Component = Self.dirent.name(from: entry)
55 | let type: FileType?
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:54:56: error: cannot call value of non-function type 'Int'
52 |
53 | while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
54 | let name: FilePath.Component = Self.dirent.name(from: entry)
| `- error: cannot call value of non-function type 'Int'
55 | let type: FileType?
56 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:54:56: error: 'name' is inaccessible due to 'private' protection level
52 |
53 | while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
54 | let name: FilePath.Component = Self.dirent.name(from: entry)
| `- error: 'name' is inaccessible due to 'private' protection level
55 | let type: FileType?
56 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.DirentOffsets.swift:13:21: note: 'name' declared here
11 | extension FilePath.Directory.Stream {
12 | struct DirentOffsets {
13 | private let name: Int
| `- note: 'name' declared here
14 | }
15 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:64:18: error: cannot find 'DT_DIR' in scope
62 |
63 | switch DType.init(entry.pointee.d_type) {
64 | case DT_DIR: type = .directory
| `- error: cannot find 'DT_DIR' in scope
65 | case DT_REG: type = .regular
66 | case DT_LNK: type = .symlink
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:65:18: error: cannot find 'DT_REG' in scope
63 | switch DType.init(entry.pointee.d_type) {
64 | case DT_DIR: type = .directory
65 | case DT_REG: type = .regular
| `- error: cannot find 'DT_REG' in scope
66 | case DT_LNK: type = .symlink
67 | case DT_BLK: type = .blockDevice
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:66:18: error: cannot find 'DT_LNK' in scope
64 | case DT_DIR: type = .directory
65 | case DT_REG: type = .regular
66 | case DT_LNK: type = .symlink
| `- error: cannot find 'DT_LNK' in scope
67 | case DT_BLK: type = .blockDevice
68 | case DT_CHR: type = .characterDevice
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:67:18: error: cannot find 'DT_BLK' in scope
65 | case DT_REG: type = .regular
66 | case DT_LNK: type = .symlink
67 | case DT_BLK: type = .blockDevice
| `- error: cannot find 'DT_BLK' in scope
68 | case DT_CHR: type = .characterDevice
69 | case DT_FIFO: type = .fifo
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:68:18: error: cannot find 'DT_CHR' in scope
66 | case DT_LNK: type = .symlink
67 | case DT_BLK: type = .blockDevice
68 | case DT_CHR: type = .characterDevice
| `- error: cannot find 'DT_CHR' in scope
69 | case DT_FIFO: type = .fifo
70 | case DT_SOCK: type = .socket
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:69:18: error: cannot find 'DT_FIFO' in scope
67 | case DT_BLK: type = .blockDevice
68 | case DT_CHR: type = .characterDevice
69 | case DT_FIFO: type = .fifo
| `- error: cannot find 'DT_FIFO' in scope
70 | case DT_SOCK: type = .socket
71 | default: type = nil
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:70:18: error: cannot find 'DT_SOCK' in scope
68 | case DT_CHR: type = .characterDevice
69 | case DT_FIFO: type = .fifo
70 | case DT_SOCK: type = .socket
| `- error: cannot find 'DT_SOCK' in scope
71 | default: type = nil
72 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:82:9: error: cannot find 'closedir' in scope
80 | }
81 |
82 | closedir(stream)
| `- error: cannot find 'closedir' in scope
83 | self.pointer = nil
84 | return nil
[103/191] Compiling SystemIO FilePath.Directory.Stream.DirentOffsets.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.DirentOffsets.swift:8:8: error: unsupported platform
6 | import Glibc
7 | #else
8 | #error("unsupported platform")
| `- error: unsupported platform
9 | #endif
10 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:14:39: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
12 | /// An unsafe interface for iterating directory entries from a directory pointer.
13 | struct Stream: ~Copyable {
14 | private var pointer: FilePath.DirectoryPointer?
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
15 |
16 | private init(pointer: FilePath.DirectoryPointer?) {
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.DirentOffsets.swift:26:47: error: cannot find type 'dirent' in scope
24 | }
25 | extension FilePath.Directory.Stream.DirentOffsets {
26 | func name(from base: UnsafeMutablePointer<dirent>) -> FilePath.Component {
| `- error: cannot find type 'dirent' in scope
27 | // `base` is likely statically-allocated, and has variable-length layout.
28 | // attemping to unbind or rebind memory would be meaningless, as we must
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.DirentOffsets.swift:19:38: error: cannot find type 'dirent' in scope
17 | static var load: Self {
18 | guard
19 | let name: Int = MemoryLayout<dirent>.offset(of: \.d_name) else {
| `- error: cannot find type 'dirent' in scope
20 | fatalError("invalid `dirent` layout")
21 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.DirentOffsets.swift:19:57: error: cannot infer key path type from context; consider explicitly specifying a root type
17 | static var load: Self {
18 | guard
19 | let name: Int = MemoryLayout<dirent>.offset(of: \.d_name) else {
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
20 | fatalError("invalid `dirent` layout")
21 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:16:40: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
14 | private var pointer: FilePath.DirectoryPointer?
15 |
16 | private init(pointer: FilePath.DirectoryPointer?) {
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
17 | self.pointer = pointer
18 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:21:38: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
19 |
20 | deinit {
21 | if let stream: FilePath.DirectoryPointer = self.pointer {
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
22 | closedir(stream)
23 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:22:17: error: cannot find 'closedir' in scope
20 | deinit {
21 | if let stream: FilePath.DirectoryPointer = self.pointer {
22 | closedir(stream)
| `- error: cannot find 'closedir' in scope
23 | }
24 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:31:45: error: 'nil' requires a contextual type
29 | }
30 | extension FilePath.Directory.Stream {
31 | static var empty: Self { .init(pointer: nil) }
| `- error: 'nil' requires a contextual type
32 |
33 | static func open(
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:36:31: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
34 | _ directory: FilePath.Directory
35 | ) throws(FileError) -> Self {
36 | let pointer: FilePath.DirectoryPointer? = directory.path.withPlatformString(opendir)
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
37 | if case nil = pointer {
38 | switch Errno.init(rawValue: errno) {
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:36:85: error: cannot find 'opendir' in scope
34 | _ directory: FilePath.Directory
35 | ) throws(FileError) -> Self {
36 | let pointer: FilePath.DirectoryPointer? = directory.path.withPlatformString(opendir)
| `- error: cannot find 'opendir' in scope
37 | if case nil = pointer {
38 | switch Errno.init(rawValue: errno) {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:36:85: error: converting non-escaping value to '(UnsafePointer<CInterop.PlatformChar>) throws -> _' (aka '(UnsafePointer<Int8>) throws -> _') may allow it to escape
34 | _ directory: FilePath.Directory
35 | ) throws(FileError) -> Self {
36 | let pointer: FilePath.DirectoryPointer? = directory.path.withPlatformString(opendir)
| `- error: converting non-escaping value to '(UnsafePointer<CInterop.PlatformChar>) throws -> _' (aka '(UnsafePointer<Int8>) throws -> _') may allow it to escape
37 | if case nil = pointer {
38 | switch Errno.init(rawValue: errno) {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:38:41: error: cannot find 'errno' in scope
36 | let pointer: FilePath.DirectoryPointer? = directory.path.withPlatformString(opendir)
37 | if case nil = pointer {
38 | switch Errno.init(rawValue: errno) {
| `- error: cannot find 'errno' in scope
39 | case .notDirectory:
40 | break
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:49:36: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
47 |
48 | mutating func next() -> (FilePath.Component, FileType?)? {
49 | guard let stream: FilePath.DirectoryPointer = self.pointer else {
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
50 | return nil
51 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:53:47: error: cannot find type 'dirent' in scope
51 | }
52 |
53 | while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
| `- error: cannot find type 'dirent' in scope
54 | let name: FilePath.Component = Self.dirent.name(from: entry)
55 | let type: FileType?
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:53:57: error: cannot find 'readdir' in scope
51 | }
52 |
53 | while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
| `- error: cannot find 'readdir' in scope
54 | let name: FilePath.Component = Self.dirent.name(from: entry)
55 | let type: FileType?
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:54:56: error: cannot call value of non-function type 'Int'
52 |
53 | while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
54 | let name: FilePath.Component = Self.dirent.name(from: entry)
| `- error: cannot call value of non-function type 'Int'
55 | let type: FileType?
56 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:54:56: error: 'name' is inaccessible due to 'private' protection level
52 |
53 | while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
54 | let name: FilePath.Component = Self.dirent.name(from: entry)
| `- error: 'name' is inaccessible due to 'private' protection level
55 | let type: FileType?
56 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.DirentOffsets.swift:13:21: note: 'name' declared here
11 | extension FilePath.Directory.Stream {
12 | struct DirentOffsets {
13 | private let name: Int
| `- note: 'name' declared here
14 | }
15 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:64:18: error: cannot find 'DT_DIR' in scope
62 |
63 | switch DType.init(entry.pointee.d_type) {
64 | case DT_DIR: type = .directory
| `- error: cannot find 'DT_DIR' in scope
65 | case DT_REG: type = .regular
66 | case DT_LNK: type = .symlink
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:65:18: error: cannot find 'DT_REG' in scope
63 | switch DType.init(entry.pointee.d_type) {
64 | case DT_DIR: type = .directory
65 | case DT_REG: type = .regular
| `- error: cannot find 'DT_REG' in scope
66 | case DT_LNK: type = .symlink
67 | case DT_BLK: type = .blockDevice
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:66:18: error: cannot find 'DT_LNK' in scope
64 | case DT_DIR: type = .directory
65 | case DT_REG: type = .regular
66 | case DT_LNK: type = .symlink
| `- error: cannot find 'DT_LNK' in scope
67 | case DT_BLK: type = .blockDevice
68 | case DT_CHR: type = .characterDevice
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:67:18: error: cannot find 'DT_BLK' in scope
65 | case DT_REG: type = .regular
66 | case DT_LNK: type = .symlink
67 | case DT_BLK: type = .blockDevice
| `- error: cannot find 'DT_BLK' in scope
68 | case DT_CHR: type = .characterDevice
69 | case DT_FIFO: type = .fifo
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:68:18: error: cannot find 'DT_CHR' in scope
66 | case DT_LNK: type = .symlink
67 | case DT_BLK: type = .blockDevice
68 | case DT_CHR: type = .characterDevice
| `- error: cannot find 'DT_CHR' in scope
69 | case DT_FIFO: type = .fifo
70 | case DT_SOCK: type = .socket
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:69:18: error: cannot find 'DT_FIFO' in scope
67 | case DT_BLK: type = .blockDevice
68 | case DT_CHR: type = .characterDevice
69 | case DT_FIFO: type = .fifo
| `- error: cannot find 'DT_FIFO' in scope
70 | case DT_SOCK: type = .socket
71 | default: type = nil
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:70:18: error: cannot find 'DT_SOCK' in scope
68 | case DT_CHR: type = .characterDevice
69 | case DT_FIFO: type = .fifo
70 | case DT_SOCK: type = .socket
| `- error: cannot find 'DT_SOCK' in scope
71 | default: type = nil
72 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:82:9: error: cannot find 'closedir' in scope
80 | }
81 |
82 | closedir(stream)
| `- error: cannot find 'closedir' in scope
83 | self.pointer = nil
84 | return nil
[104/191] Compiling SystemIO FilePath.Directory.Stream.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.DirentOffsets.swift:8:8: error: unsupported platform
6 | import Glibc
7 | #else
8 | #error("unsupported platform")
| `- error: unsupported platform
9 | #endif
10 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:14:39: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
12 | /// An unsafe interface for iterating directory entries from a directory pointer.
13 | struct Stream: ~Copyable {
14 | private var pointer: FilePath.DirectoryPointer?
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
15 |
16 | private init(pointer: FilePath.DirectoryPointer?) {
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.DirentOffsets.swift:26:47: error: cannot find type 'dirent' in scope
24 | }
25 | extension FilePath.Directory.Stream.DirentOffsets {
26 | func name(from base: UnsafeMutablePointer<dirent>) -> FilePath.Component {
| `- error: cannot find type 'dirent' in scope
27 | // `base` is likely statically-allocated, and has variable-length layout.
28 | // attemping to unbind or rebind memory would be meaningless, as we must
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.DirentOffsets.swift:19:38: error: cannot find type 'dirent' in scope
17 | static var load: Self {
18 | guard
19 | let name: Int = MemoryLayout<dirent>.offset(of: \.d_name) else {
| `- error: cannot find type 'dirent' in scope
20 | fatalError("invalid `dirent` layout")
21 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.DirentOffsets.swift:19:57: error: cannot infer key path type from context; consider explicitly specifying a root type
17 | static var load: Self {
18 | guard
19 | let name: Int = MemoryLayout<dirent>.offset(of: \.d_name) else {
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
20 | fatalError("invalid `dirent` layout")
21 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:16:40: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
14 | private var pointer: FilePath.DirectoryPointer?
15 |
16 | private init(pointer: FilePath.DirectoryPointer?) {
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
17 | self.pointer = pointer
18 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:21:38: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
19 |
20 | deinit {
21 | if let stream: FilePath.DirectoryPointer = self.pointer {
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
22 | closedir(stream)
23 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:22:17: error: cannot find 'closedir' in scope
20 | deinit {
21 | if let stream: FilePath.DirectoryPointer = self.pointer {
22 | closedir(stream)
| `- error: cannot find 'closedir' in scope
23 | }
24 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:31:45: error: 'nil' requires a contextual type
29 | }
30 | extension FilePath.Directory.Stream {
31 | static var empty: Self { .init(pointer: nil) }
| `- error: 'nil' requires a contextual type
32 |
33 | static func open(
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:36:31: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
34 | _ directory: FilePath.Directory
35 | ) throws(FileError) -> Self {
36 | let pointer: FilePath.DirectoryPointer? = directory.path.withPlatformString(opendir)
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
37 | if case nil = pointer {
38 | switch Errno.init(rawValue: errno) {
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:36:85: error: cannot find 'opendir' in scope
34 | _ directory: FilePath.Directory
35 | ) throws(FileError) -> Self {
36 | let pointer: FilePath.DirectoryPointer? = directory.path.withPlatformString(opendir)
| `- error: cannot find 'opendir' in scope
37 | if case nil = pointer {
38 | switch Errno.init(rawValue: errno) {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:36:85: error: converting non-escaping value to '(UnsafePointer<CInterop.PlatformChar>) throws -> _' (aka '(UnsafePointer<Int8>) throws -> _') may allow it to escape
34 | _ directory: FilePath.Directory
35 | ) throws(FileError) -> Self {
36 | let pointer: FilePath.DirectoryPointer? = directory.path.withPlatformString(opendir)
| `- error: converting non-escaping value to '(UnsafePointer<CInterop.PlatformChar>) throws -> _' (aka '(UnsafePointer<Int8>) throws -> _') may allow it to escape
37 | if case nil = pointer {
38 | switch Errno.init(rawValue: errno) {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:38:41: error: cannot find 'errno' in scope
36 | let pointer: FilePath.DirectoryPointer? = directory.path.withPlatformString(opendir)
37 | if case nil = pointer {
38 | switch Errno.init(rawValue: errno) {
| `- error: cannot find 'errno' in scope
39 | case .notDirectory:
40 | break
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:49:36: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
47 |
48 | mutating func next() -> (FilePath.Component, FileType?)? {
49 | guard let stream: FilePath.DirectoryPointer = self.pointer else {
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
50 | return nil
51 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:53:47: error: cannot find type 'dirent' in scope
51 | }
52 |
53 | while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
| `- error: cannot find type 'dirent' in scope
54 | let name: FilePath.Component = Self.dirent.name(from: entry)
55 | let type: FileType?
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:53:57: error: cannot find 'readdir' in scope
51 | }
52 |
53 | while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
| `- error: cannot find 'readdir' in scope
54 | let name: FilePath.Component = Self.dirent.name(from: entry)
55 | let type: FileType?
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:54:56: error: cannot call value of non-function type 'Int'
52 |
53 | while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
54 | let name: FilePath.Component = Self.dirent.name(from: entry)
| `- error: cannot call value of non-function type 'Int'
55 | let type: FileType?
56 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:54:56: error: 'name' is inaccessible due to 'private' protection level
52 |
53 | while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
54 | let name: FilePath.Component = Self.dirent.name(from: entry)
| `- error: 'name' is inaccessible due to 'private' protection level
55 | let type: FileType?
56 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.DirentOffsets.swift:13:21: note: 'name' declared here
11 | extension FilePath.Directory.Stream {
12 | struct DirentOffsets {
13 | private let name: Int
| `- note: 'name' declared here
14 | }
15 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:64:18: error: cannot find 'DT_DIR' in scope
62 |
63 | switch DType.init(entry.pointee.d_type) {
64 | case DT_DIR: type = .directory
| `- error: cannot find 'DT_DIR' in scope
65 | case DT_REG: type = .regular
66 | case DT_LNK: type = .symlink
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:65:18: error: cannot find 'DT_REG' in scope
63 | switch DType.init(entry.pointee.d_type) {
64 | case DT_DIR: type = .directory
65 | case DT_REG: type = .regular
| `- error: cannot find 'DT_REG' in scope
66 | case DT_LNK: type = .symlink
67 | case DT_BLK: type = .blockDevice
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:66:18: error: cannot find 'DT_LNK' in scope
64 | case DT_DIR: type = .directory
65 | case DT_REG: type = .regular
66 | case DT_LNK: type = .symlink
| `- error: cannot find 'DT_LNK' in scope
67 | case DT_BLK: type = .blockDevice
68 | case DT_CHR: type = .characterDevice
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:67:18: error: cannot find 'DT_BLK' in scope
65 | case DT_REG: type = .regular
66 | case DT_LNK: type = .symlink
67 | case DT_BLK: type = .blockDevice
| `- error: cannot find 'DT_BLK' in scope
68 | case DT_CHR: type = .characterDevice
69 | case DT_FIFO: type = .fifo
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:68:18: error: cannot find 'DT_CHR' in scope
66 | case DT_LNK: type = .symlink
67 | case DT_BLK: type = .blockDevice
68 | case DT_CHR: type = .characterDevice
| `- error: cannot find 'DT_CHR' in scope
69 | case DT_FIFO: type = .fifo
70 | case DT_SOCK: type = .socket
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:69:18: error: cannot find 'DT_FIFO' in scope
67 | case DT_BLK: type = .blockDevice
68 | case DT_CHR: type = .characterDevice
69 | case DT_FIFO: type = .fifo
| `- error: cannot find 'DT_FIFO' in scope
70 | case DT_SOCK: type = .socket
71 | default: type = nil
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:70:18: error: cannot find 'DT_SOCK' in scope
68 | case DT_CHR: type = .characterDevice
69 | case DT_FIFO: type = .fifo
70 | case DT_SOCK: type = .socket
| `- error: cannot find 'DT_SOCK' in scope
71 | default: type = nil
72 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:82:9: error: cannot find 'closedir' in scope
80 | }
81 |
82 | closedir(stream)
| `- error: cannot find 'closedir' in scope
83 | self.pointer = nil
84 | return nil
error: emit-module command failed with exit code 1 (use -v to see invocation)
[105/191] Emitting module SystemIO
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.DirentOffsets.swift:8:8: error: unsupported platform
6 | import Glibc
7 | #else
8 | #error("unsupported platform")
| `- error: unsupported platform
9 | #endif
10 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/Environment.swift:12:56: error: cannot find 'getenv' in scope
10 | extension Environment {
11 | @inlinable public static subscript(_ name: String) -> String? {
12 | if let cString: UnsafeMutablePointer<CChar> = getenv(name) {
| `- error: cannot find 'getenv' in scope
13 | return String.init(cString: cString)
14 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:10:14: error: cannot find type 'dev_t' in scope
8 |
9 | struct FileIdentifier: Equatable, Hashable {
10 | let dev: dev_t
| `- error: cannot find type 'dev_t' in scope
11 | let ino: ino_t
12 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:11:14: error: cannot find type 'ino_t' in scope
9 | struct FileIdentifier: Equatable, Hashable {
10 | let dev: dev_t
11 | let ino: ino_t
| `- error: cannot find type 'ino_t' in scope
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:9:8: error: type 'FileIdentifier' does not conform to protocol 'Hashable'
7 | #endif
8 |
9 | struct FileIdentifier: Equatable, Hashable {
| `- error: type 'FileIdentifier' does not conform to protocol 'Hashable'
10 | let dev: dev_t
| `- note: stored property type '_' does not conform to protocol 'Hashable', preventing synthesized conformance of 'FileIdentifier' to 'Hashable'
11 | let ino: ino_t
| `- note: stored property type '_' does not conform to protocol 'Hashable', preventing synthesized conformance of 'FileIdentifier' to 'Hashable'
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:9:8: error: type 'FileIdentifier' does not conform to protocol 'Equatable'
7 | #endif
8 |
9 | struct FileIdentifier: Equatable, Hashable {
| |- error: type 'FileIdentifier' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
10 | let dev: dev_t
| `- note: stored property type '_' does not conform to protocol 'Equatable', preventing synthesized conformance of 'FileIdentifier' to 'Equatable'
11 | let ino: ino_t
| `- note: stored property type '_' does not conform to protocol 'Equatable', preventing synthesized conformance of 'FileIdentifier' to 'Equatable'
12 | }
13 |
Swift.==:1:24: note: candidate would match if 'FileIdentifier' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'FileIdentifier' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'FileIdentifier' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'FileIdentifier' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'FileIdentifier' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'FileIdentifier' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'FileIdentifier' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'FileIdentifier' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'FileIdentifier' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'FileIdentifier' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'FileIdentifier' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'FileIdentifier' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'FileIdentifier' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'FileIdentifier' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'FileIdentifier' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'FileIdentifier' conformed to 'SIMD'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(FileIdentifier, FileIdentifier) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(FileIdentifier, FileIdentifier) -> Bool'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:14:39: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
12 | /// An unsafe interface for iterating directory entries from a directory pointer.
13 | struct Stream: ~Copyable {
14 | private var pointer: FilePath.DirectoryPointer?
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
15 |
16 | private init(pointer: FilePath.DirectoryPointer?) {
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.DirentOffsets.swift:26:47: error: cannot find type 'dirent' in scope
24 | }
25 | extension FilePath.Directory.Stream.DirentOffsets {
26 | func name(from base: UnsafeMutablePointer<dirent>) -> FilePath.Component {
| `- error: cannot find type 'dirent' in scope
27 | // `base` is likely statically-allocated, and has variable-length layout.
28 | // attemping to unbind or rebind memory would be meaningless, as we must
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:16:40: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
14 | private var pointer: FilePath.DirectoryPointer?
15 |
16 | private init(pointer: FilePath.DirectoryPointer?) {
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
17 | self.pointer = pointer
18 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:49:36: error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
47 |
48 | mutating func next() -> (FilePath.Component, FileType?)? {
49 | guard let stream: FilePath.DirectoryPointer = self.pointer else {
| `- error: 'DirectoryPointer' is not a member type of struct 'SystemPackage.FilePath'
50 | return nil
51 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declared here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(System 0.0.1, *)
41 | public struct FilePath: Sendable {
| `- note: 'FilePath' declared here
42 | // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 | // components, etc.
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:53:47: error: cannot find type 'dirent' in scope
51 | }
52 |
53 | while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
| `- error: cannot find type 'dirent' in scope
54 | let name: FilePath.Component = Self.dirent.name(from: entry)
55 | let type: FileType?
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:53:57: error: cannot find 'readdir' in scope
51 | }
52 |
53 | while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
| `- error: cannot find 'readdir' in scope
54 | let name: FilePath.Component = Self.dirent.name(from: entry)
55 | let type: FileType?
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:54:56: error: 'name' is inaccessible due to 'private' protection level
52 |
53 | while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
54 | let name: FilePath.Component = Self.dirent.name(from: entry)
| `- error: 'name' is inaccessible due to 'private' protection level
55 | let type: FileType?
56 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.DirentOffsets.swift:13:21: note: 'name' declared here
11 | extension FilePath.Directory.Stream {
12 | struct DirentOffsets {
13 | private let name: Int
| `- note: 'name' declared here
14 | }
15 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:54:56: error: cannot call value of non-function type 'Int'
52 |
53 | while let entry: UnsafeMutablePointer<dirent> = readdir(stream) {
54 | let name: FilePath.Component = Self.dirent.name(from: entry)
| `- error: cannot call value of non-function type 'Int'
55 | let type: FileType?
56 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:64:18: error: cannot find 'DT_DIR' in scope
62 |
63 | switch DType.init(entry.pointee.d_type) {
64 | case DT_DIR: type = .directory
| `- error: cannot find 'DT_DIR' in scope
65 | case DT_REG: type = .regular
66 | case DT_LNK: type = .symlink
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:65:18: error: cannot find 'DT_REG' in scope
63 | switch DType.init(entry.pointee.d_type) {
64 | case DT_DIR: type = .directory
65 | case DT_REG: type = .regular
| `- error: cannot find 'DT_REG' in scope
66 | case DT_LNK: type = .symlink
67 | case DT_BLK: type = .blockDevice
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:66:18: error: cannot find 'DT_LNK' in scope
64 | case DT_DIR: type = .directory
65 | case DT_REG: type = .regular
66 | case DT_LNK: type = .symlink
| `- error: cannot find 'DT_LNK' in scope
67 | case DT_BLK: type = .blockDevice
68 | case DT_CHR: type = .characterDevice
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:67:18: error: cannot find 'DT_BLK' in scope
65 | case DT_REG: type = .regular
66 | case DT_LNK: type = .symlink
67 | case DT_BLK: type = .blockDevice
| `- error: cannot find 'DT_BLK' in scope
68 | case DT_CHR: type = .characterDevice
69 | case DT_FIFO: type = .fifo
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:68:18: error: cannot find 'DT_CHR' in scope
66 | case DT_LNK: type = .symlink
67 | case DT_BLK: type = .blockDevice
68 | case DT_CHR: type = .characterDevice
| `- error: cannot find 'DT_CHR' in scope
69 | case DT_FIFO: type = .fifo
70 | case DT_SOCK: type = .socket
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:69:18: error: cannot find 'DT_FIFO' in scope
67 | case DT_BLK: type = .blockDevice
68 | case DT_CHR: type = .characterDevice
69 | case DT_FIFO: type = .fifo
| `- error: cannot find 'DT_FIFO' in scope
70 | case DT_SOCK: type = .socket
71 | default: type = nil
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:70:18: error: cannot find 'DT_SOCK' in scope
68 | case DT_CHR: type = .characterDevice
69 | case DT_FIFO: type = .fifo
70 | case DT_SOCK: type = .socket
| `- error: cannot find 'DT_SOCK' in scope
71 | default: type = nil
72 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:82:9: error: cannot find 'closedir' in scope
80 | }
81 |
82 | closedir(stream)
| `- error: cannot find 'closedir' in scope
83 | self.pointer = nil
84 | return nil
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:12:34: error: cannot find type 'stat' in scope
10 |
11 | @frozen public struct FileStatus {
12 | @usableFromInline let value: stat
| `- error: cannot find type 'stat' in scope
13 |
14 | private init(value: stat) {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:14:25: error: cannot find type 'stat' in scope
12 | @usableFromInline let value: stat
13 |
14 | private init(value: stat) {
| `- error: cannot find type 'stat' in scope
15 | self.value = value
16 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:25:30: error: cannot find 'S_IFMT' in scope
23 | extension FileStatus {
24 | @inlinable public func `is`(_ type: FileType) -> Bool {
25 | self.value.st_mode & S_IFMT == type.mask
| `- error: cannot find 'S_IFMT' in scope
26 | }
27 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:19:26: error: cannot find type 'mode_t' in scope
17 | }
18 | extension FileType {
19 | @inlinable var mask: mode_t {
| `- error: cannot find type 'mode_t' in scope
20 | switch self {
21 | case .blockDevice: S_IFBLK
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:29:37: error: cannot find 'S_IFMT' in scope
27 |
28 | @inlinable public var type: FileType? {
29 | switch self.value.st_mode & S_IFMT {
| `- error: cannot find 'S_IFMT' in scope
30 | case S_IFBLK: .blockDevice
31 | case S_IFCHR: .characterDevice
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:21:33: error: cannot find 'S_IFBLK' in scope
19 | @inlinable var mask: mode_t {
20 | switch self {
21 | case .blockDevice: S_IFBLK
| `- error: cannot find 'S_IFBLK' in scope
22 | case .characterDevice: S_IFCHR
23 | case .directory: S_IFDIR
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:22:33: error: cannot find 'S_IFCHR' in scope
20 | switch self {
21 | case .blockDevice: S_IFBLK
22 | case .characterDevice: S_IFCHR
| `- error: cannot find 'S_IFCHR' in scope
23 | case .directory: S_IFDIR
24 | case .fifo: S_IFIFO
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:33: error: cannot find 'S_IFDIR' in scope
21 | case .blockDevice: S_IFBLK
22 | case .characterDevice: S_IFCHR
23 | case .directory: S_IFDIR
| `- error: cannot find 'S_IFDIR' in scope
24 | case .fifo: S_IFIFO
25 | case .regular: S_IFREG
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:24:33: error: cannot find 'S_IFIFO' in scope
22 | case .characterDevice: S_IFCHR
23 | case .directory: S_IFDIR
24 | case .fifo: S_IFIFO
| `- error: cannot find 'S_IFIFO' in scope
25 | case .regular: S_IFREG
26 | case .socket: S_IFSOCK
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:25:33: error: cannot find 'S_IFREG' in scope
23 | case .directory: S_IFDIR
24 | case .fifo: S_IFIFO
25 | case .regular: S_IFREG
| `- error: cannot find 'S_IFREG' in scope
26 | case .socket: S_IFSOCK
27 | case .symlink: S_IFLNK
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:26:33: error: cannot find 'S_IFSOCK' in scope
24 | case .fifo: S_IFIFO
25 | case .regular: S_IFREG
26 | case .socket: S_IFSOCK
| `- error: cannot find 'S_IFSOCK' in scope
27 | case .symlink: S_IFLNK
28 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:27:33: error: cannot find 'S_IFLNK' in scope
25 | case .regular: S_IFREG
26 | case .socket: S_IFSOCK
27 | case .symlink: S_IFLNK
| `- error: cannot find 'S_IFLNK' in scope
28 | }
29 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:11:20: error: cannot find type 'pid_t' in scope
9 | @frozen public struct SystemProcess: Identifiable {
10 | let invocation: [String]
11 | public let id: pid_t
| `- error: cannot find type 'pid_t' in scope
12 |
13 | private init(invocation: [String], id: pid_t) {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:13:44: error: cannot find type 'pid_t' in scope
11 | public let id: pid_t
12 |
13 | private init(invocation: [String], id: pid_t) {
| `- error: cannot find type 'pid_t' in scope
14 | self.invocation = invocation
15 | self.id = id
[106/191] Compiling SwiftSyntax SyntaxNodeStructure.swift
[107/191] Compiling SwiftSyntax SyntaxProtocol.swift
[108/191] Compiling SwiftSyntax SyntaxText.swift
[109/191] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[110/191] Compiling SwiftSyntax TokenDiagnostic.swift
[111/191] Compiling SwiftSyntax TokenSequence.swift
[112/191] Compiling SwiftSyntax TokenSyntax.swift
[113/191] Compiling SwiftSyntax Trivia.swift
[114/191] Compiling SwiftSyntax Utils.swift
[115/191] Compiling SystemIO SystemProcess.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.DirentOffsets.swift:8:8: error: unsupported platform
6 | import Glibc
7 | #else
8 | #error("unsupported platform")
| `- error: unsupported platform
9 | #endif
10 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:11:20: error: cannot find type 'pid_t' in scope
9 | @frozen public struct SystemProcess: Identifiable {
10 | let invocation: [String]
11 | public let id: pid_t
| `- error: cannot find type 'pid_t' in scope
12 |
13 | private init(invocation: [String], id: pid_t) {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:13:44: error: cannot find type 'pid_t' in scope
11 | public let id: pid_t
12 |
13 | private init(invocation: [String], id: pid_t) {
| `- error: cannot find type 'pid_t' in scope
14 | self.invocation = invocation
15 | self.id = id
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:15:14: error: property 'id' requires that 'SystemProcess' be a class type
13 | private init(invocation: [String], id: pid_t) {
14 | self.invocation = invocation
15 | self.id = id
| `- error: property 'id' requires that 'SystemProcess' be a class type
16 | }
17 | }
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
| `- note: where 'Self' = 'SystemProcess'
3 | public var id: ObjectIdentifier { get }
4 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:93:13: error: cannot find 'posix_spawn_file_actions_init' in scope
91 |
92 | do {
93 | posix_spawn_file_actions_init(&actions)
| `- error: cannot find 'posix_spawn_file_actions_init' in scope
94 | }
95 | defer {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:93:44: error: cannot find 'actions' in scope
91 |
92 | do {
93 | posix_spawn_file_actions_init(&actions)
| `- error: cannot find 'actions' in scope
94 | }
95 | defer {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:96:13: error: cannot find 'posix_spawn_file_actions_destroy' in scope
94 | }
95 | defer {
96 | posix_spawn_file_actions_destroy(&actions)
| `- error: cannot find 'posix_spawn_file_actions_destroy' in scope
97 | }
98 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:96:47: error: cannot find 'actions' in scope
94 | }
95 | defer {
96 | posix_spawn_file_actions_destroy(&actions)
| `- error: cannot find 'actions' in scope
97 | }
98 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:100:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
98 |
99 | if let stdout: FileDescriptor {
100 | posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
| `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
101 | }
102 | if let stderr: FileDescriptor {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:100:47: error: cannot find 'actions' in scope
98 |
99 | if let stdout: FileDescriptor {
100 | posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
| `- error: cannot find 'actions' in scope
101 | }
102 | if let stderr: FileDescriptor {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:103:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
101 | }
102 | if let stderr: FileDescriptor {
103 | posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
| `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
104 | }
105 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:103:47: error: cannot find 'actions' in scope
101 | }
102 | if let stderr: FileDescriptor {
103 | posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
| `- error: cannot find 'actions' in scope
104 | }
105 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:107:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
105 |
106 | for stream: SystemProcess.Stream in streams {
107 | posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
| `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
108 | }
109 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:107:47: error: cannot find 'actions' in scope
105 |
106 | for stream: SystemProcess.Stream in streams {
107 | posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
| `- error: cannot find 'actions' in scope
108 | }
109 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:110:22: error: cannot find type 'pid_t' in scope
108 | }
109 |
110 | var process: pid_t = 0
| `- error: cannot find type 'pid_t' in scope
111 | let status: Int32 = environment.withUnsafePointers {
112 | if let command: String {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:113:17: error: cannot find 'posix_spawnp' in scope
111 | let status: Int32 = environment.withUnsafePointers {
112 | if let command: String {
113 | posix_spawnp(&process, command, &actions, nil, argv, $0)
| `- error: cannot find 'posix_spawnp' in scope
114 | } else {
115 | posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:113:50: error: cannot find 'actions' in scope
111 | let status: Int32 = environment.withUnsafePointers {
112 | if let command: String {
113 | posix_spawnp(&process, command, &actions, nil, argv, $0)
| `- error: cannot find 'actions' in scope
114 | } else {
115 | posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:115:17: error: cannot find 'posix_spawn' in scope
113 | posix_spawnp(&process, command, &actions, nil, argv, $0)
114 | } else {
115 | posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
| `- error: cannot find 'posix_spawn' in scope
116 | }
117 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:115:55: error: cannot find 'actions' in scope
113 | posix_spawnp(&process, command, &actions, nil, argv, $0)
114 | } else {
115 | posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
| `- error: cannot find 'actions' in scope
116 | }
117 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:113:59: error: 'nil' requires a contextual type
111 | let status: Int32 = environment.withUnsafePointers {
112 | if let command: String {
113 | posix_spawnp(&process, command, &actions, nil, argv, $0)
| `- error: 'nil' requires a contextual type
114 | } else {
115 | posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:122:47: error: extra argument 'id' in call
120 | }
121 |
122 | self.init(invocation: invocation, id: process)
| `- error: extra argument 'id' in call
123 | }
124 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:122:19: error: missing argument for parameter 'command' in call
28 | }
29 | extension SystemProcess {
30 | public init(
| `- note: 'init(command:_:stdout:stderr:duping:echo:with:)' declared here
31 | command: String?,
32 | _ arguments: String?...,
:
120 | }
121 |
122 | self.init(invocation: invocation, id: process)
| `- error: missing argument for parameter 'command' in call
123 | }
124 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:122:31: error: cannot convert value of type '[String]' to expected argument type 'String'
120 | }
121 |
122 | self.init(invocation: invocation, id: process)
| `- error: cannot convert value of type '[String]' to expected argument type 'String'
123 | }
124 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:128:16: error: cannot find 'waitpid' in scope
126 | var status: Int32 = 0
127 |
128 | switch waitpid(self.id, &status, 0) {
| `- error: cannot find 'waitpid' in scope
129 | case self.id: break
130 | case let status: return .failure(.wait(status, self.invocation))
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:128:29: error: property 'id' requires that 'SystemProcess' be a class type
126 | var status: Int32 = 0
127 |
128 | switch waitpid(self.id, &status, 0) {
| `- error: property 'id' requires that 'SystemProcess' be a class type
129 | case self.id: break
130 | case let status: return .failure(.wait(status, self.invocation))
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
| `- note: where 'Self' = 'SystemProcess'
3 | public var id: ObjectIdentifier { get }
4 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:129:19: error: property 'id' requires that 'SystemProcess' be a class type
127 |
128 | switch waitpid(self.id, &status, 0) {
129 | case self.id: break
| `- error: property 'id' requires that 'SystemProcess' be a class type
130 | case let status: return .failure(.wait(status, self.invocation))
131 | }
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
| `- note: where 'Self' = 'SystemProcess'
3 | public var id: ObjectIdentifier { get }
4 | }
[116/191] Compiling SystemIO SystemProcessError.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.DirentOffsets.swift:8:8: error: unsupported platform
6 | import Glibc
7 | #else
8 | #error("unsupported platform")
| `- error: unsupported platform
9 | #endif
10 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:11:20: error: cannot find type 'pid_t' in scope
9 | @frozen public struct SystemProcess: Identifiable {
10 | let invocation: [String]
11 | public let id: pid_t
| `- error: cannot find type 'pid_t' in scope
12 |
13 | private init(invocation: [String], id: pid_t) {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:13:44: error: cannot find type 'pid_t' in scope
11 | public let id: pid_t
12 |
13 | private init(invocation: [String], id: pid_t) {
| `- error: cannot find type 'pid_t' in scope
14 | self.invocation = invocation
15 | self.id = id
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:15:14: error: property 'id' requires that 'SystemProcess' be a class type
13 | private init(invocation: [String], id: pid_t) {
14 | self.invocation = invocation
15 | self.id = id
| `- error: property 'id' requires that 'SystemProcess' be a class type
16 | }
17 | }
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
| `- note: where 'Self' = 'SystemProcess'
3 | public var id: ObjectIdentifier { get }
4 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:93:13: error: cannot find 'posix_spawn_file_actions_init' in scope
91 |
92 | do {
93 | posix_spawn_file_actions_init(&actions)
| `- error: cannot find 'posix_spawn_file_actions_init' in scope
94 | }
95 | defer {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:93:44: error: cannot find 'actions' in scope
91 |
92 | do {
93 | posix_spawn_file_actions_init(&actions)
| `- error: cannot find 'actions' in scope
94 | }
95 | defer {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:96:13: error: cannot find 'posix_spawn_file_actions_destroy' in scope
94 | }
95 | defer {
96 | posix_spawn_file_actions_destroy(&actions)
| `- error: cannot find 'posix_spawn_file_actions_destroy' in scope
97 | }
98 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:96:47: error: cannot find 'actions' in scope
94 | }
95 | defer {
96 | posix_spawn_file_actions_destroy(&actions)
| `- error: cannot find 'actions' in scope
97 | }
98 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:100:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
98 |
99 | if let stdout: FileDescriptor {
100 | posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
| `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
101 | }
102 | if let stderr: FileDescriptor {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:100:47: error: cannot find 'actions' in scope
98 |
99 | if let stdout: FileDescriptor {
100 | posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
| `- error: cannot find 'actions' in scope
101 | }
102 | if let stderr: FileDescriptor {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:103:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
101 | }
102 | if let stderr: FileDescriptor {
103 | posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
| `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
104 | }
105 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:103:47: error: cannot find 'actions' in scope
101 | }
102 | if let stderr: FileDescriptor {
103 | posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
| `- error: cannot find 'actions' in scope
104 | }
105 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:107:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
105 |
106 | for stream: SystemProcess.Stream in streams {
107 | posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
| `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
108 | }
109 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:107:47: error: cannot find 'actions' in scope
105 |
106 | for stream: SystemProcess.Stream in streams {
107 | posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
| `- error: cannot find 'actions' in scope
108 | }
109 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:110:22: error: cannot find type 'pid_t' in scope
108 | }
109 |
110 | var process: pid_t = 0
| `- error: cannot find type 'pid_t' in scope
111 | let status: Int32 = environment.withUnsafePointers {
112 | if let command: String {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:113:17: error: cannot find 'posix_spawnp' in scope
111 | let status: Int32 = environment.withUnsafePointers {
112 | if let command: String {
113 | posix_spawnp(&process, command, &actions, nil, argv, $0)
| `- error: cannot find 'posix_spawnp' in scope
114 | } else {
115 | posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:113:50: error: cannot find 'actions' in scope
111 | let status: Int32 = environment.withUnsafePointers {
112 | if let command: String {
113 | posix_spawnp(&process, command, &actions, nil, argv, $0)
| `- error: cannot find 'actions' in scope
114 | } else {
115 | posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:115:17: error: cannot find 'posix_spawn' in scope
113 | posix_spawnp(&process, command, &actions, nil, argv, $0)
114 | } else {
115 | posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
| `- error: cannot find 'posix_spawn' in scope
116 | }
117 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:115:55: error: cannot find 'actions' in scope
113 | posix_spawnp(&process, command, &actions, nil, argv, $0)
114 | } else {
115 | posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
| `- error: cannot find 'actions' in scope
116 | }
117 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:113:59: error: 'nil' requires a contextual type
111 | let status: Int32 = environment.withUnsafePointers {
112 | if let command: String {
113 | posix_spawnp(&process, command, &actions, nil, argv, $0)
| `- error: 'nil' requires a contextual type
114 | } else {
115 | posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:122:47: error: extra argument 'id' in call
120 | }
121 |
122 | self.init(invocation: invocation, id: process)
| `- error: extra argument 'id' in call
123 | }
124 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:122:19: error: missing argument for parameter 'command' in call
28 | }
29 | extension SystemProcess {
30 | public init(
| `- note: 'init(command:_:stdout:stderr:duping:echo:with:)' declared here
31 | command: String?,
32 | _ arguments: String?...,
:
120 | }
121 |
122 | self.init(invocation: invocation, id: process)
| `- error: missing argument for parameter 'command' in call
123 | }
124 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:122:31: error: cannot convert value of type '[String]' to expected argument type 'String'
120 | }
121 |
122 | self.init(invocation: invocation, id: process)
| `- error: cannot convert value of type '[String]' to expected argument type 'String'
123 | }
124 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:128:16: error: cannot find 'waitpid' in scope
126 | var status: Int32 = 0
127 |
128 | switch waitpid(self.id, &status, 0) {
| `- error: cannot find 'waitpid' in scope
129 | case self.id: break
130 | case let status: return .failure(.wait(status, self.invocation))
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:128:29: error: property 'id' requires that 'SystemProcess' be a class type
126 | var status: Int32 = 0
127 |
128 | switch waitpid(self.id, &status, 0) {
| `- error: property 'id' requires that 'SystemProcess' be a class type
129 | case self.id: break
130 | case let status: return .failure(.wait(status, self.invocation))
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
| `- note: where 'Self' = 'SystemProcess'
3 | public var id: ObjectIdentifier { get }
4 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:129:19: error: property 'id' requires that 'SystemProcess' be a class type
127 |
128 | switch waitpid(self.id, &status, 0) {
129 | case self.id: break
| `- error: property 'id' requires that 'SystemProcess' be a class type
130 | case let status: return .failure(.wait(status, self.invocation))
131 | }
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
| `- note: where 'Self' = 'SystemProcess'
3 | public var id: ObjectIdentifier { get }
4 | }
[117/191] Compiling SystemIO lexemes.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.DirentOffsets.swift:8:8: error: unsupported platform
6 | import Glibc
7 | #else
8 | #error("unsupported platform")
| `- error: unsupported platform
9 | #endif
10 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:11:20: error: cannot find type 'pid_t' in scope
9 | @frozen public struct SystemProcess: Identifiable {
10 | let invocation: [String]
11 | public let id: pid_t
| `- error: cannot find type 'pid_t' in scope
12 |
13 | private init(invocation: [String], id: pid_t) {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:13:44: error: cannot find type 'pid_t' in scope
11 | public let id: pid_t
12 |
13 | private init(invocation: [String], id: pid_t) {
| `- error: cannot find type 'pid_t' in scope
14 | self.invocation = invocation
15 | self.id = id
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:15:14: error: property 'id' requires that 'SystemProcess' be a class type
13 | private init(invocation: [String], id: pid_t) {
14 | self.invocation = invocation
15 | self.id = id
| `- error: property 'id' requires that 'SystemProcess' be a class type
16 | }
17 | }
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
| `- note: where 'Self' = 'SystemProcess'
3 | public var id: ObjectIdentifier { get }
4 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:93:13: error: cannot find 'posix_spawn_file_actions_init' in scope
91 |
92 | do {
93 | posix_spawn_file_actions_init(&actions)
| `- error: cannot find 'posix_spawn_file_actions_init' in scope
94 | }
95 | defer {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:93:44: error: cannot find 'actions' in scope
91 |
92 | do {
93 | posix_spawn_file_actions_init(&actions)
| `- error: cannot find 'actions' in scope
94 | }
95 | defer {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:96:13: error: cannot find 'posix_spawn_file_actions_destroy' in scope
94 | }
95 | defer {
96 | posix_spawn_file_actions_destroy(&actions)
| `- error: cannot find 'posix_spawn_file_actions_destroy' in scope
97 | }
98 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:96:47: error: cannot find 'actions' in scope
94 | }
95 | defer {
96 | posix_spawn_file_actions_destroy(&actions)
| `- error: cannot find 'actions' in scope
97 | }
98 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:100:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
98 |
99 | if let stdout: FileDescriptor {
100 | posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
| `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
101 | }
102 | if let stderr: FileDescriptor {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:100:47: error: cannot find 'actions' in scope
98 |
99 | if let stdout: FileDescriptor {
100 | posix_spawn_file_actions_adddup2(&actions, stdout.rawValue, 1)
| `- error: cannot find 'actions' in scope
101 | }
102 | if let stderr: FileDescriptor {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:103:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
101 | }
102 | if let stderr: FileDescriptor {
103 | posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
| `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
104 | }
105 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:103:47: error: cannot find 'actions' in scope
101 | }
102 | if let stderr: FileDescriptor {
103 | posix_spawn_file_actions_adddup2(&actions, stderr.rawValue, 2)
| `- error: cannot find 'actions' in scope
104 | }
105 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:107:13: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
105 |
106 | for stream: SystemProcess.Stream in streams {
107 | posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
| `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
108 | }
109 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:107:47: error: cannot find 'actions' in scope
105 |
106 | for stream: SystemProcess.Stream in streams {
107 | posix_spawn_file_actions_adddup2(&actions, stream.parent.rawValue, stream.child)
| `- error: cannot find 'actions' in scope
108 | }
109 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:110:22: error: cannot find type 'pid_t' in scope
108 | }
109 |
110 | var process: pid_t = 0
| `- error: cannot find type 'pid_t' in scope
111 | let status: Int32 = environment.withUnsafePointers {
112 | if let command: String {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:113:17: error: cannot find 'posix_spawnp' in scope
111 | let status: Int32 = environment.withUnsafePointers {
112 | if let command: String {
113 | posix_spawnp(&process, command, &actions, nil, argv, $0)
| `- error: cannot find 'posix_spawnp' in scope
114 | } else {
115 | posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:113:50: error: cannot find 'actions' in scope
111 | let status: Int32 = environment.withUnsafePointers {
112 | if let command: String {
113 | posix_spawnp(&process, command, &actions, nil, argv, $0)
| `- error: cannot find 'actions' in scope
114 | } else {
115 | posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:115:17: error: cannot find 'posix_spawn' in scope
113 | posix_spawnp(&process, command, &actions, nil, argv, $0)
114 | } else {
115 | posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
| `- error: cannot find 'posix_spawn' in scope
116 | }
117 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:115:55: error: cannot find 'actions' in scope
113 | posix_spawnp(&process, command, &actions, nil, argv, $0)
114 | } else {
115 | posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
| `- error: cannot find 'actions' in scope
116 | }
117 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:113:59: error: 'nil' requires a contextual type
111 | let status: Int32 = environment.withUnsafePointers {
112 | if let command: String {
113 | posix_spawnp(&process, command, &actions, nil, argv, $0)
| `- error: 'nil' requires a contextual type
114 | } else {
115 | posix_spawn(&process, invocation[0], &actions, nil, argv, $0)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:122:47: error: extra argument 'id' in call
120 | }
121 |
122 | self.init(invocation: invocation, id: process)
| `- error: extra argument 'id' in call
123 | }
124 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:122:19: error: missing argument for parameter 'command' in call
28 | }
29 | extension SystemProcess {
30 | public init(
| `- note: 'init(command:_:stdout:stderr:duping:echo:with:)' declared here
31 | command: String?,
32 | _ arguments: String?...,
:
120 | }
121 |
122 | self.init(invocation: invocation, id: process)
| `- error: missing argument for parameter 'command' in call
123 | }
124 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:122:31: error: cannot convert value of type '[String]' to expected argument type 'String'
120 | }
121 |
122 | self.init(invocation: invocation, id: process)
| `- error: cannot convert value of type '[String]' to expected argument type 'String'
123 | }
124 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:128:16: error: cannot find 'waitpid' in scope
126 | var status: Int32 = 0
127 |
128 | switch waitpid(self.id, &status, 0) {
| `- error: cannot find 'waitpid' in scope
129 | case self.id: break
130 | case let status: return .failure(.wait(status, self.invocation))
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:128:29: error: property 'id' requires that 'SystemProcess' be a class type
126 | var status: Int32 = 0
127 |
128 | switch waitpid(self.id, &status, 0) {
| `- error: property 'id' requires that 'SystemProcess' be a class type
129 | case self.id: break
130 | case let status: return .failure(.wait(status, self.invocation))
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
| `- note: where 'Self' = 'SystemProcess'
3 | public var id: ObjectIdentifier { get }
4 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:129:19: error: property 'id' requires that 'SystemProcess' be a class type
127 |
128 | switch waitpid(self.id, &status, 0) {
129 | case self.id: break
| `- error: property 'id' requires that 'SystemProcess' be a class type
130 | case let status: return .failure(.wait(status, self.invocation))
131 | }
Swift.Identifiable:2:11: note: where 'Self' = 'SystemProcess'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension Identifiable where Self : AnyObject {
| `- note: where 'Self' = 'SystemProcess'
3 | public var id: ObjectIdentifier { get }
4 | }
[118/191] Compiling SystemIO FilePath.DirectoryIterator.swift
[119/191] Compiling SystemIO FilePath.DirectoryPointer.swift
[120/191] Compiling SystemIO FileStatus.swift
[121/191] Compiling SystemIO FileSystemStats.swift
[122/191] Compiling SystemIO FileType.swift
[134/191] Compiling SwiftSyntax SyntaxHashable.swift
[135/191] Compiling SwiftSyntax SyntaxIdentifier.swift
[136/191] Emitting module SwiftSyntax
[137/191] Compiling SystemIO FileErrorType.Read.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.DirentOffsets.swift:8:8: error: unsupported platform
6 | import Glibc
7 | #else
8 | #error("unsupported platform")
| `- error: unsupported platform
9 | #endif
10 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:10:14: error: cannot find type 'dev_t' in scope
8 |
9 | struct FileIdentifier: Equatable, Hashable {
10 | let dev: dev_t
| `- error: cannot find type 'dev_t' in scope
11 | let ino: ino_t
12 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:11:14: error: cannot find type 'ino_t' in scope
9 | struct FileIdentifier: Equatable, Hashable {
10 | let dev: dev_t
11 | let ino: ino_t
| `- error: cannot find type 'ino_t' in scope
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:9:8: error: type 'FileIdentifier' does not conform to protocol 'Hashable'
7 | #endif
8 |
9 | struct FileIdentifier: Equatable, Hashable {
| `- error: type 'FileIdentifier' does not conform to protocol 'Hashable'
10 | let dev: dev_t
| `- note: stored property type '_' does not conform to protocol 'Hashable', preventing synthesized conformance of 'FileIdentifier' to 'Hashable'
11 | let ino: ino_t
| `- note: stored property type '_' does not conform to protocol 'Hashable', preventing synthesized conformance of 'FileIdentifier' to 'Hashable'
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:9:8: error: type 'FileIdentifier' does not conform to protocol 'Equatable'
7 | #endif
8 |
9 | struct FileIdentifier: Equatable, Hashable {
| |- error: type 'FileIdentifier' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
10 | let dev: dev_t
| `- note: stored property type '_' does not conform to protocol 'Equatable', preventing synthesized conformance of 'FileIdentifier' to 'Equatable'
11 | let ino: ino_t
| `- note: stored property type '_' does not conform to protocol 'Equatable', preventing synthesized conformance of 'FileIdentifier' to 'Equatable'
12 | }
13 |
Swift.==:1:24: note: candidate would match if 'FileIdentifier' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'FileIdentifier' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'FileIdentifier' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'FileIdentifier' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'FileIdentifier' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'FileIdentifier' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'FileIdentifier' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'FileIdentifier' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'FileIdentifier' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'FileIdentifier' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'FileIdentifier' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'FileIdentifier' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'FileIdentifier' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'FileIdentifier' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'FileIdentifier' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'FileIdentifier' conformed to 'SIMD'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(FileIdentifier, FileIdentifier) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(FileIdentifier, FileIdentifier) -> Bool'
3 |
[138/191] Compiling SystemIO FileErrorType.Seek.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.DirentOffsets.swift:8:8: error: unsupported platform
6 | import Glibc
7 | #else
8 | #error("unsupported platform")
| `- error: unsupported platform
9 | #endif
10 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:10:14: error: cannot find type 'dev_t' in scope
8 |
9 | struct FileIdentifier: Equatable, Hashable {
10 | let dev: dev_t
| `- error: cannot find type 'dev_t' in scope
11 | let ino: ino_t
12 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:11:14: error: cannot find type 'ino_t' in scope
9 | struct FileIdentifier: Equatable, Hashable {
10 | let dev: dev_t
11 | let ino: ino_t
| `- error: cannot find type 'ino_t' in scope
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:9:8: error: type 'FileIdentifier' does not conform to protocol 'Hashable'
7 | #endif
8 |
9 | struct FileIdentifier: Equatable, Hashable {
| `- error: type 'FileIdentifier' does not conform to protocol 'Hashable'
10 | let dev: dev_t
| `- note: stored property type '_' does not conform to protocol 'Hashable', preventing synthesized conformance of 'FileIdentifier' to 'Hashable'
11 | let ino: ino_t
| `- note: stored property type '_' does not conform to protocol 'Hashable', preventing synthesized conformance of 'FileIdentifier' to 'Hashable'
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:9:8: error: type 'FileIdentifier' does not conform to protocol 'Equatable'
7 | #endif
8 |
9 | struct FileIdentifier: Equatable, Hashable {
| |- error: type 'FileIdentifier' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
10 | let dev: dev_t
| `- note: stored property type '_' does not conform to protocol 'Equatable', preventing synthesized conformance of 'FileIdentifier' to 'Equatable'
11 | let ino: ino_t
| `- note: stored property type '_' does not conform to protocol 'Equatable', preventing synthesized conformance of 'FileIdentifier' to 'Equatable'
12 | }
13 |
Swift.==:1:24: note: candidate would match if 'FileIdentifier' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'FileIdentifier' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'FileIdentifier' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'FileIdentifier' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'FileIdentifier' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'FileIdentifier' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'FileIdentifier' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'FileIdentifier' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'FileIdentifier' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'FileIdentifier' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'FileIdentifier' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'FileIdentifier' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'FileIdentifier' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'FileIdentifier' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'FileIdentifier' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'FileIdentifier' conformed to 'SIMD'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(FileIdentifier, FileIdentifier) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(FileIdentifier, FileIdentifier) -> Bool'
3 |
[139/191] Compiling SystemIO FileErrorType.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.DirentOffsets.swift:8:8: error: unsupported platform
6 | import Glibc
7 | #else
8 | #error("unsupported platform")
| `- error: unsupported platform
9 | #endif
10 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:10:14: error: cannot find type 'dev_t' in scope
8 |
9 | struct FileIdentifier: Equatable, Hashable {
10 | let dev: dev_t
| `- error: cannot find type 'dev_t' in scope
11 | let ino: ino_t
12 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:11:14: error: cannot find type 'ino_t' in scope
9 | struct FileIdentifier: Equatable, Hashable {
10 | let dev: dev_t
11 | let ino: ino_t
| `- error: cannot find type 'ino_t' in scope
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:9:8: error: type 'FileIdentifier' does not conform to protocol 'Hashable'
7 | #endif
8 |
9 | struct FileIdentifier: Equatable, Hashable {
| `- error: type 'FileIdentifier' does not conform to protocol 'Hashable'
10 | let dev: dev_t
| `- note: stored property type '_' does not conform to protocol 'Hashable', preventing synthesized conformance of 'FileIdentifier' to 'Hashable'
11 | let ino: ino_t
| `- note: stored property type '_' does not conform to protocol 'Hashable', preventing synthesized conformance of 'FileIdentifier' to 'Hashable'
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:9:8: error: type 'FileIdentifier' does not conform to protocol 'Equatable'
7 | #endif
8 |
9 | struct FileIdentifier: Equatable, Hashable {
| |- error: type 'FileIdentifier' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
10 | let dev: dev_t
| `- note: stored property type '_' does not conform to protocol 'Equatable', preventing synthesized conformance of 'FileIdentifier' to 'Equatable'
11 | let ino: ino_t
| `- note: stored property type '_' does not conform to protocol 'Equatable', preventing synthesized conformance of 'FileIdentifier' to 'Equatable'
12 | }
13 |
Swift.==:1:24: note: candidate would match if 'FileIdentifier' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'FileIdentifier' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'FileIdentifier' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'FileIdentifier' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'FileIdentifier' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'FileIdentifier' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'FileIdentifier' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'FileIdentifier' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'FileIdentifier' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'FileIdentifier' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'FileIdentifier' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'FileIdentifier' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'FileIdentifier' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'FileIdentifier' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'FileIdentifier' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'FileIdentifier' conformed to 'SIMD'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(FileIdentifier, FileIdentifier) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(FileIdentifier, FileIdentifier) -> Bool'
3 |
[140/191] Compiling SystemIO FileIdentifier.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.DirentOffsets.swift:8:8: error: unsupported platform
6 | import Glibc
7 | #else
8 | #error("unsupported platform")
| `- error: unsupported platform
9 | #endif
10 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:10:14: error: cannot find type 'dev_t' in scope
8 |
9 | struct FileIdentifier: Equatable, Hashable {
10 | let dev: dev_t
| `- error: cannot find type 'dev_t' in scope
11 | let ino: ino_t
12 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:11:14: error: cannot find type 'ino_t' in scope
9 | struct FileIdentifier: Equatable, Hashable {
10 | let dev: dev_t
11 | let ino: ino_t
| `- error: cannot find type 'ino_t' in scope
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:9:8: error: type 'FileIdentifier' does not conform to protocol 'Hashable'
7 | #endif
8 |
9 | struct FileIdentifier: Equatable, Hashable {
| `- error: type 'FileIdentifier' does not conform to protocol 'Hashable'
10 | let dev: dev_t
| `- note: stored property type '_' does not conform to protocol 'Hashable', preventing synthesized conformance of 'FileIdentifier' to 'Hashable'
11 | let ino: ino_t
| `- note: stored property type '_' does not conform to protocol 'Hashable', preventing synthesized conformance of 'FileIdentifier' to 'Hashable'
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:9:8: error: type 'FileIdentifier' does not conform to protocol 'Equatable'
7 | #endif
8 |
9 | struct FileIdentifier: Equatable, Hashable {
| |- error: type 'FileIdentifier' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
10 | let dev: dev_t
| `- note: stored property type '_' does not conform to protocol 'Equatable', preventing synthesized conformance of 'FileIdentifier' to 'Equatable'
11 | let ino: ino_t
| `- note: stored property type '_' does not conform to protocol 'Equatable', preventing synthesized conformance of 'FileIdentifier' to 'Equatable'
12 | }
13 |
Swift.==:1:24: note: candidate would match if 'FileIdentifier' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'FileIdentifier' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'FileIdentifier' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'FileIdentifier' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'FileIdentifier' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'FileIdentifier' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'FileIdentifier' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'FileIdentifier' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'FileIdentifier' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'FileIdentifier' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'FileIdentifier' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'FileIdentifier' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'FileIdentifier' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'FileIdentifier' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'FileIdentifier' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'FileIdentifier' conformed to 'SIMD'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(FileIdentifier, FileIdentifier) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(FileIdentifier, FileIdentifier) -> Bool'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.DirentOffsets.swift:8:8: error: unsupported platform
6 | import Glibc
7 | #else
8 | #error("unsupported platform")
| `- error: unsupported platform
9 | #endif
10 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:12:34: error: cannot find type 'stat' in scope
10 |
11 | @frozen public struct FileStatus {
12 | @usableFromInline let value: stat
| `- error: cannot find type 'stat' in scope
13 |
14 | private init(value: stat) {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:14:25: error: cannot find type 'stat' in scope
12 | @usableFromInline let value: stat
13 |
14 | private init(value: stat) {
| `- error: cannot find type 'stat' in scope
15 | self.value = value
16 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:10:14: error: cannot find type 'dev_t' in scope
8 |
9 | struct FileIdentifier: Equatable, Hashable {
10 | let dev: dev_t
| `- error: cannot find type 'dev_t' in scope
11 | let ino: ino_t
12 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:11:14: error: cannot find type 'ino_t' in scope
9 | struct FileIdentifier: Equatable, Hashable {
10 | let dev: dev_t
11 | let ino: ino_t
| `- error: cannot find type 'ino_t' in scope
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:25:30: error: cannot find 'S_IFMT' in scope
23 | extension FileStatus {
24 | @inlinable public func `is`(_ type: FileType) -> Bool {
25 | self.value.st_mode & S_IFMT == type.mask
| `- error: cannot find 'S_IFMT' in scope
26 | }
27 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:19:26: error: cannot find type 'mode_t' in scope
17 | }
18 | extension FileType {
19 | @inlinable var mask: mode_t {
| `- error: cannot find type 'mode_t' in scope
20 | switch self {
21 | case .blockDevice: S_IFBLK
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:29:37: error: cannot find 'S_IFMT' in scope
27 |
28 | @inlinable public var type: FileType? {
29 | switch self.value.st_mode & S_IFMT {
| `- error: cannot find 'S_IFMT' in scope
30 | case S_IFBLK: .blockDevice
31 | case S_IFCHR: .characterDevice
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:45:20: error: cannot find 'stat' in scope
43 | try path.withPlatformString {
44 | var value: stat = .init()
45 | switch stat($0, &value) {
| `- error: cannot find 'stat' in scope
46 | case 0: return .init(value: value)
47 | case _: throw Errno.init(rawValue: errno)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:47:48: error: cannot find 'errno' in scope
45 | switch stat($0, &value) {
46 | case 0: return .init(value: value)
47 | case _: throw Errno.init(rawValue: errno)
| `- error: cannot find 'errno' in scope
48 | }
49 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:44:24: error: cannot find type 'stat' in scope
42 | public static func status(of path: FilePath) throws -> Self {
43 | try path.withPlatformString {
44 | var value: stat = .init()
| `- error: cannot find type 'stat' in scope
45 | switch stat($0, &value) {
46 | case 0: return .init(value: value)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:52:20: error: cannot find type 'stat' in scope
50 | }
51 | public static func status(of file: FileDescriptor) throws -> Self {
52 | var value: stat = .init()
| `- error: cannot find type 'stat' in scope
53 | switch fstat(file.rawValue, &value) {
54 | case 0: return .init(value: value)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:53:16: error: cannot find 'fstat' in scope
51 | public static func status(of file: FileDescriptor) throws -> Self {
52 | var value: stat = .init()
53 | switch fstat(file.rawValue, &value) {
| `- error: cannot find 'fstat' in scope
54 | case 0: return .init(value: value)
55 | case _: throw Errno.init(rawValue: errno)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:55:44: error: cannot find 'errno' in scope
53 | switch fstat(file.rawValue, &value) {
54 | case 0: return .init(value: value)
55 | case _: throw Errno.init(rawValue: errno)
| `- error: cannot find 'errno' in scope
56 | }
57 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:57:20: error: cannot find type 'statvfs' in scope
55 | extension FileSystemStats {
56 | public static func containing(path: FilePath) throws -> Self {
57 | let stats: statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1) {
| `- error: cannot find type 'statvfs' in scope
58 | guard case 0 = statvfs(path.string, &$0[0]) else {
59 | throw Errno.init(rawValue: errno)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:57:68: error: cannot find 'statvfs' in scope
55 | extension FileSystemStats {
56 | public static func containing(path: FilePath) throws -> Self {
57 | let stats: statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1) {
| `- error: cannot find 'statvfs' in scope
58 | guard case 0 = statvfs(path.string, &$0[0]) else {
59 | throw Errno.init(rawValue: errno)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:58:28: error: cannot find 'statvfs' in scope
56 | public static func containing(path: FilePath) throws -> Self {
57 | let stats: statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1) {
58 | guard case 0 = statvfs(path.string, &$0[0]) else {
| `- error: cannot find 'statvfs' in scope
59 | throw Errno.init(rawValue: errno)
60 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:59:44: error: cannot find 'errno' in scope
57 | let stats: statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1) {
58 | guard case 0 = statvfs(path.string, &$0[0]) else {
59 | throw Errno.init(rawValue: errno)
| `- error: cannot find 'errno' in scope
60 | }
61 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:57:34: error: generic parameter 'T' could not be inferred
55 | extension FileSystemStats {
56 | public static func containing(path: FilePath) throws -> Self {
57 | let stats: statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1) {
| `- error: generic parameter 'T' could not be inferred
58 | guard case 0 = statvfs(path.string, &$0[0]) else {
59 | throw Errno.init(rawValue: errno)
Swift.withUnsafeTemporaryAllocation:1:13: note: in call to function 'withUnsafeTemporaryAllocation(of:capacity:_:)'
1 | public func withUnsafeTemporaryAllocation<T, R, E>(of type: T.Type, capacity: Int, _ body: (UnsafeMutableBufferPointer<T>) throws(E) -> R) throws(E) -> R where E : Error, T : ~Copyable, R : ~Copyable
| `- note: in call to function 'withUnsafeTemporaryAllocation(of:capacity:_:)'
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:65:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
63 | }
64 | // Explicit `UInt32 -> UInt` conversion needed on Darwin.
65 | return .init(
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
66 | id: UInt.init(stats.f_fsid),
67 | fragmentCount: UInt.init(stats.f_blocks),
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:21:33: error: cannot find 'S_IFBLK' in scope
19 | @inlinable var mask: mode_t {
20 | switch self {
21 | case .blockDevice: S_IFBLK
| `- error: cannot find 'S_IFBLK' in scope
22 | case .characterDevice: S_IFCHR
23 | case .directory: S_IFDIR
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:22:33: error: cannot find 'S_IFCHR' in scope
20 | switch self {
21 | case .blockDevice: S_IFBLK
22 | case .characterDevice: S_IFCHR
| `- error: cannot find 'S_IFCHR' in scope
23 | case .directory: S_IFDIR
24 | case .fifo: S_IFIFO
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:33: error: cannot find 'S_IFDIR' in scope
21 | case .blockDevice: S_IFBLK
22 | case .characterDevice: S_IFCHR
23 | case .directory: S_IFDIR
| `- error: cannot find 'S_IFDIR' in scope
24 | case .fifo: S_IFIFO
25 | case .regular: S_IFREG
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:24:33: error: cannot find 'S_IFIFO' in scope
22 | case .characterDevice: S_IFCHR
23 | case .directory: S_IFDIR
24 | case .fifo: S_IFIFO
| `- error: cannot find 'S_IFIFO' in scope
25 | case .regular: S_IFREG
26 | case .socket: S_IFSOCK
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:25:33: error: cannot find 'S_IFREG' in scope
23 | case .directory: S_IFDIR
24 | case .fifo: S_IFIFO
25 | case .regular: S_IFREG
| `- error: cannot find 'S_IFREG' in scope
26 | case .socket: S_IFSOCK
27 | case .symlink: S_IFLNK
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:26:33: error: cannot find 'S_IFSOCK' in scope
24 | case .fifo: S_IFIFO
25 | case .regular: S_IFREG
26 | case .socket: S_IFSOCK
| `- error: cannot find 'S_IFSOCK' in scope
27 | case .symlink: S_IFLNK
28 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:27:33: error: cannot find 'S_IFLNK' in scope
25 | case .regular: S_IFREG
26 | case .socket: S_IFSOCK
27 | case .symlink: S_IFLNK
| `- error: cannot find 'S_IFLNK' in scope
28 | }
29 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.DirentOffsets.swift:8:8: error: unsupported platform
6 | import Glibc
7 | #else
8 | #error("unsupported platform")
| `- error: unsupported platform
9 | #endif
10 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:12:34: error: cannot find type 'stat' in scope
10 |
11 | @frozen public struct FileStatus {
12 | @usableFromInline let value: stat
| `- error: cannot find type 'stat' in scope
13 |
14 | private init(value: stat) {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:14:25: error: cannot find type 'stat' in scope
12 | @usableFromInline let value: stat
13 |
14 | private init(value: stat) {
| `- error: cannot find type 'stat' in scope
15 | self.value = value
16 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:10:14: error: cannot find type 'dev_t' in scope
8 |
9 | struct FileIdentifier: Equatable, Hashable {
10 | let dev: dev_t
| `- error: cannot find type 'dev_t' in scope
11 | let ino: ino_t
12 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:11:14: error: cannot find type 'ino_t' in scope
9 | struct FileIdentifier: Equatable, Hashable {
10 | let dev: dev_t
11 | let ino: ino_t
| `- error: cannot find type 'ino_t' in scope
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:25:30: error: cannot find 'S_IFMT' in scope
23 | extension FileStatus {
24 | @inlinable public func `is`(_ type: FileType) -> Bool {
25 | self.value.st_mode & S_IFMT == type.mask
| `- error: cannot find 'S_IFMT' in scope
26 | }
27 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:19:26: error: cannot find type 'mode_t' in scope
17 | }
18 | extension FileType {
19 | @inlinable var mask: mode_t {
| `- error: cannot find type 'mode_t' in scope
20 | switch self {
21 | case .blockDevice: S_IFBLK
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:29:37: error: cannot find 'S_IFMT' in scope
27 |
28 | @inlinable public var type: FileType? {
29 | switch self.value.st_mode & S_IFMT {
| `- error: cannot find 'S_IFMT' in scope
30 | case S_IFBLK: .blockDevice
31 | case S_IFCHR: .characterDevice
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:45:20: error: cannot find 'stat' in scope
43 | try path.withPlatformString {
44 | var value: stat = .init()
45 | switch stat($0, &value) {
| `- error: cannot find 'stat' in scope
46 | case 0: return .init(value: value)
47 | case _: throw Errno.init(rawValue: errno)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:47:48: error: cannot find 'errno' in scope
45 | switch stat($0, &value) {
46 | case 0: return .init(value: value)
47 | case _: throw Errno.init(rawValue: errno)
| `- error: cannot find 'errno' in scope
48 | }
49 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:44:24: error: cannot find type 'stat' in scope
42 | public static func status(of path: FilePath) throws -> Self {
43 | try path.withPlatformString {
44 | var value: stat = .init()
| `- error: cannot find type 'stat' in scope
45 | switch stat($0, &value) {
46 | case 0: return .init(value: value)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:52:20: error: cannot find type 'stat' in scope
50 | }
51 | public static func status(of file: FileDescriptor) throws -> Self {
52 | var value: stat = .init()
| `- error: cannot find type 'stat' in scope
53 | switch fstat(file.rawValue, &value) {
54 | case 0: return .init(value: value)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:53:16: error: cannot find 'fstat' in scope
51 | public static func status(of file: FileDescriptor) throws -> Self {
52 | var value: stat = .init()
53 | switch fstat(file.rawValue, &value) {
| `- error: cannot find 'fstat' in scope
54 | case 0: return .init(value: value)
55 | case _: throw Errno.init(rawValue: errno)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:55:44: error: cannot find 'errno' in scope
53 | switch fstat(file.rawValue, &value) {
54 | case 0: return .init(value: value)
55 | case _: throw Errno.init(rawValue: errno)
| `- error: cannot find 'errno' in scope
56 | }
57 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:57:20: error: cannot find type 'statvfs' in scope
55 | extension FileSystemStats {
56 | public static func containing(path: FilePath) throws -> Self {
57 | let stats: statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1) {
| `- error: cannot find type 'statvfs' in scope
58 | guard case 0 = statvfs(path.string, &$0[0]) else {
59 | throw Errno.init(rawValue: errno)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:57:68: error: cannot find 'statvfs' in scope
55 | extension FileSystemStats {
56 | public static func containing(path: FilePath) throws -> Self {
57 | let stats: statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1) {
| `- error: cannot find 'statvfs' in scope
58 | guard case 0 = statvfs(path.string, &$0[0]) else {
59 | throw Errno.init(rawValue: errno)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:58:28: error: cannot find 'statvfs' in scope
56 | public static func containing(path: FilePath) throws -> Self {
57 | let stats: statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1) {
58 | guard case 0 = statvfs(path.string, &$0[0]) else {
| `- error: cannot find 'statvfs' in scope
59 | throw Errno.init(rawValue: errno)
60 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:59:44: error: cannot find 'errno' in scope
57 | let stats: statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1) {
58 | guard case 0 = statvfs(path.string, &$0[0]) else {
59 | throw Errno.init(rawValue: errno)
| `- error: cannot find 'errno' in scope
60 | }
61 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:57:34: error: generic parameter 'T' could not be inferred
55 | extension FileSystemStats {
56 | public static func containing(path: FilePath) throws -> Self {
57 | let stats: statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1) {
| `- error: generic parameter 'T' could not be inferred
58 | guard case 0 = statvfs(path.string, &$0[0]) else {
59 | throw Errno.init(rawValue: errno)
Swift.withUnsafeTemporaryAllocation:1:13: note: in call to function 'withUnsafeTemporaryAllocation(of:capacity:_:)'
1 | public func withUnsafeTemporaryAllocation<T, R, E>(of type: T.Type, capacity: Int, _ body: (UnsafeMutableBufferPointer<T>) throws(E) -> R) throws(E) -> R where E : Error, T : ~Copyable, R : ~Copyable
| `- note: in call to function 'withUnsafeTemporaryAllocation(of:capacity:_:)'
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:65:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
63 | }
64 | // Explicit `UInt32 -> UInt` conversion needed on Darwin.
65 | return .init(
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
66 | id: UInt.init(stats.f_fsid),
67 | fragmentCount: UInt.init(stats.f_blocks),
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:21:33: error: cannot find 'S_IFBLK' in scope
19 | @inlinable var mask: mode_t {
20 | switch self {
21 | case .blockDevice: S_IFBLK
| `- error: cannot find 'S_IFBLK' in scope
22 | case .characterDevice: S_IFCHR
23 | case .directory: S_IFDIR
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:22:33: error: cannot find 'S_IFCHR' in scope
20 | switch self {
21 | case .blockDevice: S_IFBLK
22 | case .characterDevice: S_IFCHR
| `- error: cannot find 'S_IFCHR' in scope
23 | case .directory: S_IFDIR
24 | case .fifo: S_IFIFO
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:33: error: cannot find 'S_IFDIR' in scope
21 | case .blockDevice: S_IFBLK
22 | case .characterDevice: S_IFCHR
23 | case .directory: S_IFDIR
| `- error: cannot find 'S_IFDIR' in scope
24 | case .fifo: S_IFIFO
25 | case .regular: S_IFREG
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:24:33: error: cannot find 'S_IFIFO' in scope
22 | case .characterDevice: S_IFCHR
23 | case .directory: S_IFDIR
24 | case .fifo: S_IFIFO
| `- error: cannot find 'S_IFIFO' in scope
25 | case .regular: S_IFREG
26 | case .socket: S_IFSOCK
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:25:33: error: cannot find 'S_IFREG' in scope
23 | case .directory: S_IFDIR
24 | case .fifo: S_IFIFO
25 | case .regular: S_IFREG
| `- error: cannot find 'S_IFREG' in scope
26 | case .socket: S_IFSOCK
27 | case .symlink: S_IFLNK
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:26:33: error: cannot find 'S_IFSOCK' in scope
24 | case .fifo: S_IFIFO
25 | case .regular: S_IFREG
26 | case .socket: S_IFSOCK
| `- error: cannot find 'S_IFSOCK' in scope
27 | case .symlink: S_IFLNK
28 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:27:33: error: cannot find 'S_IFLNK' in scope
25 | case .regular: S_IFREG
26 | case .socket: S_IFSOCK
27 | case .symlink: S_IFLNK
| `- error: cannot find 'S_IFLNK' in scope
28 | }
29 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.DirentOffsets.swift:8:8: error: unsupported platform
6 | import Glibc
7 | #else
8 | #error("unsupported platform")
| `- error: unsupported platform
9 | #endif
10 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:12:34: error: cannot find type 'stat' in scope
10 |
11 | @frozen public struct FileStatus {
12 | @usableFromInline let value: stat
| `- error: cannot find type 'stat' in scope
13 |
14 | private init(value: stat) {
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:14:25: error: cannot find type 'stat' in scope
12 | @usableFromInline let value: stat
13 |
14 | private init(value: stat) {
| `- error: cannot find type 'stat' in scope
15 | self.value = value
16 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:10:14: error: cannot find type 'dev_t' in scope
8 |
9 | struct FileIdentifier: Equatable, Hashable {
10 | let dev: dev_t
| `- error: cannot find type 'dev_t' in scope
11 | let ino: ino_t
12 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:11:14: error: cannot find type 'ino_t' in scope
9 | struct FileIdentifier: Equatable, Hashable {
10 | let dev: dev_t
11 | let ino: ino_t
| `- error: cannot find type 'ino_t' in scope
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:25:30: error: cannot find 'S_IFMT' in scope
23 | extension FileStatus {
24 | @inlinable public func `is`(_ type: FileType) -> Bool {
25 | self.value.st_mode & S_IFMT == type.mask
| `- error: cannot find 'S_IFMT' in scope
26 | }
27 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:19:26: error: cannot find type 'mode_t' in scope
17 | }
18 | extension FileType {
19 | @inlinable var mask: mode_t {
| `- error: cannot find type 'mode_t' in scope
20 | switch self {
21 | case .blockDevice: S_IFBLK
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:29:37: error: cannot find 'S_IFMT' in scope
27 |
28 | @inlinable public var type: FileType? {
29 | switch self.value.st_mode & S_IFMT {
| `- error: cannot find 'S_IFMT' in scope
30 | case S_IFBLK: .blockDevice
31 | case S_IFCHR: .characterDevice
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:45:20: error: cannot find 'stat' in scope
43 | try path.withPlatformString {
44 | var value: stat = .init()
45 | switch stat($0, &value) {
| `- error: cannot find 'stat' in scope
46 | case 0: return .init(value: value)
47 | case _: throw Errno.init(rawValue: errno)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:47:48: error: cannot find 'errno' in scope
45 | switch stat($0, &value) {
46 | case 0: return .init(value: value)
47 | case _: throw Errno.init(rawValue: errno)
| `- error: cannot find 'errno' in scope
48 | }
49 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:44:24: error: cannot find type 'stat' in scope
42 | public static func status(of path: FilePath) throws -> Self {
43 | try path.withPlatformString {
44 | var value: stat = .init()
| `- error: cannot find type 'stat' in scope
45 | switch stat($0, &value) {
46 | case 0: return .init(value: value)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:52:20: error: cannot find type 'stat' in scope
50 | }
51 | public static func status(of file: FileDescriptor) throws -> Self {
52 | var value: stat = .init()
| `- error: cannot find type 'stat' in scope
53 | switch fstat(file.rawValue, &value) {
54 | case 0: return .init(value: value)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:53:16: error: cannot find 'fstat' in scope
51 | public static func status(of file: FileDescriptor) throws -> Self {
52 | var value: stat = .init()
53 | switch fstat(file.rawValue, &value) {
| `- error: cannot find 'fstat' in scope
54 | case 0: return .init(value: value)
55 | case _: throw Errno.init(rawValue: errno)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:55:44: error: cannot find 'errno' in scope
53 | switch fstat(file.rawValue, &value) {
54 | case 0: return .init(value: value)
55 | case _: throw Errno.init(rawValue: errno)
| `- error: cannot find 'errno' in scope
56 | }
57 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:57:20: error: cannot find type 'statvfs' in scope
55 | extension FileSystemStats {
56 | public static func containing(path: FilePath) throws -> Self {
57 | let stats: statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1) {
| `- error: cannot find type 'statvfs' in scope
58 | guard case 0 = statvfs(path.string, &$0[0]) else {
59 | throw Errno.init(rawValue: errno)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:57:68: error: cannot find 'statvfs' in scope
55 | extension FileSystemStats {
56 | public static func containing(path: FilePath) throws -> Self {
57 | let stats: statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1) {
| `- error: cannot find 'statvfs' in scope
58 | guard case 0 = statvfs(path.string, &$0[0]) else {
59 | throw Errno.init(rawValue: errno)
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:58:28: error: cannot find 'statvfs' in scope
56 | public static func containing(path: FilePath) throws -> Self {
57 | let stats: statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1) {
58 | guard case 0 = statvfs(path.string, &$0[0]) else {
| `- error: cannot find 'statvfs' in scope
59 | throw Errno.init(rawValue: errno)
60 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:59:44: error: cannot find 'errno' in scope
57 | let stats: statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1) {
58 | guard case 0 = statvfs(path.string, &$0[0]) else {
59 | throw Errno.init(rawValue: errno)
| `- error: cannot find 'errno' in scope
60 | }
61 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:57:34: error: generic parameter 'T' could not be inferred
55 | extension FileSystemStats {
56 | public static func containing(path: FilePath) throws -> Self {
57 | let stats: statvfs = try withUnsafeTemporaryAllocation(of: statvfs.self, capacity: 1) {
| `- error: generic parameter 'T' could not be inferred
58 | guard case 0 = statvfs(path.string, &$0[0]) else {
59 | throw Errno.init(rawValue: errno)
Swift.withUnsafeTemporaryAllocation:1:13: note: in call to function 'withUnsafeTemporaryAllocation(of:capacity:_:)'
1 | public func withUnsafeTemporaryAllocation<T, R, E>(of type: T.Type, capacity: Int, _ body: (UnsafeMutableBufferPointer<T>) throws(E) -> R) throws(E) -> R where E : Error, T : ~Copyable, R : ~Copyable
| `- note: in call to function 'withUnsafeTemporaryAllocation(of:capacity:_:)'
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:65:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
63 | }
64 | // Explicit `UInt32 -> UInt` conversion needed on Darwin.
65 | return .init(
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
66 | id: UInt.init(stats.f_fsid),
67 | fragmentCount: UInt.init(stats.f_blocks),
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:21:33: error: cannot find 'S_IFBLK' in scope
19 | @inlinable var mask: mode_t {
20 | switch self {
21 | case .blockDevice: S_IFBLK
| `- error: cannot find 'S_IFBLK' in scope
22 | case .characterDevice: S_IFCHR
23 | case .directory: S_IFDIR
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:22:33: error: cannot find 'S_IFCHR' in scope
20 | switch self {
21 | case .blockDevice: S_IFBLK
22 | case .characterDevice: S_IFCHR
| `- error: cannot find 'S_IFCHR' in scope
23 | case .directory: S_IFDIR
24 | case .fifo: S_IFIFO
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:23:33: error: cannot find 'S_IFDIR' in scope
21 | case .blockDevice: S_IFBLK
22 | case .characterDevice: S_IFCHR
23 | case .directory: S_IFDIR
| `- error: cannot find 'S_IFDIR' in scope
24 | case .fifo: S_IFIFO
25 | case .regular: S_IFREG
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:24:33: error: cannot find 'S_IFIFO' in scope
22 | case .characterDevice: S_IFCHR
23 | case .directory: S_IFDIR
24 | case .fifo: S_IFIFO
| `- error: cannot find 'S_IFIFO' in scope
25 | case .regular: S_IFREG
26 | case .socket: S_IFSOCK
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:25:33: error: cannot find 'S_IFREG' in scope
23 | case .directory: S_IFDIR
24 | case .fifo: S_IFIFO
25 | case .regular: S_IFREG
| `- error: cannot find 'S_IFREG' in scope
26 | case .socket: S_IFSOCK
27 | case .symlink: S_IFLNK
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:26:33: error: cannot find 'S_IFSOCK' in scope
24 | case .fifo: S_IFIFO
25 | case .regular: S_IFREG
26 | case .socket: S_IFSOCK
| `- error: cannot find 'S_IFSOCK' in scope
27 | case .symlink: S_IFLNK
28 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:27:33: error: cannot find 'S_IFLNK' in scope
25 | case .regular: S_IFREG
26 | case .socket: S_IFSOCK
27 | case .symlink: S_IFLNK
| `- error: cannot find 'S_IFLNK' in scope
28 | }
29 | }
[144/191] Compiling SystemIO FilePath.Directory.swift
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.DirentOffsets.swift:8:8: error: unsupported platform
6 | import Glibc
7 | #else
8 | #error("unsupported platform")
| `- error: unsupported platform
9 | #endif
10 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:31:51: error: cannot find 'getcwd' in scope
29 | public static func current() -> Self? {
30 | guard
31 | let buffer: UnsafeMutablePointer<CChar> = getcwd(nil, 0) else {
| `- error: cannot find 'getcwd' in scope
32 | return nil
33 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:31:58: error: 'nil' requires a contextual type
29 | public static func current() -> Self? {
30 | guard
31 | let buffer: UnsafeMutablePointer<CChar> = getcwd(nil, 0) else {
| `- error: 'nil' requires a contextual type
32 | return nil
33 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:35:13: error: cannot find 'free' in scope
33 | }
34 | defer {
35 | free(buffer)
| `- error: cannot find 'free' in scope
36 | }
37 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.DirentOffsets.swift:8:8: error: unsupported platform
6 | import Glibc
7 | #else
8 | #error("unsupported platform")
| `- error: unsupported platform
9 | #endif
10 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:31:51: error: cannot find 'getcwd' in scope
29 | public static func current() -> Self? {
30 | guard
31 | let buffer: UnsafeMutablePointer<CChar> = getcwd(nil, 0) else {
| `- error: cannot find 'getcwd' in scope
32 | return nil
33 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:31:58: error: 'nil' requires a contextual type
29 | public static func current() -> Self? {
30 | guard
31 | let buffer: UnsafeMutablePointer<CChar> = getcwd(nil, 0) else {
| `- error: 'nil' requires a contextual type
32 | return nil
33 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:35:13: error: cannot find 'free' in scope
33 | }
34 | defer {
35 | free(buffer)
| `- error: cannot find 'free' in scope
36 | }
37 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileIdentifier.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.DirentOffsets.swift:8:8: error: unsupported platform
6 | import Glibc
7 | #else
8 | #error("unsupported platform")
| `- error: unsupported platform
9 | #endif
10 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.Stream.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:12:8: error: unsupported platform
10 |
11 | #else
12 | #error("unsupported platform")
| `- error: unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.DirectoryPointer.swift:6:8: error: unsupported platform
4 | import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileStatus.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileSystemStats.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FileType.swift:6:8: error: unsupported platform
4 | public import Glibc
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.EnvironmentSpecification.swift:6:8: error: unsupported platform
4 | import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/SystemProcess.swift:6:8: error: unsupported platform
4 | public import Darwin
5 | #else
6 | #error("unsupported platform")
| `- error: unsupported platform
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:31:51: error: cannot find 'getcwd' in scope
29 | public static func current() -> Self? {
30 | guard
31 | let buffer: UnsafeMutablePointer<CChar> = getcwd(nil, 0) else {
| `- error: cannot find 'getcwd' in scope
32 | return nil
33 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:31:58: error: 'nil' requires a contextual type
29 | public static func current() -> Self? {
30 | guard
31 | let buffer: UnsafeMutablePointer<CChar> = getcwd(nil, 0) else {
| `- error: 'nil' requires a contextual type
32 | return nil
33 | }
/host/spi-builder-workspace/.build/checkouts/swift-io/Sources/SystemIO/FilePath.Directory.swift:35:13: error: cannot find 'free' in scope
33 | }
34 | defer {
35 | free(buffer)
| `- error: cannot find 'free' in scope
36 | }
37 |
BUILD FAILURE 6.3 android