The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Amplify, reference 2.50.0 (2e22a2), with Swift 6.0 for Linux on 7 Aug 2025 00:41:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aws-amplify/amplify-swift.git
Reference: 2.50.0
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.0     -> FETCH_HEAD
HEAD is now at 2e22a2d chore: finalize release 2.50.0 [skip ci]
Cloned https://github.com/aws-amplify/amplify-swift.git
Revision (git rev-parse @):
2e22a2d59e151798225a43d958eb1bc3d2b1269a
SUCCESS checkout https://github.com/aws-amplify/amplify-swift.git at 2.50.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
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-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:f0ebbd71bee66c692411a61ab9a7ee6edc82316b7a7b4c6173cc06c00f20ed39
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/aws-amplify/amplify-swift-utils-notifications.git
Fetching https://github.com/stephencelis/SQLite.swift.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/awslabs/aws-sdk-swift
[1/1257] Fetching cwlpreconditiontesting
[1258/1786] Fetching cwlpreconditiontesting, amplify-swift-utils-notifications
[1787/11795] Fetching cwlpreconditiontesting, amplify-swift-utils-notifications, sqlite.swift
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.27s)
Fetched https://github.com/aws-amplify/amplify-swift-utils-notifications.git from cache (0.28s)
[1302/10009] Fetching sqlite.swift
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (0.74s)
[1/764285] Fetching aws-sdk-swift
Fetched https://github.com/awslabs/aws-sdk-swift from cache (313.55s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.15.3 (1.98s)
Fetching https://github.com/stephencelis/CSQLite.git
[1/19] Fetching csqlite
Fetched https://github.com/stephencelis/CSQLite.git from cache (2.18s)
Computing version for https://github.com/awslabs/aws-sdk-swift
Computed https://github.com/awslabs/aws-sdk-swift at 1.5.14 (9.25s)
Fetching https://github.com/smithy-lang/smithy-swift
Fetching https://github.com/awslabs/aws-crt-swift
[1/31908] Fetching aws-crt-swift
[8298/103579] Fetching aws-crt-swift, smithy-swift
Fetched https://github.com/awslabs/aws-crt-swift from cache (4.98s)
Fetched https://github.com/smithy-lang/smithy-swift from cache (6.31s)
Computing version for https://github.com/stephencelis/CSQLite.git
Computed https://github.com/stephencelis/CSQLite.git at 0.0.3 (3.34s)
Computing version for https://github.com/awslabs/aws-crt-swift
Computed https://github.com/awslabs/aws-crt-swift at 0.52.1 (0.75s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/15607] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.86s)
Computing version for https://github.com/smithy-lang/smithy-swift
Computed https://github.com/smithy-lang/smithy-swift at 0.151.0 (4.83s)
Fetching https://github.com/open-telemetry/opentelemetry-swift
Fetching https://github.com/apple/swift-log.git
[1/3880] Fetching swift-log
[3881/21599] Fetching swift-log, opentelemetry-swift
Fetched https://github.com/apple/swift-log.git from cache (6.14s)
Fetched https://github.com/open-telemetry/opentelemetry-swift from cache (6.15s)
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 (5.59s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (7.16s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (5.72s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.26s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.68s)
Computing version for https://github.com/open-telemetry/opentelemetry-swift
Computed https://github.com/open-telemetry/opentelemetry-swift at 1.17.1 (1.05s)
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-atomics.git
[1/2219] Fetching swift-metrics
[1710/4027] Fetching swift-metrics, swift-atomics
[2817/55324] Fetching swift-metrics, swift-atomics, grpc-swift
Fetched https://github.com/apple/swift-metrics.git from cache (0.43s)
[4337/53105] Fetching swift-atomics, grpc-swift
Fetched https://github.com/apple/swift-atomics.git from cache (0.68s)
[8208/51297] Fetching grpc-swift
[32319/91251] Fetching grpc-swift, swift-protobuf
Fetched https://github.com/grpc/grpc-swift.git from cache (3.13s)
[22774/39954] Fetching swift-protobuf
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-protobuf.git from cache (9.36s)
[1/77243] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.55s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.86s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.71s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (0.63s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.26.1 (0.90s)
Fetching https://github.com/apple/swift-nio-http2.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-extras.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2701] Fetching swift-nio-transport-services
[2702/8824] Fetching swift-nio-transport-services, swift-nio-extras
[3682/20485] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2
[6415/37412] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-collections
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.37s)
[10551/34711] Fetching swift-nio-extras, swift-nio-http2, swift-collections
[11399/49696] Fetching swift-nio-extras, swift-nio-http2, swift-collections, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.51s)
[9646/43573] Fetching swift-nio-http2, swift-collections, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.88s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.89s)
Fetched https://github.com/apple/swift-collections.git from cache (1.90s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.61s)
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.89s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (2.28s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (1.28s)
Fetching https://github.com/apple/swift-system.git
[1/4839] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.75s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.99s)
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.79s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-algorithms.git
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-certificates.git
[1/1629] Fetching swift-asn1
[1630/2805] Fetching swift-asn1, swift-http-structured-headers
[2030/5238] Fetching swift-asn1, swift-http-structured-headers, swift-service-lifecycle
[4875/10250] Fetching swift-asn1, swift-http-structured-headers, swift-service-lifecycle, swift-async-algorithms
[5841/16710] Fetching swift-asn1, swift-http-structured-headers, swift-service-lifecycle, swift-async-algorithms, swift-certificates
[6250/22669] Fetching swift-asn1, swift-http-structured-headers, swift-service-lifecycle, swift-async-algorithms, swift-certificates, swift-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.57s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.57s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.57s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.57s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.57s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.57s)
Fetching https://github.com/apple/swift-http-types.git
[1/917] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.26s)
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 (0.57s)
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.67s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.81s)
Fetching https://github.com/apple/swift-numerics.git
[1/5769] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.39s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (3.32s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (2.74s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.12.0 (1.84s)
Fetching https://github.com/apple/swift-crypto.git
[1/16005] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.72s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.83s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.33.0 (1.18s)
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 (1.04s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.14.0 (3.66s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (2.13s)
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/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/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-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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.14.0
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-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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
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-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/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-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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.12.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.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/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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
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-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-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.30.0
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.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/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.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-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.33.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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.0
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/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 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
   11 | #include <TargetConditionals.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/477] Compiling AmplifyAvailability AmplityAvailability.c
[4/477] Compiling libtommathAmplify amplify_bn_deprecated.c
[4/477] Compiling libtommathAmplify amplify_bn_cutoffs.c
[4/477] Compiling libtommathAmplify amplify_bn_mp_add_d.c
[4/477] Compiling libtommathAmplify amplify_bn_mp_add.c
[4/477] Compiling libtommathAmplify amplify_bn_mp_addmod.c
[4/477] Compiling libtommathAmplify amplify_bn_mp_and.c
[4/477] Compiling libtommathAmplify amplify_bn_mp_clamp.c
BUILD FAILURE 6.0 linux