The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WasmKit, reference 0.0.4 (e56f0f), with Swift 6.1 for Wasm on 29 May 2025 07:03:48 UTC.

Build Command

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

Build Log

    |                                                         |- error: no exact matches in call to initializer
    |                                                         `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 80 |
 81 |   /// Indicates that the group has write-execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:83:58: error: no exact matches in call to initializer
 81 |   /// Indicates that the group has write-execute permission.
 82 |   @_alwaysEmitIntoClient
 83 |   public static var groupWriteExecute: FilePermissions { FilePermissions(0o30) }
    |                                                          |- error: no exact matches in call to initializer
    |                                                          `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 84 |
 85 |   /// Indicates that the group has read, write, and execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:87:62: error: no exact matches in call to initializer
 85 |   /// Indicates that the group has read, write, and execute permission.
 86 |   @_alwaysEmitIntoClient
 87 |   public static var groupReadWriteExecute: FilePermissions { FilePermissions(0o70) }
    |                                                              |- error: no exact matches in call to initializer
    |                                                              `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 88 |
 89 |   /// Indicates that the owner has read-only permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:91:50: error: no exact matches in call to initializer
 89 |   /// Indicates that the owner has read-only permission.
 90 |   @_alwaysEmitIntoClient
 91 |   public static var ownerRead: FilePermissions { FilePermissions(0o400) }
    |                                                  |- error: no exact matches in call to initializer
    |                                                  `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 92 |
 93 |   /// Indicates that the owner has write-only permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:95:51: error: no exact matches in call to initializer
 93 |   /// Indicates that the owner has write-only permission.
 94 |   @_alwaysEmitIntoClient
 95 |   public static var ownerWrite: FilePermissions { FilePermissions(0o200) }
    |                                                   |- error: no exact matches in call to initializer
    |                                                   `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 96 |
 97 |   /// Indicates that the owner has execute-only permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:99:53: error: no exact matches in call to initializer
 97 |   /// Indicates that the owner has execute-only permission.
 98 |   @_alwaysEmitIntoClient
 99 |   public static var ownerExecute: FilePermissions { FilePermissions(0o100) }
    |                                                     |- error: no exact matches in call to initializer
    |                                                     `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
100 |
101 |   /// Indicates that the owner has read-write permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:103:55: error: no exact matches in call to initializer
101 |   /// Indicates that the owner has read-write permission.
102 |   @_alwaysEmitIntoClient
103 |   public static var ownerReadWrite: FilePermissions { FilePermissions(0o600) }
    |                                                       |- error: no exact matches in call to initializer
    |                                                       `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
104 |
105 |   /// Indicates that the owner has read-execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:107:57: error: no exact matches in call to initializer
105 |   /// Indicates that the owner has read-execute permission.
106 |   @_alwaysEmitIntoClient
107 |   public static var ownerReadExecute: FilePermissions { FilePermissions(0o500) }
    |                                                         |- error: no exact matches in call to initializer
    |                                                         `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
108 |
109 |   /// Indicates that the owner has write-execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:111:58: error: no exact matches in call to initializer
109 |   /// Indicates that the owner has write-execute permission.
110 |   @_alwaysEmitIntoClient
111 |   public static var ownerWriteExecute: FilePermissions { FilePermissions(0o300) }
    |                                                          |- error: no exact matches in call to initializer
    |                                                          `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
112 |
113 |   /// Indicates that the owner has read, write, and execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:115:62: error: no exact matches in call to initializer
113 |   /// Indicates that the owner has read, write, and execute permission.
114 |   @_alwaysEmitIntoClient
115 |   public static var ownerReadWriteExecute: FilePermissions { FilePermissions(0o700) }
    |                                                              |- error: no exact matches in call to initializer
    |                                                              `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
116 |
117 |   /// Indicates that the file is executed as the owner.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:121:50: error: no exact matches in call to initializer
119 |   /// For more information, see the `setuid(2)` man page.
120 |   @_alwaysEmitIntoClient
121 |   public static var setUserID: FilePermissions { FilePermissions(0o4000) }
    |                                                  |- error: no exact matches in call to initializer
    |                                                  `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
122 |
123 |   /// Indicates that the file is executed as the group.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:127:51: error: no exact matches in call to initializer
125 |   /// For more information, see the `setgid(2)` man page.
126 |   @_alwaysEmitIntoClient
127 |   public static var setGroupID: FilePermissions { FilePermissions(0o2000) }
    |                                                   |- error: no exact matches in call to initializer
    |                                                   `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
128 |
129 |   /// Indicates that executable's text segment
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:135:49: error: no exact matches in call to initializer
133 |   /// discussion of `S_ISVTX` (the sticky bit).
134 |   @_alwaysEmitIntoClient
135 |   public static var saveText: FilePermissions { FilePermissions(0o1000) }
    |                                                 |- error: no exact matches in call to initializer
    |                                                 `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
136 | }
137 |
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
[27/107] Compiling SystemPackage FilePathWindows.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:35:27: error: cannot find type 'mode_t' in scope
33 |   public typealias Mode = CInt
34 | #else
35 |   public typealias Mode = mode_t
   |                           `- error: cannot find type 'mode_t' in scope
