The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Verge, reference main (5c8bcd), with Swift 6.2 for Wasm on 21 Jan 2026 08:07:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/VergeGroup/swift-Verge.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/VergeGroup/swift-Verge
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5c8bcd8 Update README with transition warning
Cloned https://github.com/VergeGroup/swift-Verge.git
Revision (git rev-parse @):
5c8bcd829d57ccf1d4cee87aeb36a68e3f4611f1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/VergeGroup/swift-Verge.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/VergeGroup/swift-Verge.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:e45aebddbd3fb4404abe9276e0d450e6fc2ef4836b534e79623bcca11b80d266
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/VergeGroup/swift-concurrency-task-manager
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/VergeGroup/Normalization
Fetching https://github.com/pointfreeco/swift-macro-testing.git
Fetching https://github.com/VergeGroup/swift-macro-state-struct
Fetching https://github.com/VergeGroup/TypedComparator
[1/880] Fetching swift-macro-state-struct
[45/894] Fetching swift-macro-state-struct, typedcomparator
[790/1151] Fetching swift-macro-state-struct, typedcomparator, swift-concurrency-task-manager
[1122/1264] Fetching swift-macro-state-struct, typedcomparator, swift-concurrency-task-manager, normalization
[1253/2196] Fetching swift-macro-state-struct, typedcomparator, swift-concurrency-task-manager, normalization, swift-macro-testing
Fetched https://github.com/VergeGroup/TypedComparator from cache (0.46s)
Fetched https://github.com/VergeGroup/swift-macro-state-struct from cache (0.47s)
[1256/1302] Fetching swift-concurrency-task-manager, normalization, swift-macro-testing
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/VergeGroup/Normalization from cache (0.60s)
Fetched https://github.com/pointfreeco/swift-macro-testing.git from cache (0.60s)
Fetching https://github.com/nalexn/ViewInspector.git
Fetching https://github.com/ReactiveX/RxSwift.git
[1/73845] Fetching swift-syntax
[2955/92568] Fetching swift-syntax, swift-collections
[10195/94388] Fetching swift-syntax, swift-collections, swift-atomics
[10958/107054] Fetching swift-syntax, swift-collections, swift-atomics, viewinspector
[14666/160794] Fetching swift-syntax, swift-collections, swift-atomics, viewinspector, rxswift
Fetched https://github.com/apple/swift-atomics.git from cache (1.27s)
[35332/158974] Fetching swift-syntax, swift-collections, viewinspector, rxswift
Fetched https://github.com/apple/swift-collections from cache (3.88s)
[115319/140251] Fetching swift-syntax, viewinspector, rxswift
Fetched https://github.com/nalexn/ViewInspector.git from cache (20.40s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (20.66s)
Fetched https://github.com/VergeGroup/swift-concurrency-task-manager from cache (21.49s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (21.62s)
Computing version for https://github.com/VergeGroup/TypedComparator
Computed https://github.com/VergeGroup/TypedComparator at 1.0.0 (24.82s)
Computing version for https://github.com/VergeGroup/swift-concurrency-task-manager
Computed https://github.com/VergeGroup/swift-concurrency-task-manager at 3.0.0 (0.43s)
Computing version for https://github.com/VergeGroup/swift-macro-state-struct
Computed https://github.com/VergeGroup/swift-macro-state-struct at 3.0.1 (0.40s)
Computing version for https://github.com/VergeGroup/Normalization
Computed https://github.com/VergeGroup/Normalization at 2.0.1 (0.45s)
Fetching https://github.com/VergeGroup/swift-typed-identifier
[1/63] Fetching swift-typed-identifier
Fetched https://github.com/VergeGroup/swift-typed-identifier from cache (0.22s)
Computing version for https://github.com/VergeGroup/swift-typed-identifier
Computed https://github.com/VergeGroup/swift-typed-identifier at 2.0.4 (0.66s)
Computing version for https://github.com/nalexn/ViewInspector.git
Computed https://github.com/nalexn/ViewInspector.git at 0.10.3 (0.44s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (3.06s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.53s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.3.0 (0.79s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.9.1 (0.50s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.6.4 (0.46s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/15625] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (4.59s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.7 (5.03s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4879] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.40s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.4 (0.82s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5607] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.82s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.8.1 (1.29s)
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.3.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.7
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.8.1
Creating working copy for https://github.com/VergeGroup/Normalization
Working copy of https://github.com/VergeGroup/Normalization resolved at 2.0.1
Creating working copy for https://github.com/VergeGroup/swift-concurrency-task-manager
Working copy of https://github.com/VergeGroup/swift-concurrency-task-manager resolved at 3.0.0
Creating working copy for https://github.com/VergeGroup/TypedComparator
Working copy of https://github.com/VergeGroup/TypedComparator resolved at 1.0.0
Creating working copy for https://github.com/VergeGroup/swift-macro-state-struct
Working copy of https://github.com/VergeGroup/swift-macro-state-struct resolved at 3.0.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/pointfreeco/swift-macro-testing.git
Working copy of https://github.com/pointfreeco/swift-macro-testing.git resolved at 0.6.4
Creating working copy for https://github.com/nalexn/ViewInspector.git
Working copy of https://github.com/nalexn/ViewInspector.git resolved at 0.10.3
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.9.1
Creating working copy for https://github.com/VergeGroup/swift-typed-identifier
Working copy of https://github.com/VergeGroup/swift-typed-identifier resolved at 2.0.4
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.4
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.80s)
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/VergeClassic/Info.plist
    /host/spi-builder-workspace/Sources/VergeClassic/Verge@2x.png
    /host/spi-builder-workspace/Sources/VergeClassic/demo.gif
