Build Information
Failed to build OktaClient, reference master (1e61e5), with Swift 6.1 for Wasm on 6 Oct 2025 23:41:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/okta/okta-mobile-swift.git
Reference: master
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/okta/okta-mobile-swift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 1e61e55 Refine JSON implementation for mutability, type safety, and performance (#248)
Cloned https://github.com/okta/okta-mobile-swift.git
Revision (git rev-parse @):
1e61e55c19d164e27c4774b7e2d4dcb1b46c9e9a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/okta/okta-mobile-swift.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/okta/okta-mobile-swift.git
https://github.com/okta/okta-mobile-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "OktaClient",
"name" : "OktaClient",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "7.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "maccatalyst",
"version" : "13.0"
}
],
"products" : [
{
"name" : "CommonSupport",
"targets" : [
"CommonSupport"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "JSON",
"targets" : [
"JSON"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AuthFoundation",
"targets" : [
"CommonSupport",
"JSON",
"AuthFoundation"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "OAuth2Auth",
"targets" : [
"OAuth2Auth"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "OktaDirectAuth",
"targets" : [
"OktaDirectAuth"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "OktaIdxAuth",
"targets" : [
"OktaIdxAuth"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5",
"6"
],
"targets" : [
{
"c99name" : "TestCommon",
"module_type" : "SwiftTarget",
"name" : "TestCommon",
"path" : "Tests/TestCommon",
"sources" : [
"Data+Extensions.swift",
"MainActor+Extensions.swift",
"MockApiClient.swift",
"MockApiRequest.swift",
"MockCredentialCoordinator.swift",
"MockCredentialDataSource.swift",
"MockIDTokenValidator.swift",
"MockJWKValidator.swift",
"MockKeychain.swift",
"MockToken.swift",
"MockTokenHashValidator.swift",
"MockTokenStorage.swift",
"NotificationRecorder.swift",
"String+Extensions.swift",
"TimeInterval+Extensions.swift",
"URLRequest+Extensions.swift",
"URLSessionMock.swift",
"XCTestCase+Extensions.swift"
],
"target_dependencies" : [
"AuthFoundation"
],
"type" : "library"
},
{
"c99name" : "OktaIdxAuthTests",
"module_type" : "SwiftTarget",
"name" : "OktaIdxAuthTests",
"path" : "Tests/OktaIdxAuthTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/OktaIdxAuthTests/MockResponses",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"IDXAuthenticatorCollectionTests.swift",
"IDXCapabilityTests.swift",
"IDXClientErrorTests.swift",
"IDXClientRequestTests.swift",
"IDXClientV1ResponseTests.swift",
"IDXExtractFormValueTests.swift",
"IDXFormTests.swift",
"IDXMessageCollectionTests.swift",
"IDXRedirectTests.swift",
"IDXRemediationParameterTests.swift",
"IDXResponseCodableTests.swift",
"IDXResponseEqualityTests.swift",
"IDXResponseTypeTests.swift",
"InteractionCodeFlowTests.swift",
"Mocks/IDXClientAPIMock.swift",
"Mocks/OAuth2ClientMock.swift",
"Mocks/URLSessionMock.swift",
"RelyingPartyIdentifierTests.swift",
"ScenarioTests.swift",
"UserAgentTests.swift",
"Utilities/IDXClientDelegateRecorder.swift"
],
"target_dependencies" : [
"OktaIdxAuth",
"TestCommon"
],
"type" : "test"
},
{
"c99name" : "OktaIdxAuth",
"module_type" : "SwiftTarget",
"name" : "OktaIdxAuth",
"path" : "Sources/OktaIdxAuth",
"product_memberships" : [
"OktaIdxAuth"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/OktaIdxAuth/Resources/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/OktaIdxAuth/Resources/en.lproj/OktaIdx.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
}
],
"sources" : [
"Capabilities/IDXCapability.swift",
"Capabilities/IDXDuoCapability.swift",
"Capabilities/IDXNumberChallengeCapability.swift",
"Capabilities/IDXOTPCapability.swift",
"Capabilities/IDXPasswordCapability.swift",
"Capabilities/IDXPollableCapability.swift",
"Capabilities/IDXProfileCapability.swift",
"Capabilities/IDXRecoverableCapability.swift",
"Capabilities/IDXResendableCapability.swift",
"Capabilities/IDXSendableCapability.swift",
"Capabilities/IDXSocialIDPCapability.swift",
"Capabilities/WebAuthnAuthenticationCapability.swift",
"Capabilities/WebAuthnRegistrationCapability.swift",
"Extensions/AuthFoundation+Extensions.swift",
"Extensions/Bundle+OktaIdx.swift",
"Extensions/DeprecationWarnings.swift",
"Extensions/EnumExtensions.swift",
"Extensions/IDXAuthenticatorCollection+Extension.swift",
"Extensions/IDXCapability+Extensions.swift",
"Extensions/IDXClientError+Extensions.swift",
"Extensions/IDXForm+Extension.swift",
"Extensions/IDXMessage+Extensions.swift",
"Extensions/IDXMessageCollection+Extension.swift",
"Extensions/IDXRemediationCollection+Extension.swift",
"Extensions/WebAuthnCapabilityError+Extensions.swift",
"IDXApplication.swift",
"IDXAuthenticator.swift",
"IDXAuthenticatorCollection.swift",
"IDXAuthenticatorType.swift",
"IDXContext.swift",
"IDXForm.swift",
"IDXFormField.swift",
"IDXMessage.swift",
"IDXMessageCollection.swift",
"IDXRedirectResult.swift",
"IDXRemediation.swift",
"IDXRemediationCollection.swift",
"IDXRemediationType.swift",
"IDXResponse.swift",
"IDXResponseError.swift",
"IDXResponseIntent.swift",
"IDXUser.swift",
"InteractionCodeFlow.swift",
"Internal/Extensions/IDXMessageCollection+InternalExtensions.swift",
"Internal/Extensions/IDXRemediation+Extensions.swift",
"Internal/Extensions/URL+WebAuthnExtensions.swift",
"Internal/Implementations/Version1/Extensions/OpenIdConfiguration+IDXExtensions.swift",
"Internal/Implementations/Version1/Extensions/URL+IDXExtensions.swift",
"Internal/Implementations/Version1/Protocols/ReceivesIONJSON.swift",
"Internal/Implementations/Version1/Requests/IdxTokenRequest.swift",
"Internal/Implementations/Version1/Requests/InteractRequest.swift",
"Internal/Implementations/Version1/Requests/IntrospectRequest.swift",
"Internal/Implementations/Version1/Requests/RemediationRequest.swift",
"Internal/Implementations/Version1/Responses/IDXClient+RelatesTo.swift",
"Internal/Implementations/Version1/Responses/IDXClient+V1ResponseConstructors.swift",
"Internal/Implementations/Version1/Responses/Responses.swift",
"Internal/InteractionCodeFlowAPI.swift",
"Internal/Utilities/String+IdxExtensions.swift",
"Version+OktaIdxAuth.swift"
],
"target_dependencies" : [
"AuthFoundation"
],
"type" : "library"
},
{
"c99name" : "OktaDirectAuthTests",
"module_type" : "SwiftTarget",
"name" : "OktaDirectAuthTests",
"path" : "Tests/OktaDirectAuthTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/OktaDirectAuthTests/MockResponses",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"DirectAuthErrorTests.swift",
"DirectAuthenticationFlowTests.swift",
"ExtensionTests.swift",
"FactorPropertyTests.swift",
"FactorStepHandlerTests.swift",
"ModelEqualityTests.swift",
"RequestTests.swift"
],
"target_dependencies" : [
"OktaDirectAuth",
"TestCommon"
],
"type" : "test"
},
{
"c99name" : "OktaDirectAuth",
"module_type" : "SwiftTarget",
"name" : "OktaDirectAuth",
"path" : "Sources/OktaDirectAuth",
"product_memberships" : [
"OktaDirectAuth"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/OktaDirectAuth/Resources/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/OktaDirectAuth/Resources/en.lproj/OktaDirectAuth.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
}
],
"sources" : [
"DirectAuthFlow.swift",
"Extensions/Array+Extensions.swift",
"Extensions/DirectAuthenticationFlowError+PublicExtensions.swift",
"Extensions/ErrorExtensions.swift",
"Extensions/Status+PublicExtensions.swift",
"Internal/Authentication Factors/AuthenticationFactor.swift",
"Internal/Authentication Factors/ContinuationFactor.swift",
"Internal/Authentication Factors/PrimaryFactor.swift",
"Internal/Authentication Factors/SecondaryFactor.swift",
"Internal/Extensions/Bundle+OktaDirectAuth.swift",
"Internal/Extensions/DirectAuthenticationFlowError+Extensions.swift",
"Internal/Extensions/Intent+Extensions.swift",
"Internal/Extensions/OAuth2Error+DirectAuthExtensions.swift",
"Internal/Extensions/OpenIdConfiguration+Extensions.swift",
"Internal/Extensions/Status+ErrorInitializers.swift",
"Internal/Requests/ChallengeRequest.swift",
"Internal/Requests/DirectAuthTokenRequest.swift",
"Internal/Requests/OOBAuthenticateRequest.swift",
"Internal/Requests/WebAuthnRequest.swift",
"Internal/Step Handlers/ChallengeStepHandler.swift",
"Internal/Step Handlers/OOBStepHandler.swift",
"Internal/Step Handlers/StepHandler.swift",
"Internal/Step Handlers/TokenStepHandler.swift",
"Internal/Utilities/GrantType+InternalExtensions.swift",
"Internal/Utilities/Status+InternalExtensions.swift",
"Internal/Utilities/URL+DirectAuthExtensions.swift",
"Version+OktaDirectAuth.swift",
"WebAuthn/PublicKeyCredentialDescriptor.swift",
"WebAuthn/PublicKeyCredentialRequestOptions.swift",
"WebAuthn/Type/AuthenticatorTransport.swift",
"WebAuthn/Type/PublicKeyCredentialHints.swift",
"WebAuthn/Type/PublicKeyCredentialType.swift",
"WebAuthn/Type/UserVerificationRequirement.swift",
"WebAuthn/WebAuthn.swift"
],
"target_dependencies" : [
"AuthFoundation"
],
"type" : "library"
},
{
"c99name" : "OAuth2AuthTests",
"module_type" : "SwiftTarget",
"name" : "OAuth2AuthTests",
"path" : "Tests/OAuth2AuthTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/OAuth2AuthTests/MockResponses",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"AuthorizationCodeFlowContextTests.swift",
"AuthorizationCodeFlowRequestTests.swift",
"AuthorizationCodeFlowSuccessTests.swift",
"DeviceAuthorizationFlowErrorTests.swift",
"DeviceAuthorizationFlowSuccessTests.swift",
"JWTAuthorizationFlowTests.swift",
"OAuth2ClientTests.swift",
"ResourceOwnerFlowTests.swift",
"SessionLogoutFlowFailureTests.swift",
"SessionLogoutFlowSuccessTests.swift",
"SessionTokenFlowTests.swift",
"TokenExchangeFlowTests.swift",
"URLExtensionTests.swift",
"Utilities/DeviceAuthorizationFlowDelegateRecorder.swift",
"Utilities/XCTestCase+Extensions.swift"
],
"target_dependencies" : [
"OAuth2Auth",
"TestCommon"
],
"type" : "test"
},
{
"c99name" : "OAuth2Auth",
"module_type" : "SwiftTarget",
"name" : "OAuth2Auth",
"path" : "Sources/OAuth2Auth",
"product_memberships" : [
"OAuth2Auth"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/OAuth2Auth/Resources/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Authentication/AuthorizationCodeFlow+Context.swift",
"Authentication/AuthorizationCodeFlow.swift",
"Authentication/DeviceAuthorizationFlow+Context.swift",
"Authentication/DeviceAuthorizationFlow+Verification.swift",
"Authentication/DeviceAuthorizationFlow.swift",
"Authentication/JWTAuthorizationFlow.swift",
"Authentication/ResourceOwnerFlow.swift",
"Authentication/SessionTokenFlow.swift",
"Authentication/TokenExchangeFlow+Context.swift",
"Authentication/TokenExchangeFlow.swift",
"Deprecations/AuthorizationCodeFlow+Deprecations.swift",
"Deprecations/DeviceAuthorizationFlow+Deprecations.swift",
"Deprecations/JWTAuthorizationFlow+Deprecations.swift",
"Deprecations/ResourceOwnerFlow+Deprecations.swift",
"Deprecations/SessionLogoutFlow+Deprecations.swift",
"Deprecations/SessionTokenFlow+Deprecations.swift",
"Deprecations/TokenExchangeFlow+Deprecations.swift",
"Extensions/Authentication+Extensions.swift",
"Extensions/Logout+Extensions.swift",
"Extensions/URL+OAuth2Extensions.swift",
"Internal/Enum+Extensions.swift",
"Internal/Extensions/AuthorizationCodeFlow+InternalExtensions.swift",
"Internal/Requests/AuthorizationCodeFlow+Requests.swift",
"Internal/Requests/DeviceAuthorizeFlow+Requests.swift",
"Internal/Requests/JWTAuthorizationFlow+Requests.swift",
"Internal/Requests/ResourceOwnerFlow+Requests.swift",
"Internal/Requests/TokenExchangeFlow+Requests.swift",
"Logout/Logout.swift",
"Logout/SessionLogoutFlow+Context.swift",
"Logout/SessionLogoutFlow.swift",
"Version+OAuth2Auth.swift"
],
"target_dependencies" : [
"AuthFoundation"
],
"type" : "library"
},
{
"c99name" : "JSONTests",
"module_type" : "SwiftTarget",
"name" : "JSONTests",
"path" : "Tests/JSONTests",
"sources" : [
"JSONTests.swift",
"JSONValueTests.swift",
"MockJSONResources.swift"
],
"target_dependencies" : [
"JSON",
"TestCommon"
],
"type" : "test"
},
{
"c99name" : "JSON",
"module_type" : "SwiftTarget",
"name" : "JSON",
"path" : "Sources/JSON",
"product_memberships" : [
"JSON",
"AuthFoundation",
"OAuth2Auth",
"OktaDirectAuth",
"OktaIdxAuth"
],
"sources" : [
"JSON+Protocols.swift",
"JSON+Storage.swift",
"JSON+TypeConformances.swift",
"JSON+Value.swift",
"JSON+ValueConversions.swift",
"JSON.swift"
],
"target_dependencies" : [
"CommonSupport"
],
"type" : "library"
},
{
"c99name" : "CommonSupportTests",
"module_type" : "SwiftTarget",
"name" : "CommonSupportTests",
"path" : "Tests/CommonSupportTests",
"sources" : [
"CoalescedResultTests.swift",
"CopyOnWriteTests.swift",
"ExpressionUtilityTests.swift",
"WeakCollectionTests.swift"
],
"target_dependencies" : [
"CommonSupport",
"TestCommon"
],
"type" : "test"
},
{
"c99name" : "CommonSupport",
"module_type" : "SwiftTarget",
"name" : "CommonSupport",
"path" : "Sources/CommonSupport",
"product_memberships" : [
"CommonSupport",
"JSON",
"AuthFoundation",
"OAuth2Auth",
"OktaDirectAuth",
"OktaIdxAuth"
],
"sources" : [
"BackgroundTaskWrapper.swift",
"CoalescedResult.swift",
"CopyOnWrite.swift",
"ExpressionUtilities.swift",
"Lock.swift",
"LockedValue.swift",
"WeakCollection.swift"
],
"type" : "library"
},
{
"c99name" : "AuthFoundationTests",
"module_type" : "SwiftTarget",
"name" : "AuthFoundationTests",
"path" : "Tests/AuthFoundationTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/AuthFoundationTests/ConfigResources",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/AuthFoundationTests/MockResponses",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"APIClientTests.swift",
"APIContentTypeTests.swift",
"APIRequestPollingHandlerTests.swift",
"APIRetryTests.swift",
"AuthenticationContextTests.swift",
"AuthenticationFlowTests.swift",
"ClaimListTests.swift",
"ClaimTests.swift",
"CredentialCoordinatorTests.swift",
"CredentialInternalTests.swift",
"CredentialLoadingTests.swift",
"CredentialRefreshTests.swift",
"CredentialRevokeTests.swift",
"CredentialSecurityTests.swift",
"DefaultCredentialDataSourceTests.swift",
"DefaultIDTokenValidatorTests.swift",
"DefaultJWKValidatorTests.swift",
"DefaultTimeCoordinatorTests.swift",
"DefaultTokenHashValidatorTests.swift",
"ErrorTests.swift",
"ExpiresTests.swift",
"FoundationExtensionTests.swift",
"JWKTests.swift",
"JWTTests.swift",
"KeychainTests.swift",
"KeychainTokenStorageTests.swift",
"MigrationTests.swift",
"OAuth2ClientConfigurationTests.swift",
"OAuth2ClientTests.swift",
"OIDCLegacyMigratorTests.swift",
"OpenIDConfigurationTests.swift",
"PKCETests.swift",
"PercentEncodedQueryTests.swift",
"PropertyListConfigurationTests.swift",
"TimeCoordinatorTests.swift",
"TokenInfoTests.swift",
"TokenTests.swift",
"URLExtensionTests.swift",
"UserDefaultsTokenStorageTests.swift",
"UserInfoTests.swift"
],
"target_dependencies" : [
"AuthFoundation",
"TestCommon"
],
"type" : "test"
},
{
"c99name" : "AuthFoundation",
"module_type" : "SwiftTarget",
"name" : "AuthFoundation",
"path" : "Sources/AuthFoundation",
"product_memberships" : [
"AuthFoundation",
"OAuth2Auth",
"OktaDirectAuth",
"OktaIdxAuth"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/AuthFoundation/Resources/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/AuthFoundation/Resources/en.lproj/AuthFoundation.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
}
],
"sources" : [
"Debugging/APIRequestObserver.swift",
"Deprecations/OAuth2Client+Deprecations.swift",
"JWT/Enums/AuthenticationMethod.swift",
"JWT/Enums/JWK+Enums.swift",
"JWT/Enums/JWTClaim.swift",
"JWT/Extensions/Claim+ValueExtensions.swift",
"JWT/Extensions/ClaimConvertable+Extensions.swift",
"JWT/Extensions/JWK+EnumExtensions.swift",
"JWT/Extensions/JWTClaim+Extensions.swift",
"JWT/Internal/Claim+Internal.swift",
"JWT/Internal/Data+SigningExtensions.swift",
"JWT/Internal/DefaultIDTokenValidator.swift",
"JWT/Internal/DefaultJWKValidator.swift",
"JWT/Internal/DefaultTokenHashValidator.swift",
"JWT/Internal/JWK+Extensions.swift",
"JWT/JWK+Verification.swift",
"JWT/JWK.swift",
"JWT/JWKS.swift",
"JWT/JWT.swift",
"JWT/JWTError.swift",
"JWT/Protocols/Claim.swift",
"JWT/Protocols/ClaimCollection.swift",
"JWT/Protocols/ClaimContainer.swift",
"JWT/Protocols/ClaimConvertable.swift",
"JWT/Protocols/ClaimError.swift",
"JWT/Protocols/JWKValidator.swift",
"Migration/Migration.swift",
"Migration/Migrator.swift",
"Migration/Migrators/OIDCLegacyMigrator.swift",
"Migration/SDKName.swift",
"Migration/SDKVersion.swift",
"Network/APIClient.swift",
"Network/APIClientError.swift",
"Network/APIRateLimit.swift",
"Network/APIRequest.swift",
"Network/APIRequestArgument.swift",
"Network/APIResponse.swift",
"Network/Internal/FormDataExtensions.swift",
"Network/Internal/String+AuthFoundation.swift",
"Network/OktaAPIError.swift",
"Network/URLSessionProtocol.swift",
"OAuth2/Authentication.swift",
"OAuth2/ClientAuthentication.swift",
"OAuth2/Configuration+Initializers.swift",
"OAuth2/Configuration.swift",
"OAuth2/Extensions/OAuth2Error+Extensions.swift",
"OAuth2/Internal/ProvidesOAuth2Parameters+Extensions.swift",
"OAuth2/Internal/Token+Extensions.swift",
"OAuth2/OAuth2Client+Initializers.swift",
"OAuth2/OAuth2Client.swift",
"OAuth2/OAuth2ClientConfiguration.swift",
"OAuth2/OAuth2Error.swift",
"OAuth2/OAuth2TokenRequest.swift",
"OAuth2/PropertyListConfigurationError+Extensions.swift",
"OAuth2/ProvidesOAuth2Parameters.swift",
"Requests/KeysRequest.swift",
"Requests/OpenIdConfigurationRequest.swift",
"Requests/Token+Requests.swift",
"Requests/UserInfo+Requests.swift",
"Responses/GrantType.swift",
"Responses/OAuth2ServerError.swift",
"Responses/OpenIdConfiguration.swift",
"Responses/OpenIdProviderMetadata.swift",
"Responses/TokenInfo.swift",
"Responses/UserInfo.swift",
"Security/Internal/Keychain+Extensions.swift",
"Security/Internal/KeychainProtocol.swift",
"Security/Keychain.swift",
"Security/KeychainError.swift",
"Security/PKCE.swift",
"Security/PKCEExtensions.swift",
"Security/SecurityUtilities.swift",
"Token Management/IDTokenValidator.swift",
"Token Management/Internal/DefaultTokenExchangeCoordinator.swift",
"Token Management/Internal/KeychainTokenStorage.swift",
"Token Management/Internal/Token+Internal.swift",
"Token Management/Internal/Token+TestExtensions.swift",
"Token Management/Internal/UserDefaultsTokenStorage.swift",
"Token Management/Token+Context.swift",
"Token Management/Token+Enums.swift",
"Token Management/Token+Initialization.swift",
"Token Management/Token+Metadata.swift",
"Token Management/Token.swift",
"Token Management/TokenError.swift",
"Token Management/TokenExchangeCoordinator.swift",
"Token Management/TokenHashValidator.swift",
"Token Management/TokenStorage.swift",
"User Management/Credential+Extensions.swift",
"User Management/Credential.swift",
"User Management/CredentialCoordinator.swift",
"User Management/CredentialDataSource+Extensions.swift",
"User Management/CredentialDataSource.swift",
"User Management/CredentialDataSourceDelegate.swift",
"User Management/CredentialError.swift",
"User Management/CredentialSecurity.swift",
"User Management/Internal/Credential+Internal.swift",
"User Management/Internal/CredentialCoordinatorImpl.swift",
"User Management/Internal/CredentialSecurity+Internal.swift",
"User Management/Internal/DefaultCredentialDataSource.swift",
"Utilities/APIRequestPollingHandler.swift",
"Utilities/AdditionalValuesCodingKeys.swift",
"Utilities/AsyncUtilities.swift",
"Utilities/Bundle+AuthFoundation.swift",
"Utilities/Data+Extensions.swift",
"Utilities/DelegateCollection.swift",
"Utilities/Dictionary+Extensions.swift",
"Utilities/Expires.swift",
"Utilities/JSONDecodable.swift",
"Utilities/String+Extensions.swift",
"Utilities/TimeCoordinator.swift",
"Utilities/URL+Extensions.swift",
"Utilities/URL+InternalExtensions.swift",
"Version+AuthFoundation.swift"
],
"target_dependencies" : [
"CommonSupport",
"JSON"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2133] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.62s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (3.09s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3540] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.51s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.52s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/21] Write sources
[2/21] Copying PrivacyInfo.xcprivacy
[2/21] Copying Info.plist
[2/21] Write sources
[2/21] Copying AuthFoundation.strings
[12/21] Copying OktaIdx.strings
[12/21] Copying PrivacyInfo.xcprivacy
[12/21] Copying Info.plist
[12/21] Copying OktaDirectAuth.strings
[12/21] Copying PrivacyInfo.xcprivacy
[12/21] Copying Info.plist
[12/21] Copying PrivacyInfo.xcprivacy
[12/21] Copying Info.plist
[20/21] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/29] Emitting module CommonSupport
/host/spi-builder-workspace/Sources/CommonSupport/ExpressionUtilities.swift:108:17: error: cannot find 'DispatchGroup' in scope
106 | @_documentation(visibility: private)
107 | public func withIsolationSyncThrowing<T: Sendable>(priority: TaskPriority? = nil, @_inheritActorContext _ block: @Sendable @escaping () async throws -> T) throws -> T {
108 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
109 | nonisolated(unsafe) var result: Result<T, any Error>?
110 |
/host/spi-builder-workspace/Sources/CommonSupport/ExpressionUtilities.swift:147:17: error: cannot find 'DispatchGroup' in scope
145 | @_inheritActorContext _ block: @Sendable @escaping () async -> T?) -> T?
146 | {
147 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
148 | nonisolated(unsafe) var result: T?
149 |
/host/spi-builder-workspace/Sources/CommonSupport/Lock.swift:24:8: error: Unsupported platform
22 | import Bionic
23 | #else
24 | #error("Unsupported platform")
| `- error: Unsupported platform
25 | #endif
26 |
/host/spi-builder-workspace/Sources/CommonSupport/Lock.swift:41:12: error: Unsupported platform
39 | fileprivate typealias LockType = pthread_mutex_t
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/CommonSupport/Lock.swift:44:65: error: cannot find type 'LockType' in scope
42 | #endif
43 |
44 | nonisolated(unsafe) private let _lock: UnsafeMutablePointer<LockType> = {
| `- error: cannot find type 'LockType' in scope
45 | let result = UnsafeMutablePointer<LockType>.allocate(capacity: 1)
46 |
[23/29] Compiling CommonSupport Lock.swift
/host/spi-builder-workspace/Sources/CommonSupport/Lock.swift:24:8: error: Unsupported platform
22 | import Bionic
23 | #else
24 | #error("Unsupported platform")
| `- error: Unsupported platform
25 | #endif
26 |
/host/spi-builder-workspace/Sources/CommonSupport/Lock.swift:41:12: error: Unsupported platform
39 | fileprivate typealias LockType = pthread_mutex_t
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/CommonSupport/Lock.swift:44:65: error: cannot find type 'LockType' in scope
42 | #endif
43 |
44 | nonisolated(unsafe) private let _lock: UnsafeMutablePointer<LockType> = {
| `- error: cannot find type 'LockType' in scope
45 | let result = UnsafeMutablePointer<LockType>.allocate(capacity: 1)
46 |
/host/spi-builder-workspace/Sources/CommonSupport/Lock.swift:77:16: error: Unsupported platform
75 | precondition(status == 0, "pthread_mutex_lock failed")
76 | #else
77 | #error("Unsupported platform")
| `- error: Unsupported platform
78 | #endif
79 | }
/host/spi-builder-workspace/Sources/CommonSupport/Lock.swift:87:16: error: Unsupported platform
85 | return pthread_mutex_trylock(_lock) == 0
86 | #else
87 | #error("Unsupported platform")
| `- error: Unsupported platform
88 | #endif
89 | }
/host/spi-builder-workspace/Sources/CommonSupport/Lock.swift:98:16: error: Unsupported platform
96 | precondition(status == 0, "pthread_mutex_unlock failed")
97 | #else
98 | #error("Unsupported platform")
| `- error: Unsupported platform
99 | #endif
100 | }
[24/29] Compiling CommonSupport CoalescedResult.swift
/host/spi-builder-workspace/Sources/CommonSupport/CoalescedResult.swift:45:25: error: cannot find 'DispatchSemaphore' in scope
43 | /// Indicates if the asynchronous operation is being performed.
44 | nonisolated public var isActive: Bool {
45 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
46 | nonisolated(unsafe) var result: Bool = false
47 |
/host/spi-builder-workspace/Sources/CommonSupport/CoalescedResult.swift:59:25: error: cannot find 'DispatchSemaphore' in scope
57 | /// Stores the previously-fetched value, if one has been fetched and its response was successful.
58 | nonisolated public var value: T? {
59 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
60 | nonisolated(unsafe) var result: T?
61 | Task.detached(priority: Task.currentPriority) {
[25/29] Compiling CommonSupport BackgroundTaskWrapper.swift
[26/29] Compiling CommonSupport LockedValue.swift
/host/spi-builder-workspace/Sources/CommonSupport/Lock.swift:44:65: error: cannot find type 'LockType' in scope
42 | #endif
43 |
44 | nonisolated(unsafe) private let _lock: UnsafeMutablePointer<LockType> = {
| `- error: cannot find type 'LockType' in scope
45 | let result = UnsafeMutablePointer<LockType>.allocate(capacity: 1)
46 |
[27/29] Compiling CommonSupport WeakCollection.swift
/host/spi-builder-workspace/Sources/CommonSupport/Lock.swift:44:65: error: cannot find type 'LockType' in scope
42 | #endif
43 |
44 | nonisolated(unsafe) private let _lock: UnsafeMutablePointer<LockType> = {
| `- error: cannot find type 'LockType' in scope
45 | let result = UnsafeMutablePointer<LockType>.allocate(capacity: 1)
46 |
[28/29] Compiling CommonSupport CopyOnWrite.swift
/host/spi-builder-workspace/Sources/CommonSupport/Lock.swift:44:65: error: cannot find type 'LockType' in scope
42 | #endif
43 |
44 | nonisolated(unsafe) private let _lock: UnsafeMutablePointer<LockType> = {
| `- error: cannot find type 'LockType' in scope
45 | let result = UnsafeMutablePointer<LockType>.allocate(capacity: 1)
46 |
[29/29] Compiling CommonSupport ExpressionUtilities.swift
/host/spi-builder-workspace/Sources/CommonSupport/ExpressionUtilities.swift:108:17: error: cannot find 'DispatchGroup' in scope
106 | @_documentation(visibility: private)
107 | public func withIsolationSyncThrowing<T: Sendable>(priority: TaskPriority? = nil, @_inheritActorContext _ block: @Sendable @escaping () async throws -> T) throws -> T {
108 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
109 | nonisolated(unsafe) var result: Result<T, any Error>?
110 |
/host/spi-builder-workspace/Sources/CommonSupport/ExpressionUtilities.swift:147:17: error: cannot find 'DispatchGroup' in scope
145 | @_inheritActorContext _ block: @Sendable @escaping () async -> T?) -> T?
146 | {
147 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
148 | nonisolated(unsafe) var result: T?
149 |
/host/spi-builder-workspace/Sources/CommonSupport/ExpressionUtilities.swift:162:12: error: cannot find 'Thread' in scope
160 | extension MainActor {
161 | public static func nonisolatedUnsafe<T: Sendable>(_ block: @MainActor () -> T) -> T {
162 | if Thread.isMainThread {
| `- error: cannot find 'Thread' in scope
163 | return MainActor.assumeIsolated { block() }
164 | } else {
/host/spi-builder-workspace/Sources/CommonSupport/ExpressionUtilities.swift:165:20: error: cannot find 'DispatchQueue' in scope
163 | return MainActor.assumeIsolated { block() }
164 | } else {
165 | return DispatchQueue.main.sync {
| `- error: cannot find 'DispatchQueue' in scope
166 | #if swift(<6.0)
167 | return MainActor.assumeIsolated { block() }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/11] Compiling CommonSupport ExpressionUtilities.swift
/host/spi-builder-workspace/Sources/CommonSupport/ExpressionUtilities.swift:108:17: error: cannot find 'DispatchGroup' in scope
106 | @_documentation(visibility: private)
107 | public func withIsolationSyncThrowing<T: Sendable>(priority: TaskPriority? = nil, @_inheritActorContext _ block: @Sendable @escaping () async throws -> T) throws -> T {
108 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
109 | nonisolated(unsafe) var result: Result<T, any Error>?
110 |
/host/spi-builder-workspace/Sources/CommonSupport/ExpressionUtilities.swift:147:17: error: cannot find 'DispatchGroup' in scope
145 | @_inheritActorContext _ block: @Sendable @escaping () async -> T?) -> T?
146 | {
147 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
148 | nonisolated(unsafe) var result: T?
149 |
/host/spi-builder-workspace/Sources/CommonSupport/ExpressionUtilities.swift:162:12: error: cannot find 'Thread' in scope
160 | extension MainActor {
161 | public static func nonisolatedUnsafe<T: Sendable>(_ block: @MainActor () -> T) -> T {
162 | if Thread.isMainThread {
| `- error: cannot find 'Thread' in scope
163 | return MainActor.assumeIsolated { block() }
164 | } else {
/host/spi-builder-workspace/Sources/CommonSupport/ExpressionUtilities.swift:165:20: error: cannot find 'DispatchQueue' in scope
163 | return MainActor.assumeIsolated { block() }
164 | } else {
165 | return DispatchQueue.main.sync {
| `- error: cannot find 'DispatchQueue' in scope
166 | #if swift(<6.0)
167 | return MainActor.assumeIsolated { block() }
[5/11] Compiling CommonSupport CopyOnWrite.swift
/host/spi-builder-workspace/Sources/CommonSupport/Lock.swift:44:65: error: cannot find type 'LockType' in scope
42 | #endif
43 |
44 | nonisolated(unsafe) private let _lock: UnsafeMutablePointer<LockType> = {
| `- error: cannot find type 'LockType' in scope
45 | let result = UnsafeMutablePointer<LockType>.allocate(capacity: 1)
46 |
[6/11] Compiling CommonSupport CoalescedResult.swift
/host/spi-builder-workspace/Sources/CommonSupport/CoalescedResult.swift:45:25: error: cannot find 'DispatchSemaphore' in scope
43 | /// Indicates if the asynchronous operation is being performed.
44 | nonisolated public var isActive: Bool {
45 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
46 | nonisolated(unsafe) var result: Bool = false
47 |
/host/spi-builder-workspace/Sources/CommonSupport/CoalescedResult.swift:59:25: error: cannot find 'DispatchSemaphore' in scope
57 | /// Stores the previously-fetched value, if one has been fetched and its response was successful.
58 | nonisolated public var value: T? {
59 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
60 | nonisolated(unsafe) var result: T?
61 | Task.detached(priority: Task.currentPriority) {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/11] Compiling CommonSupport BackgroundTaskWrapper.swift
[8/11] Emitting module CommonSupport
/host/spi-builder-workspace/Sources/CommonSupport/ExpressionUtilities.swift:108:17: error: cannot find 'DispatchGroup' in scope
106 | @_documentation(visibility: private)
107 | public func withIsolationSyncThrowing<T: Sendable>(priority: TaskPriority? = nil, @_inheritActorContext _ block: @Sendable @escaping () async throws -> T) throws -> T {
108 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
109 | nonisolated(unsafe) var result: Result<T, any Error>?
110 |
/host/spi-builder-workspace/Sources/CommonSupport/ExpressionUtilities.swift:147:17: error: cannot find 'DispatchGroup' in scope
145 | @_inheritActorContext _ block: @Sendable @escaping () async -> T?) -> T?
146 | {
147 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
148 | nonisolated(unsafe) var result: T?
149 |
/host/spi-builder-workspace/Sources/CommonSupport/Lock.swift:24:8: error: Unsupported platform
22 | import Bionic
23 | #else
24 | #error("Unsupported platform")
| `- error: Unsupported platform
25 | #endif
26 |
/host/spi-builder-workspace/Sources/CommonSupport/Lock.swift:41:12: error: Unsupported platform
39 | fileprivate typealias LockType = pthread_mutex_t
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/CommonSupport/Lock.swift:44:65: error: cannot find type 'LockType' in scope
42 | #endif
43 |
44 | nonisolated(unsafe) private let _lock: UnsafeMutablePointer<LockType> = {
| `- error: cannot find type 'LockType' in scope
45 | let result = UnsafeMutablePointer<LockType>.allocate(capacity: 1)
46 |
[9/11] Compiling CommonSupport Lock.swift
/host/spi-builder-workspace/Sources/CommonSupport/Lock.swift:24:8: error: Unsupported platform
22 | import Bionic
23 | #else
24 | #error("Unsupported platform")
| `- error: Unsupported platform
25 | #endif
26 |
/host/spi-builder-workspace/Sources/CommonSupport/Lock.swift:41:12: error: Unsupported platform
39 | fileprivate typealias LockType = pthread_mutex_t
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/CommonSupport/Lock.swift:44:65: error: cannot find type 'LockType' in scope
42 | #endif
43 |
44 | nonisolated(unsafe) private let _lock: UnsafeMutablePointer<LockType> = {
| `- error: cannot find type 'LockType' in scope
45 | let result = UnsafeMutablePointer<LockType>.allocate(capacity: 1)
46 |
/host/spi-builder-workspace/Sources/CommonSupport/Lock.swift:77:16: error: Unsupported platform
75 | precondition(status == 0, "pthread_mutex_lock failed")
76 | #else
77 | #error("Unsupported platform")
| `- error: Unsupported platform
78 | #endif
79 | }
/host/spi-builder-workspace/Sources/CommonSupport/Lock.swift:87:16: error: Unsupported platform
85 | return pthread_mutex_trylock(_lock) == 0
86 | #else
87 | #error("Unsupported platform")
| `- error: Unsupported platform
88 | #endif
89 | }
/host/spi-builder-workspace/Sources/CommonSupport/Lock.swift:98:16: error: Unsupported platform
96 | precondition(status == 0, "pthread_mutex_unlock failed")
97 | #else
98 | #error("Unsupported platform")
| `- error: Unsupported platform
99 | #endif
100 | }
[10/11] Compiling CommonSupport LockedValue.swift
/host/spi-builder-workspace/Sources/CommonSupport/Lock.swift:44:65: error: cannot find type 'LockType' in scope
42 | #endif
43 |
44 | nonisolated(unsafe) private let _lock: UnsafeMutablePointer<LockType> = {
| `- error: cannot find type 'LockType' in scope
45 | let result = UnsafeMutablePointer<LockType>.allocate(capacity: 1)
46 |
[11/11] Compiling CommonSupport WeakCollection.swift
/host/spi-builder-workspace/Sources/CommonSupport/Lock.swift:44:65: error: cannot find type 'LockType' in scope
42 | #endif
43 |
44 | nonisolated(unsafe) private let _lock: UnsafeMutablePointer<LockType> = {
| `- error: cannot find type 'LockType' in scope
45 | let result = UnsafeMutablePointer<LockType>.allocate(capacity: 1)
46 |
BUILD FAILURE 6.1 wasm