The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-demangling, reference main (f44081), with Swift 6.2 for Wasm on 17 Oct 2026 04:51:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344846-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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MxIris-Reverse-Engineering/swift-demangling.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/MxIris-Reverse-Engineering/swift-demangling
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f440811 Merge branch 'next'
Cloned https://github.com/MxIris-Reverse-Engineering/swift-demangling.git
Revision (git rev-parse @):
f4408116439b6fc38a984b5ad7645f1a83dfe69c
SUCCESS checkout https://github.com/MxIris-Reverse-Engineering/swift-demangling.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/MxIris-Reverse-Engineering/swift-demangling.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-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:0563b842faffea9ddc6fe15fbd2051d02dff3ef29dc4b5bfe0a0910a084eee81
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/Mx-Iris/FrameworkToolbox
Fetching https://github.com/MxIris-Reverse-Engineering/MachOKit
[1/2017] Fetching frameworktoolbox
[42/9836] Fetching frameworktoolbox, machokit
Fetched https://github.com/Mx-Iris/FrameworkToolbox from cache (0.53s)
Fetched https://github.com/MxIris-Reverse-Engineering/MachOKit from cache (0.53s)
Computing version for https://github.com/MxIris-Reverse-Engineering/MachOKit
Computed https://github.com/MxIris-Reverse-Engineering/MachOKit at 0.54.101 (0.73s)
Fetching https://github.com/p-x9/swift-fileio-extra.git
Fetching https://github.com/p-x9/swift-fileio.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/p-x9/ObjectArchiveKit.git
Fetching https://github.com/p-x9/swift-binary-parse-support.git
Fetching https://github.com/apple/swift-crypto.git
[1/91] Fetching swift-fileio-extra
[92/347] Fetching swift-fileio-extra, swift-binary-parse-support
[241/2398] Fetching swift-fileio-extra, swift-binary-parse-support, swift-asn1
[242/3088] Fetching swift-fileio-extra, swift-binary-parse-support, swift-asn1, swift-fileio
[631/3347] Fetching swift-fileio-extra, swift-binary-parse-support, swift-asn1, swift-fileio, objectarchivekit
Fetched https://github.com/p-x9/swift-binary-parse-support.git from cache (0.37s)
[639/3091] Fetching swift-fileio-extra, swift-asn1, swift-fileio, objectarchivekit
[1452/21773] Fetching swift-fileio-extra, swift-asn1, swift-fileio, objectarchivekit, swift-crypto
Fetched https://github.com/p-x9/swift-fileio-extra.git from cache (0.45s)
Fetched https://github.com/p-x9/ObjectArchiveKit.git from cache (0.45s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.45s)
[1251/19372] Fetching swift-fileio, swift-crypto
Fetched https://github.com/p-x9/swift-fileio.git from cache (1.38s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.39s)
Computing version for https://github.com/p-x9/ObjectArchiveKit.git
Computed https://github.com/p-x9/ObjectArchiveKit.git at 0.5.0 (1.55s)
Computing version for https://github.com/p-x9/swift-binary-parse-support.git
Computed https://github.com/p-x9/swift-binary-parse-support.git at 0.3.0 (0.11s)
Computing version for https://github.com/p-x9/swift-fileio-extra.git
Computed https://github.com/p-x9/swift-fileio-extra.git at 0.4.0 (0.14s)
Computing version for https://github.com/p-x9/swift-fileio.git
Computed https://github.com/p-x9/swift-fileio.git at 0.15.1 (0.11s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (0.16s)
Computing version for https://github.com/Mx-Iris/FrameworkToolbox
Computed https://github.com/Mx-Iris/FrameworkToolbox at 0.15.0 (0.21s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/80793] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.38s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (7.31s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.3.1 (0.43s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.6.0
Creating working copy for https://github.com/p-x9/swift-binary-parse-support.git
Working copy of https://github.com/p-x9/swift-binary-parse-support.git resolved at 0.3.0
Creating working copy for https://github.com/Mx-Iris/FrameworkToolbox
Working copy of https://github.com/Mx-Iris/FrameworkToolbox resolved at 0.15.0
Creating working copy for https://github.com/p-x9/swift-fileio.git
Working copy of https://github.com/p-x9/swift-fileio.git resolved at 0.15.1
Creating working copy for https://github.com/p-x9/swift-fileio-extra.git
Working copy of https://github.com/p-x9/swift-fileio-extra.git resolved at 0.4.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.3.1
Creating working copy for https://github.com/p-x9/ObjectArchiveKit.git
Working copy of https://github.com/p-x9/ObjectArchiveKit.git resolved at 0.5.0
Creating working copy for https://github.com/MxIris-Reverse-Engineering/MachOKit
Working copy of https://github.com/MxIris-Reverse-Engineering/MachOKit resolved at 0.54.101
Building for debugging...
[0/75] Write sources
[35/75] Compiling MachOKitC mach-o-linux.c
[36/75] Compiling PointerAuthenticationSupport PointerAuthenticationSupport.c
[37/75] Compiling DemanglingTestingSupportC CMallocCounter.c
[38/75] Compiling _SwiftSyntaxCShims PlatformMutex.c
[39/75] Write swift-version-24593BA9C3E375BF.txt
[41/94] Emitting module SwiftSyntax603
[42/94] Emitting module SwiftSyntax509
[43/94] Emitting module SwiftSyntax600
[43/94] Compiling DemanglingTestingSupportC CDemangleTree.cpp
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/107] Emitting module FileIO
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:183:5: error: cannot find 'msync' in scope
181 |     FlushViewOfFile(pointer, SIZE_T(length))
182 | #else
183 |     msync(pointer, length, MS_SYNC)
    |     `- error: cannot find 'msync' in scope
184 | #endif
185 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:183:28: error: cannot find 'MS_SYNC' in scope
181 |     FlushViewOfFile(pointer, SIZE_T(length))
182 | #else
183 |     msync(pointer, length, MS_SYNC)
    |                            `- error: cannot find 'MS_SYNC' in scope
