The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build AmplifyUILiveness, reference main (3affdd), with Swift 5.9 for Linux on 20 Mar 2025 00:33:41 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
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:             5.9
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-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/aws-amplify/amplify-swift
[1/163321] Fetching amplify-swift
Fetched https://github.com/aws-amplify/amplify-swift (12.86s)
Computing version for https://github.com/aws-amplify/amplify-swift
Computed https://github.com/aws-amplify/amplify-swift at 2.46.1 (0.50s)
Fetching https://github.com/aws-amplify/amplify-swift-utils-notifications.git
Fetching https://github.com/stephencelis/SQLite.swift.git
Fetching https://github.com/awslabs/aws-sdk-swift
[1/9600] Fetching sqlite.swift
[1249/10129] Fetching sqlite.swift, amplify-swift-utils-notifications
Fetched https://github.com/aws-amplify/amplify-swift-utils-notifications.git (0.32s)
[6720/9600] Fetching sqlite.swift
Fetched https://github.com/stephencelis/SQLite.swift.git (0.80s)
[1/593640] Fetching aws-sdk-swift
Fetched https://github.com/awslabs/aws-sdk-swift (157.45s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.15.3 (4.61s)
Fetching https://github.com/stephencelis/CSQLite.git
[1/19] Fetching csqlite
Fetched https://github.com/stephencelis/CSQLite.git (1.83s)
Computing version for https://github.com/awslabs/aws-sdk-swift
Computed https://github.com/awslabs/aws-sdk-swift at 1.0.69 (0.92s)
Fetching https://github.com/awslabs/aws-crt-swift
Fetching https://github.com/smithy-lang/smithy-swift
[1/30174] Fetching aws-crt-swift
[7243/99487] Fetching aws-crt-swift, smithy-swift
Fetched https://github.com/awslabs/aws-crt-swift (5.42s)
Fetched https://github.com/smithy-lang/smithy-swift (5.42s)
Computing version for https://github.com/stephencelis/CSQLite.git
Computed https://github.com/stephencelis/CSQLite.git at 0.0.3 (4.36s)
Computing version for https://github.com/awslabs/aws-crt-swift
Computed https://github.com/awslabs/aws-crt-swift at 0.40.0 (4.14s)
Computing version for https://github.com/smithy-lang/smithy-swift
Computed https://github.com/smithy-lang/smithy-swift at 0.106.0 (4.16s)
Fetching https://github.com/apple/swift-log.git
[1/3787] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (4.33s)
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.33s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.78s)
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/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/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/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/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.40.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
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
Building for debugging...
[0/363] Copying PrivacyInfo.xcprivacy
[0/363] Copying Info.plist
[0/363] Copying Localizable.strings
[5/363] Compiling libtommathAmplify amplify_bn_mp_fread.c
[5/363] Copying PrivacyInfo.xcprivacy
[7/363] Compiling libtommathAmplify amplify_bn_s_mp_prime_is_divisible.c
[8/363] Compiling libtommathAmplify amplify_bn_mp_ubin_size.c
[9/363] Compiling libtommathAmplify amplify_bn_mp_set_i64.c
[10/363] Compiling libtommathAmplify amplify_bn_mp_set_i32.c
[11/363] Compiling libtommathAmplify amplify_bn_mp_exteuclid.c
[12/363] Compiling libtommathAmplify amplify_bn_mp_prime_strong_lucas_selfridge.c
[13/363] Compiling libtommathAmplify amplify_bn_s_mp_sub.c
[14/363] Compiling libtommathAmplify amplify_bn_s_mp_sqr.c
[14/363] Compiling libtommathAmplify amplify_bn_s_mp_reverse.c
[14/363] Compiling libtommathAmplify amplify_bn_s_mp_sqr_fast.c
[15/363] Compiling libtommathAmplify amplify_bn_s_mp_toom_sqr.c
[15/363] Compiling libtommathAmplify amplify_bn_s_mp_toom_mul.c
[19/363] Compiling libtommathAmplify amplify_bn_s_mp_rand_platform.c
[20/363] Compiling libtommathAmplify amplify_bn_s_mp_rand_jenkins.c
[21/363] Compiling libtommathAmplify amplify_bn_s_mp_mul_high_digs.c
[22/363] Compiling libtommathAmplify amplify_bn_s_mp_mul_high_digs_fast.c
[23/363] Compiling libtommathAmplify amplify_bn_s_mp_mul_digs.c
[24/363] Compiling libtommathAmplify amplify_bn_s_mp_mul_digs_fast.c
[25/363] Compiling libtommathAmplify amplify_bn_s_mp_montgomery_reduce_fast.c
[26/363] Compiling libtommathAmplify amplify_bn_s_mp_karatsuba_sqr.c
[27/363] Compiling libtommathAmplify amplify_bn_s_mp_karatsuba_mul.c
[28/363] Compiling libtommathAmplify amplify_bn_s_mp_invmod_fast.c
[29/363] Compiling libtommathAmplify amplify_bn_s_mp_invmod_slow.c
[30/363] Compiling libtommathAmplify amplify_bn_s_mp_get_bit.c
[31/363] Compiling libtommathAmplify amplify_bn_s_mp_exptmod_fast.c
[32/365] Compiling libtommathAmplify amplify_bn_s_mp_exptmod.c
[33/365] Compiling libtommathAmplify amplify_bn_s_mp_balance_mul.c
[34/383] Compiling libtommathAmplify amplify_bn_s_mp_add.c
[35/387] Compiling libtommathAmplify amplify_bn_prime_tab.c
[36/388] Compiling libtommathAmplify amplify_bn_mp_zero.c
[37/388] Compiling libtommathAmplify amplify_bn_mp_unpack.c
[38/388] Compiling libtommathAmplify amplify_bn_mp_xor.c
[39/388] Compiling libtommathAmplify amplify_bn_mp_to_ubin.c
[40/388] Compiling libtommathAmplify amplify_bn_mp_to_sbin.c
[41/388] Compiling libtommathAmplify amplify_bn_mp_to_radix.c
[42/388] Compiling libtommathAmplify amplify_bn_mp_submod.c
[43/388] Compiling libtommathAmplify amplify_bn_mp_sub_d.c
[44/388] Compiling libtommathAmplify amplify_bn_mp_sub.c
[45/388] Compiling libtommathAmplify amplify_bn_mp_sqrtmod_prime.c
[46/388] Compiling libtommathAmplify amplify_bn_mp_sqrmod.c
[47/388] Compiling libtommathAmplify amplify_bn_mp_sqrt.c
[48/388] Compiling libtommathAmplify amplify_bn_mp_sqr.c
[49/388] Compiling libtommathAmplify amplify_bn_mp_signed_rsh.c
[50/388] Compiling libtommathAmplify amplify_bn_mp_shrink.c
[51/388] Compiling libtommathAmplify amplify_bn_mp_set_ull.c
[52/388] Compiling libtommathAmplify amplify_bn_mp_set_ul.c
[53/388] Compiling libtommathAmplify amplify_bn_mp_set_u64.c
[54/388] Compiling libtommathAmplify amplify_bn_mp_set_l.c
[55/388] Compiling libtommathAmplify amplify_bn_mp_set_double.c
[56/388] Compiling libtommathAmplify amplify_bn_mp_set_u32.c
[57/388] Compiling libtommathAmplify amplify_bn_mp_set_ll.c
[58/388] Compiling libtommathAmplify amplify_bn_mp_set.c
[59/388] Compiling libtommathAmplify amplify_bn_mp_root_u32.c
[60/388] Compiling libtommathAmplify amplify_bn_mp_rshd.c
[61/388] Compiling libtommathAmplify amplify_bn_mp_sbin_size.c
[62/388] Compiling libtommathAmplify amplify_bn_mp_reduce_setup.c
[63/388] Compiling libtommathAmplify amplify_bn_mp_reduce_is_2k_l.c
[64/388] Compiling libtommathAmplify amplify_bn_mp_reduce_is_2k.c
[65/388] Compiling libtommathAmplify amplify_bn_mp_reduce_2k_setup_l.c
[66/388] Compiling libtommathAmplify amplify_bn_mp_reduce_2k_setup.c
[67/388] Compiling libtommathAmplify amplify_bn_mp_reduce_2k_l.c
[68/388] Compiling libtommathAmplify amplify_bn_mp_reduce_2k.c
[69/388] Compiling libtommathAmplify amplify_bn_mp_reduce.c
[70/388] Compiling libtommathAmplify amplify_bn_mp_read_radix.c
[71/388] Compiling libtommathAmplify amplify_bn_mp_rand.c
[72/388] Compiling libtommathAmplify amplify_bn_mp_radix_smap.c
[73/388] Compiling libtommathAmplify amplify_bn_mp_radix_size.c
[74/388] Compiling libtommathAmplify amplify_bn_mp_prime_rand.c
[75/388] Compiling libtommathAmplify amplify_bn_mp_prime_rabin_miller_trials.c
[76/388] Compiling libtommathAmplify amplify_bn_mp_prime_miller_rabin.c
[77/388] Compiling libtommathAmplify amplify_bn_mp_prime_next_prime.c
[78/388] Compiling libtommathAmplify amplify_bn_mp_prime_is_prime.c
[79/388] Compiling libtommathAmplify amplify_bn_mp_prime_frobenius_underwood.c
[80/388] Compiling libtommathAmplify amplify_bn_mp_prime_fermat.c
[81/388] Compiling libtommathAmplify amplify_bn_mp_pack_count.c
[82/388] Compiling libtommathAmplify amplify_bn_mp_pack.c
[83/388] Compiling libtommathAmplify amplify_bn_mp_or.c
[84/388] Compiling libtommathAmplify amplify_bn_mp_neg.c
[85/388] Compiling libtommathAmplify amplify_bn_mp_mul_2d.c
[86/388] Compiling libtommathAmplify amplify_bn_mp_mul_d.c
[87/388] Compiling libtommathAmplify amplify_bn_mp_mulmod.c
[88/388] Compiling libtommathAmplify amplify_bn_mp_mul_2.c
[89/388] Compiling libtommathAmplify amplify_bn_mp_mul.c
[90/388] Compiling libtommathAmplify amplify_bn_mp_montgomery_setup.c
[91/388] Compiling libtommathAmplify amplify_bn_mp_montgomery_reduce.c
[92/388] Compiling libtommathAmplify amplify_bn_mp_montgomery_calc_normalization.c
[93/388] Compiling libtommathAmplify amplify_bn_mp_mod_d.c
[94/388] Compiling libtommathAmplify amplify_bn_mp_mod_2d.c
[95/388] Compiling libtommathAmplify amplify_bn_mp_mod.c
[96/388] Compiling libtommathAmplify amplify_bn_mp_lshd.c
[97/388] Compiling libtommathAmplify amplify_bn_mp_log_u32.c
[98/388] Compiling libtommathAmplify amplify_bn_mp_lcm.c
[99/388] Compiling libtommathAmplify amplify_bn_mp_kronecker.c
[100/388] Compiling libtommathAmplify amplify_bn_mp_isodd.c
[101/388] Compiling libtommathAmplify amplify_bn_mp_is_square.c
[102/388] Compiling libtommathAmplify amplify_bn_mp_iseven.c
[103/388] Compiling libtommathAmplify amplify_bn_mp_invmod.c
[104/388] Compiling libtommathAmplify amplify_bn_mp_init_ull.c
[105/388] Compiling libtommathAmplify amplify_bn_mp_init_ul.c
[106/388] Compiling libtommathAmplify amplify_bn_mp_init_u64.c
[107/388] Compiling libtommathAmplify amplify_bn_mp_init_size.c
[108/388] Compiling libtommathAmplify amplify_bn_mp_init_u32.c
[109/388] Compiling libtommathAmplify amplify_bn_mp_init_set.c
[110/388] Compiling libtommathAmplify amplify_bn_mp_init_multi.c
[111/388] Compiling libtommathAmplify amplify_bn_mp_init_ll.c
[112/388] Compiling libtommathAmplify amplify_bn_mp_init_l.c
[113/388] Compiling libtommathAmplify amplify_bn_mp_init_i64.c
[114/388] Compiling libtommathAmplify amplify_bn_mp_init_i32.c
[115/388] Compiling libtommathAmplify amplify_bn_mp_init_copy.c
[116/388] Compiling libtommathAmplify amplify_bn_mp_init.c
[117/388] Compiling libtommathAmplify amplify_bn_mp_incr.c
[118/388] Compiling libtommathAmplify amplify_bn_mp_grow.c
[119/388] Compiling libtommathAmplify amplify_bn_mp_get_mag_ull.c
[120/388] Compiling libtommathAmplify amplify_bn_mp_get_mag_ul.c
[121/388] Compiling libtommathAmplify amplify_bn_mp_get_mag_u64.c
[122/388] Compiling libtommathAmplify amplify_bn_mp_get_ll.c
[123/388] Compiling libtommathAmplify amplify_bn_mp_get_mag_u32.c
[124/388] Compiling libtommathAmplify amplify_bn_mp_get_l.c
[125/388] Compiling libtommathAmplify amplify_bn_mp_get_i64.c
[126/388] Compiling libtommathAmplify amplify_bn_mp_get_i32.c
[127/388] Compiling libtommathAmplify amplify_bn_mp_get_double.c
[128/388] Compiling libtommathAmplify amplify_bn_mp_gcd.c
[129/388] Compiling libtommathAmplify amplify_bn_mp_fwrite.c
[130/388] Compiling libtommathAmplify amplify_bn_mp_from_ubin.c
[131/388] Compiling libtommathAmplify amplify_bn_mp_from_sbin.c
[132/388] Compiling libtommathAmplify amplify_bn_mp_exptmod.c
[133/388] Compiling libtommathAmplify amplify_bn_mp_expt_u32.c
[134/388] Compiling libtommathAmplify amplify_bn_mp_exch.c
[135/388] Compiling libtommathAmplify amplify_bn_mp_dr_is_modulus.c
[136/388] Compiling libtommathAmplify amplify_bn_mp_error_to_string.c
[137/388] Compiling libtommathAmplify amplify_bn_mp_dr_setup.c
[138/388] Compiling libtommathAmplify amplify_bn_mp_dr_reduce.c
[139/388] Compiling libtommathAmplify amplify_bn_mp_div_3.c
[140/388] Compiling libtommathAmplify amplify_bn_mp_div_d.c
[141/388] Compiling libtommathAmplify amplify_bn_mp_div_2d.c
[142/388] Compiling libtommathAmplify amplify_bn_mp_div_2.c
[143/388] Compiling libtommathAmplify amplify_bn_mp_div.c
[144/388] Compiling libtommathAmplify amplify_bn_mp_copy.c
[145/388] Compiling libtommathAmplify amplify_bn_mp_decr.c
[146/388] Compiling libtommathAmplify amplify_bn_mp_count_bits.c
[147/388] Compiling libtommathAmplify amplify_bn_mp_complement.c
[148/388] Compiling libtommathAmplify amplify_bn_mp_cnt_lsb.c
[149/388] Compiling libtommathAmplify amplify_bn_mp_cmp_mag.c
[150/388] Compiling libtommathAmplify amplify_bn_mp_cmp_d.c
[151/388] Compiling libtommathAmplify amplify_bn_mp_cmp.c
[152/388] Compiling libtommathAmplify amplify_bn_mp_clear_multi.c
[153/388] Compiling libtommathAmplify amplify_bn_mp_clear.c
[154/388] Compiling libtommathAmplify amplify_bn_mp_clamp.c
[155/388] Compiling libtommathAmplify amplify_bn_mp_and.c
[156/388] Compiling libtommathAmplify amplify_bn_mp_addmod.c
[157/388] Compiling libtommathAmplify amplify_bn_mp_add_d.c
[158/388] Compiling libtommathAmplify amplify_bn_mp_abs.c
[159/388] Compiling libtommathAmplify amplify_bn_mp_2expt.c
[159/388] Compiling libtommathAmplify amplify_bn_mp_add.c
[161/388] Copying sdk-partitions.json
[162/388] Copying PrivacyInfo.xcprivacy
[164/388] Compiling libtommathAmplify amplify_bn_cutoffs.c
[165/388] Compiling libtommathAmplify amplify_bn_deprecated.c
[166/388] Compiling tls_channel_handler_shared.c
[167/388] Compiling tls_channel_handler.c
[168/388] Compiling stream.c
[169/392] Compiling statistics.c
[170/394] Compiling tracing.c
[171/396] Compiling standard_retry_strategy.c
[172/396] Compiling socket_shared.c
[173/396] Compiling retry_strategy.c
[174/396] Compiling socket_channel_handler.c
[175/396] Compiling shared_library.c
[176/396] Compiling pipe.c
[177/396] Compiling host_resolver.c
[178/396] Compiling s2n_tls_channel_handler.c
[179/396] Compiling pkcs11_tls_op_handler.c
[180/396] Compiling socket.c
[181/396] Compiling no_retry_strategy.c
[182/396] Compiling message_pool.c
[183/396] Compiling pkcs11_lib.c
[184/396] Compiling pem.c
[185/396] Compiling io.c
[187/396] Compiling SmithyRetriesAPI RetryStrategyOptions.swift
[187/397] Compiling host_resolver.c
[188/397] Compiling epoll_event_loop.c
[189/397] Compiling future.c
[190/397] Compiling exponential_backoff_retry_strategy.c
[191/397] Compiling event_loop.c
[192/397] Compiling async_stream.c
[193/397] Compiling channel_bootstrap.c
[194/397] Compiling alpn_handler.c
[195/397] Compiling channel.c
[196/397] Compiling websocket_encoder.c
[198/397] Compiling AmplifyBigInteger AmplifyBigInt+Sign.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h"
         ^
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h:1:9: error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/AmplifyBigInteger/AmplifyBigInt+Bytes.swift:9:8: error: could not build C module 'libtommathAmplify'
import libtommathAmplify
       ^