36 | #endif
37 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'Decodable'
 19 | @frozen
 20 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
 21 | public struct FilePermissions: OptionSet, Hashable, Codable {
    |               `- error: type 'FilePermissions' does not conform to protocol 'Decodable'
 22 |   /// The raw C file permissions.
 23 |   @_alwaysEmitIntoClient
 24 |   public let rawValue: CInterop.Mode
    |              `- note: cannot automatically synthesize 'Decodable' because 'CInterop.Mode' does not conform to 'Decodable'
 25 |
 26 |   /// Create a strongly-typed file permission from a raw C value.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'Hashable'
 19 | @frozen
 20 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
 21 | public struct FilePermissions: OptionSet, Hashable, Codable {
    |               `- error: type 'FilePermissions' does not conform to protocol 'Hashable'
 22 |   /// The raw C file permissions.
 23 |   @_alwaysEmitIntoClient
 24 |   public let rawValue: CInterop.Mode
    |              `- note: stored property type '<<error type>>' does not conform to protocol 'Hashable', preventing synthesized conformance of 'FilePermissions' to 'Hashable'
 25 |
 26 |   /// Create a strongly-typed file permission from a raw C value.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'Encodable'
 19 | @frozen
 20 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
 21 | public struct FilePermissions: OptionSet, Hashable, Codable {
    |               `- error: type 'FilePermissions' does not conform to protocol 'Encodable'
 22 |   /// The raw C file permissions.
 23 |   @_alwaysEmitIntoClient
 24 |   public let rawValue: CInterop.Mode
    |              `- note: cannot automatically synthesize 'Encodable' because 'CInterop.Mode' does not conform to 'Encodable'
 25 |
 26 |   /// Create a strongly-typed file permission from a raw C value.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'SetAlgebra'
 19 | @frozen
 20 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
 21 | public struct FilePermissions: OptionSet, Hashable, Codable {
    |               `- error: type 'FilePermissions' does not conform to protocol 'SetAlgebra'
 22 |   /// The raw C file permissions.
 23 |   @_alwaysEmitIntoClient
Swift.OptionSet.init:2:19: note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public init()}
  |                   `- note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formUnion:2:33: note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formUnion(_ other: Self)}
  |                                 `- note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formIntersection:2:33: note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formIntersection(_ other: Self)}
  |                                 `- note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formSymmetricDifference:2:33: note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formSymmetricDifference(_ other: Self)}
  |                                 `- note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'RawRepresentable'
 19 | @frozen
 20 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
 21 | public struct FilePermissions: OptionSet, Hashable, Codable {
    |               `- error: type 'FilePermissions' does not conform to protocol 'RawRepresentable'
 22 |   /// The raw C file permissions.
 23 |   @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'Equatable'
 19 | @frozen
 20 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
 21 | public struct FilePermissions: OptionSet, Hashable, Codable {
    |               |- error: type 'FilePermissions' does not conform to protocol 'Equatable'
    |               `- note: add stubs for conformance
 22 |   /// The raw C file permissions.
 23 |   @_alwaysEmitIntoClient
 24 |   public let rawValue: CInterop.Mode
    |              `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'FilePermissions' to 'Equatable'
 25 |
 26 |   /// Create a strongly-typed file permission from a raw C value.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponents.swift:169:22: note: candidate would match if 'FilePermissions' conformed to '_StrSlice'
167 | }
168 | extension _StrSlice {
169 |   public static func == (lhs: Self, rhs: Self) -> Bool {
    |                      `- note: candidate would match if 'FilePermissions' conformed to '_StrSlice'
170 |     lhs._slice.elementsEqual(rhs._slice)
171 |   }
Swift.==:1:24: note: candidate would match if 'FilePermissions.RawValue' conformed to 'Equatable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'FilePermissions.RawValue' conformed to 'Equatable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'FilePermissions' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'FilePermissions' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'FilePermissions' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'FilePermissions' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'FilePermissions' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'FilePermissions' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'FilePermissions' 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 'FilePermissions' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'FilePermissions' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'FilePermissions' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'FilePermissions' 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 'FilePermissions' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'FilePermissions' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'FilePermissions' conformed to 'SIMD'
3 |
Swift.SetAlgebra.init:2:1: note: protocol requires initializer 'init()' with type '()'
1 | protocol SetAlgebra {
2 | init()}
  | `- note: protocol requires initializer 'init()' with type '()'
3 |
Swift.SetAlgebra.formUnion:2:15: note: protocol requires function 'formUnion' with type '(__owned FilePermissions) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formUnion(_ other: __owned Self)}
  |               `- note: protocol requires function 'formUnion' with type '(__owned FilePermissions) -> ()'
3 |
Swift.SetAlgebra.formIntersection:2:15: note: protocol requires function 'formIntersection' with type '(FilePermissions) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formIntersection(_ other: Self)}
  |               `- note: protocol requires function 'formIntersection' with type '(FilePermissions) -> ()'
3 |
Swift.SetAlgebra.formSymmetricDifference:2:15: note: protocol requires function 'formSymmetricDifference' with type '(__owned FilePermissions) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formSymmetricDifference(_ other: __owned Self)}
  |               `- note: protocol requires function 'formSymmetricDifference' with type '(__owned FilePermissions) -> ()'
3 |
Swift.RawRepresentable.RawValue:2:16: note: protocol requires nested type 'RawValue'
1 | protocol RawRepresentable {
2 | associatedtype RawValue}
  |                `- note: protocol requires nested type 'RawValue'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(FilePermissions, FilePermissions) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(FilePermissions, FilePermissions) -> Bool'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'Decodable'
 19 | @frozen
 20 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
 21 | public struct FilePermissions: OptionSet, Hashable, Codable {
    |               `- error: type 'FilePermissions' does not conform to protocol 'Decodable'
 22 |   /// The raw C file permissions.
 23 |   @_alwaysEmitIntoClient
 24 |   public let rawValue: CInterop.Mode
    |              `- note: cannot automatically synthesize 'Decodable' because 'CInterop.Mode' does not conform to 'Decodable'
 25 |
 26 |   /// Create a strongly-typed file permission from a raw C value.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:31:49: error: extraneous argument label 'rawValue:' in call
 29 |
 30 |   @_alwaysEmitIntoClient
 31 |   private init(_ raw: CInterop.Mode) { self.init(rawValue: raw) }
    |                                                 `- error: extraneous argument label 'rawValue:' in call
 32 |
 33 |   /// Indicates that other users have read-only permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:35:50: error: no exact matches in call to initializer
 33 |   /// Indicates that other users have read-only permission.
 34 |   @_alwaysEmitIntoClient
 35 |   public static var otherRead: FilePermissions { FilePermissions(0o4) }
    |                                                  |- error: no exact matches in call to initializer
    |                                                  `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 36 |
 37 |   /// Indicates that other users have write-only permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:39:51: error: no exact matches in call to initializer
 37 |   /// Indicates that other users have write-only permission.
 38 |   @_alwaysEmitIntoClient
 39 |   public static var otherWrite: FilePermissions { FilePermissions(0o2) }
    |                                                   |- error: no exact matches in call to initializer
    |                                                   `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 40 |
 41 |   /// Indicates that other users have execute-only permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:43:53: error: no exact matches in call to initializer
 41 |   /// Indicates that other users have execute-only permission.
 42 |   @_alwaysEmitIntoClient
 43 |   public static var otherExecute: FilePermissions { FilePermissions(0o1) }
    |                                                     |- error: no exact matches in call to initializer
    |                                                     `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 44 |
 45 |   /// Indicates that other users have read-write permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:47:55: error: no exact matches in call to initializer
 45 |   /// Indicates that other users have read-write permission.
 46 |   @_alwaysEmitIntoClient
 47 |   public static var otherReadWrite: FilePermissions { FilePermissions(0o6) }
    |                                                       |- error: no exact matches in call to initializer
    |                                                       `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 48 |
 49 |   /// Indicates that other users have read-execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:51:57: error: no exact matches in call to initializer
 49 |   /// Indicates that other users have read-execute permission.
 50 |   @_alwaysEmitIntoClient
 51 |   public static var otherReadExecute: FilePermissions { FilePermissions(0o5) }
    |                                                         |- error: no exact matches in call to initializer
    |                                                         `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 52 |
 53 |   /// Indicates that other users have write-execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:55:58: error: no exact matches in call to initializer
 53 |   /// Indicates that other users have write-execute permission.
 54 |   @_alwaysEmitIntoClient
 55 |   public static var otherWriteExecute: FilePermissions { FilePermissions(0o3) }
    |                                                          |- error: no exact matches in call to initializer
    |                                                          `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 56 |
 57 |   /// Indicates that other users have read, write, and execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:59:62: error: no exact matches in call to initializer
 57 |   /// Indicates that other users have read, write, and execute permission.
 58 |   @_alwaysEmitIntoClient
 59 |   public static var otherReadWriteExecute: FilePermissions { FilePermissions(0o7) }
    |                                                              |- error: no exact matches in call to initializer
    |                                                              `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 60 |
 61 |   /// Indicates that the group has read-only permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:63:50: error: no exact matches in call to initializer
 61 |   /// Indicates that the group has read-only permission.
 62 |   @_alwaysEmitIntoClient
 63 |   public static var groupRead: FilePermissions { FilePermissions(0o40) }
    |                                                  |- error: no exact matches in call to initializer
    |                                                  `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 64 |
 65 |   /// Indicates that the group has write-only permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:67:51: error: no exact matches in call to initializer
 65 |   /// Indicates that the group has write-only permission.
 66 |   @_alwaysEmitIntoClient
 67 |   public static var groupWrite: FilePermissions { FilePermissions(0o20) }
    |                                                   |- error: no exact matches in call to initializer
    |                                                   `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 68 |
 69 |   /// Indicates that the group has execute-only permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:71:53: error: no exact matches in call to initializer
 69 |   /// Indicates that the group has execute-only permission.
 70 |   @_alwaysEmitIntoClient
 71 |   public static var groupExecute: FilePermissions { FilePermissions(0o10) }
    |                                                     |- error: no exact matches in call to initializer
    |                                                     `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 72 |
 73 |   /// Indicates that the group has read-write permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:75:55: error: no exact matches in call to initializer
 73 |   /// Indicates that the group has read-write permission.
 74 |   @_alwaysEmitIntoClient
 75 |   public static var groupReadWrite: FilePermissions { FilePermissions(0o60) }
    |                                                       |- error: no exact matches in call to initializer
    |                                                       `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 76 |
 77 |   /// Indicates that the group has read-execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:79:57: error: no exact matches in call to initializer
 77 |   /// Indicates that the group has read-execute permission.
 78 |   @_alwaysEmitIntoClient
 79 |   public static var groupReadExecute: FilePermissions { FilePermissions(0o50) }
    |                                                         |- error: no exact matches in call to initializer
    |                                                         `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 80 |
 81 |   /// Indicates that the group has write-execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:83:58: error: no exact matches in call to initializer
 81 |   /// Indicates that the group has write-execute permission.
 82 |   @_alwaysEmitIntoClient
 83 |   public static var groupWriteExecute: FilePermissions { FilePermissions(0o30) }
    |                                                          |- error: no exact matches in call to initializer
    |                                                          `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 84 |
 85 |   /// Indicates that the group has read, write, and execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:87:62: error: no exact matches in call to initializer
 85 |   /// Indicates that the group has read, write, and execute permission.
 86 |   @_alwaysEmitIntoClient
 87 |   public static var groupReadWriteExecute: FilePermissions { FilePermissions(0o70) }
    |                                                              |- error: no exact matches in call to initializer
    |                                                              `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 88 |
 89 |   /// Indicates that the owner has read-only permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:91:50: error: no exact matches in call to initializer
 89 |   /// Indicates that the owner has read-only permission.
 90 |   @_alwaysEmitIntoClient
 91 |   public static var ownerRead: FilePermissions { FilePermissions(0o400) }
    |                                                  |- error: no exact matches in call to initializer
    |                                                  `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 92 |
 93 |   /// Indicates that the owner has write-only permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:95:51: error: no exact matches in call to initializer
 93 |   /// Indicates that the owner has write-only permission.
 94 |   @_alwaysEmitIntoClient
 95 |   public static var ownerWrite: FilePermissions { FilePermissions(0o200) }
    |                                                   |- error: no exact matches in call to initializer
    |                                                   `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 96 |
 97 |   /// Indicates that the owner has execute-only permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:99:53: error: no exact matches in call to initializer
 97 |   /// Indicates that the owner has execute-only permission.
 98 |   @_alwaysEmitIntoClient
 99 |   public static var ownerExecute: FilePermissions { FilePermissions(0o100) }
    |                                                     |- error: no exact matches in call to initializer
    |                                                     `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
100 |
101 |   /// Indicates that the owner has read-write permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:103:55: error: no exact matches in call to initializer
101 |   /// Indicates that the owner has read-write permission.
102 |   @_alwaysEmitIntoClient
103 |   public static var ownerReadWrite: FilePermissions { FilePermissions(0o600) }
    |                                                       |- error: no exact matches in call to initializer
    |                                                       `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
104 |
105 |   /// Indicates that the owner has read-execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:107:57: error: no exact matches in call to initializer
105 |   /// Indicates that the owner has read-execute permission.
106 |   @_alwaysEmitIntoClient
107 |   public static var ownerReadExecute: FilePermissions { FilePermissions(0o500) }
    |                                                         |- error: no exact matches in call to initializer
    |                                                         `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
108 |
109 |   /// Indicates that the owner has write-execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:111:58: error: no exact matches in call to initializer
109 |   /// Indicates that the owner has write-execute permission.
110 |   @_alwaysEmitIntoClient
111 |   public static var ownerWriteExecute: FilePermissions { FilePermissions(0o300) }
    |                                                          |- error: no exact matches in call to initializer
    |                                                          `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
112 |
113 |   /// Indicates that the owner has read, write, and execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:115:62: error: no exact matches in call to initializer
113 |   /// Indicates that the owner has read, write, and execute permission.
114 |   @_alwaysEmitIntoClient
115 |   public static var ownerReadWriteExecute: FilePermissions { FilePermissions(0o700) }
    |                                                              |- error: no exact matches in call to initializer
    |                                                              `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
116 |
117 |   /// Indicates that the file is executed as the owner.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:121:50: error: no exact matches in call to initializer
119 |   /// For more information, see the `setuid(2)` man page.
120 |   @_alwaysEmitIntoClient
121 |   public static var setUserID: FilePermissions { FilePermissions(0o4000) }
    |                                                  |- error: no exact matches in call to initializer
    |                                                  `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
122 |
123 |   /// Indicates that the file is executed as the group.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:127:51: error: no exact matches in call to initializer
125 |   /// For more information, see the `setgid(2)` man page.
126 |   @_alwaysEmitIntoClient
127 |   public static var setGroupID: FilePermissions { FilePermissions(0o2000) }
    |                                                   |- error: no exact matches in call to initializer
    |                                                   `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
128 |
129 |   /// Indicates that executable's text segment
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:135:49: error: no exact matches in call to initializer
133 |   /// discussion of `S_ISVTX` (the sticky bit).
134 |   @_alwaysEmitIntoClient
135 |   public static var saveText: FilePermissions { FilePermissions(0o1000) }
    |                                                 |- error: no exact matches in call to initializer
    |                                                 `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
136 | }
137 |
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
[28/107] Compiling SystemPackage FilePermissions.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:35:27: error: cannot find type 'mode_t' in scope
33 |   public typealias Mode = CInt
34 | #else
35 |   public typealias Mode = mode_t
   |                           `- error: cannot find type 'mode_t' in scope
36 | #endif
37 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'Decodable'
 19 | @frozen
 20 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
 21 | public struct FilePermissions: OptionSet, Hashable, Codable {
    |               `- error: type 'FilePermissions' does not conform to protocol 'Decodable'
 22 |   /// The raw C file permissions.
 23 |   @_alwaysEmitIntoClient
 24 |   public let rawValue: CInterop.Mode
    |              `- note: cannot automatically synthesize 'Decodable' because 'CInterop.Mode' does not conform to 'Decodable'
 25 |
 26 |   /// Create a strongly-typed file permission from a raw C value.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'Hashable'
 19 | @frozen
 20 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
 21 | public struct FilePermissions: OptionSet, Hashable, Codable {
    |               `- error: type 'FilePermissions' does not conform to protocol 'Hashable'
 22 |   /// The raw C file permissions.
 23 |   @_alwaysEmitIntoClient
 24 |   public let rawValue: CInterop.Mode
    |              `- note: stored property type '<<error type>>' does not conform to protocol 'Hashable', preventing synthesized conformance of 'FilePermissions' to 'Hashable'
 25 |
 26 |   /// Create a strongly-typed file permission from a raw C value.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'Encodable'
 19 | @frozen
 20 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
 21 | public struct FilePermissions: OptionSet, Hashable, Codable {
    |               `- error: type 'FilePermissions' does not conform to protocol 'Encodable'
 22 |   /// The raw C file permissions.
 23 |   @_alwaysEmitIntoClient
 24 |   public let rawValue: CInterop.Mode
    |              `- note: cannot automatically synthesize 'Encodable' because 'CInterop.Mode' does not conform to 'Encodable'
 25 |
 26 |   /// Create a strongly-typed file permission from a raw C value.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'SetAlgebra'
 19 | @frozen
 20 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
 21 | public struct FilePermissions: OptionSet, Hashable, Codable {
    |               `- error: type 'FilePermissions' does not conform to protocol 'SetAlgebra'
 22 |   /// The raw C file permissions.
 23 |   @_alwaysEmitIntoClient
Swift.OptionSet.init:2:19: note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public init()}
  |                   `- note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formUnion:2:33: note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formUnion(_ other: Self)}
  |                                 `- note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formIntersection:2:33: note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formIntersection(_ other: Self)}
  |                                 `- note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formSymmetricDifference:2:33: note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formSymmetricDifference(_ other: Self)}
  |                                 `- note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'RawRepresentable'
 19 | @frozen
 20 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
 21 | public struct FilePermissions: OptionSet, Hashable, Codable {
    |               `- error: type 'FilePermissions' does not conform to protocol 'RawRepresentable'
 22 |   /// The raw C file permissions.
 23 |   @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'Equatable'
 19 | @frozen
 20 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
 21 | public struct FilePermissions: OptionSet, Hashable, Codable {
    |               |- error: type 'FilePermissions' does not conform to protocol 'Equatable'
    |               `- note: add stubs for conformance
 22 |   /// The raw C file permissions.
 23 |   @_alwaysEmitIntoClient
 24 |   public let rawValue: CInterop.Mode
    |              `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'FilePermissions' to 'Equatable'
 25 |
 26 |   /// Create a strongly-typed file permission from a raw C value.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponents.swift:169:22: note: candidate would match if 'FilePermissions' conformed to '_StrSlice'
167 | }
168 | extension _StrSlice {
169 |   public static func == (lhs: Self, rhs: Self) -> Bool {
    |                      `- note: candidate would match if 'FilePermissions' conformed to '_StrSlice'
170 |     lhs._slice.elementsEqual(rhs._slice)
171 |   }
Swift.==:1:24: note: candidate would match if 'FilePermissions.RawValue' conformed to 'Equatable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'FilePermissions.RawValue' conformed to 'Equatable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'FilePermissions' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'FilePermissions' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'FilePermissions' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'FilePermissions' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'FilePermissions' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'FilePermissions' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'FilePermissions' 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 'FilePermissions' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'FilePermissions' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'FilePermissions' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'FilePermissions' 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 'FilePermissions' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'FilePermissions' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'FilePermissions' conformed to 'SIMD'
3 |
Swift.SetAlgebra.init:2:1: note: protocol requires initializer 'init()' with type '()'
1 | protocol SetAlgebra {
2 | init()}
  | `- note: protocol requires initializer 'init()' with type '()'
3 |
Swift.SetAlgebra.formUnion:2:15: note: protocol requires function 'formUnion' with type '(__owned FilePermissions) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formUnion(_ other: __owned Self)}
  |               `- note: protocol requires function 'formUnion' with type '(__owned FilePermissions) -> ()'
3 |
Swift.SetAlgebra.formIntersection:2:15: note: protocol requires function 'formIntersection' with type '(FilePermissions) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formIntersection(_ other: Self)}
  |               `- note: protocol requires function 'formIntersection' with type '(FilePermissions) -> ()'
3 |
Swift.SetAlgebra.formSymmetricDifference:2:15: note: protocol requires function 'formSymmetricDifference' with type '(__owned FilePermissions) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formSymmetricDifference(_ other: __owned Self)}
  |               `- note: protocol requires function 'formSymmetricDifference' with type '(__owned FilePermissions) -> ()'
3 |
Swift.RawRepresentable.RawValue:2:16: note: protocol requires nested type 'RawValue'
1 | protocol RawRepresentable {
2 | associatedtype RawValue}
  |                `- note: protocol requires nested type 'RawValue'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(FilePermissions, FilePermissions) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(FilePermissions, FilePermissions) -> Bool'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'Decodable'
 19 | @frozen
 20 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
 21 | public struct FilePermissions: OptionSet, Hashable, Codable {
    |               `- error: type 'FilePermissions' does not conform to protocol 'Decodable'
 22 |   /// The raw C file permissions.
 23 |   @_alwaysEmitIntoClient
 24 |   public let rawValue: CInterop.Mode
    |              `- note: cannot automatically synthesize 'Decodable' because 'CInterop.Mode' does not conform to 'Decodable'
 25 |
 26 |   /// Create a strongly-typed file permission from a raw C value.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:31:49: error: extraneous argument label 'rawValue:' in call
 29 |
 30 |   @_alwaysEmitIntoClient
 31 |   private init(_ raw: CInterop.Mode) { self.init(rawValue: raw) }
    |                                                 `- error: extraneous argument label 'rawValue:' in call
 32 |
 33 |   /// Indicates that other users have read-only permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:35:50: error: no exact matches in call to initializer
 33 |   /// Indicates that other users have read-only permission.
 34 |   @_alwaysEmitIntoClient
 35 |   public static var otherRead: FilePermissions { FilePermissions(0o4) }
    |                                                  |- error: no exact matches in call to initializer
    |                                                  `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 36 |
 37 |   /// Indicates that other users have write-only permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:39:51: error: no exact matches in call to initializer
 37 |   /// Indicates that other users have write-only permission.
 38 |   @_alwaysEmitIntoClient
 39 |   public static var otherWrite: FilePermissions { FilePermissions(0o2) }
    |                                                   |- error: no exact matches in call to initializer
    |                                                   `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 40 |
 41 |   /// Indicates that other users have execute-only permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:43:53: error: no exact matches in call to initializer
 41 |   /// Indicates that other users have execute-only permission.
 42 |   @_alwaysEmitIntoClient
 43 |   public static var otherExecute: FilePermissions { FilePermissions(0o1) }
    |                                                     |- error: no exact matches in call to initializer
    |                                                     `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 44 |
 45 |   /// Indicates that other users have read-write permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:47:55: error: no exact matches in call to initializer
 45 |   /// Indicates that other users have read-write permission.
 46 |   @_alwaysEmitIntoClient
 47 |   public static var otherReadWrite: FilePermissions { FilePermissions(0o6) }
    |                                                       |- error: no exact matches in call to initializer
    |                                                       `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 48 |
 49 |   /// Indicates that other users have read-execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:51:57: error: no exact matches in call to initializer
 49 |   /// Indicates that other users have read-execute permission.
 50 |   @_alwaysEmitIntoClient
 51 |   public static var otherReadExecute: FilePermissions { FilePermissions(0o5) }
    |                                                         |- error: no exact matches in call to initializer
    |                                                         `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 52 |
 53 |   /// Indicates that other users have write-execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:55:58: error: no exact matches in call to initializer
 53 |   /// Indicates that other users have write-execute permission.
 54 |   @_alwaysEmitIntoClient
 55 |   public static var otherWriteExecute: FilePermissions { FilePermissions(0o3) }
    |                                                          |- error: no exact matches in call to initializer
    |                                                          `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 56 |
 57 |   /// Indicates that other users have read, write, and execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:59:62: error: no exact matches in call to initializer
 57 |   /// Indicates that other users have read, write, and execute permission.
 58 |   @_alwaysEmitIntoClient
 59 |   public static var otherReadWriteExecute: FilePermissions { FilePermissions(0o7) }
    |                                                              |- error: no exact matches in call to initializer
    |                                                              `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 60 |
 61 |   /// Indicates that the group has read-only permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:63:50: error: no exact matches in call to initializer
 61 |   /// Indicates that the group has read-only permission.
 62 |   @_alwaysEmitIntoClient
 63 |   public static var groupRead: FilePermissions { FilePermissions(0o40) }
    |                                                  |- error: no exact matches in call to initializer
    |                                                  `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 64 |
 65 |   /// Indicates that the group has write-only permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:67:51: error: no exact matches in call to initializer
 65 |   /// Indicates that the group has write-only permission.
 66 |   @_alwaysEmitIntoClient
 67 |   public static var groupWrite: FilePermissions { FilePermissions(0o20) }
    |                                                   |- error: no exact matches in call to initializer
    |                                                   `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 68 |
 69 |   /// Indicates that the group has execute-only permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:71:53: error: no exact matches in call to initializer
 69 |   /// Indicates that the group has execute-only permission.
 70 |   @_alwaysEmitIntoClient
 71 |   public static var groupExecute: FilePermissions { FilePermissions(0o10) }
    |                                                     |- error: no exact matches in call to initializer
    |                                                     `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 72 |
 73 |   /// Indicates that the group has read-write permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:75:55: error: no exact matches in call to initializer
 73 |   /// Indicates that the group has read-write permission.
 74 |   @_alwaysEmitIntoClient
 75 |   public static var groupReadWrite: FilePermissions { FilePermissions(0o60) }
    |                                                       |- error: no exact matches in call to initializer
    |                                                       `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 76 |
 77 |   /// Indicates that the group has read-execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:79:57: error: no exact matches in call to initializer
 77 |   /// Indicates that the group has read-execute permission.
 78 |   @_alwaysEmitIntoClient
 79 |   public static var groupReadExecute: FilePermissions { FilePermissions(0o50) }
    |                                                         |- error: no exact matches in call to initializer
    |                                                         `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 80 |
 81 |   /// Indicates that the group has write-execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:83:58: error: no exact matches in call to initializer
 81 |   /// Indicates that the group has write-execute permission.
 82 |   @_alwaysEmitIntoClient
 83 |   public static var groupWriteExecute: FilePermissions { FilePermissions(0o30) }
    |                                                          |- error: no exact matches in call to initializer
    |                                                          `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 84 |
 85 |   /// Indicates that the group has read, write, and execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:87:62: error: no exact matches in call to initializer
 85 |   /// Indicates that the group has read, write, and execute permission.
 86 |   @_alwaysEmitIntoClient
 87 |   public static var groupReadWriteExecute: FilePermissions { FilePermissions(0o70) }
    |                                                              |- error: no exact matches in call to initializer
    |                                                              `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 88 |
 89 |   /// Indicates that the owner has read-only permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:91:50: error: no exact matches in call to initializer
 89 |   /// Indicates that the owner has read-only permission.
 90 |   @_alwaysEmitIntoClient
 91 |   public static var ownerRead: FilePermissions { FilePermissions(0o400) }
    |                                                  |- error: no exact matches in call to initializer
    |                                                  `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 92 |
 93 |   /// Indicates that the owner has write-only permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:95:51: error: no exact matches in call to initializer
 93 |   /// Indicates that the owner has write-only permission.
 94 |   @_alwaysEmitIntoClient
 95 |   public static var ownerWrite: FilePermissions { FilePermissions(0o200) }
    |                                                   |- error: no exact matches in call to initializer
    |                                                   `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 96 |
 97 |   /// Indicates that the owner has execute-only permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:99:53: error: no exact matches in call to initializer
 97 |   /// Indicates that the owner has execute-only permission.
 98 |   @_alwaysEmitIntoClient
 99 |   public static var ownerExecute: FilePermissions { FilePermissions(0o100) }
    |                                                     |- error: no exact matches in call to initializer
    |                                                     `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
100 |
101 |   /// Indicates that the owner has read-write permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:103:55: error: no exact matches in call to initializer
101 |   /// Indicates that the owner has read-write permission.
102 |   @_alwaysEmitIntoClient
103 |   public static var ownerReadWrite: FilePermissions { FilePermissions(0o600) }
    |                                                       |- error: no exact matches in call to initializer
    |                                                       `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
104 |
105 |   /// Indicates that the owner has read-execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:107:57: error: no exact matches in call to initializer
105 |   /// Indicates that the owner has read-execute permission.
106 |   @_alwaysEmitIntoClient
107 |   public static var ownerReadExecute: FilePermissions { FilePermissions(0o500) }
    |                                                         |- error: no exact matches in call to initializer
    |                                                         `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
108 |
109 |   /// Indicates that the owner has write-execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:111:58: error: no exact matches in call to initializer
109 |   /// Indicates that the owner has write-execute permission.
110 |   @_alwaysEmitIntoClient
111 |   public static var ownerWriteExecute: FilePermissions { FilePermissions(0o300) }
    |                                                          |- error: no exact matches in call to initializer
    |                                                          `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
112 |
113 |   /// Indicates that the owner has read, write, and execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:115:62: error: no exact matches in call to initializer
113 |   /// Indicates that the owner has read, write, and execute permission.
114 |   @_alwaysEmitIntoClient
115 |   public static var ownerReadWriteExecute: FilePermissions { FilePermissions(0o700) }
    |                                                              |- error: no exact matches in call to initializer
    |                                                              `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
116 |
117 |   /// Indicates that the file is executed as the owner.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:121:50: error: no exact matches in call to initializer
119 |   /// For more information, see the `setuid(2)` man page.
120 |   @_alwaysEmitIntoClient
121 |   public static var setUserID: FilePermissions { FilePermissions(0o4000) }
    |                                                  |- error: no exact matches in call to initializer
    |                                                  `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
122 |
123 |   /// Indicates that the file is executed as the group.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:127:51: error: no exact matches in call to initializer
125 |   /// For more information, see the `setgid(2)` man page.
126 |   @_alwaysEmitIntoClient
127 |   public static var setGroupID: FilePermissions { FilePermissions(0o2000) }
    |                                                   |- error: no exact matches in call to initializer
    |                                                   `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
128 |
129 |   /// Indicates that executable's text segment
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:135:49: error: no exact matches in call to initializer
133 |   /// discussion of `S_ISVTX` (the sticky bit).
134 |   @_alwaysEmitIntoClient
135 |   public static var saveText: FilePermissions { FilePermissions(0o1000) }
    |                                                 |- error: no exact matches in call to initializer
    |                                                 `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
136 | }
137 |
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
[32/107] Compiling SystemPackage Util.swift
[33/107] Compiling WIT ParseTypes.swift
[34/107] Emitting module WITExtractor
[37/107] Emitting module WasmTypes
[38/107] Compiling WasmTypes GuestMemory.swift
[39/108] Compiling WITExtractor SourcePrinter.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[40/108] Emitting module SystemPackage
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:35:27: error: cannot find type 'mode_t' in scope
33 |   public typealias Mode = CInt
34 | #else
35 |   public typealias Mode = mode_t
   |                           `- error: cannot find type 'mode_t' in scope
36 | #endif
37 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'Decodable'
 19 | @frozen
 20 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
 21 | public struct FilePermissions: OptionSet, Hashable, Codable {
    |               `- error: type 'FilePermissions' does not conform to protocol 'Decodable'
 22 |   /// The raw C file permissions.
 23 |   @_alwaysEmitIntoClient
 24 |   public let rawValue: CInterop.Mode
    |              `- note: cannot automatically synthesize 'Decodable' because 'CInterop.Mode' does not conform to 'Decodable'
 25 |
 26 |   /// Create a strongly-typed file permission from a raw C value.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'Hashable'
 19 | @frozen
 20 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
 21 | public struct FilePermissions: OptionSet, Hashable, Codable {
    |               `- error: type 'FilePermissions' does not conform to protocol 'Hashable'
 22 |   /// The raw C file permissions.
 23 |   @_alwaysEmitIntoClient
 24 |   public let rawValue: CInterop.Mode
    |              `- note: stored property type '<<error type>>' does not conform to protocol 'Hashable', preventing synthesized conformance of 'FilePermissions' to 'Hashable'
 25 |
 26 |   /// Create a strongly-typed file permission from a raw C value.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'Encodable'
 19 | @frozen
 20 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
 21 | public struct FilePermissions: OptionSet, Hashable, Codable {
    |               `- error: type 'FilePermissions' does not conform to protocol 'Encodable'
 22 |   /// The raw C file permissions.
 23 |   @_alwaysEmitIntoClient
 24 |   public let rawValue: CInterop.Mode
    |              `- note: cannot automatically synthesize 'Encodable' because 'CInterop.Mode' does not conform to 'Encodable'
 25 |
 26 |   /// Create a strongly-typed file permission from a raw C value.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'SetAlgebra'
 19 | @frozen
 20 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
 21 | public struct FilePermissions: OptionSet, Hashable, Codable {
    |               `- error: type 'FilePermissions' does not conform to protocol 'SetAlgebra'
 22 |   /// The raw C file permissions.
 23 |   @_alwaysEmitIntoClient
Swift.OptionSet.init:2:19: note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public init()}
  |                   `- note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formUnion:2:33: note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formUnion(_ other: Self)}
  |                                 `- note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formIntersection:2:33: note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formIntersection(_ other: Self)}
  |                                 `- note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formSymmetricDifference:2:33: note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formSymmetricDifference(_ other: Self)}
  |                                 `- note: candidate would match if 'FilePermissions.RawValue' conformed to 'FixedWidthInteger'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'RawRepresentable'
 19 | @frozen
 20 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
 21 | public struct FilePermissions: OptionSet, Hashable, Codable {
    |               `- error: type 'FilePermissions' does not conform to protocol 'RawRepresentable'
 22 |   /// The raw C file permissions.
 23 |   @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'Equatable'
 19 | @frozen
 20 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
 21 | public struct FilePermissions: OptionSet, Hashable, Codable {
    |               |- error: type 'FilePermissions' does not conform to protocol 'Equatable'
    |               `- note: add stubs for conformance
 22 |   /// The raw C file permissions.
 23 |   @_alwaysEmitIntoClient
 24 |   public let rawValue: CInterop.Mode
    |              `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'FilePermissions' to 'Equatable'
 25 |
 26 |   /// Create a strongly-typed file permission from a raw C value.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponents.swift:169:22: note: candidate would match if 'FilePermissions' conformed to '_StrSlice'
167 | }
168 | extension _StrSlice {
169 |   public static func == (lhs: Self, rhs: Self) -> Bool {
    |                      `- note: candidate would match if 'FilePermissions' conformed to '_StrSlice'
170 |     lhs._slice.elementsEqual(rhs._slice)
171 |   }
Swift.==:1:24: note: candidate would match if 'FilePermissions.RawValue' conformed to 'Equatable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'FilePermissions.RawValue' conformed to 'Equatable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'FilePermissions' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'FilePermissions' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'FilePermissions' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'FilePermissions' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'FilePermissions' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'FilePermissions' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'FilePermissions' 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 'FilePermissions' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'FilePermissions' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'FilePermissions' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'FilePermissions' 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 'FilePermissions' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'FilePermissions' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'FilePermissions' conformed to 'SIMD'
3 |
Swift.SetAlgebra.init:2:1: note: protocol requires initializer 'init()' with type '()'
1 | protocol SetAlgebra {
2 | init()}
  | `- note: protocol requires initializer 'init()' with type '()'
3 |
Swift.SetAlgebra.formUnion:2:15: note: protocol requires function 'formUnion' with type '(__owned FilePermissions) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formUnion(_ other: __owned Self)}
  |               `- note: protocol requires function 'formUnion' with type '(__owned FilePermissions) -> ()'
3 |
Swift.SetAlgebra.formIntersection:2:15: note: protocol requires function 'formIntersection' with type '(FilePermissions) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formIntersection(_ other: Self)}
  |               `- note: protocol requires function 'formIntersection' with type '(FilePermissions) -> ()'
3 |
Swift.SetAlgebra.formSymmetricDifference:2:15: note: protocol requires function 'formSymmetricDifference' with type '(__owned FilePermissions) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formSymmetricDifference(_ other: __owned Self)}
  |               `- note: protocol requires function 'formSymmetricDifference' with type '(__owned FilePermissions) -> ()'
3 |
Swift.RawRepresentable.RawValue:2:16: note: protocol requires nested type 'RawValue'
1 | protocol RawRepresentable {
2 | associatedtype RawValue}
  |                `- note: protocol requires nested type 'RawValue'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(FilePermissions, FilePermissions) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(FilePermissions, FilePermissions) -> Bool'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:21:15: error: type 'FilePermissions' does not conform to protocol 'Decodable'
 19 | @frozen
 20 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
 21 | public struct FilePermissions: OptionSet, Hashable, Codable {
    |               `- error: type 'FilePermissions' does not conform to protocol 'Decodable'
 22 |   /// The raw C file permissions.
 23 |   @_alwaysEmitIntoClient
 24 |   public let rawValue: CInterop.Mode
    |              `- note: cannot automatically synthesize 'Decodable' because 'CInterop.Mode' does not conform to 'Decodable'
 25 |
 26 |   /// Create a strongly-typed file permission from a raw C value.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:31:49: error: extraneous argument label 'rawValue:' in call
 29 |
 30 |   @_alwaysEmitIntoClient
 31 |   private init(_ raw: CInterop.Mode) { self.init(rawValue: raw) }
    |                                                 `- error: extraneous argument label 'rawValue:' in call
 32 |
 33 |   /// Indicates that other users have read-only permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:35:50: error: no exact matches in call to initializer
 33 |   /// Indicates that other users have read-only permission.
 34 |   @_alwaysEmitIntoClient
 35 |   public static var otherRead: FilePermissions { FilePermissions(0o4) }
    |                                                  |- error: no exact matches in call to initializer
    |                                                  `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 36 |
 37 |   /// Indicates that other users have write-only permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:39:51: error: no exact matches in call to initializer
 37 |   /// Indicates that other users have write-only permission.
 38 |   @_alwaysEmitIntoClient
 39 |   public static var otherWrite: FilePermissions { FilePermissions(0o2) }
    |                                                   |- error: no exact matches in call to initializer
    |                                                   `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 40 |
 41 |   /// Indicates that other users have execute-only permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:43:53: error: no exact matches in call to initializer
 41 |   /// Indicates that other users have execute-only permission.
 42 |   @_alwaysEmitIntoClient
 43 |   public static var otherExecute: FilePermissions { FilePermissions(0o1) }
    |                                                     |- error: no exact matches in call to initializer
    |                                                     `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 44 |
 45 |   /// Indicates that other users have read-write permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:47:55: error: no exact matches in call to initializer
 45 |   /// Indicates that other users have read-write permission.
 46 |   @_alwaysEmitIntoClient
 47 |   public static var otherReadWrite: FilePermissions { FilePermissions(0o6) }
    |                                                       |- error: no exact matches in call to initializer
    |                                                       `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 48 |
 49 |   /// Indicates that other users have read-execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:51:57: error: no exact matches in call to initializer
 49 |   /// Indicates that other users have read-execute permission.
 50 |   @_alwaysEmitIntoClient
 51 |   public static var otherReadExecute: FilePermissions { FilePermissions(0o5) }
    |                                                         |- error: no exact matches in call to initializer
    |                                                         `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 52 |
 53 |   /// Indicates that other users have write-execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:55:58: error: no exact matches in call to initializer
 53 |   /// Indicates that other users have write-execute permission.
 54 |   @_alwaysEmitIntoClient
 55 |   public static var otherWriteExecute: FilePermissions { FilePermissions(0o3) }
    |                                                          |- error: no exact matches in call to initializer
    |                                                          `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 56 |
 57 |   /// Indicates that other users have read, write, and execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:59:62: error: no exact matches in call to initializer
 57 |   /// Indicates that other users have read, write, and execute permission.
 58 |   @_alwaysEmitIntoClient
 59 |   public static var otherReadWriteExecute: FilePermissions { FilePermissions(0o7) }
    |                                                              |- error: no exact matches in call to initializer
    |                                                              `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 60 |
 61 |   /// Indicates that the group has read-only permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:63:50: error: no exact matches in call to initializer
 61 |   /// Indicates that the group has read-only permission.
 62 |   @_alwaysEmitIntoClient
 63 |   public static var groupRead: FilePermissions { FilePermissions(0o40) }
    |                                                  |- error: no exact matches in call to initializer
    |                                                  `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 64 |
 65 |   /// Indicates that the group has write-only permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:67:51: error: no exact matches in call to initializer
 65 |   /// Indicates that the group has write-only permission.
 66 |   @_alwaysEmitIntoClient
 67 |   public static var groupWrite: FilePermissions { FilePermissions(0o20) }
    |                                                   |- error: no exact matches in call to initializer
    |                                                   `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 68 |
 69 |   /// Indicates that the group has execute-only permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:71:53: error: no exact matches in call to initializer
 69 |   /// Indicates that the group has execute-only permission.
 70 |   @_alwaysEmitIntoClient
 71 |   public static var groupExecute: FilePermissions { FilePermissions(0o10) }
    |                                                     |- error: no exact matches in call to initializer
    |                                                     `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 72 |
 73 |   /// Indicates that the group has read-write permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:75:55: error: no exact matches in call to initializer
 73 |   /// Indicates that the group has read-write permission.
 74 |   @_alwaysEmitIntoClient
 75 |   public static var groupReadWrite: FilePermissions { FilePermissions(0o60) }
    |                                                       |- error: no exact matches in call to initializer
    |                                                       `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 76 |
 77 |   /// Indicates that the group has read-execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:79:57: error: no exact matches in call to initializer
 77 |   /// Indicates that the group has read-execute permission.
 78 |   @_alwaysEmitIntoClient
 79 |   public static var groupReadExecute: FilePermissions { FilePermissions(0o50) }
    |                                                         |- error: no exact matches in call to initializer
    |                                                         `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 80 |
 81 |   /// Indicates that the group has write-execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:83:58: error: no exact matches in call to initializer
 81 |   /// Indicates that the group has write-execute permission.
 82 |   @_alwaysEmitIntoClient
 83 |   public static var groupWriteExecute: FilePermissions { FilePermissions(0o30) }
    |                                                          |- error: no exact matches in call to initializer
    |                                                          `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 84 |
 85 |   /// Indicates that the group has read, write, and execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:87:62: error: no exact matches in call to initializer
 85 |   /// Indicates that the group has read, write, and execute permission.
 86 |   @_alwaysEmitIntoClient
 87 |   public static var groupReadWriteExecute: FilePermissions { FilePermissions(0o70) }
    |                                                              |- error: no exact matches in call to initializer
    |                                                              `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 88 |
 89 |   /// Indicates that the owner has read-only permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:91:50: error: no exact matches in call to initializer
 89 |   /// Indicates that the owner has read-only permission.
 90 |   @_alwaysEmitIntoClient
 91 |   public static var ownerRead: FilePermissions { FilePermissions(0o400) }
    |                                                  |- error: no exact matches in call to initializer
    |                                                  `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 92 |
 93 |   /// Indicates that the owner has write-only permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:95:51: error: no exact matches in call to initializer
 93 |   /// Indicates that the owner has write-only permission.
 94 |   @_alwaysEmitIntoClient
 95 |   public static var ownerWrite: FilePermissions { FilePermissions(0o200) }
    |                                                   |- error: no exact matches in call to initializer
    |                                                   `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
 96 |
 97 |   /// Indicates that the owner has execute-only permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:99:53: error: no exact matches in call to initializer
 97 |   /// Indicates that the owner has execute-only permission.
 98 |   @_alwaysEmitIntoClient
 99 |   public static var ownerExecute: FilePermissions { FilePermissions(0o100) }
    |                                                     |- error: no exact matches in call to initializer
    |                                                     `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
100 |
101 |   /// Indicates that the owner has read-write permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:103:55: error: no exact matches in call to initializer
101 |   /// Indicates that the owner has read-write permission.
102 |   @_alwaysEmitIntoClient
103 |   public static var ownerReadWrite: FilePermissions { FilePermissions(0o600) }
    |                                                       |- error: no exact matches in call to initializer
    |                                                       `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
104 |
105 |   /// Indicates that the owner has read-execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:107:57: error: no exact matches in call to initializer
105 |   /// Indicates that the owner has read-execute permission.
106 |   @_alwaysEmitIntoClient
107 |   public static var ownerReadExecute: FilePermissions { FilePermissions(0o500) }
    |                                                         |- error: no exact matches in call to initializer
    |                                                         `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
108 |
109 |   /// Indicates that the owner has write-execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:111:58: error: no exact matches in call to initializer
109 |   /// Indicates that the owner has write-execute permission.
110 |   @_alwaysEmitIntoClient
111 |   public static var ownerWriteExecute: FilePermissions { FilePermissions(0o300) }
    |                                                          |- error: no exact matches in call to initializer
    |                                                          `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
112 |
113 |   /// Indicates that the owner has read, write, and execute permission.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:115:62: error: no exact matches in call to initializer
113 |   /// Indicates that the owner has read, write, and execute permission.
114 |   @_alwaysEmitIntoClient
115 |   public static var ownerReadWriteExecute: FilePermissions { FilePermissions(0o700) }
    |                                                              |- error: no exact matches in call to initializer
    |                                                              `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
116 |
117 |   /// Indicates that the file is executed as the owner.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:121:50: error: no exact matches in call to initializer
119 |   /// For more information, see the `setuid(2)` man page.
120 |   @_alwaysEmitIntoClient
121 |   public static var setUserID: FilePermissions { FilePermissions(0o4000) }
    |                                                  |- error: no exact matches in call to initializer
    |                                                  `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
122 |
123 |   /// Indicates that the file is executed as the group.
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:127:51: error: no exact matches in call to initializer
125 |   /// For more information, see the `setgid(2)` man page.
126 |   @_alwaysEmitIntoClient
127 |   public static var setGroupID: FilePermissions { FilePermissions(0o2000) }
    |                                                   |- error: no exact matches in call to initializer
    |                                                   `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
128 |
129 |   /// Indicates that executable's text segment
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:135:49: error: no exact matches in call to initializer
133 |   /// discussion of `S_ISVTX` (the sticky bit).
134 |   @_alwaysEmitIntoClient
135 |   public static var saveText: FilePermissions { FilePermissions(0o1000) }
    |                                                 |- error: no exact matches in call to initializer
    |                                                 `- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
136 | }
137 |
Swift.SetAlgebra.init:2:19: note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that 'Int' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:26:8: error: Unsupported Platform
24 | import ucrt
25 | #else
26 | #error("Unsupported Platform")
   |        `- error: Unsupported Platform
27 | #endif
28 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:22:8: error: Unsupported Platform
 20 | import ucrt
 21 | #else
 22 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 23 | #endif
 24 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:32:29: error: cannot find 'EPERM' in scope
 30 |
 31 | @_alwaysEmitIntoClient
 32 | internal var _EPERM: CInt { EPERM }
    |                             `- error: cannot find 'EPERM' in scope
 33 |
 34 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:35:30: error: cannot find 'ENOENT' in scope
 33 |
 34 | @_alwaysEmitIntoClient
 35 | internal var _ENOENT: CInt { ENOENT }
    |                              `- error: cannot find 'ENOENT' in scope
 36 |
 37 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:38:29: error: cannot find 'ESRCH' in scope
 36 |
 37 | @_alwaysEmitIntoClient
 38 | internal var _ESRCH: CInt { ESRCH }
    |                             `- error: cannot find 'ESRCH' in scope
 39 |
 40 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:41:29: error: cannot find 'EINTR' in scope
 39 |
 40 | @_alwaysEmitIntoClient
 41 | internal var _EINTR: CInt { EINTR }
    |                             `- error: cannot find 'EINTR' in scope
 42 |
 43 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:44:27: error: cannot find 'EIO' in scope
 42 |
 43 | @_alwaysEmitIntoClient
 44 | internal var _EIO: CInt { EIO }
    |                           `- error: cannot find 'EIO' in scope
 45 |
 46 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:47:29: error: cannot find 'ENXIO' in scope
 45 |
 46 | @_alwaysEmitIntoClient
 47 | internal var _ENXIO: CInt { ENXIO }
    |                             `- error: cannot find 'ENXIO' in scope
 48 |
 49 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:50:29: error: cannot find 'E2BIG' in scope
 48 |
 49 | @_alwaysEmitIntoClient
 50 | internal var _E2BIG: CInt { E2BIG }
    |                             `- error: cannot find 'E2BIG' in scope
 51 |
 52 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:53:31: error: cannot find 'ENOEXEC' in scope
 51 |
 52 | @_alwaysEmitIntoClient
 53 | internal var _ENOEXEC: CInt { ENOEXEC }
    |                               `- error: cannot find 'ENOEXEC' in scope
 54 |
 55 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:56:29: error: cannot find 'EBADF' in scope
 54 |
 55 | @_alwaysEmitIntoClient
 56 | internal var _EBADF: CInt { EBADF }
    |                             `- error: cannot find 'EBADF' in scope
 57 |
 58 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:59:30: error: cannot find 'ECHILD' in scope
 57 |
 58 | @_alwaysEmitIntoClient
 59 | internal var _ECHILD: CInt { ECHILD }
    |                              `- error: cannot find 'ECHILD' in scope
 60 |
 61 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:62:31: error: cannot find 'EDEADLK' in scope
 60 |
 61 | @_alwaysEmitIntoClient
 62 | internal var _EDEADLK: CInt { EDEADLK }
    |                               `- error: cannot find 'EDEADLK' in scope
 63 |
 64 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:65:30: error: cannot find 'ENOMEM' in scope
 63 |
 64 | @_alwaysEmitIntoClient
 65 | internal var _ENOMEM: CInt { ENOMEM }
    |                              `- error: cannot find 'ENOMEM' in scope
 66 |
 67 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:68:30: error: cannot find 'EACCES' in scope
 66 |
 67 | @_alwaysEmitIntoClient
 68 | internal var _EACCES: CInt { EACCES }
    |                              `- error: cannot find 'EACCES' in scope
 69 |
 70 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:71:30: error: cannot find 'EFAULT' in scope
 69 |
 70 | @_alwaysEmitIntoClient
 71 | internal var _EFAULT: CInt { EFAULT }
    |                              `- error: cannot find 'EFAULT' in scope
 72 |
 73 | #if !os(Windows)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:75:31: error: cannot find 'ENOTBLK' in scope
 73 | #if !os(Windows)
 74 | @_alwaysEmitIntoClient
 75 | internal var _ENOTBLK: CInt { ENOTBLK }
    |                               `- error: cannot find 'ENOTBLK' in scope
 76 | #endif
 77 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:79:29: error: cannot find 'EBUSY' in scope
 77 |
 78 | @_alwaysEmitIntoClient
 79 | internal var _EBUSY: CInt { EBUSY }
    |                             `- error: cannot find 'EBUSY' in scope
 80 |
 81 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:82:30: error: cannot find 'EEXIST' in scope
 80 |
 81 | @_alwaysEmitIntoClient
 82 | internal var _EEXIST: CInt { EEXIST }
    |                              `- error: cannot find 'EEXIST' in scope
 83 |
 84 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:85:29: error: cannot find 'EXDEV' in scope
 83 |
 84 | @_alwaysEmitIntoClient
 85 | internal var _EXDEV: CInt { EXDEV }
    |                             `- error: cannot find 'EXDEV' in scope
 86 |
 87 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:88:30: error: cannot find 'ENODEV' in scope
 86 |
 87 | @_alwaysEmitIntoClient
 88 | internal var _ENODEV: CInt { ENODEV }
    |                              `- error: cannot find 'ENODEV' in scope
 89 |
 90 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:91:31: error: cannot find 'ENOTDIR' in scope
 89 |
 90 | @_alwaysEmitIntoClient
 91 | internal var _ENOTDIR: CInt { ENOTDIR }
    |                               `- error: cannot find 'ENOTDIR' in scope
 92 |
 93 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:94:30: error: cannot find 'EISDIR' in scope
 92 |
 93 | @_alwaysEmitIntoClient
 94 | internal var _EISDIR: CInt { EISDIR }
    |                              `- error: cannot find 'EISDIR' in scope
 95 |
 96 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:97:30: error: cannot find 'EINVAL' in scope
 95 |
 96 | @_alwaysEmitIntoClient
 97 | internal var _EINVAL: CInt { EINVAL }
    |                              `- error: cannot find 'EINVAL' in scope
 98 |
 99 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:100:30: error: cannot find 'ENFILE' in scope
 98 |
 99 | @_alwaysEmitIntoClient
100 | internal var _ENFILE: CInt { ENFILE }
    |                              `- error: cannot find 'ENFILE' in scope
101 |
102 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:103:30: error: cannot find 'EMFILE' in scope
101 |
102 | @_alwaysEmitIntoClient
103 | internal var _EMFILE: CInt { EMFILE }
    |                              `- error: cannot find 'EMFILE' in scope
104 |
105 | #if !os(Windows)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:107:30: error: cannot find 'ENOTTY' in scope
105 | #if !os(Windows)
106 | @_alwaysEmitIntoClient
107 | internal var _ENOTTY: CInt { ENOTTY }
    |                              `- error: cannot find 'ENOTTY' in scope
108 |
109 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:110:31: error: cannot find 'ETXTBSY' in scope
108 |
109 | @_alwaysEmitIntoClient
110 | internal var _ETXTBSY: CInt { ETXTBSY }
    |                               `- error: cannot find 'ETXTBSY' in scope
111 | #endif
112 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:114:29: error: cannot find 'EFBIG' in scope
112 |
113 | @_alwaysEmitIntoClient
114 | internal var _EFBIG: CInt { EFBIG }
    |                             `- error: cannot find 'EFBIG' in scope
115 |
116 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:117:30: error: cannot find 'ENOSPC' in scope
115 |
116 | @_alwaysEmitIntoClient
117 | internal var _ENOSPC: CInt { ENOSPC }
    |                              `- error: cannot find 'ENOSPC' in scope
118 |
119 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:120:30: error: cannot find 'ESPIPE' in scope
118 |
119 | @_alwaysEmitIntoClient
120 | internal var _ESPIPE: CInt { ESPIPE }
    |                              `- error: cannot find 'ESPIPE' in scope
121 |
122 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:123:29: error: cannot find 'EROFS' in scope
121 |
122 | @_alwaysEmitIntoClient
123 | internal var _EROFS: CInt { EROFS }
    |                             `- error: cannot find 'EROFS' in scope
124 |
125 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:126:30: error: cannot find 'EMLINK' in scope
124 |
125 | @_alwaysEmitIntoClient
126 | internal var _EMLINK: CInt { EMLINK }
    |                              `- error: cannot find 'EMLINK' in scope
127 |
128 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:129:29: error: cannot find 'EPIPE' in scope
127 |
128 | @_alwaysEmitIntoClient
129 | internal var _EPIPE: CInt { EPIPE }
    |                             `- error: cannot find 'EPIPE' in scope
130 |
131 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:132:28: error: cannot find 'EDOM' in scope
130 |
131 | @_alwaysEmitIntoClient
132 | internal var _EDOM: CInt { EDOM }
    |                            `- error: cannot find 'EDOM' in scope
133 |
134 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:135:30: error: cannot find 'ERANGE' in scope
133 |
134 | @_alwaysEmitIntoClient
135 | internal var _ERANGE: CInt { ERANGE }
    |                              `- error: cannot find 'ERANGE' in scope
136 |
137 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:138:30: error: cannot find 'EAGAIN' in scope
136 |
137 | @_alwaysEmitIntoClient
138 | internal var _EAGAIN: CInt { EAGAIN }
    |                              `- error: cannot find 'EAGAIN' in scope
139 |
140 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:141:35: error: cannot find 'EWOULDBLOCK' in scope
139 |
140 | @_alwaysEmitIntoClient
141 | internal var _EWOULDBLOCK: CInt { EWOULDBLOCK }
    |                                   `- error: cannot find 'EWOULDBLOCK' in scope
142 |
143 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:144:35: error: cannot find 'EINPROGRESS' in scope
142 |
143 | @_alwaysEmitIntoClient
144 | internal var _EINPROGRESS: CInt { EINPROGRESS }
    |                                   `- error: cannot find 'EINPROGRESS' in scope
145 |
146 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:147:32: error: cannot find 'EALREADY' in scope
145 |
146 | @_alwaysEmitIntoClient
147 | internal var _EALREADY: CInt { EALREADY }
    |                                `- error: cannot find 'EALREADY' in scope
148 |
149 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:150:32: error: cannot find 'ENOTSOCK' in scope
148 |
149 | @_alwaysEmitIntoClient
150 | internal var _ENOTSOCK: CInt { ENOTSOCK }
    |                                `- error: cannot find 'ENOTSOCK' in scope
151 |
152 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:153:36: error: cannot find 'EDESTADDRREQ' in scope
151 |
152 | @_alwaysEmitIntoClient
153 | internal var _EDESTADDRREQ: CInt { EDESTADDRREQ }
    |                                    `- error: cannot find 'EDESTADDRREQ' in scope
154 |
155 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:156:32: error: cannot find 'EMSGSIZE' in scope
154 |
155 | @_alwaysEmitIntoClient
156 | internal var _EMSGSIZE: CInt { EMSGSIZE }
    |                                `- error: cannot find 'EMSGSIZE' in scope
157 |
158 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:159:34: error: cannot find 'EPROTOTYPE' in scope
157 |
158 | @_alwaysEmitIntoClient
159 | internal var _EPROTOTYPE: CInt { EPROTOTYPE }
    |                                  `- error: cannot find 'EPROTOTYPE' in scope
160 |
161 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:162:35: error: cannot find 'ENOPROTOOPT' in scope
160 |
161 | @_alwaysEmitIntoClient
162 | internal var _ENOPROTOOPT: CInt { ENOPROTOOPT }
    |                                   `- error: cannot find 'ENOPROTOOPT' in scope
163 |
164 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:165:39: error: cannot find 'EPROTONOSUPPORT' in scope
163 |
164 | @_alwaysEmitIntoClient
165 | internal var _EPROTONOSUPPORT: CInt { EPROTONOSUPPORT }
    |                                       `- error: cannot find 'EPROTONOSUPPORT' in scope
166 |
167 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:172:10: error: cannot find 'ESOCKTNOSUPPORT' in scope
170 |   return WSAESOCKTNOSUPPORT
171 | #else
172 |   return ESOCKTNOSUPPORT
    |          `- error: cannot find 'ESOCKTNOSUPPORT' in scope
173 | #endif
174 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:181:10: error: cannot find 'ENOTSUP' in scope
179 |   return WSAEOPNOTSUPP
180 | #else
181 |   return ENOTSUP
    |          `- error: cannot find 'ENOTSUP' in scope
182 | #endif
183 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:190:10: error: cannot find 'EPFNOSUPPORT' in scope
188 |   return WSAEPFNOSUPPORT
189 | #else
190 |   return EPFNOSUPPORT
    |          `- error: cannot find 'EPFNOSUPPORT' in scope
191 | #endif
192 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:195:36: error: cannot find 'EAFNOSUPPORT' in scope
193 |
194 | @_alwaysEmitIntoClient
195 | internal var _EAFNOSUPPORT: CInt { EAFNOSUPPORT }
    |                                    `- error: cannot find 'EAFNOSUPPORT' in scope
196 |
197 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:198:34: error: cannot find 'EADDRINUSE' in scope
196 |
197 | @_alwaysEmitIntoClient
198 | internal var _EADDRINUSE: CInt { EADDRINUSE }
    |                                  `- error: cannot find 'EADDRINUSE' in scope
199 |
200 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:201:37: error: cannot find 'EADDRNOTAVAIL' in scope
199 |
200 | @_alwaysEmitIntoClient
201 | internal var _EADDRNOTAVAIL: CInt { EADDRNOTAVAIL }
    |                                     `- error: cannot find 'EADDRNOTAVAIL' in scope
202 |
203 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:204:32: error: cannot find 'ENETDOWN' in scope
202 |
203 | @_alwaysEmitIntoClient
204 | internal var _ENETDOWN: CInt { ENETDOWN }
    |                                `- error: cannot find 'ENETDOWN' in scope
205 |
206 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:207:35: error: cannot find 'ENETUNREACH' in scope
205 |
206 | @_alwaysEmitIntoClient
207 | internal var _ENETUNREACH: CInt { ENETUNREACH }
    |                                   `- error: cannot find 'ENETUNREACH' in scope
208 |
209 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:210:33: error: cannot find 'ENETRESET' in scope
208 |
209 | @_alwaysEmitIntoClient
210 | internal var _ENETRESET: CInt { ENETRESET }
    |                                 `- error: cannot find 'ENETRESET' in scope
211 |
212 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:213:36: error: cannot find 'ECONNABORTED' in scope
211 |
212 | @_alwaysEmitIntoClient
213 | internal var _ECONNABORTED: CInt { ECONNABORTED }
    |                                    `- error: cannot find 'ECONNABORTED' in scope
214 |
215 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:216:34: error: cannot find 'ECONNRESET' in scope
214 |
215 | @_alwaysEmitIntoClient
216 | internal var _ECONNRESET: CInt { ECONNRESET }
    |                                  `- error: cannot find 'ECONNRESET' in scope
217 |
218 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:219:31: error: cannot find 'ENOBUFS' in scope
217 |
218 | @_alwaysEmitIntoClient
219 | internal var _ENOBUFS: CInt { ENOBUFS }
    |                               `- error: cannot find 'ENOBUFS' in scope
220 |
221 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:222:31: error: cannot find 'EISCONN' in scope
220 |
221 | @_alwaysEmitIntoClient
222 | internal var _EISCONN: CInt { EISCONN }
    |                               `- error: cannot find 'EISCONN' in scope
223 |
224 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:225:32: error: cannot find 'ENOTCONN' in scope
223 |
224 | @_alwaysEmitIntoClient
225 | internal var _ENOTCONN: CInt { ENOTCONN }
    |                                `- error: cannot find 'ENOTCONN' in scope
226 |
227 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:232:10: error: cannot find 'ESHUTDOWN' in scope
230 |   return WSAESHUTDOWN
231 | #else
232 |   return ESHUTDOWN
    |          `- error: cannot find 'ESHUTDOWN' in scope
233 | #endif
234 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:241:10: error: cannot find 'ETOOMANYREFS' in scope
239 |   return WSAETOOMANYREFS
240 | #else
241 |   return ETOOMANYREFS
    |          `- error: cannot find 'ETOOMANYREFS' in scope
242 | #endif
243 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:246:33: error: cannot find 'ETIMEDOUT' in scope
244 |
245 | @_alwaysEmitIntoClient
246 | internal var _ETIMEDOUT: CInt { ETIMEDOUT }
    |                                 `- error: cannot find 'ETIMEDOUT' in scope
247 |
248 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:249:36: error: cannot find 'ECONNREFUSED' in scope
247 |
248 | @_alwaysEmitIntoClient
249 | internal var _ECONNREFUSED: CInt { ECONNREFUSED }
    |                                    `- error: cannot find 'ECONNREFUSED' in scope
250 |
251 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:252:29: error: cannot find 'ELOOP' in scope
250 |
251 | @_alwaysEmitIntoClient
252 | internal var _ELOOP: CInt { ELOOP }
    |                             `- error: cannot find 'ELOOP' in scope
253 |
254 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:255:36: error: cannot find 'ENAMETOOLONG' in scope
253 |
254 | @_alwaysEmitIntoClient
255 | internal var _ENAMETOOLONG: CInt { ENAMETOOLONG }
    |                                    `- error: cannot find 'ENAMETOOLONG' in scope
256 |
257 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:262:10: error: cannot find 'EHOSTDOWN' in scope
260 |   return WSAEHOSTDOWN
261 | #else
262 |   return EHOSTDOWN
    |          `- error: cannot find 'EHOSTDOWN' in scope
263 | #endif
264 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:267:36: error: cannot find 'EHOSTUNREACH' in scope
265 |
266 | @_alwaysEmitIntoClient
267 | internal var _EHOSTUNREACH: CInt { EHOSTUNREACH }
    |                                    `- error: cannot find 'EHOSTUNREACH' in scope
268 |
269 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:270:33: error: cannot find 'ENOTEMPTY' in scope
268 |
269 | @_alwaysEmitIntoClient
270 | internal var _ENOTEMPTY: CInt { ENOTEMPTY }
    |                                 `- error: cannot find 'ENOTEMPTY' in scope
271 |
272 | #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:282:10: error: cannot find 'EUSERS' in scope
280 |   return WSAEUSERS
281 | #else
282 |   return EUSERS
    |          `- error: cannot find 'EUSERS' in scope
283 | #endif
284 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:291:10: error: cannot find 'EDQUOT' in scope
289 |   return WSAEDQUOT
290 | #else
291 |   return EDQUOT
    |          `- error: cannot find 'EDQUOT' in scope
292 | #endif
293 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:300:10: error: cannot find 'ESTALE' in scope
298 |   return WSAESTALE
299 | #else
300 |   return ESTALE
    |          `- error: cannot find 'ESTALE' in scope
301 | #endif
302 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:309:10: error: cannot find 'EREMOTE' in scope
307 |   return WSAEREMOTE
308 | #else
309 |   return EREMOTE
    |          `- error: cannot find 'EREMOTE' in scope
310 | #endif
311 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:331:30: error: cannot find 'ENOLCK' in scope
329 |
330 | @_alwaysEmitIntoClient
331 | internal var _ENOLCK: CInt { ENOLCK }
    |                              `- error: cannot find 'ENOLCK' in scope
332 |
333 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:334:30: error: cannot find 'ENOSYS' in scope
332 |
333 | @_alwaysEmitIntoClient
334 | internal var _ENOSYS: CInt { ENOSYS }
    |                              `- error: cannot find 'ENOSYS' in scope
335 |
336 | #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:355:33: error: cannot find 'EOVERFLOW' in scope
353 | #if !os(Windows)
354 | @_alwaysEmitIntoClient
355 | internal var _EOVERFLOW: CInt { EOVERFLOW }
    |                                 `- error: cannot find 'EOVERFLOW' in scope
356 | #endif
357 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:373:33: error: cannot find 'ECANCELED' in scope
371 |
372 | @_alwaysEmitIntoClient
373 | internal var _ECANCELED: CInt { ECANCELED }
    |                                 `- error: cannot find 'ECANCELED' in scope
374 |
375 | #if !os(Windows)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:377:29: error: cannot find 'EIDRM' in scope
375 | #if !os(Windows)
376 | @_alwaysEmitIntoClient
377 | internal var _EIDRM: CInt { EIDRM }
    |                             `- error: cannot find 'EIDRM' in scope
378 |
379 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:380:30: error: cannot find 'ENOMSG' in scope
378 |
379 | @_alwaysEmitIntoClient
380 | internal var _ENOMSG: CInt { ENOMSG }
    |                              `- error: cannot find 'ENOMSG' in scope
381 | #endif
382 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:384:30: error: cannot find 'EILSEQ' in scope
382 |
383 | @_alwaysEmitIntoClient
384 | internal var _EILSEQ: CInt { EILSEQ }
    |                              `- error: cannot find 'EILSEQ' in scope
385 |
386 | #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:393:31: error: cannot find 'EBADMSG' in scope
391 | #if !os(Windows)
392 | @_alwaysEmitIntoClient
393 | internal var _EBADMSG: CInt { EBADMSG }
    |                               `- error: cannot find 'EBADMSG' in scope
394 |
395 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:396:33: error: cannot find 'EMULTIHOP' in scope
394 |
395 | @_alwaysEmitIntoClient
396 | internal var _EMULTIHOP: CInt { EMULTIHOP }
    |                                 `- error: cannot find 'EMULTIHOP' in scope
397 |
398 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:399:31: error: cannot find 'ENODATA' in scope
397 |
398 | @_alwaysEmitIntoClient
399 | internal var _ENODATA: CInt { ENODATA }
    |                               `- error: cannot find 'ENODATA' in scope
400 |
401 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:402:31: error: cannot find 'ENOLINK' in scope
400 |
401 | @_alwaysEmitIntoClient
402 | internal var _ENOLINK: CInt { ENOLINK }
    |                               `- error: cannot find 'ENOLINK' in scope
403 |
404 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:405:29: error: cannot find 'ENOSR' in scope
403 |
404 | @_alwaysEmitIntoClient
405 | internal var _ENOSR: CInt { ENOSR }
    |                             `- error: cannot find 'ENOSR' in scope
406 |
407 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:408:30: error: cannot find 'ENOSTR' in scope
406 |
407 | @_alwaysEmitIntoClient
408 | internal var _ENOSTR: CInt { ENOSTR }
    |                              `- error: cannot find 'ENOSTR' in scope
409 |
410 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:411:30: error: cannot find 'EPROTO' in scope
409 |
410 | @_alwaysEmitIntoClient
411 | internal var _EPROTO: CInt { EPROTO }
    |                              `- error: cannot find 'EPROTO' in scope
412 |
413 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:414:29: error: cannot find 'ETIME' in scope
412 |
413 | @_alwaysEmitIntoClient
414 | internal var _ETIME: CInt { ETIME }
    |                             `- error: cannot find 'ETIME' in scope
415 | #endif
416 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:418:34: error: cannot find 'EOPNOTSUPP' in scope
416 |
417 | @_alwaysEmitIntoClient
418 | internal var _EOPNOTSUPP: CInt { EOPNOTSUPP }
    |                                  `- error: cannot find 'EOPNOTSUPP' in scope
419 |
420 | #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:427:39: error: cannot find 'ENOTRECOVERABLE' in scope
425 | #if !os(Windows)
426 | @_alwaysEmitIntoClient
427 | internal var _ENOTRECOVERABLE: CInt { ENOTRECOVERABLE }
    |                                       `- error: cannot find 'ENOTRECOVERABLE' in scope
428 |
429 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:430:34: error: cannot find 'EOWNERDEAD' in scope
428 |
429 | @_alwaysEmitIntoClient
430 | internal var _EOWNERDEAD: CInt { EOWNERDEAD }
    |                                  `- error: cannot find 'EOWNERDEAD' in scope
431 | #endif
432 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:444:32: error: cannot find 'O_RDONLY' in scope
442 |
443 | @_alwaysEmitIntoClient
444 | internal var _O_RDONLY: CInt { O_RDONLY }
    |                                `- error: cannot find 'O_RDONLY' in scope
445 |
446 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:447:32: error: cannot find 'O_WRONLY' in scope
445 |
446 | @_alwaysEmitIntoClient
447 | internal var _O_WRONLY: CInt { O_WRONLY }
    |                                `- error: cannot find 'O_WRONLY' in scope
448 |
449 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:450:30: error: cannot find 'O_RDWR' in scope
448 |
449 | @_alwaysEmitIntoClient
450 | internal var _O_RDWR: CInt { O_RDWR }
    |                              `- error: cannot find 'O_RDWR' in scope
451 |
452 | #if !os(Windows)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:455:33: error: cannot find 'O_ACCMODE' in scope
453 | // TODO: API?
454 | @_alwaysEmitIntoClient
455 | internal var _O_ACCMODE: CInt { O_ACCMODE }
    |                                 `- error: cannot find 'O_ACCMODE' in scope
456 |
457 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:458:34: error: cannot find 'O_NONBLOCK' in scope
456 |
457 | @_alwaysEmitIntoClient
458 | internal var _O_NONBLOCK: CInt { O_NONBLOCK }
    |                                  `- error: cannot find 'O_NONBLOCK' in scope
459 | #endif
460 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:462:32: error: cannot find 'O_APPEND' in scope
460 |
461 | @_alwaysEmitIntoClient
462 | internal var _O_APPEND: CInt { O_APPEND }
    |                                `- error: cannot find 'O_APPEND' in scope
463 |
464 | #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:475:31: error: cannot find 'O_ASYNC' in scope
473 | // TODO: API?
474 | @_alwaysEmitIntoClient
475 | internal var _O_ASYNC: CInt { O_ASYNC }
    |                               `- error: cannot find 'O_ASYNC' in scope
476 |
477 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:478:34: error: cannot find 'O_NOFOLLOW' in scope
476 |
477 | @_alwaysEmitIntoClient
478 | internal var _O_NOFOLLOW: CInt { O_NOFOLLOW }
    |                                  `- error: cannot find 'O_NOFOLLOW' in scope
479 | #endif
480 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:482:31: error: cannot find 'O_CREAT' in scope
480 |
481 | @_alwaysEmitIntoClient
482 | internal var _O_CREAT: CInt { O_CREAT }
    |                               `- error: cannot find 'O_CREAT' in scope
483 |
484 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:485:31: error: cannot find 'O_TRUNC' in scope
483 |
484 | @_alwaysEmitIntoClient
485 | internal var _O_TRUNC: CInt { O_TRUNC }
    |                               `- error: cannot find 'O_TRUNC' in scope
486 |
487 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:488:30: error: cannot find 'O_EXCL' in scope
486 |
487 | @_alwaysEmitIntoClient
488 | internal var _O_EXCL: CInt { O_EXCL }
    |                              `- error: cannot find 'O_EXCL' in scope
489 |
490 | #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:498:32: error: cannot find 'O_NOCTTY' in scope
496 | // TODO: API?
497 | @_alwaysEmitIntoClient
498 | internal var _O_NOCTTY: CInt { O_NOCTTY }
    |                                `- error: cannot find 'O_NOCTTY' in scope
499 |
500 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:501:35: error: cannot find 'O_DIRECTORY' in scope
499 |
500 | @_alwaysEmitIntoClient
501 | internal var _O_DIRECTORY: CInt { O_DIRECTORY }
    |                                   `- error: cannot find 'O_DIRECTORY' in scope
502 | #endif
503 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:511:33: error: cannot find 'O_CLOEXEC' in scope
509 | #if !os(Windows)
510 | @_alwaysEmitIntoClient
511 | internal var _O_CLOEXEC: CInt { O_CLOEXEC }
    |                                 `- error: cannot find 'O_CLOEXEC' in scope
512 | #endif
513 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:515:32: error: cannot find 'SEEK_SET' in scope
513 |
514 | @_alwaysEmitIntoClient
515 | internal var _SEEK_SET: CInt { SEEK_SET }
    |                                `- error: cannot find 'SEEK_SET' in scope
516 |
517 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:518:32: error: cannot find 'SEEK_CUR' in scope
516 |
517 | @_alwaysEmitIntoClient
518 | internal var _SEEK_CUR: CInt { SEEK_CUR }
    |                                `- error: cannot find 'SEEK_CUR' in scope
519 |
520 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:521:32: error: cannot find 'SEEK_END' in scope
519 |
520 | @_alwaysEmitIntoClient
521 | internal var _SEEK_END: CInt { SEEK_END }
    |                                `- error: cannot find 'SEEK_END' in scope
522 |
523 | #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Exports.swift:24:8: error: Unsupported Platform
 22 | import ucrt
 23 | #else
 24 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 25 | #endif
 26 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Exports.swift:27:29: error: cannot find type 'off_t' in scope
 25 | #endif
 26 |
 27 | internal typealias _COffT = off_t
    |                             `- error: cannot find type 'off_t' in scope
 28 |
 29 | // MARK: syscalls and variables
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Exports.swift:132:38: error: cannot find type 'pthread_key_t' in scope
130 | internal typealias _PlatformTLSKey = DWORD
131 | #else
132 | internal typealias _PlatformTLSKey = pthread_key_t
    |                                      `- error: cannot find type 'pthread_key_t' in scope
133 | #endif
134 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:17:8: error: Unsupported Platform
 15 | import ucrt
 16 | #else
 17 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 18 | #endif
 19 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:67:73: error: cannot find type 'off_t' in scope
 65 | // pread
 66 | internal func system_pread(
 67 |   _ fd: Int32, _ buf: UnsafeMutableRawPointer!, _ nbyte: Int, _ offset: off_t
    |                                                                         `- error: cannot find type 'off_t' in scope
 68 | ) -> Int {
 69 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:78:6: error: cannot find type 'off_t' in scope
 76 | internal func system_lseek(
 77 |   _ fd: Int32, _ off: off_t, _ whence: Int32
 78 | ) -> off_t {
    |      `- error: cannot find type 'off_t' in scope
 79 | #if ENABLE_MOCKING
 80 |   if mockingEnabled { return _mockOffT(fd, off, whence) }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:77:23: error: cannot find type 'off_t' in scope
 75 | // lseek
 76 | internal func system_lseek(
 77 |   _ fd: Int32, _ off: off_t, _ whence: Int32
    |                       `- error: cannot find type 'off_t' in scope
 78 | ) -> off_t {
 79 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:97:66: error: cannot find type 'off_t' in scope
 95 | // pwrite
 96 | internal func system_pwrite(
 97 |   _ fd: Int32, _ buf: UnsafeRawPointer!, _ nbyte: Int, _ offset: off_t
    |                                                                  `- error: cannot find type 'off_t' in scope
 98 | ) -> Int {
 99 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:129:55: error: cannot find type 'off_t' in scope
127 |
128 | #if !os(Windows)
129 | internal func system_ftruncate(_ fd: Int32, _ length: off_t) -> Int32 {
    |                                                       `- error: cannot find type 'off_t' in scope
130 | #if ENABLE_MOCKING
131 |   if mockingEnabled { return _mock(fd, length) }
[43/108] Compiling WIT ParseWorld.swift
[44/108] Compiling WIT Parser.swift
[45/108] Compiling SystemPackage Mocking.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Exports.swift:132:38: error: cannot find type 'pthread_key_t' in scope
130 | internal typealias _PlatformTLSKey = DWORD
131 | #else
132 | internal typealias _PlatformTLSKey = pthread_key_t
    |                                      `- error: cannot find type 'pthread_key_t' in scope
133 | #endif
134 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Exports.swift:27:29: error: cannot find type 'off_t' in scope
 25 | #endif
 26 |
 27 | internal typealias _COffT = off_t
    |                             `- error: cannot find type 'off_t' in scope
 28 |
 29 | // MARK: syscalls and variables
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Mocking.swift:93:27: error: 'nil' requires a contextual type
 91 |         setTLS(driverKey, Unmanaged.passUnretained(object).toOpaque())
 92 |       } else {
 93 |         setTLS(driverKey, nil)
    |                           `- error: 'nil' requires a contextual type
 94 |       }
 95 |       _fixLifetime(driver)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:17:8: error: Unsupported Platform
 15 | import ucrt
 16 | #else
 17 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 18 | #endif
 19 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:35:27: error: cannot find type 'mode_t' in scope
33 |   public typealias Mode = CInt
34 | #else
35 |   public typealias Mode = mode_t
   |                           `- error: cannot find type 'mode_t' in scope
36 | #endif
37 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:67:73: error: cannot find type 'off_t' in scope
 65 | // pread
 66 | internal func system_pread(
 67 |   _ fd: Int32, _ buf: UnsafeMutableRawPointer!, _ nbyte: Int, _ offset: off_t
    |                                                                         `- error: cannot find type 'off_t' in scope
 68 | ) -> Int {
 69 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:78:6: error: cannot find type 'off_t' in scope
 76 | internal func system_lseek(
 77 |   _ fd: Int32, _ off: off_t, _ whence: Int32
 78 | ) -> off_t {
    |      `- error: cannot find type 'off_t' in scope
 79 | #if ENABLE_MOCKING
 80 |   if mockingEnabled { return _mockOffT(fd, off, whence) }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:77:23: error: cannot find type 'off_t' in scope
 75 | // lseek
 76 | internal func system_lseek(
 77 |   _ fd: Int32, _ off: off_t, _ whence: Int32
    |                       `- error: cannot find type 'off_t' in scope
 78 | ) -> off_t {
 79 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:97:66: error: cannot find type 'off_t' in scope
 95 | // pwrite
 96 | internal func system_pwrite(
 97 |   _ fd: Int32, _ buf: UnsafeRawPointer!, _ nbyte: Int, _ offset: off_t
    |                                                                  `- error: cannot find type 'off_t' in scope
 98 | ) -> Int {
 99 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:129:55: error: cannot find type 'off_t' in scope
127 |
128 | #if !os(Windows)
129 | internal func system_ftruncate(_ fd: Int32, _ length: off_t) -> Int32 {
    |                                                       `- error: cannot find type 'off_t' in scope
130 | #if ENABLE_MOCKING
131 |   if mockingEnabled { return _mock(fd, length) }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:32:10: error: cannot find 'open' in scope
 30 |   }
 31 | #endif
 32 |   return open(path, oflag)
    |          `- error: cannot find 'open' in scope
 33 | }
 34 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:44:10: error: cannot find 'open' in scope
 42 |   }
 43 | #endif
 44 |   return open(path, oflag, mode)
    |          `- error: cannot find 'open' in scope
 45 | }
 46 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:52:10: error: cannot find 'close' in scope
 50 |   if mockingEnabled { return _mock(fd) }
 51 | #endif
 52 |   return close(fd)
    |          `- error: cannot find 'close' in scope
 53 | }
 54 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:62:10: error: cannot find 'read' in scope
 60 |   if mockingEnabled { return _mockInt(fd, buf, nbyte) }
 61 | #endif
 62 |   return read(fd, buf, nbyte)
    |          `- error: cannot find 'read' in scope
 63 | }
 64 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:72:10: error: cannot find 'pread' in scope
 70 |   if mockingEnabled { return _mockInt(fd, buf, nbyte, offset) }
 71 | #endif
 72 |   return pread(fd, buf, nbyte, offset)
    |          `- error: cannot find 'pread' in scope
 73 | }
 74 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:92:10: error: cannot find 'write' in scope
 90 |   if mockingEnabled { return _mockInt(fd, buf, nbyte) }
 91 | #endif
 92 |   return write(fd, buf, nbyte)
    |          `- error: cannot find 'write' in scope
 93 | }
 94 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:102:10: error: cannot find 'pwrite' in scope
100 |   if mockingEnabled { return _mockInt(fd, buf, nbyte, offset) }
101 | #endif
102 |   return pwrite(fd, buf, nbyte, offset)
    |          `- error: cannot find 'pwrite' in scope
103 | }
104 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:109:10: error: cannot find 'dup' in scope
107 |   if mockingEnabled { return _mock(fd) }
108 |   #endif
109 |   return dup(fd)
    |          `- error: cannot find 'dup' in scope
110 | }
111 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:116:10: error: cannot find 'dup2' in scope
114 |   if mockingEnabled { return _mock(fd, fd2) }
115 |   #endif
116 |   return dup2(fd, fd2)
    |          `- error: cannot find 'dup2' in scope
117 | }
118 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:124:10: error: cannot find 'pipe' in scope
122 |   if mockingEnabled { return _mock(fds) }
123 | #endif
124 |   return pipe(fds)
    |          `- error: cannot find 'pipe' in scope
125 | }
126 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:133:10: error: cannot find 'ftruncate' in scope
131 |   if mockingEnabled { return _mock(fd, length) }
132 | #endif
133 |   return ftruncate(fd, length)
    |          `- error: cannot find 'ftruncate' in scope
134 | }
135 | #endif
[46/108] Compiling SystemPackage Syscalls.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Exports.swift:132:38: error: cannot find type 'pthread_key_t' in scope
130 | internal typealias _PlatformTLSKey = DWORD
131 | #else
132 | internal typealias _PlatformTLSKey = pthread_key_t
    |                                      `- error: cannot find type 'pthread_key_t' in scope
133 | #endif
134 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Exports.swift:27:29: error: cannot find type 'off_t' in scope
 25 | #endif
 26 |
 27 | internal typealias _COffT = off_t
    |                             `- error: cannot find type 'off_t' in scope
 28 |
 29 | // MARK: syscalls and variables
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Mocking.swift:93:27: error: 'nil' requires a contextual type
 91 |         setTLS(driverKey, Unmanaged.passUnretained(object).toOpaque())
 92 |       } else {
 93 |         setTLS(driverKey, nil)
    |                           `- error: 'nil' requires a contextual type
 94 |       }
 95 |       _fixLifetime(driver)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:17:8: error: Unsupported Platform
 15 | import ucrt
 16 | #else
 17 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 18 | #endif
 19 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:35:27: error: cannot find type 'mode_t' in scope
33 |   public typealias Mode = CInt
34 | #else
35 |   public typealias Mode = mode_t
   |                           `- error: cannot find type 'mode_t' in scope
36 | #endif
37 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:67:73: error: cannot find type 'off_t' in scope
 65 | // pread
 66 | internal func system_pread(
 67 |   _ fd: Int32, _ buf: UnsafeMutableRawPointer!, _ nbyte: Int, _ offset: off_t
    |                                                                         `- error: cannot find type 'off_t' in scope
 68 | ) -> Int {
 69 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:78:6: error: cannot find type 'off_t' in scope
 76 | internal func system_lseek(
 77 |   _ fd: Int32, _ off: off_t, _ whence: Int32
 78 | ) -> off_t {
    |      `- error: cannot find type 'off_t' in scope
 79 | #if ENABLE_MOCKING
 80 |   if mockingEnabled { return _mockOffT(fd, off, whence) }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:77:23: error: cannot find type 'off_t' in scope
 75 | // lseek
 76 | internal func system_lseek(
 77 |   _ fd: Int32, _ off: off_t, _ whence: Int32
    |                       `- error: cannot find type 'off_t' in scope
 78 | ) -> off_t {
 79 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:97:66: error: cannot find type 'off_t' in scope
 95 | // pwrite
 96 | internal func system_pwrite(
 97 |   _ fd: Int32, _ buf: UnsafeRawPointer!, _ nbyte: Int, _ offset: off_t
    |                                                                  `- error: cannot find type 'off_t' in scope
 98 | ) -> Int {
 99 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:129:55: error: cannot find type 'off_t' in scope
127 |
128 | #if !os(Windows)
129 | internal func system_ftruncate(_ fd: Int32, _ length: off_t) -> Int32 {
    |                                                       `- error: cannot find type 'off_t' in scope
130 | #if ENABLE_MOCKING
131 |   if mockingEnabled { return _mock(fd, length) }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:32:10: error: cannot find 'open' in scope
 30 |   }
 31 | #endif
 32 |   return open(path, oflag)
    |          `- error: cannot find 'open' in scope
 33 | }
 34 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:44:10: error: cannot find 'open' in scope
 42 |   }
 43 | #endif
 44 |   return open(path, oflag, mode)
    |          `- error: cannot find 'open' in scope
 45 | }
 46 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:52:10: error: cannot find 'close' in scope
 50 |   if mockingEnabled { return _mock(fd) }
 51 | #endif
 52 |   return close(fd)
    |          `- error: cannot find 'close' in scope
 53 | }
 54 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:62:10: error: cannot find 'read' in scope
 60 |   if mockingEnabled { return _mockInt(fd, buf, nbyte) }
 61 | #endif
 62 |   return read(fd, buf, nbyte)
    |          `- error: cannot find 'read' in scope
 63 | }
 64 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:72:10: error: cannot find 'pread' in scope
 70 |   if mockingEnabled { return _mockInt(fd, buf, nbyte, offset) }
 71 | #endif
 72 |   return pread(fd, buf, nbyte, offset)
    |          `- error: cannot find 'pread' in scope
 73 | }
 74 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:92:10: error: cannot find 'write' in scope
 90 |   if mockingEnabled { return _mockInt(fd, buf, nbyte) }
 91 | #endif
 92 |   return write(fd, buf, nbyte)
    |          `- error: cannot find 'write' in scope
 93 | }
 94 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:102:10: error: cannot find 'pwrite' in scope
100 |   if mockingEnabled { return _mockInt(fd, buf, nbyte, offset) }
101 | #endif
102 |   return pwrite(fd, buf, nbyte, offset)
    |          `- error: cannot find 'pwrite' in scope
103 | }
104 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:109:10: error: cannot find 'dup' in scope
107 |   if mockingEnabled { return _mock(fd) }
108 |   #endif
109 |   return dup(fd)
    |          `- error: cannot find 'dup' in scope
110 | }
111 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:116:10: error: cannot find 'dup2' in scope
114 |   if mockingEnabled { return _mock(fd, fd2) }
115 |   #endif
116 |   return dup2(fd, fd2)
    |          `- error: cannot find 'dup2' in scope
117 | }
118 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:124:10: error: cannot find 'pipe' in scope
122 |   if mockingEnabled { return _mock(fds) }
123 | #endif
124 |   return pipe(fds)
    |          `- error: cannot find 'pipe' in scope
125 | }
126 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:133:10: error: cannot find 'ftruncate' in scope
131 |   if mockingEnabled { return _mock(fd, length) }
132 | #endif
133 |   return ftruncate(fd, length)
    |          `- error: cannot find 'ftruncate' in scope
134 | }
135 | #endif
[47/108] Compiling SystemPackage WindowsSyscallAdapters.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Exports.swift:132:38: error: cannot find type 'pthread_key_t' in scope
130 | internal typealias _PlatformTLSKey = DWORD
131 | #else
132 | internal typealias _PlatformTLSKey = pthread_key_t
    |                                      `- error: cannot find type 'pthread_key_t' in scope
133 | #endif
134 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Exports.swift:27:29: error: cannot find type 'off_t' in scope
 25 | #endif
 26 |
 27 | internal typealias _COffT = off_t
    |                             `- error: cannot find type 'off_t' in scope
 28 |
 29 | // MARK: syscalls and variables
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Mocking.swift:93:27: error: 'nil' requires a contextual type
 91 |         setTLS(driverKey, Unmanaged.passUnretained(object).toOpaque())
 92 |       } else {
 93 |         setTLS(driverKey, nil)
    |                           `- error: 'nil' requires a contextual type
 94 |       }
 95 |       _fixLifetime(driver)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:17:8: error: Unsupported Platform
 15 | import ucrt
 16 | #else
 17 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 18 | #endif
 19 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:35:27: error: cannot find type 'mode_t' in scope
33 |   public typealias Mode = CInt
34 | #else
35 |   public typealias Mode = mode_t
   |                           `- error: cannot find type 'mode_t' in scope
36 | #endif
37 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:67:73: error: cannot find type 'off_t' in scope
 65 | // pread
 66 | internal func system_pread(
 67 |   _ fd: Int32, _ buf: UnsafeMutableRawPointer!, _ nbyte: Int, _ offset: off_t
    |                                                                         `- error: cannot find type 'off_t' in scope
 68 | ) -> Int {
 69 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:78:6: error: cannot find type 'off_t' in scope
 76 | internal func system_lseek(
 77 |   _ fd: Int32, _ off: off_t, _ whence: Int32
 78 | ) -> off_t {
    |      `- error: cannot find type 'off_t' in scope
 79 | #if ENABLE_MOCKING
 80 |   if mockingEnabled { return _mockOffT(fd, off, whence) }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:77:23: error: cannot find type 'off_t' in scope
 75 | // lseek
 76 | internal func system_lseek(
 77 |   _ fd: Int32, _ off: off_t, _ whence: Int32
    |                       `- error: cannot find type 'off_t' in scope
 78 | ) -> off_t {
 79 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:97:66: error: cannot find type 'off_t' in scope
 95 | // pwrite
 96 | internal func system_pwrite(
 97 |   _ fd: Int32, _ buf: UnsafeRawPointer!, _ nbyte: Int, _ offset: off_t
    |                                                                  `- error: cannot find type 'off_t' in scope
 98 | ) -> Int {
 99 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:129:55: error: cannot find type 'off_t' in scope
127 |
128 | #if !os(Windows)
129 | internal func system_ftruncate(_ fd: Int32, _ length: off_t) -> Int32 {
    |                                                       `- error: cannot find type 'off_t' in scope
130 | #if ENABLE_MOCKING
131 |   if mockingEnabled { return _mock(fd, length) }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:32:10: error: cannot find 'open' in scope
 30 |   }
 31 | #endif
 32 |   return open(path, oflag)
    |          `- error: cannot find 'open' in scope
 33 | }
 34 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:44:10: error: cannot find 'open' in scope
 42 |   }
 43 | #endif
 44 |   return open(path, oflag, mode)
    |          `- error: cannot find 'open' in scope
 45 | }
 46 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:52:10: error: cannot find 'close' in scope
 50 |   if mockingEnabled { return _mock(fd) }
 51 | #endif
 52 |   return close(fd)
    |          `- error: cannot find 'close' in scope
 53 | }
 54 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:62:10: error: cannot find 'read' in scope
 60 |   if mockingEnabled { return _mockInt(fd, buf, nbyte) }
 61 | #endif
 62 |   return read(fd, buf, nbyte)
    |          `- error: cannot find 'read' in scope
 63 | }
 64 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:72:10: error: cannot find 'pread' in scope
 70 |   if mockingEnabled { return _mockInt(fd, buf, nbyte, offset) }
 71 | #endif
 72 |   return pread(fd, buf, nbyte, offset)
    |          `- error: cannot find 'pread' in scope
 73 | }
 74 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:92:10: error: cannot find 'write' in scope
 90 |   if mockingEnabled { return _mockInt(fd, buf, nbyte) }
 91 | #endif
 92 |   return write(fd, buf, nbyte)
    |          `- error: cannot find 'write' in scope
 93 | }
 94 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:102:10: error: cannot find 'pwrite' in scope
100 |   if mockingEnabled { return _mockInt(fd, buf, nbyte, offset) }
101 | #endif
102 |   return pwrite(fd, buf, nbyte, offset)
    |          `- error: cannot find 'pwrite' in scope
103 | }
104 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:109:10: error: cannot find 'dup' in scope
107 |   if mockingEnabled { return _mock(fd) }
108 |   #endif
109 |   return dup(fd)
    |          `- error: cannot find 'dup' in scope
110 | }
111 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:116:10: error: cannot find 'dup2' in scope
114 |   if mockingEnabled { return _mock(fd, fd2) }
115 |   #endif
116 |   return dup2(fd, fd2)
    |          `- error: cannot find 'dup2' in scope
117 | }
118 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:124:10: error: cannot find 'pipe' in scope
122 |   if mockingEnabled { return _mock(fds) }
123 | #endif
124 |   return pipe(fds)
    |          `- error: cannot find 'pipe' in scope
125 | }
126 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:133:10: error: cannot find 'ftruncate' in scope
131 |   if mockingEnabled { return _mock(fd, length) }
132 | #endif
133 |   return ftruncate(fd, length)
    |          `- error: cannot find 'ftruncate' in scope
134 | }
135 | #endif
[48/108] Compiling SystemPackage PlatformString.swift
[49/108] Compiling SystemPackage SystemString.swift
[49/108] Wrapping AST for WasmTypes for debugging
[51/113] Emitting module ArgumentParserToolInfo
[52/113] Compiling ArgumentParserToolInfo ToolInfo.swift
[53/113] Emitting module WIT
[56/118] Compiling WasmParser Stream.swift
[60/119] Compiling SystemPackage FileOperations.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:35:27: error: cannot find type 'mode_t' in scope
33 |   public typealias Mode = CInt
34 | #else
35 |   public typealias Mode = mode_t
   |                           `- error: cannot find type 'mode_t' in scope
36 | #endif
37 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileOperations.swift:68:24: error: type 'FilePermissions' does not conform to protocol 'RawRepresentable'
 66 |
 67 |   @usableFromInline
 68 |   internal static func _open(
    |                        `- error: type 'FilePermissions' does not conform to protocol 'RawRepresentable'
 69 |     _ path: UnsafePointer<CInterop.PlatformChar>,
 70 |     _ mode: FileDescriptor.AccessMode,
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileOperations.swift:78:53: error: extra argument in call
 76 |     let descOrError: Result<CInt, Errno> = valueOrErrno(retryOnInterrupt: retryOnInterrupt) {
 77 |       if let permissions = permissions {
 78 |         return system_open(path, oFlag, permissions.rawValue)
    |                                                     `- error: extra argument in call
 79 |       }
 80 |       precondition(!options.contains(.create),
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:78:6: error: cannot find type 'off_t' in scope
 76 | internal func system_lseek(
 77 |   _ fd: Int32, _ off: off_t, _ whence: Int32
 78 | ) -> off_t {
    |      `- error: cannot find type 'off_t' in scope
 79 | #if ENABLE_MOCKING
 80 |   if mockingEnabled { return _mockOffT(fd, off, whence) }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:77:23: error: cannot find type 'off_t' in scope
 75 | // lseek
 76 | internal func system_lseek(
 77 |   _ fd: Int32, _ off: off_t, _ whence: Int32
    |                       `- error: cannot find type 'off_t' in scope
 78 | ) -> off_t {
 79 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Exports.swift:27:29: error: cannot find type 'off_t' in scope
 25 | #endif
 26 |
 27 | internal typealias _COffT = off_t
    |                             `- error: cannot find type 'off_t' in scope
 28 |
 29 | // MARK: syscalls and variables
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:67:73: error: cannot find type 'off_t' in scope
 65 | // pread
 66 | internal func system_pread(
 67 |   _ fd: Int32, _ buf: UnsafeMutableRawPointer!, _ nbyte: Int, _ offset: off_t
    |                                                                         `- error: cannot find type 'off_t' in scope
 68 | ) -> Int {
 69 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:97:66: error: cannot find type 'off_t' in scope
 95 | // pwrite
 96 | internal func system_pwrite(
 97 |   _ fd: Int32, _ buf: UnsafeRawPointer!, _ nbyte: Int, _ offset: off_t
    |                                                                  `- error: cannot find type 'off_t' in scope
 98 | ) -> Int {
 99 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:129:55: error: cannot find type 'off_t' in scope
127 |
128 | #if !os(Windows)
129 | internal func system_ftruncate(_ fd: Int32, _ length: off_t) -> Int32 {
    |                                                       `- error: cannot find type 'off_t' in scope
130 | #if ENABLE_MOCKING
131 |   if mockingEnabled { return _mock(fd, length) }
[61/119] Compiling SystemPackage FilePath.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:35:27: error: cannot find type 'mode_t' in scope
33 |   public typealias Mode = CInt
34 | #else
35 |   public typealias Mode = mode_t
   |                           `- error: cannot find type 'mode_t' in scope
36 | #endif
37 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileOperations.swift:68:24: error: type 'FilePermissions' does not conform to protocol 'RawRepresentable'
 66 |
 67 |   @usableFromInline
 68 |   internal static func _open(
    |                        `- error: type 'FilePermissions' does not conform to protocol 'RawRepresentable'
 69 |     _ path: UnsafePointer<CInterop.PlatformChar>,
 70 |     _ mode: FileDescriptor.AccessMode,
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileOperations.swift:78:53: error: extra argument in call
 76 |     let descOrError: Result<CInt, Errno> = valueOrErrno(retryOnInterrupt: retryOnInterrupt) {
 77 |       if let permissions = permissions {
 78 |         return system_open(path, oFlag, permissions.rawValue)
    |                                                     `- error: extra argument in call
 79 |       }
 80 |       precondition(!options.contains(.create),
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:78:6: error: cannot find type 'off_t' in scope
 76 | internal func system_lseek(
 77 |   _ fd: Int32, _ off: off_t, _ whence: Int32
 78 | ) -> off_t {
    |      `- error: cannot find type 'off_t' in scope
 79 | #if ENABLE_MOCKING
 80 |   if mockingEnabled { return _mockOffT(fd, off, whence) }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:77:23: error: cannot find type 'off_t' in scope
 75 | // lseek
 76 | internal func system_lseek(
 77 |   _ fd: Int32, _ off: off_t, _ whence: Int32
    |                       `- error: cannot find type 'off_t' in scope
 78 | ) -> off_t {
 79 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Exports.swift:27:29: error: cannot find type 'off_t' in scope
 25 | #endif
 26 |
 27 | internal typealias _COffT = off_t
    |                             `- error: cannot find type 'off_t' in scope
 28 |
 29 | // MARK: syscalls and variables
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:67:73: error: cannot find type 'off_t' in scope
 65 | // pread
 66 | internal func system_pread(
 67 |   _ fd: Int32, _ buf: UnsafeMutableRawPointer!, _ nbyte: Int, _ offset: off_t
    |                                                                         `- error: cannot find type 'off_t' in scope
 68 | ) -> Int {
 69 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:97:66: error: cannot find type 'off_t' in scope
 95 | // pwrite
 96 | internal func system_pwrite(
 97 |   _ fd: Int32, _ buf: UnsafeRawPointer!, _ nbyte: Int, _ offset: off_t
    |                                                                  `- error: cannot find type 'off_t' in scope
 98 | ) -> Int {
 99 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:129:55: error: cannot find type 'off_t' in scope
127 |
128 | #if !os(Windows)
129 | internal func system_ftruncate(_ fd: Int32, _ length: off_t) -> Int32 {
    |                                                       `- error: cannot find type 'off_t' in scope
130 | #if ENABLE_MOCKING
131 |   if mockingEnabled { return _mock(fd, length) }
[62/119] Compiling SystemPackage FilePathComponentView.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:35:27: error: cannot find type 'mode_t' in scope
33 |   public typealias Mode = CInt
34 | #else
35 |   public typealias Mode = mode_t
   |                           `- error: cannot find type 'mode_t' in scope
36 | #endif
37 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileOperations.swift:68:24: error: type 'FilePermissions' does not conform to protocol 'RawRepresentable'
 66 |
 67 |   @usableFromInline
 68 |   internal static func _open(
    |                        `- error: type 'FilePermissions' does not conform to protocol 'RawRepresentable'
 69 |     _ path: UnsafePointer<CInterop.PlatformChar>,
 70 |     _ mode: FileDescriptor.AccessMode,
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileOperations.swift:78:53: error: extra argument in call
 76 |     let descOrError: Result<CInt, Errno> = valueOrErrno(retryOnInterrupt: retryOnInterrupt) {
 77 |       if let permissions = permissions {
 78 |         return system_open(path, oFlag, permissions.rawValue)
    |                                                     `- error: extra argument in call
 79 |       }
 80 |       precondition(!options.contains(.create),
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:78:6: error: cannot find type 'off_t' in scope
 76 | internal func system_lseek(
 77 |   _ fd: Int32, _ off: off_t, _ whence: Int32
 78 | ) -> off_t {
    |      `- error: cannot find type 'off_t' in scope
 79 | #if ENABLE_MOCKING
 80 |   if mockingEnabled { return _mockOffT(fd, off, whence) }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:77:23: error: cannot find type 'off_t' in scope
 75 | // lseek
 76 | internal func system_lseek(
 77 |   _ fd: Int32, _ off: off_t, _ whence: Int32
    |                       `- error: cannot find type 'off_t' in scope
 78 | ) -> off_t {
 79 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Exports.swift:27:29: error: cannot find type 'off_t' in scope
 25 | #endif
 26 |
 27 | internal typealias _COffT = off_t
    |                             `- error: cannot find type 'off_t' in scope
 28 |
 29 | // MARK: syscalls and variables
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:67:73: error: cannot find type 'off_t' in scope
 65 | // pread
 66 | internal func system_pread(
 67 |   _ fd: Int32, _ buf: UnsafeMutableRawPointer!, _ nbyte: Int, _ offset: off_t
    |                                                                         `- error: cannot find type 'off_t' in scope
 68 | ) -> Int {
 69 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:97:66: error: cannot find type 'off_t' in scope
 95 | // pwrite
 96 | internal func system_pwrite(
 97 |   _ fd: Int32, _ buf: UnsafeRawPointer!, _ nbyte: Int, _ offset: off_t
    |                                                                  `- error: cannot find type 'off_t' in scope
 98 | ) -> Int {
 99 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:129:55: error: cannot find type 'off_t' in scope
127 |
128 | #if !os(Windows)
129 | internal func system_ftruncate(_ fd: Int32, _ length: off_t) -> Int32 {
    |                                                       `- error: cannot find type 'off_t' in scope
130 | #if ENABLE_MOCKING
131 |   if mockingEnabled { return _mock(fd, length) }
[63/119] Compiling SystemPackage FilePathComponents.swift
[64/119] Compiling SystemPackage FilePathParsing.swift
[65/119] Compiling SystemPackage FilePathString.swift
[66/119] Emitting module ArgumentParser
[66/120] Wrapping AST for ArgumentParserToolInfo for debugging
[68/158] Compiling WITExtractor SourceSummary.swift
[69/158] Emitting module WasmParser
[70/158] Compiling ArgumentParser ArgumentVisibility.swift
[71/158] Compiling ArgumentParser CompletionKind.swift
[72/158] Compiling ArgumentParser Errors.swift
[72/158] Wrapping AST for WIT for debugging
BUILD FAILURE 6.1 wasm