Build Information
Failed to build xcodes, reference 2.1.0 (a5b72c), with Swift 6.2 for Wasm on 17 Sep 2026 01:11:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/XcodesOrg/xcodes.git
Reference: 2.1.0
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/XcodesOrg/xcodes
* tag 2.1.0 -> FETCH_HEAD
HEAD is now at a5b72c8 v2.1.0
Cloned https://github.com/XcodesOrg/xcodes.git
Revision (git rev-parse @):
a5b72c81a5b722f52aa97d179706df8d4d5540b0
SUCCESS checkout https://github.com/XcodesOrg/xcodes.git at 2.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/XcodesOrg/xcodes.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:ff44196b45f83e5a0a99a627b185f548850d9bc1242e3dee2178fb1570812fe8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/xcodereleases/data
[1/1059] Fetching data
Fetched https://github.com/xcodereleases/data from cache (1.01s)
Fetching https://github.com/XcodesOrg/XcodesLoginKit.git
[1/217] Fetching xcodesloginkit
Fetched https://github.com/XcodesOrg/XcodesLoginKit.git from cache (1.03s)
Fetching https://github.com/XcodesOrg/swift-srp
[1/238] Fetching swift-srp
Fetched https://github.com/XcodesOrg/swift-srp from cache (0.47s)
Fetching https://github.com/XcodesOrg/AsyncHTTPNetworkService
[1/329] Fetching asynchttpnetworkservice
Fetched https://github.com/XcodesOrg/AsyncHTTPNetworkService from cache (0.47s)
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/mxcl/Version.git
Fetching https://github.com/adam-fowler/big-num
Fetching https://github.com/kinoroy/LibFido2Swift
Fetching https://github.com/apple/swift-crypto
[1/18531] Fetching swift-crypto
[557/18911] Fetching swift-crypto, libfido2swift
[1194/30772] Fetching swift-crypto, libfido2swift, yams
[2420/32416] Fetching swift-crypto, libfido2swift, yams, big-num
[18744/32727] Fetching swift-crypto, libfido2swift, yams, big-num, version
Fetched https://github.com/mxcl/Version.git from cache (1.03s)
[29333/32416] Fetching swift-crypto, libfido2swift, yams, big-num
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/XcodesOrg/XcodesKit.git
Fetched https://github.com/adam-fowler/big-num from cache (1.36s)
Fetched https://github.com/kinoroy/LibFido2Swift from cache (1.36s)
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/kishikawakatsumi/KeychainAccess.git
Fetched https://github.com/apple/swift-crypto from cache (1.38s)
Fetching https://github.com/mxcl/Path.swift.git
Fetched https://github.com/jpsim/Yams from cache (1.39s)
Fetching https://github.com/mxcl/LegibleError.git
[1/18883] Fetching swift-argument-parser
[18884/20105] Fetching swift-argument-parser, path.swift
[19092/21583] Fetching swift-argument-parser, path.swift, rainbow
Fetched https://github.com/mxcl/Path.swift.git from cache (0.46s)
Fetching https://github.com/scinfu/SwiftSoup.git
[1/179] Fetching legibleerror
Fetched https://github.com/mxcl/LegibleError.git from cache (0.49s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.87s)
[1/4388] Fetching keychainaccess
Fetched https://github.com/onevcat/Rainbow.git from cache (0.76s)
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git from cache (0.76s)
[1/342] Fetching xcodeskit
Fetched https://github.com/XcodesOrg/XcodesKit.git from cache (1.00s)
[1/6362] Fetching swiftsoup
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.83s)
Computing version for https://github.com/kinoroy/LibFido2Swift
Computed https://github.com/kinoroy/LibFido2Swift at 0.1.6 (2.82s)
Computing version for https://github.com/XcodesOrg/XcodesKit.git
Computed https://github.com/XcodesOrg/XcodesKit.git at 1.1.0 (0.14s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (0.86s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.0.0 (0.17s)
Computing version for https://github.com/mxcl/Version.git
Computed https://github.com/mxcl/Version.git at 1.0.3 (0.87s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.1.4 (0.18s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess.git
Computed https://github.com/kishikawakatsumi/KeychainAccess.git at 3.2.1 (0.18s)
Computing version for https://github.com/adam-fowler/big-num
Computed https://github.com/adam-fowler/big-num at 2.0.3 (0.16s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.0.6 (0.17s)
Computing version for https://github.com/mxcl/LegibleError.git
Computed https://github.com/mxcl/LegibleError.git at 1.0.6 (0.17s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 1.1.7 (0.17s)
Computing version for https://github.com/mxcl/Path.swift.git
Computed https://github.com/mxcl/Path.swift.git at 1.6.0 (0.17s)
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.0.6
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.0.0
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess.git
Working copy of https://github.com/kishikawakatsumi/KeychainAccess.git resolved at 3.2.1
Creating working copy for https://github.com/adam-fowler/big-num
Working copy of https://github.com/adam-fowler/big-num resolved at 2.0.3
Creating working copy for https://github.com/mxcl/Path.swift.git
Working copy of https://github.com/mxcl/Path.swift.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 1.1.7
Creating working copy for https://github.com/mxcl/Version.git
Working copy of https://github.com/mxcl/Version.git resolved at 1.0.3
Creating working copy for https://github.com/XcodesOrg/XcodesKit.git
Working copy of https://github.com/XcodesOrg/XcodesKit.git resolved at 1.1.0
Creating working copy for https://github.com/XcodesOrg/swift-srp
Working copy of https://github.com/XcodesOrg/swift-srp resolved at main (543aa01)
Creating working copy for https://github.com/xcodereleases/data
Working copy of https://github.com/xcodereleases/data resolved at fcf527b187817f67c05223676341f3ab69d4214d
Creating working copy for https://github.com/XcodesOrg/XcodesLoginKit.git
Working copy of https://github.com/XcodesOrg/XcodesLoginKit.git resolved at main (929f9aa)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.1.4
Creating working copy for https://github.com/XcodesOrg/AsyncHTTPNetworkService
Working copy of https://github.com/XcodesOrg/AsyncHTTPNetworkService resolved at main (12e225a)
Creating working copy for https://github.com/mxcl/LegibleError.git
Working copy of https://github.com/mxcl/LegibleError.git resolved at 1.0.6
Creating working copy for https://github.com/kinoroy/LibFido2Swift
Working copy of https://github.com/kinoroy/LibFido2Swift resolved at 0.1.6
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
[1/1] Compiling plugin GenerateManualPlugin
Building for debugging...
[1/600] Write sources
[16/600] Compiling writer.c
[17/600] Compiling reader.c
[18/600] Compiling parser.c
[19/600] Compiling api.c
[20/600] Compiling pcy_lib.c
[21/600] Write swift-version-24593BA9C3E375BF.txt
[22/600] Compiling v3_bcons.c
[23/600] Compiling v3_lib.c
[24/600] Compiling emitter.c
[25/616] Compiling v3_skey.c
[26/616] Compiling scanner.c
[27/616] Compiling CCryptoBoringSSLShims shims.c
[28/682] Compiling v3_utl.c
[29/702] Compiling v3_purp.c
[31/704] Emitting module XCModel
[32/705] Emitting module Version
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/705] Emitting module Unxip
/host/spi-builder-workspace/Sources/Unxip/Unxip.swift:1:8: error: no such module 'Compression'
1 | import Compression
| `- error: no such module 'Compression'
2 | import Foundation
3 |
[34/705] Emitting module SwiftSoup
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/712] Emitting module Yams
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
1 | #ifndef _WASI_EMULATED_SIGNAL
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
26 | #include <setjmp.h>
27 | #endif
28 | #include <signal.h>
| `- error: could not build module 'wasi_emulated_signal'
29 | #include <stddef.h>
30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
84 | #undef _WASI_EMULATED_MMAN
85 | #define _WASI_EMULATED_MMAN
86 | #include <sys/mman.h>
| `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
87 | #elif TARGET_OS_LINUX
88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
1 | #ifndef _WASI_EMULATED_MMAN
2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
| `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
4 | #else
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:18:8: error: could not build C module 'CoreFoundation'
16 | private let cpow: (_: Double, _: Double) -> Double = ucrt.pow
17 | #else
18 | import CoreFoundation
| `- error: could not build C module 'CoreFoundation'
19 | import Glibc
20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
[36/713] Compiling Rainbow StringGenerator.swift
[37/713] Emitting module Rainbow
[38/714] Compiling Path Extensions.swift
[39/714] Compiling Path Path+Attributes.swift
[40/714] Compiling Version Version+Range.swift
[41/714] Compiling Version Version.swift
[42/714] Compiling Rainbow Style.swift
[43/714] Compiling Rainbow String+Rainbow.swift
[44/714] Compiling Rainbow XcodeColorsSupport.swift
[45/714] Compiling Path Path+StringConvertibles.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path.swift:3:13: error: no such module 'Darwin'
1 | import Foundation
2 | #if !os(Linux)
3 | import func Darwin.realpath
| `- error: no such module 'Darwin'
4 | let _realpath = Darwin.realpath
5 | #else
[46/715] Compiling Path Path+ls.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path.swift:3:13: error: no such module 'Darwin'
1 | import Foundation
2 | #if !os(Linux)
3 | import func Darwin.realpath
| `- error: no such module 'Darwin'
4 | let _realpath = Darwin.realpath
5 | #else
[47/715] Compiling Path Path.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path.swift:3:13: error: no such module 'Darwin'
1 | import Foundation
2 | #if !os(Linux)
3 | import func Darwin.realpath
| `- error: no such module 'Darwin'
4 | let _realpath = Darwin.realpath
5 | #else
[48/715] Compiling XCModel YMD.swift
[49/715] Compiling Path Pathish.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path.swift:3:13: error: no such module 'Darwin'
1 | import Foundation
2 | #if !os(Linux)
3 | import func Darwin.realpath
| `- error: no such module 'Darwin'
4 | let _realpath = Darwin.realpath
5 | #else
[50/715] Compiling XCModel SDKs.swift
[51/715] Compiling LegibleError LegibleError.swift
/host/spi-builder-workspace/.build/checkouts/LegibleError/Sources/LegibleError.swift:63:45: error: cannot find 'object_getClassName' in scope
61 | let foo: Any = self
62 | let nativeClassNames = ["_SwiftNativeNSError", "__SwiftNativeNSError"]
63 | let selfClassName = String(cString: object_getClassName(self))
| `- error: cannot find 'object_getClassName' in scope
64 | let isNSError = !nativeClassNames.contains(selfClassName) && foo is NSObject
65 | // ^^ ∵ otherwise implicit bridging implicitly casts as for other tests
[52/715] Emitting module LegibleError
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path.swift:3:13: error: no such module 'Darwin'
1 | import Foundation
2 | #if !os(Linux)
3 | import func Darwin.realpath
| `- error: no such module 'Darwin'
4 | let _realpath = Darwin.realpath
5 | #else
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path.swift:3:13: error: no such module 'Darwin'
1 | import Foundation
2 | #if !os(Linux)
3 | import func Darwin.realpath
| `- error: no such module 'Darwin'
4 | let _realpath = Darwin.realpath
5 | #else
error: emit-module command failed with exit code 1 (use -v to see invocation)
[55/715] Emitting module Path
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path.swift:3:13: error: no such module 'Darwin'
1 | import Foundation
2 | #if !os(Linux)
3 | import func Darwin.realpath
| `- error: no such module 'Darwin'
4 | let _realpath = Darwin.realpath
5 | #else
[56/715] Compiling Version Version+Codable.swift
[57/715] Compiling Version Version+Foundation.swift
[58/715] Compiling Version Version+Comparable.swift
[59/715] Compiling XCModel Xcode.swift
[60/715] Compiling Rainbow ModesExtractor.swift
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
1 | #ifndef _WASI_EMULATED_SIGNAL
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
26 | #include <setjmp.h>
27 | #endif
28 | #include <signal.h>
| `- error: could not build module 'wasi_emulated_signal'
29 | #include <stddef.h>
30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
84 | #undef _WASI_EMULATED_MMAN
85 | #define _WASI_EMULATED_MMAN
86 | #include <sys/mman.h>
| `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
87 | #elif TARGET_OS_LINUX
88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
1 | #ifndef _WASI_EMULATED_MMAN
2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
| `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
4 | #else
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:18:8: error: could not build C module 'CoreFoundation'
16 | private let cpow: (_: Double, _: Double) -> Double = ucrt.pow
17 | #else
18 | import CoreFoundation
| `- error: could not build C module 'CoreFoundation'
19 | import Glibc
20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
[61/715] Compiling Rainbow OutputTarget.swift
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
1 | #ifndef _WASI_EMULATED_SIGNAL
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
26 | #include <setjmp.h>
27 | #endif
28 | #include <signal.h>
| `- error: could not build module 'wasi_emulated_signal'
29 | #include <stddef.h>
30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
84 | #undef _WASI_EMULATED_MMAN
85 | #define _WASI_EMULATED_MMAN
86 | #include <sys/mman.h>
| `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
87 | #elif TARGET_OS_LINUX
88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
1 | #ifndef _WASI_EMULATED_MMAN
2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
| `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
4 | #else
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:18:8: error: could not build C module 'CoreFoundation'
16 | private let cpow: (_: Double, _: Double) -> Double = ucrt.pow
17 | #else
18 | import CoreFoundation
| `- error: could not build C module 'CoreFoundation'
19 | import Glibc
20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
1 | #ifndef _WASI_EMULATED_SIGNAL
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
26 | #include <setjmp.h>
27 | #endif
28 | #include <signal.h>
| `- error: could not build module 'wasi_emulated_signal'
29 | #include <stddef.h>
30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
84 | #undef _WASI_EMULATED_MMAN
85 | #define _WASI_EMULATED_MMAN
86 | #include <sys/mman.h>
| `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
87 | #elif TARGET_OS_LINUX
88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
1 | #ifndef _WASI_EMULATED_MMAN
2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
| `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
4 | #else
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:18:8: error: could not build C module 'CoreFoundation'
16 | private let cpow: (_: Double, _: Double) -> Double = ucrt.pow
17 | #else
18 | import CoreFoundation
| `- error: could not build C module 'CoreFoundation'
19 | import Glibc
20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
[62/715] Compiling Path Path+Codable.swift
[63/715] Compiling Path Path+CommonDirectories.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path.swift:3:13: error: no such module 'Darwin'
1 | import Foundation
2 | #if !os(Linux)
3 | import func Darwin.realpath
| `- error: no such module 'Darwin'
4 | let _realpath = Darwin.realpath
5 | #else
BUILD FAILURE 6.2 wasm