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 SharingRemoteConfig, reference 0.0.3 (1a5a41), with Swift 6.1 for Wasm on 4 Jun 2025 13:43:04 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/zunda-pixel/sharing-remoteconfig.git
Reference: 0.0.3
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/zunda-pixel/sharing-remoteconfig
 * tag               0.0.3      -> FETCH_HEAD
HEAD is now at 1a5a415 Create release.yml (#14)
Cloned https://github.com/zunda-pixel/sharing-remoteconfig.git
Revision (git rev-parse @):
1a5a415cd089bb6032d94168640be375a5ddec1c
SUCCESS checkout https://github.com/zunda-pixel/sharing-remoteconfig.git at 0.0.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/zunda-pixel/sharing-remoteconfig.git
https://github.com/zunda-pixel/sharing-remoteconfig.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "firebase-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.6",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/zunda-pixel/firebase-swift"
    },
    {
      "identity" : "swift-sharing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.4.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-sharing"
    }
  ],
  "manifest_display_name" : "SharingRemoteConfig",
  "name" : "SharingRemoteConfig",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "18.0"
    }
  ],
  "products" : [
    {
      "name" : "SharingRemoteConfig",
      "targets" : [
        "SharingRemoteConfig"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SharingRemoteConfig",
      "module_type" : "SwiftTarget",
      "name" : "SharingRemoteConfig",
      "path" : "Sources/SharingRemoteConfig",
      "product_dependencies" : [
        "RemoteConfig",
        "Sharing"
      ],
      "product_memberships" : [
        "SharingRemoteConfig"
      ],
      "sources" : [
        "SharingRemoteConfig.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/zunda-pixel/firebase-swift
Fetching https://github.com/pointfreeco/swift-sharing
[1/3256] Fetching swift-sharing
[2802/4427] Fetching swift-sharing, firebase-swift
Fetched https://github.com/zunda-pixel/firebase-swift from cache (0.26s)
Fetched https://github.com/pointfreeco/swift-sharing from cache (0.26s)
Computing version for https://github.com/zunda-pixel/firebase-swift
Computed https://github.com/zunda-pixel/firebase-swift at 1.0.7 (0.70s)
Fetching https://github.com/zunda-pixel/http-client
Fetching https://github.com/apple/swift-http-types
[1/121] Fetching http-client
[122/1025] Fetching http-client, swift-http-types
Fetched https://github.com/zunda-pixel/http-client from cache (0.27s)
Fetched https://github.com/apple/swift-http-types from cache (0.27s)
Computing version for https://github.com/zunda-pixel/http-client
Computed https://github.com/zunda-pixel/http-client at 0.3.1 (0.88s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.4.0 (0.66s)
Computing version for https://github.com/pointfreeco/swift-sharing
Computed https://github.com/pointfreeco/swift-sharing at 2.5.2 (0.58s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/pointfreeco/swift-identified-collections
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/swift-perception
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-dependencies
[1/4581] Fetching swift-custom-dump
[4262/5433] Fetching swift-custom-dump, swift-concurrency-extras
[5434/6844] Fetching swift-custom-dump, swift-concurrency-extras, swift-perception
[6845/8378] Fetching swift-custom-dump, swift-concurrency-extras, swift-perception, swift-identified-collections
[6984/13836] Fetching swift-custom-dump, swift-concurrency-extras, swift-perception, swift-identified-collections, xctest-dynamic-overlay
[10938/20085] Fetching swift-custom-dump, swift-concurrency-extras, swift-perception, swift-identified-collections, xctest-dynamic-overlay, swift-dependencies
Fetched https://github.com/pointfreeco/swift-identified-collections from cache (0.47s)
[16267/18551] Fetching swift-custom-dump, swift-concurrency-extras, swift-perception, xctest-dynamic-overlay, swift-dependencies
Fetching https://github.com/pointfreeco/combine-schedulers
Fetched https://github.com/pointfreeco/swift-dependencies from cache (0.58s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.69s)
Fetched https://github.com/pointfreeco/swift-perception from cache (0.69s)
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.69s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.70s)
[1/2410] Fetching combine-schedulers
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.33s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.1 (1.24s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.43s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.0.3 (0.43s)
Computing version for https://github.com/pointfreeco/swift-perception
Computed https://github.com/pointfreeco/swift-perception at 1.6.0 (0.46s)
Fetching https://github.com/swiftlang/swift-syntax
[1/70735] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (4.38s)
Computing version for https://github.com/pointfreeco/swift-identified-collections
Computed https://github.com/pointfreeco/swift-identified-collections at 1.1.1 (4.95s)
Fetching https://github.com/apple/swift-collections
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (1.08s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (1.52s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.0 (0.59s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.9.2 (0.48s)
Fetching https://github.com/pointfreeco/swift-clocks
[1/1292] Fetching swift-clocks
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.26s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (0.71s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (2.01s)
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.0.3
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/zunda-pixel/firebase-swift
Working copy of https://github.com/zunda-pixel/firebase-swift resolved at 1.0.7
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.4.0
Creating working copy for https://github.com/pointfreeco/swift-identified-collections
Working copy of https://github.com/pointfreeco/swift-identified-collections resolved at 1.1.1
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.9.2
Creating working copy for https://github.com/zunda-pixel/http-client
Working copy of https://github.com/zunda-pixel/http-client resolved at 0.3.1
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.2.0
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Creating working copy for https://github.com/pointfreeco/swift-sharing
Working copy of https://github.com/pointfreeco/swift-sharing resolved at 2.5.2
Creating working copy for https://github.com/pointfreeco/swift-perception
Working copy of https://github.com/pointfreeco/swift-perception resolved at 1.6.0
Building for debugging...
[0/21] Copying PrivacyInfo.xcprivacy
[0/21] Write sources
[20/21] Write swift-version-24593BA9C3E375BF.txt
[22/77] Emitting module IssueReporting
[23/79] Compiling HTTPTypes ISOLatin1String.swift
[24/80] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[25/81] Compiling IssueReporting IsTesting.swift
[26/81] Compiling IssueReporting IssueReporter.swift
[27/81] Compiling IssueReporting TestContext.swift
[28/81] Compiling IssueReporting Unimplemented.swift
[29/81] Compiling IssueReporting WithExpectedIssue.swift
[30/81] Compiling IssueReporting WithIssueContext.swift
[31/81] Compiling HTTPTypes HTTPResponse.swift
[32/81] Emitting module InternalCollectionsUtilities
[33/81] Compiling IssueReporting XCTest.swift
[36/81] Compiling IssueReporting Warn.swift
[38/81] Emitting module HTTPTypes
[39/81] Compiling HTTPTypes HTTPField.swift
[40/81] Compiling HTTPTypes HTTPRequest.swift
[41/81] Emitting module Sharing2
[42/81] Compiling Sharing2 Empty.swift
[43/81] Compiling IssueReporting ErrorReporting.swift
[44/81] Compiling IssueReporting AppHostWarning.swift
[45/81] Compiling ConcurrencyExtras Locking.swift
[46/81] Compiling ConcurrencyExtras UncheckedBox.swift
[47/81] Compiling ConcurrencyExtras AsyncStream.swift
[48/81] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[49/82] Compiling ConcurrencyExtras MainSerialExecutor.swift
[50/83] Compiling HTTPTypes HTTPParsedFields.swift
[51/83] Emitting module ConcurrencyExtras
[52/83] Compiling Sharing1 Empty.swift
[53/83] Emitting module Sharing1
[54/84] Compiling IssueReporting SwiftTesting.swift
[55/84] Compiling IssueReporting UncheckedSendable.swift
[58/84] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[59/85] Compiling ConcurrencyExtras UncheckedSendable.swift
[61/140] Compiling HTTPTypes NIOLock.swift
[62/140] Compiling HTTPTypes HTTPFieldName.swift
[63/140] Compiling HTTPTypes HTTPFields.swift
[64/141] Compiling OrderedCollections _HashTable+Bucket.swift
[65/141] Compiling OrderedCollections _HashTable+BucketIterator.swift
[66/141] Compiling OrderedCollections _HashTable+Constants.swift
[67/141] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[68/141] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[69/141] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[70/141] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[71/141] Compiling OrderedCollections OrderedDictionary+Elements.swift
[72/141] Compiling OrderedCollections OrderedSet+Initializers.swift
[73/141] Compiling OrderedCollections OrderedSet+Insertions.swift
[74/141] Compiling OrderedCollections OrderedSet+Invariants.swift
[75/141] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[76/141] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[77/141] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[78/141] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[79/141] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[80/148] Compiling ConcurrencyExtras Result.swift
[81/148] Compiling ConcurrencyExtras Task.swift
[82/148] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[83/148] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[84/148] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[85/148] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[86/148] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[87/148] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[88/148] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[89/148] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[90/148] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[91/148] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[92/148] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[93/148] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[94/148] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[95/148] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[96/148] Compiling OrderedCollections OrderedDictionary.swift
[97/148] Compiling OrderedCollections OrderedSet+Codable.swift
[98/148] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[99/148] Compiling OrderedCollections OrderedSet+Descriptions.swift
[100/148] Compiling OrderedCollections OrderedSet+Diffing.swift
[101/148] Compiling OrderedCollections OrderedSet+Equatable.swift
[102/148] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[103/148] Compiling OrderedCollections OrderedSet+Hashable.swift
[105/148] Compiling OrderedCollections _HashTable+Testing.swift
[106/148] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[107/148] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[108/148] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[109/148] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[110/148] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[111/148] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[112/148] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[113/148] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[114/148] Compiling OrderedCollections OrderedDictionary+Values.swift
[118/148] Compiling OrderedCollections _HashTable.swift
[119/148] Compiling OrderedCollections _Hashtable+Header.swift
[120/148] Compiling OrderedCollections OrderedDictionary+Codable.swift
[121/148] Compiling ConcurrencyExtras LockIsolated.swift
[133/150] Emitting module OrderedCollections
[135/150] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[136/150] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[137/150] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[144/172] Compiling XCTestDynamicOverlay Exports.swift
[145/192] Compiling Clocks SwiftUI.swift
[146/193] Emitting module XCTestDynamicOverlay
[147/193] Compiling XCTestDynamicOverlay Deprecations.swift
[148/194] Compiling Clocks Lock.swift
[150/194] Compiling CombineSchedulers UIKit.swift
[151/194] Compiling Clocks ImmediateClock.swift
[152/195] Compiling CombineSchedulers SwiftUI.swift
[153/195] Compiling CombineSchedulers TestScheduler.swift
[154/195] Compiling CombineSchedulers Timer.swift
[155/195] Compiling CombineSchedulers UIScheduler.swift
[156/195] Compiling Clocks AnyClock.swift
[157/195] Emitting module Clocks
[158/195] Compiling Clocks Timer.swift
[159/195] Compiling CombineSchedulers Lock.swift
[160/195] Compiling CombineSchedulers NSRecursiveLock.swift
[161/195] Compiling CombineSchedulers ImmediateScheduler.swift
[162/195] Compiling CombineSchedulers Deprecations.swift
[163/195] Compiling CombineSchedulers AnyScheduler.swift
[164/195] Compiling CombineSchedulers Concurrency.swift
[165/195] Emitting module CombineSchedulers
[166/195] Compiling OrderedCollections OrderedSet+Sendable.swift
[167/195] Compiling OrderedCollections OrderedSet+SubSequence.swift
[168/195] Compiling OrderedCollections OrderedSet+Testing.swift
[169/195] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[170/195] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[171/195] Compiling OrderedCollections OrderedSet.swift
[172/195] Compiling OrderedCollections _UnsafeBitset.swift
[173/196] Compiling CombineSchedulers UnimplementedScheduler.swift
[176/224] Compiling Clocks TestClock.swift
[177/224] Compiling Clocks _AsyncTimerSequence.swift
[178/224] Compiling Clocks UnimplementedClock.swift
[180/243] Compiling IdentifiedCollections IdentifiedArray+CustomDebugStringConvertible.swift
[181/243] Compiling IdentifiedCollections IdentifiedArray+CustomReflectable.swift
[182/243] Compiling IdentifiedCollections IdentifiedArray+CustomStringConvertible.swift
[183/243] Compiling IdentifiedCollections IdentifiedArray+Equatable.swift
[184/246] Compiling IdentifiedCollections Identified.swift
[185/246] Compiling IdentifiedCollections IdentifiedArray+Codable.swift
[186/246] Compiling IdentifiedCollections IdentifiedArray+Collection.swift
[187/246] Compiling IdentifiedCollections IdentifiedArray+CollectionAlgorithms.swift
[188/246] Compiling CustomDump ExpectNoDifference.swift
[189/246] Compiling CustomDump AnyType.swift
[190/246] Compiling CustomDump CollectionDifference.swift
[191/246] Compiling CustomDump Identifiable.swift
[192/246] Compiling CustomDump Mirror.swift
[193/246] Compiling CustomDump String.swift
[194/269] Compiling Dependencies Locale.swift
[195/269] Compiling Dependencies MainQueue.swift
[196/269] Compiling Dependencies MainRunLoop.swift
[197/271] Compiling Dependencies FireAndForget.swift
[198/271] Compiling Dependencies UUID.swift
[199/271] Compiling Dependencies Context.swift
[200/271] Compiling Dependencies Date.swift
[201/271] Compiling CustomDump Unordered.swift
[202/271] Compiling CustomDump XCTAssertDifference.swift
[203/271] Compiling CustomDump XCTAssertNoDifference.swift
[204/271] Compiling Dependencies OpenURL.swift
[205/271] Compiling Dependencies TimeZone.swift
[206/271] Compiling Dependencies URLSession.swift
[207/271] Compiling Dependencies Assert.swift
[208/271] Compiling Dependencies Calendar.swift
[209/271] Compiling Dependencies Clocks.swift
[210/271] Emitting module IdentifiedCollections
[213/272] Compiling Dependencies Dependency.swift
[214/272] Compiling Dependencies DependencyContext.swift
[215/272] Compiling Dependencies DependencyKey.swift
[216/272] Compiling Dependencies DependencyValues.swift
[217/272] Compiling PerceptionCore WithPerceptionTracking.swift
[218/272] Emitting module PerceptionCore
[219/272] Compiling PerceptionCore PerceptionRegistrar.swift
[225/275] Compiling PerceptionCore PerceptionTracking.swift
[226/275] Compiling IdentifiedCollections IdentifiedArray.swift
[227/275] Compiling IdentifiedCollections IdentifiedCollection.swift
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/Internal/AppEntryPoint.swift:3:11: error: cannot find type 'Thread' in scope
 1 | import Foundation
 2 |
 3 | extension Thread {
   |           `- error: cannot find type 'Thread' in scope
 4 |   static var isPreviewAppEntryPoint: Bool {
 5 |     guard ProcessInfo.processInfo.environment["XCODE_RUNNING_FOR_PREVIEWS"] == "1"
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/Internal/AppEntryPoint.swift:3:11: error: cannot find type 'Thread' in scope
 1 | import Foundation
 2 |
 3 | extension Thread {
   |           `- error: cannot find type 'Thread' in scope
 4 |   static var isPreviewAppEntryPoint: Bool {
 5 |     guard ProcessInfo.processInfo.environment["XCODE_RUNNING_FOR_PREVIEWS"] == "1"
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/Internal/AppEntryPoint.swift:3:11: error: cannot find type 'Thread' in scope
 1 | import Foundation
 2 |
 3 | extension Thread {
   |           `- error: cannot find type 'Thread' in scope
 4 |   static var isPreviewAppEntryPoint: Bool {
 5 |     guard ProcessInfo.processInfo.environment["XCODE_RUNNING_FOR_PREVIEWS"] == "1"
[237/276] Compiling Dependencies Deprecations.swift
[238/276] Compiling Dependencies Exports.swift
[239/276] Compiling Dependencies TypeName.swift
[247/277] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
 26 | #include <setjmp.h>
 27 | #endif
 28 | #include <signal.h>
    |          `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
 29 | #include <stddef.h>
 30 | #include <stdio.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "signal.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/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/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  1 | #ifndef _WASI_EMULATED_SIGNAL
  2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
    |  `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
 26 | #include <setjmp.h>
 27 | #endif
 28 | #include <signal.h>
    |          `- error: could not build module 'wasi_emulated_signal'
 29 | #include <stddef.h>
 30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
 84 | #undef _WASI_EMULATED_MMAN
 85 | #define _WASI_EMULATED_MMAN
 86 | #include <sys/mman.h>
    |          `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
 87 | #elif TARGET_OS_LINUX
 88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/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/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  1 | #ifndef _WASI_EMULATED_MMAN
  2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
    |  `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  4 | #else
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/HTTPRequest+URL.swift:19:8: error: could not build C module 'CoreFoundation'
 17 |
 18 | #if canImport(CoreFoundation)
 19 | import CoreFoundation
    |        `- error: could not build C module 'CoreFoundation'
 20 | #endif  // canImport(CoreFoundation)
 21 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[252/277] Emitting module HTTPTypesFoundation
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
 26 | #include <setjmp.h>
 27 | #endif
 28 | #include <signal.h>
    |          `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
 29 | #include <stddef.h>
 30 | #include <stdio.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "signal.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/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/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  1 | #ifndef _WASI_EMULATED_SIGNAL
  2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
    |  `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
 26 | #include <setjmp.h>
 27 | #endif
 28 | #include <signal.h>
    |          `- error: could not build module 'wasi_emulated_signal'
 29 | #include <stddef.h>
 30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
 84 | #undef _WASI_EMULATED_MMAN
 85 | #define _WASI_EMULATED_MMAN
 86 | #include <sys/mman.h>
    |          `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
 87 | #elif TARGET_OS_LINUX
 88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/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/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  1 | #ifndef _WASI_EMULATED_MMAN
  2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
    |  `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  4 | #else
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/HTTPRequest+URL.swift:19:8: error: could not build C module 'CoreFoundation'
 17 |
 18 | #if canImport(CoreFoundation)
 19 | import CoreFoundation
    |        `- error: could not build C module 'CoreFoundation'
 20 | #endif  // canImport(CoreFoundation)
 21 |
[253/277] Compiling HTTPTypesFoundation HTTPRequest+URL.swift
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
 26 | #include <setjmp.h>
 27 | #endif
 28 | #include <signal.h>
    |          `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
 29 | #include <stddef.h>
 30 | #include <stdio.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "signal.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/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/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  1 | #ifndef _WASI_EMULATED_SIGNAL
  2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
    |  `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
 26 | #include <setjmp.h>
 27 | #endif
 28 | #include <signal.h>
    |          `- error: could not build module 'wasi_emulated_signal'
 29 | #include <stddef.h>
 30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
 84 | #undef _WASI_EMULATED_MMAN
 85 | #define _WASI_EMULATED_MMAN
 86 | #include <sys/mman.h>
    |          `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
 87 | #elif TARGET_OS_LINUX
 88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/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/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  1 | #ifndef _WASI_EMULATED_MMAN
  2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
    |  `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  4 | #else
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/HTTPRequest+URL.swift:19:8: error: could not build C module 'CoreFoundation'
 17 |
 18 | #if canImport(CoreFoundation)
 19 | import CoreFoundation
    |        `- error: could not build C module 'CoreFoundation'
 20 | #endif  // canImport(CoreFoundation)
 21 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[254/277] Emitting module Dependencies
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/Internal/AppEntryPoint.swift:3:11: error: cannot find type 'Thread' in scope
 1 | import Foundation
 2 |
 3 | extension Thread {
   |           `- error: cannot find type 'Thread' in scope
 4 |   static var isPreviewAppEntryPoint: Bool {
 5 |     guard ProcessInfo.processInfo.environment["XCODE_RUNNING_FOR_PREVIEWS"] == "1"
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/DependencyValues.swift:285:33: error: cannot find 'Thread' in scope
283 |     set {
284 |       if DependencyValues.isPreparing {
285 |         if context == .preview, Thread.isPreviewAppEntryPoint {
    |                                 `- error: cannot find 'Thread' in scope
286 |           reportIssue("Ignoring dependencies prepared in preview app entry point")
287 |           return
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/DependencyValues.swift:577:14: error: cannot find 'Thread' in scope
575 |           value = (key as? any DependencyKey.Type)?.liveValue as? Key.Value
576 |         case .preview:
577 |           if Thread.isPreviewAppEntryPoint {
    |              `- error: cannot find 'Thread' in scope
578 |             return Key.previewValue
579 |           }
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/DependencyValues.swift:285:33: error: cannot find 'Thread' in scope
283 |     set {
284 |       if DependencyValues.isPreparing {
285 |         if context == .preview, Thread.isPreviewAppEntryPoint {
    |                                 `- error: cannot find 'Thread' in scope
286 |           reportIssue("Ignoring dependencies prepared in preview app entry point")
287 |           return
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/DependencyValues.swift:577:14: error: cannot find 'Thread' in scope
575 |           value = (key as? any DependencyKey.Type)?.liveValue as? Key.Value
576 |         case .preview:
577 |           if Thread.isPreviewAppEntryPoint {
    |              `- error: cannot find 'Thread' in scope
578 |             return Key.previewValue
579 |           }
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/DependencyValues.swift:285:33: error: cannot find 'Thread' in scope
283 |     set {
284 |       if DependencyValues.isPreparing {
285 |         if context == .preview, Thread.isPreviewAppEntryPoint {
    |                                 `- error: cannot find 'Thread' in scope
286 |           reportIssue("Ignoring dependencies prepared in preview app entry point")
287 |           return
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/DependencyValues.swift:577:14: error: cannot find 'Thread' in scope
575 |           value = (key as? any DependencyKey.Type)?.liveValue as? Key.Value
576 |         case .preview:
577 |           if Thread.isPreviewAppEntryPoint {
    |              `- error: cannot find 'Thread' in scope
578 |             return Key.previewValue
579 |           }
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/DependencyValues.swift:285:33: error: cannot find 'Thread' in scope
283 |     set {
284 |       if DependencyValues.isPreparing {
285 |         if context == .preview, Thread.isPreviewAppEntryPoint {
    |                                 `- error: cannot find 'Thread' in scope
286 |           reportIssue("Ignoring dependencies prepared in preview app entry point")
287 |           return
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/DependencyValues.swift:577:14: error: cannot find 'Thread' in scope
575 |           value = (key as? any DependencyKey.Type)?.liveValue as? Key.Value
576 |         case .preview:
577 |           if Thread.isPreviewAppEntryPoint {
    |              `- error: cannot find 'Thread' in scope
578 |             return Key.previewValue
579 |           }
[259/277] Compiling Dependencies PreviewTrait.swift
[260/277] Compiling Dependencies TestTrait.swift
[261/277] Compiling Dependencies WithDependencies.swift
[262/277] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
 26 | #include <setjmp.h>
 27 | #endif
 28 | #include <signal.h>
    |          `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
 29 | #include <stddef.h>
 30 | #include <stdio.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "signal.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/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/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  1 | #ifndef _WASI_EMULATED_SIGNAL
  2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
    |  `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
 26 | #include <setjmp.h>
 27 | #endif
 28 | #include <signal.h>
    |          `- error: could not build module 'wasi_emulated_signal'
 29 | #include <stddef.h>
 30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
 84 | #undef _WASI_EMULATED_MMAN
 85 | #define _WASI_EMULATED_MMAN
 86 | #include <sys/mman.h>
    |          `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
 87 | #elif TARGET_OS_LINUX
 88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/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/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  1 | #ifndef _WASI_EMULATED_MMAN
  2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
    |  `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  4 | #else
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/HTTPRequest+URL.swift:19:8: error: could not build C module 'CoreFoundation'
 17 |
 18 | #if canImport(CoreFoundation)
 19 | import CoreFoundation
    |        `- error: could not build C module 'CoreFoundation'
 20 | #endif  // canImport(CoreFoundation)
 21 |
[263/277] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
 26 | #include <setjmp.h>
 27 | #endif
 28 | #include <signal.h>
    |          `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
 29 | #include <stddef.h>
 30 | #include <stdio.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "signal.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/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/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  1 | #ifndef _WASI_EMULATED_SIGNAL
  2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
    |  `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
 26 | #include <setjmp.h>
 27 | #endif
 28 | #include <signal.h>
    |          `- error: could not build module 'wasi_emulated_signal'
 29 | #include <stddef.h>
 30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
 84 | #undef _WASI_EMULATED_MMAN
 85 | #define _WASI_EMULATED_MMAN
 86 | #include <sys/mman.h>
    |          `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
 87 | #elif TARGET_OS_LINUX
 88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/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/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  1 | #ifndef _WASI_EMULATED_MMAN
  2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
    |  `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  4 | #else
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/HTTPRequest+URL.swift:19:8: error: could not build C module 'CoreFoundation'
 17 |
 18 | #if canImport(CoreFoundation)
 19 | import CoreFoundation
    |        `- error: could not build C module 'CoreFoundation'
 20 | #endif  // canImport(CoreFoundation)
 21 |
[264/277] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
 26 | #include <setjmp.h>
 27 | #endif
 28 | #include <signal.h>
    |          `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
 29 | #include <stddef.h>
 30 | #include <stdio.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "signal.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/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/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  1 | #ifndef _WASI_EMULATED_SIGNAL
  2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
    |  `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
 26 | #include <setjmp.h>
 27 | #endif
 28 | #include <signal.h>
    |          `- error: could not build module 'wasi_emulated_signal'
 29 | #include <stddef.h>
 30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
 84 | #undef _WASI_EMULATED_MMAN
 85 | #define _WASI_EMULATED_MMAN
 86 | #include <sys/mman.h>
    |          `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
 87 | #elif TARGET_OS_LINUX
 88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/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/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  1 | #ifndef _WASI_EMULATED_MMAN
  2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
    |  `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  4 | #else
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/HTTPRequest+URL.swift:19:8: error: could not build C module 'CoreFoundation'
 17 |
 18 | #if canImport(CoreFoundation)
 19 | import CoreFoundation
    |        `- error: could not build C module 'CoreFoundation'
 20 | #endif  // canImport(CoreFoundation)
 21 |
[273/277] Emitting module CustomDump
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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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/1] Write swift-version-24593BA9C3E375BF.txt
[2/57] Emitting module Sharing2
[3/57] Compiling Sharing2 Empty.swift
[5/58] Compiling IssueReporting UncheckedSendable.swift
[6/58] Compiling IssueReporting Warn.swift
[7/58] Compiling Sharing1 Empty.swift
[8/59] Emitting module Sharing1
[10/60] Compiling ConcurrencyExtras Result.swift
[11/60] Compiling ConcurrencyExtras MainSerialExecutor.swift
[12/60] Compiling ConcurrencyExtras Task.swift
[13/61] Compiling IssueReporting Rethrows.swift
[14/61] Compiling IssueReporting BreakpointReporter.swift
[15/61] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[16/61] Emitting module ConcurrencyExtras
[19/61] Compiling IssueReporting Deprecations.swift
[20/61] Compiling IssueReporting SwiftTesting.swift
[21/61] Compiling IssueReporting ErrorReporting.swift
[22/61] Compiling IssueReporting AppHostWarning.swift
[23/61] Compiling ConcurrencyExtras LockIsolated.swift
[24/61] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[25/61] Compiling IssueReporting TestContext.swift
[26/61] Compiling IssueReporting Unimplemented.swift
[27/63] Compiling HTTPTypes ISOLatin1String.swift
[28/64] Compiling IssueReporting XCTest.swift
[29/64] Compiling IssueReporting IsTesting.swift
[30/64] Compiling IssueReporting IssueReporter.swift
[31/64] Compiling InternalCollectionsUtilities _SortedCollection.swift
[32/64] Compiling IssueReporting ReportIssue.swift
[34/64] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[35/64] Compiling ConcurrencyExtras UncheckedSendable.swift
[36/65] Emitting module HTTPTypes
[37/65] Emitting module InternalCollectionsUtilities
[39/65] Compiling IssueReporting FailureObserver.swift
[40/65] Compiling IssueReporting LockIsolated.swift
[47/66] Emitting module IssueReporting
[58/66] Compiling HTTPTypes NIOLock.swift
[59/66] Compiling IssueReporting WithExpectedIssue.swift
[60/66] Compiling IssueReporting WithIssueContext.swift
[61/67] Compiling HTTPTypes HTTPRequest.swift
[62/67] Compiling HTTPTypes HTTPFields.swift
[63/67] Compiling HTTPTypes HTTPFieldName.swift
[64/67] Compiling HTTPTypes HTTPField.swift
[65/67] Compiling HTTPTypes HTTPResponse.swift
[66/67] Compiling HTTPTypes HTTPParsedFields.swift
[69/165] Emitting module CombineSchedulers
[70/166] Compiling PerceptionCore BetaChecking.swift
[71/166] Compiling PerceptionCore Exports.swift
[72/167] Compiling PerceptionCore Bindable.swift
[73/167] Compiling PerceptionCore Environment.swift
[74/167] Compiling CombineSchedulers Timer.swift
[79/167] Compiling PerceptionCore Locking.swift
[80/167] Compiling PerceptionCore ThreadLocal.swift
[81/167] Compiling PerceptionCore Perceptible.swift
[82/167] Compiling PerceptionCore PerceptionChecking.swift
[83/167] Compiling CombineSchedulers UIScheduler.swift
[84/167] Compiling CombineSchedulers UIKit.swift
[85/167] Emitting module PerceptionCore
[88/167] Compiling XCTestDynamicOverlay Exports.swift
[89/167] Compiling PerceptionCore WithPerceptionTracking.swift
[90/167] Compiling CombineSchedulers UnimplementedScheduler.swift
[91/168] Compiling Clocks Timer.swift
[92/168] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
 26 | #include <setjmp.h>
 27 | #endif
 28 | #include <signal.h>
    |          `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
 29 | #include <stddef.h>
 30 | #include <stdio.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "signal.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/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/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  1 | #ifndef _WASI_EMULATED_SIGNAL
  2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
    |  `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
 26 | #include <setjmp.h>
 27 | #endif
 28 | #include <signal.h>
    |          `- error: could not build module 'wasi_emulated_signal'
 29 | #include <stddef.h>
 30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
 84 | #undef _WASI_EMULATED_MMAN
 85 | #define _WASI_EMULATED_MMAN
 86 | #include <sys/mman.h>
    |          `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
 87 | #elif TARGET_OS_LINUX
 88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/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/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  1 | #ifndef _WASI_EMULATED_MMAN
  2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
    |  `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  4 | #else
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/HTTPRequest+URL.swift:19:8: error: could not build C module 'CoreFoundation'
 17 |
 18 | #if canImport(CoreFoundation)
 19 | import CoreFoundation
    |        `- error: could not build C module 'CoreFoundation'
 20 | #endif  // canImport(CoreFoundation)
 21 |
[93/169] Compiling Clocks ImmediateClock.swift
[94/169] Compiling PerceptionCore PerceptionTracking.swift
[95/169] Emitting module Clocks
[96/169] Compiling Clocks AnyClock.swift
[97/169] Compiling PerceptionCore PerceptionRegistrar.swift
[99/169] Compiling Clocks Lock.swift
[100/169] Emitting module XCTestDynamicOverlay
[101/169] Compiling XCTestDynamicOverlay Deprecations.swift
[102/170] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
 26 | #include <setjmp.h>
 27 | #endif
 28 | #include <signal.h>
    |          `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
 29 | #include <stddef.h>
 30 | #include <stdio.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "signal.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/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/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  1 | #ifndef _WASI_EMULATED_SIGNAL
  2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
    |  `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
 26 | #include <setjmp.h>
 27 | #endif
 28 | #include <signal.h>
    |          `- error: could not build module 'wasi_emulated_signal'
 29 | #include <stddef.h>
 30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
 84 | #undef _WASI_EMULATED_MMAN
 85 | #define _WASI_EMULATED_MMAN
 86 | #include <sys/mman.h>
    |          `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
 87 | #elif TARGET_OS_LINUX
 88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/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/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  1 | #ifndef _WASI_EMULATED_MMAN
  2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
    |  `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  4 | #else
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/HTTPRequest+URL.swift:19:8: error: could not build C module 'CoreFoundation'
 17 |
 18 | #if canImport(CoreFoundation)
 19 | import CoreFoundation
    |        `- error: could not build C module 'CoreFoundation'
 20 | #endif  // canImport(CoreFoundation)
 21 |
[106/170] Compiling PerceptionCore Unchecked.swift
[107/170] Compiling PerceptionCore _PerceptionRegistrar.swift
[108/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[109/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[110/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[111/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[112/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[113/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[114/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[115/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[116/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[117/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[118/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[119/171] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[120/171] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[121/171] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[122/171] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[123/171] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[124/171] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[125/171] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[126/171] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[127/171] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[128/171] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[129/171] Compiling OrderedCollections OrderedDictionary+Values.swift
[130/171] Compiling Clocks SwiftUI.swift
[131/171] Compiling Clocks _AsyncTimerSequence.swift
[132/171] Compiling Clocks TestClock.swift
[133/178] Compiling OrderedCollections OrderedDictionary.swift
[134/178] Compiling OrderedCollections OrderedSet+Codable.swift
[135/178] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[136/178] Compiling OrderedCollections OrderedSet+Descriptions.swift
[137/178] Compiling OrderedCollections OrderedSet+Diffing.swift
[138/178] Compiling OrderedCollections OrderedSet+Equatable.swift
[139/178] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[140/178] Compiling OrderedCollections OrderedSet+Hashable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[150/178] Emitting module HTTPTypesFoundation
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
 26 | #include <setjmp.h>
 27 | #endif
 28 | #include <signal.h>
    |          `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
 29 | #include <stddef.h>
 30 | #include <stdio.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "signal.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/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/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  1 | #ifndef _WASI_EMULATED_SIGNAL
  2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
    |  `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
 26 | #include <setjmp.h>
 27 | #endif
 28 | #include <signal.h>
    |          `- error: could not build module 'wasi_emulated_signal'
 29 | #include <stddef.h>
 30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
 84 | #undef _WASI_EMULATED_MMAN
 85 | #define _WASI_EMULATED_MMAN
 86 | #include <sys/mman.h>
    |          `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
 87 | #elif TARGET_OS_LINUX
 88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/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/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  1 | #ifndef _WASI_EMULATED_MMAN
  2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
    |  `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  4 | #else
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/HTTPRequest+URL.swift:19:8: error: could not build C module 'CoreFoundation'
 17 |
 18 | #if canImport(CoreFoundation)
 19 | import CoreFoundation
    |        `- error: could not build C module 'CoreFoundation'
 20 | #endif  // canImport(CoreFoundation)
 21 |
[151/178] Compiling HTTPTypesFoundation HTTPRequest+URL.swift
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
 26 | #include <setjmp.h>
 27 | #endif
 28 | #include <signal.h>
    |          `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
 29 | #include <stddef.h>
 30 | #include <stdio.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "signal.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/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/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  1 | #ifndef _WASI_EMULATED_SIGNAL
  2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
    |  `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
 26 | #include <setjmp.h>
 27 | #endif
 28 | #include <signal.h>
    |          `- error: could not build module 'wasi_emulated_signal'
 29 | #include <stddef.h>
 30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
 84 | #undef _WASI_EMULATED_MMAN
 85 | #define _WASI_EMULATED_MMAN
 86 | #include <sys/mman.h>
    |          `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
 87 | #elif TARGET_OS_LINUX
 88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/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/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  1 | #ifndef _WASI_EMULATED_MMAN
  2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
    |  `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  4 | #else
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/HTTPRequest+URL.swift:19:8: error: could not build C module 'CoreFoundation'
 17 |
 18 | #if canImport(CoreFoundation)
 19 | import CoreFoundation
    |        `- error: could not build C module 'CoreFoundation'
 20 | #endif  // canImport(CoreFoundation)
 21 |
[152/178] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
 26 | #include <setjmp.h>
 27 | #endif
 28 | #include <signal.h>
    |          `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
 29 | #include <stddef.h>
 30 | #include <stdio.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "signal.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/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/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  1 | #ifndef _WASI_EMULATED_SIGNAL
  2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
    |  `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
 26 | #include <setjmp.h>
 27 | #endif
 28 | #include <signal.h>
    |          `- error: could not build module 'wasi_emulated_signal'
 29 | #include <stddef.h>
 30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
 84 | #undef _WASI_EMULATED_MMAN
 85 | #define _WASI_EMULATED_MMAN
 86 | #include <sys/mman.h>
    |          `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
 87 | #elif TARGET_OS_LINUX
 88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/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/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  1 | #ifndef _WASI_EMULATED_MMAN
  2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
    |  `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  4 | #else
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/HTTPRequest+URL.swift:19:8: error: could not build C module 'CoreFoundation'
 17 |
 18 | #if canImport(CoreFoundation)
 19 | import CoreFoundation
    |        `- error: could not build C module 'CoreFoundation'
 20 | #endif  // canImport(CoreFoundation)
 21 |
[153/178] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
 26 | #include <setjmp.h>
 27 | #endif
 28 | #include <signal.h>
    |          `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
 29 | #include <stddef.h>
 30 | #include <stdio.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "signal.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/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/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  1 | #ifndef _WASI_EMULATED_SIGNAL
  2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
    |  `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
 26 | #include <setjmp.h>
 27 | #endif
 28 | #include <signal.h>
    |          `- error: could not build module 'wasi_emulated_signal'
 29 | #include <stddef.h>
 30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
 84 | #undef _WASI_EMULATED_MMAN
 85 | #define _WASI_EMULATED_MMAN
 86 | #include <sys/mman.h>
    |          `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
 87 | #elif TARGET_OS_LINUX
 88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/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/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  1 | #ifndef _WASI_EMULATED_MMAN
  2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
    |  `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  4 | #else
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/HTTPRequest+URL.swift:19:8: error: could not build C module 'CoreFoundation'
 17 |
 18 | #if canImport(CoreFoundation)
 19 | import CoreFoundation
    |        `- error: could not build C module 'CoreFoundation'
 20 | #endif  // canImport(CoreFoundation)
 21 |
BUILD FAILURE 6.1 wasm