Building for debugging...
[0/57] Write sources
[5/57] Copying PrivacyInfo.xcprivacy
[5/57] Write sources
[12/57] Copying PrivacyInfo.xcprivacy
[12/57] Write sources
[45/57] Compiling _AtomicsShims.c
[47/57] Write swift-version-24593BA9C3E375BF.txt
[49/387] Emitting module InternalCollectionsUtilities
[50/397] Emitting module NormalizationMacrosPlugin
[51/397] Compiling NormalizationMacrosPlugin DatabaseStateMacro.swift
[52/397] Compiling NormalizationMacrosPlugin IndexMacro.swift
[53/397] Emitting module InternalCollectionsUtilities
[54/397] Compiling RxSwift AddRef.swift
[55/397] Compiling RxSwift Amb.swift
[56/397] Compiling RxSwift AnonymousDisposable.swift
[57/397] Compiling RxSwift AnonymousObserver.swift
[58/397] Compiling RxSwift AnyObserver.swift
[59/399] Compiling RxSwift AsyncLock.swift
[60/399] Compiling RxSwift AsyncSubject.swift
[61/399] Compiling RxSwift AsMaybe.swift
[62/399] Compiling RxSwift AsSingle.swift
[63/399] Compiling NormalizationMacrosPlugin Plugin.swift
[64/399] Compiling RxSwift Bag.swift
[65/399] Compiling RxSwift BehaviorSubject.swift
[66/399] Compiling RxSwift BinaryDisposable.swift
[67/399] Compiling RxSwift Binder.swift
[68/399] Compiling RxSwift AtomicInt.swift
[69/399] Compiling RxSwift Bag+Rx.swift
[70/399] Compiling NormalizationMacrosPlugin TableMacro.swift
[71/399] Emitting module TypedIdentifier
[72/399] Compiling TypedIdentifier TypedIdentifier.swift
[73/400] Compiling StateStructMacros Plugin.swift
[74/400] Compiling StateStructMacros PrimitiveTrackingPropertyMacro.swift
[75/400] Compiling StateStructMacros TrackingIgnoredMacro.swift
[76/400] Compiling StateStructMacros TrackingMacro.swift
[78/400] Compiling NormalizationMacrosPlugin NormalizedStorageMacro.swift
[79/400] Compiling NormalizationMacrosPlugin MacroError.swift
[80/401] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[81/401] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[83/402] Emitting module StateStructMacros
[85/410] Compiling VergeMacrosPlugin MacroError.swift
[86/410] Compiling VergeMacrosPlugin Plugin.swift
[87/410] Emitting module VergeMacrosPlugin
[88/410] Compiling VergeMacrosPlugin KeyPathMap.swift
/host/spi-builder-workspace/Sources/VergeMacrosPlugin/KeyPathMap.swift:14:25: warning: 'argumentList' is deprecated: renamed to 'arguments' [#DeprecatedDeclaration]
12 |   public static func expansion(of node: some SwiftSyntax.FreestandingMacroExpansionSyntax, in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> SwiftSyntax.ExprSyntax {
13 |
14 |     let keyPahts = node.argumentList
   |                         |- warning: 'argumentList' is deprecated: renamed to 'arguments' [#DeprecatedDeclaration]
   |                         `- note: use 'arguments' instead
15 |
16 |     let names: [(String, KeyPathComponentListSyntax)] = {
/host/spi-builder-workspace/Sources/VergeMacrosPlugin/KeyPathMap.swift:18:34: warning: 'cast' is deprecated: This cast will always succeed [#DeprecatedDeclaration]
16 |     let names: [(String, KeyPathComponentListSyntax)] = {
17 |       return keyPahts.map { keyPath in
18 |         let components = keyPath.cast(LabeledExprSyntax.self).expression.cast(
   |                                  `- warning: 'cast' is deprecated: This cast will always succeed [#DeprecatedDeclaration]
19 |           KeyPathExprSyntax.self
20 |         ).components
/host/spi-builder-workspace/Sources/VergeMacrosPlugin/KeyPathMap.swift:25:16: warning: 'cast' is deprecated: This cast will always succeed [#DeprecatedDeclaration]
23 |         components
24 |           .map {
25 |             $0.cast(KeyPathComponentSyntax.self).component.cast(
   |                `- warning: 'cast' is deprecated: This cast will always succeed [#DeprecatedDeclaration]
26 |               KeyPathPropertyComponentSyntax.self
27 |             ).declName.baseName.description
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[107/415] Emitting module TypedIdentifier
[108/415] Compiling TypedIdentifier TypedIdentifier.swift
[111/416] Emitting module TypedComparator
[112/418] Compiling TypedComparator PackedCompare.swift
[113/419] Compiling TypedComparator TypedComparator.swift
[115/469] Compiling TypedComparator PackedCompare.swift
[116/471] Emitting module TypedComparator
[117/572] Compiling TypedComparator TypedComparator.swift
[119/588] Compiling DequeModule Deque+CustomReflectable.swift
[120/588] Compiling DequeModule Deque+Descriptions.swift
[121/590] Compiling DequeModule Deque+Equatable.swift
[122/590] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[123/590] Compiling HashTreeCollections TreeSet+Hashable.swift
[124/590] Compiling HashTreeCollections TreeSet+Sendable.swift
[125/590] Compiling HashTreeCollections TreeSet+Sequence.swift
[126/590] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[127/590] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[128/590] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[129/590] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[130/590] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[131/590] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[132/590] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[133/600] Compiling DequeModule _DequeBuffer.swift
[134/600] Compiling DequeModule _DequeBufferHeader.swift
[135/600] Compiling DequeModule Deque+Extras.swift
[136/600] Compiling DequeModule Deque+Hashable.swift
[147/600] Compiling HashTreeCollections TreeDictionary.swift
[148/600] Compiling HashTreeCollections TreeSet+Codable.swift
[149/600] Compiling HashTreeCollections TreeSet+Collection.swift
[150/600] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[151/600] Compiling HashTreeCollections TreeSet+Debugging.swift
[152/600] Compiling HashTreeCollections TreeSet+Descriptions.swift
[153/600] Compiling HashTreeCollections TreeSet+Equatable.swift
[154/600] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[155/600] Compiling HashTreeCollections TreeSet+Extras.swift
[156/600] Compiling HashTreeCollections TreeSet+Filter.swift
[157/600] Compiling DequeModule _DequeSlot.swift
[158/600] Compiling DequeModule _UnsafeWrappedBuffer.swift
[159/610] Compiling StateStructMacros COWTrackingPropertyMacro.swift
[160/610] Compiling StateStructMacros KnownTypes.swift
[161/611] Emitting module VergeTiny
[162/611] Compiling VergeTiny Source.swift
/host/spi-builder-workspace/Sources/VergeTiny/Source.swift:224:5: error: cannot find 'objc_sync_enter' in scope
222 |   public var associatedProperties: DynamicPropertyStorage {
223 |
224 |     objc_sync_enter(self)
    |     `- error: cannot find 'objc_sync_enter' in scope
225 |     defer {
226 |       objc_sync_exit(self)
/host/spi-builder-workspace/Sources/VergeTiny/Source.swift:226:7: error: cannot find 'objc_sync_exit' in scope
224 |     objc_sync_enter(self)
225 |     defer {
226 |       objc_sync_exit(self)
    |       `- error: cannot find 'objc_sync_exit' in scope
227 |     }
228 |
/host/spi-builder-workspace/Sources/VergeTiny/Source.swift:229:25: error: cannot find 'objc_getAssociatedObject' in scope
227 |     }
228 |
229 |     if let associated = objc_getAssociatedObject(self, &_storageKey)
    |                         `- error: cannot find 'objc_getAssociatedObject' in scope
230 |         as? DynamicPropertyStorage
231 |     {
/host/spi-builder-workspace/Sources/VergeTiny/Source.swift:235:7: error: cannot find 'objc_setAssociatedObject' in scope
233 |     } else {
234 |       let associated = DynamicPropertyStorage()
235 |       objc_setAssociatedObject(self, &_storageKey, associated, .OBJC_ASSOCIATION_RETAIN)
    |       `- error: cannot find 'objc_setAssociatedObject' in scope
236 |       return associated
237 |     }
/host/spi-builder-workspace/Sources/VergeTiny/Source.swift:235:65: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
233 |     } else {
234 |       let associated = DynamicPropertyStorage()
235 |       objc_setAssociatedObject(self, &_storageKey, associated, .OBJC_ASSOCIATION_RETAIN)
    |                                                                 `- error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
236 |       return associated
237 |     }
[163/611] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[164/611] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[165/611] Compiling HashTreeCollections TreeDictionary+Filter.swift
[166/611] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[167/611] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[168/611] Compiling HashTreeCollections TreeDictionary+Keys.swift
[169/611] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[170/611] Compiling HashTreeCollections TreeDictionary+Merge.swift
[171/611] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[172/611] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[173/611] Compiling HashTreeCollections TreeDictionary+Values.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[174/611] Emitting module RxSwift
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/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/RxSwift/Sources/RxSwift/AtomicInt.swift:9:8: error: could not build C module 'CoreFoundation'
 7 | //
 8 |
 9 | import CoreFoundation
   |        `- error: could not build C module 'CoreFoundation'
10 | // This CoreFoundation import can be dropped when this issue is resolved:
11 | // https://github.com/swiftlang/swift-corelibs-foundation/pull/5122
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/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
BUILD FAILURE 6.2 wasm