Build Information
Failed to build Verge, reference main (084a44), with Swift 6.2 for Wasm on 2 Dec 2025 14:39:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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>&1Build 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 084a448 Fix mysterious crash (#549)
Cloned https://github.com/VergeGroup/swift-Verge.git
Revision (git rev-parse @):
084a448dc2dac9bbaa79a70e100a1364d8afbd95
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-2":/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:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
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-macro-state-struct
Fetching https://github.com/pointfreeco/swift-macro-testing.git
Fetching https://github.com/nalexn/ViewInspector.git
Fetching https://github.com/VergeGroup/TypedComparator
[1/14] Fetching typedcomparator
[15/894] Fetching typedcomparator, swift-macro-state-struct
[367/1826] Fetching typedcomparator, swift-macro-state-struct, swift-macro-testing
[1567/14475] Fetching typedcomparator, swift-macro-state-struct, swift-macro-testing, viewinspector
Fetched https://github.com/VergeGroup/TypedComparator from cache (0.45s)
[2318/14461] Fetching swift-macro-state-struct, swift-macro-testing, viewinspector
Fetching https://github.com/VergeGroup/swift-concurrency-task-manager
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/VergeGroup/Normalization
[14462/14718] Fetching swift-macro-state-struct, swift-macro-testing, viewinspector, swift-concurrency-task-manager
[14719/14831] Fetching swift-macro-state-struct, swift-macro-testing, viewinspector, swift-concurrency-task-manager, normalization
Fetched https://github.com/VergeGroup/swift-concurrency-task-manager from cache (0.65s)
Fetched https://github.com/VergeGroup/Normalization from cache (0.61s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections
Fetched https://github.com/pointfreeco/swift-macro-testing.git from cache (1.56s)
Fetched https://github.com/VergeGroup/swift-macro-state-struct from cache (1.56s)
[1/73001] Fetching swift-syntax
Fetching https://github.com/ReactiveX/RxSwift.git
Fetched https://github.com/nalexn/ViewInspector.git from cache (1.58s)
[732/74821] Fetching swift-syntax, swift-atomics
[3905/93135] Fetching swift-syntax, swift-atomics, swift-collections
[14978/145981] Fetching swift-syntax, swift-atomics, swift-collections, rxswift
Fetched https://github.com/apple/swift-atomics.git from cache (3.21s)
[123068/144161] Fetching swift-syntax, swift-collections, rxswift
Fetched https://github.com/apple/swift-collections from cache (3.27s)
[106944/125847] Fetching swift-syntax, rxswift
Fetched https://github.com/swiftlang/swift-syntax.git from cache (13.72s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (12.74s)
Computing version for https://github.com/VergeGroup/TypedComparator
Computed https://github.com/VergeGroup/TypedComparator at 1.0.0 (15.05s)
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.77s)
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.80s)
Computing version for https://github.com/VergeGroup/Normalization
Computed https://github.com/VergeGroup/Normalization at 2.0.1 (0.78s)
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.30s)
Computing version for https://github.com/VergeGroup/swift-typed-identifier
Computed https://github.com/VergeGroup/swift-typed-identifier at 2.0.4 (4.58s)
Computing version for https://github.com/nalexn/ViewInspector.git
Computed https://github.com/nalexn/ViewInspector.git at 0.10.3 (0.81s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (4.10s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.79s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.3.0 (1.55s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.9.1 (0.81s)
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.79s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/15633] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (4.80s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.7 (6.89s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4651] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.51s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (2.22s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5600] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.14s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.7.0 (2.30s)
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/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/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/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/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/VergeGroup/Normalization
Working copy of https://github.com/VergeGroup/Normalization resolved at 2.0.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/VergeGroup/TypedComparator
Working copy of https://github.com/VergeGroup/TypedComparator resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/nalexn/ViewInspector.git
Working copy of https://github.com/nalexn/ViewInspector.git resolved at 0.10.3
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/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.9.1
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.7.0
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.47s)
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/Verge@2x.png
/host/spi-builder-workspace/Sources/VergeClassic/demo.gif
/host/spi-builder-workspace/Sources/VergeClassic/Info.plist
Building for debugging...
[0/57] Write sources
[12/57] Copying PrivacyInfo.xcprivacy
[16/57] Write sources
[33/57] Copying PrivacyInfo.xcprivacy
[34/57] Write sources
[34/57] Copying PrivacyInfo.xcprivacy
[37/57] Write sources
[45/57] Compiling _AtomicsShims.c
[47/57] Write swift-version-24593BA9C3E375BF.txt
[49/82] Emitting module TypedComparator
[50/82] Emitting module TypedIdentifier
[51/82] Emitting module VergeTiny
[52/82] Compiling TypedIdentifier TypedIdentifier.swift
[53/82] Emitting module TypedIdentifier
[54/83] Compiling TypedIdentifier TypedIdentifier.swift
[56/84] Compiling StateStructMacros TrackingIgnoredMacro.swift
[57/84] 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>
[58/84] Emitting module VergeMacrosPlugin
[60/84] Emitting module TypedComparator
[61/84] Compiling TypedComparator PackedCompare.swift
[62/84] Compiling TypedComparator TypedComparator.swift
[63/84] Compiling StateStructMacros Plugin.swift
[64/84] Compiling StateStructMacros PrimitiveTrackingPropertyMacro.swift
[65/85] Compiling VergeMacrosPlugin MacroError.swift
[66/85] Compiling VergeMacrosPlugin Plugin.swift
[68/86] Compiling TypedComparator TypedComparator.swift
[69/86] Compiling TypedComparator PackedCompare.swift
[71/87] Compiling StateStructMacros TrackingMacro.swift
[73/87] Emitting module StateStructMacros
[74/87] Compiling StateStructMacros COWTrackingPropertyMacro.swift
[75/414] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[76/414] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[77/416] Compiling NormalizationMacrosPlugin Plugin.swift
[78/416] Compiling NormalizationMacrosPlugin TableMacro.swift
[79/416] Compiling InternalCollectionsUtilities Debugging.swift
[80/416] Compiling InternalCollectionsUtilities Descriptions.swift
[81/416] Emitting module NormalizationMacrosPlugin
[82/416] Compiling NormalizationMacrosPlugin DatabaseStateMacro.swift
[85/416] Compiling InternalCollectionsUtilities _SortedCollection.swift
[86/416] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[87/416] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[88/416] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[89/418] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[90/418] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[91/418] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[92/418] Compiling InternalCollectionsUtilities Integer rank.swift
[93/418] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[94/418] Compiling InternalCollectionsUtilities UInt+reversed.swift
[95/418] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[96/418] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[97/418] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[105/418] Compiling NormalizationMacrosPlugin MacroError.swift
[106/418] Compiling NormalizationMacrosPlugin IndexMacro.swift
[107/418] Compiling NormalizationMacrosPlugin NormalizedStorageMacro.swift
[109/429] Emitting module InternalCollectionsUtilities
[111/437] Compiling Atomics ManagedAtomic.swift
[112/437] Compiling Atomics ManagedAtomicLazyReference.swift
[113/439] Compiling Atomics UnsafeAtomic.swift
[114/439] Compiling Atomics UnsafeAtomicLazyReference.swift
[115/439] Compiling Atomics AtomicMemoryOrderings.swift
[116/439] Compiling Atomics DoubleWord.swift
[117/439] Compiling Atomics AtomicStorage.swift
[118/439] Compiling Atomics AtomicValue.swift
[119/439] Compiling Atomics AtomicOptionalWrappable.swift
[120/439] Compiling Atomics AtomicReference.swift
[121/439] Compiling Atomics Primitives.native.swift
[122/439] Compiling Atomics AtomicInteger.swift
[124/440] Compiling Atomics IntegerConformances.swift
[125/440] Compiling Atomics PointerConformances.swift
[128/440] Compiling Atomics OptionalRawRepresentable.swift
[129/440] Compiling Atomics RawRepresentable.swift
[130/440] Compiling Atomics AtomicBool.swift
[132/441] Compiling Atomics IntegerOperations.swift
[133/441] Compiling Atomics Unmanaged extensions.swift
[137/441] Emitting module VergeTiny
[138/441] 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 | }
[139/441] Compiling StateStructMacros KnownTypes.swift
[141/450] 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 | }
/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