The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build xcparse, reference 2.3.2 (fdba6f), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 09:50:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChargePoint/xcparse.git
Reference: 2.3.2
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/ChargePoint/xcparse
 * tag               2.3.2      -> FETCH_HEAD
HEAD is now at fdba6f6 [no-jira] Update current version to 2.3.2
Cloned https://github.com/ChargePoint/xcparse.git
Revision (git rev-parse @):
fdba6f63882f8dff5a8a8b8d772aa28d74e7862e
SUCCESS checkout https://github.com/ChargePoint/xcparse.git at 2.3.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ChargePoint/xcparse.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-tools-support-core.git
[1/6856] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.78s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.3.0 (1.76s)
Fetching https://github.com/apple/swift-system.git
[1/4436] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.62s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (1.37s)
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.3.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.1.1
Building for debugging...
[0/21] Write sources
[8/21] Compiling CSystem shims.c
[9/21] Compiling TSCclibc process.c
[10/21] Compiling TSCclibc libc.c
[11/21] Write swift-version-24593BA9C3E375BF.txt
[13/47] Compiling testUtility Resource.swift
/host/spi-builder-workspace/Tests/Utility/FileManagerExtensions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension FileManager {
[14/47] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:17:19: error: no such module 'Darwin.C'
 15 | @_exported import WinSDK
 16 | #else
 17 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 18 | #endif
 19 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/47] Emitting module TSCLibc
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:17:19: error: no such module 'Darwin.C'
 15 | @_exported import WinSDK
 16 | #else
 17 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 18 | #endif
 19 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:26:8: error: Unsupported Platform
24 | import ucrt
25 | #else
26 | #error("Unsupported Platform")
   |        `- error: Unsupported Platform
27 | #endif
28 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:23:8: error: Unsupported Platform
 21 | import ucrt
 22 | #else
 23 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 24 | #endif
 25 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Exports.swift:24:8: error: Unsupported Platform
 22 | import ucrt
 23 | #else
 24 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 25 | #endif
 26 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:17:8: error: Unsupported Platform
 15 | import ucrt
 16 | #else
 17 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 18 | #endif
 19 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Exports.swift:132:38: error: cannot find type 'pthread_key_t' in scope
130 | internal typealias _PlatformTLSKey = DWORD
131 | #else
132 | internal typealias _PlatformTLSKey = pthread_key_t
    |                                      `- error: cannot find type 'pthread_key_t' in scope
133 | #endif
134 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Exports.swift:27:29: error: cannot find type 'off_t' in scope
 25 | #endif
 26 |
 27 | internal typealias _COffT = off_t
    |                             `- error: cannot find type 'off_t' in scope
 28 |
 29 | // MARK: syscalls and variables
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Mocking.swift:93:27: error: 'nil' requires a contextual type
 91 |         setTLS(driverKey, Unmanaged.passUnretained(object).toOpaque())
 92 |       } else {
 93 |         setTLS(driverKey, nil)
    |                           `- error: 'nil' requires a contextual type
 94 |       }
 95 |       _fixLifetime(driver)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:35:27: error: cannot find type 'mode_t' in scope
33 |   public typealias Mode = CInt
34 | #else
35 |   public typealias Mode = mode_t
   |                           `- error: cannot find type 'mode_t' in scope
36 | #endif
37 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:67:73: error: cannot find type 'off_t' in scope
 65 | // pread
 66 | internal func system_pread(
 67 |   _ fd: Int32, _ buf: UnsafeMutableRawPointer!, _ nbyte: Int, _ offset: off_t
    |                                                                         `- error: cannot find type 'off_t' in scope
 68 | ) -> Int {
 69 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:78:6: error: cannot find type 'off_t' in scope
 76 | internal func system_lseek(
 77 |   _ fd: Int32, _ off: off_t, _ whence: Int32
 78 | ) -> off_t {
    |      `- error: cannot find type 'off_t' in scope
 79 | #if ENABLE_MOCKING
 80 |   if mockingEnabled { return _mockOffT(fd, off, whence) }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:77:23: error: cannot find type 'off_t' in scope
 75 | // lseek
 76 | internal func system_lseek(
 77 |   _ fd: Int32, _ off: off_t, _ whence: Int32
    |                       `- error: cannot find type 'off_t' in scope
 78 | ) -> off_t {
 79 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:97:66: error: cannot find type 'off_t' in scope
 95 | // pwrite
 96 | internal func system_pwrite(
 97 |   _ fd: Int32, _ buf: UnsafeRawPointer!, _ nbyte: Int, _ offset: off_t
    |                                                                  `- error: cannot find type 'off_t' in scope
 98 | ) -> Int {
 99 | #if ENABLE_MOCKING
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:32:10: error: cannot find 'open' in scope
 30 |   }
 31 | #endif
 32 |   return open(path, oflag)
    |          `- error: cannot find 'open' in scope
 33 | }
 34 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:44:10: error: cannot find 'open' in scope
 42 |   }
 43 | #endif
 44 |   return open(path, oflag, mode)
    |          `- error: cannot find 'open' in scope
 45 | }
 46 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:52:10: error: cannot find 'close' in scope
 50 |   if mockingEnabled { return _mock(fd) }
 51 | #endif
 52 |   return close(fd)
    |          `- error: cannot find 'close' in scope
 53 | }
 54 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:62:10: error: cannot find 'read' in scope
 60 |   if mockingEnabled { return _mockInt(fd, buf, nbyte) }
 61 | #endif
 62 |   return read(fd, buf, nbyte)
    |          `- error: cannot find 'read' in scope
 63 | }
 64 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:72:10: error: cannot find 'pread' in scope
 70 |   if mockingEnabled { return _mockInt(fd, buf, nbyte, offset) }
 71 | #endif
 72 |   return pread(fd, buf, nbyte, offset)
    |          `- error: cannot find 'pread' in scope
 73 | }
 74 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:92:10: error: cannot find 'write' in scope
 90 |   if mockingEnabled { return _mockInt(fd, buf, nbyte) }
 91 | #endif
 92 |   return write(fd, buf, nbyte)
    |          `- error: cannot find 'write' in scope
 93 | }
 94 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:102:10: error: cannot find 'pwrite' in scope
100 |   if mockingEnabled { return _mockInt(fd, buf, nbyte, offset) }
101 | #endif
102 |   return pwrite(fd, buf, nbyte, offset)
    |          `- error: cannot find 'pwrite' in scope
103 | }
104 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:109:10: error: cannot find 'dup' in scope
107 |   if mockingEnabled { return _mock(fd) }
108 |   #endif
109 |   return dup(fd)
    |          `- error: cannot find 'dup' in scope
110 | }
111 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:116:10: error: cannot find 'dup2' in scope
114 |   if mockingEnabled { return _mock(fd, fd2) }
115 |   #endif
116 |   return dup2(fd, fd2)
    |          `- error: cannot find 'dup2' in scope
117 | }
118 | #if !os(Windows)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:123:10: error: cannot find 'pipe' in scope
121 |   if mockingEnabled { return _mock(fds) }
122 | #endif
123 |   return pipe(fds)
    |          `- error: cannot find 'pipe' in scope
124 | }
125 | #endif
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/47] Emitting module testUtility
/host/spi-builder-workspace/Tests/Utility/FileManagerExtensions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension FileManager {
BUILD FAILURE 6.2 wasm