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 1.0.0 (56851f), with Swift 6.1 for Wasm on 27 May 2025 08:40:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: 1.0.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/brokenhandsio/SteamPress
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 56851f4 Merge pull request #42 from brokenhandsio/readme-update
Cloned https://github.com/brokenhandsio/SteamPress.git
Revision (git rev-parse @):
56851f476abcb56c0ecf92dce1ce7e29044ac78a
SUCCESS checkout https://github.com/brokenhandsio/SteamPress.git at 1.0.0
========================================
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" : "3.0.0",
            "upper_bound" : "4.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" : "markdown",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor-community/markdown.git"
    },
    {
      "identity" : "auth",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/auth.git"
    }
  ],
  "manifest_display_name" : "SteamPress",
  "name" : "SteamPress",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "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/PlaintextHasher.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",
        "SwiftSoup",
        "SwiftMarkdown",
        "Authentication"
      ],
      "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/BCrypt+PasswordHasher.swift",
        "Extensions/BlogUser+Information.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/BlogAdminPresenter.swift",
        "Presenters/BlogPresenter.swift",
        "Presenters/ViewBlogAdminPresenter.swift",
        "Presenters/ViewBlogPresenter.swift",
        "Provider.swift",
        "Repositories/SteamPressRepository.swift",
        "Services/LongPostDateFormatter.swift",
        "Services/NumericPostFormatter.swift",
        "Services/RealRandomNumberGenerator.swift",
        "Services/SteamPressRandomNumberGenerator.swift",
        "SteamPressError.swift",
        "Views/PaginatorTag.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/scinfu/SwiftSoup.git