[199/397] Compiling SmithyRetriesAPI RetryErrorType.swift
[200/397] Compiling SmithyRetriesAPI RetryErrorInfoProvider.swift
[201/397] Compiling SmithyRetriesAPI RetryStrategy.swift
[201/397] Compiling websocket.c
[203/397] Compiling SmithyWaitersAPI WaiterOptions.swift
[204/397] Compiling SmithyWaitersAPI WaiterErrors.swift
[205/397] Compiling AmplifyBigInteger AmplifyBigInt+Comparable.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h"
         ^
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h:1:9: error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/AmplifyBigInteger/AmplifyBigInt+Bytes.swift:9:8: error: could not build C module 'libtommathAmplify'
import libtommathAmplify
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[206/397] Compiling AmplifyBigInteger AmplifyBigInt+Bytes.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h"
         ^
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h:1:9: error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/AmplifyBigInteger/AmplifyBigInt+Bytes.swift:9:8: error: could not build C module 'libtommathAmplify'
import libtommathAmplify
       ^
[207/397] Emitting module AmplifyBigInteger
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h"
         ^
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h:1:9: error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/AmplifyBigInteger/AmplifyBigInt+Bytes.swift:9:8: error: could not build C module 'libtommathAmplify'
import libtommathAmplify
       ^
