Build Information
Failed to build AmplifyUIAuthenticator, reference main (2d390e), with Swift 6.2 for Wasm on 30 Jan 2026 00:24:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/aws-amplify/amplify-ui-swift-authenticator.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/aws-amplify/amplify-ui-swift-authenticator
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2d390e8 chore: fix UI integration test failure (#116)
Cloned https://github.com/aws-amplify/amplify-ui-swift-authenticator.git
Revision (git rev-parse @):
2d390e86f012927576f38a53b35687cb2cb5fcdd
SUCCESS checkout https://github.com/aws-amplify/amplify-ui-swift-authenticator.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/aws-amplify/amplify-ui-swift-authenticator.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
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/aws-amplify/amplify-swift
[1/168181] Fetching amplify-swift
Fetched https://github.com/aws-amplify/amplify-swift from cache (12.91s)
Computing version for https://github.com/aws-amplify/amplify-swift
Computed https://github.com/aws-amplify/amplify-swift at 2.53.3 (14.41s)
Fetching https://github.com/stephencelis/SQLite.swift.git
Fetching https://github.com/awslabs/aws-sdk-swift
Fetching https://github.com/aws-amplify/amplify-swift-utils-notifications.git
[1/10425] Fetching sqlite.swift
[2/10978] Fetching sqlite.swift, amplify-swift-utils-notifications
Fetched https://github.com/aws-amplify/amplify-swift-utils-notifications.git from cache (2.40s)
[1/888440] Fetching aws-sdk-swift
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (230.98s)
Fetched https://github.com/awslabs/aws-sdk-swift from cache (234.97s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
warning: 'sqlite.swift': /Package.swift:7:15: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
5 | name: "SQLite.swift",
6 | platforms: [
7 | .iOS(.v11),
| `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
8 | .macOS(.v10_13),
9 | .watchOS(.v4),
/Package.swift:10:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
8 | .macOS(.v10_13),
9 | .watchOS(.v4),
10 | .tvOS(.v11),
| `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
11 | .visionOS(.v1)
12 | ],
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/stephencelis/SQLite.swift.git at 0.15.3 (235.34s)
Fetching https://github.com/stephencelis/CSQLite.git
[1/200] Fetching csqlite
Fetched https://github.com/stephencelis/CSQLite.git from cache (0.67s)
Computing version for https://github.com/awslabs/aws-sdk-swift
Computed https://github.com/awslabs/aws-sdk-swift at 1.6.7 (10.69s)
Fetching https://github.com/smithy-lang/smithy-swift
Fetching https://github.com/awslabs/aws-crt-swift
[1/32738] Fetching aws-crt-swift
[8513/108948] Fetching aws-crt-swift, smithy-swift
Fetched https://github.com/awslabs/aws-crt-swift from cache (1.39s)
Fetched https://github.com/smithy-lang/smithy-swift from cache (1.60s)
Computing version for https://github.com/stephencelis/CSQLite.git
Computed https://github.com/stephencelis/CSQLite.git at 0.0.3 (3.68s)
Computing version for https://github.com/awslabs/aws-crt-swift
Computed https://github.com/awslabs/aws-crt-swift at 0.54.2 (0.42s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/17132] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.60s)
Computing version for https://github.com/smithy-lang/smithy-swift
Computed https://github.com/smithy-lang/smithy-swift at 0.175.0 (1.17s)
Fetching https://github.com/open-telemetry/opentelemetry-swift
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-log.git
[1/5878] Fetching swift-log
[589/25646] Fetching swift-log, opentelemetry-swift
[9438/40431] Fetching swift-log, opentelemetry-swift, async-http-client
Fetched https://github.com/open-telemetry/opentelemetry-swift from cache (0.76s)
Fetched https://github.com/apple/swift-log.git from cache (0.88s)
Fetched https://github.com/swift-server/async-http-client.git from cache (0.88s)
Computing version for https://github.com/aws-amplify/amplify-swift-utils-notifications.git
Computed https://github.com/aws-amplify/amplify-swift-utils-notifications.git at 1.1.1 (1.28s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.0 (0.36s)
Computing version for https://github.com/open-telemetry/opentelemetry-swift
Computed https://github.com/open-telemetry/opentelemetry-swift at 1.17.1 (0.49s)
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/apple/swift-protobuf.git
[1/2559] Fetching swift-metrics
[820/4379] Fetching swift-metrics, swift-atomics
[3161/55768] Fetching swift-metrics, swift-atomics, grpc-swift
Fetched https://github.com/apple/swift-metrics.git from cache (0.42s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.42s)
[4626/51389] Fetching grpc-swift
[7196/133193] Fetching grpc-swift, swift-nio
[133194/175338] Fetching grpc-swift, swift-nio, swift-protobuf
Fetched https://github.com/grpc/grpc-swift.git from cache (13.43s)
Fetched https://github.com/apple/swift-protobuf.git from cache (13.47s)
Fetched https://github.com/apple/swift-nio.git from cache (13.50s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (16.40s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.26.1 (3.08s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2809] Fetching swift-nio-transport-services
[2810/9246] Fetching swift-nio-transport-services, swift-nio-extras
[9247/24542] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-ssl
[9248/36266] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-ssl, swift-nio-http2
[11409/55325] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-ssl, swift-nio-http2, swift-collections
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (5.46s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (5.47s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (6.32s)
Fetched https://github.com/apple/swift-collections.git from cache (6.35s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (6.35s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.1 (8.51s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.39.0 (1.80s)
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.37s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.9.1 (0.55s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.33.3 (0.41s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.69s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.32.1 (0.49s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/951] Fetching swift-http-types
[163/3519] Fetching swift-http-types, swift-service-lifecycle
[2622/5211] Fetching swift-http-types, swift-service-lifecycle, swift-asn1
[5094/12298] Fetching swift-http-types, swift-service-lifecycle, swift-asn1, swift-certificates
[5425/18359] Fetching swift-http-types, swift-service-lifecycle, swift-asn1, swift-certificates, swift-async-algorithms
[6275/24411] Fetching swift-http-types, swift-service-lifecycle, swift-asn1, swift-certificates, swift-async-algorithms, swift-algorithms
Fetched https://github.com/apple/swift-asn1.git from cache (0.48s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.51s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.51s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.51s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.51s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.52s)
[1/1204] Fetching swift-http-structured-headers
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.21s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.94.0 (1.47s)
Fetching https://github.com/apple/swift-system.git
[1/5542] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.42s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.77s)
Fetching https://github.com/apple/swift-numerics.git
[1/6403] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.40s)
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.72s)
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.52s)
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.41s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (2.06s)
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.34s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.17.1 (0.46s)
Fetching https://github.com/apple/swift-crypto.git
[1/17505] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.86s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (2.17s)
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.32s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.40s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (1.00s)
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.3 (0.35s)
Fetching https://github.com/apple/swift-distributed-tracing.git
[1/5642] Fetching swift-distributed-tracing
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.40s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.1 (0.76s)
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.23s)
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.54s)
Creating working copy for https://github.com/aws-amplify/amplify-swift-utils-notifications.git
Working copy of https://github.com/aws-amplify/amplify-swift-utils-notifications.git resolved at 1.1.1
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.26.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.9.1
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/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/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.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.3
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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.1
Creating working copy for https://github.com/stephencelis/CSQLite.git
Working copy of https://github.com/stephencelis/CSQLite.git resolved at 0.0.3
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-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.32.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.1
Creating working copy for https://github.com/awslabs/aws-sdk-swift
Working copy of https://github.com/awslabs/aws-sdk-swift resolved at 1.6.7
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/stephencelis/SQLite.swift.git
Working copy of https://github.com/stephencelis/SQLite.swift.git resolved at 0.15.3
Creating working copy for https://github.com/smithy-lang/smithy-swift
Working copy of https://github.com/smithy-lang/smithy-swift resolved at 0.175.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/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/open-telemetry/opentelemetry-swift
Working copy of https://github.com/open-telemetry/opentelemetry-swift resolved at 1.17.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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.94.0
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-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/awslabs/aws-crt-swift
Working copy of https://github.com/awslabs/aws-crt-swift resolved at 0.54.2
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/aws-amplify/amplify-swift
Working copy of https://github.com/aws-amplify/amplify-swift resolved at 2.53.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-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-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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
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.4
warning: 'sqlite.swift': /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Package.swift:7:15: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
5 | name: "SQLite.swift",
6 | platforms: [
7 | .iOS(.v11),
| `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
8 | .macOS(.v10_13),
9 | .watchOS(.v4),
/host/spi-builder-workspace/.build/checkouts/SQLite.swift/Package.swift:10:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
8 | .macOS(.v10_13),
9 | .watchOS(.v4),
10 | .tvOS(.v11),
| `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
11 | .visionOS(.v1)
12 | ],
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
warning: 'csqlite': ignoring declared target(s) 'CSQLite' in the system package
warning: you may be able to install libcrypto using your system-packager:
apt-get install openssl libssl-dev
warning: you may be able to install libcrypto using your system-packager:
apt-get install openssl libssl-dev
warning: 'amplify-swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Core/AWSPluginsCore/WebSocket/README.md
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
/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>
[3/3] Compiling plugin SwiftProtobufPlugin
[4/4] Compiling plugin GRPCSwiftPlugin
Building for debugging...
[4/448] Write sources
[4/448] Copying Localizable.strings
[4/448] Write sources
[4/448] Copying Info.plist
[4/448] Write sources
[4/448] Copying PrivacyInfo.xcprivacy
[4/448] Write sources
[24/448] Copying PrivacyInfo.xcprivacy
[25/448] Compiling libtommathAmplify amplify_bn_mp_div_3.c
[26/448] Compiling libtommathAmplify amplify_bn_mp_submod.c
[27/448] Compiling libtommathAmplify amplify_bn_mp_sub_d.c
[28/448] Compiling libtommathAmplify amplify_bn_mp_sub.c
[29/448] Compiling libtommathAmplify amplify_bn_s_mp_karatsuba_mul.c
[30/448] Compiling libtommathAmplify amplify_bn_s_mp_toom_sqr.c
[31/448] Compiling libtommathAmplify amplify_bn_s_mp_reverse.c
[32/448] Compiling libtommathAmplify amplify_bn_s_mp_sub.c
[33/448] Compiling libtommathAmplify amplify_bn_s_mp_sqr_fast.c
[34/448] Compiling libtommathAmplify amplify_bn_s_mp_sqr.c
[35/448] Compiling libtommathAmplify amplify_bn_s_mp_toom_mul.c
In file included from /host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/AmplifyAvailability/AmplityAvailability.c:8:
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/AmplifyAvailability/include/AmplifyAvailability.h:11:10: fatal error: 'TargetConditionals.h' file not found
11 | #include <TargetConditionals.h>
| ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[36/448] Compiling AmplifyAvailability AmplityAvailability.c
[36/448] Compiling libtommathAmplify amplify_bn_s_mp_prime_is_divisible.c
[36/448] Write swift-version-24593BA9C3E375BF.txt
[36/448] Compiling libtommathAmplify amplify_bn_s_mp_mul_high_digs_fast.c
[36/448] Compiling libtommathAmplify amplify_bn_s_mp_rand_platform.c
[36/448] Compiling libtommathAmplify amplify_bn_s_mp_mul_digs_fast.c
[36/448] Compiling libtommathAmplify amplify_bn_s_mp_mul_high_digs.c
[36/448] Compiling libtommathAmplify amplify_bn_s_mp_rand_jenkins.c
BUILD FAILURE 6.2 wasm