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 SteamPress, reference 2.0.0-beta.4 (376f57), with Swift 6.1 for Wasm on 27 May 2025 08:41:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/brokenhandsio/SteamPress.git
Reference: 2.0.0-beta.4
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/brokenhandsio/SteamPress
 * tag               2.0.0-beta.4 -> FETCH_HEAD
HEAD is now at 376f57f Make applicaiton in steampress extension public to make it easy to build on
Cloned https://github.com/brokenhandsio/SteamPress.git
Revision (git rev-parse @):
376f57fe71b7a9014c6701ff8a6e5a5d0ef423bc
SUCCESS checkout https://github.com/brokenhandsio/SteamPress.git at 2.0.0-beta.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/brokenhandsio/SteamPress.git
https://github.com/brokenhandsio/SteamPress.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "vapor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0-rc",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/vapor.git"
    },
    {
      "identity" : "swiftsoup",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/scinfu/SwiftSoup.git"
    },
    {
      "identity" : "leaf-kit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0-rc.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/leaf-kit.git"
    },
    {
      "identity" : "markdown",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor-community/markdown.git"
    }
  ],
  "manifest_display_name" : "SteamPress",
  "name" : "SteamPress",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SteamPress",
      "targets" : [
        "SteamPress"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SteamPressTests",
      "module_type" : "SwiftTarget",
      "name" : "SteamPressTests",
      "path" : "Tests/SteamPressTests",
      "sources" : [
        "APITests/APITagControllerTests.swift",
        "AdminTests/AccessControlTests.swift",
        "AdminTests/AdminPageTests.swift",
        "AdminTests/AdminPostTests.swift",
        "AdminTests/AdminUserTests.swift",
        "AdminTests/LoginTests.swift",
        "BlogTests/AuthorTests.swift",
        "BlogTests/DisabledBlogTagTests.swift",
        "BlogTests/IndexTests.swift",
        "BlogTests/PostTests.swift",
        "BlogTests/SearchTests.swift",
        "BlogTests/TagTests.swift",
        "Fakes/CapturingViewRenderer.swift",
        "Fakes/PasswordHasherChoice.swift",
        "Fakes/Presenters/CapturingAdminPresenter.swift",
        "Fakes/Presenters/CapturingBlogPresenter.swift",
        "Fakes/ReversedPasswordHasher.swift",
        "Fakes/StubbedRandomNumberGenerator.swift",
        "Feed Tests/AtomFeedTests.swift",
        "Feed Tests/RSSFeedTests.swift",
        "Helpers/InMemoryRepository.swift",
        "Helpers/SteamPressTestError.swift",
        "Helpers/TestDataBuilder.swift",
        "Helpers/TestWorld+Application.swift",
        "Helpers/TestWorld+Responses.swift",
        "Helpers/TestWorld+TestDataBuilder.swift",
        "Helpers/TestWorld.swift",
        "Models/LoginData.swift",
        "ProviderTests.swift",
        "ViewTests/BlogAdminPresenterTests.swift",
        "ViewTests/BlogPresenterTests.swift",
        "ViewTests/BlogViewTests.swift"
      ],
      "target_dependencies" : [
        "SteamPress"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SteamPress",
      "module_type" : "SwiftTarget",
      "name" : "SteamPress",
      "path" : "Sources/SteamPress",
      "product_dependencies" : [
        "Vapor",
        "LeafKit",
        "SwiftSoup",
        "SwiftMarkdown"
      ],
      "product_memberships" : [
        "SteamPress"
      ],
      "sources" : [
        "BlogPathCreator.swift",
        "Config/BlogAdminPageInformation.swift",
        "Config/BlogGlobalPageInformation.swift",
        "Config/FeedInformation.swift",
        "Config/PaginationInformation.swift",
        "Controllers/API/APIController.swift",
        "Controllers/API/APITagController.swift",
        "Controllers/Admin/LoginController.swift",
        "Controllers/Admin/PostAdminController.swift",
        "Controllers/Admin/UserAdminController.swift",
        "Controllers/BlogAdminController.swift",
        "Controllers/BlogController.swift",
        "Controllers/FeedController.swift",
        "Extensions/BlogUser+Information.swift",
        "Extensions/Models+Parameters.swift",
        "Extensions/Request+PageInformation.swift",
        "Extensions/Request+PaginationInformation.swift",
        "Extensions/String+Optional+Whitespace.swift",
        "Extensions/String+Random.swift",
        "Extensions/URL+Converters.swift",
        "Feed Generators/AtomFeedGenerator.swift",
        "Feed Generators/RSSFeedGenerator.swift",
        "Middleware/BlogAuthSessionsMiddleware.swift",
        "Middleware/BlogLoginRedirectAuthMiddleware.swift",
        "Middleware/BlogRememberMeMiddleware.swift",
        "Models/BlogPost.swift",
        "Models/BlogTag.swift",
        "Models/BlogUser.swift",
        "Models/Contexts/Admin/AdminPageContext.swift",
        "Models/Contexts/Admin/CreatePostPageContext.swift",
        "Models/Contexts/Admin/CreateUserPageContext.swift",
        "Models/Contexts/Admin/ResetPasswordPageContext.swift",
        "Models/Contexts/AllAuthorsPageContext.swift",
        "Models/Contexts/AllTagsPageContext.swift",
        "Models/Contexts/AuthorPageContext.swift",
        "Models/Contexts/BlogIndexPageContext.swift",
        "Models/Contexts/BlogPostPageContext.swift",
        "Models/Contexts/ContextViews/BlogTagWithPostCount.swift",
        "Models/Contexts/ContextViews/ViewBlogAuthor.swift",
        "Models/Contexts/ContextViews/ViewBlogPost.swift",
        "Models/Contexts/ContextViews/ViewBlogTag.swift",
        "Models/Contexts/LoginPageContext.swift",
        "Models/Contexts/PaginationTagInformation.swift",
        "Models/Contexts/SearchPageContext.swift",
        "Models/Contexts/TagPageContext.swift",
        "Models/Errors/CreatePostErrors.swift",
        "Models/Errors/CreateUserErrors.swift",
        "Models/FormData/CreatePostData.swift",
        "Models/FormData/CreateUserData.swift",
        "Models/FormData/LoginData.swift",
        "Models/FormData/ResetPasswordData.swift",
        "Presenters/Application+SteamPress+BlogAdminPresenter.swift",
        "Presenters/Application+SteamPress+BlogPresenter.swift",
        "Presenters/BlogAdminPresenter.swift",
        "Presenters/BlogPresenter.swift",
        "Presenters/ViewBlogAdminPresenter.swift",
        "Presenters/ViewBlogPresenter.swift",
        "Repositories/Application+SteamPress+Repositories.swift",
        "Repositories/Request+Repositories.swift",
        "Repositories/SteamPressRepository.swift",
        "Services/LongPostDateFormatter.swift",
        "Services/NumericPostFormatter.swift",
        "Services/RealRandomNumberGenerator.swift",
        "Services/SteamPressRandomNumberGenerator.swift",
        "SteamPress+Application.swift",
        "SteamPressError.swift",
        "SteamPressRoutesLifecycleHandler.swift",
        "Views/PaginatorTag.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/vapor-community/markdown.git
Fetching https://github.com/vapor/leaf-kit.git
Fetching https://github.com/scinfu/SwiftSoup.git
Fetching https://github.com/vapor/vapor.git
[1/246] Fetching markdown
[247/4154] Fetching markdown, swiftsoup
[1342/9092] Fetching markdown, swiftsoup, leaf-kit
[6280/83470] Fetching markdown, swiftsoup, leaf-kit, vapor
Fetched https://github.com/vapor-community/markdown.git from cache (2.23s)
Fetched https://github.com/vapor/leaf-kit.git from cache (2.23s)
Fetched https://github.com/scinfu/SwiftSoup.git from cache (2.23s)
Fetched https://github.com/vapor/vapor.git from cache (2.28s)
Computing version for https://github.com/vapor-community/markdown.git
Computed https://github.com/vapor-community/markdown.git at 0.7.1 (2.96s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git
[1/12300] Fetching cmark-gfm
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (1.06s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (1.61s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.8.7 (0.51s)
Computing version for https://github.com/vapor/leaf-kit.git
Computed https://github.com/vapor/leaf-kit.git at 1.13.1 (0.47s)
Fetching https://github.com/apple/swift-nio.git
[1/76043] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.50s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (6.50s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1710] Fetching swift-atomics
[634/6101] Fetching swift-atomics, swift-system
[4095/22692] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.60s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.60s)
[2821/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.58s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (2.21s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.73s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.07s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.115.0 (0.90s)
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/vapor/websocket-kit.git
[1/1063] Fetching swift-service-context
[576/4361] Fetching swift-service-context, multipart-kit
[1658/6567] Fetching swift-service-context, multipart-kit, swift-metrics
[2055/12526] Fetching swift-service-context, multipart-kit, swift-metrics, swift-algorithms
[2583/15135] Fetching swift-service-context, multipart-kit, swift-metrics, swift-algorithms, websocket-kit
[2636/20109] Fetching swift-service-context, multipart-kit, swift-metrics, swift-algorithms, websocket-kit, swift-distributed-tracing
Fetched https://github.com/vapor/websocket-kit.git from cache (0.38s)
[13099/17500] Fetching swift-service-context, multipart-kit, swift-metrics, swift-algorithms, swift-distributed-tracing
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-metrics.git from cache (0.40s)
[13586/15294] Fetching swift-service-context, multipart-kit, swift-algorithms, swift-distributed-tracing
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-service-context.git from cache (0.54s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.54s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-http2.git
[6624/12108] Fetching multipart-kit, swift-distributed-tracing, swift-log
[6701/18022] Fetching multipart-kit, swift-distributed-tracing, swift-log, swift-nio-extras
[16374/29549] Fetching multipart-kit, swift-distributed-tracing, swift-log, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-log.git from cache (0.47s)
[13229/25713] Fetching multipart-kit, swift-distributed-tracing, swift-nio-extras, swift-nio-http2
Fetching https://github.com/vapor/routing-kit.git
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.48s)
[8353/19799] Fetching multipart-kit, swift-distributed-tracing, swift-nio-http2
Fetching https://github.com/apple/swift-crypto.git
[8584/34642] Fetching multipart-kit, swift-distributed-tracing, swift-nio-http2, swift-nio-ssl
[13595/55369] Fetching multipart-kit, swift-distributed-tracing, swift-nio-http2, swift-nio-ssl, routing-kit
[26085/69305] Fetching multipart-kit, swift-distributed-tracing, swift-nio-http2, swift-nio-ssl, routing-kit, swift-crypto
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.96s)
[50578/64331] Fetching multipart-kit, swift-nio-http2, swift-nio-ssl, routing-kit, swift-crypto
Fetching https://github.com/vapor/console-kit.git
Fetched https://github.com/vapor/multipart-kit.git from cache (2.01s)
Fetching https://github.com/vapor/async-kit.git
[47865/61033] Fetching swift-nio-http2, swift-nio-ssl, routing-kit, swift-crypto
Fetched https://github.com/vapor/routing-kit.git from cache (1.21s)
[31221/40306] Fetching swift-nio-http2, swift-nio-ssl, swift-crypto
Fetching https://github.com/swift-server/async-http-client.git
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.54s)
[20279/28779] Fetching swift-nio-ssl, swift-crypto
[21255/34356] Fetching swift-nio-ssl, swift-crypto, console-kit
[23235/36726] Fetching swift-nio-ssl, swift-crypto, console-kit, async-kit
Fetched https://github.com/vapor/async-kit.git from cache (0.37s)
[30733/34356] Fetching swift-nio-ssl, swift-crypto, console-kit
Fetched https://github.com/vapor/console-kit.git from cache (0.43s)
[25295/28779] Fetching swift-nio-ssl, swift-crypto
[28780/42793] Fetching swift-nio-ssl, swift-crypto, async-http-client
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.43s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.21s)
Fetched https://github.com/swift-server/async-http-client.git from cache (1.11s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.0 (3.78s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.2 (0.50s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.48s)
Fetching https://github.com/apple/swift-numerics.git
[1/5691] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.36s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.06s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (0.50s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2667] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.29s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.0 (0.77s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.51s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.60s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.27.1 (0.87s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/904] Fetching swift-http-types
[905/2494] Fetching swift-http-types, swift-asn1
Fetched https://github.com/apple/swift-http-types.git from cache (1.25s)
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/4985] Fetching swift-async-algorithms
[600/11140] Fetching swift-async-algorithms, swift-certificates
[4857/13566] Fetching swift-async-algorithms, swift-certificates, swift-service-lifecycle
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.51s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.54s)
Fetched https://github.com/apple/swift-asn1.git from cache (1.64s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.64s)
[1/1141] Fetching swift-http-structured-headers
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.53s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (2.35s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.77s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (0.68s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (3.95s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (3.58s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (2.00s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (2.88s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (1.72s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.57s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.20.0 (0.58s)
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.47s)
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.53s)
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.54s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.65s)
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-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-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-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/multipart-kit.git
Working copy of https://github.com/vapor/multipart-kit.git resolved at 4.7.1
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.15.2
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.8.7
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.20.0
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-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.2.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/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/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.9.2
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.115.0
Creating working copy for https://github.com/vapor/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.16.1
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/vapor-community/markdown.git
Working copy of https://github.com/vapor-community/markdown.git resolved at 0.7.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/brokenhandsio/cmark-gfm.git
Working copy of https://github.com/brokenhandsio/cmark-gfm.git resolved at 2.1.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-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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/vapor/leaf-kit.git
Working copy of https://github.com/vapor/leaf-kit.git resolved at 1.13.1
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.27.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/868] Write sources
[4/868] Compiling cmark man.c
[5/868] Compiling cmark xml.c
[6/868] Compiling cmark tasklist.c
[7/868] Compiling cmark tagfilter.c
[8/868] Compiling cmark strikethrough.c
[9/868] Compiling cmark table.c
[10/868] Compiling cmark registry.c
[10/868] Compiling cmark references.c
[12/868] Compiling cmark render.c
[13/868] Compiling cmark plugin.c
[14/868] Compiling cmark plaintext.c
[15/868] Write swift-version-24593BA9C3E375BF.txt
[16/868] Compiling cmark syntax_extension.c
[17/868] Compiling cmark linked_list.c
[18/868] Compiling cmark map.c
[19/868] Compiling cmark iterator.c
[20/868] Compiling cmark node.c
[21/868] Compiling cmark latex.c
[22/868] Compiling cmark html.c
[23/868] Compiling cmark houdini_html_e.c
[24/868] Compiling cmark houdini_href_e.c
[25/868] Compiling cmark footnotes.c
[26/868] Compiling cmark core-extensions.c
[27/868] Compiling cmark houdini_html_u.c
[28/877] Compiling cmark inlines.c
[29/896] Compiling cmark cmark_ctype.c
[30/922] Compiling cmark commonmark.c
[31/922] Compiling cmark ext_scanners.c
[32/922] Compiling cmark cmark.c
[33/922] Write sources
[33/922] Compiling cmark arena.c
[34/922] Write sources
[39/922] Compiling cmark buffer.c
[40/922] Compiling _NumericsShims _NumericsShims.c
[41/922] Compiling cmark autolink.c
[42/922] Write sources
[46/922] Compiling _AtomicsShims.c
[46/922] Write sources
[77/922] Compiling cmark blocks.c
[79/946] Emitting module ServiceContextModule
[80/946] Emitting module Logging
[80/946] Compiling cmark scanners.c
[81/960] Compiling cmark utf8.c
[82/960] Write sources
[84/960] Emitting module InternalCollectionsUtilities
[85/963] Compiling Logging Locks.swift
[86/963] Compiling RealModule Real.swift
[87/964] Compiling _NIODataStructures PriorityQueue.swift
[88/964] Compiling _NIODataStructures _TinyArray.swift
[89/964] Compiling ServiceContextModule ServiceContext.swift
[90/964] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[91/964] Compiling ServiceContextModule ServiceContextKey.swift
[92/965] Compiling RealModule ElementaryFunctions.swift
[93/965] Compiling RealModule Float16+Real.swift
[94/965] Compiling RealModule Float80+Real.swift
[95/965] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[96/965] Compiling InternalCollectionsUtilities UInt+reversed.swift
[97/965] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[98/965] Compiling InternalCollectionsUtilities Integer rank.swift
[100/965] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[101/965] Compiling InternalCollectionsUtilities Debugging.swift
[102/965] Compiling InternalCollectionsUtilities Descriptions.swift
[103/965] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[104/965] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[105/965] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[106/965] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[107/965] Compiling InternalCollectionsUtilities _SortedCollection.swift
[110/965] Emitting module RealModule
[110/965] Write sources
[111/965] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[117/965] Emitting module _NIOBase64
[118/965] Compiling _NIOBase64 Base64.swift
[119/965] Compiling SwiftMarkdown SwiftMarkdown.swift
[120/965] Emitting module SwiftMarkdown
[123/968] Compiling RealModule RealFunctions.swift
[124/968] Compiling RealModule Float+Real.swift
[124/969] Compiling CVaporBcrypt blf.c
[128/969] Compiling CSystem shims.c
[129/969] Compiling CVaporBcrypt bcrypt.c
[132/974] Compiling Logging MetadataProvider.swift
[133/978] Emitting module _NIODataStructures
[134/978] Compiling _NIODataStructures Heap.swift
[135/979] Compiling Logging LogHandler.swift
[136/979] Compiling Logging Logging.swift
[138/1022] Compiling Instrumentation Instrument.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[139/1022] Emitting module Instrumentation
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:38:8: error: Unsupported runtime
 36 | import Musl
 37 | #else
 38 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 39 | #endif
 40 |
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:48:46: error: cannot find type 'pthread_rwlock_t' in scope
 46 | @_spi(Locking)  // Use the `package` access modifier once min Swift version is increased.
 47 | public final class ReadWriteLock {
 48 |     private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                              `- error: cannot find type 'pthread_rwlock_t' in scope
 49 |
 50 |     /// Create a new lock.
[140/1108] Compiling Instrumentation MultiplexInstrument.swift
[141/1112] Compiling Instrumentation NoOpInstrument.swift
[142/1131] Compiling Instrumentation Locks.swift
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:38:8: error: Unsupported runtime
 36 | import Musl
 37 | #else
 38 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 39 | #endif
 40 |
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:48:46: error: cannot find type 'pthread_rwlock_t' in scope
 46 | @_spi(Locking)  // Use the `package` access modifier once min Swift version is increased.
 47 | public final class ReadWriteLock {
 48 |     private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                              `- error: cannot find type 'pthread_rwlock_t' in scope
 49 |
 50 |     /// Create a new lock.
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:52:19: error: cannot find 'pthread_rwlock_init' in scope
 50 |     /// Create a new lock.
 51 |     public init() {
 52 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                   `- error: cannot find 'pthread_rwlock_init' in scope
 53 |         precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
 54 |     }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:52:52: error: 'nil' requires a contextual type
 50 |     /// Create a new lock.
 51 |     public init() {
 52 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                                                    `- error: 'nil' requires a contextual type
 53 |         precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
 54 |     }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:57:19: error: cannot find 'pthread_rwlock_destroy' in scope
 55 |
 56 |     deinit {
 57 |         let err = pthread_rwlock_destroy(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_destroy' in scope
 58 |         precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
 59 |         self.rwlock.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:67:19: error: cannot find 'pthread_rwlock_rdlock' in scope
 65 |     /// `unlock`, to simplify lock handling.
 66 |     public func lockRead() {
 67 |         let err = pthread_rwlock_rdlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_rdlock' in scope
 68 |         precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
 69 |     }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:76:19: error: cannot find 'pthread_rwlock_wrlock' in scope
 74 |     /// `unlock`, to simplify lock handling.
 75 |     public func lockWrite() {
 76 |         let err = pthread_rwlock_wrlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_wrlock' in scope
 77 |         precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
 78 |     }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:85:19: error: cannot find 'pthread_rwlock_unlock' in scope
 83 |     /// `lock`, to simplify lock handling.
 84 |     public func unlock() {
 85 |         let err = pthread_rwlock_unlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_unlock' in scope
 86 |         precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
 87 |     }
[144/1131] Compiling Instrumentation InstrumentationSystem.swift
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:48:46: error: cannot find type 'pthread_rwlock_t' in scope
 46 | @_spi(Locking)  // Use the `package` access modifier once min Swift version is increased.
 47 | public final class ReadWriteLock {
 48 |     private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                              `- error: cannot find type 'pthread_rwlock_t' in scope
 49 |
 50 |     /// Create a new lock.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
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/780] Compiling md5-x86_64-linux.S
[1/780] Compiling fiat_curve25519_adx_square.S
[2/780] Compiling md5-x86_64-apple.S
[2/780] Compiling fiat_curve25519_adx_mul.S
[4/780] Compiling md5-586-linux.S
[5/780] Compiling fiat_p256_adx_sqr.S
[6/780] Compiling fiat_p256_adx_mul.S
[7/780] Compiling CNIOWASI CNIOWASI.c
[7/780] Compiling CNIOWindows shim.c
[9/780] Compiling CNIOWindows WSAStartup.c
[10/780] Compiling CNIOLinux shim.c
[11/780] Compiling CNIOLinux liburing_shims.c
[12/780] Compiling CNIOExtrasZlib empty.c
[12/780] Compiling CNIODarwin shim.c
[14/780] Compiling CNIOSHA1 c_nio_sha1.c
[15/780] Compiling CNIOLLHTTP c_nio_http.c
[16/780] Compiling fiat_p256_adx_sqr.S
[17/780] Compiling CNIOLLHTTP c_nio_api.c
[18/780] Compiling fiat_p256_adx_mul.S
[19/780] Compiling fiat_curve25519_adx_square.S
[20/780] Compiling fiat_curve25519_adx_mul.S
[21/780] Write swift-version-24593BA9C3E375BF.txt
[22/780] Compiling CCryptoBoringSSLShims shims.c
[23/780] Compiling CNIOBoringSSLShims shims.c
[25/786] 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.
[25/786] Compiling tls13_server.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.
[25/786] Compiling tls_record.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_enc.cc:34:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[25/786] 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>
      |          ^~~~~~~~~~~
[25/786] Compiling tls13_client.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>
      |          ^~~~~~~~~~~
[25/786] Compiling tls_method.cc
[25/786] Compiling CNIOLLHTTP c_nio_llhttp.c
[26/786] Compiling _NIODataStructures PriorityQueue.swift
BUILD FAILURE 6.1 wasm