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 1.10.0 (4196c4), with Swift 6.1 for Wasm on 14 Jun 2025 01:09:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: 1.10.0
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
 * tag               1.10.0     -> FETCH_HEAD
HEAD is now at 4196c4b [Fix] Correct minor issues in persistent subscription implementation and documentation --- - Fix syntax error in Reading events documentation and update file headers - Remove incorrect all field initialization in ReplayParked options
Cloned https://github.com/gradyzhuo/KurrentDB-Swift.git
Revision (git rev-parse @):
4196c4b85645942e19794a1f0f3e7d8666669807
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/gradyzhuo/KurrentDB-Swift.git at 1.10.0
========================================
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-2":/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:1f4a86c2403dd7f046762c8271002f713e736861711b4d7bb001b0e60ed1e881
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/grpc/grpc-swift-nio-transport.git
Fetching https://github.com/grpc/grpc-swift-protobuf.git
Fetching https://github.com/grpc/grpc-swift.git
[1/3836] Fetching swift-log
[40/6002] Fetching swift-log, grpc-swift-protobuf
[4469/10407] Fetching swift-log, grpc-swift-protobuf, grpc-swift-nio-transport
[10408/61513] Fetching swift-log, grpc-swift-protobuf, grpc-swift-nio-transport, grpc-swift
Fetched https://github.com/apple/swift-log.git from cache (0.44s)
[7594/57677] Fetching grpc-swift-protobuf, grpc-swift-nio-transport, grpc-swift
Fetched https://github.com/grpc/grpc-swift-protobuf.git from cache (0.51s)
[7983/55511] Fetching grpc-swift-nio-transport, grpc-swift
Fetched https://github.com/grpc/grpc-swift-nio-transport.git from cache (2.74s)
Fetched https://github.com/grpc/grpc-swift.git from cache (2.79s)
Computing version for https://github.com/grpc/grpc-swift-protobuf.git
Computed https://github.com/grpc/grpc-swift-protobuf.git at 1.3.1 (3.69s)
Fetching https://github.com/apple/swift-protobuf.git
[1/39436] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (8.32s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 2.2.3 (8.99s)
Fetching https://github.com/apple/swift-collections.git
[1/16606] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.20s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (2.16s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (0.76s)
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 (1.04s)
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
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/1590] Fetching swift-asn1
[1448/4257] Fetching swift-asn1, swift-nio-transport-services
[2232/10441] Fetching swift-asn1, swift-nio-transport-services, swift-certificates
[2622/21968] Fetching swift-asn1, swift-nio-transport-services, swift-certificates, swift-nio-http2
[2623/27891] Fetching swift-asn1, swift-nio-transport-services, swift-certificates, swift-nio-http2, swift-nio-extras
[16370/42769] Fetching swift-asn1, swift-nio-transport-services, swift-certificates, swift-nio-http2, swift-nio-extras, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.56s)
Fetching https://github.com/apple/swift-nio.git
[17870/40102] Fetching swift-asn1, swift-certificates, swift-nio-http2, swift-nio-extras, swift-nio-ssl
Fetched https://github.com/apple/swift-asn1.git from cache (0.70s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.71s)
[11149/32589] Fetching swift-certificates, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-certificates.git from cache (0.72s)
[5114/26405] Fetching swift-nio-http2, swift-nio-ssl
[17777/102692] Fetching swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.72s)
[31235/91165] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.99s)
[50350/76287] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (8.44s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (12.91s)
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.99s)
Fetching https://github.com/apple/swift-atomics.git
[1/1797] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.64s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.28.0 (1.81s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-algorithms.git
[1/4985] Fetching swift-async-algorithms
[500/5889] Fetching swift-async-algorithms, swift-http-types
[1097/7030] Fetching swift-async-algorithms, swift-http-types, swift-http-structured-headers
[2026/9456] Fetching swift-async-algorithms, swift-http-types, swift-http-structured-headers, swift-service-lifecycle
[9239/15415] Fetching swift-async-algorithms, swift-http-types, swift-http-structured-headers, swift-service-lifecycle, swift-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (1.38s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.38s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.40s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.40s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.40s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (2.42s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (1.06s)
Fetching https://github.com/apple/swift-crypto.git
[1/14906] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.39s)
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 (4.41s)
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.19s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (4.48s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.05s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.04s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.11s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.72s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (2.43s)
Fetching https://github.com/apple/swift-system.git
[1/4428] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.63s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (1.63s)
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 (1.13s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.04s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (2.82s)
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 (1.07s)
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
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-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-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-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-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-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-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-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-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-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-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/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-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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
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/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/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
[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 CNIOWindows WSAStartup.c
[44/819] Compiling CNIOWASI CNIOWASI.c
[45/819] Compiling CNIOLinux liburing_shims.c
[46/819] Compiling CNIOLinux shim.c
[47/819] Compiling _AtomicsShims.c
[48/819] Compiling CNIOLLHTTP c_nio_http.c
[49/819] Compiling CNIODarwin shim.c
[50/819] Compiling fiat_p256_adx_sqr.S
[51/819] Compiling fiat_curve25519_adx_square.S
[52/819] Compiling CNIOLLHTTP c_nio_api.c
[53/819] Compiling fiat_p256_adx_mul.S
[54/819] Compiling fiat_curve25519_adx_mul.S
[55/819] Compiling CNIOWindows shim.c
[56/819] Write swift-version-24593BA9C3E375BF.txt
[57/819] Compiling CNIOBoringSSLShims shims.c
[59/823] Emitting module _NIODataStructures
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.
[59/823] Compiling tls13_server.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.
[59/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>
      |          ^~~~~~~~~~~
1 error generated.
[59/823] Compiling tls_record.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>
      |          ^~~~~~~~~~~
1 error generated.
[59/823] Compiling tls13_both.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>
      |          ^~~~~~~~~~~
[59/823] Compiling tls13_client.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>
      |          ^~~~~~~~~~~
[59/823] Compiling tls13_enc.cc
[59/823] Compiling CNIOLLHTTP c_nio_llhttp.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:1f4a86c2403dd7f046762c8271002f713e736861711b4d7bb001b0e60ed1e881
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/764] Write sources
[4/765] Compiling fiat_p256_adx_sqr.S
[5/765] Compiling fiat_curve25519_adx_mul.S
[6/765] Compiling md5-x86_64-linux.S
[7/765] Compiling fiat_curve25519_adx_square.S
[8/765] Compiling fiat_p256_adx_mul.S
[9/765] Write swift-version-24593BA9C3E375BF.txt
[10/765] 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.
[11/769] Compiling tls_record.cc
[11/769] Compiling tls13_both.cc
[11/769] 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>
      |          ^~~~~~~~~~~
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>
      |          ^~~~~~~~~~~
[11/769] Compiling tls13_server.cc
[11/769] Compiling tls_method.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>
      |          ^~~~~~~~~~~
[11/769] Compiling tls13_enc.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>
      |          ^~~~~~~~~~~
[11/769] Compiling tls13_client.cc
BUILD FAILURE 6.1 wasm