Build Information
Failed to build oauth-kit, reference main (4768be), with Swift 6.1 for Wasm on 27 Mar 2026 08:14:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/thoven87/oauth-kit.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/thoven87/oauth-kit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4768bed Add provider params and update docs (#30)
Cloned https://github.com/thoven87/oauth-kit.git
Revision (git rev-parse @):
4768beda67bdb4588c21012d5343eb57e958414c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/thoven87/oauth-kit.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/thoven87/oauth-kit.git
https://github.com/thoven87/oauth-kit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "async-http-client",
"requirement" : {
"range" : [
{
"lower_bound" : "1.33.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/async-http-client.git"
},
{
"identity" : "swift-async-algorithms",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-async-algorithms.git"
},
{
"identity" : "swift-service-lifecycle",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/swift-service-lifecycle.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.97.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "jwt-kit",
"requirement" : {
"range" : [
{
"lower_bound" : "5.4.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/jwt-kit.git"
}
],
"manifest_display_name" : "oauth-kit",
"name" : "oauth-kit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "OAuthKit",
"targets" : [
"OAuthKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OAuthKitTests",
"module_type" : "SwiftTarget",
"name" : "OAuthKitTests",
"path" : "Tests/OAuthKitTests",
"sources" : [
"DeviceAuthorizationTests.swift",
"GoogleServiceAccountTests.swift",
"MicrosoftTenantIDKindTests.swift",
"OAuth2ClientTests.swift",
"OAuthKitTests.swift",
"OAuthProvidersTests.swift",
"OpenIDConnectTests.swift",
"RFCImplementationTests.swift",
"TokenResponseTests.swift"
],
"target_dependencies" : [
"OAuthKit"
],
"type" : "test"
},
{
"c99name" : "OAuthKit",
"module_type" : "SwiftTarget",
"name" : "OAuthKit",
"path" : "Sources/OAuthKit",
"product_dependencies" : [
"AsyncAlgorithms",
"AsyncHTTPClient",
"JWTKit",
"ServiceLifecycle",
"Logging",
"NIO",
"NIOHTTP1",
"NIOFoundationCompat"
],
"product_memberships" : [
"OAuthKit"
],
"sources" : [
"Models/DeviceAuthorizationResponse.swift",
"Models/JWTClaims.swift",
"Models/OAuth2Error.swift",
"Models/OktaMFAModels.swift",
"Models/TokenExchangeModels.swift",
"Models/TokenIntrospectionModels.swift",
"Models/TokenResponse.swift",
"Models/TokenRevocationModels.swift",
"Models/UserInfo.swift",
"OAuth2Client.swift",
"OAuth2ClientProtocol.swift",
"OAuthClientFactory.swift",
"OAuthCodeChallengeMethod.swift",
"OpenID/OpenIDConfiguration.swift",
"OpenID/OpenIDConnectClient.swift",
"OpenID/OpenIDDiscoveryService.swift",
"Providers/AWSCognitoOAuthProvider.swift",
"Providers/AppleOAuthProvider.swift",
"Providers/Auth0OAuthProvider.swift",
"Providers/DiscordOAuthProvider.swift",
"Providers/DropboxOAuthProvider.swift",
"Providers/FacebookOAuthProvider.swift",
"Providers/GitHubOAuthProvider.swift",
"Providers/GitLabOAuthProvider.swift",
"Providers/GoogleOAuthProvider.swift",
"Providers/KeyCloakOAuthProvider.swift",
"Providers/LinkedInOAuthProvider.swift",
"Providers/MicrosoftOAuthProvider.swift",
"Providers/MicrosoftTenantIDKind.swift",
"Providers/OktaOAuthProvider.swift",
"Providers/SlackOAuthProvider.swift",
"UserAgent.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/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 swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/vapor/jwt-kit.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[1/2676] Fetching swift-service-lifecycle
[2677/8904] Fetching swift-service-lifecycle, swift-async-algorithms
[4857/15172] Fetching swift-service-lifecycle, swift-async-algorithms, swift-log
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.35s)
[2556/12496] Fetching swift-async-algorithms, swift-log
[12435/22029] Fetching swift-async-algorithms, swift-log, jwt-kit
[12498/37696] Fetching swift-async-algorithms, swift-log, jwt-kit, async-http-client
[19098/120643] Fetching swift-async-algorithms, swift-log, jwt-kit, async-http-client, swift-nio
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.42s)
Fetched https://github.com/vapor/jwt-kit.git from cache (1.43s)
[51796/104882] Fetching swift-log, async-http-client, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (6.38s)
Fetched https://github.com/swift-server/async-http-client.git from cache (6.39s)
Fetched https://github.com/apple/swift-nio.git from cache (6.48s)
Computing version for https://github.com/vapor/jwt-kit.git
Computed https://github.com/vapor/jwt-kit.git at 5.4.0 (9.55s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-certificates.git
[1/7125] Fetching swift-certificates
[7126/24401] Fetching swift-certificates, swift-crypto
Fetched https://github.com/apple/swift-certificates.git from cache (0.52s)
[692/17276] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.49s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (7.21s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/22970] Fetching swift-collections
[231/24790] Fetching swift-collections, swift-atomics
[1503/30391] Fetching swift-collections, swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.66s)
[7669/28571] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.67s)
Fetched https://github.com/apple/swift-collections.git from cache (1.70s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.33.1 (2.28s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/5691] Fetching swift-distributed-tracing
[1367/11749] Fetching swift-distributed-tracing, swift-algorithms
[1603/18240] Fetching swift-distributed-tracing, swift-algorithms, swift-nio-extras
[2336/21061] Fetching swift-distributed-tracing, swift-algorithms, swift-nio-extras, swift-nio-transport-services
[12607/33131] Fetching swift-distributed-tracing, swift-algorithms, swift-nio-extras, swift-nio-transport-services, swift-nio-http2
[22752/48491] Fetching swift-distributed-tracing, swift-algorithms, swift-nio-extras, swift-nio-transport-services, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-algorithms.git from cache (0.70s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.70s)
[13844/36742] Fetching swift-nio-extras, swift-nio-transport-services, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (2.29s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (2.29s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.30s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.32s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.3.0 (8.75s)
Fetching https://github.com/apple/swift-asn1.git
[1/1769] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (1.88s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.49s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.4.1 (0.66s)
Fetching https://github.com/apple/swift-service-context.git
[1/1210] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.27s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (3.19s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.75s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (1.32s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (0.73s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (0.53s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.18.0 (0.64s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.61s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.42.0 (0.61s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (0.67s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (0.84s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.85s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.1 (0.61s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.11s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.33.0 (1.26s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/951] Fetching swift-http-types
[952/2170] Fetching swift-http-types, swift-http-structured-headers
Fetched https://github.com/apple/swift-http-types.git from cache (0.43s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.47s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.10.1 (2.55s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (1.04s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (1.23s)
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/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.18.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.6.0
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.33.1
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.5.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.6.0
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.42.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.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.1.3
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.33.0
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.36.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.26.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.10.1
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
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.4
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.10.1
Creating working copy for https://github.com/vapor/jwt-kit.git
Working copy of https://github.com/vapor/jwt-kit.git resolved at 5.4.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.3.0
Building for debugging...
[0/839] Write sources
[32/839] Compiling CNIOOpenBSD shim.c
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:38: error: call to undeclared function 'strptime_l'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
37 | const char * firstNonProcessed = strptime_l(string, format, result, (locale_t)locale);
| ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:38: note: did you mean 'strftime_l'?
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/time.h:93:8: note: 'strftime_l' declared here
93 | size_t strftime_l (char * __restrict, size_t, const char * __restrict, const struct tm * __restrict, locale_t);
| ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:18: error: incompatible integer to pointer conversion initializing 'const char *' with an expression of type 'int' [-Wint-conversion]
37 | const char * firstNonProcessed = strptime_l(string, format, result, (locale_t)locale);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[33/839] Compiling CAsyncHTTPClient CAsyncHTTPClient.c
[33/839] Compiling CNIOLLHTTP c_nio_llhttp.c
[33/839] Compiling CNIOLinux liburing_shims.c
[33/839] Compiling CNIOLLHTTP c_nio_api.c
[33/839] Compiling CNIODarwin shim.c
[33/839] Compiling CNIOLLHTTP c_nio_http.c
[33/839] Compiling _NumericsShims _NumericsShims.c
[33/839] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/806] Write sources
[9/806] Compiling _AtomicsShims.c
[10/806] Compiling _CWASI _CWASI.c
[11/806] Compiling SimpleFIPS202.c
[12/806] Compiling CNIOWindows WSAStartup.c
[13/806] Compiling CXKCPShims shims.c
[14/806] Compiling KeccakSponge.c
[15/806] Compiling KeccakHash.c
[16/806] Compiling CNIOWindows shim.c
[17/806] Compiling CNIOWASI CNIOWASI.c
[17/806] Compiling CNIOPosix event_loop_id.c
[19/806] Compiling CNIOLinux shim.c
[20/806] Compiling CNIOLinux liburing_shims.c
[21/806] Compiling CNIOLLHTTP c_nio_http.c
[22/806] Compiling CNIOExtrasZlib zutil.c
[23/806] Compiling CNIOExtrasZlib inftrees.c
[24/806] Compiling CNIOLLHTTP c_nio_api.c
[25/806] Compiling CNIOExtrasZlib inffast.c
[26/806] Compiling CNIOExtrasZlib trees.c
[27/806] Compiling CNIOExtrasZlib crc32.c
[28/806] Compiling CNIODarwin shim.c
[29/806] Write swift-version-24593BA9C3E375BF.txt
[30/806] Compiling _NumericsShims _NumericsShims.c
[31/806] Compiling CNIOExtrasZlib adler32.c
[32/806] Compiling fiat_p256_adx_sqr.S
[33/806] Compiling CNIOExtrasZlib deflate.c
[34/806] Compiling CNIOExtrasZlib inflate.c
[36/834] Emitting module ServiceContextModule
[36/834] Compiling CNIOBoringSSLShims shims.c
[37/845] Compiling CNIOLLHTTP c_nio_llhttp.c
[39/850] Compiling Logging LogHandler.swift
[40/850] Compiling RealModule RealFunctions.swift
[41/851] Emitting module _NIOBase64
[42/851] Compiling _NIOBase64 Base64.swift
[43/852] Compiling RealModule Real.swift
[44/852] Compiling RealModule Float80+Real.swift
[45/852] Compiling RealModule Float16+Real.swift
[46/852] Compiling RealModule AlgebraicField.swift
[47/852] Compiling RealModule ApproximateEquality.swift
[48/852] Emitting module RealModule
[49/852] Compiling SwiftASN1 ASN1Integer.swift
[50/852] Compiling SwiftASN1 ASN1Null.swift
[51/852] Compiling SwiftASN1 TimeUtilities.swift
[52/852] Compiling SwiftASN1 UTCTime.swift
[53/854] Compiling RealModule AugmentedArithmetic.swift
[54/854] Compiling RealModule Double+Real.swift
[55/854] Compiling ServiceContextModule ServiceContext.swift
[56/854] Compiling RealModule ElementaryFunctions.swift
[57/854] Compiling RealModule Float+Real.swift
[58/854] Compiling ServiceContextModule ServiceContextKey.swift
[61/855] Compiling RealModule RelaxedArithmetic.swift
[62/856] Compiling _NIODataStructures PriorityQueue.swift
[63/856] Emitting module _CertificateInternals
[64/856] Compiling _NIODataStructures _TinyArray.swift
[65/856] Compiling _CertificateInternals _TinyArray.swift
[68/878] Emitting module Logging
[69/878] Compiling ConcurrencyHelpers LockedValueBox.swift
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:47:27: error: cannot find type 'pthread_mutex_t' in scope
45 | #else
46 | @usableFromInline
47 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
48 | #endif
49 |
[70/878] Compiling Logging Locks.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[71/883] Emitting module ConcurrencyHelpers
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:47:27: error: cannot find type 'pthread_mutex_t' in scope
45 | #else
46 | @usableFromInline
47 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
48 | #endif
49 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:61:20: error: cannot find 'pthread_mutexattr_t' in scope
59 | InitializeSRWLock(mutex)
60 | #else
61 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
62 | pthread_mutexattr_init(&attr)
63 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:62:9: error: cannot find 'pthread_mutexattr_init' in scope
60 | #else
61 | var attr = pthread_mutexattr_t()
62 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
63 |
64 | let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:64:19: error: cannot find 'pthread_mutex_init' in scope
62 | pthread_mutexattr_init(&attr)
63 |
64 | let err = pthread_mutex_init(mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
65 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
66 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:76:19: error: cannot find 'pthread_mutex_destroy' in scope
74 | // SRWLOCK does not need to be free'd
75 | #else
76 | let err = pthread_mutex_destroy(mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
77 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
78 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:88:19: error: cannot find 'pthread_mutex_lock' in scope
86 | AcquireSRWLockExclusive(mutex)
87 | #else
88 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
89 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
90 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:100:19: error: cannot find 'pthread_mutex_unlock' in scope
98 | ReleaseSRWLockExclusive(mutex)
99 | #else
100 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
101 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
102 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:138:27: error: type of expression is ambiguous without a type annotation
136 | @inlinable
137 | static func create(value: Value) -> Self {
138 | let buffer = Self.create(minimumCapacity: 1) { _ in
| `- error: type of expression is ambiguous without a type annotation
139 | return value
140 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:153:14: error: type of expression is ambiguous without a type annotation
151 | @inlinable
152 | func lock() {
153 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
154 | LockOperations.lock(lockPtr)
155 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:160:14: error: type of expression is ambiguous without a type annotation
158 | @inlinable
159 | func unlock() {
160 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
161 | LockOperations.unlock(lockPtr)
162 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:167:14: error: type of expression is ambiguous without a type annotation
165 | @inlinable
166 | deinit {
167 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
168 | LockOperations.destroy(lockPtr)
169 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:174:18: error: type of expression is ambiguous without a type annotation
172 | @inlinable
173 | func withLockPrimitive<T>(_ body: (UnsafeMutablePointer<LockPrimitive>) throws -> T) rethrows -> T {
174 | try self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
175 | return try body(lockPtr)
176 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:181:18: error: type of expression is ambiguous without a type annotation
179 | @inlinable
180 | func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T {
181 | try self.withUnsafeMutablePointers { valuePtr, lockPtr in
| `- error: type of expression is ambiguous without a type annotation
182 | LockOperations.lock(lockPtr)
183 | defer { LockOperations.unlock(lockPtr) }
[72/883] Compiling ConcurrencyHelpers Lock.swift
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:47:27: error: cannot find type 'pthread_mutex_t' in scope
45 | #else
46 | @usableFromInline
47 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
48 | #endif
49 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:61:20: error: cannot find 'pthread_mutexattr_t' in scope
59 | InitializeSRWLock(mutex)
60 | #else
61 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
62 | pthread_mutexattr_init(&attr)
63 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:62:9: error: cannot find 'pthread_mutexattr_init' in scope
60 | #else
61 | var attr = pthread_mutexattr_t()
62 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
63 |
64 | let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:64:19: error: cannot find 'pthread_mutex_init' in scope
62 | pthread_mutexattr_init(&attr)
63 |
64 | let err = pthread_mutex_init(mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
65 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
66 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:76:19: error: cannot find 'pthread_mutex_destroy' in scope
74 | // SRWLOCK does not need to be free'd
75 | #else
76 | let err = pthread_mutex_destroy(mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
77 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
78 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:88:19: error: cannot find 'pthread_mutex_lock' in scope
86 | AcquireSRWLockExclusive(mutex)
87 | #else
88 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
89 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
90 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:100:19: error: cannot find 'pthread_mutex_unlock' in scope
98 | ReleaseSRWLockExclusive(mutex)
99 | #else
100 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
101 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
102 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:138:27: error: type of expression is ambiguous without a type annotation
136 | @inlinable
137 | static func create(value: Value) -> Self {
138 | let buffer = Self.create(minimumCapacity: 1) { _ in
| `- error: type of expression is ambiguous without a type annotation
139 | return value
140 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:153:14: error: type of expression is ambiguous without a type annotation
151 | @inlinable
152 | func lock() {
153 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
154 | LockOperations.lock(lockPtr)
155 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:160:14: error: type of expression is ambiguous without a type annotation
158 | @inlinable
159 | func unlock() {
160 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
161 | LockOperations.unlock(lockPtr)
162 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:167:14: error: type of expression is ambiguous without a type annotation
165 | @inlinable
166 | deinit {
167 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
168 | LockOperations.destroy(lockPtr)
169 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:174:18: error: type of expression is ambiguous without a type annotation
172 | @inlinable
173 | func withLockPrimitive<T>(_ body: (UnsafeMutablePointer<LockPrimitive>) throws -> T) rethrows -> T {
174 | try self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
175 | return try body(lockPtr)
176 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:181:18: error: type of expression is ambiguous without a type annotation
179 | @inlinable
180 | func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T {
181 | try self.withUnsafeMutablePointers { valuePtr, lockPtr in
| `- error: type of expression is ambiguous without a type annotation
182 | LockOperations.lock(lockPtr)
183 | defer { LockOperations.unlock(lockPtr) }
[73/884] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[74/884] Compiling InternalCollectionsUtilities String+Padding.swift
[75/884] Compiling InternalCollectionsUtilities Integer rank.swift
[76/884] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[77/884] Compiling InternalCollectionsUtilities UInt+reversed.swift
[78/884] Compiling InternalCollectionsUtilities Debugging.swift
[79/884] Compiling InternalCollectionsUtilities Descriptions.swift
[80/884] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[81/884] Compiling InternalCollectionsUtilities Span+Extras.swift
[82/884] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[83/884] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[84/884] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[88/884] Compiling Logging MetadataProvider.swift
[88/884] Compiling KeccakP-1600-opt64.c
BUILD FAILURE 6.1 wasm