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 hummingbird, reference 2.16.0 (3ae359), with Swift 6.1 for Wasm on 25 Aug 2025 17:47:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/hummingbird-project/hummingbird.git
Reference: 2.16.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/hummingbird-project/hummingbird
 * tag               2.16.0     -> FETCH_HEAD
HEAD is now at 3ae359b Add cookie validation APIs and assert (on DEBUG) when initalizing an invalid cookie (#727)
Cloned https://github.com/hummingbird-project/hummingbird.git
Revision (git rev-parse @):
3ae359b1bb1e72378ed43b59fdcd4d44cac5d7a4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/hummingbird-project/hummingbird.git at 2.16.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/hummingbird-project/hummingbird.git
https://github.com/hummingbird-project/hummingbird.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-async-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-async-algorithms.git"
    },
    {
      "identity" : "swift-atomics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-atomics.git"
    },
    {
      "identity" : "swift-collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-collections.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-http-types",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-http-types.git"
    },
    {
      "identity" : "swift-metrics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.5.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-metrics.git"
    },
    {
      "identity" : "swift-distributed-tracing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-distributed-tracing.git"
    },
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.83.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-nio-extras",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.20.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-extras.git"
    },
    {
      "identity" : "swift-nio-http2",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.38.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-http2.git"
    },
    {
      "identity" : "swift-nio-ssl",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.14.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-ssl.git"
    },
    {
      "identity" : "swift-nio-transport-services",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.20.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-transport-services.git"
    },
    {
      "identity" : "swift-service-lifecycle",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server/swift-service-lifecycle.git"
    },
    {
      "identity" : "async-http-client",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.19.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server/async-http-client.git"
    }
  ],
  "manifest_display_name" : "hummingbird",
  "name" : "hummingbird",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "17.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Hummingbird",
      "targets" : [
        "Hummingbird"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HummingbirdCore",
      "targets" : [
        "HummingbirdCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HummingbirdHTTP2",
      "targets" : [
        "HummingbirdHTTP2"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HummingbirdTLS",
      "targets" : [
        "HummingbirdTLS"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HummingbirdRouter",
      "targets" : [
        "HummingbirdRouter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HummingbirdTesting",
      "targets" : [
        "HummingbirdTesting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PerformanceTest",
      "targets" : [
        "PerformanceTest"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "5",
    "6"
  ],
  "targets" : [
    {
      "c99name" : "PerformanceTest",
      "module_type" : "SwiftTarget",
      "name" : "PerformanceTest",
      "path" : "Sources/PerformanceTest",
      "product_dependencies" : [
        "NIOPosix"
      ],
      "product_memberships" : [
        "PerformanceTest"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Hummingbird"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "HummingbirdTests",
      "module_type" : "SwiftTarget",
      "name" : "HummingbirdTests",
      "path" : "Tests/HummingbirdTests",
      "sources" : [
        "ApplicationTests.swift",
        "CacheControlTests.swift",
        "Certificates.swift",
        "CookiesTests.swift",
        "EnvironmentTests.swift",
        "FileIOTests.swift",
        "FileMiddlewareTests.swift",
        "HTTPHeaderDateTests.swift",
        "HTTPTests.swift",
        "HummingBirdJSONTests.swift",
        "MetricsTests.swift",
        "MiddlewareTests.swift",
        "ParserTests.swift",
        "PersistTests.swift",
        "RouterTests.swift",
        "TestTracer.swift",
        "TracingTests.swift",
        "TrieRouterTests.swift",
        "URLEncodedForm/Application+URLEncodedFormTests.swift",
        "URLEncodedForm/URLDecoderTests.swift",
        "URLEncodedForm/URLEncodedNodeTests.swift",
        "URLEncodedForm/URLEncoderTests.swift",
        "UUIDTests.swift",
        "UtilsTests.swift"
      ],
      "target_dependencies" : [
        "Hummingbird",
        "HummingbirdTLS",
        "HummingbirdHTTP2",
        "HummingbirdTesting",
        "HummingbirdRouter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HummingbirdTesting",
      "module_type" : "SwiftTarget",
      "name" : "HummingbirdTesting",
      "path" : "Sources/HummingbirdTesting",
      "product_dependencies" : [
        "AsyncHTTPClient",
        "HTTPTypes",
        "NIOCore",
        "NIOConcurrencyHelpers",
        "NIOEmbedded",
        "NIOHTTPTypes",
        "NIOHTTPTypesHTTP1",
        "NIOPosix",
        "NIOSSL"
      ],
      "product_memberships" : [
        "HummingbirdTesting"
      ],
      "sources" : [
        "Application+Test.swift",
        "ApplicationTester.swift",
        "AsyncHTTPClientTestFramework.swift",
        "Deprecations.swift",
        "LiveTestFramework.swift",
        "RouterTestFramework.swift",
        "TestApplication.swift",
        "TestClient+types.swift",
        "TestClient.swift"
      ],
      "target_dependencies" : [
        "Hummingbird"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HummingbirdTLS",
      "module_type" : "SwiftTarget",
      "name" : "HummingbirdTLS",
      "path" : "Sources/HummingbirdTLS",
      "product_dependencies" : [
        "NIOCore",
        "NIOSSL"
      ],
      "product_memberships" : [
        "HummingbirdTLS"
      ],
      "sources" : [
        "Exports.swift",
        "HTTPServerBuilder+tls.swift",
        "TLSChannel.swift"
      ],
      "target_dependencies" : [
        "HummingbirdCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HummingbirdRouterTests",
      "module_type" : "SwiftTarget",
      "name" : "HummingbirdRouterTests",
      "path" : "Tests/HummingbirdRouterTests",
      "sources" : [
        "ControllerTests.swift",
        "MiddlewareTests.swift",
        "RouterTests.swift"
      ],
      "target_dependencies" : [
        "HummingbirdRouter",
        "HummingbirdTesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HummingbirdRouter",
      "module_type" : "SwiftTarget",
      "name" : "HummingbirdRouter",
      "path" : "Sources/HummingbirdRouter",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "HummingbirdRouter"
      ],
      "sources" : [
        "ContextTransform.swift",
        "Deprecations.swift",
        "Route.swift",
        "RouteBuilder.swift",
        "RouteGroup.swift",
        "RouteHandler.swift",
        "RouterBuilder.swift",
        "RouterBuilderContext.swift",
        "RouterBuilderState.swift",
        "RouterController.swift",
        "RouterPath.swift"
      ],
      "target_dependencies" : [
        "Hummingbird"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HummingbirdHTTP2Tests",
      "module_type" : "SwiftTarget",
      "name" : "HummingbirdHTTP2Tests",
      "path" : "Tests/HummingbirdHTTP2Tests",
      "product_dependencies" : [
        "AsyncHTTPClient"
      ],
      "sources" : [
        "Certificates.swift",
        "HTTP2ServerConnectionManagerStateMachineTests.swift",
        "HTTP2Tests.swift",
        "TestUtils.swift"
      ],
      "target_dependencies" : [
        "HummingbirdCore",
        "HummingbirdHTTP2",
        "HummingbirdTesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HummingbirdHTTP2",
      "module_type" : "SwiftTarget",
      "name" : "HummingbirdHTTP2",
      "path" : "Sources/HummingbirdHTTP2",
      "product_dependencies" : [
        "NIOCore",
        "NIOHTTP2",
        "NIOHTTPTypes",
        "NIOHTTPTypesHTTP1",
        "NIOHTTPTypesHTTP2",
        "NIOSSL"
      ],
      "product_memberships" : [
        "HummingbirdHTTP2"
      ],
      "sources" : [
        "Exports.swift",
        "HTTP2Channel.swift",
        "HTTP2ServerConnectionManager+StateMachine.swift",
        "HTTP2ServerConnectionManager.swift",
        "HTTP2StreamChannel.swift",
        "HTTP2UpgradeChannel.swift",
        "HTTPServerBuilder+http2.swift",
        "TLSChannelConfiguration.swift"
      ],
      "target_dependencies" : [
        "HummingbirdCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HummingbirdCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "HummingbirdCoreTests",
      "path" : "Tests/HummingbirdCoreTests",
      "product_dependencies" : [
        "AsyncHTTPClient"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/HummingbirdCoreTests/Certificates/ca.der",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/HummingbirdCoreTests/Certificates/client.p12",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/HummingbirdCoreTests/Certificates/server.p12",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Certificates.swift",
        "CoreTests.swift",
        "HTTP1ChannelTests.swift",
        "RequestBodyTests.swift",
        "TLSTests.swift",
        "TSTests.swift",
        "TestUtils.swift"
      ],
      "target_dependencies" : [
        "HummingbirdCore",
        "HummingbirdTLS",
        "HummingbirdTesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HummingbirdCore",
      "module_type" : "SwiftTarget",
      "name" : "HummingbirdCore",
      "path" : "Sources/HummingbirdCore",
      "product_dependencies" : [
        "AsyncAlgorithms",
        "Collections",
        "HTTPTypes",
        "Logging",
        "NIOCore",
        "NIOConcurrencyHelpers",
        "NIOHTTPTypes",
        "NIOHTTPTypesHTTP1",
        "NIOExtras",
        "NIOPosix",
        "NIOTransportServices",
        "ServiceLifecycle"
      ],
      "product_memberships" : [
        "Hummingbird",
        "HummingbirdCore",
        "HummingbirdHTTP2",
        "HummingbirdTLS",
        "HummingbirdRouter",
        "HummingbirdTesting",
        "PerformanceTest"
      ],
      "sources" : [
        "Deprecations.swift",
        "Request/Request.swift",
        "Request/RequestBody+inboundClose.swift",
        "Request/RequestBody.swift",
        "Request/RequestBodyMergedWithUnderlyingRequestPartIterator.swift",
        "Request/URI.swift",
        "Response/Response.swift",
        "Response/ResponseBody.swift",
        "Response/ResponseBodyWriter.swift",
        "Response/ResponseWriter.swift",
        "Server/AvailableConnectionsHandler.swift",
        "Server/BindAddress.swift",
        "Server/HTTP/HTTP1Channel.swift",
        "Server/HTTP/HTTPChannelHandler.swift",
        "Server/HTTP/HTTPServerBuilder.swift",
        "Server/HTTPUserEventHandler.swift",
        "Server/Server.swift",
        "Server/ServerChildChannel.swift",
        "Server/ServerConfiguration.swift",
        "Server/TSTLSOptions.swift",
        "Utils/AnyAsyncSequence.swift",
        "Utils/FlatDictionary.swift",
        "Utils/HBParser.swift",
        "Utils/OutputBuffer.swift",
        "Utils/SendableMetatype.swift",
        "Utils/String+percentEncode.swift",
        "Utils/UnsafeTransfer.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Hummingbird",
      "module_type" : "SwiftTarget",
      "name" : "Hummingbird",
      "path" : "Sources/Hummingbird",
      "product_dependencies" : [
        "ServiceLifecycle",
        "AsyncAlgorithms",
        "Atomics",
        "HTTPTypes",
        "Logging",
        "Metrics",
        "Tracing",
        "NIOCore",
        "NIOPosix"
      ],
      "product_memberships" : [
        "Hummingbird",
        "HummingbirdRouter",
        "HummingbirdTesting",
        "PerformanceTest"
      ],
      "sources" : [
        "Application.swift",
        "Codable/CodableProtocols.swift",
        "Codable/JSON/JSONCoding.swift",
        "Codable/ResponseEncodable.swift",
        "Codable/URLEncodedForm/URLEncodedForm+Request.swift",
        "Codable/URLEncodedForm/URLEncodedForm.swift",
        "Codable/URLEncodedForm/URLEncodedFormDecoder.swift",
        "Codable/URLEncodedForm/URLEncodedFormEncoder.swift",
        "Codable/URLEncodedForm/URLEncodedFormNode.swift",
        "Configuration.swift",
        "Deprecations.swift",
        "Environment.swift",
        "Error/EditedHTTPError.swift",
        "Error/HTTPError.swift",
        "Error/HTTPResponseError.swift",
        "Error/NIOCore+HTTPResponseError.swift",
        "Exports.swift",
        "Files/CacheControl.swift",
        "Files/FileIO.swift",
        "Files/FileProvider.swift",
        "Files/LocalFileSystem.swift",
        "HTTP/Cookie.swift",
        "HTTP/Cookies.swift",
        "HTTP/MediaType+FileExtension.swift",
        "HTTP/MediaType.swift",
        "HTTP/Request+Cookies.swift",
        "HTTP/Response+Cookies.swift",
        "Middleware/CORSMiddleware.swift",
        "Middleware/FileMiddleware.swift",
        "Middleware/LogRequestMiddleware.swift",
        "Middleware/MetricsMiddleware.swift",
        "Middleware/Middleware.swift",
        "Middleware/MiddlewareGroup.swift",
        "Middleware/MiddlewareModule/MiddlewareFixedTypeBuilder.swift",
        "Middleware/MiddlewareModule/_Middleware2.swift",
        "Middleware/MiddlewareModule/_OptionalMiddleware.swift",
        "Middleware/MiddlewareModule/_SpreadMiddleware.swift",
        "Middleware/TracingMiddleware.swift",
        "Router/EndpointResponder.swift",
        "Router/Parameters+UUID.swift",
        "Router/Parameters.swift",
        "Router/ResponseGenerator.swift",
        "Router/RouteCollection.swift",
        "Router/Router+validation.swift",
        "Router/Router.swift",
        "Router/RouterGroup.swift",
        "Router/RouterMethods.swift",
        "Router/RouterPath.swift",
        "Router/RouterResponder.swift",
        "Router/TransformingRouterGroup.swift",
        "Router/Trie/RouterTrie.swift",
        "Router/Trie/Trie+resolve.swift",
        "Router/Trie/Trie+serialize.swift",
        "Router/TrieRouter.swift",
        "Server/ChildRequestContext.swift",
        "Server/Request.swift",
        "Server/RequestContext.swift",
        "Server/RequestContextSource.swift",
        "Server/RequestID.swift",
        "Server/RequestResponder.swift",
        "Server/Response.swift",
        "Server/URI+decodeQuery.swift",
        "Storage/MemoryPersistDriver.swift",
        "Storage/PersistDriver.swift",
        "Storage/PersistError.swift",
        "Utils/ByteBuffer+foundation.swift",
        "Utils/DateCache.swift",
        "Utils/HTTPHeaderDateFormatStyle.swift",
        "Utils/HexDigest.swift",
        "Utils/InitializableFromSource.swift",
        "Utils/PreludeService.swift",
        "Utils/StringProtocol.swift"
      ],
      "target_dependencies" : [
        "HummingbirdCore"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/apple/swift-nio-extras.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/2433] Fetching swift-service-lifecycle
[1315/8560] Fetching swift-service-lifecycle, swift-nio-extras
[1499/11261] Fetching swift-service-lifecycle, swift-nio-extras, swift-nio-transport-services
[2544/25380] Fetching swift-service-lifecycle, swift-nio-extras, swift-nio-transport-services, async-http-client
[8558/37041] Fetching swift-service-lifecycle, swift-nio-extras, swift-nio-transport-services, async-http-client, swift-nio-http2
[17414/52109] Fetching swift-service-lifecycle, swift-nio-extras, swift-nio-transport-services, async-http-client, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.91s)
[20664/45982] Fetching swift-service-lifecycle, swift-nio-transport-services, async-http-client, swift-nio-http2, swift-nio-ssl
Fetching https://github.com/apple/swift-nio.git
[37545/123646] Fetching swift-service-lifecycle, swift-nio-transport-services, async-http-client, swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/swift-server/async-http-client.git from cache (1.95s)
[30601/109527] Fetching swift-service-lifecycle, swift-nio-transport-services, swift-nio-http2, swift-nio-ssl, swift-nio
Fetching https://github.com/apple/swift-distributed-tracing.git
[44291/114643] Fetching swift-service-lifecycle, swift-nio-transport-services, swift-nio-http2, swift-nio-ssl, swift-nio, swift-distributed-tracing
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (2.69s)
Fetching https://github.com/apple/swift-metrics.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (4.86s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (4.88s)
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-nio-http2.git from cache (4.89s)
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.95s)
Fetching https://github.com/apple/swift-atomics.git
[1/917] Fetching swift-http-types
[2/3205] Fetching swift-http-types, swift-metrics
[1628/20559] Fetching swift-http-types, swift-metrics, swift-collections
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-http-types.git from cache (0.75s)
[2297/19642] Fetching swift-metrics, swift-collections
Fetching https://github.com/apple/swift-async-algorithms.git
[2984/21450] Fetching swift-metrics, swift-collections, swift-atomics
Fetched https://github.com/apple/swift-metrics.git from cache (1.21s)
[3717/19162] Fetching swift-collections, swift-atomics
[4586/23059] Fetching swift-collections, swift-atomics, swift-log
[6082/28192] Fetching swift-collections, swift-atomics, swift-log, swift-async-algorithms
Fetched https://github.com/apple/swift-atomics.git from cache (1.33s)
[13042/26384] Fetching swift-collections, swift-log, swift-async-algorithms
Fetched https://github.com/apple/swift-log.git from cache (0.84s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.93s)
[4317/17354] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (3.27s)
Fetched https://github.com/apple/swift-nio.git from cache (7.76s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (9.60s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (2.20s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (0.97s)
Fetching https://github.com/apple/swift-system.git
[1/4900] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.54s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.97s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.52s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.1 (0.84s)
Fetching https://github.com/apple/swift-service-context.git
[1/1088] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.38s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (1.25s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.72s)
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 (0.67s)
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.55s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.89s)
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.56s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
[1/1629] Fetching swift-asn1
[914/2805] Fetching swift-asn1, swift-http-structured-headers
[1353/9265] Fetching swift-asn1, swift-http-structured-headers, swift-certificates
[3905/15233] Fetching swift-asn1, swift-http-structured-headers, swift-certificates, swift-algorithms
Fetched https://github.com/apple/swift-certificates.git from cache (0.95s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.99s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.99s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.00s)
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.70s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.74s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (3.14s)
Fetching https://github.com/apple/swift-numerics.git
[1/6342] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.21s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (1.91s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.12.0 (0.93s)
Fetching https://github.com/apple/swift-crypto.git
[1/16276] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.49s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (4.43s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.33.0 (1.06s)
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 (1.70s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.14.0 (2.78s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.26.1 (0.90s)
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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.14.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-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-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-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/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-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.2.1
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.26.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-service-context.git
Working copy of https://github.com/apple/swift-service-context.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.12.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.2
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-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-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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.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.33.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.86.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-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Building for debugging...
[0/503] Write sources
[42/503] Compiling CNIOWASI CNIOWASI.c
[43/503] Compiling _AtomicsShims.c
[44/503] Write sources
[49/503] Compiling CNIOWindows WSAStartup.c
[49/503] Compiling CNIOWindows shim.c
[51/503] Compiling CNIOLinux shim.c
[52/503] Compiling CNIOPosix event_loop_id.c
[53/503] Compiling CNIOExtrasZlib empty.c
[54/503] Compiling CNIOLinux liburing_shims.c
[55/503] Compiling CNIODarwin shim.c
[56/503] Compiling CNIOLLHTTP c_nio_http.c
[57/503] Compiling _NumericsShims _NumericsShims.c
[58/503] Compiling fiat_p256_adx_sqr.S
[59/503] Compiling fiat_curve25519_adx_square.S
[60/503] Compiling fiat_curve25519_adx_mul.S
[61/503] Compiling CNIOLLHTTP c_nio_api.c
[62/503] Compiling fiat_p256_adx_mul.S
[63/503] Write swift-version-24593BA9C3E375BF.txt
[64/503] Compiling CNIOBoringSSLShims 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.
[65/507] Compiling tls_record.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>
      |          ^~~~~~~~~~~
1 error generated.
[65/507] Compiling tls13_client.cc
[65/507] Compiling tls_method.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>
      |          ^~~~~~~~~~~
[65/507] Compiling tls13_server.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>
      |          ^~~~~~~~~~~
[65/507] Compiling tls13_enc.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>
      |          ^~~~~~~~~~~
[65/507] Compiling tls13_both.cc
[65/507] Compiling CNIOLLHTTP c_nio_llhttp.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
Building for debugging...
[0/438] Write sources
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>
      |          ^~~~~~~~~~~
1 error generated.
[1/439] Compiling tls13_client.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/439] Compiling tls13_server.cc
[1/439] Compiling tls13_both.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.
[1/439] Compiling CNIOLLHTTP c_nio_llhttp.c
[1/439] Compiling tls_method.cc
[1/439] Compiling t1_enc.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>
      |          ^~~~~~~~~~~
[1/439] Compiling tls13_enc.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/439] Compiling tls_record.cc
BUILD FAILURE 6.1 wasm