[207/397] Compiling websocket_decoder.c
[209/398] Compiling Logging MetadataProvider.swift
[209/398] Compiling strutil.c
[211/398] Compiling AmplifyBigInteger AmplifyBigInt.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h"
         ^
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h:1:9: error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/AmplifyBigInteger/AmplifyBigInt+Bytes.swift:9:8: error: could not build C module 'libtommathAmplify'
import libtommathAmplify
       ^
[212/398] Compiling AmplifyBigInteger AmplifyBigInt+Integer.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h"
         ^
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h:1:9: error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/AmplifyBigInteger/AmplifyBigInt+Bytes.swift:9:8: error: could not build C module 'libtommathAmplify'
import libtommathAmplify
       ^
[213/398] Compiling AmplifyBigInteger AmplifyBigInt+Operations.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h"
         ^
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h:1:9: error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/AmplifyBigInteger/AmplifyBigInt+Bytes.swift:9:8: error: could not build C module 'libtommathAmplify'
import libtommathAmplify
       ^
[214/398] Compiling AmplifyBigInteger AmplifyBigIntHelper.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h"
         ^
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/libtommath/include/libtommathAmplify.h:1:9: error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^
/host/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Auth/Sources/AmplifyBigInteger/AmplifyBigInt+Bytes.swift:9:8: error: could not build C module 'libtommathAmplify'
import libtommathAmplify
       ^
