Build Information
Failed to build swift-dwarf, reference main (2fc10d), with Swift 6.3 for Wasm on 14 Oct 2026 03:05:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-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.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/p-x9/swift-dwarf.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/p-x9/swift-dwarf
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2fc10d7 Merge pull request #30 from p-x9/feature/dwarf5-list-resolution
Cloned https://github.com/p-x9/swift-dwarf.git
Revision (git rev-parse @):
2fc10d78e00cc53d4962ec4e026be19b39be6b21
SUCCESS checkout https://github.com/p-x9/swift-dwarf.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/p-x9/swift-dwarf.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-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:df2e9038ff906af397ec7b7e13902ccb183f8867606bc33419e44453a9abdb4b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/p-x9/MachOKit.git
Fetching https://github.com/p-x9/ELFKit.git
Fetching https://github.com/p-x9/swift-fileio-extra.git
Fetching https://github.com/p-x9/swift-fileio.git
[1/690] Fetching swift-fileio
[643/781] Fetching swift-fileio, swift-fileio-extra
[755/8748] Fetching swift-fileio, swift-fileio-extra, machokit
Fetched https://github.com/p-x9/swift-fileio-extra.git from cache (0.37s)
Fetched https://github.com/p-x9/swift-fileio.git from cache (0.37s)
[957/7967] Fetching machokit
[7968/9902] Fetching machokit, elfkit
Fetched https://github.com/p-x9/ELFKit.git from cache (0.59s)
Fetched https://github.com/p-x9/MachOKit.git from cache (0.59s)
Computing version for https://github.com/p-x9/ELFKit.git
Computed https://github.com/p-x9/ELFKit.git at 0.6.0 (0.76s)
Fetching https://github.com/p-x9/swift-binary-parse-support.git
Fetching https://github.com/p-x9/ObjectArchiveKit.git
[1/256] Fetching swift-binary-parse-support
[127/515] Fetching swift-binary-parse-support, objectarchivekit
Fetched https://github.com/p-x9/swift-binary-parse-support.git from cache (0.37s)
Fetched https://github.com/p-x9/ObjectArchiveKit.git from cache (0.37s)
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.52s)
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.16s)
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.13s)
Computing version for https://github.com/p-x9/ObjectArchiveKit.git
Computed https://github.com/p-x9/ObjectArchiveKit.git at 0.5.0 (0.16s)
Computing version for https://github.com/p-x9/MachOKit.git
warning: 'machokit': /Package.swift:145:1: warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
143 | }
144 |
145 | extension SwiftSetting: CaseIterable {
| |- warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
146 | public static var allCases: [Self] {
147 | [
Computed https://github.com/p-x9/MachOKit.git at 0.54.1 (0.19s)
Fetching https://github.com/apple/swift-crypto.git
[1/18643] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.25s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (3.18s)
Fetching https://github.com/apple/swift-asn1.git
[1/2041] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.46s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.35s)
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/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/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/MachOKit.git
Working copy of https://github.com/p-x9/MachOKit.git resolved at 0.54.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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/p-x9/ELFKit.git
Working copy of https://github.com/p-x9/ELFKit.git resolved at 0.6.0
warning: 'machokit': /host/spi-builder-workspace/.build/checkouts/MachOKit/Package.swift:145:1: warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
143 | }
144 |
145 | extension SwiftSetting: CaseIterable {
| |- warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
146 | public static var allCases: [Self] {
147 | [
Building for debugging...
[0/12] Write sources
[8/12] Compiling DWARFC dummy.c
[9/12] Compiling ELFKitC dummy.c
[10/12] Compiling MachOKitC mach-o-linux.c
[11/12] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/32] Compiling FileIO ConcatenatedStreamedFile.swift
[14/32] Compiling FileIO MemoryMappedFile.swift
[15/32] Compiling FileIO FileIO.swift
[16/32] Compiling FileIO ConcatenatedMemoryMappedFile.swift
[17/32] 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 | }
[18/32] 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 | }
[19/32] Compiling FileIO StreamedFile.swift
[20/32] Compiling BinaryParseSupport FileHandle+.swift
[21/32] Compiling BinaryParseSupport String+.swift
[22/32] Emitting module BinaryParseSupport
[23/32] Compiling BinaryParseSupport UnsafePointer+.swift
[24/32] Compiling BinaryParseSupport Endian.swift
[25/32] Compiling BinaryParseSupport BinaryParseSupport.swift
[26/32] Compiling BinaryParseSupport Data+.swift
BUILD FAILURE 6.3 wasm