Build Information
Failed to build XCTAssertUnrecoverable, reference master (5181d1), with Swift 6.3 for Wasm on 20 Apr 2026 16:46:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ukitaka/XCTAssertUnrecoverable.git
Reference: master
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/ukitaka/XCTAssertUnrecoverable
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 5181d18 Use real file directory instead of symlink
Cloned https://github.com/ukitaka/XCTAssertUnrecoverable.git
Revision (git rev-parse @):
5181d1868d6ade8c215adff7eb38edcf63d4c38d
SUCCESS checkout https://github.com/ukitaka/XCTAssertUnrecoverable.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/ukitaka/XCTAssertUnrecoverable.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/5] Compiling XCTAssertUnrecoverable XCTAssertUnrecoverable.swift
/host/spi-builder-workspace/Sources/Fortify.swift:60:26: error: cannot find 'jmp_buf' in scope
58 | }
59 |
60 | private var stack = [jmp_buf]()
| `- error: cannot find 'jmp_buf' in scope
61 | public var error: Error?
62 |
/host/spi-builder-workspace/Sources/Fortify.swift:60:25: error: cannot call value of non-function type '[Any]'
58 | }
59 |
60 | private var stack = [jmp_buf]()
| `- error: cannot call value of non-function type '[Any]'
61 | public var error: Error?
62 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module XCTAssertUnrecoverable
/host/spi-builder-workspace/Sources/Fortify.swift:44:14: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
42 | }
43 |
44 | @_silgen_name ("setjmp")
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
45 | public func setjump(_: UnsafeMutablePointer<jmp_buf>!) -> Int32
46 |
/host/spi-builder-workspace/Sources/Fortify.swift:47:14: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
45 | public func setjump(_: UnsafeMutablePointer<jmp_buf>!) -> Int32
46 |
47 | @_silgen_name ("longjmp")
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
48 | public func longjump(_: UnsafeMutablePointer<jmp_buf>!, _: Int32) -> Never
49 |
/host/spi-builder-workspace/Sources/Fortify.swift:45:45: error: cannot find type 'jmp_buf' in scope
43 |
44 | @_silgen_name ("setjmp")
45 | public func setjump(_: UnsafeMutablePointer<jmp_buf>!) -> Int32
| `- error: cannot find type 'jmp_buf' in scope
46 |
47 | @_silgen_name ("longjmp")
/host/spi-builder-workspace/Sources/Fortify.swift:48:46: error: cannot find type 'jmp_buf' in scope
46 |
47 | @_silgen_name ("longjmp")
48 | public func longjump(_: UnsafeMutablePointer<jmp_buf>!, _: Int32) -> Never
| `- error: cannot find type 'jmp_buf' in scope
49 |
50 | private let empty_buf = [UInt8](repeating: 0, count: MemoryLayout<jmp_buf>.size)
/host/spi-builder-workspace/Sources/Fortify.swift:50:67: error: cannot find type 'jmp_buf' in scope
48 | public func longjump(_: UnsafeMutablePointer<jmp_buf>!, _: Int32) -> Never
49 |
50 | private let empty_buf = [UInt8](repeating: 0, count: MemoryLayout<jmp_buf>.size)
| `- error: cannot find type 'jmp_buf' in scope
51 |
52 | open class Fortify: ThreadLocal {
/host/spi-builder-workspace/Sources/Fortify.swift:60:26: error: cannot find 'jmp_buf' in scope
58 | }
59 |
60 | private var stack = [jmp_buf]()
| `- error: cannot find 'jmp_buf' in scope
61 | public var error: Error?
62 |
/host/spi-builder-workspace/Sources/Fortify.swift:60:25: error: cannot call value of non-function type '[Any]'
58 | }
59 |
60 | private var stack = [jmp_buf]()
| `- error: cannot call value of non-function type '[Any]'
61 | public var error: Error?
62 |
/host/spi-builder-workspace/Sources/Fortify.swift:80:13: error: cannot find 'signal' in scope
78 |
79 | public static let installHandlerOnce: Void = {
80 | _ = signal(SIGILL, { (signo: Int32) in
| `- error: cannot find 'signal' in scope
81 | Fortify.escape(msg: "Signal \(signo)")
82 | })
/host/spi-builder-workspace/Sources/Fortify.swift:80:20: error: cannot find 'SIGILL' in scope
78 |
79 | public static let installHandlerOnce: Void = {
80 | _ = signal(SIGILL, { (signo: Int32) in
| `- error: cannot find 'SIGILL' in scope
81 | Fortify.escape(msg: "Signal \(signo)")
82 | })
/host/spi-builder-workspace/Sources/Fortify.swift:83:13: error: cannot find 'signal' in scope
81 | Fortify.escape(msg: "Signal \(signo)")
82 | })
83 | _ = signal(SIGABRT, { (signo: Int32) in
| `- error: cannot find 'signal' in scope
84 | Fortify.escape(msg: "Signal \(signo)")
85 | })
/host/spi-builder-workspace/Sources/Fortify.swift:83:20: error: cannot find 'SIGABRT' in scope
81 | Fortify.escape(msg: "Signal \(signo)")
82 | })
83 | _ = signal(SIGABRT, { (signo: Int32) in
| `- error: cannot find 'SIGABRT' in scope
84 | Fortify.escape(msg: "Signal \(signo)")
85 | })
[5/5] Compiling XCTAssertUnrecoverable Fortify.swift
/host/spi-builder-workspace/Sources/Fortify.swift:44:14: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
42 | }
43 |
44 | @_silgen_name ("setjmp")
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
45 | public func setjump(_: UnsafeMutablePointer<jmp_buf>!) -> Int32
46 |
/host/spi-builder-workspace/Sources/Fortify.swift:47:14: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
45 | public func setjump(_: UnsafeMutablePointer<jmp_buf>!) -> Int32
46 |
47 | @_silgen_name ("longjmp")
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
48 | public func longjump(_: UnsafeMutablePointer<jmp_buf>!, _: Int32) -> Never
49 |
/host/spi-builder-workspace/Sources/Fortify.swift:45:45: error: cannot find type 'jmp_buf' in scope
43 |
44 | @_silgen_name ("setjmp")
45 | public func setjump(_: UnsafeMutablePointer<jmp_buf>!) -> Int32
| `- error: cannot find type 'jmp_buf' in scope
46 |
47 | @_silgen_name ("longjmp")
/host/spi-builder-workspace/Sources/Fortify.swift:48:46: error: cannot find type 'jmp_buf' in scope
46 |
47 | @_silgen_name ("longjmp")
48 | public func longjump(_: UnsafeMutablePointer<jmp_buf>!, _: Int32) -> Never
| `- error: cannot find type 'jmp_buf' in scope
49 |
50 | private let empty_buf = [UInt8](repeating: 0, count: MemoryLayout<jmp_buf>.size)
/host/spi-builder-workspace/Sources/Fortify.swift:50:67: error: cannot find type 'jmp_buf' in scope
48 | public func longjump(_: UnsafeMutablePointer<jmp_buf>!, _: Int32) -> Never
49 |
50 | private let empty_buf = [UInt8](repeating: 0, count: MemoryLayout<jmp_buf>.size)
| `- error: cannot find type 'jmp_buf' in scope
51 |
52 | open class Fortify: ThreadLocal {
/host/spi-builder-workspace/Sources/Fortify.swift:60:26: error: cannot find 'jmp_buf' in scope
58 | }
59 |
60 | private var stack = [jmp_buf]()
| `- error: cannot find 'jmp_buf' in scope
61 | public var error: Error?
62 |
/host/spi-builder-workspace/Sources/Fortify.swift:60:25: error: cannot call value of non-function type '[Any]'
58 | }
59 |
60 | private var stack = [jmp_buf]()
| `- error: cannot call value of non-function type '[Any]'
61 | public var error: Error?
62 |
/host/spi-builder-workspace/Sources/Fortify.swift:80:13: error: cannot find 'signal' in scope
78 |
79 | public static let installHandlerOnce: Void = {
80 | _ = signal(SIGILL, { (signo: Int32) in
| `- error: cannot find 'signal' in scope
81 | Fortify.escape(msg: "Signal \(signo)")
82 | })
/host/spi-builder-workspace/Sources/Fortify.swift:80:20: error: cannot find 'SIGILL' in scope
78 |
79 | public static let installHandlerOnce: Void = {
80 | _ = signal(SIGILL, { (signo: Int32) in
| `- error: cannot find 'SIGILL' in scope
81 | Fortify.escape(msg: "Signal \(signo)")
82 | })
/host/spi-builder-workspace/Sources/Fortify.swift:83:13: error: cannot find 'signal' in scope
81 | Fortify.escape(msg: "Signal \(signo)")
82 | })
83 | _ = signal(SIGABRT, { (signo: Int32) in
| `- error: cannot find 'signal' in scope
84 | Fortify.escape(msg: "Signal \(signo)")
85 | })
/host/spi-builder-workspace/Sources/Fortify.swift:83:20: error: cannot find 'SIGABRT' in scope
81 | Fortify.escape(msg: "Signal \(signo)")
82 | })
83 | _ = signal(SIGABRT, { (signo: Int32) in
| `- error: cannot find 'SIGABRT' in scope
84 | Fortify.escape(msg: "Signal \(signo)")
85 | })
/host/spi-builder-workspace/Sources/Fortify.swift:19:23: error: cannot find 'pthread_key_create' in scope
17 | let needsKey = keyVar.pointee == 0
18 | if needsKey {
19 | let ret = pthread_key_create(keyVar, {
| `- error: cannot find 'pthread_key_create' in scope
20 | #if os(Linux) || os(Android)
21 | Unmanaged<ThreadLocal>.fromOpaque($0!).release()
/host/spi-builder-workspace/Sources/Fortify.swift:30:27: error: cannot find 'pthread_getspecific' in scope
28 | }
29 | }
30 | if let existing = pthread_getspecific(keyVar.pointee) {
| `- error: cannot find 'pthread_getspecific' in scope
31 | return Unmanaged<T>.fromOpaque(existing).takeUnretainedValue()
32 | }
/host/spi-builder-workspace/Sources/Fortify.swift:35:23: error: cannot find 'pthread_setspecific' in scope
33 | else {
34 | let unmanaged = Unmanaged.passRetained(T())
35 | let ret = pthread_setspecific(keyVar.pointee, unmanaged.toOpaque())
| `- error: cannot find 'pthread_setspecific' in scope
36 | if ret != 0 {
37 | NSLog("Could not pthread_setspecific: %s", strerror(ret))
/host/spi-builder-workspace/Sources/Fortify.swift:70:31: error: cannot find 'dlopen' in scope
68 | let libName: String? = nil
69 | #endif
70 | if let stdlibHandle = dlopen(libName, Int32(RTLD_LAZY | RTLD_NOLOAD)),
| `- error: cannot find 'dlopen' in scope
71 | let disableExclusivity = dlsym(stdlibHandle, "_swift_disableExclusivityChecking") {
72 | disableExclusivity.assumingMemoryBound(to: Bool.self).pointee = true
/host/spi-builder-workspace/Sources/Fortify.swift:70:53: error: cannot find 'RTLD_LAZY' in scope
68 | let libName: String? = nil
69 | #endif
70 | if let stdlibHandle = dlopen(libName, Int32(RTLD_LAZY | RTLD_NOLOAD)),
| `- error: cannot find 'RTLD_LAZY' in scope
71 | let disableExclusivity = dlsym(stdlibHandle, "_swift_disableExclusivityChecking") {
72 | disableExclusivity.assumingMemoryBound(to: Bool.self).pointee = true
/host/spi-builder-workspace/Sources/Fortify.swift:70:65: error: cannot find 'RTLD_NOLOAD' in scope
68 | let libName: String? = nil
69 | #endif
70 | if let stdlibHandle = dlopen(libName, Int32(RTLD_LAZY | RTLD_NOLOAD)),
| `- error: cannot find 'RTLD_NOLOAD' in scope
71 | let disableExclusivity = dlsym(stdlibHandle, "_swift_disableExclusivityChecking") {
72 | disableExclusivity.assumingMemoryBound(to: Bool.self).pointee = true
/host/spi-builder-workspace/Sources/Fortify.swift:71:38: error: cannot find 'dlsym' in scope
69 | #endif
70 | if let stdlibHandle = dlopen(libName, Int32(RTLD_LAZY | RTLD_NOLOAD)),
71 | let disableExclusivity = dlsym(stdlibHandle, "_swift_disableExclusivityChecking") {
| `- error: cannot find 'dlsym' in scope
72 | disableExclusivity.assumingMemoryBound(to: Bool.self).pointee = true
73 | }
/host/spi-builder-workspace/Sources/Fortify.swift:95:67: error: cannot find 'jmp_buf' in scope
93 |
94 | empty_buf.withUnsafeBytes {
95 | let buf_ptr = $0.baseAddress!.assumingMemoryBound(to: jmp_buf.self)
| `- error: cannot find 'jmp_buf' in scope
96 | local.stack.append(buf_ptr.pointee)
97 | }
/host/spi-builder-workspace/Sources/Fortify.swift:127:13: error: cannot find 'pthread_setcancelstate' in scope
125 | // pthread_exit(nil) just crashes
126 | var oldState: Int32 = 0
127 | pthread_setcancelstate(Int32(PTHREAD_CANCEL_ENABLE), &oldState)
| `- error: cannot find 'pthread_setcancelstate' in scope
128 | pthread_setcanceltype(Int32(PTHREAD_CANCEL_DEFERRED), &oldState)
129 | // pthread_cancel() never seems to be implemented
/host/spi-builder-workspace/Sources/Fortify.swift:127:42: error: cannot find 'PTHREAD_CANCEL_ENABLE' in scope
125 | // pthread_exit(nil) just crashes
126 | var oldState: Int32 = 0
127 | pthread_setcancelstate(Int32(PTHREAD_CANCEL_ENABLE), &oldState)
| `- error: cannot find 'PTHREAD_CANCEL_ENABLE' in scope
128 | pthread_setcanceltype(Int32(PTHREAD_CANCEL_DEFERRED), &oldState)
129 | // pthread_cancel() never seems to be implemented
/host/spi-builder-workspace/Sources/Fortify.swift:128:13: error: cannot find 'pthread_setcanceltype' in scope
126 | var oldState: Int32 = 0
127 | pthread_setcancelstate(Int32(PTHREAD_CANCEL_ENABLE), &oldState)
128 | pthread_setcanceltype(Int32(PTHREAD_CANCEL_DEFERRED), &oldState)
| `- error: cannot find 'pthread_setcanceltype' in scope
129 | // pthread_cancel() never seems to be implemented
130 | let cancelled = pthread_cancel(pthread_self())
/host/spi-builder-workspace/Sources/Fortify.swift:128:41: error: cannot find 'PTHREAD_CANCEL_DEFERRED' in scope
126 | var oldState: Int32 = 0
127 | pthread_setcancelstate(Int32(PTHREAD_CANCEL_ENABLE), &oldState)
128 | pthread_setcanceltype(Int32(PTHREAD_CANCEL_DEFERRED), &oldState)
| `- error: cannot find 'PTHREAD_CANCEL_DEFERRED' in scope
129 | // pthread_cancel() never seems to be implemented
130 | let cancelled = pthread_cancel(pthread_self())
/host/spi-builder-workspace/Sources/Fortify.swift:130:29: error: cannot find 'pthread_cancel' in scope
128 | pthread_setcanceltype(Int32(PTHREAD_CANCEL_DEFERRED), &oldState)
129 | // pthread_cancel() never seems to be implemented
130 | let cancelled = pthread_cancel(pthread_self())
| `- error: cannot find 'pthread_cancel' in scope
131 | if cancelled != 0 {
132 | NSLog("pthread_cancel() failed: %s", strerror(cancelled))
/host/spi-builder-workspace/Sources/Fortify.swift:130:44: error: cannot find 'pthread_self' in scope
128 | pthread_setcanceltype(Int32(PTHREAD_CANCEL_DEFERRED), &oldState)
129 | // pthread_cancel() never seems to be implemented
130 | let cancelled = pthread_cancel(pthread_self())
| `- error: cannot find 'pthread_self' in scope
131 | if cancelled != 0 {
132 | NSLog("pthread_cancel() failed: %s", strerror(cancelled))
/host/spi-builder-workspace/Sources/Fortify.swift:137:13: error: cannot find 'Thread' in scope
135 | #endif
136 | NSLog("cancel/exit not available/implemented or crashes, parking thread")
137 | Thread.sleep(until: Date.distantFuture)
| `- error: cannot find 'Thread' in scope
138 | }
139 |
BUILD FAILURE 6.3 wasm