Build Information
Failed to build AmplifyUILiveness, reference main (3affdd
), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 10:20:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 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: 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: wasm
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-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/aws-amplify/amplify-swift
[1/163743] Fetching amplify-swift
Fetched https://github.com/aws-amplify/amplify-swift from cache (19.62s)
Computing version for https://github.com/aws-amplify/amplify-swift
Computed https://github.com/aws-amplify/amplify-swift at 2.46.1 (20.99s)
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
[351/10380] Fetching amplify-swift-utils-notifications, sqlite.swift
Fetched https://github.com/aws-amplify/amplify-swift-utils-notifications.git from cache (0.48s)
[1577/9851] Fetching sqlite.swift
Fetching https://github.com/awslabs/aws-sdk-swift
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (1.83s)
[1/710062] Fetching aws-sdk-swift
Fetched https://github.com/awslabs/aws-sdk-swift from cache (199.90s)
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 (202.30s)
Fetching https://github.com/stephencelis/CSQLite.git
[1/19] Fetching csqlite
Fetched https://github.com/stephencelis/CSQLite.git from cache (0.28s)
Computing version for https://github.com/awslabs/aws-sdk-swift
Computed https://github.com/awslabs/aws-sdk-swift at 1.0.69 (3.07s)
Fetching https://github.com/awslabs/aws-crt-swift
Fetching https://github.com/smithy-lang/smithy-swift
[1/31902] Fetching aws-crt-swift
[14038/102758] Fetching aws-crt-swift, smithy-swift
Fetched https://github.com/awslabs/aws-crt-swift from cache (6.48s)
Fetched https://github.com/smithy-lang/smithy-swift from cache (6.91s)
Computing version for https://github.com/stephencelis/CSQLite.git
Computed https://github.com/stephencelis/CSQLite.git at 0.0.3 (14.13s)
Computing version for https://github.com/awslabs/aws-crt-swift
Computed https://github.com/awslabs/aws-crt-swift at 0.40.0 (4.82s)
Computing version for https://github.com/smithy-lang/smithy-swift
Computed https://github.com/smithy-lang/smithy-swift at 0.106.0 (1.51s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.44s)
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 (0.93s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.49s)
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/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/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-crt-swift
Working copy of https://github.com/awslabs/aws-crt-swift resolved at 0.40.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-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
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: you may be able to install libcrypto using your system-packager:
apt-get install openssl libssl-dev
warning: you may be able to install libcrypto using your system-packager:
apt-get install openssl libssl-dev
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
[5/411] Copying PrivacyInfo.xcprivacy
[6/411] Compiling libtommathAmplify amplify_bn_s_mp_toom_mul.c
[6/411] Compiling libtommathAmplify amplify_bn_s_mp_sqr_fast.c
[8/411] Compiling libtommathAmplify amplify_bn_s_mp_sqr.c
[8/411] Compiling libtommathAmplify amplify_bn_s_mp_reverse.c
[10/411] Write swift-version-24593BA9C3E375BF.txt
[11/411] Compiling libtommathAmplify amplify_bn_s_mp_sub.c
[11/411] Compiling libtommathAmplify amplify_bn_s_mp_rand_platform.c
[13/411] Compiling libtommathAmplify amplify_bn_s_mp_toom_sqr.c
[14/411] Compiling libtommathAmplify amplify_bn_s_mp_rand_jenkins.c
[15/411] Compiling libtommathAmplify amplify_bn_s_mp_prime_is_divisible.c
[16/412] Compiling libtommathAmplify amplify_bn_s_mp_mul_digs_fast.c
[17/413] Compiling libtommathAmplify amplify_bn_s_mp_mul_high_digs_fast.c
[18/418] Compiling libtommathAmplify amplify_bn_s_mp_mul_high_digs.c
[19/418] Compiling libtommathAmplify amplify_bn_s_mp_mul_digs.c
[20/428] Compiling libtommathAmplify amplify_bn_s_mp_karatsuba_sqr.c
[21/428] Compiling libtommathAmplify amplify_bn_s_mp_get_bit.c
[22/428] Compiling libtommathAmplify amplify_bn_s_mp_karatsuba_mul.c
[23/428] Compiling libtommathAmplify amplify_bn_s_mp_invmod_slow.c
[24/428] Compiling libtommathAmplify amplify_bn_s_mp_montgomery_reduce_fast.c
[25/428] Compiling libtommathAmplify amplify_bn_s_mp_invmod_fast.c
[26/428] Compiling libtommathAmplify amplify_bn_s_mp_exptmod_fast.c
[27/428] Compiling libtommathAmplify amplify_bn_s_mp_balance_mul.c
[28/428] Compiling libtommathAmplify amplify_bn_s_mp_exptmod.c
[29/428] Compiling libtommathAmplify amplify_bn_s_mp_add.c
[30/428] Compiling libtommathAmplify amplify_bn_mp_zero.c
[31/428] Compiling libtommathAmplify amplify_bn_prime_tab.c
[32/428] Compiling libtommathAmplify amplify_bn_mp_unpack.c
[33/428] Compiling libtommathAmplify amplify_bn_mp_xor.c
[34/428] Compiling libtommathAmplify amplify_bn_mp_ubin_size.c
[35/428] Compiling libtommathAmplify amplify_bn_mp_to_ubin.c
[36/428] Compiling libtommathAmplify amplify_bn_mp_to_sbin.c
[37/428] Compiling libtommathAmplify amplify_bn_mp_to_radix.c
[38/428] Compiling libtommathAmplify amplify_bn_mp_submod.c
[39/428] Compiling libtommathAmplify amplify_bn_mp_sub_d.c
[40/428] Compiling libtommathAmplify amplify_bn_mp_sub.c
[41/428] Compiling libtommathAmplify amplify_bn_mp_sqrt.c
[42/428] Compiling libtommathAmplify amplify_bn_mp_sqrtmod_prime.c
[43/428] Compiling libtommathAmplify amplify_bn_mp_sqrmod.c
[44/428] Compiling libtommathAmplify amplify_bn_mp_sqr.c
[45/428] Compiling libtommathAmplify amplify_bn_mp_shrink.c
[46/428] Compiling libtommathAmplify amplify_bn_mp_signed_rsh.c
[47/428] Compiling libtommathAmplify amplify_bn_mp_set_ull.c
[48/428] Compiling libtommathAmplify amplify_bn_mp_set_ul.c
[49/428] Compiling libtommathAmplify amplify_bn_mp_set_u64.c
[50/428] Compiling libtommathAmplify amplify_bn_mp_set_l.c
[51/428] Compiling libtommathAmplify amplify_bn_mp_set_u32.c
[52/428] Compiling libtommathAmplify amplify_bn_mp_set_ll.c
[53/428] Compiling libtommathAmplify amplify_bn_mp_set_i64.c
[54/428] Compiling libtommathAmplify amplify_bn_mp_set_i32.c
[55/428] Compiling libtommathAmplify amplify_bn_mp_set_double.c
[56/428] Compiling libtommathAmplify amplify_bn_mp_sbin_size.c
[57/428] Compiling libtommathAmplify amplify_bn_mp_rshd.c
[58/428] Compiling libtommathAmplify amplify_bn_mp_set.c
[59/428] Compiling libtommathAmplify amplify_bn_mp_reduce_setup.c
[60/428] Compiling libtommathAmplify amplify_bn_mp_root_u32.c
[61/428] Compiling libtommathAmplify amplify_bn_mp_reduce_is_2k_l.c
[62/428] Compiling libtommathAmplify amplify_bn_mp_reduce_is_2k.c
[63/428] Compiling libtommathAmplify amplify_bn_mp_reduce_2k_setup_l.c
[64/428] Compiling libtommathAmplify amplify_bn_mp_reduce_2k_setup.c
[65/428] Compiling libtommathAmplify amplify_bn_mp_reduce_2k_l.c
[66/428] Compiling libtommathAmplify amplify_bn_mp_reduce_2k.c
[67/428] Compiling libtommathAmplify amplify_bn_mp_radix_size.c
[68/428] Compiling libtommathAmplify amplify_bn_mp_reduce.c
[68/428] Compiling libtommathAmplify amplify_bn_mp_rand.c
[68/428] Compiling libtommathAmplify amplify_bn_mp_read_radix.c
[71/428] Compiling libtommathAmplify amplify_bn_mp_radix_smap.c
[72/428] Compiling libtommathAmplify amplify_bn_mp_prime_strong_lucas_selfridge.c
[73/428] Compiling libtommathAmplify amplify_bn_mp_prime_rand.c
[74/428] Compiling libtommathAmplify amplify_bn_mp_prime_rabin_miller_trials.c
[75/428] Compiling libtommathAmplify amplify_bn_mp_prime_next_prime.c
[76/428] Compiling libtommathAmplify amplify_bn_mp_prime_miller_rabin.c
[77/428] Compiling libtommathAmplify amplify_bn_mp_prime_is_prime.c
[78/428] Compiling libtommathAmplify amplify_bn_mp_pack_count.c
[79/428] Compiling libtommathAmplify amplify_bn_mp_prime_frobenius_underwood.c
[80/428] Compiling libtommathAmplify amplify_bn_mp_prime_fermat.c
[81/428] Compiling libtommathAmplify amplify_bn_mp_pack.c
[82/428] Compiling libtommathAmplify amplify_bn_mp_or.c
[83/428] Compiling libtommathAmplify amplify_bn_mp_neg.c
[84/428] Compiling libtommathAmplify amplify_bn_mp_mulmod.c
[85/428] Compiling libtommathAmplify amplify_bn_mp_mul_2.c
[85/428] Compiling libtommathAmplify amplify_bn_mp_mul_2d.c
[87/428] Compiling libtommathAmplify amplify_bn_mp_mul_d.c
[88/428] Compiling libtommathAmplify amplify_bn_mp_mul.c
[89/428] Compiling libtommathAmplify amplify_bn_mp_montgomery_setup.c
[90/428] Compiling libtommathAmplify amplify_bn_mp_montgomery_calc_normalization.c
[91/428] Compiling libtommathAmplify amplify_bn_mp_montgomery_reduce.c
[92/428] Compiling libtommathAmplify amplify_bn_mp_mod_d.c
[93/428] Compiling libtommathAmplify amplify_bn_mp_lcm.c
[94/428] Compiling libtommathAmplify amplify_bn_mp_mod.c
[95/428] Compiling libtommathAmplify amplify_bn_mp_mod_2d.c
[96/428] Compiling libtommathAmplify amplify_bn_mp_kronecker.c
[97/428] Compiling libtommathAmplify amplify_bn_mp_lshd.c
[98/428] Compiling libtommathAmplify amplify_bn_mp_isodd.c
[99/428] Compiling libtommathAmplify amplify_bn_mp_log_u32.c
[100/428] Compiling libtommathAmplify amplify_bn_mp_iseven.c
[101/428] Compiling libtommathAmplify amplify_bn_mp_is_square.c
[102/428] Compiling libtommathAmplify amplify_bn_mp_invmod.c
[103/428] Compiling libtommathAmplify amplify_bn_mp_init_u64.c
[104/428] Compiling libtommathAmplify amplify_bn_mp_init_ull.c
[105/428] Compiling libtommathAmplify amplify_bn_mp_init_ul.c
[106/428] Compiling libtommathAmplify amplify_bn_mp_init_u32.c
[107/428] Compiling libtommathAmplify amplify_bn_mp_init_size.c
[108/428] Compiling libtommathAmplify amplify_bn_mp_init_set.c
[109/428] Compiling libtommathAmplify amplify_bn_mp_init_multi.c
[110/428] Compiling libtommathAmplify amplify_bn_mp_init_ll.c
[111/428] Compiling libtommathAmplify amplify_bn_mp_init_copy.c
[112/428] Compiling libtommathAmplify amplify_bn_mp_init.c
[113/428] Compiling libtommathAmplify amplify_bn_mp_incr.c
[114/428] Compiling libtommathAmplify amplify_bn_mp_grow.c
[115/428] Compiling libtommathAmplify amplify_bn_mp_init_i64.c
[116/428] Compiling libtommathAmplify amplify_bn_mp_init_l.c
[117/428] Compiling libtommathAmplify amplify_bn_mp_init_i32.c
[118/428] Compiling libtommathAmplify amplify_bn_mp_get_mag_ull.c
[119/428] Compiling libtommathAmplify amplify_bn_mp_get_mag_ul.c
[120/428] Compiling libtommathAmplify amplify_bn_mp_get_l.c
[121/428] Compiling libtommathAmplify amplify_bn_mp_get_i64.c
[122/428] Compiling libtommathAmplify amplify_bn_mp_get_mag_u32.c
[123/428] Compiling libtommathAmplify amplify_bn_mp_get_mag_u64.c
[124/428] Compiling libtommathAmplify amplify_bn_mp_get_i32.c
[125/428] Compiling libtommathAmplify amplify_bn_mp_gcd.c
[126/428] Compiling libtommathAmplify amplify_bn_mp_get_ll.c
[127/428] Compiling libtommathAmplify amplify_bn_mp_get_double.c
[128/428] Compiling libtommathAmplify amplify_bn_mp_exteuclid.c
[129/428] Compiling libtommathAmplify amplify_bn_mp_from_sbin.c
[130/428] Compiling libtommathAmplify amplify_bn_mp_fwrite.c
[131/428] Compiling libtommathAmplify amplify_bn_mp_from_ubin.c
[132/428] Compiling libtommathAmplify amplify_bn_mp_fread.c
[133/428] Compiling libtommathAmplify amplify_bn_mp_exptmod.c
[134/428] Compiling libtommathAmplify amplify_bn_mp_expt_u32.c
[135/428] Compiling libtommathAmplify amplify_bn_mp_exch.c
[136/428] Compiling libtommathAmplify amplify_bn_mp_dr_setup.c
[137/428] Compiling libtommathAmplify amplify_bn_mp_error_to_string.c
[138/428] Compiling libtommathAmplify amplify_bn_mp_dr_reduce.c
[139/428] Compiling libtommathAmplify amplify_bn_mp_dr_is_modulus.c
[140/428] Compiling libtommathAmplify amplify_bn_mp_div_d.c
[141/428] Compiling libtommathAmplify amplify_bn_mp_div_2d.c
[142/428] Compiling libtommathAmplify amplify_bn_mp_div_2.c
[143/428] Compiling libtommathAmplify amplify_bn_mp_div_3.c
[144/428] Compiling libtommathAmplify amplify_bn_mp_count_bits.c
[145/428] Compiling libtommathAmplify amplify_bn_mp_copy.c
[146/428] Compiling libtommathAmplify amplify_bn_mp_decr.c
[147/428] Compiling libtommathAmplify amplify_bn_mp_cmp_mag.c
[148/428] Compiling libtommathAmplify amplify_bn_mp_div.c
[149/428] Compiling libtommathAmplify amplify_bn_mp_cnt_lsb.c
[149/428] Compiling libtommathAmplify amplify_bn_mp_complement.c
[151/428] Compiling libtommathAmplify amplify_bn_mp_clear.c
[152/428] Compiling libtommathAmplify amplify_bn_mp_cmp_d.c
[153/428] Compiling libtommathAmplify amplify_bn_mp_clamp.c
[154/428] Compiling libtommathAmplify amplify_bn_mp_clear_multi.c
[155/428] Compiling libtommathAmplify amplify_bn_mp_and.c
[156/428] Compiling libtommathAmplify amplify_bn_mp_cmp.c
[157/428] Compiling libtommathAmplify amplify_bn_mp_add.c
[158/428] Compiling libtommathAmplify amplify_bn_mp_addmod.c
[159/428] Copying sdk-partitions.json
[160/428] Copying PrivacyInfo.xcprivacy
[162/428] Write sources
[164/428] Compiling libtommathAmplify amplify_bn_mp_abs.c
[165/428] Write sources
[173/428] Compiling libtommathAmplify amplify_bn_mp_add_d.c
[174/428] Write sources
[189/428] Compiling libtommathAmplify amplify_bn_deprecated.c
[190/428] Compiling libtommathAmplify amplify_bn_mp_2expt.c
[191/428] Compiling libtommathAmplify amplify_bn_cutoffs.c
[192/436] Compiling tls_channel_handler_shared.c
[193/436] Compiling tracing.c
[194/436] Compiling stream.c
[195/436] Compiling tls_channel_handler.c
[196/436] Compiling statistics.c
[197/436] Compiling standard_retry_strategy.c
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-io/source/socket_shared.c:5:
/host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-io/include/aws/io/socket.h:113:18: error: no member named 'sun_path' in 'struct sockaddr_un'
113 | char address[AWS_ADDRESS_MAX_LEN];
| ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-io/include/aws/io/socket.h:110:67: note: expanded from macro 'AWS_ADDRESS_MAX_LEN'
110 | # define AWS_ADDRESS_MAX_LEN sizeof(((struct sockaddr_un *)0)->sun_path)
| ~~~~~~~~~~~~~~~~~~~~~~~~~ ^
1 error generated.
[198/436] Compiling socket_shared.c
[198/436] Compiling socket_channel_handler.c
[198/436] Compiling retry_strategy.c
[198/436] Compiling s2n_tls_channel_handler.c
BUILD FAILURE 6.2 wasm