The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build KurrentDB-Swift, reference main (ec6900), with Swift 6.1 for Wasm on 10 Sep 2025 18:37:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/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 ec6900d [Refactor] Enhance error reporting in KurrentDB usecases and error handling
Cloned https://github.com/gradyzhuo/KurrentDB-Swift.git
Revision (git rev-parse @):
ec6900d7e36024a217daa83e515942829f7adfc3
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-2",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/grpc/grpc-swift-2.git"
    },
    {
      "identity" : "grpc-swift-nio-transport",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/grpc/grpc-swift-nio-transport.git"
    },
    {
      "identity" : "grpc-swift-protobuf",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.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-1":/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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
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-nio-transport.git
Fetching https://github.com/grpc/grpc-swift-2.git
Fetching https://github.com/apple/swift-log.git
[1/2361] Fetching grpc-swift-protobuf
[875/32145] Fetching grpc-swift-protobuf, grpc-swift-2
[2283/36048] Fetching grpc-swift-protobuf, grpc-swift-2, swift-log
[2370/40751] Fetching grpc-swift-protobuf, grpc-swift-2, swift-log, grpc-swift-nio-transport
Fetched https://github.com/apple/swift-log.git from cache (0.64s)
[18085/36848] Fetching grpc-swift-protobuf, grpc-swift-2, grpc-swift-nio-transport
Fetched https://github.com/grpc/grpc-swift-protobuf.git from cache (2.17s)
Fetched https://github.com/grpc/grpc-swift-nio-transport.git from cache (2.17s)
Fetched https://github.com/grpc/grpc-swift-2.git from cache (2.21s)
Computing version for https://github.com/grpc/grpc-swift-2.git
Computed https://github.com/grpc/grpc-swift-2.git at 2.1.0 (3.42s)
Fetching https://github.com/apple/swift-collections.git
[1/17445] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.50s)
Computing version for https://github.com/grpc/grpc-swift-protobuf.git
Computed https://github.com/grpc/grpc-swift-protobuf.git at 2.1.1 (2.42s)
Fetching https://github.com/apple/swift-protobuf.git
[1/40171] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (8.71s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.31.0 (9.32s)
Computing version for https://github.com/grpc/grpc-swift-nio-transport.git
Computed https://github.com/grpc/grpc-swift-nio-transport.git at 2.1.1 (0.62s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/1629] Fetching swift-asn1
[392/4347] Fetching swift-asn1, swift-nio-transport-services
[4348/10474] Fetching swift-asn1, swift-nio-transport-services, swift-nio-extras
[4839/17005] Fetching swift-asn1, swift-nio-transport-services, swift-nio-extras, swift-certificates
[7007/28666] Fetching swift-asn1, swift-nio-transport-services, swift-nio-extras, swift-certificates, swift-nio-http2
[16811/43741] Fetching swift-asn1, swift-nio-transport-services, swift-nio-extras, swift-certificates, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-asn1.git from cache (0.55s)
[19601/42112] Fetching swift-nio-transport-services, swift-nio-extras, swift-certificates, swift-nio-http2, swift-nio-ssl
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-certificates.git from cache (0.68s)
[14606/35581] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-nio-ssl
[31211/113643] 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.49s)
[37246/110925] Fetching swift-nio-extras, swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.51s)
[26667/99264] Fetching swift-nio-extras, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-extras.git from cache (2.58s)
[62693/93137] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.61s)
[48399/78062] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (6.27s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (7.52s)
Fetching https://github.com/apple/swift-atomics.git
[1/1814] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.46s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.34.0 (2.90s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (0.73s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
[1/923] Fetching swift-http-types
[251/2099] Fetching swift-http-types, swift-http-structured-headers
[2100/8084] Fetching swift-http-types, swift-http-structured-headers, swift-algorithms
[2460/13437] Fetching swift-http-types, swift-http-structured-headers, swift-algorithms, swift-async-algorithms
[3899/15907] Fetching swift-http-types, swift-http-structured-headers, swift-algorithms, swift-async-algorithms, swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.54s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.62s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.62s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.62s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.62s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (1.26s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (1.58s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.66s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.67s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.70s)
Fetching https://github.com/apple/swift-numerics.git
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.66s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (1.33s)
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.70s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.13.0 (3.20s)
Fetching https://github.com/apple/swift-crypto.git
[1/16879] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (5.82s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.4.0 (6.36s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (0.56s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.79s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (1.20s)
Fetching https://github.com/apple/swift-system.git
[1/4937] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.76s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (2.63s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.1 (1.14s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.0 (3.28s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.2
Creating working copy for https://github.com/grpc/grpc-swift-protobuf.git
Working copy of https://github.com/grpc/grpc-swift-protobuf.git resolved at 2.1.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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.38.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.34.0
Creating working copy for https://github.com/apple/swift-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-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-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.25.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.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.29.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.13.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.31.0
Creating working copy for https://github.com/grpc/grpc-swift-nio-transport.git
Working copy of https://github.com/grpc/grpc-swift-nio-transport.git resolved at 2.1.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/grpc/grpc-swift-2.git
Working copy of https://github.com/grpc/grpc-swift-2.git resolved at 2.1.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Downloading binary artifact https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
[1397/15500663] Downloading https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
Downloaded https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip (2.43s)
[1/1] Compiling plugin generate-grpc-code-from-protos
[2/2] Compiling plugin GRPCProtobufGenerator
[3/3] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[3/828] Write sources
[31/828] Copying PrivacyInfo.xcprivacy
[32/828] Write sources
[43/828] Compiling CNIOWindows WSAStartup.c
[44/828] Compiling CNIOPosix event_loop_id.c
[45/828] Compiling CNIOWindows shim.c
[46/828] Compiling CNIOLinux shim.c
[47/828] Compiling CNIOLinux liburing_shims.c
[48/828] Compiling CNIOWASI CNIOWASI.c
[49/828] Compiling _AtomicsShims.c
[50/828] Compiling CNIODarwin shim.c
[51/828] Compiling CNIOLLHTTP c_nio_http.c
[52/828] Compiling fiat_p256_adx_sqr.S
[53/828] Compiling fiat_p256_adx_mul.S
[54/828] Compiling fiat_curve25519_adx_square.S
[55/828] Compiling CNIOLLHTTP c_nio_api.c
[56/828] Compiling fiat_curve25519_adx_mul.S
[57/828] Write swift-version-24593BA9C3E375BF.txt
[58/828] Compiling CNIOBoringSSLShims shims.c
[60/832] Emitting module _NIODataStructures
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>
      |          ^~~~~~~~~~~
1 error generated.
[60/832] Compiling tls13_enc.cc
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>
      |          ^~~~~~~~~~~
1 error generated.
[60/832] 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>
      |          ^~~~~~~~~~~
1 error generated.
[60/832] Compiling tls_record.cc
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.
[60/832] Compiling tls13_server.cc
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>
      |          ^~~~~~~~~~~
[60/832] Compiling tls13_client.cc
[60/832] Compiling CNIOLLHTTP c_nio_llhttp.c
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>
      |          ^~~~~~~~~~~
[60/832] Compiling tls13_both.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[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/773] Compiling fiat_curve25519_adx_square.S
[4/773] Compiling fiat_p256_adx_mul.S
[5/773] Compiling fiat_curve25519_adx_mul.S
[6/773] Compiling fiat_p256_adx_sqr.S
[7/773] Compiling CCryptoBoringSSLShims shims.c
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>
      |          ^~~~~~~~~~~
1 error generated.
[8/773] Compiling tls_record.cc
[8/773] Compiling tls13_enc.cc
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>
      |          ^~~~~~~~~~~
[8/773] Compiling tls13_server.cc
[8/773] Compiling tls13_both.cc
[8/773] Compiling tls_method.cc
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>
      |          ^~~~~~~~~~~
[8/773] Compiling tls13_client.cc
[8/773] Write swift-version-24593BA9C3E375BF.txt
[8/773] Compiling CNIOLLHTTP c_nio_llhttp.c
BUILD FAILURE 6.1 wasm