Build Information
Failed to build AmplifyUIAuthenticator, reference main (839cd9
), with Swift 6.1 for Wasm on 5 Sep 2025 21:47:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aws-amplify/amplify-ui-swift-authenticator.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-authenticator
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 839cd90 chore: fix code scanning alerts (#109)
Cloned https://github.com/aws-amplify/amplify-ui-swift-authenticator.git
Revision (git rev-parse @):
839cd908834d105e254b75d6d9c6b6e540208031
SUCCESS checkout https://github.com/aws-amplify/amplify-ui-swift-authenticator.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/aws-amplify/amplify-ui-swift-authenticator.git
https://github.com/aws-amplify/amplify-ui-swift-authenticator.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "amplify-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "2.45.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/aws-amplify/amplify-swift"
}
],
"manifest_display_name" : "AmplifyUIAuthenticator",
"name" : "AmplifyUIAuthenticator",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "Authenticator",
"targets" : [
"Authenticator"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AuthenticatorTests",
"module_type" : "SwiftTarget",
"name" : "AuthenticatorTests",
"path" : "Tests/AuthenticatorTests",
"sources" : [
"Mocks/MockAuthenticationService.swift",
"Mocks/MockAuthenticatorState.swift",
"States/AuthenticatorBaseStateTests.swift",
"States/ConfirmResetPasswordStateTests.swift",
"States/ConfirmSignInWithCodeStateTests.swift",
"States/ConfirmSignInWithNewPasswordStateTests.swift",
"States/ConfirmSignUpStateTests.swift",
"States/ConfirmVerifyUserStateTests.swift",
"States/ContinueSignInWithEmailMFASetupStateTests.swift",
"States/ContinueSignInWithMFASelectionStateTests.swift",
"States/ContinueSignInWithMFASetupSelectionStateTests.swift",
"States/ContinueSignInWithTOTPSetupStateTests.swift",
"States/ResetPasswordStateTests.swift",
"States/SignInStateTests.swift",
"States/SignUpStateTests.swift",
"States/SignedInStateTests.swift",
"States/VerifyUserStateTests.swift"
],
"target_dependencies" : [
"Authenticator"
],
"type" : "test"
},
{
"c99name" : "Authenticator",
"module_type" : "SwiftTarget",
"name" : "Authenticator",
"path" : "Sources/Authenticator",
"product_dependencies" : [
"Amplify",
"AWSCognitoAuthPlugin"
],
"product_memberships" : [
"Authenticator"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/Authenticator/Resources/en.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
}
],
"sources" : [
"Authenticator.swift",
"Configuration/AmplifyConfiguration.swift",
"Configuration/AuthenticatorOptions.swift",
"Constants/ComponentInformation.swift",
"Extensions/AuthError+Connectivity.swift",
"Extensions/AuthUserAttributeKey+LocalizedTitle.swift",
"Extensions/Bundle+Utils.swift",
"Extensions/Color+AmplifyUI.swift",
"Extensions/Color+Utils.swift",
"Extensions/DeliveryDestination+Value.swift",
"Extensions/EnvironmentValues+Authenticator.swift",
"Extensions/Logger+Error.swift",
"Extensions/String+Localizable.swift",
"Models/AuthenticatorMessage.swift",
"Models/AuthenticatorState.swift",
"Models/AuthenticatorStep.swift",
"Models/Internal/AuthenticatorMFAType.swift",
"Models/Internal/AuthenticatorStateProtocol.swift",
"Models/Internal/Credentials.swift",
"Models/Internal/InputType.swift",
"Models/Internal/Step.swift",
"Models/Internal/Validator.swift",
"Models/SignUpAttribute.swift",
"Models/SignUpField.swift",
"Options/TOTPOptions.swift",
"Service/AmplifyAuthenticationService.swift",
"Service/AuthenticationService.swift",
"States/AuthenticatorBaseState.swift",
"States/ConfirmResetPasswordState.swift",
"States/ConfirmSignInWithCodeState.swift",
"States/ConfirmSignInWithNewPasswordState.swift",
"States/ConfirmSignUpState.swift",
"States/ConfirmVerifyUserState.swift",
"States/ContinueSignInWithEmailMFASetupState.swift",
"States/ContinueSignInWithMFASelectionState.swift",
"States/ContinueSignInWithMFASetupSelectionState.swift",
"States/ContinueSignInWithTOTPSetupState.swift",
"States/ResetPasswordState.swift",
"States/SignInState.swift",
"States/SignUpState.swift",
"States/SignedInState.swift",
"States/VerifyUserState.swift",
"Theming/AuthenticatorTheme.swift",
"Utilities/AuthenticatorField.swift",
"Utilities/AuthenticatorLogging.swift",
"Utilities/FieldValidator.swift",
"Utilities/KeyboardIterableFields.swift",
"Utilities/Padding.swift",
"Utilities/Platform.swift",
"Utilities/PreviewFactory.swift",
"Utilities/RegionUtils.swift",
"Views/ConfirmResetPasswordView.swift",
"Views/ConfirmSignInWithCustomChallengeView.swift",
"Views/ConfirmSignInWithMFACodeView.swift",
"Views/ConfirmSignInWithNewPasswordView.swift",
"Views/ConfirmSignInWithOTPView.swift",
"Views/ConfirmSignInWithTOTPCodeView.swift",
"Views/ConfirmSignUpView.swift",
"Views/ConfirmVerifyUserView.swift",
"Views/ContinueSignInWithEmailMFASetupView.swift",
"Views/ContinueSignInWithMFASelectionView.swift",
"Views/ContinueSignInWithMFASetupSelectionView.swift",
"Views/ContinueSignInWithTOTPCopyKeyView.swift",
"Views/ContinueSignInWithTOTPSetupQRCodeView.swift",
"Views/ContinueSignInWithTOTPSetupView.swift",
"Views/ErrorView.swift",
"Views/Internal/AuthenticatorMessageView.swift",
"Views/Internal/AuthenticatorTextWithHeader.swift",
"Views/Internal/AuthenticatorView.swift",
"Views/Internal/ConfirmSignInWithCodeView.swift",
"Views/Internal/DefaultHeader.swift",
"Views/Internal/SignUpInputField.swift",
"Views/Primitives/Button.swift",
"Views/Primitives/DatePicker.swift",
"Views/Primitives/ImageButton.swift",
"Views/Primitives/PasswordField.swift",
"Views/Primitives/PhoneNumberField.swift",
"Views/Primitives/RadioButton.swift",
"Views/Primitives/TextField.swift",
"Views/ResetPasswordView.swift",
"Views/SignInView.swift",
"Views/SignUpView.swift",
"Views/VerifyUserView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/aws-amplify/amplify-swift
[1/165090] Fetching amplify-swift
Fetched https://github.com/aws-amplify/amplify-swift from cache (17.12s)
Computing version for https://github.com/aws-amplify/amplify-swift
Computed https://github.com/aws-amplify/amplify-swift at 2.50.0 (18.32s)
Fetching https://github.com/aws-amplify/amplify-swift-utils-notifications.git
Fetching https://github.com/awslabs/aws-sdk-swift
Fetching https://github.com/stephencelis/SQLite.swift.git
[1/10058] Fetching sqlite.swift
[1007/10587] Fetching sqlite.swift, amplify-swift-utils-notifications
[5532/10058] Fetching sqlite.swift
Fetched https://github.com/aws-amplify/amplify-swift-utils-notifications.git from cache (0.62s)
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (1.55s)
[1/801771] Fetching aws-sdk-swift
Fetched https://github.com/awslabs/aws-sdk-swift from cache (239.43s)
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 (242.72s)
Fetching https://github.com/stephencelis/CSQLite.git
[1/19] Fetching csqlite
Fetched https://github.com/stephencelis/CSQLite.git from cache (1.51s)
Computing version for https://github.com/awslabs/aws-sdk-swift
Computed https://github.com/awslabs/aws-sdk-swift at 1.5.14 (4.52s)
Fetching https://github.com/smithy-lang/smithy-swift
Fetching https://github.com/awslabs/aws-crt-swift
[1/32110] Fetching aws-crt-swift
[8350/103852] Fetching aws-crt-swift, smithy-swift
Fetched https://github.com/awslabs/aws-crt-swift from cache (3.24s)
Fetched https://github.com/smithy-lang/smithy-swift from cache (3.24s)
Computing version for https://github.com/stephencelis/CSQLite.git
Computed https://github.com/stephencelis/CSQLite.git at 0.0.3 (7.64s)
Computing version for https://github.com/awslabs/aws-crt-swift
Computed https://github.com/awslabs/aws-crt-swift at 0.52.1 (4.90s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/15692] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.92s)
Computing version for https://github.com/smithy-lang/smithy-swift
Computed https://github.com/smithy-lang/smithy-swift at 0.151.0 (3.58s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/open-telemetry/opentelemetry-swift
[1/3903] Fetching swift-log
[314/21935] Fetching swift-log, opentelemetry-swift
Fetched https://github.com/apple/swift-log.git from cache (0.42s)
[4148/18032] Fetching opentelemetry-swift
Fetched https://github.com/open-telemetry/opentelemetry-swift from cache (0.72s)
Computing version for https://github.com/aws-amplify/amplify-swift-utils-notifications.git
Computed https://github.com/aws-amplify/amplify-swift-utils-notifications.git at 1.1.1 (1.31s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.67s)
Computing version for https://github.com/open-telemetry/opentelemetry-swift
Computed https://github.com/open-telemetry/opentelemetry-swift at 1.17.1 (0.73s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/apple/swift-nio.git
[1/2350] Fetching swift-metrics
[2351/4164] Fetching swift-metrics, swift-atomics
[3984/55461] Fetching swift-metrics, swift-atomics, grpc-swift
Fetched https://github.com/apple/swift-atomics.git from cache (0.46s)
[5428/53647] Fetching swift-metrics, grpc-swift
[8507/131679] Fetching swift-metrics, grpc-swift, swift-nio
[65413/171825] Fetching swift-metrics, grpc-swift, swift-nio, swift-protobuf
Fetched https://github.com/grpc/grpc-swift.git from cache (2.50s)
[81395/120528] Fetching swift-metrics, swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-nio.git from cache (6.44s)
Fetched https://github.com/apple/swift-metrics.git from cache (7.50s)
Fetched https://github.com/apple/swift-protobuf.git from cache (7.57s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (8.04s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.48s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.26.1 (0.69s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2698] Fetching swift-nio-transport-services
[1324/8825] Fetching swift-nio-transport-services, swift-nio-extras
[3986/20486] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.42s)
[6658/17788] Fetching swift-nio-extras, swift-nio-http2
[8227/35182] Fetching swift-nio-extras, swift-nio-http2, swift-collections
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.58s)
[5640/29055] Fetching swift-nio-http2, swift-collections
[7675/44130] Fetching swift-nio-http2, swift-collections, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.84s)
[32168/32469] Fetching swift-collections, swift-nio-ssl
Fetched https://github.com/apple/swift-collections.git from cache (1.86s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.47s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (3.15s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.31.0 (0.54s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.1 (0.52s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.58s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (0.78s)
Fetching https://github.com/apple/swift-system.git
[1/4941] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.47s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (1.11s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (0.68s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/6461] Fetching swift-certificates
[66/7637] Fetching swift-certificates, swift-http-structured-headers
[67/9266] Fetching swift-certificates, swift-http-structured-headers, swift-asn1
[735/11736] Fetching swift-certificates, swift-http-structured-headers, swift-asn1, swift-service-lifecycle
[1425/16926] Fetching swift-certificates, swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-async-algorithms
[1483/22911] Fetching swift-certificates, swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-async-algorithms, swift-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.75s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.75s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.77s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.77s)
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.79s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.82s)
[1/917] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.36s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (1.65s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.60s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.59s)
Fetching https://github.com/apple/swift-numerics.git
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.01s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (1.64s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.57s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.13.0 (0.67s)
Fetching https://github.com/apple/swift-crypto.git
[1/16374] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.34s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.4.0 (2.86s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (0.45s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.34.0 (0.72s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.08s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.0 (2.19s)
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.34.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.29.0
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.31.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.26.1
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.38.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.2
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/awslabs/aws-sdk-swift
Working copy of https://github.com/awslabs/aws-sdk-swift resolved at 1.5.14
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
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/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.50.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Creating working copy for https://github.com/smithy-lang/smithy-swift
Working copy of https://github.com/smithy-lang/smithy-swift resolved at 0.151.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.13.0
Creating working copy for https://github.com/open-telemetry/opentelemetry-swift
Working copy of https://github.com/open-telemetry/opentelemetry-swift resolved at 1.17.1
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.1
Creating working copy for https://github.com/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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.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.52.1
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.25.1
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 | ],
Downloading binary artifact https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
[2747/15500663] Downloading https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
Downloaded https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip (1.61s)
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: '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
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
[3/3] Compiling plugin SwiftProtobufPlugin
[4/4] Compiling plugin GRPCSwiftPlugin
Building for debugging...
[4/440] Write sources
[5/440] Compiling libtommathAmplify amplify_bn_mp_init_u32.c
[6/440] Copying PrivacyInfo.xcprivacy
[7/440] Compiling libtommathAmplify amplify_bn_s_mp_sub.c
[8/440] Compiling libtommathAmplify amplify_bn_s_mp_sqr_fast.c
[9/440] Compiling libtommathAmplify amplify_bn_s_mp_toom_sqr.c
[9/440] Compiling libtommathAmplify amplify_bn_s_mp_sqr.c
[11/440] Compiling libtommathAmplify amplify_bn_s_mp_toom_mul.c
[12/440] Compiling libtommathAmplify amplify_bn_s_mp_rand_platform.c
[12/440] Compiling libtommathAmplify amplify_bn_s_mp_reverse.c
[14/440] Compiling libtommathAmplify amplify_bn_s_mp_rand_jenkins.c
[15/440] Compiling libtommathAmplify amplify_bn_s_mp_prime_is_divisible.c
[16/440] Compiling libtommathAmplify amplify_bn_s_mp_mul_high_digs_fast.c
[17/440] Compiling libtommathAmplify amplify_bn_mp_decr.c
[18/440] Write swift-version-24593BA9C3E375BF.txt
[19/440] Compiling libtommathAmplify amplify_bn_s_mp_mul_high_digs.c
[20/440] Compiling libtommathAmplify amplify_bn_s_mp_mul_digs_fast.c
[21/440] Compiling libtommathAmplify amplify_bn_s_mp_mul_digs.c
[22/440] Compiling libtommathAmplify amplify_bn_s_mp_karatsuba_sqr.c
[23/440] Compiling libtommathAmplify amplify_bn_s_mp_montgomery_reduce_fast.c
[24/440] Compiling libtommathAmplify amplify_bn_s_mp_karatsuba_mul.c
[25/440] Compiling libtommathAmplify amplify_bn_s_mp_invmod_fast.c
[26/440] Compiling libtommathAmplify amplify_bn_s_mp_get_bit.c
[27/440] Compiling libtommathAmplify amplify_bn_s_mp_exptmod_fast.c
[28/440] Compiling libtommathAmplify amplify_bn_s_mp_invmod_slow.c
[29/440] Compiling libtommathAmplify amplify_bn_prime_tab.c
[30/440] Compiling libtommathAmplify amplify_bn_mp_zero.c
[31/440] Compiling libtommathAmplify amplify_bn_s_mp_balance_mul.c
[32/440] Compiling libtommathAmplify amplify_bn_s_mp_exptmod.c
[33/440] Compiling libtommathAmplify amplify_bn_mp_xor.c
[34/440] Compiling libtommathAmplify amplify_bn_mp_ubin_size.c
[35/440] Compiling libtommathAmplify amplify_bn_s_mp_add.c
[36/440] Compiling libtommathAmplify amplify_bn_mp_to_ubin.c
[37/440] Compiling libtommathAmplify amplify_bn_mp_unpack.c
[38/440] Compiling libtommathAmplify amplify_bn_mp_to_radix.c
[39/440] Compiling libtommathAmplify amplify_bn_mp_to_sbin.c
[40/440] Compiling libtommathAmplify amplify_bn_mp_sub_d.c
[40/440] Compiling libtommathAmplify amplify_bn_mp_submod.c
[42/440] Compiling libtommathAmplify amplify_bn_mp_sub.c
[43/440] Compiling libtommathAmplify amplify_bn_mp_sqr.c
[44/440] Compiling libtommathAmplify amplify_bn_mp_signed_rsh.c
[45/440] Compiling libtommathAmplify amplify_bn_mp_sqrt.c
[46/440] Compiling libtommathAmplify amplify_bn_mp_shrink.c
[46/440] Compiling libtommathAmplify amplify_bn_mp_sqrtmod_prime.c
[48/440] Compiling libtommathAmplify amplify_bn_mp_set_ull.c
[48/440] Compiling libtommathAmplify amplify_bn_mp_sqrmod.c
[50/440] Compiling libtommathAmplify amplify_bn_mp_set_ul.c
[50/440] Compiling libtommathAmplify amplify_bn_mp_set_ll.c
[52/440] Compiling libtommathAmplify amplify_bn_mp_set_u32.c
[53/440] Compiling libtommathAmplify amplify_bn_mp_set_u64.c
[54/440] Compiling libtommathAmplify amplify_bn_mp_set_l.c
[55/440] Compiling libtommathAmplify amplify_bn_mp_set_i64.c
[56/440] Compiling libtommathAmplify amplify_bn_mp_set_i32.c
[57/440] Compiling libtommathAmplify amplify_bn_mp_set_double.c
[58/440] Compiling libtommathAmplify amplify_bn_mp_set.c
[59/440] Compiling libtommathAmplify amplify_bn_mp_rshd.c
[60/440] Compiling libtommathAmplify amplify_bn_mp_reduce_is_2k_l.c
[61/440] Compiling libtommathAmplify amplify_bn_mp_sbin_size.c
[62/440] Compiling libtommathAmplify amplify_bn_mp_reduce_setup.c
[63/440] Compiling libtommathAmplify amplify_bn_mp_reduce_2k_setup_l.c
[64/440] Compiling libtommathAmplify amplify_bn_mp_root_u32.c
[65/440] Compiling libtommathAmplify amplify_bn_mp_reduce_is_2k.c
[66/440] Compiling libtommathAmplify amplify_bn_mp_reduce_2k_setup.c
[67/440] Compiling libtommathAmplify amplify_bn_mp_read_radix.c
[68/440] Compiling libtommathAmplify amplify_bn_mp_reduce_2k.c
[69/440] Compiling libtommathAmplify amplify_bn_mp_reduce_2k_l.c
[70/440] Compiling libtommathAmplify amplify_bn_mp_reduce.c
[71/440] Compiling libtommathAmplify amplify_bn_mp_radix_size.c
[72/440] Compiling libtommathAmplify amplify_bn_mp_radix_smap.c
[73/440] Compiling libtommathAmplify amplify_bn_mp_rand.c
[74/440] Compiling libtommathAmplify amplify_bn_mp_prime_rand.c
[75/440] Compiling libtommathAmplify amplify_bn_mp_prime_rabin_miller_trials.c
[76/440] Compiling libtommathAmplify amplify_bn_mp_prime_frobenius_underwood.c
[77/440] Compiling libtommathAmplify amplify_bn_mp_prime_strong_lucas_selfridge.c
[78/440] Compiling libtommathAmplify amplify_bn_mp_prime_next_prime.c
[79/440] Compiling libtommathAmplify amplify_bn_mp_prime_miller_rabin.c
[79/440] Compiling libtommathAmplify amplify_bn_mp_prime_is_prime.c
[81/440] Compiling libtommathAmplify amplify_bn_mp_pack_count.c
[82/440] Compiling libtommathAmplify amplify_bn_mp_prime_fermat.c
[83/440] Compiling libtommathAmplify amplify_bn_mp_mulmod.c
[84/440] Compiling libtommathAmplify amplify_bn_mp_neg.c
[84/440] Compiling libtommathAmplify amplify_bn_mp_or.c
[84/440] Compiling libtommathAmplify amplify_bn_mp_pack.c
[87/440] Compiling libtommathAmplify amplify_bn_mp_mul_2.c
[88/440] Compiling libtommathAmplify amplify_bn_mp_montgomery_setup.c
[89/440] Compiling libtommathAmplify amplify_bn_mp_mul.c
[90/440] Compiling libtommathAmplify amplify_bn_mp_mul_2d.c
[91/440] Compiling libtommathAmplify amplify_bn_mp_mul_d.c
[92/440] Compiling libtommathAmplify amplify_bn_mp_montgomery_reduce.c
[93/440] Compiling libtommathAmplify amplify_bn_mp_montgomery_calc_normalization.c
[94/440] Compiling libtommathAmplify amplify_bn_mp_mod.c
[95/440] Compiling libtommathAmplify amplify_bn_mp_mod_d.c
[96/440] Compiling libtommathAmplify amplify_bn_mp_mod_2d.c
[97/440] Compiling libtommathAmplify amplify_bn_mp_isodd.c
[98/440] Compiling libtommathAmplify amplify_bn_mp_lcm.c
[99/440] Compiling libtommathAmplify amplify_bn_mp_lshd.c
[99/440] Compiling libtommathAmplify amplify_bn_mp_log_u32.c
[100/440] Compiling libtommathAmplify amplify_bn_mp_kronecker.c
[102/440] Compiling libtommathAmplify amplify_bn_mp_iseven.c
[103/440] Compiling libtommathAmplify amplify_bn_mp_init_ull.c
[104/440] Compiling libtommathAmplify amplify_bn_mp_invmod.c
[105/440] Compiling libtommathAmplify amplify_bn_mp_is_square.c
[106/440] Compiling libtommathAmplify amplify_bn_mp_init_u64.c
[107/440] Compiling libtommathAmplify amplify_bn_mp_init_set.c
[108/440] Compiling libtommathAmplify amplify_bn_mp_init_ul.c
[109/440] Compiling libtommathAmplify amplify_bn_mp_init_size.c
[110/440] Compiling libtommathAmplify amplify_bn_mp_init_ll.c
[111/440] Compiling libtommathAmplify amplify_bn_mp_init_multi.c
[112/440] Compiling libtommathAmplify amplify_bn_mp_init_l.c
[113/440] Compiling libtommathAmplify amplify_bn_mp_init_i32.c
[114/440] Compiling libtommathAmplify amplify_bn_mp_init_i64.c
[115/440] Compiling libtommathAmplify amplify_bn_mp_incr.c
[116/440] Compiling libtommathAmplify amplify_bn_mp_grow.c
[117/440] Compiling libtommathAmplify amplify_bn_mp_init_copy.c
[118/440] Compiling libtommathAmplify amplify_bn_mp_init.c
[119/440] Compiling libtommathAmplify amplify_bn_mp_get_mag_ull.c
[119/440] Compiling libtommathAmplify amplify_bn_mp_get_mag_u64.c
[121/440] Compiling libtommathAmplify amplify_bn_mp_get_mag_u32.c
[122/440] Compiling libtommathAmplify amplify_bn_mp_get_mag_ul.c
[123/440] Compiling libtommathAmplify amplify_bn_mp_get_i64.c
[123/440] Compiling libtommathAmplify amplify_bn_mp_get_l.c
[123/440] Compiling libtommathAmplify amplify_bn_mp_get_ll.c
[126/440] Compiling libtommathAmplify amplify_bn_mp_gcd.c
[127/440] Compiling libtommathAmplify amplify_bn_mp_fwrite.c
[127/440] Compiling libtommathAmplify amplify_bn_mp_get_i32.c
[129/440] Compiling libtommathAmplify amplify_bn_mp_get_double.c
[130/440] Compiling libtommathAmplify amplify_bn_mp_from_ubin.c
[131/440] Compiling libtommathAmplify amplify_bn_mp_from_sbin.c
[132/440] Compiling libtommathAmplify amplify_bn_mp_exteuclid.c
[132/440] Compiling libtommathAmplify amplify_bn_mp_exptmod.c
[134/440] Compiling libtommathAmplify amplify_bn_mp_fread.c
[135/440] Compiling libtommathAmplify amplify_bn_mp_expt_u32.c
[136/440] Compiling libtommathAmplify amplify_bn_mp_error_to_string.c
[137/440] Compiling libtommathAmplify amplify_bn_mp_dr_setup.c
[138/440] Compiling libtommathAmplify amplify_bn_mp_dr_reduce.c
[138/440] Compiling libtommathAmplify amplify_bn_mp_exch.c
[140/440] Compiling libtommathAmplify amplify_bn_mp_dr_is_modulus.c
[141/440] Compiling libtommathAmplify amplify_bn_mp_div_2d.c
[142/440] Compiling libtommathAmplify amplify_bn_mp_div_d.c
[143/440] Compiling libtommathAmplify amplify_bn_mp_div_3.c
[144/440] Compiling libtommathAmplify amplify_bn_mp_count_bits.c
[145/440] Compiling libtommathAmplify amplify_bn_mp_div_2.c
[146/440] Compiling libtommathAmplify amplify_bn_mp_complement.c
[147/440] Compiling libtommathAmplify amplify_bn_mp_div.c
[148/440] Compiling libtommathAmplify amplify_bn_mp_cmp_mag.c
[149/440] Compiling libtommathAmplify amplify_bn_mp_cmp_d.c
[150/440] Compiling libtommathAmplify amplify_bn_mp_copy.c
[151/440] Compiling libtommathAmplify amplify_bn_mp_cmp.c
[152/440] Compiling libtommathAmplify amplify_bn_mp_cnt_lsb.c
[153/440] Compiling libtommathAmplify amplify_bn_mp_clamp.c
[154/440] Compiling libtommathAmplify amplify_bn_mp_clear.c
[154/440] Compiling libtommathAmplify amplify_bn_mp_clear_multi.c
[156/440] Compiling libtommathAmplify amplify_bn_mp_and.c
[156/440] Copying PrivacyInfo.xcprivacy
[156/440] Write sources
[187/440] Compiling libtommathAmplify amplify_bn_mp_addmod.c
[188/440] Compiling libtommathAmplify amplify_bn_mp_add_d.c
[189/440] Compiling libtommathAmplify amplify_bn_mp_add.c
[190/440] Compiling libtommathAmplify amplify_bn_cutoffs.c
[191/440] Compiling libtommathAmplify amplify_bn_mp_2expt.c
[192/440] Compiling libtommathAmplify amplify_bn_mp_abs.c
[193/440] Compiling libtommathAmplify amplify_bn_deprecated.c
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/source/v5/mqtt5_utils.c:6:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/private/v5/mqtt5_utils.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/mqtt.h:10:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-common/include/aws/common/logging.h:11:
/host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-common/include/aws/common/thread.h:12:14: fatal error: 'pthread.h' file not found
12 | # include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/source/v5/mqtt5_types.c:6:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/private/v5/mqtt5_utils.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/mqtt.h:10:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-common/include/aws/common/logging.h:11:
/host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-common/include/aws/common/thread.h:12:14: fatal error: 'pthread.h' file not found
12 | # include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[194/440] Compiling mqtt5_types.c
[194/440] Compiling mqtt5_utils.c
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/source/v5/rate_limiters.c:6:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/private/v5/rate_limiters.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/mqtt.h:10:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-common/include/aws/common/logging.h:11:
/host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-common/include/aws/common/thread.h:12:14: fatal error: 'pthread.h' file not found
12 | # include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[194/440] Compiling rate_limiters.c
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/source/v5/mqtt5_topic_alias.c:6:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/private/v5/mqtt5_topic_alias.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/mqtt.h:10:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-common/include/aws/common/logging.h:11:
/host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-common/include/aws/common/thread.h:12:14: fatal error: 'pthread.h' file not found
12 | # include <pthread.h>
| ^~~~~~~~~~~
[194/440] Compiling mqtt5_topic_alias.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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: 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: '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
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
[3/3] Compiling plugin SwiftProtobufPlugin
[4/4] Compiling plugin GRPCSwiftPlugin
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/source/v5/mqtt5_utils.c:6:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/private/v5/mqtt5_utils.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/mqtt.h:10:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-common/include/aws/common/logging.h:11:
/host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-common/include/aws/common/thread.h:12:14: fatal error: 'pthread.h' file not found
12 | # include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[4/251] Compiling mqtt5_utils.c
[4/251] Compiling rate_limiters.c
[4/251] Compiling mqtt5_topic_alias.c
[4/251] Compiling mqtt5_types.c
[4/251] Compiling mqtt5_to_mqtt3_adapter.c
[4/251] Compiling mqtt5_encoder.c
[4/251] Compiling mqtt5_options_storage.c
[4/251] Compiling mqtt5_listener.c
BUILD FAILURE 6.1 wasm