Build Information
Failed to build ZcashLightClientKit, reference main (4e4ddd), with Swift 6.2 for Wasm on 9 Dec 2025 19:10:14 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/Electric-Coin-Company/zcash-swift-wallet-sdk.git
Reference: main
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/Electric-Coin-Company/zcash-swift-wallet-sdk
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4e4ddd1 Merge pull request #1627 from LukasKorba/1626-Delete-Specific-Account
Cloned https://github.com/Electric-Coin-Company/zcash-swift-wallet-sdk.git
Revision (git rev-parse @):
4e4ddd180ca670a90b889d396a03635caf676dea
SUCCESS checkout https://github.com/Electric-Coin-Company/zcash-swift-wallet-sdk.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/Electric-Coin-Company/zcash-swift-wallet-sdk.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/Electric-Coin-Company/zcash-light-client-ffi
Fetching https://github.com/stephencelis/SQLite.swift.git
Fetching https://github.com/grpc/grpc-swift.git
[1/10087] Fetching sqlite.swift
[1716/61476] Fetching sqlite.swift, grpc-swift
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (2.57s)
Fetched https://github.com/grpc/grpc-swift.git from cache (2.60s)
[1/3714] Fetching zcash-light-client-ffi
Fetched https://github.com/Electric-Coin-Company/zcash-light-client-ffi from cache (149.80s)
Computing version for https://github.com/Electric-Coin-Company/zcash-light-client-ffi
Computed https://github.com/Electric-Coin-Company/zcash-light-client-ffi at 0.19.1 (163.01s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.15.4 (5.41s)
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
[1/204] Fetching swift-toolchain-sqlite
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (6.35s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.4 (11.81s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.27.1 (4.84s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-collections.git
[1/2809] Fetching swift-nio-transport-services
[2810/21174] Fetching swift-nio-transport-services, swift-collections
[3178/36462] Fetching swift-nio-transport-services, swift-collections, swift-nio-ssl
Fetching https://github.com/apple/swift-nio-extras.git
[13704/42825] Fetching swift-nio-transport-services, swift-collections, swift-nio-ssl, swift-nio-extras
[28846/84345] Fetching swift-nio-transport-services, swift-collections, swift-nio-ssl, swift-nio-extras, swift-protobuf
Fetched https://github.com/apple/swift-nio-extras.git from cache (2.80s)
Fetching https://github.com/apple/swift-nio-http2.git
[43936/77982] Fetching swift-nio-transport-services, swift-collections, swift-nio-ssl, swift-protobuf
[67603/79802] Fetching swift-nio-transport-services, swift-collections, swift-nio-ssl, swift-protobuf, swift-atomics
[67676/91520] Fetching swift-nio-transport-services, swift-collections, swift-nio-ssl, swift-protobuf, swift-atomics, swift-nio-http2
Fetched https://github.com/apple/swift-collections.git from cache (6.54s)
Fetching https://github.com/apple/swift-log.git
[58203/73155] Fetching swift-nio-transport-services, swift-nio-ssl, swift-protobuf, swift-atomics, swift-nio-http2
[73156/78874] Fetching swift-nio-transport-services, swift-nio-ssl, swift-protobuf, swift-atomics, swift-nio-http2, swift-log
Fetched https://github.com/apple/swift-log.git from cache (7.35s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-nio-http2.git from cache (12.62s)
Fetched https://github.com/apple/swift-atomics.git from cache (16.55s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (16.55s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (16.59s)
Fetched https://github.com/apple/swift-protobuf.git from cache (16.65s)
[1/80662] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (14.14s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (30.64s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.39.0 (3.62s)
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 (6.63s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.33.3 (8.07s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (2.52s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.31.2 (4.67s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/1667] Fetching swift-asn1
[202/2618] Fetching swift-asn1, swift-http-types
[1514/5186] Fetching swift-asn1, swift-http-types, swift-service-lifecycle
[3708/12226] Fetching swift-asn1, swift-http-types, swift-service-lifecycle, swift-certificates
[3750/18034] Fetching swift-asn1, swift-http-types, swift-service-lifecycle, swift-certificates, swift-async-algorithms
[7436/24075] Fetching swift-asn1, swift-http-types, swift-service-lifecycle, swift-certificates, swift-async-algorithms, swift-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.43s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetched https://github.com/apple/swift-http-types.git from cache (1.76s)
Fetched https://github.com/apple/swift-asn1.git from cache (1.76s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.76s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.76s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.76s)
[1/1204] Fetching swift-http-structured-headers
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.92s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (3.93s)
Fetching https://github.com/apple/swift-numerics.git
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.52s)
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 (0.95s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.1 (0.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 (0.45s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.7.1 (0.36s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (0.46s)
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.37s)
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-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (0.43s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.17.0 (0.85s)
Fetching https://github.com/apple/swift-crypto.git
[1/17465] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.05s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.91.0 (3.12s)
Fetching https://github.com/apple/swift-system.git
[1/5221] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.45s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (0.93s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (1.56s)
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/swiftlang/swift-toolchain-sqlite
Working copy of https://github.com/swiftlang/swift-toolchain-sqlite resolved at 1.0.4
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/Electric-Coin-Company/zcash-light-client-ffi
Working copy of https://github.com/Electric-Coin-Company/zcash-light-client-ffi resolved at 0.19.1
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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.17.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.7.1
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-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-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.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-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.31.2
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.1
Creating working copy for https://github.com/stephencelis/SQLite.swift.git
Working copy of https://github.com/stephencelis/SQLite.swift.git resolved at 0.15.4
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-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-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-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/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.27.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
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.91.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
warning: 'sqlite.swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/PrivacyInfo.xcprivacy
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:264:42: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL' [#DeprecatedDeclaration]
262 | }
263 |
264 | let workDirectory = PathLike(context.pluginWorkDirectory)
| |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL' [#DeprecatedDeclaration]
| `- note: use 'pluginWorkDirectoryURL' instead
265 |
266 | return try self.createBuildCommands(
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:287:18: warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
285 |
286 | init(_ path: String) {
287 | self.value = Path(path)
| `- warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
288 | }
289 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:291:26: warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
289 |
290 | init(_ element: FileList.Element) {
291 | self.value = element.path
| |- warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
| `- note: use 'url' instead
292 | }
293 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:295:26: warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
293 |
294 | init(_ element: PluginContext.Tool) {
295 | self.value = element.path
| |- warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
| `- note: use 'url' instead
296 | }
297 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:303:23: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
301 |
302 | var lastComponent: String {
303 | return self.value.lastComponent
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
304 | }
305 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:308:29: warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
306 | func removingLastComponent() -> Self {
307 | var copy = self
308 | copy.value = self.value.removingLastComponent()
| `- warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
309 | return copy
310 | }
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:314:29: warning: 'appending' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
312 | func appending(_ path: String) -> Self {
313 | var copy = self
314 | copy.value = self.value.appending(path)
| `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
315 | return copy
316 | }
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:327:17: warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
325 | outputFiles: [PathLike]
326 | ) -> PackagePlugin.Command {
327 | return Self.buildCommand(
| `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
328 | displayName: displayName,
329 | executable: executable.value,
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:339:35: warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
337 | extension URL {
338 | init(_ pathLike: PathLike) {
339 | self = URL(fileURLWithPath: "\(pathLike.value)")
| `- warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
340 | }
341 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1/1] Compiling plugin GRPCSwiftPlugin
/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>
[2/2] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[2/454] Write sources
[2/454] Copying cache.db
[2/454] Copying darkside_caches.db
[7/454] Copying darkside_data.db
[9/454] Copying txBase64String.txt
[9/454] Copying sandblasted_mainnet_block.json
[9/454] Copying PrivacyInfo.xcprivacy
[12/454] Write sources
[12/454] Copying sapling-output.params
[12/454] Write sources
[12/454] Copying txFromAndroidSDK.txt
[12/454] Write sources
[12/454] Copying integerOverflowJSON.json
[12/454] Write sources
[34/454] Compiling CNIOWindows WSAStartup.c
[35/454] Compiling _AtomicsShims.c
[36/454] Compiling CNIOWASI CNIOWASI.c
[36/454] Compiling CNIOWindows shim.c
[38/454] Copying test_data.db
[39/454] Copying sapling-spend.params
[40/454] Write swift-version-24593BA9C3E375BF.txt
[41/454] Copying checkpoints
[42/454] Compiling CNIOLinux liburing_shims.c
[43/454] Compiling CNIOPosix event_loop_id.c
[44/456] Compiling CNIOOpenBSD shim.c
[45/456] Compiling CNIOLinux shim.c
[46/456] Compiling CNIOLLHTTP c_nio_api.c
[47/456] Compiling CNIOLLHTTP c_nio_http.c
[48/456] Compiling CNIODarwin shim.c
[49/466] Compiling CNIOBoringSSLShims shims.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[51/466] 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)
[51/466] Compiling fiat_p256_adx_sqr.S
[52/466] Compiling fiat_p256_adx_mul.S
[53/466] Compiling fiat_curve25519_adx_square.S
[54/466] Compiling fiat_curve25519_adx_mul.S
error: emit-module command failed with exit code 1 (use -v to see invocation)
[56/466] 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: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/Logging.swift:1366:16: error: Unsupported runtime
1364 | let systemStderr = WASILibc.stderr!
1365 | #else
1366 | #error("Unsupported runtime")
| `- error: Unsupported runtime
1367 | #endif
1368 | return StdioOutputStream(file: systemStderr, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1386:16: error: Unsupported runtime
1384 | let systemStdout = WASILibc.stdout!
1385 | #else
1386 | #error("Unsupported runtime")
| `- error: Unsupported runtime
1387 | #endif
1388 | 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:912:32: error: 'Codable' is unavailable: unavailable in embedded Swift
910 | /// Log levels are ordered by their severity, with `.trace` being the least severe and
911 | /// `.critical` being the most severe.
912 | public enum Level: String, Codable, CaseIterable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
913 | /// Appropriate for messages that contain information normally of use only when
914 | /// 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:1305:56: error: cannot find type 'FILE' in scope
1303 | internal typealias CFilePointer = OpaquePointer
1304 | #else
1305 | internal typealias CFilePointer = UnsafeMutablePointer<FILE>
| `- error: cannot find type 'FILE' in scope
1306 | #endif
1307 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1368:40: error: cannot find 'systemStderr' in scope
1366 | #error("Unsupported runtime")
1367 | #endif
1368 | return StdioOutputStream(file: systemStderr, flushMode: .always)
| `- error: cannot find 'systemStderr' in scope
1369 | }()
1370 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1368:66: error: cannot infer contextual base in reference to member 'always'
1366 | #error("Unsupported runtime")
1367 | #endif
1368 | return StdioOutputStream(file: systemStderr, flushMode: .always)
| `- error: cannot infer contextual base in reference to member 'always'
1369 | }()
1370 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1388:40: error: cannot find 'systemStdout' in scope
1386 | #error("Unsupported runtime")
1387 | #endif
1388 | return StdioOutputStream(file: systemStdout, flushMode: .always)
| `- error: cannot find 'systemStdout' in scope
1389 | }()
1390 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1388:66: error: cannot infer contextual base in reference to member 'always'
1386 | #error("Unsupported runtime")
1387 | #endif
1388 | return StdioOutputStream(file: systemStdout, flushMode: .always)
| `- error: cannot infer contextual base in reference to member 'always'
1389 | }()
1390 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1322:13: error: cannot find 'flockfile' in scope
1320 | // no file locking on WASI
1321 | #else
1322 | flockfile(self.file)
| `- error: cannot find 'flockfile' in scope
1323 | #endif
1324 | defer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1333:17: error: cannot find 'fwrite' in scope
1331 | #endif
1332 | }
1333 | _ = fwrite(utf8Bytes.baseAddress!, 1, utf8Bytes.count, self.file)
| `- error: cannot find 'fwrite' in scope
1334 | if case .always = self.flushMode {
1335 | self.flush()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1342:13: error: cannot find 'fflush' in scope
1340 | /// Flush the underlying stream.
1341 | internal func flush() {
1342 | _ = fflush(self.file)
| `- error: cannot find 'fflush' in scope
1343 | }
1344 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1570:25: error: cannot find 'time' in scope
1568 | _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1569 | #else
1570 | var timestamp = time(nil)
| `- error: cannot find 'time' in scope
1571 | guard let localTime = localtime(×tamp) else {
1572 | return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1570:30: error: 'nil' requires a contextual type
1568 | _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1569 | #else
1570 | var timestamp = time(nil)
| `- error: 'nil' requires a contextual type
1571 | guard let localTime = localtime(×tamp) else {
1572 | return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1571:31: error: cannot find 'localtime' in scope
1569 | #else
1570 | var timestamp = time(nil)
1571 | guard let localTime = localtime(×tamp) else {
| `- error: cannot find 'localtime' in scope
1572 | return "<unknown>"
1573 | }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1574:9: error: cannot find 'strftime' in scope
1572 | return "<unknown>"
1573 | }
1574 | strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
| `- error: cannot find 'strftime' in scope
1575 | #endif
1576 | return buffer.withUnsafeBufferPointer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1713:54: error: 'description' is unavailable: unavailable in embedded Swift
1711 | switch self {
1712 | case .dictionary(let dict):
1713 | return dict.mapValues { $0.description }.description
| `- error: 'description' is unavailable: unavailable in embedded Swift
1714 | case .array(let list):
1715 | 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:1715:48: error: 'description' is unavailable: unavailable in embedded Swift
1713 | return dict.mapValues { $0.description }.description
1714 | case .array(let list):
1715 | return list.map { $0.description }.description
| `- error: 'description' is unavailable: unavailable in embedded Swift
1716 | case .string(let str):
1717 | 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)
[57/466] 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 |
[58/466] Compiling _NIODataStructures Heap.swift
/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)
[59/466] Emitting module InternalCollectionsUtilities
/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: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/Logging.swift:1366:16: error: Unsupported runtime
1364 | let systemStderr = WASILibc.stderr!
1365 | #else
1366 | #error("Unsupported runtime")
| `- error: Unsupported runtime
1367 | #endif
1368 | return StdioOutputStream(file: systemStderr, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1386:16: error: Unsupported runtime
1384 | let systemStdout = WASILibc.stdout!
1385 | #else
1386 | #error("Unsupported runtime")
| `- error: Unsupported runtime
1387 | #endif
1388 | 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:912:32: error: 'Codable' is unavailable: unavailable in embedded Swift
910 | /// Log levels are ordered by their severity, with `.trace` being the least severe and
911 | /// `.critical` being the most severe.
912 | public enum Level: String, Codable, CaseIterable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
913 | /// Appropriate for messages that contain information normally of use only when
914 | /// 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:1305:56: error: cannot find type 'FILE' in scope
1303 | internal typealias CFilePointer = OpaquePointer
1304 | #else
1305 | internal typealias CFilePointer = UnsafeMutablePointer<FILE>
| `- error: cannot find type 'FILE' in scope
1306 | #endif
1307 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1368:40: error: cannot find 'systemStderr' in scope
1366 | #error("Unsupported runtime")
1367 | #endif
1368 | return StdioOutputStream(file: systemStderr, flushMode: .always)
| `- error: cannot find 'systemStderr' in scope
1369 | }()
1370 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1368:66: error: cannot infer contextual base in reference to member 'always'
1366 | #error("Unsupported runtime")
1367 | #endif
1368 | return StdioOutputStream(file: systemStderr, flushMode: .always)
| `- error: cannot infer contextual base in reference to member 'always'
1369 | }()
1370 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1388:40: error: cannot find 'systemStdout' in scope
1386 | #error("Unsupported runtime")
1387 | #endif
1388 | return StdioOutputStream(file: systemStdout, flushMode: .always)
| `- error: cannot find 'systemStdout' in scope
1389 | }()
1390 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1388:66: error: cannot infer contextual base in reference to member 'always'
1386 | #error("Unsupported runtime")
1387 | #endif
1388 | return StdioOutputStream(file: systemStdout, flushMode: .always)
| `- error: cannot infer contextual base in reference to member 'always'
1389 | }()
1390 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1322:13: error: cannot find 'flockfile' in scope
1320 | // no file locking on WASI
1321 | #else
1322 | flockfile(self.file)
| `- error: cannot find 'flockfile' in scope
1323 | #endif
1324 | defer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1333:17: error: cannot find 'fwrite' in scope
1331 | #endif
1332 | }
1333 | _ = fwrite(utf8Bytes.baseAddress!, 1, utf8Bytes.count, self.file)
| `- error: cannot find 'fwrite' in scope
1334 | if case .always = self.flushMode {
1335 | self.flush()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1342:13: error: cannot find 'fflush' in scope
1340 | /// Flush the underlying stream.
1341 | internal func flush() {
1342 | _ = fflush(self.file)
| `- error: cannot find 'fflush' in scope
1343 | }
1344 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1570:25: error: cannot find 'time' in scope
1568 | _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1569 | #else
1570 | var timestamp = time(nil)
| `- error: cannot find 'time' in scope
1571 | guard let localTime = localtime(×tamp) else {
1572 | return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1570:30: error: 'nil' requires a contextual type
1568 | _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1569 | #else
1570 | var timestamp = time(nil)
| `- error: 'nil' requires a contextual type
1571 | guard let localTime = localtime(×tamp) else {
1572 | return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1571:31: error: cannot find 'localtime' in scope
1569 | #else
1570 | var timestamp = time(nil)
1571 | guard let localTime = localtime(×tamp) else {
| `- error: cannot find 'localtime' in scope
1572 | return "<unknown>"
1573 | }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1574:9: error: cannot find 'strftime' in scope
1572 | return "<unknown>"
1573 | }
1574 | strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
| `- error: cannot find 'strftime' in scope
1575 | #endif
1576 | return buffer.withUnsafeBufferPointer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1713:54: error: 'description' is unavailable: unavailable in embedded Swift
1711 | switch self {
1712 | case .dictionary(let dict):
1713 | return dict.mapValues { $0.description }.description
| `- error: 'description' is unavailable: unavailable in embedded Swift
1714 | case .array(let list):
1715 | 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 |
[59/466] Compiling CNIOLLHTTP c_nio_llhttp.c
[59/466] Compiling tls_record.cc
BUILD FAILURE 6.2 wasm