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 AmplifyUILiveness, reference main (3affdd), with Swift 6.1 for Linux on 1 May 2025 00:48:29 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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aws-amplify/amplify-ui-swift-liveness.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-liveness
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3affdd1 chore: finalize release 1.3.5 [skip ci]
Cloned https://github.com/aws-amplify/amplify-ui-swift-liveness.git
Revision (git rev-parse @):
3affdd197eb35ee0d6ad2d5d99fea63646a6d00f
SUCCESS checkout https://github.com/aws-amplify/amplify-ui-swift-liveness.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/aws-amplify/amplify-ui-swift-liveness.git
https://github.com/aws-amplify/amplify-ui-swift-liveness.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "default_localization" : "en",
  "dependencies" : [
    {
      "identity" : "amplify-swift",
      "requirement" : {
        "exact" : [
          "2.46.1"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/aws-amplify/amplify-swift"
    }
  ],
  "manifest_display_name" : "AmplifyUILiveness",
  "name" : "AmplifyUILiveness",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "FaceLiveness",
      "targets" : [
        "FaceLiveness"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FaceLivenessTests",
      "module_type" : "SwiftTarget",
      "name" : "FaceLivenessTests",
      "path" : "Tests/FaceLivenessTests",
      "sources" : [
        "CredentialsProviderTestCase.swift",
        "DetectedFaceTests.swift",
        "LivenessTests.swift",
        "MockAWSCredentials.swift",
        "MockAWSTemporaryCredentials.swift",
        "MockCredentialsProvider.swift",
        "MockFaceDetectionResultHandler.swift",
        "MockFaceDetector.swift",
        "MockLivenessService.swift"
      ],
      "target_dependencies" : [
        "FaceLiveness"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FaceLiveness",
      "module_type" : "SwiftTarget",
      "name" : "FaceLiveness",
      "path" : "Sources/FaceLiveness",
      "product_dependencies" : [
        "AWSPluginsCore",
        "AWSCognitoAuthPlugin",
        "AWSPredictionsPlugin"
      ],
      "product_memberships" : [
        "FaceLiveness"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/FaceLiveness/Resources/Base.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "Base"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/FaceLiveness/Resources/face_detection_short_range.mlmodelc",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AV/LivenessAVAssetWriter.swift",
        "AV/LivenessAVAssetWriterInput.swift",
        "AV/LivenessCaptureDevice.swift",
        "AV/LivenessCaptureSession.swift",
        "AV/LivenessCaptureSessionError.swift",
        "AV/OutputSampleBufferCapturer.swift",
        "AV/VideoChunkProcessor.swift",
        "AV/VideoChunker+AssetWriterDelegate.swift",
        "AV/VideoChunker+State.swift",
        "AV/VideoChunker.swift",
        "FaceDetection/BlazeFace/DetectedFace.swift",
        "FaceDetection/BlazeFace/FaceDetectorShortRange+Model.swift",
        "FaceDetection/BlazeFace/face_detection_short_range.swift",
        "FaceDetection/FaceDetector.swift",
        "FaceDetection/FaceStateMatching.swift",
        "FaceDetection/Instructor.swift",
        "Utilities/Backports/Background.swift",
        "Utilities/Backports/Overlay.swift",
        "Utilities/BoundingBox+Normalize.swift",
        "Utilities/CGImage+Convert.swift",
        "Utilities/Color+DynamicColors.swift",
        "Utilities/Color+Hex.swift",
        "Utilities/Color+Liveness.swift",
        "Utilities/Date+TimestampMilliseconds.swift",
        "Utilities/Device.swift",
        "Utilities/FinalClientEvent+Init.swift",
        "Utilities/LivenessLocalizedStrings.swift",
        "Utilities/String+Localizable.swift",
        "Utilities/UIColor+Hex.swift",
        "Utilities/UserAgent.swift",
        "Views/CameraPermission/CameraPermissionView.swift",
        "Views/CloseButton.swift",
        "Views/Freshness/DisplayColor+UIColor.swift",
        "Views/Freshness/Freshness.swift",
        "Views/Freshness/FreshnessView.swift",
        "Views/GetReadyPage/CameraPreviewOutputSampleBufferDelegate.swift",
        "Views/GetReadyPage/CameraPreviewView.swift",
        "Views/GetReadyPage/CameraPreviewViewModel.swift",
        "Views/GetReadyPage/GetReadyPageView.swift",
        "Views/GetReadyPage/ImageFrameView.swift",
        "Views/Instruction/InstructionContainerView.swift",
        "Views/Instruction/InstructionView.swift",
        "Views/Liveness/CameraView.swift",
        "Views/Liveness/FaceLivenessDetectionError.swift",
        "Views/Liveness/FaceLivenessDetectionView.swift",
        "Views/Liveness/FaceLivenessDetectionViewModel+FaceDetectionResultHandler.swift",
        "Views/Liveness/FaceLivenessDetectionViewModel+VideoSegmentProcessor.swift",
        "Views/Liveness/FaceLivenessDetectionViewModel.swift",
        "Views/Liveness/FaceLivenessViewControllerPresenter.swift",
        "Views/Liveness/LivenessStateMachine.swift",
        "Views/Liveness/LivenessViewController.swift",
        "Views/Liveness/_FaceLivenessDetectionView.swift",
        "Views/OvalView.swift",
        "Views/ProgressBarView.swift",
        "Views/RecordingButton.swift",
        "Views/RoundedCornerShape.swift",
        "Views/WarningBox.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/aws-amplify/amplify-swift
[1/163403] Fetching amplify-swift
Fetched https://github.com/aws-amplify/amplify-swift from cache (11.81s)
Computing version for https://github.com/aws-amplify/amplify-swift
Computed https://github.com/aws-amplify/amplify-swift at 2.46.1 (12.67s)
Fetching https://github.com/awslabs/aws-sdk-swift
Fetching https://github.com/stephencelis/SQLite.swift.git
Fetching https://github.com/aws-amplify/amplify-swift-utils-notifications.git
[1/529] Fetching amplify-swift-utils-notifications
[245/10136] Fetching amplify-swift-utils-notifications, sqlite.swift
Fetched https://github.com/aws-amplify/amplify-swift-utils-notifications.git from cache (0.36s)
[5476/9607] Fetching sqlite.swift
[9608/655657] Fetching sqlite.swift, aws-sdk-swift
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (180.61s)
Fetched https://github.com/awslabs/aws-sdk-swift from cache (183.77s)
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
 5 |     name: "SQLite.swift",
 6 |     platforms: [
 7 |         .iOS(.v11),
   |               `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
 8 |         .macOS(.v10_13),
 9 |         .watchOS(.v4),
/Package.swift:10:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
 8 |         .macOS(.v10_13),
 9 |         .watchOS(.v4),
10 |         .tvOS(.v11),
   |                `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
11 |         .visionOS(.v1)
12 |     ],
Computed https://github.com/stephencelis/SQLite.swift.git at 0.15.3 (191.64s)
Fetching https://github.com/stephencelis/CSQLite.git
[1/19] Fetching csqlite
Fetched https://github.com/stephencelis/CSQLite.git from cache (2.09s)
Computing version for https://github.com/awslabs/aws-sdk-swift
Computed https://github.com/awslabs/aws-sdk-swift at 1.0.69 (8.05s)
Fetching https://github.com/awslabs/aws-crt-swift
Fetching https://github.com/smithy-lang/smithy-swift
[1/31184] Fetching aws-crt-swift
[7174/100916] Fetching aws-crt-swift, smithy-swift
Fetched https://github.com/awslabs/aws-crt-swift from cache (2.71s)
Fetched https://github.com/smithy-lang/smithy-swift from cache (2.71s)
Computing version for https://github.com/stephencelis/CSQLite.git
Computed https://github.com/stephencelis/CSQLite.git at 0.0.3 (9.00s)
Computing version for https://github.com/awslabs/aws-crt-swift
Computed https://github.com/awslabs/aws-crt-swift at 0.40.0 (2.99s)
Computing version for https://github.com/smithy-lang/smithy-swift
Computed https://github.com/smithy-lang/smithy-swift at 0.106.0 (4.25s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git 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 (4.04s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.89s)
Creating working copy for https://github.com/aws-amplify/amplify-swift
Working copy of https://github.com/aws-amplify/amplify-swift resolved at 2.46.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.0.69
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.40.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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.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.106.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
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
 5 |     name: "SQLite.swift",
 6 |     platforms: [
 7 |         .iOS(.v11),
   |               `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
 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
 8 |         .macOS(.v10_13),
 9 |         .watchOS(.v4),
10 |         .tvOS(.v11),
   |                `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
11 |         .visionOS(.v1)
12 |     ],
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/411] Write sources
[0/411] Copying PrivacyInfo.xcprivacy
[0/411] Write sources
[0/411] Copying PrivacyInfo.xcprivacy
[0/411] Write sources
[0/411] Copying Info.plist
[0/411] Write sources
[0/411] Copying Localizable.strings
[41/411] Compiling libtommathAmplify amplify_bn_mp_2expt.c
[42/411] Copying PrivacyInfo.xcprivacy
[43/411] Compiling libtommathAmplify amplify_bn_mp_set_ul.c
[44/411] Compiling libtommathAmplify amplify_bn_s_mp_toom_sqr.c
[45/411] Compiling libtommathAmplify amplify_bn_s_mp_sub.c
[46/411] Compiling libtommathAmplify amplify_bn_mp_set_u64.c
[47/411] Compiling libtommathAmplify amplify_bn_s_mp_toom_mul.c
[48/411] Compiling libtommathAmplify amplify_bn_s_mp_sqr.c
[49/411] Compiling libtommathAmplify amplify_bn_s_mp_sqr_fast.c
[50/411] Compiling libtommathAmplify amplify_bn_s_mp_rand_jenkins.c
[51/411] Write swift-version-24593BA9C3E375BF.txt
[52/411] Compiling libtommathAmplify amplify_bn_s_mp_reverse.c
[52/411] Compiling libtommathAmplify amplify_bn_s_mp_rand_platform.c
[54/411] Compiling libtommathAmplify amplify_bn_s_mp_mul_high_digs_fast.c
[55/411] Compiling libtommathAmplify amplify_bn_s_mp_mul_high_digs.c
[56/411] Compiling libtommathAmplify amplify_bn_s_mp_prime_is_divisible.c
[57/411] Compiling libtommathAmplify amplify_bn_s_mp_montgomery_reduce_fast.c
[58/411] Compiling libtommathAmplify amplify_bn_s_mp_mul_digs_fast.c
[59/411] Compiling libtommathAmplify amplify_bn_s_mp_mul_digs.c
[60/411] Compiling libtommathAmplify amplify_bn_s_mp_karatsuba_sqr.c
[61/411] Compiling libtommathAmplify amplify_bn_s_mp_karatsuba_mul.c
[62/411] Compiling libtommathAmplify amplify_bn_s_mp_invmod_slow.c
[63/411] Compiling libtommathAmplify amplify_bn_s_mp_get_bit.c
[64/411] Compiling libtommathAmplify amplify_bn_s_mp_exptmod.c
[65/411] Compiling libtommathAmplify amplify_bn_s_mp_exptmod_fast.c
[66/411] Compiling libtommathAmplify amplify_bn_s_mp_invmod_fast.c
[67/411] Compiling libtommathAmplify amplify_bn_s_mp_add.c
[68/419] Compiling libtommathAmplify amplify_bn_prime_tab.c
[69/419] Compiling libtommathAmplify amplify_bn_s_mp_balance_mul.c
[70/419] Compiling libtommathAmplify amplify_bn_mp_unpack.c
[71/419] Compiling libtommathAmplify amplify_bn_mp_zero.c
[72/419] Compiling libtommathAmplify amplify_bn_mp_ubin_size.c
[72/419] Compiling libtommathAmplify amplify_bn_mp_xor.c
[74/419] Compiling libtommathAmplify amplify_bn_mp_to_sbin.c
[75/425] Compiling libtommathAmplify amplify_bn_mp_to_ubin.c
[76/427] Compiling libtommathAmplify amplify_bn_mp_to_radix.c
[77/428] Compiling libtommathAmplify amplify_bn_mp_sub.c
[78/428] Compiling libtommathAmplify amplify_bn_mp_submod.c
[78/428] Compiling libtommathAmplify amplify_bn_mp_sub_d.c
[80/428] Compiling libtommathAmplify amplify_bn_mp_sqrtmod_prime.c
[81/428] Compiling libtommathAmplify amplify_bn_mp_sqrt.c
[82/428] Compiling libtommathAmplify amplify_bn_mp_sqr.c
[83/428] Compiling libtommathAmplify amplify_bn_mp_shrink.c
[84/428] Compiling libtommathAmplify amplify_bn_mp_signed_rsh.c
[85/428] Compiling libtommathAmplify amplify_bn_mp_set_ull.c
[85/428] Compiling libtommathAmplify amplify_bn_mp_sqrmod.c
[87/428] Compiling libtommathAmplify amplify_bn_mp_set_u32.c
[88/428] Compiling libtommathAmplify amplify_bn_mp_set_i64.c
[89/428] Compiling libtommathAmplify amplify_bn_mp_set_l.c
[90/428] Compiling libtommathAmplify amplify_bn_mp_set_ll.c
[91/428] Compiling libtommathAmplify amplify_bn_mp_sbin_size.c
[92/428] Compiling libtommathAmplify amplify_bn_mp_set_i32.c
[93/428] Compiling libtommathAmplify amplify_bn_mp_set_double.c
[94/428] Compiling libtommathAmplify amplify_bn_mp_set.c
[95/428] Compiling libtommathAmplify amplify_bn_mp_root_u32.c
[96/428] Compiling libtommathAmplify amplify_bn_mp_rshd.c
[97/428] Compiling libtommathAmplify amplify_bn_mp_reduce_setup.c
[98/428] Compiling libtommathAmplify amplify_bn_mp_reduce_2k_setup.c
[99/428] Compiling libtommathAmplify amplify_bn_mp_reduce_is_2k_l.c
[100/428] Compiling libtommathAmplify amplify_bn_mp_reduce_is_2k.c
[101/428] Compiling libtommathAmplify amplify_bn_mp_reduce_2k_setup_l.c
[102/428] Compiling libtommathAmplify amplify_bn_mp_reduce_2k_l.c
[103/428] Compiling libtommathAmplify amplify_bn_mp_reduce.c
[104/428] Compiling libtommathAmplify amplify_bn_mp_read_radix.c
[105/428] Compiling libtommathAmplify amplify_bn_mp_reduce_2k.c
[106/428] Compiling libtommathAmplify amplify_bn_mp_rand.c
[107/428] Compiling libtommathAmplify amplify_bn_mp_prime_strong_lucas_selfridge.c
[108/428] Compiling libtommathAmplify amplify_bn_mp_radix_smap.c
[109/428] Compiling libtommathAmplify amplify_bn_mp_radix_size.c
[110/428] Compiling libtommathAmplify amplify_bn_mp_prime_rabin_miller_trials.c
[111/428] Compiling libtommathAmplify amplify_bn_mp_prime_rand.c
[112/428] Compiling libtommathAmplify amplify_bn_mp_prime_miller_rabin.c
[113/428] Compiling libtommathAmplify amplify_bn_mp_prime_next_prime.c
[114/428] Compiling libtommathAmplify amplify_bn_mp_prime_fermat.c
[115/428] Compiling libtommathAmplify amplify_bn_mp_prime_is_prime.c
[116/428] Compiling libtommathAmplify amplify_bn_mp_prime_frobenius_underwood.c
[117/428] Compiling libtommathAmplify amplify_bn_mp_pack_count.c
[118/428] Compiling libtommathAmplify amplify_bn_mp_pack.c
[119/428] Compiling libtommathAmplify amplify_bn_mp_or.c
[120/428] Compiling libtommathAmplify amplify_bn_mp_neg.c
[121/428] Compiling libtommathAmplify amplify_bn_mp_mulmod.c
[122/428] Compiling libtommathAmplify amplify_bn_mp_mul_2d.c
[123/428] Compiling libtommathAmplify amplify_bn_mp_mul_d.c
[124/428] Compiling libtommathAmplify amplify_bn_mp_mul_2.c
[125/428] Compiling libtommathAmplify amplify_bn_mp_montgomery_setup.c
[126/428] Compiling libtommathAmplify amplify_bn_mp_mul.c
[127/428] Compiling libtommathAmplify amplify_bn_mp_mod_d.c
[128/428] Compiling libtommathAmplify amplify_bn_mp_montgomery_reduce.c
[129/428] Compiling libtommathAmplify amplify_bn_mp_mod_2d.c
[130/428] Compiling libtommathAmplify amplify_bn_mp_montgomery_calc_normalization.c
[131/428] Compiling libtommathAmplify amplify_bn_mp_lshd.c
[132/428] Compiling libtommathAmplify amplify_bn_mp_log_u32.c
[133/428] Compiling libtommathAmplify amplify_bn_mp_lcm.c
[134/428] Compiling libtommathAmplify amplify_bn_mp_mod.c
[135/428] Compiling libtommathAmplify amplify_bn_mp_kronecker.c
[136/428] Compiling libtommathAmplify amplify_bn_mp_isodd.c
[137/428] Compiling libtommathAmplify amplify_bn_mp_init_ull.c
[138/428] Compiling libtommathAmplify amplify_bn_mp_iseven.c
[139/428] Compiling libtommathAmplify amplify_bn_mp_invmod.c
[140/428] Compiling libtommathAmplify amplify_bn_mp_is_square.c
[141/428] Compiling libtommathAmplify amplify_bn_mp_init_ul.c
[142/428] Compiling libtommathAmplify amplify_bn_mp_init_multi.c
[143/428] Compiling libtommathAmplify amplify_bn_mp_init_u32.c
[144/428] Compiling libtommathAmplify amplify_bn_mp_init_set.c
[145/428] Compiling libtommathAmplify amplify_bn_mp_init_size.c
[146/428] Compiling libtommathAmplify amplify_bn_mp_init_u64.c
[147/428] Compiling libtommathAmplify amplify_bn_mp_init_ll.c
[148/428] Compiling libtommathAmplify amplify_bn_mp_init.c
[149/428] Compiling libtommathAmplify amplify_bn_mp_init_i32.c
[150/428] Compiling libtommathAmplify amplify_bn_mp_init_l.c
[151/428] Compiling libtommathAmplify amplify_bn_mp_init_copy.c
[152/428] Compiling libtommathAmplify amplify_bn_mp_incr.c
[152/428] Compiling libtommathAmplify amplify_bn_mp_init_i64.c
[154/428] Compiling libtommathAmplify amplify_bn_mp_get_mag_ul.c
[155/428] Compiling libtommathAmplify amplify_bn_mp_grow.c
[156/428] Compiling libtommathAmplify amplify_bn_mp_get_mag_ull.c
[157/428] Compiling libtommathAmplify amplify_bn_mp_get_l.c
[158/428] Compiling libtommathAmplify amplify_bn_mp_get_mag_u32.c
[158/428] Compiling libtommathAmplify amplify_bn_mp_get_ll.c
[160/428] Compiling libtommathAmplify amplify_bn_mp_get_mag_u64.c
[161/428] Compiling libtommathAmplify amplify_bn_mp_get_i64.c
[162/428] Compiling libtommathAmplify amplify_bn_mp_fwrite.c
[163/428] Compiling libtommathAmplify amplify_bn_mp_get_i32.c
[164/428] Compiling libtommathAmplify amplify_bn_mp_gcd.c
[165/428] Compiling libtommathAmplify amplify_bn_mp_get_double.c
[166/428] Compiling libtommathAmplify amplify_bn_mp_from_ubin.c
[167/428] Compiling libtommathAmplify amplify_bn_mp_from_sbin.c
[168/428] Compiling libtommathAmplify amplify_bn_mp_fread.c
[169/428] Compiling libtommathAmplify amplify_bn_mp_exteuclid.c
[170/428] Compiling libtommathAmplify amplify_bn_mp_expt_u32.c
[171/428] Compiling libtommathAmplify amplify_bn_mp_exptmod.c
[172/428] Compiling libtommathAmplify amplify_bn_mp_dr_setup.c
[173/428] Compiling libtommathAmplify amplify_bn_mp_exch.c
[174/428] Compiling libtommathAmplify amplify_bn_mp_error_to_string.c
[175/428] Compiling libtommathAmplify amplify_bn_mp_dr_is_modulus.c
[176/428] Compiling libtommathAmplify amplify_bn_mp_div_d.c
[177/428] Compiling libtommathAmplify amplify_bn_mp_dr_reduce.c
[178/428] Compiling libtommathAmplify amplify_bn_mp_div.c
[179/428] Compiling libtommathAmplify amplify_bn_mp_div_2d.c
[180/428] Compiling libtommathAmplify amplify_bn_mp_div_3.c
[181/428] Compiling libtommathAmplify amplify_bn_mp_count_bits.c
[182/428] Compiling libtommathAmplify amplify_bn_mp_div_2.c
[182/428] Compiling libtommathAmplify amplify_bn_mp_decr.c
[184/428] Compiling libtommathAmplify amplify_bn_mp_copy.c
[185/428] Compiling libtommathAmplify amplify_bn_mp_complement.c
[186/428] Compiling libtommathAmplify amplify_bn_mp_cmp_d.c
[187/428] Compiling libtommathAmplify amplify_bn_mp_cmp_mag.c
[188/428] Compiling libtommathAmplify amplify_bn_mp_cnt_lsb.c
[189/428] Compiling libtommathAmplify amplify_bn_mp_cmp.c
[190/428] Compiling libtommathAmplify amplify_bn_mp_clear_multi.c
[191/428] Compiling libtommathAmplify amplify_bn_mp_clamp.c
[192/428] Compiling libtommathAmplify amplify_bn_mp_and.c
[193/428] Compiling libtommathAmplify amplify_bn_mp_clear.c
[194/428] Compiling libtommathAmplify amplify_bn_mp_add_d.c
[194/428] Copying sdk-partitions.json
[194/428] Copying PrivacyInfo.xcprivacy
[194/428] Write sources
[209/428] Compiling libtommathAmplify amplify_bn_mp_addmod.c
[210/428] Compiling libtommathAmplify amplify_bn_mp_add.c
[211/428] Compiling libtommathAmplify amplify_bn_mp_abs.c
[212/428] Compiling libtommathAmplify amplify_bn_deprecated.c
[213/428] Compiling libtommathAmplify amplify_bn_cutoffs.c
[214/428] Compiling tracing.c
[215/428] Compiling stream.c
[216/428] Compiling tls_channel_handler_shared.c
[217/432] Compiling tls_channel_handler.c
[218/436] Compiling statistics.c
[219/444] Compiling socket_shared.c
[220/444] Compiling standard_retry_strategy.c
[221/444] Compiling socket_channel_handler.c
[222/444] Compiling retry_strategy.c
[223/444] Compiling shared_library.c
[224/444] Compiling pipe.c
[225/444] Compiling socket.c
[226/444] Compiling s2n_tls_channel_handler.c
[227/444] Compiling pkcs11_tls_op_handler.c
[228/444] Compiling host_resolver.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[230/444] Emitting module AmplifyBigInteger
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h:1:9: error: 'Foundation/Foundation.h' file not found
 1 | #import <Foundation/Foundation.h>
   |         `- error: 'Foundation/Foundation.h' file not found
 2 |
 3 | FOUNDATION_EXPORT double LibTomMathAmplifyVersionNumber;
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/AmplifyBigInteger/AmplifyBigInt+Bytes.swift:9:8: error: could not build C module 'libtommathAmplify'
 7 |
 8 | import Foundation
 9 | import libtommathAmplify
   |        `- error: could not build C module 'libtommathAmplify'
10 |
11 | public extension AmplifyBigInt {
[231/444] Emitting module SmithyTimestamps
[231/444] Compiling pkcs11_lib.c
[232/444] Compiling no_retry_strategy.c
[233/444] Compiling pem.c
[234/444] Compiling message_pool.c
[235/444] Compiling io.c
[236/444] Compiling epoll_event_loop.c
[237/444] Compiling future.c
[238/444] Compiling host_resolver.c
[239/444] Compiling exponential_backoff_retry_strategy.c
[240/444] Compiling event_loop.c
[241/444] Compiling channel_bootstrap.c
[242/444] Compiling channel.c
[243/444] Compiling async_stream.c
[244/444] Compiling alpn_handler.c
[245/444] Compiling websocket_encoder.c
[246/444] Compiling websocket_decoder.c
[247/444] Compiling strutil.c
[248/444] Compiling websocket_bootstrap.c
[249/444] Compiling statistics.c
[250/444] Compiling websocket.c
[251/444] Compiling random_access_set.c
[252/444] Compiling request_response.c
[253/444] Compiling proxy_strategy.c
[254/444] Compiling http2_stream_manager.c
[255/444] Compiling proxy_connection.c
[256/444] Compiling http.c
[257/444] Compiling hpack_huffman_static.c
[258/444] Compiling hpack_decoder.c
[259/444] Compiling hpack_encoder.c
[260/444] Compiling hpack.c
[261/444] Compiling h2_frames.c
[262/444] Compiling h2_stream.c
[263/444] Compiling h2_decoder.c
[264/444] Compiling h1_stream.c
[266/444] Compiling SmithyRetriesAPI RetryStrategyOptions.swift
[267/445] Compiling SmithyWaitersAPI WaiterOutcome.swift
[267/445] Compiling h1_encoder.c
[268/446] Compiling h2_connection.c
[269/446] Compiling h1_decoder.c
[270/446] Compiling connection_monitor.c
[271/446] Compiling h1_connection.c
[272/446] Compiling connection_manager.c
[273/446] Compiling connection.c
[274/446] Compiling event_stream_rpc_server.c
[275/446] Compiling event_stream_rpc_client.c
[276/446] Compiling event_stream_rpc.c
[277/446] Compiling huffman_testing.c
[278/446] Compiling event_stream_channel_handler.c
[279/446] Compiling compression.c
[280/446] Compiling huffman.c
[281/446] Compiling event_stream.c
[282/446] Compiling uuid.c
[283/446] Compiling xml_parser.c
[284/446] Compiling uri.c
[285/446] Compiling thread_shared.c
[286/446] Compiling thread_scheduler.c
[288/446] Compiling Logging Locks.swift
[289/446] Emitting module Logging
[290/446] Compiling Logging Logging.swift
[291/446] Compiling Logging LogHandler.swift
[292/446] Compiling Logging MetadataProvider.swift
[292/447] Compiling system_info.c
[293/447] Compiling task_scheduler.c
[295/447] Compiling string.c
[296/447] Compiling statistics.c
[297/447] Compiling ring_buffer.c
[299/447] Compiling AmplifyBigInteger AmplifyBigIntHelper.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h:1:9: error: 'Foundation/Foundation.h' file not found
 1 | #import <Foundation/Foundation.h>
   |         `- error: 'Foundation/Foundation.h' file not found
 2 |
 3 | FOUNDATION_EXPORT double LibTomMathAmplifyVersionNumber;
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/AmplifyBigInteger/AmplifyBigInt+Bytes.swift:9:8: error: could not build C module 'libtommathAmplify'
 7 |
 8 | import Foundation
 9 | import libtommathAmplify
   |        `- error: could not build C module 'libtommathAmplify'
10 |
11 | public extension AmplifyBigInt {
[300/447] Compiling AmplifyBigInteger AmplifyBigInt+Integer.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h:1:9: error: 'Foundation/Foundation.h' file not found
 1 | #import <Foundation/Foundation.h>
   |         `- error: 'Foundation/Foundation.h' file not found
 2 |
 3 | FOUNDATION_EXPORT double LibTomMathAmplifyVersionNumber;
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/AmplifyBigInteger/AmplifyBigInt+Bytes.swift:9:8: error: could not build C module 'libtommathAmplify'
 7 |
 8 | import Foundation
 9 | import libtommathAmplify
   |        `- error: could not build C module 'libtommathAmplify'
10 |
11 | public extension AmplifyBigInt {
[300/447] Compiling ref_count.c
[302/447] Compiling SmithyRetriesAPI RetryErrorInfo.swift
[303/447] Compiling SmithyRetriesAPI RetryToken.swift
[304/447] Compiling SmithyWaitersAPI WaiterRetryer.swift
[304/447] Compiling time.c
[306/447] Compiling AmplifyBigInteger AmplifyBigInt+Bytes.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h:1:9: error: 'Foundation/Foundation.h' file not found
 1 | #import <Foundation/Foundation.h>
   |         `- error: 'Foundation/Foundation.h' file not found
 2 |
 3 | FOUNDATION_EXPORT double LibTomMathAmplifyVersionNumber;
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/AmplifyBigInteger/AmplifyBigInt+Bytes.swift:9:8: error: could not build C module 'libtommathAmplify'
 7 |
 8 | import Foundation
 9 | import libtommathAmplify
   |        `- error: could not build C module 'libtommathAmplify'
10 |
11 | public extension AmplifyBigInt {
[307/447] Compiling AmplifyBigInteger AmplifyBigInt+Comparable.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h:1:9: error: 'Foundation/Foundation.h' file not found
 1 | #import <Foundation/Foundation.h>
   |         `- error: 'Foundation/Foundation.h' file not found
 2 |
 3 | FOUNDATION_EXPORT double LibTomMathAmplifyVersionNumber;
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/AmplifyBigInteger/AmplifyBigInt+Bytes.swift:9:8: error: could not build C module 'libtommathAmplify'
 7 |
 8 | import Foundation
 9 | import libtommathAmplify
   |        `- error: could not build C module 'libtommathAmplify'
10 |
11 | public extension AmplifyBigInt {
[307/447] Compiling process_common.c
[308/447] Compiling priority_queue.c
[310/447] Compiling SmithyWaitersAPI WaiterScheduler.swift
[311/447] Compiling AmplifyBigInteger AmplifyBigInt.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h:1:9: error: 'Foundation/Foundation.h' file not found
 1 | #import <Foundation/Foundation.h>
   |         `- error: 'Foundation/Foundation.h' file not found
 2 |
 3 | FOUNDATION_EXPORT double LibTomMathAmplifyVersionNumber;
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/AmplifyBigInteger/AmplifyBigInt+Bytes.swift:9:8: error: could not build C module 'libtommathAmplify'
 7 |
 8 | import Foundation
 9 | import libtommathAmplify
   |        `- error: could not build C module 'libtommathAmplify'
10 |
11 | public extension AmplifyBigInt {
[312/453] Compiling SmithyRetriesAPI RetryError.swift
[312/467] Compiling system_resource_utils.c
[314/478] Compiling SmithyRetriesAPI RetryErrorType.swift
[315/479] Compiling SmithyRetriesAPI RetryErrorInfoProvider.swift
[316/479] Compiling SmithyRetriesAPI RetryStrategy.swift
[317/479] Compiling SmithyRetriesAPI RetryBackoffStrategy.swift
[318/479] Emitting module SmithyRetriesAPI
[319/479] Compiling SmithyWaitersAPI WaiterErrors.swift
[320/479] Compiling SmithyWaitersAPI WaiterOptions.swift
[321/479] Compiling SmithyWaitersAPI WaiterConfiguration.swift
[322/480] Compiling AmplifyBigInteger AmplifyBigInt+Sign.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h:1:9: error: 'Foundation/Foundation.h' file not found
 1 | #import <Foundation/Foundation.h>
   |         `- error: 'Foundation/Foundation.h' file not found
 2 |
 3 | FOUNDATION_EXPORT double LibTomMathAmplifyVersionNumber;
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/AmplifyBigInteger/AmplifyBigInt+Bytes.swift:9:8: error: could not build C module 'libtommathAmplify'
 7 |
 8 | import Foundation
 9 | import libtommathAmplify
   |        `- error: could not build C module 'libtommathAmplify'
10 |
11 | public extension AmplifyBigInt {
[323/480] Compiling AmplifyBigInteger AmplifyBigInt+Operations.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h:1:9: error: 'Foundation/Foundation.h' file not found
 1 | #import <Foundation/Foundation.h>
   |         `- error: 'Foundation/Foundation.h' file not found
 2 |
 3 | FOUNDATION_EXPORT double LibTomMathAmplifyVersionNumber;
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/AmplifyBigInteger/AmplifyBigInt+Bytes.swift:9:8: error: could not build C module 'libtommathAmplify'
 7 |
 8 | import Foundation
 9 | import libtommathAmplify
   |        `- error: could not build C module 'libtommathAmplify'
10 |
11 | public extension AmplifyBigInt {
[324/480] Emitting module SmithyWaitersAPI
[325/480] Compiling SmithyWaitersAPI Waiter.swift
[326/480] Compiling Smithy Attribute.swift
[327/480] Compiling Smithy ByteStream.swift
[328/480] Compiling SmithyTimestamps TimestampSerdeUtils.swift
[328/481] Compiling system_info.c
[329/481] Compiling SmithyTimestamps DateFormatters.swift
[329/481] Compiling rw_lock.c
[329/481] Compiling thread.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
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
 5 |     name: "SQLite.swift",
 6 |     platforms: [
 7 |         .iOS(.v11),
   |               `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
 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
 8 |         .macOS(.v10_13),
 9 |         .watchOS(.v4),
10 |         .tvOS(.v11),
   |                `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
11 |         .visionOS(.v1)
12 |     ],
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
[0/1] Planning build
Building for debugging...
[0/119] Compiling process.c
[1/119] Compiling crc64_sw.c
[2/119] Compiling crc64.c
[3/119] Compiling crc_sw.c
[4/119] Compiling rw_lock.c
[5/119] Compiling mutex.c
[6/119] Compiling system_info.c
[7/119] Compiling thread.c
[8/119] Compiling device_random.c
[9/119] Compiling file.c
[10/119] Compiling clock.c
[10/119] Compiling environment.c
[12/119] Compiling cross_process_lock.c
[13/119] Compiling condition_variable.c
[14/119] Compiling system_info.c
[15/119] Compiling math.c
[16/119] Compiling lru_cache.c
[17/119] Compiling log_writer.c
[18/119] Compiling log_formatter.c
[19/119] Compiling logging.c
[20/119] Write swift-version-24593BA9C3E375BF.txt
[21/119] Compiling linked_hash_table.c
[22/119] Compiling lifo_cache.c
[23/119] Compiling memtrace.c
[24/119] Compiling json.c
[25/119] Compiling log_channel.c
[26/119] Compiling host_utils.c
[27/119] Compiling fifo_cache.c
[28/119] Compiling file.c
[29/122] Compiling hash_table.c
[30/123] Compiling tags.c
[31/124] Compiling strings.c
[32/148] Compiling streaming.c
[33/152] Compiling serialization.c
[34/152] Compiling maps.c
[35/152] Compiling unicode.c
[36/152] Compiling ints.c
[38/152] Compiling SmithyRetriesAPI RetryStrategy.swift
[38/152] Compiling stack.c
[40/153] Compiling SmithyRetriesAPI RetryError.swift
[41/153] Emitting module SmithyTimestamps
[42/153] Compiling SmithyTimestamps DateFormatters.swift
[42/153] Compiling memory_utils.c
[43/153] Compiling encoders.c
[44/153] Compiling loaders.c
[46/153] Compiling SmithyWaitersAPI WaiterOptions.swift
[47/153] Emitting module SmithyRetriesAPI
[48/153] Compiling SmithyRetriesAPI RetryBackoffStrategy.swift
[49/153] Compiling SmithyRetriesAPI RetryErrorInfo.swift
[50/154] Compiling Logging MetadataProvider.swift
[51/154] Compiling Logging LogHandler.swift
[52/154] Compiling SmithyWaitersAPI WaiterErrors.swift
[53/154] Compiling SmithyRetriesAPI RetryErrorType.swift
[54/154] Compiling SmithyRetriesAPI RetryErrorInfoProvider.swift
[55/154] Compiling SmithyRetriesAPI RetryStrategyOptions.swift
[55/154] Compiling encoding.c
[56/154] Compiling builder_callbacks.c
[58/154] Compiling SmithyRetriesAPI RetryToken.swift
[58/154] Compiling floats_ctrls.c
[60/155] Compiling SmithyWaitersAPI Waiter.swift
[60/155] Compiling common.c
[62/155] Emitting module SmithyWaitersAPI
[63/155] Compiling SmithyWaitersAPI Acceptor.swift
[64/155] Compiling SmithyWaitersAPI JMESUtils.swift
[64/155] Compiling callbacks.c
[66/155] Compiling SmithyTimestamps TimestampSerdeUtils.swift
[67/156] Compiling SmithyWaitersAPI WaiterOutcome.swift
[68/156] Compiling SmithyWaitersAPI WaiterConfiguration.swift
[69/156] Compiling SmithyWaitersAPI WaiterRetryer.swift
[69/156] Compiling bytestrings.c
[70/156] Compiling arrays.c
[72/156] Compiling AmplifyBigInteger AmplifyBigInt+Operations.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h:1:9: error: 'Foundation/Foundation.h' file not found
 1 | #import <Foundation/Foundation.h>
   |         `- error: 'Foundation/Foundation.h' file not found
 2 |
 3 | FOUNDATION_EXPORT double LibTomMathAmplifyVersionNumber;
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/AmplifyBigInteger/AmplifyBigInt+Bytes.swift:9:8: error: could not build C module 'libtommathAmplify'
 7 |
 8 | import Foundation
 9 | import libtommathAmplify
   |        `- error: could not build C module 'libtommathAmplify'
10 |
11 | public extension AmplifyBigInt {
[73/156] Compiling AmplifyBigInteger AmplifyBigInt.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h:1:9: error: 'Foundation/Foundation.h' file not found
 1 | #import <Foundation/Foundation.h>
   |         `- error: 'Foundation/Foundation.h' file not found
 2 |
 3 | FOUNDATION_EXPORT double LibTomMathAmplifyVersionNumber;
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/AmplifyBigInteger/AmplifyBigInt+Bytes.swift:9:8: error: could not build C module 'libtommathAmplify'
 7 |
 8 | import Foundation
 9 | import libtommathAmplify
   |        `- error: could not build C module 'libtommathAmplify'
10 |
11 | public extension AmplifyBigInt {
[74/156] Compiling AmplifyBigInteger AmplifyBigInt+Sign.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h:1:9: error: 'Foundation/Foundation.h' file not found
 1 | #import <Foundation/Foundation.h>
   |         `- error: 'Foundation/Foundation.h' file not found
 2 |
 3 | FOUNDATION_EXPORT double LibTomMathAmplifyVersionNumber;
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/AmplifyBigInteger/AmplifyBigInt+Bytes.swift:9:8: error: could not build C module 'libtommathAmplify'
 7 |
 8 | import Foundation
 9 | import libtommathAmplify
   |        `- error: could not build C module 'libtommathAmplify'
10 |
11 | public extension AmplifyBigInt {
[74/156] Compiling cbor.c
[76/156] Compiling allocators.c
[79/156] Compiling Logging Locks.swift
[79/156] Compiling error.c
[81/156] Compiling AmplifyBigInteger AmplifyBigIntHelper.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h:1:9: error: 'Foundation/Foundation.h' file not found
 1 | #import <Foundation/Foundation.h>
   |         `- error: 'Foundation/Foundation.h' file not found
 2 |
 3 | FOUNDATION_EXPORT double LibTomMathAmplifyVersionNumber;
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/AmplifyBigInteger/AmplifyBigInt+Bytes.swift:9:8: error: could not build C module 'libtommathAmplify'
 7 |
 8 | import Foundation
 9 | import libtommathAmplify
   |        `- error: could not build C module 'libtommathAmplify'
10 |
11 | public extension AmplifyBigInt {
[82/156] Emitting module Logging
[82/156] Compiling cJSON.c
[84/156] Compiling AmplifyBigInteger AmplifyBigInt+Bytes.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h:1:9: error: 'Foundation/Foundation.h' file not found
 1 | #import <Foundation/Foundation.h>
   |         `- error: 'Foundation/Foundation.h' file not found
 2 |
 3 | FOUNDATION_EXPORT double LibTomMathAmplifyVersionNumber;
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/AmplifyBigInteger/AmplifyBigInt+Bytes.swift:9:8: error: could not build C module 'libtommathAmplify'
 7 |
 8 | import Foundation
 9 | import libtommathAmplify
   |        `- error: could not build C module 'libtommathAmplify'
10 |
11 | public extension AmplifyBigInt {
[85/156] Compiling AmplifyBigInteger AmplifyBigInt+Comparable.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h:1:9: error: 'Foundation/Foundation.h' file not found
 1 | #import <Foundation/Foundation.h>
   |         `- error: 'Foundation/Foundation.h' file not found
 2 |
 3 | FOUNDATION_EXPORT double LibTomMathAmplifyVersionNumber;
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/AmplifyBigInteger/AmplifyBigInt+Bytes.swift:9:8: error: could not build C module 'libtommathAmplify'
 7 |
 8 | import Foundation
 9 | import libtommathAmplify
   |        `- error: could not build C module 'libtommathAmplify'
10 |
11 | public extension AmplifyBigInt {
[86/156] Compiling AmplifyBigInteger AmplifyBigInt+Integer.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h:1:9: error: 'Foundation/Foundation.h' file not found
 1 | #import <Foundation/Foundation.h>
   |         `- error: 'Foundation/Foundation.h' file not found
 2 |
 3 | FOUNDATION_EXPORT double LibTomMathAmplifyVersionNumber;
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/AmplifyBigInteger/AmplifyBigInt+Bytes.swift:9:8: error: could not build C module 'libtommathAmplify'
 7 |
 8 | import Foundation
 9 | import libtommathAmplify
   |        `- error: could not build C module 'libtommathAmplify'
10 |
11 | public extension AmplifyBigInt {
[87/156] Compiling SmithyWaitersAPI WaiterScheduler.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[88/157] Emitting module AmplifyBigInteger
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h:1:9: error: 'Foundation/Foundation.h' file not found
 1 | #import <Foundation/Foundation.h>
   |         `- error: 'Foundation/Foundation.h' file not found
 2 |
 3 | FOUNDATION_EXPORT double LibTomMathAmplifyVersionNumber;
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/AmplifyBigInteger/AmplifyBigInt+Bytes.swift:9:8: error: could not build C module 'libtommathAmplify'
 7 |
 8 | import Foundation
 9 | import libtommathAmplify
   |        `- error: could not build C module 'libtommathAmplify'
10 |
11 | public extension AmplifyBigInt {
[88/157] Compiling encoding.c
[89/157] Compiling device_random.c
[90/157] Compiling codegen.c
[90/157] Compiling command_line_parser.c
[90/157] Compiling condition_variable.c
[90/157] Compiling date_time.c
[90/157] Compiling common.c
BUILD FAILURE 6.1 linux