[215/398] Compiling SmithyRetriesAPI RetryToken.swift
[215/398] Compiling websocket_bootstrap.c
[217/398] Compiling SmithyRetriesAPI RetryBackoffStrategy.swift
[218/398] Emitting module SmithyRetriesAPI
[219/398] Compiling SmithyRetriesAPI RetryError.swift
[220/398] Compiling SmithyRetriesAPI RetryErrorInfo.swift
[220/398] Compiling statistics.c
[222/399] Emitting module SmithyTimestamps
[223/399] Compiling SmithyTimestamps DateFormatters.swift
[224/399] Compiling SmithyWaitersAPI WaiterOutcome.swift
[225/399] Compiling SmithyWaitersAPI WaiterRetryer.swift
[226/399] Compiling SmithyWaitersAPI WaiterConfiguration.swift
[227/399] Compiling SmithyTimestamps TimestampSerdeUtils.swift
[228/399] Compiling SmithyWaitersAPI Acceptor.swift
[229/399] Compiling SmithyWaitersAPI JMESUtils.swift
[229/399] Compiling random_access_set.c
[231/399] Compiling SmithyWaitersAPI Waiter.swift
[232/399] Emitting module SmithyWaitersAPI
error: fatalError
[233/401] Compiling proxy_strategy.c
[233/401] Compiling proxy_connection.c
[233/401] Compiling request_response.c
[234/401] Compiling Logging LogHandler.swift
[235/401] Compiling Logging Locks.swift
[236/401] Emitting module Logging
BUILD FAILURE 5.9 linux