Build Information
Failed to build KurrentDB-Swift, reference main (e7e5a5
), with Swift 6.1 for Wasm on 16 Jun 2025 12:15:30 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gradyzhuo/KurrentDB-Swift.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/gradyzhuo/KurrentDB-Swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e7e5a55 [UPDATE] remove wrong code.
Cloned https://github.com/gradyzhuo/KurrentDB-Swift.git
Revision (git rev-parse @):
e7e5a55051da1225d680e678e745eec2f7c94cf8
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/gradyzhuo/KurrentDB-Swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/gradyzhuo/KurrentDB-Swift.git
https://github.com/gradyzhuo/KurrentDB-Swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "grpc-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/grpc/grpc-swift.git"
},
{
"identity" : "grpc-swift-nio-transport",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/grpc/grpc-swift-nio-transport.git"
},
{
"identity" : "grpc-swift-protobuf",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/grpc/grpc-swift-protobuf.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
}
],
"manifest_display_name" : "KurrentDB-Swift",
"name" : "KurrentDB-Swift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
},
{
"name" : "ios",
"version" : "18.0"
},
{
"name" : "tvos",
"version" : "18.0"
},
{
"name" : "watchos",
"version" : "11.0"
},
{
"name" : "visionos",
"version" : "2.0"
}
],
"products" : [
{
"name" : "EventStoreDB",
"targets" : [
"EventStoreDB"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "KurrentDB",
"targets" : [
"KurrentDB"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "StreamsTests",
"module_type" : "SwiftTarget",
"name" : "StreamsTests",
"path" : "Tests/StreamsTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/StreamsTests/Resources/ca.crt",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/StreamsTests/Resources/multiple-events.json",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"StreamsTests.swift"
],
"target_dependencies" : [
"KurrentDB"
],
"type" : "test"
},
{
"c99name" : "ProjectionsTests",
"module_type" : "SwiftTarget",
"name" : "ProjectionsTests",
"path" : "Tests/ProjectionsTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/ProjectionsTests/Resources/ca.crt",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/ProjectionsTests/Resources/multiple-events.json",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"ProjectionsTests.swift"
],
"target_dependencies" : [
"KurrentDB"
],
"type" : "test"
},
{
"c99name" : "PersistentSubscriptionsTests",
"module_type" : "SwiftTarget",
"name" : "PersistentSubscriptionsTests",
"path" : "Tests/PersistentSubscriptionsTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/PersistentSubscriptionsTests/Resources/ca.crt",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/PersistentSubscriptionsTests/Resources/multiple-events.json",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"PresistentSubscriptionTests.swift"
],
"target_dependencies" : [
"KurrentDB"
],
"type" : "test"
},
{
"c99name" : "KurrentDB",
"module_type" : "SwiftTarget",
"name" : "KurrentDB",
"path" : "Sources/KurrentDB",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"EventStoreDB",
"KurrentDB"
],
"sources" : [
"Core/Additions/EventStore_Client_StreamIdentifier+Additions.swift",
"Core/Additions/EventStore_Client_UUID+Additions.swift",
"Core/Additions/GRPCClient+Additions.swift",
"Core/Additions/Metadata+Additions.swift",
"Core/Additions/NIOSSLTrustRoots+Additions.swift",
"Core/Additions/String+Additions.swift",
"Core/Additions/TLSConfig.CertificateSource+Bundle.swift",
"Core/Additions/UUID+Additions.swift",
"Core/Additions/Usecase/StreamStream.swift",
"Core/Additions/Usecase/StreamUnary.swift",
"Core/Additions/Usecase/UnaryStream.swift",
"Core/Additions/Usecase/UnaryUnary.swift",
"Core/ClientSettings/Authentication.swift",
"Core/ClientSettings/ClientSettings.swift",
"Core/ClientSettings/Endpoint.swift",
"Core/ClientSettings/KeepAlive.swift",
"Core/ClientSettings/Node.swift",
"Core/ClientSettings/NodePreference.swift",
"Core/ClientSettings/Parser/ConnctionStringParser.swift",
"Core/ClientSettings/Parser/EndpointParser.swift",
"Core/ClientSettings/Parser/QueryItemParser.swift",
"Core/ClientSettings/Parser/URLSchemeParser.swift",
"Core/ClientSettings/Parser/UserCredentialsParser.swift",
"Core/ClientSettings/TopologyClusterMode.swift",
"Core/ClientSettings/URLScheme.swift",
"Core/Cursor/PositionCursor.swift",
"Core/Cursor/RevisionCursor.swift",
"Core/Direction.swift",
"Core/Error/KurrentError+RevisionOption.swift",
"Core/Error/KurrentError+WrongExpectedVersion.swift",
"Core/Error/KurrentError.swift",
"Core/Event/ContentType.swift",
"Core/Event/EventData.swift",
"Core/Event/EventStoreEvent.swift",
"Core/Event/ReadEvent.swift",
"Core/Event/RecordedEvent.swift",
"Core/KurrentCore.swift",
"Core/NodeSelector.swift",
"Core/PersistenSubscription/PersistenSubscription.EventResult.swift",
"Core/PersistenSubscription/PersistentSubscription.ConnectionInfo.swift",
"Core/PersistenSubscription/PersistentSubscription.Measurement.swift",
"Core/PersistenSubscription/PersistentSubscription.Settings.swift",
"Core/PersistenSubscription/PersistentSubscription.StreamSelection.swift",
"Core/PersistenSubscription/PersistentSubscription.SubscriptionInfo.swift",
"Core/PersistenSubscription/PersistentSubscription.SystemConsumerStrategy.swift",
"Core/PersistenSubscription/PersistentSubscription.swift",
"Core/Projection/Projection.Status.swift",
"Core/Projection/Projection.swift",
"Core/Projection/ProjectionMode.swift",
"Core/Stream/StreamIdentifier.swift",
"Core/Stream/StreamMetadata.swift",
"Core/Stream/StreamPosition.swift",
"Core/Stream/StreamRevisionRule.swift",
"Core/Stream/StreamSelector.swift",
"Core/SubscriptionFilter.swift",
"Core/TimeSpan.swift",
"Core/UUIDOption.swift",
"Gossip/Gossip.swift",
"Gossip/MemberInfo.swift",
"Gossip/Usecase/Gossip.Read.swift",
"Gossip/VNodeState.swift",
"KurrentDBClient+PersistentSubscriptions.swift",
"KurrentDBClient+Projections.swift",
"KurrentDBClient+ServerOperations.swift",
"KurrentDBClient+Streams.swift",
"KurrentDBClient.swift",
"Monitoring/Monitoring.swift",
"Monitoring/Usecase/Monitoring.Stats.swift",
"Operations/Operations.swift",
"Operations/ScavengeResponse.swift",
"Operations/Usecase/Operations.MergeIndexes.swift",
"Operations/Usecase/Operations.ResignNode.swift",
"Operations/Usecase/Operations.RestartPersistentSubscriptions.swift",
"Operations/Usecase/Operations.SetNodePriority.swift",
"Operations/Usecase/Operations.Shutdown.swift",
"Operations/Usecase/Operations.StartScavenge.swift",
"Operations/Usecase/Operations.StopScavenge.swift",
"PersistentSubscriptions/Additions/EventStore_Client_PersistentSubscriptions+Additions.swift",
"PersistentSubscriptions/Additions/PersistentSubscriptions+Convenience.swift",
"PersistentSubscriptions/Additions/ReadEvent+Additions.swift",
"PersistentSubscriptions/PersistentSubscriptionStreamSelection.swift",
"PersistentSubscriptions/PersistentSubscriptionTarget.swift",
"PersistentSubscriptions/PersistentSubscriptions.ReadResponse.swift",
"PersistentSubscriptions/PersistentSubscriptions.ReplayParkedOptions.swift",
"PersistentSubscriptions/PersistentSubscriptions.StreamSelection.swift",
"PersistentSubscriptions/PersistentSubscriptions.Subscription.swift",
"PersistentSubscriptions/PersistentSubscriptions.swift",
"PersistentSubscriptions/PersistentSubscriptionsSettingsBuildable.swift",
"PersistentSubscriptions/Usecase/All/PersistentSubscriptions.ListForAll.swift",
"PersistentSubscriptions/Usecase/AllStream/PersistentSubscriptions.AllStream.Create.swift",
"PersistentSubscriptions/Usecase/AllStream/PersistentSubscriptions.AllStream.Delete.swift",
"PersistentSubscriptions/Usecase/AllStream/PersistentSubscriptions.AllStream.GetInfo.swift",
"PersistentSubscriptions/Usecase/AllStream/PersistentSubscriptions.AllStream.List.swift",
"PersistentSubscriptions/Usecase/AllStream/PersistentSubscriptions.AllStream.Read.swift",
"PersistentSubscriptions/Usecase/AllStream/PersistentSubscriptions.AllStream.ReplayParked.swift",
"PersistentSubscriptions/Usecase/AllStream/PersistentSubscriptions.AllStream.Update.swift",
"PersistentSubscriptions/Usecase/PersistentSubscriptions.Ack.swift",
"PersistentSubscriptions/Usecase/PersistentSubscriptions.Nack.swift",
"PersistentSubscriptions/Usecase/PersistentSubscriptions.RestartSubsystem.swift",
"PersistentSubscriptions/Usecase/Specified/PersistentSubscriptions.SpecifiedStream.Create.swift",
"PersistentSubscriptions/Usecase/Specified/PersistentSubscriptions.SpecifiedStream.Delete.swift",
"PersistentSubscriptions/Usecase/Specified/PersistentSubscriptions.SpecifiedStream.GetInfo.swift",
"PersistentSubscriptions/Usecase/Specified/PersistentSubscriptions.SpecifiedStream.List.swift",
"PersistentSubscriptions/Usecase/Specified/PersistentSubscriptions.SpecifiedStream.Read.swift",
"PersistentSubscriptions/Usecase/Specified/PersistentSubscriptions.SpecifiedStream.ReplayParked.swift",
"PersistentSubscriptions/Usecase/Specified/PersistentSubscriptions.SpecifiedStream.Update.swift",
"Projections/Projections.swift",
"Projections/Protocols/ProjectionOperations.swift",
"Projections/Protocols/ProjectionTarget.swift",
"Projections/Usecase/Projections.ContinuousCreate.swift",
"Projections/Usecase/Projections.Delete.swift",
"Projections/Usecase/Projections.Disable.swift",
"Projections/Usecase/Projections.Enable.swift",
"Projections/Usecase/Projections.Reset.swift",
"Projections/Usecase/Projections.RestartSubsystem.swift",
"Projections/Usecase/Projections.Result.swift",
"Projections/Usecase/Projections.State.swift",
"Projections/Usecase/Projections.Statistics.swift",
"Projections/Usecase/Projections.Update.swift",
"ServerFeatures/ServerFeatures.swift",
"ServerFeatures/ServiceInfo.swift",
"ServerFeatures/SupportedMethod.swift",
"ServerFeatures/Usecase/ServerFeatures.GetSupportedMethods.swift",
"Streams/Additions/StreamIdentifier+Additions.swift",
"Streams/StreamTarget.swift",
"Streams/Streams.ReadResponse.swift",
"Streams/Streams.Subscription.swift",
"Streams/Streams.swift",
"Streams/Usecase/All/Streams.ReadAll.swift",
"Streams/Usecase/All/Streams.SubscribeAll.swift",
"Streams/Usecase/Specified/Streams.Append.swift",
"Streams/Usecase/Specified/Streams.Delete.swift",
"Streams/Usecase/Specified/Streams.Read.swift",
"Streams/Usecase/Specified/Streams.Subscribe.swift",
"Streams/Usecase/Specified/Streams.Tombstone.swift",
"Users/Usecase/Users.ChangePassword.swift",
"Users/Usecase/Users.Create.swift",
"Users/Usecase/Users.Details.swift",
"Users/Usecase/Users.Disable.swift",
"Users/Usecase/Users.Enable.swift",
"Users/Usecase/Users.ResetPassword.swift",
"Users/Usecase/Users.Update.swift",
"Users/UserDetails.swift",
"Users/Users.swift"
],
"target_dependencies" : [
"GRPCEncapsulates"
],
"type" : "library"
},
{
"c99name" : "KurrentCoreTests",
"module_type" : "SwiftTarget",
"name" : "KurrentCoreTests",
"path" : "Tests/KurrentCoreTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/KurrentCoreTests/Resources/ca.crt",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/KurrentCoreTests/Resources/multiple-events.json",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"ConnectionStringParserTests.swift"
],
"target_dependencies" : [
"KurrentDB"
],
"type" : "test"
},
{
"c99name" : "GRPCEncapsulates",
"module_type" : "SwiftTarget",
"name" : "GRPCEncapsulates",
"path" : "Sources/GRPCEncapsulates",
"product_dependencies" : [
"GRPCCore",
"GRPCNIOTransportHTTP2",
"GRPCProtobuf"
],
"product_memberships" : [
"EventStoreDB",
"KurrentDB"
],
"sources" : [
"Buildable.swift",
"ConcreteService.swift",
"ExpectedStreamRevisionProtocol.swift",
"GRPCBridge.swift",
"GRPCConcreteService.swift",
"GRPCServiceClient.swift",
"RequestBuildable.swift",
"ResponseHandlable.swift",
"Usecase/StreamStream.swift",
"Usecase/StreamUnary.swift",
"Usecase/UnaryStream.swift",
"Usecase/UnaryUnary.swift",
"Usecase/Usecase.swift",
"generated/cluster.grpc.swift",
"generated/cluster.pb.swift",
"generated/code.grpc.swift",
"generated/code.pb.swift",
"generated/gossip.grpc.swift",
"generated/gossip.pb.swift",
"generated/monitoring.grpc.swift",
"generated/monitoring.pb.swift",
"generated/operations.grpc.swift",
"generated/operations.pb.swift",
"generated/persistent.grpc.swift",
"generated/persistent.pb.swift",
"generated/projections.grpc.swift",
"generated/projections.pb.swift",
"generated/redaction.grpc.swift",
"generated/redaction.pb.swift",
"generated/serverfeatures.grpc.swift",
"generated/serverfeatures.pb.swift",
"generated/shared.grpc.swift",
"generated/shared.pb.swift",
"generated/status.grpc.swift",
"generated/status.pb.swift",
"generated/streams.grpc.swift",
"generated/streams.pb.swift",
"generated/users.grpc.swift",
"generated/users.pb.swift"
],
"type" : "library"
},
{
"c99name" : "EventStoreDB",
"module_type" : "SwiftTarget",
"name" : "EventStoreDB",
"path" : "Sources/EventStoreDB",
"product_memberships" : [
"EventStoreDB"
],
"sources" : [
"Cursor+Additions.swift",
"Cursor.swift",
"Deprecated.swift",
"Error.swift",
"EventStoreDB.swift",
"PersistentSubscriptions/ReadAnyTarget.swift",
"ReadCursorPointer.swift",
"StreamRevision.swift"
],
"target_dependencies" : [
"KurrentDB"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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:1d9b2ff10447e71c7331541368dc204699fc22b6bc9ef4efb815c3e4c1ba42e3
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/grpc/grpc-swift-protobuf.git
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/grpc/grpc-swift-nio-transport.git
Fetching https://github.com/apple/swift-log.git
[1/2166] Fetching grpc-swift-protobuf
[2167/6571] Fetching grpc-swift-protobuf, grpc-swift-nio-transport
[2608/10407] Fetching grpc-swift-protobuf, grpc-swift-nio-transport, swift-log
[10408/61513] Fetching grpc-swift-protobuf, grpc-swift-nio-transport, swift-log, grpc-swift
Fetched https://github.com/grpc/grpc-swift-nio-transport.git from cache (0.45s)
[10091/57108] Fetching grpc-swift-protobuf, swift-log, grpc-swift
Fetched https://github.com/grpc/grpc-swift-protobuf.git from cache (1.86s)
Fetched https://github.com/apple/swift-log.git from cache (1.86s)
Fetched https://github.com/grpc/grpc-swift.git from cache (1.90s)
Computing version for https://github.com/grpc/grpc-swift-protobuf.git
Computed https://github.com/grpc/grpc-swift-protobuf.git at 1.3.1 (2.49s)
Fetching https://github.com/apple/swift-protobuf.git
[1/39446] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (5.61s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 2.2.3 (6.15s)
Fetching https://github.com/apple/swift-collections.git
[1/16606] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.14s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.86s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (0.50s)
Computing version for https://github.com/grpc/grpc-swift-nio-transport.git
Computed https://github.com/grpc/grpc-swift-nio-transport.git at 1.2.3 (0.58s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/1590] Fetching swift-asn1
[1114/4257] Fetching swift-asn1, swift-nio-transport-services
[4178/10180] Fetching swift-asn1, swift-nio-transport-services, swift-nio-extras
[8582/16364] Fetching swift-asn1, swift-nio-transport-services, swift-nio-extras, swift-certificates
[10496/27896] Fetching swift-asn1, swift-nio-transport-services, swift-nio-extras, swift-certificates, swift-nio-http2
Fetched https://github.com/apple/swift-asn1.git from cache (0.33s)
[8965/26306] Fetching swift-nio-transport-services, swift-nio-extras, swift-certificates, swift-nio-http2
Fetching https://github.com/apple/swift-nio.git
[17313/41184] Fetching swift-nio-transport-services, swift-nio-extras, swift-certificates, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-certificates.git from cache (0.52s)
[13259/35000] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-nio-ssl
[27116/111287] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.82s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.83s)
[76418/102697] Fetching swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.84s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.85s)
[50350/76287] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.47s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (7.08s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.52s)
Fetching https://github.com/apple/swift-atomics.git
[1/1797] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.38s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.28.0 (0.99s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/4985] Fetching swift-async-algorithms
[949/5889] Fetching swift-async-algorithms, swift-http-types
[1062/7030] Fetching swift-async-algorithms, swift-http-types, swift-http-structured-headers
[6583/12989] Fetching swift-async-algorithms, swift-http-types, swift-http-structured-headers, swift-algorithms
[7806/15415] Fetching swift-async-algorithms, swift-http-types, swift-http-structured-headers, swift-algorithms, swift-service-lifecycle
Fetched https://github.com/apple/swift-http-types.git from cache (0.35s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.37s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.37s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.42s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.42s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.91s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (0.61s)
Fetching https://github.com/apple/swift-crypto.git
[1/14921] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.06s)
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 (2.57s)
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.61s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (1.88s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.57s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.51s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.53s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.42s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.23s)
Fetching https://github.com/apple/swift-system.git
[1/4428] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.39s)
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.88s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (0.49s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.54s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.47s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (0.51s)
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.28.0
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.24.0
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/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 2.2.3
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.36.0
Creating working copy for https://github.com/grpc/grpc-swift-protobuf.git
Working copy of https://github.com/grpc/grpc-swift-protobuf.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/grpc/grpc-swift-nio-transport.git
Working copy of https://github.com/grpc/grpc-swift-nio-transport.git resolved at 1.2.3
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.30.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.31.0
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.0
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.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.0.4
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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.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/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
[1/1] Compiling plugin generate-grpc-code-from-protos
[2/2] Compiling plugin GRPCProtobufGenerator
[3/3] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[3/819] Write sources
[3/819] Copying PrivacyInfo.xcprivacy
[3/819] Write sources
[43/819] Compiling CNIOWASI CNIOWASI.c
[44/819] Compiling CNIOWindows WSAStartup.c
[44/819] Compiling CNIOLinux shim.c
[44/819] Compiling CNIOWindows shim.c
[44/819] Compiling CNIOLinux liburing_shims.c
[48/819] Compiling _AtomicsShims.c
[49/819] Compiling CNIODarwin shim.c
[50/819] Compiling CNIOLLHTTP c_nio_http.c
[51/819] Compiling fiat_p256_adx_mul.S
[52/819] Compiling fiat_p256_adx_sqr.S
[53/819] Compiling fiat_curve25519_adx_square.S
[54/819] Compiling fiat_curve25519_adx_mul.S
[55/819] Compiling CNIOLLHTTP c_nio_api.c
[56/819] Write swift-version-24593BA9C3E375BF.txt
[57/819] Compiling CNIOBoringSSLShims shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_server.cc:32:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[58/823] Compiling tls13_server.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_both.cc:29:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[58/823] Compiling tls13_both.cc
[58/823] Compiling CNIOLLHTTP c_nio_llhttp.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_method.cc:17:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[58/823] Compiling tls_method.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_record.cc:19:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_client.cc:30:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[58/823] Compiling tls13_client.cc
[58/823] Compiling tls_record.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_enc.cc:34:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[58/823] Compiling tls13_enc.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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:1d9b2ff10447e71c7331541368dc204699fc22b6bc9ef4efb815c3e4c1ba42e3
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 generate-grpc-code-from-protos
[2/2] Compiling plugin GRPCProtobufGenerator
[3/3] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[3/765] Compiling fiat_curve25519_adx_square.S
[3/765] Compiling fiat_p256_adx_mul.S
[5/765] Compiling fiat_curve25519_adx_mul.S
[5/765] Compiling md5-x86_64-linux.S
[7/765] Compiling fiat_p256_adx_sqr.S
[8/765] Compiling md5-x86_64-apple.S
[9/765] Compiling CCryptoBoringSSLShims shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_server.cc:32:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[10/765] Compiling tls13_server.cc
[10/765] Compiling tls13_both.cc
[10/765] Compiling tls_method.cc
[10/765] Compiling tls_record.cc
[10/765] Write swift-version-24593BA9C3E375BF.txt
[10/765] Compiling tls13_client.cc
[10/765] Compiling tls13_enc.cc
[10/765] Compiling CNIOLLHTTP c_nio_llhttp.c
BUILD FAILURE 6.1 wasm