Build Information
Failed to build swift-profile-recorder, reference 0.3.10 (005d4a), with Swift 6.2 for Wasm on 30 Nov 2025 17:27:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-profile-recorder.git
Reference: 0.3.10
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/apple/swift-profile-recorder
* tag 0.3.10 -> FETCH_HEAD
HEAD is now at 005d4a3 ignore threads that have SIGPROF blocked (#46)
Cloned https://github.com/apple/swift-profile-recorder.git
Revision (git rev-parse @):
005d4a34371c7ad8ecf2b1cc00de33bea405f903
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-profile-recorder.git at 0.3.10
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/apple/swift-profile-recorder.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/6326] Fetching swift-nio-extras
[3481/8146] Fetching swift-nio-extras, swift-atomics
[5284/25006] Fetching swift-nio-extras, swift-atomics, swift-argument-parser
[8990/105561] Fetching swift-nio-extras, swift-atomics, swift-argument-parser, swift-nio
[9160/120048] Fetching swift-nio-extras, swift-atomics, swift-argument-parser, swift-nio, async-http-client
Fetched https://github.com/apple/swift-atomics.git from cache (0.86s)
[17103/118228] Fetching swift-nio-extras, swift-argument-parser, swift-nio, async-http-client
Fetching https://github.com/apple/swift-log.git
[42508/123641] Fetching swift-nio-extras, swift-argument-parser, swift-nio, async-http-client, swift-log
[58393/165105] Fetching swift-nio-extras, swift-argument-parser, swift-nio, async-http-client, swift-log, swift-protobuf
Fetched https://github.com/apple/swift-log.git from cache (1.04s)
[56202/159692] Fetching swift-nio-extras, swift-argument-parser, swift-nio, async-http-client, swift-protobuf
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.26s)
[45418/142832] Fetching swift-nio-extras, swift-nio, async-http-client, swift-protobuf
Fetched https://github.com/apple/swift-nio-extras.git from cache (16.01s)
Fetched https://github.com/swift-server/async-http-client.git from cache (16.02s)
Fetched https://github.com/apple/swift-nio.git from cache (16.12s)
Fetched https://github.com/apple/swift-protobuf.git from cache (16.12s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (16.63s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.33.3 (0.66s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.40s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.30.0 (0.50s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/5566] Fetching swift-distributed-tracing
[669/8375] Fetching swift-distributed-tracing, swift-nio-transport-services
[6206/14416] Fetching swift-distributed-tracing, swift-nio-transport-services, swift-algorithms
[6610/26134] Fetching swift-distributed-tracing, swift-nio-transport-services, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.53s)
[11731/23325] Fetching swift-distributed-tracing, swift-algorithms, swift-nio-http2
[11732/38613] Fetching swift-distributed-tracing, swift-algorithms, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-algorithms.git from cache (0.89s)
[11131/32572] Fetching swift-distributed-tracing, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.77s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.78s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.58s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.1 (3.02s)
Fetching https://github.com/apple/swift-service-context.git
[1/1162] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.24s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (0.76s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.47s)
Fetching https://github.com/apple/swift-numerics.git
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.46s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.39.0 (0.91s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (0.47s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.38s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.31.0 (0.51s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
[1/1204] Fetching swift-http-structured-headers
[50/2147] Fetching swift-http-structured-headers, swift-http-types
[1498/4715] Fetching swift-http-structured-headers, swift-http-types, swift-service-lifecycle
[1813/6378] Fetching swift-http-structured-headers, swift-http-types, swift-service-lifecycle, swift-asn1
[3812/12165] Fetching swift-http-structured-headers, swift-http-types, swift-service-lifecycle, swift-asn1, swift-async-algorithms
[6292/19191] Fetching swift-http-structured-headers, swift-http-types, swift-service-lifecycle, swift-asn1, swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.37s)
[12259/17528] Fetching swift-http-structured-headers, swift-http-types, swift-service-lifecycle, swift-async-algorithms, swift-certificates
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.49s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.50s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.58s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.58s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.58s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.9.1 (1.01s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.0 (0.62s)
Fetching https://github.com/apple/swift-collections.git
[1/18314] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.61s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (2.15s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.0 (3.16s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.45s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (0.74s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.16.0 (0.67s)
Fetching https://github.com/apple/swift-crypto.git
[1/17463] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.99s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (3.73s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.90.1 (2.03s)
Fetching https://github.com/apple/swift-system.git
[1/5182] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.20s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (2.42s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (1.34s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (0.46s)
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.31.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.2.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.36.0
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.30.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.39.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.33.3
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.9.1
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.16.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.90.1
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.26.0
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:9:14: warning: associated value 'invalidTarget' of 'Sendable'-conforming enum 'PluginError' has non-Sendable type 'any Target'
7 | enum PluginError: Error, CustomStringConvertible {
8 | /// Indicates that the target where the plugin was applied to was not `SourceModuleTarget`.
9 | case invalidTarget(Target)
| `- warning: associated value 'invalidTarget' of 'Sendable'-conforming enum 'PluginError' has non-Sendable type 'any Target'
10 | /// Indicates that the file extension of an input file was not `.proto`.
11 | case invalidInputFileExtension(String)
PackagePlugin.Target:1:17: note: protocol 'Target' does not conform to the 'Sendable' protocol
1 | public protocol Target {
| `- note: protocol 'Target' does not conform to the 'Sendable' protocol
2 | var id: Self.ID { get }
3 | typealias ID = String
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:2:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'PackagePlugin' as warnings
1 | import Foundation
2 | import PackagePlugin
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'PackagePlugin' as warnings
3 |
4 | @main
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:9:14: warning: associated value 'invalidTarget' of 'Sendable'-conforming enum 'PluginError' has non-Sendable type 'any Target'
7 | enum PluginError: Error, CustomStringConvertible {
8 | /// Indicates that the target where the plugin was applied to was not `SourceModuleTarget`.
9 | case invalidTarget(Target)
| `- warning: associated value 'invalidTarget' of 'Sendable'-conforming enum 'PluginError' has non-Sendable type 'any Target'
10 | /// Indicates that the file extension of an input file was not `.proto`.
11 | case invalidInputFileExtension(String)
PackagePlugin.Target:1:17: note: protocol 'Target' does not conform to the 'Sendable' protocol
1 | public protocol Target {
| `- note: protocol 'Target' does not conform to the 'Sendable' protocol
2 | var id: Self.ID { get }
3 | typealias ID = String
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:2:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'PackagePlugin' as warnings
1 | import Foundation
2 | import PackagePlugin
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'PackagePlugin' as warnings
3 |
4 | @main
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:117:24: warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
115 | let configurationFilePath = sourceFiles.first(
116 | where: {
117 | $0.path.lastComponent == Self.configurationFileName
| |- warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
| `- note: use 'url' instead
118 | }
119 | )?.path
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:117:29: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
115 | let configurationFilePath = sourceFiles.first(
116 | where: {
117 | $0.path.lastComponent == Self.configurationFileName
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
118 | }
119 | )?.path
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:119:16: warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
117 | $0.path.lastComponent == Self.configurationFileName
118 | }
119 | )?.path
| |- warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
| `- note: use 'url' instead
120 | else {
121 | throw PluginError.noConfigFound(Self.configurationFileName)
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:123:64: warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
121 | throw PluginError.noConfigFound(Self.configurationFileName)
122 | }
123 | let data = try Data(contentsOf: URL(fileURLWithPath: "\(configurationFilePath)"))
| `- warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
124 | let configuration = try JSONDecoder().decode(Configuration.self, from: data)
125 | try validateConfiguration(configuration)
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:131:26: warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
129 | if let configuredProtocPath = configuration.protocPath {
130 | // The user set the config path in the file. So let's take that
131 | protocPath = Path(configuredProtocPath)
| `- warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
132 | } else if let environmentPath = ProcessInfo.processInfo.environment["PROTOC_PATH"] {
133 | // The user set the env variable. So let's take that
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:134:26: warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
132 | } else if let environmentPath = ProcessInfo.processInfo.environment["PROTOC_PATH"] {
133 | // The user set the env variable. So let's take that
134 | protocPath = Path(environmentPath)
| `- warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
135 | } else {
136 | // The user didn't set anything so let's try see if SPM can find a binary for us
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:137:45: warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
135 | } else {
136 | // The user didn't set anything so let's try see if SPM can find a binary for us
137 | protocPath = try tool("protoc").path
| |- warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
| `- note: use 'url' instead
138 | }
139 | let protocGenSwiftPath = try tool("protoc-gen-swift").path
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:139:63: warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
137 | protocPath = try tool("protoc").path
138 | }
139 | let protocGenSwiftPath = try tool("protoc-gen-swift").path
| |- warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
| `- note: use 'url' instead
140 |
141 | return configuration.invocations.map { invocation in
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:143:50: warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
141 | return configuration.invocations.map { invocation in
142 | self.invokeProtoc(
143 | directory: configurationFilePath.removingLastComponent(),
| `- warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
144 | invocation: invocation,
145 | protocPath: protocPath,
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:170:41: warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
168 | // Construct the `protoc` arguments.
169 | var protocArgs = [
170 | "--plugin=protoc-gen-swift=\(protocGenSwiftPath)",
| `- warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
171 | "--swift_out=\(outputDirectory)",
172 | ]
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:171:27: warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
169 | var protocArgs = [
170 | "--plugin=protoc-gen-swift=\(protocGenSwiftPath)",
171 | "--swift_out=\(outputDirectory)",
| `- warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
172 | ]
173 |
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:177:29: warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
175 | // the proto files relative to it.
176 | protocArgs.append("-I")
177 | protocArgs.append("\(directory)")
| `- warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
178 |
179 | // Add the visibility if it was set
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:205:41: warning: 'appending' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
203 | // Append the file to the protoc args so that it is used for generating
204 | protocArgs.append("\(file)")
205 | inputFiles.append(directory.appending(file))
| `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
206 |
207 | // The name of the output file is based on the name of the input file.
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:212:54: warning: 'appending' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
210 | file.removeLast(5)
211 | file.append("pb.swift")
212 | let protobufOutputPath = outputDirectory.appending(file)
| `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
213 |
214 | // Add the outputPath as an output file
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:221:24: warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
219 | // system know when to invoke the command. The output paths are passed on to
220 | // the rule engine in the build system.
221 | return Command.buildCommand(
| `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
222 | displayName: "Generating swift files from proto files",
223 | executable: protocPath,
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:251:42: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL' [#DeprecatedDeclaration]
249 | }
250 | return try createBuildCommands(
251 | pluginWorkDirectory: context.pluginWorkDirectory,
| |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL' [#DeprecatedDeclaration]
| `- note: use 'pluginWorkDirectoryURL' instead
252 | sourceFiles: swiftTarget.sourceFiles,
253 | tool: context.tool
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1/1] Compiling plugin SwiftProtobufPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/79] Write sources
[3/79] Copying PrivacyInfo.xcprivacy
[3/79] Write sources
[28/79] Compiling CProfileRecorderSwiftELF empty.c
[29/79] Compiling CNIOWASI CNIOWASI.c
[29/79] Compiling CSystem shims.c
[31/79] Compiling CProfileRecorderDarwin empty.c
[32/79] Compiling CNIOWindows shim.c
[32/79] Compiling CNIOWindows WSAStartup.c
[34/79] Compiling CNIOPosix event_loop_id.c
[34/79] Compiling _AtomicsShims.c
[36/79] Compiling CNIOLinux liburing_shims.c
[37/79] Compiling CNIOLinux shim.c
[38/79] Write sources
[41/79] Compiling CNIODarwin shim.c
[42/79] Write swift-version-24593BA9C3E375BF.txt
[43/79] Compiling CNIOLLHTTP c_nio_http.c
[44/79] Compiling CNIOLLHTTP c_nio_api.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/89] Emitting module Logging
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:42:8: error: Unsupported runtime
40 | import Musl
41 | #else
42 | #error("Unsupported runtime")
| `- error: Unsupported runtime
43 | #endif
44 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:32:8: error: Unsupported runtime
30 | import WASILibc
31 | #else
32 | #error("Unsupported runtime")
| `- error: Unsupported runtime
33 | #endif
34 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1270:16: error: Unsupported runtime
1268 | let systemStderr = WASILibc.stderr!
1269 | #else
1270 | #error("Unsupported runtime")
| `- error: Unsupported runtime
1271 | #endif
1272 | return StdioOutputStream(file: systemStderr, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1290:16: error: Unsupported runtime
1288 | let systemStdout = WASILibc.stdout!
1289 | #else
1290 | #error("Unsupported runtime")
| `- error: Unsupported runtime
1291 | #endif
1292 | return StdioOutputStream(file: systemStdout, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/MetadataProvider.swift:28:8: error: Unsupported runtime
26 | import WASILibc
27 | #else
28 | #error("Unsupported runtime")
| `- error: Unsupported runtime
29 | #endif
30 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:58:49: error: cannot find type 'pthread_mutex_t' in scope
56 | UnsafeMutablePointer.allocate(capacity: 1)
57 | #else
58 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
| `- error: cannot find type 'pthread_mutex_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:161:50: error: cannot find type 'pthread_rwlock_t' in scope
159 | fileprivate var shared: Bool = true
160 | #else
161 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
162 | UnsafeMutablePointer.allocate(capacity: 1)
163 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:69:20: error: cannot find 'pthread_mutexattr_t' in scope
67 | InitializeSRWLock(self.mutex)
68 | #else
69 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
70 | pthread_mutexattr_init(&attr)
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:70:9: error: cannot find 'pthread_mutexattr_init' in scope
68 | #else
69 | var attr = pthread_mutexattr_t()
70 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
72 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:9: error: cannot find 'pthread_mutexattr_settype' in scope
69 | var attr = pthread_mutexattr_t()
70 | pthread_mutexattr_init(&attr)
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
72 |
73 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
69 | var attr = pthread_mutexattr_t()
70 | pthread_mutexattr_init(&attr)
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
72 |
73 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:43: error: cannot infer contextual base in reference to member 'init'
69 | var attr = pthread_mutexattr_t()
70 | pthread_mutexattr_init(&attr)
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot infer contextual base in reference to member 'init'
72 |
73 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:73:19: error: cannot find 'pthread_mutex_init' in scope
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
72 |
73 | let err = pthread_mutex_init(self.mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
74 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
75 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:85:19: error: cannot find 'pthread_mutex_destroy' in scope
83 | self.mutex.deallocate()
84 | #else
85 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
86 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
87 | self.mutex.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:101:19: error: cannot find 'pthread_mutex_lock' in scope
99 | AcquireSRWLockExclusive(self.mutex)
100 | #else
101 | let err = pthread_mutex_lock(self.mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
102 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
103 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:116:19: error: cannot find 'pthread_mutex_unlock' in scope
114 | ReleaseSRWLockExclusive(self.mutex)
115 | #else
116 | let err = pthread_mutex_unlock(self.mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
117 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
118 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:172:19: error: cannot find 'pthread_rwlock_init' in scope
170 | InitializeSRWLock(self.rwlock)
171 | #else
172 | let err = pthread_rwlock_init(self.rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
173 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
174 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:172:52: error: 'nil' requires a contextual type
170 | InitializeSRWLock(self.rwlock)
171 | #else
172 | let err = pthread_rwlock_init(self.rwlock, nil)
| `- error: 'nil' requires a contextual type
173 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
174 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:184:19: error: cannot find 'pthread_rwlock_destroy' in scope
182 | self.rwlock.deallocate()
183 | #else
184 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
185 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
186 | self.rwlock.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:201:19: error: cannot find 'pthread_rwlock_rdlock' in scope
199 | self.shared = true
200 | #else
201 | let err = pthread_rwlock_rdlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
202 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
203 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:217:19: error: cannot find 'pthread_rwlock_wrlock' in scope
215 | self.shared = false
216 | #else
217 | let err = pthread_rwlock_wrlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
218 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
219 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:237:19: error: cannot find 'pthread_rwlock_unlock' in scope
235 | }
236 | #else
237 | let err = pthread_rwlock_unlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
238 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
239 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:847:32: error: 'Codable' is unavailable: unavailable in embedded Swift
845 | /// Log levels are ordered by their severity, with `.trace` being the least severe and
846 | /// `.critical` being the most severe.
847 | public enum Level: String, Codable, CaseIterable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
848 | /// Appropriate for messages that contain information normally of use only when
849 | /// tracing the execution of a program.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1209:56: error: cannot find type 'FILE' in scope
1207 | internal typealias CFilePointer = OpaquePointer
1208 | #else
1209 | internal typealias CFilePointer = UnsafeMutablePointer<FILE>
| `- error: cannot find type 'FILE' in scope
1210 | #endif
1211 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1272:40: error: cannot find 'systemStderr' in scope
1270 | #error("Unsupported runtime")
1271 | #endif
1272 | return StdioOutputStream(file: systemStderr, flushMode: .always)
| `- error: cannot find 'systemStderr' in scope
1273 | }()
1274 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1272:66: error: cannot infer contextual base in reference to member 'always'
1270 | #error("Unsupported runtime")
1271 | #endif
1272 | return StdioOutputStream(file: systemStderr, flushMode: .always)
| `- error: cannot infer contextual base in reference to member 'always'
1273 | }()
1274 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1292:40: error: cannot find 'systemStdout' in scope
1290 | #error("Unsupported runtime")
1291 | #endif
1292 | return StdioOutputStream(file: systemStdout, flushMode: .always)
| `- error: cannot find 'systemStdout' in scope
1293 | }()
1294 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1292:66: error: cannot infer contextual base in reference to member 'always'
1290 | #error("Unsupported runtime")
1291 | #endif
1292 | return StdioOutputStream(file: systemStdout, flushMode: .always)
| `- error: cannot infer contextual base in reference to member 'always'
1293 | }()
1294 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1226:13: error: cannot find 'flockfile' in scope
1224 | // no file locking on WASI
1225 | #else
1226 | flockfile(self.file)
| `- error: cannot find 'flockfile' in scope
1227 | #endif
1228 | defer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1237:17: error: cannot find 'fwrite' in scope
1235 | #endif
1236 | }
1237 | _ = fwrite(utf8Bytes.baseAddress!, 1, utf8Bytes.count, self.file)
| `- error: cannot find 'fwrite' in scope
1238 | if case .always = self.flushMode {
1239 | self.flush()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1246:13: error: cannot find 'fflush' in scope
1244 | /// Flush the underlying stream.
1245 | internal func flush() {
1246 | _ = fflush(self.file)
| `- error: cannot find 'fflush' in scope
1247 | }
1248 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1447:25: error: cannot find 'time' in scope
1445 | _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1446 | #else
1447 | var timestamp = time(nil)
| `- error: cannot find 'time' in scope
1448 | guard let localTime = localtime(×tamp) else {
1449 | return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1447:30: error: 'nil' requires a contextual type
1445 | _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1446 | #else
1447 | var timestamp = time(nil)
| `- error: 'nil' requires a contextual type
1448 | guard let localTime = localtime(×tamp) else {
1449 | return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1448:31: error: cannot find 'localtime' in scope
1446 | #else
1447 | var timestamp = time(nil)
1448 | guard let localTime = localtime(×tamp) else {
| `- error: cannot find 'localtime' in scope
1449 | return "<unknown>"
1450 | }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1451:9: error: cannot find 'strftime' in scope
1449 | return "<unknown>"
1450 | }
1451 | strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
| `- error: cannot find 'strftime' in scope
1452 | #endif
1453 | return buffer.withUnsafeBufferPointer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1548:54: error: 'description' is unavailable: unavailable in embedded Swift
1546 | switch self {
1547 | case .dictionary(let dict):
1548 | return dict.mapValues { $0.description }.description
| `- error: 'description' is unavailable: unavailable in embedded Swift
1549 | case .array(let list):
1550 | return list.map { $0.description }.description
Swift.Dictionary.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Dictionary {
2 | public var description: String { get }}
| `- note: 'description' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1550:48: error: 'description' is unavailable: unavailable in embedded Swift
1548 | return dict.mapValues { $0.description }.description
1549 | case .array(let list):
1550 | return list.map { $0.description }.description
| `- error: 'description' is unavailable: unavailable in embedded Swift
1551 | case .string(let str):
1552 | return str
Swift.Array.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Array {
2 | public var description: String { get }}
| `- note: 'description' has been explicitly marked unavailable here
3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[47/89] Emitting module _NIODataStructures
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:27:8: error: The Heap module was unable to identify your C library.
25 | @preconcurrency import Bionic
26 | #else
27 | #error("The Heap module was unable to identify your C library.")
| `- error: The Heap module was unable to identify your C library.
28 | #endif
29 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:170:47: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
168 | return "<empty heap>"
169 | }
170 | let descriptions = self.storage.map { String(describing: $0) }
| `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
171 | let maxLen: Int = descriptions.map { $0.count }.max()! // storage checked non-empty above
172 | let paddedDescs = descriptions.map { (desc: String) -> String in
Swift.String.init:2:8: note: 'init(describing:)' has been explicitly marked unavailable here
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
| `- note: 'init(describing:)' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:208:21: error: cannot find 'log2' in scope
206 |
207 | func height(index: Int) -> Int {
208 | Int(log2(Double(index + 1)))
| `- error: cannot find 'log2' in scope
209 | }
210 | let myHeight = height(index: index)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[48/89] Emitting module _NIOBase64
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIOBase64/Base64.swift:112:39: error: cannot use a value of protocol type 'any Error' in embedded Swift
27 | @inlinable
28 | public func base64Decoded() throws -> [UInt8] {
29 | try self._base64Decoded()
| `- note: called from here
30 | }
31 |
:
38 | @inlinable
39 | public func _base64Decoded() throws -> [UInt8] {
40 | try Base64.decode(string: self)
| `- note: called from here
41 | }
42 | }
:
110 | if bytes[i + 2] != Base64.encodePaddingCharacter {
111 | guard let byte2Index = Base64.encodingTable.firstIndex(of: bytes[i + 2]) else {
112 | throw Base64Error.invalidCharacter
| `- error: cannot use a value of protocol type 'any Error' in embedded Swift
113 | }
114 |
[49/89] Compiling Logging Locks.swift
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:42:8: error: Unsupported runtime
40 | import Musl
41 | #else
42 | #error("Unsupported runtime")
| `- error: Unsupported runtime
43 | #endif
44 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:32:8: error: Unsupported runtime
30 | import WASILibc
31 | #else
32 | #error("Unsupported runtime")
| `- error: Unsupported runtime
33 | #endif
34 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1270:16: error: Unsupported runtime
1268 | let systemStderr = WASILibc.stderr!
1269 | #else
1270 | #error("Unsupported runtime")
| `- error: Unsupported runtime
1271 | #endif
1272 | return StdioOutputStream(file: systemStderr, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1290:16: error: Unsupported runtime
1288 | let systemStdout = WASILibc.stdout!
1289 | #else
1290 | #error("Unsupported runtime")
| `- error: Unsupported runtime
1291 | #endif
1292 | return StdioOutputStream(file: systemStdout, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/MetadataProvider.swift:28:8: error: Unsupported runtime
26 | import WASILibc
27 | #else
28 | #error("Unsupported runtime")
| `- error: Unsupported runtime
29 | #endif
30 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:58:49: error: cannot find type 'pthread_mutex_t' in scope
56 | UnsafeMutablePointer.allocate(capacity: 1)
57 | #else
58 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
| `- error: cannot find type 'pthread_mutex_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:161:50: error: cannot find type 'pthread_rwlock_t' in scope
159 | fileprivate var shared: Bool = true
160 | #else
161 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
162 | UnsafeMutablePointer.allocate(capacity: 1)
163 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:69:20: error: cannot find 'pthread_mutexattr_t' in scope
67 | InitializeSRWLock(self.mutex)
68 | #else
69 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
70 | pthread_mutexattr_init(&attr)
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:70:9: error: cannot find 'pthread_mutexattr_init' in scope
68 | #else
69 | var attr = pthread_mutexattr_t()
70 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
72 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:9: error: cannot find 'pthread_mutexattr_settype' in scope
69 | var attr = pthread_mutexattr_t()
70 | pthread_mutexattr_init(&attr)
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
72 |
73 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
69 | var attr = pthread_mutexattr_t()
70 | pthread_mutexattr_init(&attr)
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
72 |
73 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:43: error: cannot infer contextual base in reference to member 'init'
69 | var attr = pthread_mutexattr_t()
70 | pthread_mutexattr_init(&attr)
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot infer contextual base in reference to member 'init'
72 |
73 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:73:19: error: cannot find 'pthread_mutex_init' in scope
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
72 |
73 | let err = pthread_mutex_init(self.mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
74 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
75 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:85:19: error: cannot find 'pthread_mutex_destroy' in scope
83 | self.mutex.deallocate()
84 | #else
85 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
86 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
87 | self.mutex.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:101:19: error: cannot find 'pthread_mutex_lock' in scope
99 | AcquireSRWLockExclusive(self.mutex)
100 | #else
101 | let err = pthread_mutex_lock(self.mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
102 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
103 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:116:19: error: cannot find 'pthread_mutex_unlock' in scope
114 | ReleaseSRWLockExclusive(self.mutex)
115 | #else
116 | let err = pthread_mutex_unlock(self.mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
117 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
118 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:172:19: error: cannot find 'pthread_rwlock_init' in scope
170 | InitializeSRWLock(self.rwlock)
171 | #else
172 | let err = pthread_rwlock_init(self.rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
173 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
174 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:172:52: error: 'nil' requires a contextual type
170 | InitializeSRWLock(self.rwlock)
171 | #else
172 | let err = pthread_rwlock_init(self.rwlock, nil)
| `- error: 'nil' requires a contextual type
173 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
174 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:184:19: error: cannot find 'pthread_rwlock_destroy' in scope
182 | self.rwlock.deallocate()
183 | #else
184 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
185 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
186 | self.rwlock.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:201:19: error: cannot find 'pthread_rwlock_rdlock' in scope
199 | self.shared = true
200 | #else
201 | let err = pthread_rwlock_rdlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
202 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
203 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:217:19: error: cannot find 'pthread_rwlock_wrlock' in scope
215 | self.shared = false
216 | #else
217 | let err = pthread_rwlock_wrlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
218 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
219 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:237:19: error: cannot find 'pthread_rwlock_unlock' in scope
235 | }
236 | #else
237 | let err = pthread_rwlock_unlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
238 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
239 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:847:32: error: 'Codable' is unavailable: unavailable in embedded Swift
845 | /// Log levels are ordered by their severity, with `.trace` being the least severe and
846 | /// `.critical` being the most severe.
847 | public enum Level: String, Codable, CaseIterable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
848 | /// Appropriate for messages that contain information normally of use only when
849 | /// tracing the execution of a program.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1209:56: error: cannot find type 'FILE' in scope
1207 | internal typealias CFilePointer = OpaquePointer
1208 | #else
1209 | internal typealias CFilePointer = UnsafeMutablePointer<FILE>
| `- error: cannot find type 'FILE' in scope
1210 | #endif
1211 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1272:40: error: cannot find 'systemStderr' in scope
1270 | #error("Unsupported runtime")
1271 | #endif
1272 | return StdioOutputStream(file: systemStderr, flushMode: .always)
| `- error: cannot find 'systemStderr' in scope
1273 | }()
1274 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1272:66: error: cannot infer contextual base in reference to member 'always'
1270 | #error("Unsupported runtime")
1271 | #endif
1272 | return StdioOutputStream(file: systemStderr, flushMode: .always)
| `- error: cannot infer contextual base in reference to member 'always'
1273 | }()
1274 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1292:40: error: cannot find 'systemStdout' in scope
1290 | #error("Unsupported runtime")
1291 | #endif
1292 | return StdioOutputStream(file: systemStdout, flushMode: .always)
| `- error: cannot find 'systemStdout' in scope
1293 | }()
1294 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1292:66: error: cannot infer contextual base in reference to member 'always'
1290 | #error("Unsupported runtime")
1291 | #endif
1292 | return StdioOutputStream(file: systemStdout, flushMode: .always)
| `- error: cannot infer contextual base in reference to member 'always'
1293 | }()
1294 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1226:13: error: cannot find 'flockfile' in scope
1224 | // no file locking on WASI
1225 | #else
1226 | flockfile(self.file)
| `- error: cannot find 'flockfile' in scope
1227 | #endif
1228 | defer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1237:17: error: cannot find 'fwrite' in scope
1235 | #endif
1236 | }
1237 | _ = fwrite(utf8Bytes.baseAddress!, 1, utf8Bytes.count, self.file)
| `- error: cannot find 'fwrite' in scope
1238 | if case .always = self.flushMode {
1239 | self.flush()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1246:13: error: cannot find 'fflush' in scope
1244 | /// Flush the underlying stream.
1245 | internal func flush() {
1246 | _ = fflush(self.file)
| `- error: cannot find 'fflush' in scope
1247 | }
1248 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1447:25: error: cannot find 'time' in scope
1445 | _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1446 | #else
1447 | var timestamp = time(nil)
| `- error: cannot find 'time' in scope
1448 | guard let localTime = localtime(×tamp) else {
1449 | return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1447:30: error: 'nil' requires a contextual type
1445 | _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1446 | #else
1447 | var timestamp = time(nil)
| `- error: 'nil' requires a contextual type
1448 | guard let localTime = localtime(×tamp) else {
1449 | return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1448:31: error: cannot find 'localtime' in scope
1446 | #else
1447 | var timestamp = time(nil)
1448 | guard let localTime = localtime(×tamp) else {
| `- error: cannot find 'localtime' in scope
1449 | return "<unknown>"
1450 | }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1451:9: error: cannot find 'strftime' in scope
1449 | return "<unknown>"
1450 | }
1451 | strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
| `- error: cannot find 'strftime' in scope
1452 | #endif
1453 | return buffer.withUnsafeBufferPointer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1548:54: error: 'description' is unavailable: unavailable in embedded Swift
1546 | switch self {
1547 | case .dictionary(let dict):
1548 | return dict.mapValues { $0.description }.description
| `- error: 'description' is unavailable: unavailable in embedded Swift
1549 | case .array(let list):
1550 | return list.map { $0.description }.description
Swift.Dictionary.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Dictionary {
2 | public var description: String { get }}
| `- note: 'description' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1550:48: error: 'description' is unavailable: unavailable in embedded Swift
1548 | return dict.mapValues { $0.description }.description
1549 | case .array(let list):
1550 | return list.map { $0.description }.description
| `- error: 'description' is unavailable: unavailable in embedded Swift
1551 | case .string(let str):
1552 | return str
Swift.Array.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Array {
2 | public var description: String { get }}
| `- note: 'description' has been explicitly marked unavailable here
3 |
[49/89] Compiling c-nioatomics.c
[49/89] Compiling CNIOLLHTTP c_nio_llhttp.c
[49/89] Compiling c-atomics.c
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:27:8: error: The Heap module was unable to identify your C library.
25 | @preconcurrency import Bionic
26 | #else
27 | #error("The Heap module was unable to identify your C library.")
| `- error: The Heap module was unable to identify your C library.
28 | #endif
29 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:170:47: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
168 | return "<empty heap>"
169 | }
170 | let descriptions = self.storage.map { String(describing: $0) }
| `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
171 | let maxLen: Int = descriptions.map { $0.count }.max()! // storage checked non-empty above
172 | let paddedDescs = descriptions.map { (desc: String) -> String in
Swift.String.init:2:8: note: 'init(describing:)' has been explicitly marked unavailable here
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
| `- note: 'init(describing:)' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:27:8: error: Unsupported Platform
25 | import Bionic
26 | #else
27 | #error("Unsupported Platform")
| `- error: Unsupported Platform
28 | #endif
29 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:30:8: error: Unsupported Platform
28 | import Android
29 | #else
30 | #error("Unsupported Platform")
| `- error: Unsupported Platform
31 | #endif
32 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Exports.swift:32:8: error: Unsupported Platform
30 | import Android
31 | #else
32 | #error("Unsupported Platform")
| `- error: Unsupported Platform
33 | #endif
34 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:24:8: error: Unsupported Platform
22 | import Android
23 | #else
24 | #error("Unsupported Platform")
| `- error: Unsupported Platform
25 | #endif
26 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Errno.swift:14:15: error: type 'Errno' does not conform to protocol 'Decodable'
12 | @frozen
13 | @available(System 0.0.1, *)
14 | public struct Errno: RawRepresentable, Error, Hashable, Codable {
| `- error: type 'Errno' does not conform to protocol 'Decodable'
15 | /// The raw C error number.
16 | @_alwaysEmitIntoClient
17 | public let rawValue: CInt
| `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
18 |
19 | /// Creates a strongly typed error number from a raw C error number.
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/Errno.swift:14:57: error: 'Codable' is unavailable: unavailable in embedded Swift
12 | @frozen
13 | @available(System 0.0.1, *)
14 | public struct Errno: RawRepresentable, Error, Hashable, Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
15 | /// The raw C error number.
16 | @_alwaysEmitIntoClient
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Errno.swift:14:15: error: type 'Errno' does not conform to protocol 'Encodable'
12 | @frozen
13 | @available(System 0.0.1, *)
14 | public struct Errno: RawRepresentable, Error, Hashable, Codable {
| `- error: type 'Errno' does not conform to protocol 'Encodable'
15 | /// The raw C error number.
16 | @_alwaysEmitIntoClient
17 | public let rawValue: CInt
| `- note: cannot automatically synthesize 'Encodable' because 'CInt' does not conform to 'Encodable'
18 |
19 | /// Creates a strongly typed error number from a raw C error number.
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/Errno.swift:14:15: error: type 'Errno' does not conform to protocol 'Decodable'
12 | @frozen
13 | @available(System 0.0.1, *)
14 | public struct Errno: RawRepresentable, Error, Hashable, Codable {
| `- error: type 'Errno' does not conform to protocol 'Decodable'
15 | /// The raw C error number.
16 | @_alwaysEmitIntoClient
17 | public let rawValue: CInt
| `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
18 |
19 | /// Creates a strongly typed error number from a raw C error number.
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/Errno.swift:1532:27: error: cannot find 'system_errno' in scope
1530 | /// The corresponding C global variable is `errno`.
1531 | internal static var current: Errno {
1532 | get { Errno(rawValue: system_errno) }
| `- error: cannot find 'system_errno' in scope
1533 | set { system_errno = newValue.rawValue }
1534 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Errno.swift:1533:11: error: cannot find 'system_errno' in scope
1531 | internal static var current: Errno {
1532 | get { Errno(rawValue: system_errno) }
1533 | set { system_errno = newValue.rawValue }
| `- error: cannot find 'system_errno' in scope
1534 | }
1535 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:18:15: error: type 'FileDescriptor' does not conform to protocol 'Decodable'
16 | @frozen
17 | @available(System 0.0.1, *)
18 | public struct FileDescriptor: RawRepresentable, Hashable, Codable {
| `- error: type 'FileDescriptor' does not conform to protocol 'Decodable'
19 | /// The raw C file handle.
20 | @_alwaysEmitIntoClient
21 | public let rawValue: CInt
| `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
22 |
23 | /// Creates a strongly-typed file handle from a raw C file handle.
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/FileDescriptor.swift:18:59: error: 'Codable' is unavailable: unavailable in embedded Swift
16 | @frozen
17 | @available(System 0.0.1, *)
18 | public struct FileDescriptor: RawRepresentable, Hashable, Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
19 | /// The raw C file handle.
20 | @_alwaysEmitIntoClient
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:18:15: error: type 'FileDescriptor' does not conform to protocol 'Encodable'
16 | @frozen
17 | @available(System 0.0.1, *)
18 | public struct FileDescriptor: RawRepresentable, Hashable, Codable {
| `- error: type 'FileDescriptor' does not conform to protocol 'Encodable'
19 | /// The raw C file handle.
20 | @_alwaysEmitIntoClient
21 | public let rawValue: CInt
| `- note: cannot automatically synthesize 'Encodable' because 'CInt' does not conform to 'Encodable'
22 |
23 | /// Creates a strongly-typed file handle from a raw C file handle.
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/FileDescriptor.swift:49:17: error: type 'FileDescriptor.AccessMode' does not conform to protocol 'Decodable'
47 | @frozen
48 | @available(System 0.0.1, *)
49 | public struct AccessMode: RawRepresentable, Sendable, Hashable, Codable {
| `- error: type 'FileDescriptor.AccessMode' does not conform to protocol 'Decodable'
50 | /// The raw C access mode.
51 | @_alwaysEmitIntoClient
52 | public var rawValue: CInt
| `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
53 |
54 | /// Creates a strongly-typed access mode from a raw C access mode.
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/FileDescriptor.swift:49:67: error: 'Codable' is unavailable: unavailable in embedded Swift
47 | @frozen
48 | @available(System 0.0.1, *)
49 | public struct AccessMode: RawRepresentable, Sendable, Hashable, Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
50 | /// The raw C access mode.
51 | @_alwaysEmitIntoClient
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:49:17: error: type 'FileDescriptor.AccessMode' does not conform to protocol 'Encodable'
47 | @frozen
48 | @available(System 0.0.1, *)
49 | public struct AccessMode: RawRepresentable, Sendable, Hashable, Codable {
| `- error: type 'FileDescriptor.AccessMode' does not conform to protocol 'Encodable'
50 | /// The raw C access mode.
51 | @_alwaysEmitIntoClient
52 | public var rawValue: CInt
| `- note: cannot automatically synthesize 'Encodable' because 'CInt' does not conform to 'Encodable'
53 |
54 | /// Creates a strongly-typed access mode from a raw C access mode.
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/FileDescriptor.swift:92:17: error: type 'FileDescriptor.OpenOptions' does not conform to protocol 'Decodable'
90 | @frozen
91 | @available(System 0.0.1, *)
92 | public struct OpenOptions: OptionSet, Sendable, Hashable, Codable {
| `- error: type 'FileDescriptor.OpenOptions' does not conform to protocol 'Decodable'
93 | /// The raw C options.
94 | @_alwaysEmitIntoClient
95 | public var rawValue: CInt
| `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
96 |
97 | /// Create a strongly-typed options value from raw C options.
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/FileDescriptor.swift:92:61: error: 'Codable' is unavailable: unavailable in embedded Swift
90 | @frozen
91 | @available(System 0.0.1, *)
92 | public struct OpenOptions: OptionSet, Sendable, Hashable, Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
93 | /// The raw C options.
94 | @_alwaysEmitIntoClient
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:92:17: error: type 'FileDescriptor.OpenOptions' does not conform to protocol 'Encodable'
90 | @frozen
91 | @available(System 0.0.1, *)
92 | public struct OpenOptions: OptionSet, Sendable, Hashable, Codable {
| `- error: type 'FileDescriptor.OpenOptions' does not conform to protocol 'Encodable'
93 | /// The raw C options.
94 | @_alwaysEmitIntoClient
95 | public var rawValue: CInt
| `- note: cannot automatically synthesize 'Encodable' because 'CInt' does not conform to 'Encodable'
96 |
97 | /// Create a strongly-typed options value from raw C options.
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/FileDescriptor.swift:330:17: error: type 'FileDescriptor.SeekOrigin' does not conform to protocol 'Decodable'
328 | @frozen
329 | @available(System 0.0.1, *)
330 | public struct SeekOrigin: RawRepresentable, Sendable, Hashable, Codable {
| `- error: type 'FileDescriptor.SeekOrigin' does not conform to protocol 'Decodable'
331 | /// The raw C value.
332 | @_alwaysEmitIntoClient
333 | public var rawValue: CInt
| `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
334 |
335 | /// Create a strongly-typed seek origin 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/FileDescriptor.swift:330:67: error: 'Codable' is unavailable: unavailable in embedded Swift
328 | @frozen
329 | @available(System 0.0.1, *)
330 | public struct SeekOrigin: RawRepresentable, Sendable, Hashable, Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
331 | /// The raw C value.
332 | @_alwaysEmitIntoClient
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:330:17: error: type 'FileDescriptor.SeekOrigin' does not conform to protocol 'Encodable'
328 | @frozen
329 | @available(System 0.0.1, *)
330 | public struct SeekOrigin: RawRepresentable, Sendable, Hashable, Codable {
| `- error: type 'FileDescriptor.SeekOrigin' does not conform to protocol 'Encodable'
331 | /// The raw C value.
332 | @_alwaysEmitIntoClient
333 | public var rawValue: CInt
| `- note: cannot automatically synthesize 'Encodable' because 'CInt' does not conform to 'Encodable'
334 |
335 | /// Create a strongly-typed seek origin 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/FileDescriptor.swift:18:15: error: type 'FileDescriptor' does not conform to protocol 'Decodable'
16 | @frozen
17 | @available(System 0.0.1, *)
18 | public struct FileDescriptor: RawRepresentable, Hashable, Codable {
| `- error: type 'FileDescriptor' does not conform to protocol 'Decodable'
19 | /// The raw C file handle.
20 | @_alwaysEmitIntoClient
21 | public let rawValue: CInt
| `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
22 |
23 | /// Creates a strongly-typed file handle from a raw C file handle.
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/FileDescriptor.swift:49:17: error: type 'FileDescriptor.AccessMode' does not conform to protocol 'Decodable'
47 | @frozen
48 | @available(System 0.0.1, *)
49 | public struct AccessMode: RawRepresentable, Sendable, Hashable, Codable {
| `- error: type 'FileDescriptor.AccessMode' does not conform to protocol 'Decodable'
50 | /// The raw C access mode.
51 | @_alwaysEmitIntoClient
52 | public var rawValue: CInt
| `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
53 |
54 | /// Creates a strongly-typed access mode from a raw C access mode.
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/FileDescriptor.swift:92:17: error: type 'FileDescriptor.OpenOptions' does not conform to protocol 'Decodable'
90 | @frozen
91 | @available(System 0.0.1, *)
92 | public struct OpenOptions: OptionSet, Sendable, Hashable, Codable {
| `- error: type 'FileDescriptor.OpenOptions' does not conform to protocol 'Decodable'
93 | /// The raw C options.
94 | @_alwaysEmitIntoClient
95 | public var rawValue: CInt
| `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
96 |
97 | /// Create a strongly-typed options value from raw C options.
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/FileDescriptor.swift:330:17: error: type 'FileDescriptor.SeekOrigin' does not conform to protocol 'Decodable'
328 | @frozen
329 | @available(System 0.0.1, *)
330 | public struct SeekOrigin: RawRepresentable, Sendable, Hashable, Codable {
| `- error: type 'FileDescriptor.SeekOrigin' does not conform to protocol 'Decodable'
331 | /// The raw C value.
332 | @_alwaysEmitIntoClient
333 | public var rawValue: CInt
| `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
334 |
335 | /// Create a strongly-typed seek origin 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/Internals/CInterop.swift:50:27: error: cannot find type 'mode_t' in scope
48 | public typealias Mode = CInt
49 | #else
50 | public typealias Mode = mode_t
| `- error: cannot find type 'mode_t' in scope
51 | #endif
52 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:41:27: error: cannot find type 'mode_t' in scope
39 | /// The C `mode_t` type.
40 | @available(System 0.0.1, *)
41 | public typealias CModeT = mode_t
| `- error: cannot find type 'mode_t' in scope
42 | #endif
43 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileOperations.swift:89:53: error: extra argument in call
87 | let descOrError: Result<CInt, Errno> = valueOrErrno(retryOnInterrupt: retryOnInterrupt) {
88 | if let permissions = permissions {
89 | return system_open(path, oFlag, permissions.rawValue)
| `- error: extra argument in call
90 | }
91 | precondition(!options.contains(.create),
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:93:6: error: cannot find type 'off_t' in scope
91 | internal func system_lseek(
92 | _ fd: Int32, _ off: off_t, _ whence: Int32
93 | ) -> off_t {
| `- error: cannot find type 'off_t' in scope
94 | #if ENABLE_MOCKING
95 | if mockingEnabled { return _mockOffT(fd, off, whence) }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:92:23: error: cannot find type 'off_t' in scope
90 | // lseek
91 | internal func system_lseek(
92 | _ fd: Int32, _ off: off_t, _ whence: Int32
| `- error: cannot find type 'off_t' in scope
93 | ) -> off_t {
94 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Exports.swift:35:29: error: cannot find type 'off_t' in scope
33 | #endif
34 |
35 | internal typealias _COffT = off_t
| `- error: cannot find type 'off_t' in scope
36 |
37 | // MARK: syscalls and variables
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:74:73: error: cannot find type 'off_t' in scope
72 | // pread
73 | internal func system_pread(
74 | _ fd: Int32, _ buf: UnsafeMutableRawPointer?, _ nbyte: Int, _ offset: off_t
| `- error: cannot find type 'off_t' in scope
75 | ) -> Int {
76 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:112:66: error: cannot find type 'off_t' in scope
110 | // pwrite
111 | internal func system_pwrite(
112 | _ fd: Int32, _ buf: UnsafeRawPointer?, _ nbyte: Int, _ offset: off_t
| `- error: cannot find type 'off_t' in scope
113 | ) -> Int {
114 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:153:55: error: cannot find type 'off_t' in scope
151 | #endif
152 |
153 | internal func system_ftruncate(_ fd: Int32, _ length: off_t) -> Int32 {
| `- error: cannot find type 'off_t' in scope
154 | #if ENABLE_MOCKING
155 | if mockingEnabled { return _mock(fd, length) }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:78:33: error: 'Decoder' is unavailable: unavailable in embedded Swift
76 | // Decoder is written explicitly to ensure that we validate invariants on
77 | // untrusted input.
78 | public init(from decoder: any Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
79 | let container = try decoder.container(keyedBy: CodingKeys.self)
80 | self._storage = try container.decode(SystemString.self, forKey: ._storage)
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
| `- note: 'Decoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:72:21: error: 'Codable' is unavailable: unavailable in embedded Swift
70 |
71 | @available(System 0.0.1, *)
72 | extension FilePath: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
73 | // Encoder is synthesized; it probably should have been explicit and used
74 | // a single-value container, but making that change now is somewhat risky.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:80:35: error: value of type 'KeyedDecodingContainer<FilePath.CodingKeys>' has no member 'decode'
78 | public init(from decoder: any Decoder) throws {
79 | let container = try decoder.container(keyedBy: CodingKeys.self)
80 | self._storage = try container.decode(SystemString.self, forKey: ._storage)
| `- error: value of type 'KeyedDecodingContainer<FilePath.CodingKeys>' has no member 'decode'
81 | guard _invariantsSatisfied() else {
82 | throw DecodingError.dataCorruptedError(
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:80:70: error: cannot infer contextual base in reference to member '_storage'
78 | public init(from decoder: any Decoder) throws {
79 | let container = try decoder.container(keyedBy: CodingKeys.self)
80 | self._storage = try container.decode(SystemString.self, forKey: ._storage)
| `- error: cannot infer contextual base in reference to member '_storage'
81 | guard _invariantsSatisfied() else {
82 | throw DecodingError.dataCorruptedError(
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:82:27: error: type 'DecodingError' has no member 'dataCorruptedError'
80 | self._storage = try container.decode(SystemString.self, forKey: ._storage)
81 | guard _invariantsSatisfied() else {
82 | throw DecodingError.dataCorruptedError(
| `- error: type 'DecodingError' has no member 'dataCorruptedError'
83 | forKey: ._storage,
84 | in: container,
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:83:18: error: cannot infer contextual base in reference to member '_storage'
81 | guard _invariantsSatisfied() else {
82 | throw DecodingError.dataCorruptedError(
83 | forKey: ._storage,
| `- error: cannot infer contextual base in reference to member '_storage'
84 | in: container,
85 | debugDescription:
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponentView.swift:183:1: error: type 'FilePath.ComponentView' does not conform to protocol 'Decodable'
32 | public struct ComponentView: Sendable {
33 | internal var _path: FilePath
34 | internal var _start: SystemString.Index
| `- note: cannot automatically synthesize 'Decodable' because 'SystemString.Index' does not conform to 'Decodable'
35 |
36 | internal init(_ path: FilePath) {
:
181 |
182 | @available(System 0.0.2, *)
183 | extension FilePath.ComponentView: _PathSlice {
| `- error: type 'FilePath.ComponentView' does not conform to protocol 'Decodable'
184 | internal var _range: Range<SystemString.Index> {
185 | _start ..< _path._storage.endIndex
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/FilePath/FilePathComponentView.swift:183:1: error: type 'FilePath.ComponentView' does not conform to protocol 'Encodable'
32 | public struct ComponentView: Sendable {
33 | internal var _path: FilePath
34 | internal var _start: SystemString.Index
| `- note: cannot automatically synthesize 'Encodable' because 'SystemString.Index' does not conform to 'Encodable'
35 |
36 | internal init(_ path: FilePath) {
:
181 |
182 | @available(System 0.0.2, *)
183 | extension FilePath.ComponentView: _PathSlice {
| `- error: type 'FilePath.ComponentView' does not conform to protocol 'Encodable'
184 | internal var _range: Range<SystemString.Index> {
185 | _start ..< _path._storage.endIndex
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/FilePath/FilePathComponentView.swift:183:1: error: type 'FilePath.ComponentView' does not conform to protocol 'Decodable'
32 | public struct ComponentView: Sendable {
33 | internal var _path: FilePath
34 | internal var _start: SystemString.Index
| `- note: cannot automatically synthesize 'Decodable' because 'SystemString.Index' does not conform to 'Decodable'
35 |
36 | internal init(_ path: FilePath) {
:
181 |
182 | @available(System 0.0.2, *)
183 | extension FilePath.ComponentView: _PathSlice {
| `- error: type 'FilePath.ComponentView' does not conform to protocol 'Decodable'
184 | internal var _range: Range<SystemString.Index> {
185 | _start ..< _path._storage.endIndex
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/FilePath/FilePathComponents.swift:193:1: error: type 'FilePath.Root' does not conform to protocol 'Decodable'
32 | public struct Root: Sendable {
33 | internal var _path: FilePath
34 | internal var _rootEnd: SystemString.Index
| `- note: cannot automatically synthesize 'Decodable' because 'SystemString.Index' does not conform to 'Decodable'
35 |
36 | internal init(_ path: FilePath, rootEnd: SystemString.Index) {
:
191 | }
192 | @available(System 0.0.2, *)
193 | extension FilePath.Root: _PathSlice {
| `- error: type 'FilePath.Root' does not conform to protocol 'Decodable'
194 | internal var _range: Range<SystemString.Index> {
195 | (..<_rootEnd).relative(to: _path._storage)
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/FilePath/FilePathComponents.swift:193:1: error: type 'FilePath.Root' does not conform to protocol 'Decodable'
32 | public struct Root: Sendable {
33 | internal var _path: FilePath
34 | internal var _rootEnd: SystemString.Index
| `- note: cannot automatically synthesize 'Decodable' because 'SystemString.Index' does not conform to 'Decodable'
35 |
36 | internal init(_ path: FilePath, rootEnd: SystemString.Index) {
:
191 | }
192 | @available(System 0.0.2, *)
193 | extension FilePath.Root: _PathSlice {
| `- error: type 'FilePath.Root' does not conform to protocol 'Decodable'
194 | internal var _range: Range<SystemString.Index> {
195 | (..<_rootEnd).relative(to: _path._storage)
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/FilePath/FilePathComponents.swift:190:1: error: type 'FilePath.Component' does not conform to protocol 'Decodable'
59 | public struct Component: Sendable {
60 | internal var _path: FilePath
61 | internal var _range: Range<SystemString.Index>
| `- note: cannot automatically synthesize 'Decodable' because 'Range<SystemString.Index>' does not conform to 'Decodable'
62 |
63 | // TODO: Make a small-component form to save on ARC overhead when
:
188 |
189 | @available(System 0.0.2, *)
190 | extension FilePath.Component: _PathSlice {
| `- error: type 'FilePath.Component' does not conform to protocol 'Decodable'
191 | }
192 | @available(System 0.0.2, *)
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/FilePath/FilePathComponents.swift:190:1: error: type 'FilePath.Component' does not conform to protocol 'Decodable'
59 | public struct Component: Sendable {
60 | internal var _path: FilePath
61 | internal var _range: Range<SystemString.Index>
| `- note: cannot automatically synthesize 'Decodable' because 'Range<SystemString.Index>' does not conform to 'Decodable'
62 |
63 | // TODO: Make a small-component form to save on ARC overhead when
:
188 |
189 | @available(System 0.0.2, *)
190 | extension FilePath.Component: _PathSlice {
| `- error: type 'FilePath.Component' does not conform to protocol 'Decodable'
191 | }
192 | @available(System 0.0.2, *)
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/FilePath/FilePathComponents.swift:133:61: error: 'Codable' is unavailable: unavailable in embedded Swift
131 | // Unifying protocol for common functionality between roots, components,
132 | // and views onto SystemString and FilePath.
133 | internal protocol _StrSlice: _PlatformStringable, Hashable, Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
134 | var _storage: SystemString { get }
135 | var _range: Range<SystemString.Index> { get }
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePathComponents.swift:190:1: error: type 'FilePath.Component' does not conform to protocol 'Encodable'
59 | public struct Component: Sendable {
60 | internal var _path: FilePath
61 | internal var _range: Range<SystemString.Index>
| `- note: cannot automatically synthesize 'Encodable' because 'Range<SystemString.Index>' does not conform to 'Encodable'
62 |
63 | // TODO: Make a small-component form to save on ARC overhead when
:
188 |
189 | @available(System 0.0.2, *)
190 | extension FilePath.Component: _PathSlice {
| `- error: type 'FilePath.Component' does not conform to protocol 'Encodable'
191 | }
192 | @available(System 0.0.2, *)
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/FilePath/FilePathComponents.swift:193:1: error: type 'FilePath.Root' does not conform to protocol 'Encodable'
32 | public struct Root: Sendable {
33 | internal var _path: FilePath
34 | internal var _rootEnd: SystemString.Index
| `- note: cannot automatically synthesize 'Encodable' because 'SystemString.Index' does not conform to 'Encodable'
35 |
36 | internal init(_ path: FilePath, rootEnd: SystemString.Index) {
:
191 | }
192 | @available(System 0.0.2, *)
193 | extension FilePath.Root: _PathSlice {
| `- error: type 'FilePath.Root' does not conform to protocol 'Encodable'
194 | internal var _range: Range<SystemString.Index> {
195 | (..<_rootEnd).relative(to: _path._storage)
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/SystemString.swift:11:17: error: type 'SystemChar' does not conform to protocol 'Decodable'
9 |
10 | // A platform-native character representation, currently used for file paths
11 | internal struct SystemChar:
| `- error: type 'SystemChar' does not conform to protocol 'Decodable'
12 | RawRepresentable, Sendable, Comparable, Hashable, Codable {
13 | internal typealias RawValue = CInterop.PlatformChar
14 |
15 | internal var rawValue: RawValue
| `- note: cannot automatically synthesize 'Decodable' because 'RawValue' does not conform to 'Decodable'
16 |
17 | internal init(rawValue: RawValue) { self.rawValue = rawValue }
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/SystemString.swift:11:17: error: type 'SystemChar' does not conform to protocol 'Decodable'
9 |
10 | // A platform-native character representation, currently used for file paths
11 | internal struct SystemChar:
| `- error: type 'SystemChar' does not conform to protocol 'Decodable'
12 | RawRepresentable, Sendable, Comparable, Hashable, Codable {
13 | internal typealias RawValue = CInterop.PlatformChar
14 |
15 | internal var rawValue: RawValue
| `- note: cannot automatically synthesize 'Decodable' because 'RawValue' does not conform to 'Decodable'
16 |
17 | internal init(rawValue: RawValue) { self.rawValue = rawValue }
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/FilePath/FilePathTemp.swift:52:15: error: cannot find 'system_errno' in scope
50 | return true
51 | }
52 | let err = system_errno
| `- error: cannot find 'system_errno' in scope
53 | if err == Errno.fileExists.rawValue {
54 | return false
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:195:36: error: cannot find type '_system_dirent' in scope
193 | #if os(WASI)
194 | internal let SYSTEM_DT_DIR = _getConst_DT_DIR()
195 | internal typealias system_dirent = _system_dirent
| `- error: cannot find type '_system_dirent' in scope
196 | #else
197 | internal let SYSTEM_DT_DIR = DT_DIR
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:194:30: error: cannot find '_getConst_DT_DIR' in scope
192 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
193 | #if os(WASI)
194 | internal let SYSTEM_DT_DIR = _getConst_DT_DIR()
| `- error: cannot find '_getConst_DT_DIR' in scope
195 | internal typealias system_dirent = _system_dirent
196 | #else
/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 | @available(System 0.0.1, *)
21 | public struct FilePermissions: OptionSet, Sendable, Hashable, Codable {
| `- error: type 'FilePermissions' does not conform to protocol 'Decodable'
22 | /// The raw C file permissions.
23 | @_alwaysEmitIntoClient
24 | public let rawValue: CModeT
| `- note: cannot automatically synthesize 'Decodable' because 'CModeT' 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:63: error: 'Codable' is unavailable: unavailable in embedded Swift
19 | @frozen
20 | @available(System 0.0.1, *)
21 | public struct FilePermissions: OptionSet, Sendable, Hashable, Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
22 | /// The raw C file permissions.
23 | @_alwaysEmitIntoClient
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/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 | @available(System 0.0.1, *)
21 | public struct FilePermissions: OptionSet, Sendable, Hashable, Codable {
| `- error: type 'FilePermissions' does not conform to protocol 'Hashable'
22 | /// The raw C file permissions.
23 | @_alwaysEmitIntoClient
24 | public let rawValue: CModeT
| `- 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 | @available(System 0.0.1, *)
21 | public struct FilePermissions: OptionSet, Sendable, Hashable, Codable {
| `- error: type 'FilePermissions' does not conform to protocol 'Encodable'
22 | /// The raw C file permissions.
23 | @_alwaysEmitIntoClient
24 | public let rawValue: CModeT
| `- note: cannot automatically synthesize 'Encodable' because 'CModeT' 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 | @available(System 0.0.1, *)
21 | public struct FilePermissions: OptionSet, Sendable, 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 | @available(System 0.0.1, *)
21 | public struct FilePermissions: OptionSet, Sendable, 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 | @available(System 0.0.1, *)
21 | public struct FilePermissions: OptionSet, Sendable, 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: CModeT
| `- 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:172:22: note: candidate would match if 'FilePermissions' conformed to '_StrSlice'
170 | }
171 | extension _StrSlice {
172 | public static func == (lhs: Self, rhs: Self) -> Bool {
| `- note: candidate would match if 'FilePermissions' conformed to '_StrSlice'
173 | lhs._slice.elementsEqual(rhs._slice)
174 | }
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 | @available(System 0.0.1, *)
21 | public struct FilePermissions: OptionSet, Sendable, Hashable, Codable {
| `- error: type 'FilePermissions' does not conform to protocol 'Decodable'
22 | /// The raw C file permissions.
23 | @_alwaysEmitIntoClient
24 | public let rawValue: CModeT
| `- note: cannot automatically synthesize 'Decodable' because 'CModeT' 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:32:51: error: no exact matches in call to initializer
30 | /// Indicates that other users have read-only permission.
31 | @_alwaysEmitIntoClient
32 | public static var otherRead: FilePermissions { .init(rawValue: 0o4) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
33 |
34 | /// Indicates that other users have write-only permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:36:52: error: no exact matches in call to initializer
34 | /// Indicates that other users have write-only permission.
35 | @_alwaysEmitIntoClient
36 | public static var otherWrite: FilePermissions { .init(rawValue: 0o2) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
37 |
38 | /// Indicates that other users have execute-only permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:40:54: error: no exact matches in call to initializer
38 | /// Indicates that other users have execute-only permission.
39 | @_alwaysEmitIntoClient
40 | public static var otherExecute: FilePermissions { .init(rawValue: 0o1) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
41 |
42 | /// Indicates that other users have read-write permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:44:56: error: no exact matches in call to initializer
42 | /// Indicates that other users have read-write permission.
43 | @_alwaysEmitIntoClient
44 | public static var otherReadWrite: FilePermissions { .init(rawValue: 0o6) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
45 |
46 | /// Indicates that other users have read-execute permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:48:58: error: no exact matches in call to initializer
46 | /// Indicates that other users have read-execute permission.
47 | @_alwaysEmitIntoClient
48 | public static var otherReadExecute: FilePermissions { .init(rawValue: 0o5) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
49 |
50 | /// Indicates that other users have write-execute permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:52:59: error: no exact matches in call to initializer
50 | /// Indicates that other users have write-execute permission.
51 | @_alwaysEmitIntoClient
52 | public static var otherWriteExecute: FilePermissions { .init(rawValue: 0o3) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
53 |
54 | /// Indicates that other users have read, write, and execute permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:56:63: error: no exact matches in call to initializer
54 | /// Indicates that other users have read, write, and execute permission.
55 | @_alwaysEmitIntoClient
56 | public static var otherReadWriteExecute: FilePermissions { .init(rawValue: 0o7) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
57 |
58 | /// Indicates that the group has read-only permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:60:51: error: no exact matches in call to initializer
58 | /// Indicates that the group has read-only permission.
59 | @_alwaysEmitIntoClient
60 | public static var groupRead: FilePermissions { .init(rawValue: 0o40) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
61 |
62 | /// Indicates that the group has write-only permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:64:52: error: no exact matches in call to initializer
62 | /// Indicates that the group has write-only permission.
63 | @_alwaysEmitIntoClient
64 | public static var groupWrite: FilePermissions { .init(rawValue: 0o20) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
65 |
66 | /// Indicates that the group has execute-only permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:68:54: error: no exact matches in call to initializer
66 | /// Indicates that the group has execute-only permission.
67 | @_alwaysEmitIntoClient
68 | public static var groupExecute: FilePermissions { .init(rawValue: 0o10) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
69 |
70 | /// Indicates that the group has read-write permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:72:56: error: no exact matches in call to initializer
70 | /// Indicates that the group has read-write permission.
71 | @_alwaysEmitIntoClient
72 | public static var groupReadWrite: FilePermissions { .init(rawValue: 0o60) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
73 |
74 | /// Indicates that the group has read-execute permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:76:58: error: no exact matches in call to initializer
74 | /// Indicates that the group has read-execute permission.
75 | @_alwaysEmitIntoClient
76 | public static var groupReadExecute: FilePermissions { .init(rawValue: 0o50) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
77 |
78 | /// Indicates that the group has write-execute permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:80:59: error: no exact matches in call to initializer
78 | /// Indicates that the group has write-execute permission.
79 | @_alwaysEmitIntoClient
80 | public static var groupWriteExecute: FilePermissions { .init(rawValue: 0o30) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
81 |
82 | /// Indicates that the group has read, write, and execute permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:84:63: error: no exact matches in call to initializer
82 | /// Indicates that the group has read, write, and execute permission.
83 | @_alwaysEmitIntoClient
84 | public static var groupReadWriteExecute: FilePermissions { .init(rawValue: 0o70) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
85 |
86 | /// Indicates that the owner has read-only permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:88:51: error: no exact matches in call to initializer
86 | /// Indicates that the owner has read-only permission.
87 | @_alwaysEmitIntoClient
88 | public static var ownerRead: FilePermissions { .init(rawValue: 0o400) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
89 |
90 | /// Indicates that the owner has write-only permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:92:52: error: no exact matches in call to initializer
90 | /// Indicates that the owner has write-only permission.
91 | @_alwaysEmitIntoClient
92 | public static var ownerWrite: FilePermissions { .init(rawValue: 0o200) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
93 |
94 | /// Indicates that the owner has execute-only permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:96:54: error: no exact matches in call to initializer
94 | /// Indicates that the owner has execute-only permission.
95 | @_alwaysEmitIntoClient
96 | public static var ownerExecute: FilePermissions { .init(rawValue: 0o100) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
97 |
98 | /// Indicates that the owner has read-write permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:100:56: error: no exact matches in call to initializer
98 | /// Indicates that the owner has read-write permission.
99 | @_alwaysEmitIntoClient
100 | public static var ownerReadWrite: FilePermissions { .init(rawValue: 0o600) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
101 |
102 | /// Indicates that the owner has read-execute permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:104:58: error: no exact matches in call to initializer
102 | /// Indicates that the owner has read-execute permission.
103 | @_alwaysEmitIntoClient
104 | public static var ownerReadExecute: FilePermissions { .init(rawValue: 0o500) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
105 |
106 | /// Indicates that the owner has write-execute permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:108:59: error: no exact matches in call to initializer
106 | /// Indicates that the owner has write-execute permission.
107 | @_alwaysEmitIntoClient
108 | public static var ownerWriteExecute: FilePermissions { .init(rawValue: 0o300) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
109 |
110 | /// Indicates that the owner has read, write, and execute permission.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:112:63: error: no exact matches in call to initializer
110 | /// Indicates that the owner has read, write, and execute permission.
111 | @_alwaysEmitIntoClient
112 | public static var ownerReadWriteExecute: FilePermissions { .init(rawValue: 0o700) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
113 |
114 | /// Indicates that the file is executed as the owner.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:118:51: error: no exact matches in call to initializer
116 | /// For more information, see the `setuid(2)` man page.
117 | @_alwaysEmitIntoClient
118 | public static var setUserID: FilePermissions { .init(rawValue: 0o4000) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
119 |
120 | /// Indicates that the file is executed as the group.
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:124:52: error: no exact matches in call to initializer
122 | /// For more information, see the `setgid(2)` man page.
123 | @_alwaysEmitIntoClient
124 | public static var setGroupID: FilePermissions { .init(rawValue: 0o2000) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
125 |
126 | /// Indicates that executable's text segment
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePermissions.swift:132:50: error: no exact matches in call to initializer
130 | /// discussion of `S_ISVTX` (the sticky bit).
131 | @_alwaysEmitIntoClient
132 | public static var saveText: FilePermissions { .init(rawValue: 0o1000) }
| |- error: no exact matches in call to initializer
| |- note: candidate expects value of type 'FilePermissions' for parameter #1 (got 'Int')
| `- note: found candidate with type '() -> FilePermissions'
133 | }
134 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:40:29: error: cannot find 'EPERM' in scope
38 |
39 | @_alwaysEmitIntoClient
40 | internal var _EPERM: CInt { EPERM }
| `- error: cannot find 'EPERM' in scope
41 |
42 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:43:30: error: cannot find 'ENOENT' in scope
41 |
42 | @_alwaysEmitIntoClient
43 | internal var _ENOENT: CInt { ENOENT }
| `- error: cannot find 'ENOENT' in scope
44 |
45 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:46:29: error: cannot find 'ESRCH' in scope
44 |
45 | @_alwaysEmitIntoClient
46 | internal var _ESRCH: CInt { ESRCH }
| `- error: cannot find 'ESRCH' in scope
47 |
48 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:49:29: error: cannot find 'EINTR' in scope
47 |
48 | @_alwaysEmitIntoClient
49 | internal var _EINTR: CInt { EINTR }
| `- error: cannot find 'EINTR' in scope
50 |
51 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:52:27: error: cannot find 'EIO' in scope
50 |
51 | @_alwaysEmitIntoClient
52 | internal var _EIO: CInt { EIO }
| `- error: cannot find 'EIO' in scope
53 |
54 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:55:29: error: cannot find 'ENXIO' in scope
53 |
54 | @_alwaysEmitIntoClient
55 | internal var _ENXIO: CInt { ENXIO }
| `- error: cannot find 'ENXIO' in scope
56 |
57 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:58:29: error: cannot find 'E2BIG' in scope
56 |
57 | @_alwaysEmitIntoClient
58 | internal var _E2BIG: CInt { E2BIG }
| `- error: cannot find 'E2BIG' in scope
59 |
60 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:61:31: error: cannot find 'ENOEXEC' in scope
59 |
60 | @_alwaysEmitIntoClient
61 | internal var _ENOEXEC: CInt { ENOEXEC }
| `- error: cannot find 'ENOEXEC' in scope
62 |
63 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:64:29: error: cannot find 'EBADF' in scope
62 |
63 | @_alwaysEmitIntoClient
64 | internal var _EBADF: CInt { EBADF }
| `- error: cannot find 'EBADF' in scope
65 |
66 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:67:30: error: cannot find 'ECHILD' in scope
65 |
66 | @_alwaysEmitIntoClient
67 | internal var _ECHILD: CInt { ECHILD }
| `- error: cannot find 'ECHILD' in scope
68 |
69 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:70:31: error: cannot find 'EDEADLK' in scope
68 |
69 | @_alwaysEmitIntoClient
70 | internal var _EDEADLK: CInt { EDEADLK }
| `- error: cannot find 'EDEADLK' in scope
71 |
72 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:73:30: error: cannot find 'ENOMEM' in scope
71 |
72 | @_alwaysEmitIntoClient
73 | internal var _ENOMEM: CInt { ENOMEM }
| `- error: cannot find 'ENOMEM' in scope
74 |
75 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:76:30: error: cannot find 'EACCES' in scope
74 |
75 | @_alwaysEmitIntoClient
76 | internal var _EACCES: CInt { EACCES }
| `- error: cannot find 'EACCES' in scope
77 |
78 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:79:30: error: cannot find 'EFAULT' in scope
77 |
78 | @_alwaysEmitIntoClient
79 | internal var _EFAULT: CInt { EFAULT }
| `- error: cannot find 'EFAULT' in scope
80 |
81 | #if !os(Windows) && !os(WASI)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:87:29: error: cannot find 'EBUSY' in scope
85 |
86 | @_alwaysEmitIntoClient
87 | internal var _EBUSY: CInt { EBUSY }
| `- error: cannot find 'EBUSY' in scope
88 |
89 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:90:30: error: cannot find 'EEXIST' in scope
88 |
89 | @_alwaysEmitIntoClient
90 | internal var _EEXIST: CInt { EEXIST }
| `- error: cannot find 'EEXIST' in scope
91 |
92 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:93:29: error: cannot find 'EXDEV' in scope
91 |
92 | @_alwaysEmitIntoClient
93 | internal var _EXDEV: CInt { EXDEV }
| `- error: cannot find 'EXDEV' in scope
94 |
95 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:96:30: error: cannot find 'ENODEV' in scope
94 |
95 | @_alwaysEmitIntoClient
96 | internal var _ENODEV: CInt { ENODEV }
| `- error: cannot find 'ENODEV' in scope
97 |
98 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:99:31: error: cannot find 'ENOTDIR' in scope
97 |
98 | @_alwaysEmitIntoClient
99 | internal var _ENOTDIR: CInt { ENOTDIR }
| `- error: cannot find 'ENOTDIR' in scope
100 |
101 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:102:30: error: cannot find 'EISDIR' in scope
100 |
101 | @_alwaysEmitIntoClient
102 | internal var _EISDIR: CInt { EISDIR }
| `- error: cannot find 'EISDIR' in scope
103 |
104 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:105:30: error: cannot find 'EINVAL' in scope
103 |
104 | @_alwaysEmitIntoClient
105 | internal var _EINVAL: CInt { EINVAL }
| `- error: cannot find 'EINVAL' in scope
106 |
107 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:108:30: error: cannot find 'ENFILE' in scope
106 |
107 | @_alwaysEmitIntoClient
108 | internal var _ENFILE: CInt { ENFILE }
| `- error: cannot find 'ENFILE' in scope
109 |
110 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:111:30: error: cannot find 'EMFILE' in scope
109 |
110 | @_alwaysEmitIntoClient
111 | internal var _EMFILE: CInt { EMFILE }
| `- error: cannot find 'EMFILE' in scope
112 |
113 | #if !os(Windows)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:115:30: error: cannot find 'ENOTTY' in scope
113 | #if !os(Windows)
114 | @_alwaysEmitIntoClient
115 | internal var _ENOTTY: CInt { ENOTTY }
| `- error: cannot find 'ENOTTY' in scope
116 |
117 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:118:31: error: cannot find 'ETXTBSY' in scope
116 |
117 | @_alwaysEmitIntoClient
118 | internal var _ETXTBSY: CInt { ETXTBSY }
| `- error: cannot find 'ETXTBSY' in scope
119 | #endif
120 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:122:29: error: cannot find 'EFBIG' in scope
120 |
121 | @_alwaysEmitIntoClient
122 | internal var _EFBIG: CInt { EFBIG }
| `- error: cannot find 'EFBIG' in scope
123 |
124 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:125:30: error: cannot find 'ENOSPC' in scope
123 |
124 | @_alwaysEmitIntoClient
125 | internal var _ENOSPC: CInt { ENOSPC }
| `- error: cannot find 'ENOSPC' in scope
126 |
127 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:128:30: error: cannot find 'ESPIPE' in scope
126 |
127 | @_alwaysEmitIntoClient
128 | internal var _ESPIPE: CInt { ESPIPE }
| `- error: cannot find 'ESPIPE' in scope
129 |
130 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:131:29: error: cannot find 'EROFS' in scope
129 |
130 | @_alwaysEmitIntoClient
131 | internal var _EROFS: CInt { EROFS }
| `- error: cannot find 'EROFS' in scope
132 |
133 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:134:30: error: cannot find 'EMLINK' in scope
132 |
133 | @_alwaysEmitIntoClient
134 | internal var _EMLINK: CInt { EMLINK }
| `- error: cannot find 'EMLINK' in scope
135 |
136 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:137:29: error: cannot find 'EPIPE' in scope
135 |
136 | @_alwaysEmitIntoClient
137 | internal var _EPIPE: CInt { EPIPE }
| `- error: cannot find 'EPIPE' in scope
138 |
139 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:140:28: error: cannot find 'EDOM' in scope
138 |
139 | @_alwaysEmitIntoClient
140 | internal var _EDOM: CInt { EDOM }
| `- error: cannot find 'EDOM' in scope
141 |
142 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:143:30: error: cannot find 'ERANGE' in scope
141 |
142 | @_alwaysEmitIntoClient
143 | internal var _ERANGE: CInt { ERANGE }
| `- error: cannot find 'ERANGE' in scope
144 |
145 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:146:30: error: cannot find 'EAGAIN' in scope
144 |
145 | @_alwaysEmitIntoClient
146 | internal var _EAGAIN: CInt { EAGAIN }
| `- error: cannot find 'EAGAIN' in scope
147 |
148 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:151:3: error: cannot find '_getConst_EWOULDBLOCK' in scope
149 | internal var _EWOULDBLOCK: CInt {
150 | #if os(WASI)
151 | _getConst_EWOULDBLOCK()
| `- error: cannot find '_getConst_EWOULDBLOCK' in scope
152 | #else
153 | EWOULDBLOCK
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:158:35: error: cannot find 'EINPROGRESS' in scope
156 |
157 | @_alwaysEmitIntoClient
158 | internal var _EINPROGRESS: CInt { EINPROGRESS }
| `- error: cannot find 'EINPROGRESS' in scope
159 |
160 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:161:32: error: cannot find 'EALREADY' in scope
159 |
160 | @_alwaysEmitIntoClient
161 | internal var _EALREADY: CInt { EALREADY }
| `- error: cannot find 'EALREADY' in scope
162 |
163 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:164:32: error: cannot find 'ENOTSOCK' in scope
162 |
163 | @_alwaysEmitIntoClient
164 | internal var _ENOTSOCK: CInt { ENOTSOCK }
| `- error: cannot find 'ENOTSOCK' in scope
165 |
166 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:167:36: error: cannot find 'EDESTADDRREQ' in scope
165 |
166 | @_alwaysEmitIntoClient
167 | internal var _EDESTADDRREQ: CInt { EDESTADDRREQ }
| `- error: cannot find 'EDESTADDRREQ' in scope
168 |
169 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:170:32: error: cannot find 'EMSGSIZE' in scope
168 |
169 | @_alwaysEmitIntoClient
170 | internal var _EMSGSIZE: CInt { EMSGSIZE }
| `- error: cannot find 'EMSGSIZE' in scope
171 |
172 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:173:34: error: cannot find 'EPROTOTYPE' in scope
171 |
172 | @_alwaysEmitIntoClient
173 | internal var _EPROTOTYPE: CInt { EPROTOTYPE }
| `- error: cannot find 'EPROTOTYPE' in scope
174 |
175 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:176:35: error: cannot find 'ENOPROTOOPT' in scope
174 |
175 | @_alwaysEmitIntoClient
176 | internal var _ENOPROTOOPT: CInt { ENOPROTOOPT }
| `- error: cannot find 'ENOPROTOOPT' in scope
177 |
178 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:179:39: error: cannot find 'EPROTONOSUPPORT' in scope
177 |
178 | @_alwaysEmitIntoClient
179 | internal var _EPROTONOSUPPORT: CInt { EPROTONOSUPPORT }
| `- error: cannot find 'EPROTONOSUPPORT' in scope
180 |
181 | #if !os(WASI)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:197:10: error: cannot find 'ENOTSUP' in scope
195 | return WSAEOPNOTSUPP
196 | #else
197 | return ENOTSUP
| `- error: cannot find 'ENOTSUP' in scope
198 | #endif
199 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:213:36: error: cannot find 'EAFNOSUPPORT' in scope
211 |
212 | @_alwaysEmitIntoClient
213 | internal var _EAFNOSUPPORT: CInt { EAFNOSUPPORT }
| `- error: cannot find 'EAFNOSUPPORT' in scope
214 |
215 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:216:34: error: cannot find 'EADDRINUSE' in scope
214 |
215 | @_alwaysEmitIntoClient
216 | internal var _EADDRINUSE: CInt { EADDRINUSE }
| `- error: cannot find 'EADDRINUSE' in scope
217 |
218 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:219:37: error: cannot find 'EADDRNOTAVAIL' in scope
217 |
218 | @_alwaysEmitIntoClient
219 | internal var _EADDRNOTAVAIL: CInt { EADDRNOTAVAIL }
| `- error: cannot find 'EADDRNOTAVAIL' in scope
220 |
221 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:222:32: error: cannot find 'ENETDOWN' in scope
220 |
221 | @_alwaysEmitIntoClient
222 | internal var _ENETDOWN: CInt { ENETDOWN }
| `- error: cannot find 'ENETDOWN' in scope
223 |
224 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:225:35: error: cannot find 'ENETUNREACH' in scope
223 |
224 | @_alwaysEmitIntoClient
225 | internal var _ENETUNREACH: CInt { ENETUNREACH }
| `- error: cannot find 'ENETUNREACH' in scope
226 |
227 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:228:33: error: cannot find 'ENETRESET' in scope
226 |
227 | @_alwaysEmitIntoClient
228 | internal var _ENETRESET: CInt { ENETRESET }
| `- error: cannot find 'ENETRESET' in scope
229 |
230 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:231:36: error: cannot find 'ECONNABORTED' in scope
229 |
230 | @_alwaysEmitIntoClient
231 | internal var _ECONNABORTED: CInt { ECONNABORTED }
| `- error: cannot find 'ECONNABORTED' in scope
232 |
233 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:234:34: error: cannot find 'ECONNRESET' in scope
232 |
233 | @_alwaysEmitIntoClient
234 | internal var _ECONNRESET: CInt { ECONNRESET }
| `- error: cannot find 'ECONNRESET' in scope
235 |
236 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:237:31: error: cannot find 'ENOBUFS' in scope
235 |
236 | @_alwaysEmitIntoClient
237 | internal var _ENOBUFS: CInt { ENOBUFS }
| `- error: cannot find 'ENOBUFS' in scope
238 |
239 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:240:31: error: cannot find 'EISCONN' in scope
238 |
239 | @_alwaysEmitIntoClient
240 | internal var _EISCONN: CInt { EISCONN }
| `- error: cannot find 'EISCONN' in scope
241 |
242 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:243:32: error: cannot find 'ENOTCONN' in scope
241 |
242 | @_alwaysEmitIntoClient
243 | internal var _ENOTCONN: CInt { ENOTCONN }
| `- error: cannot find 'ENOTCONN' in scope
244 |
245 | #if !os(WASI)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:266:33: error: cannot find 'ETIMEDOUT' in scope
264 |
265 | @_alwaysEmitIntoClient
266 | internal var _ETIMEDOUT: CInt { ETIMEDOUT }
| `- error: cannot find 'ETIMEDOUT' in scope
267 |
268 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:269:36: error: cannot find 'ECONNREFUSED' in scope
267 |
268 | @_alwaysEmitIntoClient
269 | internal var _ECONNREFUSED: CInt { ECONNREFUSED }
| `- error: cannot find 'ECONNREFUSED' in scope
270 |
271 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:272:29: error: cannot find 'ELOOP' in scope
270 |
271 | @_alwaysEmitIntoClient
272 | internal var _ELOOP: CInt { ELOOP }
| `- error: cannot find 'ELOOP' in scope
273 |
274 | @_alwaysEmitIntoClient
BUILD FAILURE 6.2 wasm