Build Information
Failed to build swift-demangling, reference 0.7.3 (68d749), with Swift 6.3 for Wasm on 9 Nov 2026 13:41:07 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MxIris-Reverse-Engineering/swift-demangling.git
Reference: 0.7.3
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
* tag 0.7.3 -> FETCH_HEAD
HEAD is now at 68d7491 Merge branch 'next'
Cloned https://github.com/MxIris-Reverse-Engineering/swift-demangling.git
Revision (git rev-parse @):
68d74919c51aa1accdef20ba7cdad94f5b4ee3b6
SUCCESS checkout https://github.com/MxIris-Reverse-Engineering/swift-demangling.git at 0.7.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
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-53886770-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:3045625b85c7b3a40ef7c4e596cfe3f6119a575d9bb01341bbf4a893a5aa001c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/MxIris-Reverse-Engineering/MachOKit
Fetching https://github.com/Mx-Iris/FrameworkToolbox
[1/2613] Fetching frameworktoolbox
[28/10636] Fetching frameworktoolbox, machokit
Fetched https://github.com/MxIris-Reverse-Engineering/MachOKit from cache (0.56s)
Fetched https://github.com/Mx-Iris/FrameworkToolbox from cache (0.56s)
Computing version for https://github.com/MxIris-Reverse-Engineering/MachOKit
Computed https://github.com/MxIris-Reverse-Engineering/MachOKit at 0.55.102 (0.78s)
Fetching https://github.com/p-x9/swift-fileio-extra.git
Fetching https://github.com/p-x9/swift-binary-parse-support.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/p-x9/ObjectArchiveKit.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/p-x9/swift-fileio.git
[1/690] Fetching swift-fileio
[36/946] Fetching swift-fileio, swift-binary-parse-support
[475/1205] Fetching swift-fileio, swift-binary-parse-support, objectarchivekit
[1206/3270] Fetching swift-fileio, swift-binary-parse-support, objectarchivekit, swift-asn1
Fetched https://github.com/p-x9/swift-fileio.git from cache (0.40s)
[681/2580] Fetching swift-binary-parse-support, objectarchivekit, swift-asn1
[1198/2671] Fetching swift-binary-parse-support, objectarchivekit, swift-asn1, swift-fileio-extra
Fetched https://github.com/p-x9/swift-fileio-extra.git from cache (0.44s)
[1796/2580] Fetching swift-binary-parse-support, objectarchivekit, swift-asn1
Fetched https://github.com/p-x9/swift-binary-parse-support.git from cache (0.44s)
Fetched https://github.com/p-x9/ObjectArchiveKit.git from cache (0.44s)
[1322/2065] Fetching swift-asn1
[2066/20989] Fetching swift-asn1, swift-crypto
Fetched https://github.com/apple/swift-asn1.git from cache (1.29s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.30s)
Computing version for https://github.com/p-x9/ObjectArchiveKit.git
Computed https://github.com/p-x9/ObjectArchiveKit.git at 0.5.0 (1.48s)
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.14s)
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.17s)
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.14s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (0.19s)
Computing version for https://github.com/Mx-Iris/FrameworkToolbox
Computed https://github.com/Mx-Iris/FrameworkToolbox at 0.17.1 (0.24s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/81896] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.08s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (5.10s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.3.1 (0.25s)
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/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/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/MxIris-Reverse-Engineering/MachOKit
Working copy of https://github.com/MxIris-Reverse-Engineering/MachOKit resolved at 0.55.102
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/ObjectArchiveKit.git
Working copy of https://github.com/p-x9/ObjectArchiveKit.git resolved at 0.5.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/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/Mx-Iris/FrameworkToolbox
Working copy of https://github.com/Mx-Iris/FrameworkToolbox resolved at 0.17.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.3.2-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.3.2-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz (0.21s)
Building for debugging...
[0/38] Write sources
[14/38] Compiling MachOKitC mach-o-linux.c
[15/38] Write sources
[16/38] Compiling PointerAuthenticationSupport PointerAuthenticationSupport.c
[17/38] Write sources
[19/38] Compiling DemanglingTestingSupportC CMallocCounter.c
[20/38] Write swift-version-24593BA9C3E375BF.txt
[21/83] Compiling DemanglingTestingSupportC CDemangleTree.cpp
[23/83] Emitting module MacroToolbox
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/85] 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 | }
[25/85] Compiling MacroToolbox TokenSyntax+Unescaped.swift
[26/85] Compiling MacroToolbox TypeSyntax+Optional.swift
[27/85] Compiling MacroToolbox ExpressionDecodable+StandardLibrary.swift
[28/85] Compiling MacroToolbox ExpressionDecodable.swift
[29/85] Compiling MacroToolbox ExpressionDecodableFromIdentifier.swift
[30/85] Emitting module DyldToolboxMacros
[31/85] Compiling DyldToolboxMacros DyldDynamicInterposeMacro.swift
[32/85] Compiling MacroToolbox AttributeSyntax+Mirroring.swift
[33/85] Compiling MacroToolbox ExprSyntax+Expecting.swift
[34/85] Compiling MacroToolbox MacroExpansionError.swift
[35/85] Compiling MacroToolbox MetatypeExpression.swift
[36/85] Compiling MacroToolbox ExpressionListDecodingError.swift
[37/85] Compiling MacroToolbox MacroExpansionDiagnostics.swift
[38/85] Compiling DyldToolboxMacros DyldInterposeSupport.swift
[39/85] Compiling DyldToolboxMacros DyldInterposeMacro.swift
[40/85] Compiling DyldToolboxMacros MainPlugin.swift
[41/86] Wrapping AST for DyldToolboxMacros for debugging
[42/86] Write Objects.LinkFileList
[44/86] Compiling MacroToolbox ExpressionListDecoder.swift
[45/86] Compiling MacroToolbox ExpressionListDecoderField.swift
[46/86] Compiling MacroToolbox LockMacroProtocol.swift
[47/86] Compiling MacroToolbox LockPropertyParser.swift
[48/86] Compiling MacroToolbox ExpressionDecodableFromStringLiteral.swift
[49/86] Compiling MacroToolbox ExpressionDecodingError.swift
[50/86] Compiling MacroToolbox ExpressionListDecodable.swift
[52/87] Compiling FrameworkToolboxMacros FrameworkToolboxMacroPlugin.swift
[52/87] Linking DyldToolboxMacros-tool
[53/87] Wrapping AST for MacroToolbox for debugging
[55/132] Emitting module FrameworkToolboxMacros
[56/132] Compiling FrameworkToolboxMacros FrameworkToolboxCompatibleMacro.swift
[58/133] Compiling OSToolboxMacros MutexMacro.swift
[59/134] Compiling OSToolboxMacros MainPlugin.swift
[59/134] Wrapping AST for FrameworkToolboxMacros for debugging
[60/134] Write Objects.LinkFileList
[62/134] Compiling SwiftStdlibToolboxMacros MemberTypeSyntax+Extensions.swift
[63/134] Compiling SwiftStdlibToolboxMacros TypeDeclSyntax+Extensions.swift
[64/134] Compiling SwiftStdlibToolboxMacros TypeSyntax+Extensions.swift
[65/134] Compiling SwiftStdlibToolboxMacros VariableDeclSyntax+Extensions.swift
[66/137] Compiling FoundationToolboxMacros MainPlugin.swift
[67/137] Compiling FoundationToolboxMacros ObjectiveCBridgeableMacro.swift
[68/138] Compiling FoundationToolboxMacros StoragePublisherProjection.swift
[69/138] Compiling FoundationToolboxMacros URLMacro.swift
[70/138] Compiling OSToolboxMacros LoggableMacro.swift
[71/138] Compiling FoundationToolboxMacros SelectorMacro.swift
[72/138] Compiling FoundationToolboxMacros StoragePublisherProjectionMacro.swift
[73/138] Compiling OSToolboxMacros OSAllocatedUnfairLockMacro.swift
[74/138] Compiling OSToolboxMacros OSLogFormatSupport.swift
[75/138] Compiling OSToolboxMacros SignpostMacro.swift
[76/138] Compiling OSToolboxMacros SignpostableMacro.swift
[77/138] 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 | }
[78/138] Compiling FoundationToolboxMacros KeychainMacro.swift
[79/138] Emitting module FoundationToolboxMacros
[80/138] Compiling BinaryParseSupport MemorySequence.swift
[81/139] Compiling SwiftStdlibToolboxMacros AddAsyncAllMembersMacro.swift
[82/139] Compiling SwiftStdlibToolboxMacros AddAsyncMacro.swift
[83/139] Compiling SwiftStdlibToolboxMacros AddAsyncMacroCore.swift
[84/139] Compiling SwiftStdlibToolboxMacros AddCompletionHandlerMacro.swift
[85/139] Compiling SwiftStdlibToolboxMacros AssociatedValueMacro.swift
[86/139] Compiling SwiftStdlibToolboxMacros AsyncBridgingSupport.swift
[89/139] Compiling SwiftStdlibToolboxMacros AvailableMacro.swift
[90/139] Compiling SwiftStdlibToolboxMacros BijectionMacro.swift
[91/139] Emitting module SwiftStdlibToolboxMacros
[92/139] Compiling FileIO StreamedFile.swift
[93/139] Compiling SwiftStdlibToolboxMacros EnumerationDeclarationSupport.swift
[94/139] Compiling SwiftStdlibToolboxMacros Closure.swift
[95/139] Compiling SwiftStdlibToolboxMacros EquatableHashingMacros.swift
[96/139] Compiling SwiftStdlibToolboxMacros EquatableIgnoredMacro.swift
[97/139] Emitting module BinaryParseSupport
[100/139] Compiling FileIO MemoryMappedFile.swift
[101/139] Compiling FileIO FileIO.swift
[102/139] Compiling FileIO ConcatenatedMemoryMappedFile.swift
[103/139] Compiling FileIO ConcatenatedStreamedFile.swift
[104/139] Emitting module OSToolboxMacros
[105/139] Compiling BinaryParseSupport DataSequence.swift
[106/139] Compiling SwiftStdlibToolboxMacros BitFieldMacro.swift
[107/139] Compiling SwiftStdlibToolboxMacros CaseCheckableMacro.swift
[109/140] Linking FrameworkToolboxMacros-tool
BUILD FAILURE 6.3 wasm