Build Information
Failed to build Amplify, reference 2.50.1-unstable.4 (fa5907
), with Swift 6.2 (beta) for Android on 11 Sep 2025 02:52:29 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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aws-amplify/amplify-swift.git
Reference: 2.50.1-unstable.4
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-swift
* tag 2.50.1-unstable.4 -> FETCH_HEAD
HEAD is now at fa5907b chore: fix integration tests #4052
Cloned https://github.com/aws-amplify/amplify-swift.git
Revision (git rev-parse @):
fa5907b13c571ef0c4b5ba10f01dc4ce730ddec8
SUCCESS checkout https://github.com/aws-amplify/amplify-swift.git at 2.50.1-unstable.4
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/aws-amplify/amplify-swift.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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/stephencelis/SQLite.swift.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/aws-amplify/amplify-swift-utils-notifications.git
Fetching https://github.com/awslabs/aws-sdk-swift
[1/1257] Fetching cwlpreconditiontesting
[454/1786] Fetching cwlpreconditiontesting, amplify-swift-utils-notifications
[1787/11844] Fetching cwlpreconditiontesting, amplify-swift-utils-notifications, sqlite.swift
Fetched https://github.com/aws-amplify/amplify-swift-utils-notifications.git from cache (0.27s)
[2062/11315] Fetching cwlpreconditiontesting, sqlite.swift
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.83s)
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (0.84s)
[1/806889] Fetching aws-sdk-swift
Fetched https://github.com/awslabs/aws-sdk-swift from cache (309.27s)
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 (312.35s)
Fetching https://github.com/stephencelis/CSQLite.git
[1/19] Fetching csqlite
Fetched https://github.com/stephencelis/CSQLite.git from cache (0.97s)
Computing version for https://github.com/awslabs/aws-sdk-swift
Computed https://github.com/awslabs/aws-sdk-swift at 1.5.18 (17.54s)
Fetching https://github.com/smithy-lang/smithy-swift
Fetching https://github.com/awslabs/aws-crt-swift
[1/71796] Fetching smithy-swift
[21540/103929] Fetching smithy-swift, aws-crt-swift
Fetched https://github.com/awslabs/aws-crt-swift from cache (4.16s)
Fetched https://github.com/smithy-lang/smithy-swift from cache (4.16s)
Computing version for https://github.com/stephencelis/CSQLite.git
Computed https://github.com/stephencelis/CSQLite.git at 0.0.3 (9.86s)
Computing version for https://github.com/awslabs/aws-crt-swift
Computed https://github.com/awslabs/aws-crt-swift at 0.52.1 (4.01s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/15914] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.60s)
Computing version for https://github.com/smithy-lang/smithy-swift
Computed https://github.com/smithy-lang/smithy-swift at 0.152.0 (6.69s)
Fetching https://github.com/open-telemetry/opentelemetry-swift
Fetching https://github.com/apple/swift-log.git
[1/3903] Fetching swift-log
[1016/22049] Fetching swift-log, opentelemetry-swift
Fetched https://github.com/apple/swift-log.git from cache (2.38s)
Fetched https://github.com/open-telemetry/opentelemetry-swift from cache (2.38s)
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.32s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.50s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.59s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.29s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.03s)
Computing version for https://github.com/open-telemetry/opentelemetry-swift
Computed https://github.com/open-telemetry/opentelemetry-swift at 1.17.1 (1.19s)
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-atomics.git
[1/2350] Fetching swift-metrics
[518/4164] Fetching swift-metrics, swift-atomics
[4165/55461] Fetching swift-metrics, swift-atomics, grpc-swift
Fetched https://github.com/apple/swift-metrics.git from cache (0.53s)
[2840/53111] Fetching swift-atomics, grpc-swift
Fetched https://github.com/apple/swift-atomics.git from cache (0.62s)
[3591/51297] Fetching grpc-swift
[5644/129359] Fetching grpc-swift, swift-nio
Fetching https://github.com/apple/swift-protobuf.git
Fetched https://github.com/grpc/grpc-swift.git from cache (2.59s)
[64011/78062] Fetching swift-nio
[78063/118233] Fetching swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-nio.git from cache (6.03s)
Fetched https://github.com/apple/swift-protobuf.git from cache (6.01s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (9.49s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.39s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.26.1 (0.74s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-collections.git
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
[1/2718] Fetching swift-nio-transport-services
[735/8845] Fetching swift-nio-transport-services, swift-nio-extras
[2504/20506] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2
[11106/37959] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-collections
[12111/53034] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-collections, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.51s)
[9969/46907] Fetching swift-nio-transport-services, swift-nio-http2, swift-collections, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (2.04s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.05s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.06s)
Fetched https://github.com/apple/swift-collections.git from cache (2.07s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (2.74s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.31.0 (0.35s)
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.47s)
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.40s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (0.69s)
Fetching https://github.com/apple/swift-system.git
[1/4937] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.39s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.94s)
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.60s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
[1/1629] Fetching swift-asn1
[344/2805] Fetching swift-asn1, swift-http-structured-headers
[2806/5275] Fetching swift-asn1, swift-http-structured-headers, swift-service-lifecycle
[2881/11260] Fetching swift-asn1, swift-http-structured-headers, swift-service-lifecycle, swift-algorithms
[3650/16613] Fetching swift-asn1, swift-http-structured-headers, swift-service-lifecycle, swift-algorithms, swift-async-algorithms
[8843/23144] Fetching swift-asn1, swift-http-structured-headers, swift-service-lifecycle, swift-algorithms, swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.67s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.68s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.68s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.68s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.68s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.68s)
Fetching https://github.com/apple/swift-http-types.git
[1/923] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.23s)
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 (1.31s)
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.48s)
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.91s)
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.48s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.13.0 (0.57s)
Fetching https://github.com/apple/swift-crypto.git
[1/16856] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.31s)
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 (3.83s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (0.39s)
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.50s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.60s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.0 (1.09s)
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/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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
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-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/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
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-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/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.38.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/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/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/stephencelis/CSQLite.git
Working copy of https://github.com/stephencelis/CSQLite.git resolved at 0.0.3
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/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/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/awslabs/aws-sdk-swift
Working copy of https://github.com/awslabs/aws-sdk-swift resolved at 1.5.18
Creating working copy for https://github.com/smithy-lang/smithy-swift
Working copy of https://github.com/smithy-lang/smithy-swift resolved at 0.152.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.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.86.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/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/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/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/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/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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.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
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
[16375/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.53s)
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: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/AmplifyPlugins/Core/AWSPluginsCore/WebSocket/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/AmplifyPlugins/API/Sources/AWSAPIPlugin/AppSyncRealTimeClient/README.md
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
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
[3/3] Compiling plugin SwiftProtobufPlugin
[4/4] Compiling plugin GRPCSwiftPlugin
Building for debugging...
In file included from /host/spi-builder-workspace/AmplifyPlugins/Auth/Sources/AmplifyAvailability/AmplityAvailability.c:8:
/host/spi-builder-workspace/AmplifyPlugins/Auth/Sources/AmplifyAvailability/include/AmplifyAvailability.h:11:10: fatal error: 'TargetConditionals.h' file not found
11 | #include <TargetConditionals.h>
| ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/477] Compiling AmplifyAvailability AmplityAvailability.c
[4/477] Compiling libtommathAmplify amplify_bn_mp_cmp.c
[4/477] Compiling libtommathAmplify amplify_bn_mp_clear.c
[4/477] Compiling libtommathAmplify amplify_bn_cutoffs.c
[4/477] Compiling libtommathAmplify amplify_bn_deprecated.c
[4/477] Compiling libtommathAmplify amplify_bn_mp_cmp_mag.c
[4/477] Compiling libtommathAmplify amplify_bn_mp_cmp_d.c
[4/477] Compiling libtommathAmplify amplify_bn_mp_cnt_lsb.c
BUILD FAILURE 6.2 android