Build Information
Failed to build Amplify, reference 2.53.1 (4e046d), with Swift 5.10 for Linux on 11 Dec 2025 21:13:19 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:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aws-amplify/amplify-swift.git
Reference: 2.53.1
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.53.1 -> FETCH_HEAD
HEAD is now at 4e046d1 chore: finalize release 2.53.1 [skip ci]
Cloned https://github.com/aws-amplify/amplify-swift.git
Revision (git rev-parse @):
4e046d10fb8a2f485ee8748d1f1bb19543c39d50
SUCCESS checkout https://github.com/aws-amplify/amplify-swift.git at 2.53.1
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
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-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:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:29cd06ed395b3a820a5601000e78fbe5268c851b388429ada04eeea41d67dbe0
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/awslabs/aws-sdk-swift
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/aws-amplify/amplify-swift-utils-notifications.git
Fetching https://github.com/stephencelis/SQLite.swift.git
[1/1257] Fetching cwlpreconditiontesting
[1221/11344] Fetching cwlpreconditiontesting, sqlite.swift
[3743/11877] Fetching cwlpreconditiontesting, sqlite.swift, amplify-swift-utils-notifications
Fetched https://github.com/aws-amplify/amplify-swift-utils-notifications.git from cache (0.40s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.40s)
[7969/10087] Fetching sqlite.swift
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (1.04s)
[1/872341] Fetching aws-sdk-swift
Fetched https://github.com/awslabs/aws-sdk-swift from cache (378.20s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.15.3 (2.82s)
Fetching https://github.com/stephencelis/CSQLite.git
[1/19] Fetching csqlite
Fetched https://github.com/stephencelis/CSQLite.git from cache (1.10s)
Computing version for https://github.com/awslabs/aws-sdk-swift
Computed https://github.com/awslabs/aws-sdk-swift at 1.6.7 (12.05s)
Fetching https://github.com/awslabs/aws-crt-swift
Fetching https://github.com/smithy-lang/smithy-swift
[1/32496] Fetching aws-crt-swift
[9750/106683] Fetching aws-crt-swift, smithy-swift
Fetched https://github.com/awslabs/aws-crt-swift from cache (3.08s)
Fetched https://github.com/smithy-lang/smithy-swift from cache (3.60s)
Computing version for https://github.com/stephencelis/CSQLite.git
Computed https://github.com/stephencelis/CSQLite.git at 0.0.3 (2.14s)
Computing version for https://github.com/awslabs/aws-crt-swift
Computed https://github.com/awslabs/aws-crt-swift at 0.54.2 (1.19s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/16898] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.79s)
Computing version for https://github.com/smithy-lang/smithy-swift
Computed https://github.com/smithy-lang/smithy-swift at 0.175.0 (1.95s)
Fetching https://github.com/open-telemetry/opentelemetry-swift
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swift-server/async-http-client.git
[1/19445] Fetching opentelemetry-swift
[779/25192] Fetching opentelemetry-swift, swift-log
[8184/39696] Fetching opentelemetry-swift, swift-log, async-http-client
Fetched https://github.com/apple/swift-log.git from cache (2.75s)
Fetched https://github.com/swift-server/async-http-client.git from cache (2.76s)
Fetched https://github.com/open-telemetry/opentelemetry-swift from cache (2.77s)
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.20s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.24s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.98s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.37s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (1.11s)
Computing version for https://github.com/open-telemetry/opentelemetry-swift
Computed https://github.com/open-telemetry/opentelemetry-swift at 1.17.1 (1.32s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/apple/swift-nio.git
[1/2505] Fetching swift-metrics
[778/4325] Fetching swift-metrics, swift-atomics
[4326/55714] Fetching swift-metrics, swift-atomics, grpc-swift
[6896/136395] Fetching swift-metrics, swift-atomics, grpc-swift, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (1.31s)
[25477/134575] Fetching swift-metrics, grpc-swift, swift-nio
[90155/176095] Fetching swift-metrics, grpc-swift, swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-metrics.git from cache (8.97s)
Fetched https://github.com/grpc/grpc-swift.git from cache (9.03s)
Fetched https://github.com/apple/swift-protobuf.git from cache (9.06s)
Fetched https://github.com/apple/swift-nio.git from cache (9.10s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.22s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.26.1 (1.04s)
Fetching https://github.com/apple/swift-collections.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-transport-services.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/2809] Fetching swift-nio-transport-services
[2136/9173] Fetching swift-nio-transport-services, swift-nio-extras
[4338/20891] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2
[11284/39254] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-collections
[16160/54542] 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 (1.52s)
[39830/48178] 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.20s)
Fetched https://github.com/apple/swift-collections.git from cache (2.24s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.85s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.86s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.1 (0.47s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.90s)
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.84s)
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.2 (0.52s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.33.3 (0.53s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.2 (1.58s)
Fetching https://github.com/apple/swift-system.git
[1/5221] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.60s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (1.54s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.46s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (1.11s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
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-http-structured-headers.git
Fetching https://github.com/apple/swift-algorithms.git
[1/1204] Fetching swift-http-structured-headers
[929/2871] Fetching swift-http-structured-headers, swift-asn1
[2472/5439] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle
[3412/12479] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-certificates
[3688/18312] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-certificates, swift-async-algorithms
[5129/24353] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-certificates, swift-async-algorithms, swift-algorithms
Fetched https://github.com/apple/swift-asn1.git from cache (1.21s)
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.21s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.26s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.26s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.26s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.26s)
[1/951] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (1.19s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.25s)
Fetching https://github.com/apple/swift-numerics.git
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.67s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.9.1 (1.79s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.1 (1.50s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.54s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (1.43s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.55s)
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 (0.54s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.34.1 (0.70s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.15.1 (0.78s)
Fetching https://github.com/apple/swift-crypto.git
[1/17465] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.82s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (3.15s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.29.1 (0.63s)
Fetching https://github.com/apple/swift-distributed-tracing.git
[1/5566] Fetching swift-distributed-tracing
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.44s)
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.42s)
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.28s)
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.62s)
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.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.1
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-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.25.2
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/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-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-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/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/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/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-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-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.2
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
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-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/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-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-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/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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.2
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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.15.1
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-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/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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
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.29.1
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-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-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/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/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
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
warning: 'csqlite': ignoring declared target(s) 'CSQLite' in the system package
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/AmplifyCredentialsTests/AWSPluginsSDKCore.xctestplan
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/AmplifyPlugins/Predictions/Tests/CoreMLPredictionsPluginUnitTests/README.md
/host/spi-builder-workspace/AmplifyPlugins/Predictions/Tests/CoreMLPredictionsPluginUnitTests/TestResources/audio.wav
/host/spi-builder-workspace/AmplifyPlugins/Predictions/Tests/CoreMLPredictionsPluginUnitTests/TestResources/Info.plist
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/AmplifyPlugins/Predictions/Tests/AWSPredictionsPluginUnitTests/TestResources/Info.plist
/host/spi-builder-workspace/AmplifyPlugins/Predictions/Tests/AWSPredictionsPluginUnitTests/TestResources/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/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/Tests/AWSAPIPluginTests/APISwiftCompatibility/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
[1/1] Compiling plugin GRPCSwiftPlugin
[2/2] Compiling plugin GenerateDoccReference
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin SwiftProtobufPlugin
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
#include <TargetConditionals.h>
^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/486] Compiling AmplifyAvailability AmplityAvailability.c
[4/486] Compiling libtommathAmplify amplify_bn_mp_addmod.c
[4/486] Compiling libtommathAmplify amplify_bn_mp_dr_setup.c
[4/486] Compiling libtommathAmplify amplify_bn_cutoffs.c
[4/486] Compiling libtommathAmplify amplify_bn_deprecated.c
[4/486] Compiling libtommathAmplify amplify_bn_mp_dr_is_modulus.c
[4/486] Compiling libtommathAmplify amplify_bn_mp_dr_reduce.c
[4/486] Compiling libtommathAmplify amplify_bn_mp_2expt.c
BUILD FAILURE 5.10 linux