184 | #endif
185 | }
[46/107] Compiling SwiftSyntax509 Empty.swift
[47/108] Compiling SwiftSyntax600 Empty.swift
[49/109] Wrapping AST for SwiftSyntax509 for debugging
[50/109] Wrapping AST for SwiftSyntax600 for debugging
[52/109] Compiling SwiftSyntax602 Empty.swift
[53/109] Emitting module SwiftSyntax602
[54/110] Wrapping AST for SwiftSyntax602 for debugging
[56/110] Compiling SwiftSyntax510 Empty.swift
[57/110] Emitting module SwiftSyntax510
[58/111] Wrapping AST for SwiftSyntax510 for debugging
[60/111] Compiling SwiftSyntax601 Empty.swift
[61/111] Emitting module SwiftSyntax601
[63/112] Compiling SwiftSyntax603 Empty.swift
[64/113] Wrapping AST for SwiftSyntax601 for debugging
[65/113] Wrapping AST for SwiftSyntax603 for debugging
[67/176] Compiling SwiftSyntax AbsolutePosition.swift
[68/176] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[69/176] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[70/176] Compiling SwiftSyntax Assert.swift
[71/176] Compiling SwiftSyntax BumpPtrAllocator.swift
[72/176] Compiling SwiftSyntax CommonAncestor.swift
[73/176] Compiling SwiftSyntax Convenience.swift
[74/176] Compiling SwiftSyntax CustomTraits.swift
[75/176] Compiling SwiftSyntax EditorPlaceholder.swift
[76/184] Compiling FileIO ConcatenatedStreamedFile.swift
[77/184] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[78/184] Compiling SwiftSyntax RawSyntaxTokenView.swift
[79/185] Compiling FileIO MemoryMappedFile.swift
[80/185] Compiling FileIO FileIO.swift
[81/185] Compiling BinaryParseSupport MemorySequence.swift
[82/185] Compiling SwiftSyntax SourceEdit.swift
[83/185] Compiling SwiftSyntax SyntaxRewriter.swift
[84/185] Compiling BinaryParseSupport DataSequence.swift
[85/185] Compiling SwiftSyntax RawSyntaxArena.swift
[86/185] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[87/185] Emitting module BinaryParseSupport
[88/185] Compiling SwiftSyntax Identifier.swift
[89/185] Compiling SwiftSyntax MemoryLayout.swift
[90/185] Compiling SwiftSyntax MissingNodeInitializers.swift
[91/185] Compiling SwiftSyntax RawSyntax.swift
[92/185] Compiling FileIO ConcatenatedMemoryMappedFile.swift
[93/185] Compiling FileIO StreamedFile.swift
[94/185] Compiling FileIO system.swift
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:151:29: error: cannot find 'PROT_READ' in scope
149 |     return view
150 | #else
151 |     var protection: Int32 = PROT_READ
    |                             `- error: cannot find 'PROT_READ' in scope
152 |     if isWritable { protection |= PROT_WRITE }
153 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:152:35: error: cannot find 'PROT_WRITE' in scope
150 | #else
151 |     var protection: Int32 = PROT_READ
152 |     if isWritable { protection |= PROT_WRITE }
    |                                   `- error: cannot find 'PROT_WRITE' in scope
153 |
154 |     let mapFailed = UnsafeMutableRawPointer(bitPattern: -1)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:155:44: error: cannot find 'mmap' in scope
153 |
154 |     let mapFailed = UnsafeMutableRawPointer(bitPattern: -1)
155 |     let result: UnsafeMutableRawPointer? = mmap(
    |                                            `- error: cannot find 'mmap' in scope
156 |         nil, length, protection, MAP_SHARED, fileDescriptor, 0
157 |     )
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:156:34: error: cannot find 'MAP_SHARED' in scope
154 |     let mapFailed = UnsafeMutableRawPointer(bitPattern: -1)
155 |     let result: UnsafeMutableRawPointer? = mmap(
156 |         nil, length, protection, MAP_SHARED, fileDescriptor, 0
    |                                  `- error: cannot find 'MAP_SHARED' in scope
157 |     )
158 |     guard let result, _fastPath(result != mapFailed) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:156:9: error: 'nil' requires a contextual type
154 |     let mapFailed = UnsafeMutableRawPointer(bitPattern: -1)
155 |     let result: UnsafeMutableRawPointer? = mmap(
156 |         nil, length, protection, MAP_SHARED, fileDescriptor, 0
    |         `- error: 'nil' requires a contextual type
157 |     )
158 |     guard let result, _fastPath(result != mapFailed) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:170:5: error: cannot find 'munmap' in scope
168 |     UnmapViewOfFile(pointer)
169 | #else
170 |     munmap(pointer, length)
    |     `- error: cannot find 'munmap' in scope
171 | #endif
172 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:183:5: error: cannot find 'msync' in scope
181 |     FlushViewOfFile(pointer, SIZE_T(length))
182 | #else
183 |     msync(pointer, length, MS_SYNC)
    |     `- error: cannot find 'msync' in scope
184 | #endif
185 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/system.swift:183:28: error: cannot find 'MS_SYNC' in scope
181 |     FlushViewOfFile(pointer, SIZE_T(length))
182 | #else
183 |     msync(pointer, length, MS_SYNC)
    |                            `- error: cannot find 'MS_SYNC' in scope
184 | #endif
185 | }
BUILD FAILURE 6.2 wasm