Build Information
Failed to build AmplifyUIAuthenticator, reference main (839cd9
), with Swift 6.2 (beta) for Wasm on 5 Sep 2025 21:45:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
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 839cd90 chore: fix code scanning alerts (#109)
Cloned https://github.com/aws-amplify/amplify-ui-swift-authenticator.git
Revision (git rev-parse @):
839cd908834d105e254b75d6d9c6b6e540208031
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-3":/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-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/aws-amplify/amplify-swift
[1/165090] Fetching amplify-swift
Fetched https://github.com/aws-amplify/amplify-swift from cache (16.85s)
Computing version for https://github.com/aws-amplify/amplify-swift
Computed https://github.com/aws-amplify/amplify-swift at 2.50.0 (18.52s)
Fetching https://github.com/aws-amplify/amplify-swift-utils-notifications.git
Fetching https://github.com/awslabs/aws-sdk-swift
Fetching https://github.com/stephencelis/SQLite.swift.git
[1/529] Fetching amplify-swift-utils-notifications
[530/10587] Fetching amplify-swift-utils-notifications, sqlite.swift
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (1.71s)
[1/801771] Fetching aws-sdk-swift
Fetched https://github.com/aws-amplify/amplify-swift-utils-notifications.git from cache (234.20s)
Fetched https://github.com/awslabs/aws-sdk-swift from cache (240.51s)
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 (244.18s)
Fetching https://github.com/stephencelis/CSQLite.git
[1/19] Fetching csqlite
Fetched https://github.com/stephencelis/CSQLite.git from cache (3.31s)
Computing version for https://github.com/awslabs/aws-sdk-swift
Computed https://github.com/awslabs/aws-sdk-swift at 1.5.14 (7.77s)
Fetching https://github.com/smithy-lang/smithy-swift
Fetching https://github.com/awslabs/aws-crt-swift
[1/32110] Fetching aws-crt-swift
[8350/103852] Fetching aws-crt-swift, smithy-swift
Fetched https://github.com/awslabs/aws-crt-swift from cache (4.76s)
Fetched https://github.com/smithy-lang/smithy-swift from cache (4.76s)
Computing version for https://github.com/stephencelis/CSQLite.git
Computed https://github.com/stephencelis/CSQLite.git at 0.0.3 (9.29s)
Computing version for https://github.com/awslabs/aws-crt-swift
Computed https://github.com/awslabs/aws-crt-swift at 0.52.1 (2.34s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/15692] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.99s)
Computing version for https://github.com/smithy-lang/smithy-swift
Computed https://github.com/smithy-lang/smithy-swift at 0.151.0 (5.22s)
Fetching https://github.com/open-telemetry/opentelemetry-swift
Fetching https://github.com/apple/swift-log.git
[1/18032] Fetching opentelemetry-swift
[362/21935] Fetching opentelemetry-swift, swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.84s)
Fetched https://github.com/open-telemetry/opentelemetry-swift from cache (1.84s)
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 (3.87s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (2.01s)
Computing version for https://github.com/open-telemetry/opentelemetry-swift
Computed https://github.com/open-telemetry/opentelemetry-swift at 1.17.1 (2.05s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/grpc/grpc-swift.git
[1/1814] Fetching swift-atomics
[2/4164] Fetching swift-atomics, swift-metrics
[4165/55461] Fetching swift-atomics, swift-metrics, grpc-swift
[14425/133493] Fetching swift-atomics, swift-metrics, grpc-swift, swift-nio
[97600/173639] Fetching swift-atomics, swift-metrics, grpc-swift, swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-metrics.git from cache (7.52s)
Fetched https://github.com/apple/swift-atomics.git from cache (7.52s)
Fetched https://github.com/grpc/grpc-swift.git from cache (7.55s)
Fetched https://github.com/apple/swift-nio.git from cache (7.65s)
Fetched https://github.com/apple/swift-protobuf.git from cache (7.70s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (9.98s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.45s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.26.1 (0.71s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-extras.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-collections.git
[1/2698] Fetching swift-nio-transport-services
[2/8825] Fetching swift-nio-transport-services, swift-nio-extras
[7172/20486] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2
[11159/37880] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-collections
[13132/52955] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-collections, swift-nio-ssl
Fetched https://github.com/apple/swift-collections.git from cache (1.66s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (2.13s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (2.13s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.13s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.15s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (2.57s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.31.0 (0.37s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.1 (0.45s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.53s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (0.88s)
Fetching https://github.com/apple/swift-system.git
[1/4941] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.44s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (1.03s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (0.83s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
[1/1176] Fetching swift-http-structured-headers
[425/7637] Fetching swift-http-structured-headers, swift-certificates
[426/13622] Fetching swift-http-structured-headers, swift-certificates, swift-algorithms
[670/15251] Fetching swift-http-structured-headers, swift-certificates, swift-algorithms, swift-asn1
[796/20441] Fetching swift-http-structured-headers, swift-certificates, swift-algorithms, swift-asn1, swift-async-algorithms
[1232/22911] Fetching swift-http-structured-headers, swift-certificates, swift-algorithms, swift-asn1, swift-async-algorithms, swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.92s)
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.95s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.95s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.95s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.96s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.97s)
[1/917] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.37s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (2.20s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.79s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.41s)
Fetching https://github.com/apple/swift-numerics.git
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.48s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.90s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.39s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.13.0 (0.60s)
Fetching https://github.com/apple/swift-crypto.git
[1/16374] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.36s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.4.0 (2.85s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (0.36s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.34.0 (0.59s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.67s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.0 (1.13s)
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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.0
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.151.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.2.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.25.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.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.31.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.2
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-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.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.50.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.34.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.8.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.38.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.6.4
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.13.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.52.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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.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.0
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/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/awslabs/aws-sdk-swift
Working copy of https://github.com/awslabs/aws-sdk-swift resolved at 1.5.14
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.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.29.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-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
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.0.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>
Downloading binary artifact https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
[1397/15500663] Downloading https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
Downloaded https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip (1.72s)
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
[3/3] Compiling plugin SwiftProtobufPlugin
[4/4] Compiling plugin GRPCSwiftPlugin
Building for debugging...
[4/440] Write sources
[4/440] Copying Localizable.strings
[4/440] Write sources
[7/440] Copying Info.plist
[7/440] Write sources
[7/440] Copying PrivacyInfo.xcprivacy
[11/440] Compiling libtommathAmplify amplify_bn_s_mp_sub.c
[12/440] Compiling libtommathAmplify amplify_bn_s_mp_toom_sqr.c
[13/440] Compiling libtommathAmplify amplify_bn_s_mp_toom_mul.c
[13/440] Compiling libtommathAmplify amplify_bn_s_mp_sqr.c
[15/440] Compiling libtommathAmplify amplify_bn_s_mp_sqr_fast.c
[16/440] Compiling libtommathAmplify amplify_bn_s_mp_reverse.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.
[17/440] Write swift-version-24593BA9C3E375BF.txt
[18/440] Compiling AmplifyAvailability AmplityAvailability.c
[18/440] Compiling libtommathAmplify amplify_bn_s_mp_rand_platform.c
[18/440] Compiling libtommathAmplify amplify_bn_s_mp_rand_jenkins.c
[18/440] Compiling libtommathAmplify amplify_bn_s_mp_mul_high_digs_fast.c
[18/440] Compiling libtommathAmplify amplify_bn_s_mp_mul_digs.c
[18/440] Compiling libtommathAmplify amplify_bn_s_mp_prime_is_divisible.c
[18/440] Compiling libtommathAmplify amplify_bn_s_mp_mul_digs_fast.c
[18/440] Compiling libtommathAmplify amplify_bn_s_mp_mul_high_digs.c
BUILD FAILURE 6.2 wasm