Build Information
Failed to build AmplifyUILiveness, reference 1.4.2 (c1b77d
), with Swift 6.2 (beta) for Linux on 18 Jul 2025 00:30:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aws-amplify/amplify-ui-swift-liveness.git
Reference: 1.4.2
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-liveness
* tag 1.4.2 -> FETCH_HEAD
HEAD is now at c1b77dd chore: finalize release 1.4.2 [skip ci]
Cloned https://github.com/aws-amplify/amplify-ui-swift-liveness.git
Revision (git rev-parse @):
c1b77dd8e83c27b94c10f80a9b8a4ec3bebbd4cc
SUCCESS checkout https://github.com/aws-amplify/amplify-ui-swift-liveness.git at 1.4.2
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/aws-amplify/amplify-ui-swift-liveness.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/aws-amplify/amplify-swift
[1/163901] Fetching amplify-swift
Fetched https://github.com/aws-amplify/amplify-swift from cache (13.18s)
Computing version for https://github.com/aws-amplify/amplify-swift
Computed https://github.com/aws-amplify/amplify-swift at 2.49.1 (13.97s)
Fetching https://github.com/awslabs/aws-sdk-swift
Fetching https://github.com/aws-amplify/amplify-swift-utils-notifications.git
Fetching https://github.com/stephencelis/SQLite.swift.git
[1/529] Fetching amplify-swift-utils-notifications
[530/10437] Fetching amplify-swift-utils-notifications, sqlite.swift
Fetched https://github.com/aws-amplify/amplify-swift-utils-notifications.git from cache (0.27s)
[199/9908] Fetching sqlite.swift
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (1.07s)
[1/738093] Fetching aws-sdk-swift
Fetched https://github.com/awslabs/aws-sdk-swift from cache (236.54s)
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 (239.60s)
Fetching https://github.com/stephencelis/CSQLite.git
[1/19] Fetching csqlite
Fetched https://github.com/stephencelis/CSQLite.git from cache (3.14s)
Computing version for https://github.com/awslabs/aws-sdk-swift
Computed https://github.com/awslabs/aws-sdk-swift at 1.2.59 (9.99s)
Fetching https://github.com/awslabs/aws-crt-swift
Fetching https://github.com/smithy-lang/smithy-swift
[1/31903] Fetching aws-crt-swift
[8296/103205] Fetching aws-crt-swift, smithy-swift
Fetched https://github.com/awslabs/aws-crt-swift from cache (8.35s)
Fetched https://github.com/smithy-lang/smithy-swift from cache (8.35s)
Computing version for https://github.com/stephencelis/CSQLite.git
Computed https://github.com/stephencelis/CSQLite.git at 0.0.3 (18.67s)
Computing version for https://github.com/awslabs/aws-crt-swift
Computed https://github.com/awslabs/aws-crt-swift at 0.48.0 (6.01s)
Computing version for https://github.com/smithy-lang/smithy-swift
Computed https://github.com/smithy-lang/smithy-swift at 0.125.0 (5.37s)
Fetching https://github.com/apple/swift-log.git
[1/3858] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.85s)
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.79s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.81s)
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.125.0
Creating working copy for https://github.com/aws-amplify/amplify-swift
Working copy of https://github.com/aws-amplify/amplify-swift resolved at 2.49.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.48.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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/awslabs/aws-sdk-swift
Working copy of https://github.com/awslabs/aws-sdk-swift resolved at 1.2.59
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
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: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/FaceLiveness/Resources/Assets.xcassets
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
Building for debugging...
[0/418] Write sources
[0/418] Copying Info.plist
[0/418] Write sources
[0/418] Copying Localizable.strings
[0/418] Write sources
[0/418] Copying PrivacyInfo.xcprivacy
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.
[10/418] Compiling AmplifyAvailability AmplityAvailability.c
[10/418] Compiling libtommathAmplify amplify_bn_s_mp_toom_sqr.c
[10/418] Compiling libtommathAmplify amplify_bn_s_mp_toom_mul.c
[10/418] Compiling libtommathAmplify amplify_bn_s_mp_sqr_fast.c
[10/418] Compiling libtommathAmplify amplify_bn_s_mp_sqr.c
[10/418] Compiling libtommathAmplify amplify_bn_s_mp_sub.c
[10/418] Compiling libtommathAmplify amplify_bn_s_mp_reverse.c
[10/418] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 linux