Fetching https://github.com/vapor/auth.git
Fetching https://github.com/vapor/vapor.git
[1/1048] Fetching auth
[1049/1294] Fetching auth, markdown
[1295/5202] Fetching auth, markdown, swiftsoup
[5203/79580] Fetching auth, markdown, swiftsoup, vapor
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.44s)
[3526/75672] Fetching auth, markdown, vapor
Fetched https://github.com/vapor/auth.git from cache (2.34s)
Fetched https://github.com/vapor-community/markdown.git from cache (2.35s)
Fetched https://github.com/vapor/vapor.git from cache (2.40s)
Computing version for https://github.com/vapor/auth.git
Computed https://github.com/vapor/auth.git at 2.0.4 (4.38s)
Fetching https://github.com/vapor/fluent-sqlite.git
Fetching https://github.com/vapor/service.git
Fetching https://github.com/vapor/fluent.git
Fetching https://github.com/vapor/http.git
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/crypto.git
[1/1347] Fetching fluent-sqlite
[1348/14768] Fetching fluent-sqlite, fluent
[1349/40235] Fetching fluent-sqlite, fluent, http
[1484/60378] Fetching fluent-sqlite, fluent, http, core
[35953/61297] Fetching fluent-sqlite, fluent, http, core, service
[43048/64083] Fetching fluent-sqlite, fluent, http, core, service, crypto
Fetched https://github.com/vapor/crypto.git from cache (0.76s)
[52632/61297] Fetching fluent-sqlite, fluent, http, core, service
Fetched https://github.com/vapor/fluent.git from cache (0.85s)
[42723/47876] Fetching fluent-sqlite, http, core, service
Fetched https://github.com/vapor/service.git from cache (1.19s)
Fetched https://github.com/vapor/fluent-sqlite.git from cache (1.25s)
Fetched https://github.com/vapor/core.git from cache (1.26s)
Fetched https://github.com/vapor/http.git from cache (1.26s)
Computing version for https://github.com/vapor/fluent-sqlite.git
Computed https://github.com/vapor/fluent-sqlite.git at 3.0.0 (2.39s)
Fetching https://github.com/vapor/sqlite.git
[1/2112] Fetching sqlite
Fetched https://github.com/vapor/sqlite.git from cache (0.55s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (1.04s)
Computing version for https://github.com/vapor/sqlite.git
Computed https://github.com/vapor/sqlite.git at 3.3.0 (0.54s)
Fetching https://github.com/vapor/database-kit.git
Fetching https://github.com/vapor/sql.git
[1/1181] Fetching database-kit
[1182/7164] Fetching database-kit, sql
Fetched https://github.com/vapor/database-kit.git from cache (1.80s)
Fetched https://github.com/vapor/sql.git from cache (1.82s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (3.06s)
Computing version for https://github.com/vapor-community/markdown.git
Computed https://github.com/vapor-community/markdown.git at 0.7.1 (1.01s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git
[1/12300] Fetching cmark-gfm
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (0.62s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (1.14s)
Computing version for https://github.com/vapor/sql.git
Computed https://github.com/vapor/sql.git at 2.3.2 (0.50s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.3.3 (0.55s)
Fetching https://github.com/vapor/routing.git
Fetching https://github.com/vapor/multipart.git
Fetching https://github.com/vapor/url-encoded-form.git
Fetching https://github.com/vapor/validation.git
Fetching https://github.com/vapor/websocket.git
Fetching https://github.com/vapor/template-kit.git
[1/1282] Fetching template-kit
[1232/4580] Fetching template-kit, multipart
[1844/25307] Fetching template-kit, multipart, routing
[4383/25886] Fetching template-kit, multipart, routing, validation
[5791/26267] Fetching template-kit, multipart, routing, validation, url-encoded-form
[7145/28876] Fetching template-kit, multipart, routing, validation, url-encoded-form, websocket
Fetched https://github.com/vapor/routing.git from cache (0.85s)
Fetching https://github.com/vapor/console.git
[6501/13726] Fetching template-kit, multipart, validation, url-encoded-form, websocket, console
Fetched https://github.com/vapor/console.git from cache (0.41s)
Fetched https://github.com/vapor/validation.git from cache (1.52s)
Fetched https://github.com/vapor/template-kit.git from cache (1.52s)
Fetched https://github.com/vapor/url-encoded-form.git from cache (1.52s)
Fetched https://github.com/vapor/websocket.git from cache (1.52s)
Fetched https://github.com/vapor/multipart.git from cache (1.57s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (4.00s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/14843] Fetching swift-nio-ssl
[1486/90886] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.82s)
[53231/76043] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.34s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (6.03s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.70s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.25s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (1.15s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.1.0 (0.54s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.2 (0.57s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.4.0 (0.54s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
[1/16] Fetching swift-nio-ssl-support
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.25s)
Computing version for https://github.com/apple/swift-nio-ssl-support.git
Computed https://github.com/apple/swift-nio-ssl-support.git at 1.0.0 (0.76s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.60s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.53s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 3.2.1 (0.56s)
Computing version for https://github.com/vapor/url-encoded-form.git
Computed https://github.com/vapor/url-encoded-form.git at 1.1.0 (0.71s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.5.0 (0.75s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.1.3 (1.85s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.73s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.8.7 (0.61s)
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.4.1
Creating working copy for https://github.com/vapor/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.1.0
Creating working copy for https://github.com/vapor/fluent.git
Working copy of https://github.com/vapor/fluent.git resolved at 3.2.1
Creating working copy for https://github.com/vapor/auth.git
Working copy of https://github.com/vapor/auth.git resolved at 2.0.4
Creating working copy for https://github.com/vapor/database-kit.git
Working copy of https://github.com/vapor/database-kit.git resolved at 1.3.3
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/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.8.7
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/vapor/websocket.git
Working copy of https://github.com/vapor/websocket.git resolved at 1.1.2
Creating working copy for https://github.com/vapor/template-kit.git
Working copy of https://github.com/vapor/template-kit.git resolved at 1.5.0
Creating working copy for https://github.com/vapor/fluent-sqlite.git
Working copy of https://github.com/vapor/fluent-sqlite.git resolved at 3.0.0
Creating working copy for https://github.com/vapor/sqlite.git
Working copy of https://github.com/vapor/sqlite.git resolved at 3.3.0
Creating working copy for https://github.com/vapor/validation.git
Working copy of https://github.com/vapor/validation.git resolved at 2.1.1
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
Creating working copy for https://github.com/vapor/url-encoded-form.git
Working copy of https://github.com/vapor/url-encoded-form.git resolved at 1.1.0
Creating working copy for https://github.com/vapor/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.1.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/vapor/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-nio-ssl-support.git
Working copy of https://github.com/apple/swift-nio-ssl-support.git resolved at 1.0.0
Creating working copy for https://github.com/vapor/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.1.3
Creating working copy for https://github.com/vapor/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.4.0
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.3.3
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 1.4.0
Creating working copy for https://github.com/vapor/sql.git
Working copy of https://github.com/vapor/sql.git resolved at 2.3.2
warning: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: couldn't find pc file for openssl
warning: couldn't find pc file for openssl
Building for debugging...
[0/81] Write sources
[3/81] Compiling cmark syntax_extension.c
[3/81] Compiling cmark table.c
[3/81] Compiling cmark strikethrough.c
[6/81] Compiling cmark tagfilter.c
[7/81] Compiling cmark tasklist.c
[8/81] Compiling cmark plugin.c
[8/81] Compiling cmark references.c
[10/81] Compiling cmark registry.c
[11/81] Compiling cmark render.c
[12/81] Compiling cmark map.c
[13/81] Compiling cmark plaintext.c
[14/81] Compiling cmark xml.c
[15/81] Write swift-version-24593BA9C3E375BF.txt
[16/81] Compiling cmark node.c
[16/81] Compiling cmark man.c
[18/81] Compiling cmark linked_list.c
[19/81] Compiling cmark latex.c
[20/81] Compiling cmark iterator.c
[21/81] Compiling cmark houdini_html_e.c
[22/81] Compiling cmark houdini_href_e.c
[23/81] Compiling cmark html.c
[24/81] Compiling cmark inlines.c
[25/81] Compiling cmark footnotes.c
[26/81] Compiling cmark core-extensions.c
[27/81] Compiling cmark houdini_html_u.c
[27/81] Compiling cmark ext_scanners.c
[29/81] Compiling cmark cmark_ctype.c
[30/125] Compiling cmark commonmark.c
[31/135] Compiling cmark buffer.c
[32/135] Write sources
[59/135] Compiling cmark cmark.c
[60/135] Compiling cmark arena.c
[61/135] Compiling CNIOZlib empty.c
[62/135] Compiling cmark autolink.c
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOSHA1/c_nio_sha1.c:47:10: fatal error: 'sys/cdefs.h' file not found
   47 | #include <sys/cdefs.h>
      |          ^~~~~~~~~~~~~
1 error generated.
[63/135] Compiling CNIOSHA1 c_nio_sha1.c
[63/135] Compiling cmark blocks.c
[63/135] Compiling cmark utf8.c
[63/135] Compiling cmark scanners.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[64/137] Emitting module COperatingSystem
/host/spi-builder-workspace/.build/checkouts/core/Sources/COperatingSystem/libc.swift:4:20: error: no such module 'Darwin.C'
2 | 	@_exported import Glibc
3 | #else
4 | 	@_exported import Darwin.C
  |                    `- error: no such module 'Darwin.C'
5 | #endif
6 |
[65/137] Compiling COperatingSystem libc.swift
/host/spi-builder-workspace/.build/checkouts/core/Sources/COperatingSystem/libc.swift:4:20: error: no such module 'Darwin.C'
2 | 	@_exported import Glibc
3 | #else
4 | 	@_exported import Darwin.C
  |                    `- error: no such module 'Darwin.C'
5 | #endif
6 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
warning: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: couldn't find pc file for openssl
warning: couldn't find pc file for openssl
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/shims.c:16:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h:17:10: fatal error: 'openssl/conf.h' file not found
   17 | #include <openssl/conf.h>
      |          ^~~~~~~~~~~~~~~~
1 error generated.
[0/19] Compiling CNIOOpenSSL shims.c
[0/19] Compiling CNIOLinux shim.c
[0/19] Compiling CNIOHTTPParser c_nio_http_parser.c
[0/19] Compiling CNIODarwin shim.c
[0/19] Compiling CNIOLinux ifaddrs-android.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/helpers.c:14:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h:17:10: fatal error: 'openssl/conf.h' file not found
   17 | #include <openssl/conf.h>
      |          ^~~~~~~~~~~~~~~~
[0/19] Compiling CNIOOpenSSL helpers.c
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOSHA1/c_nio_sha1.c:47:10: fatal error: 'sys/cdefs.h' file not found
   47 | #include <sys/cdefs.h>
      |          ^~~~~~~~~~~~~
[0/19] Compiling CNIOSHA1 c_nio_sha1.c
[0/19] Compiling c-atomics.c
BUILD FAILURE 6.1 wasm