Build Information
Failed to build cloudflare-swift, reference main (c93d24
), with Swift 6.1 for Wasm on 10 Jun 2025 14:03:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/cloudflare-swift.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/zunda-pixel/cloudflare-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c93d241 Bump github.com/zunda-pixel/http-client from 0.3.0 to 0.3.1 (#34)
Cloned https://github.com/zunda-pixel/cloudflare-swift.git
Revision (git rev-parse @):
c93d24127bc710d61c73f4e76f4d8c9a8b1f11aa
SUCCESS checkout https://github.com/zunda-pixel/cloudflare-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/zunda-pixel/cloudflare-swift.git
https://github.com/zunda-pixel/cloudflare-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-http-types",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-http-types"
},
{
"identity" : "multipart-kit",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.0-alpha.5",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/multipart-kit"
},
{
"identity" : "http-client",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/zunda-pixel/http-client"
}
],
"manifest_display_name" : "cloudflare-swift",
"name" : "cloudflare-swift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "ImagesClient",
"targets" : [
"ImagesClient"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ImagesClientTests",
"module_type" : "SwiftTarget",
"name" : "ImagesClientTests",
"path" : "Tests/ImagesClientTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/ImagesClientTests/Resources/Swift_logo.svg",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"ImagesClientTests.swift"
],
"target_dependencies" : [
"ImagesClient"
],
"type" : "test"
},
{
"c99name" : "ImagesClient",
"module_type" : "SwiftTarget",
"name" : "ImagesClient",
"path" : "Sources/ImagesClient",
"product_dependencies" : [
"HTTPTypes",
"HTTPTypesFoundation",
"MultipartKit",
"HTTPClient"
],
"product_memberships" : [
"ImagesClient"
],
"sources" : [
"AuthURL/CreateAuthenticatedUploadURL.swift",
"Delete/DeleteImage.swift",
"EmptyResult.swift",
"ErrorHandle.swift",
"Images/BaseImage.swift",
"Images/Image.swift",
"Images/Images.swift",
"ImagesClient.swift",
"ImagesResponse.swift",
"JSONDecoder++.swift",
"MessageContent.swift",
"RequestError.swift",
"SortOrder.swift",
"Update/Update.swift",
"Upload/UploadImage.swift",
"Upload/UploadImageWithURL.swift",
"Upload/UploadResult.swift",
"UsageStats/UsageStats.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/http-client
Fetching https://github.com/vapor/multipart-kit
Fetching https://github.com/apple/swift-http-types
[1/3319] Fetching multipart-kit
[1628/3440] Fetching multipart-kit, http-client
[1716/4344] Fetching multipart-kit, http-client, swift-http-types
Fetched https://github.com/apple/swift-http-types from cache (1.46s)
Fetched https://github.com/zunda-pixel/http-client from cache (1.47s)
Fetched https://github.com/vapor/multipart-kit from cache (1.53s)
Computing version for https://github.com/zunda-pixel/http-client
Computed https://github.com/zunda-pixel/http-client at 0.3.1 (2.05s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.4.0 (0.54s)
Computing version for https://github.com/vapor/multipart-kit
Computed https://github.com/vapor/multipart-kit at 5.0.0-alpha.5 (0.53s)
Fetching https://github.com/apple/swift-collections.git
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.17s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.87s)
Creating working copy for https://github.com/vapor/multipart-kit
Working copy of https://github.com/vapor/multipart-kit resolved at 5.0.0-alpha.5
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-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Building for debugging...
[0/14] Write sources
[13/14] Write swift-version-24593BA9C3E375BF.txt
[15/36] Emitting module HTTPTypes
[16/37] Compiling HTTPTypes HTTPField.swift
[17/37] Compiling HTTPTypes ISOLatin1String.swift
[18/37] Compiling HTTPTypes HTTPFieldName.swift
[19/37] Compiling HTTPTypes HTTPParsedFields.swift
[20/37] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[21/38] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[22/38] Compiling InternalCollectionsUtilities UInt+reversed.swift
[23/38] Compiling InternalCollectionsUtilities Descriptions.swift
[24/38] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[25/38] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[26/38] Compiling InternalCollectionsUtilities Debugging.swift
[27/38] Emitting module InternalCollectionsUtilities
[28/38] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[29/38] Compiling InternalCollectionsUtilities Integer rank.swift
[30/38] Compiling HTTPTypes HTTPRequest.swift
[31/38] Compiling HTTPTypes HTTPResponse.swift
[32/38] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[33/38] Compiling InternalCollectionsUtilities _SortedCollection.swift
[34/38] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[35/38] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[36/38] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[38/43] Compiling HTTPTypes NIOLock.swift
[39/313] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[40/313] Compiling HeapModule Heap+Invariants.swift
[41/313] Compiling HeapModule Heap+Descriptions.swift
[42/313] Compiling _RopeModule BigString+CustomStringConvertible.swift
[43/313] Compiling _RopeModule BigString+Equatable.swift
[44/313] Compiling _RopeModule BigString+ExpressibleByStringLiteral.swift
[45/313] Compiling _RopeModule BigString+Hashing.swift
[46/315] Compiling _RopeModule BigString+Debugging.swift
[47/315] Compiling _RopeModule BigString+Index.swift
[48/315] Compiling HeapModule _HeapNode.swift
[49/315] Compiling HeapModule Heap.swift
[50/315] Emitting module HeapModule
[51/315] Compiling HeapModule Heap+UnsafeHandle.swift
[53/316] Compiling _RopeModule Rope+ForEachWhile.swift
[54/316] Compiling _RopeModule Rope+Insert.swift
[55/316] Compiling HashTreeCollections TreeSet+Sequence.swift
[56/316] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[57/316] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[58/316] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[59/316] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[60/316] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[61/316] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[62/316] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[63/326] Compiling DequeModule _DequeSlot.swift
[64/326] Compiling DequeModule _UnsafeWrappedBuffer.swift
[65/326] Compiling _RopeModule BigString+UnicodeScalarView.swift
[66/326] Compiling _RopeModule BigSubstring+UTF16View.swift
[67/326] Compiling _RopeModule BigSubstring+UTF8View.swift
[68/326] Compiling _RopeModule BigSubstring+UnicodeScalarView.swift
[69/326] Compiling _RopeModule BigSubstring.swift
[70/326] Compiling _RopeModule Rope+Builder.swift
[71/326] Compiling _RopeModule Rope+Debugging.swift
[72/326] Compiling _RopeModule Rope+Invariants.swift
[73/326] Compiling _RopeModule Rope+_Node.swift
[74/326] Compiling _RopeModule Rope+_Storage.swift
[75/326] Compiling _RopeModule Rope+_UnmanagedLeaf.swift
[76/326] Compiling _RopeModule Rope+_UnsafeHandle.swift
[77/326] Compiling _RopeModule Rope.swift
[78/326] Compiling _RopeModule RopeElement.swift
[79/333] Emitting module BitCollections
[80/340] Compiling _RopeModule BigString+Chunk+Indexing by Characters.swift
[81/340] Compiling _RopeModule BigString+Chunk+Indexing by UTF16.swift
[82/340] Compiling _RopeModule BigString+Chunk+RopeElement.swift
[83/340] Compiling _RopeModule BigString+Chunk+Splitting.swift
[84/340] Compiling _RopeModule BigString+Chunk.swift
[85/340] Compiling _RopeModule BigString+BidirectionalCollection.swift
[86/340] Compiling _RopeModule BigString+Append.swift
[87/340] Compiling _RopeModule BigString+Builder.swift
[88/340] Compiling _RopeModule BigString+Contents.swift
[89/340] Compiling _RopeModule BigString+LosslessStringConvertible.swift
[90/340] Compiling _RopeModule BigString+RangeReplaceableCollection.swift
[91/340] Compiling _RopeModule BigString+Sequence.swift
[92/340] Compiling _RopeModule BigString+TextOutputStream.swift
[93/340] Compiling _RopeModule BigString+Insert.swift
[94/340] Compiling _RopeModule BigString+Managing Breaks.swift
[95/340] Compiling _RopeModule BigString+RemoveSubrange.swift
[96/340] Compiling _RopeModule BigString+ReplaceSubrange.swift
[97/340] Compiling _RopeModule BigString+Split.swift
[98/340] Compiling _RopeModule Range+BigString.swift
[99/340] Compiling _RopeModule BigString+UTF16View.swift
[100/340] Compiling _RopeModule BigString+UTF8View.swift
[101/340] Compiling _RopeModule BigString+Comparable.swift
[102/340] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[103/340] Compiling _RopeModule BigString+Iterators.swift
[104/340] Compiling _RopeModule BigString+Metrics.swift
[105/340] Compiling _RopeModule BigString+Summary.swift
[106/340] Compiling _RopeModule BigString.swift
[107/340] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[108/340] Compiling _RopeModule BigString+Chunk+Breaks.swift
[109/340] Compiling _RopeModule BigString+Chunk+Counts.swift
[110/340] Compiling _RopeModule BigString+Chunk+Description.swift
[126/340] Compiling _RopeModule BigString+Initializers.swift
[156/340] Compiling BitCollections BitSet.Index.swift
[157/340] Compiling BitCollections BitSet._UnsafeHandle.swift
[158/340] Compiling BitCollections BitSet.swift
[159/340] Compiling BitCollections Range+Utilities.swift
[160/340] Compiling BitCollections Slice+Utilities.swift
[161/340] Compiling BitCollections UInt+Tricks.swift
[162/340] Compiling BitCollections _Word.swift
[163/340] Compiling OrderedCollections OrderedSet.swift
[164/340] Compiling OrderedCollections _UnsafeBitset.swift
[165/340] Compiling _RopeModule Rope+Sequence.swift
[166/340] Compiling _RopeModule Rope+Append.swift
[167/340] Compiling _RopeModule Rope+Extract.swift
[168/340] Compiling _RopeModule Rope+Find.swift
[169/340] Emitting module DequeModule
[171/341] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[172/341] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[173/341] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[174/341] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[175/341] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[176/341] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[177/341] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[178/341] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[179/341] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[180/341] Compiling HashTreeCollections TreeSet.swift
[181/341] Compiling HTTPTypes HTTPFields.swift
[258/358] Emitting module OrderedCollections
[280/359] Emitting module _RopeModule
[325/359] Emitting module HashTreeCollections
[327/360] Compiling _RopeModule Rope+Join.swift
[328/360] Compiling _RopeModule Rope+MutatingForEach.swift
[329/360] Compiling _RopeModule Rope+Remove.swift
[330/360] Compiling _RopeModule Rope+RemoveSubrange.swift
[331/360] Compiling _RopeModule Rope+Split.swift
[332/360] Compiling _RopeModule Optional Utilities.swift
[333/360] Compiling _RopeModule String Utilities.swift
[334/360] Compiling _RopeModule String.Index+ABI.swift
[335/360] Compiling _RopeModule _CharacterRecognizer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[355/360] 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 |
[357/363] Emitting module Collections
[358/363] Compiling Collections Collections.swift
[360/364] 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 |
[361/364] 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 |
[362/364] 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 |
[363/364] 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 |
[364/364] 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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/23] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[3/23] Compiling InternalCollectionsUtilities Descriptions.swift
[4/23] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[5/23] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[6/23] Compiling InternalCollectionsUtilities Debugging.swift
[7/24] Compiling HTTPTypes HTTPParsedFields.swift
[8/25] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[9/25] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[10/25] Compiling InternalCollectionsUtilities _SortedCollection.swift
[11/25] Compiling HTTPTypes ISOLatin1String.swift
[12/25] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[13/25] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[14/25] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[15/25] Compiling InternalCollectionsUtilities UInt+reversed.swift
[16/25] Emitting module HTTPTypes
[17/25] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[18/25] Compiling InternalCollectionsUtilities Integer rank.swift
[19/25] Emitting module InternalCollectionsUtilities
[20/26] Compiling HTTPTypes NIOLock.swift
[22/26] Compiling HTTPTypes HTTPRequest.swift
[23/26] Compiling HTTPTypes HTTPResponse.swift
[24/26] Compiling HTTPTypes HTTPField.swift
[25/26] Compiling HTTPTypes HTTPFieldName.swift
[26/26] Compiling HTTPTypes HTTPFields.swift
[28/307] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[29/307] Compiling HashTreeCollections _HashNode+Structural filter.swift
[30/307] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[31/309] Compiling HashTreeCollections _HashNode+Storage.swift
[32/309] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[33/309] Compiling HeapModule Heap+Descriptions.swift
[34/309] 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 |
[35/309] Emitting module HeapModule
[36/309] Compiling HeapModule _HeapNode.swift
[37/309] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[38/309] Compiling HashTreeCollections _HashNode+Structural union.swift
[39/309] Compiling HeapModule Heap+Invariants.swift
[40/309] Compiling HeapModule Heap.swift
[41/309] Compiling HeapModule Heap+UnsafeHandle.swift
[42/310] 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 |
[43/310] Compiling HashTreeCollections TreeSet+Hashable.swift
[44/310] Compiling HashTreeCollections TreeSet+Sendable.swift
[45/310] Compiling HashTreeCollections TreeSet+Sequence.swift
[46/310] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[47/310] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[48/310] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[49/310] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[50/310] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[51/310] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[52/310] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[53/320] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[54/320] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[55/320] Compiling HashTreeCollections _HashNode+Structural merge.swift
[56/320] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[59/320] Compiling DequeModule _DequeSlot.swift
[60/320] Compiling DequeModule _UnsafeWrappedBuffer.swift
[61/327] 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 |
[62/327] 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 |
[66/327] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[67/327] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[68/327] Compiling HashTreeCollections TreeDictionary+Keys.swift
[69/327] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[70/327] Compiling HashTreeCollections TreeDictionary+Merge.swift
[71/327] Compiling BitCollections BitSet.Index.swift
[72/327] Compiling BitCollections BitSet._UnsafeHandle.swift
[73/334] Compiling HashTreeCollections TreeDictionary+Collection.swift
[74/334] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[75/334] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[76/334] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[77/334] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[78/334] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[79/334] Compiling HashTreeCollections TreeDictionary+Filter.swift
[80/334] Compiling OrderedCollections OrderedSet+SubSequence.swift
[81/334] Compiling OrderedCollections OrderedSet+Testing.swift
[82/334] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[83/334] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[84/334] Compiling OrderedCollections OrderedSet.swift
[85/334] Compiling OrderedCollections _UnsafeBitset.swift
[86/334] Compiling HashTreeCollections TreeSet+Equatable.swift
[87/334] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[88/334] Compiling HashTreeCollections TreeSet+Extras.swift
[89/334] Compiling HashTreeCollections TreeSet+Filter.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[90/334] 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 |
[91/334] 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 |
[94/334] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[95/334] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[100/334] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[101/334] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[102/334] Compiling HashTreeCollections _Bucket.swift
[103/334] Compiling HashTreeCollections _Hash.swift
[104/334] Compiling HashTreeCollections _HashLevel.swift
[105/334] Compiling HashTreeCollections _HashNode+Builder.swift
[106/334] Compiling HashTreeCollections _HashNode+Debugging.swift
[107/334] Compiling HashTreeCollections _HashNode+Initializers.swift
[108/334] Compiling HashTreeCollections _HashNode+Invariants.swift
[109/334] Compiling HashTreeCollections _HashNode+Lookups.swift
BUILD FAILURE 6.1 wasm