Build Information
Failed to build WolfStrings, reference 2.2.1 (3f1831), with Swift 6.1 for Wasm on 27 May 2025 10:53:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wolfmcnally/WolfStrings.git
Reference: 2.2.1
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/wolfmcnally/WolfStrings
* tag 2.2.1 -> FETCH_HEAD
HEAD is now at 3f18315 Build as dynamic library.
Cloned https://github.com/wolfmcnally/WolfStrings.git
Revision (git rev-parse @):
3f1831535ce6261d682ca1ae0d4b2f73bf38df44
SUCCESS checkout https://github.com/wolfmcnally/WolfStrings.git at 2.2.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/wolfmcnally/WolfStrings.git
https://github.com/wolfmcnally/WolfStrings.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "wolfnumerics",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/wolfmcnally/WolfNumerics"
},
{
"identity" : "wolfpipe",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/wolfmcnally/WolfPipe"
},
{
"identity" : "wolfosbridge",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/wolfmcnally/WolfOSBridge"
},
{
"identity" : "wolfwith",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/wolfmcnally/WolfWith"
},
{
"identity" : "extensibleenumeratedname",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/wolfmcnally/ExtensibleEnumeratedName"
}
],
"manifest_display_name" : "WolfStrings",
"name" : "WolfStrings",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "tvos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "WolfStrings",
"targets" : [
"WolfStrings"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"c99name" : "WolfStrings",
"module_type" : "SwiftTarget",
"name" : "WolfStrings",
"path" : "Sources/WolfStrings",
"product_dependencies" : [
"WolfNumerics",
"WolfPipe",
"WolfOSBridge",
"WolfWith",
"ExtensibleEnumeratedName"
],
"product_memberships" : [
"WolfStrings"
],
"sources" : [
"AttributedStrings/AttributedString.swift",
"AttributedStrings/AttributedStringExtensions.swift",
"AttributedStrings/AttributedStringOperator.swift",
"AttributedStrings/AttributedSubstring.swift",
"AttributedStrings/AttributedSubstringExtensions.swift",
"AttributedStrings/Markdown.swift",
"Joiner.swift",
"ObjectAliaser.swift",
"Regex/CreateRegularExpressionOperator.swift",
"Regex/MatchRegularExpressionOperator.swift",
"Regex/RegularExpressionExtensions.swift",
"Regex/TextCheckingResult.swift",
"Regex/TextCheckingResultExtensions.swift",
"SequenceExtensions.swift",
"StringExtensions.swift",
"StringFloatPrecision.swift",
"StringIndexesAndRanges.swift",
"StringReplacement.swift",
"StringTransformations.swift",
"Type/FontDebugging.swift",
"Type/FontExtensions.swift",
"Type/FontFaceName.swift",
"Type/FontFamilyName.swift",
"Type/FontStyle.swift",
"Type/OSFont.swift",
"Type/TextAlignment.swift",
"Type/TypeBounds.swift",
"Type/TypeLine.swift",
"Type/TypeRun.swift",
"Type/Typesetter.swift",
"WolfStringsError.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/wolfmcnally/WolfNumerics
Fetching https://github.com/wolfmcnally/ExtensibleEnumeratedName
Fetching https://github.com/wolfmcnally/WolfWith
Fetching https://github.com/wolfmcnally/WolfOSBridge
Fetching https://github.com/wolfmcnally/WolfPipe
[1/95] Fetching wolfosbridge
[96/234] Fetching wolfosbridge, extensibleenumeratedname
[235/509] Fetching wolfosbridge, extensibleenumeratedname, wolfnumerics
[510/612] Fetching wolfosbridge, extensibleenumeratedname, wolfnumerics, wolfwith
[613/889] Fetching wolfosbridge, extensibleenumeratedname, wolfnumerics, wolfwith, wolfpipe
Fetched https://github.com/wolfmcnally/WolfWith from cache (0.31s)
Fetched https://github.com/wolfmcnally/WolfOSBridge from cache (0.31s)
Fetched https://github.com/wolfmcnally/ExtensibleEnumeratedName from cache (0.31s)
Fetched https://github.com/wolfmcnally/WolfPipe from cache (0.31s)
Fetched https://github.com/wolfmcnally/WolfNumerics from cache (0.31s)
Computing version for https://github.com/wolfmcnally/ExtensibleEnumeratedName
Computed https://github.com/wolfmcnally/ExtensibleEnumeratedName at 2.0.2 (0.83s)
Computing version for https://github.com/wolfmcnally/WolfWith
Computed https://github.com/wolfmcnally/WolfWith at 2.0.3 (0.49s)
Computing version for https://github.com/wolfmcnally/WolfPipe
Computed https://github.com/wolfmcnally/WolfPipe at 2.0.2 (1.22s)
Computing version for https://github.com/wolfmcnally/WolfOSBridge
Computed https://github.com/wolfmcnally/WolfOSBridge at 2.0.3 (1.00s)
Computing version for https://github.com/wolfmcnally/WolfNumerics
Computed https://github.com/wolfmcnally/WolfNumerics at 4.0.4 (0.52s)
Creating working copy for https://github.com/wolfmcnally/WolfNumerics
Working copy of https://github.com/wolfmcnally/WolfNumerics resolved at 4.0.4
Creating working copy for https://github.com/wolfmcnally/WolfOSBridge
Working copy of https://github.com/wolfmcnally/WolfOSBridge resolved at 2.0.3
Creating working copy for https://github.com/wolfmcnally/WolfPipe
Working copy of https://github.com/wolfmcnally/WolfPipe resolved at 2.0.2
Creating working copy for https://github.com/wolfmcnally/ExtensibleEnumeratedName
Working copy of https://github.com/wolfmcnally/ExtensibleEnumeratedName resolved at 2.0.2
Creating working copy for https://github.com/wolfmcnally/WolfWith
Working copy of https://github.com/wolfmcnally/WolfWith resolved at 2.0.3
Building for debugging...
[0/25] Write sources
[6/25] Write swift-version-24593BA9C3E375BF.txt
[8/53] Emitting module WolfOSBridge
[9/53] Compiling WolfOSBridge OSView.swift
[10/54] Emitting module WolfWith
[11/54] Compiling WolfWith WithOperator.swift
[12/55] Compiling WolfNumerics SecureRandomNumberGenerator.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/WolfNumerics/Sources/WolfNumerics/RangeExtensions.swift:28:8: error: could not build C module 'CoreFoundation'
26 |
27 | #if canImport(CoreFoundation)
28 | import CoreFoundation
| `- error: could not build C module 'CoreFoundation'
29 | extension NSRange {
30 | public init(cfRange: CFRange) {
[14/56] Compiling WolfPipe PipeOperator.swift
[15/56] Compiling WolfPipe SetAlgebra.swift
[16/56] Compiling WolfPipe PipeCompatibleFunctions.swift
[17/56] Emitting module WolfPipe
[18/56] Compiling WolfPipe ComposeOperator.swift
[19/56] Compiling WolfPipe Curry.swift
[21/56] Compiling WolfPipe EffectfulComposeOperator.swift
[21/56] Wrapping AST for WolfOSBridge for debugging
[22/56] Compiling WolfPipe KeyPaths.swift
[23/56] Write Objects.LinkFileList
[25/57] Emitting module ExtensibleEnumeratedName
[26/57] Compiling ExtensibleEnumeratedName ExtensibleEnumeratedName.swift
[26/58] Wrapping AST for WolfWith for debugging
[27/58] Write Objects.LinkFileList
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[30/58] Linking libWolfOSBridge.wasm
[30/58] Wrapping AST for ExtensibleEnumeratedName for debugging
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[30/58] Linking libWolfWith.wasm
[30/58] Wrapping AST for WolfPipe for debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/19] Write swift-version-24593BA9C3E375BF.txt
[2/47] Compiling WolfWith WithOperator.swift
[3/47] Compiling WolfPipe PipeOperator.swift
[4/47] Compiling WolfPipe SetAlgebra.swift
[5/47] Compiling WolfPipe KeyPaths.swift
[6/47] Compiling WolfPipe EffectfulComposeOperator.swift
[7/47] Compiling WolfPipe PipeCompatibleFunctions.swift
[8/47] Emitting module WolfOSBridge
[9/47] Compiling WolfOSBridge OSView.swift
[10/48] Emitting module WolfWith
[11/49] Compiling ExtensibleEnumeratedName ExtensibleEnumeratedName.swift
[12/49] Emitting module ExtensibleEnumeratedName
[13/50] Compiling WolfPipe ComposeOperator.swift
[14/50] Compiling WolfPipe Curry.swift
[15/50] Emitting module WolfPipe
[18/51] Compiling WolfNumerics SecureRandomNumberGenerator.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/WolfNumerics/Sources/WolfNumerics/RangeExtensions.swift:28:8: error: could not build C module 'CoreFoundation'
26 |
27 | #if canImport(CoreFoundation)
28 | import CoreFoundation
| `- error: could not build C module 'CoreFoundation'
29 | extension NSRange {
30 | public init(cfRange: CFRange) {
[20/51] Write Objects.LinkFileList
[22/50] Wrapping AST for ExtensibleEnumeratedName for debugging
[23/50] Write Objects.LinkFileList
[24/50] Wrapping AST for WolfPipe for debugging
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[24/50] Linking libWolfOSBridge.wasm
/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
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[24/50] Linking libWolfWith.wasm
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[24/50] Linking libExtensibleEnumeratedName.wasm
BUILD FAILURE 6.1 wasm