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 main (c64554), with Swift 6.1 for Wasm on 23 Jun 2025 20:58:23 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hummingbird-project/hummingbird.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/hummingbird-project/hummingbird
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c645547 Update from hummingbird-project-template 9f1753de24c31bae77d963d51cc52bff1d895b4e (#720)
Cloned https://github.com/hummingbird-project/hummingbird.git
Revision (git rev-parse @):
c645547773b154d3adbea3d341c8e181f23775ed
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/hummingbird-project/hummingbird.git at main
========================================
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.34.1",
            "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-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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/2426] Fetching swift-service-lifecycle
[535/5093] Fetching swift-service-lifecycle, swift-nio-transport-services
[3500/19107] Fetching swift-service-lifecycle, swift-nio-transport-services, async-http-client
[3641/30639] Fetching swift-service-lifecycle, swift-nio-transport-services, async-http-client, swift-nio-http2
[3668/36614] Fetching swift-service-lifecycle, swift-nio-transport-services, async-http-client, swift-nio-http2, swift-nio-extras
[7795/51504] Fetching swift-service-lifecycle, swift-nio-transport-services, async-http-client, swift-nio-http2, swift-nio-extras, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.07s)
Fetching https://github.com/apple/swift-nio.git
[39824/39972] Fetching swift-service-lifecycle, swift-nio-transport-services, async-http-client, swift-nio-extras, swift-nio-ssl
[39973/116311] Fetching swift-service-lifecycle, swift-nio-transport-services, async-http-client, swift-nio-extras, swift-nio-ssl, swift-nio
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (4.24s)
[47471/113885] Fetching swift-nio-transport-services, async-http-client, swift-nio-extras, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (4.24s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (4.24s)
Fetched https://github.com/swift-server/async-http-client.git from cache (4.25s)
[25578/91229] Fetching swift-nio-ssl, swift-nio
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.30s)
[13742/76339] Fetching swift-nio
Fetching https://github.com/apple/swift-collections.git
[27484/81332] Fetching swift-nio, swift-distributed-tracing
[27784/82236] Fetching swift-nio, swift-distributed-tracing, swift-http-types
[29512/86072] Fetching swift-nio, swift-distributed-tracing, swift-http-types, swift-log
[30718/88278] Fetching swift-nio, swift-distributed-tracing, swift-http-types, swift-log, swift-metrics
[32824/104918] Fetching swift-nio, swift-distributed-tracing, swift-http-types, swift-log, swift-metrics, swift-collections
Fetched https://github.com/apple/swift-metrics.git from cache (0.83s)
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-log.git from cache (0.84s)
[42150/98876] Fetching swift-nio, swift-distributed-tracing, swift-http-types, swift-collections
Fetching https://github.com/apple/swift-async-algorithms.git
Fetched https://github.com/apple/swift-http-types.git from cache (0.92s)
[42938/97972] Fetching swift-nio, swift-distributed-tracing, swift-collections
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.94s)
[39042/92979] Fetching swift-nio, swift-collections
[46911/94776] Fetching swift-nio, swift-collections, swift-atomics
[47765/99761] Fetching swift-nio, swift-collections, swift-atomics, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.96s)
[56019/94776] Fetching swift-nio, swift-collections, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (1.05s)
[55220/92979] Fetching swift-nio, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.75s)
[52674/76339] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (7.61s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (13.33s)
Fetching https://github.com/apple/swift-system.git
[1/4436] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.44s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (1.11s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.77s)
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.38s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.61s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.75s)
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.64s)
Fetching https://github.com/apple/swift-service-context.git
[1/1081] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.23s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (0.83s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.90s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (0.77s)
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.65s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.28.0 (0.96s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
[1/5959] Fetching swift-algorithms
[121/7575] Fetching swift-algorithms, swift-asn1
[1299/13774] Fetching swift-algorithms, swift-asn1, swift-certificates
[4304/14943] Fetching swift-algorithms, swift-asn1, swift-certificates, swift-http-structured-headers
Fetched https://github.com/apple/swift-algorithms.git from cache (0.68s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.79s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.80s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.79s)
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.71s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.94s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (1.01s)
Fetching https://github.com/apple/swift-crypto.git
[1/15433] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.65s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (4.84s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.65s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.63s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.61s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.32.0 (1.45s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (0.58s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.98s)
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 (1.08s)
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-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.32.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-nio-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-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/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-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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Creating working copy for https://github.com/apple/swift-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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
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-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-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-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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Creating working copy for https://github.com/apple/swift-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-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-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.3.0
Building for debugging...
[0/502] Write sources
[45/502] Compiling CNIOWindows shim.c
[45/502] Compiling _NumericsShims _NumericsShims.c
[47/502] Compiling CNIOWindows WSAStartup.c
[47/502] Compiling _AtomicsShims.c
[49/502] Compiling CNIOWASI CNIOWASI.c
[50/502] Compiling CNIOLinux shim.c
[51/502] Compiling CNIOLinux liburing_shims.c
[51/502] Compiling CNIOLLHTTP c_nio_http.c
[53/502] Compiling CNIOExtrasZlib empty.c
[54/502] Compiling CNIODarwin shim.c
[55/502] Compiling fiat_curve25519_adx_square.S
[56/502] Compiling CNIOLLHTTP c_nio_api.c
[57/502] Compiling fiat_p256_adx_sqr.S
[58/502] Compiling fiat_p256_adx_mul.S
[59/502] Compiling fiat_curve25519_adx_mul.S
[60/502] Write swift-version-24593BA9C3E375BF.txt
[61/502] Compiling CNIOBoringSSLShims shims.c
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.
[62/506] Compiling tls13_client.cc
[62/506] 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 error generated.
[62/506] 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>
      |          ^~~~~~~~~~~
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>
      |          ^~~~~~~~~~~
[62/506] Compiling tls13_both.cc
[62/506] 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>
      |          ^~~~~~~~~~~
[62/506] Compiling tls_method.cc
[62/506] 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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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/440] Write sources
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:38: error: call to undeclared function 'strptime_l'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   37 |     const char * firstNonProcessed = strptime_l(string, format, result, (locale_t)locale);
      |                                      ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:38: note: did you mean 'strftime_l'?
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/time.h:93:8: note: 'strftime_l' declared here
   93 | size_t strftime_l (char *  __restrict, size_t, const char *  __restrict, const struct tm *  __restrict, locale_t);
      |        ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:18: error: incompatible integer to pointer conversion initializing 'const char *' with an expression of type 'int' [-Wint-conversion]
   37 |     const char * firstNonProcessed = strptime_l(string, format, result, (locale_t)locale);
      |                  ^                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[1/441] Compiling CAsyncHTTPClient CAsyncHTTPClient.c
[1/441] Compiling tls13_client.cc
[1/441] Compiling tls_record.cc
[1/441] Compiling tls13_both.cc
[1/441] Compiling CNIOLLHTTP c_nio_llhttp.c
[1/441] Compiling tls_method.cc
[1/441] Compiling tls13_enc.cc
[1/441] Compiling tls13_server.cc
BUILD FAILURE 6.1 wasm