Build Information
Failed to build ASN1Kit, reference master (646605), with Swift 6.3 for Wasm on 17 Apr 2026 11:39:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/PADL/ASN1Kit.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/PADL/ASN1Kit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 6466059 replace Commandant dependency with swift-argument-parser
Cloned https://github.com/PADL/ASN1Kit.git
Revision (git rev-parse @):
6466059eb7134887cb510fb74ce246f859d8f9d6
SUCCESS checkout https://github.com/PADL/ASN1Kit.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/PADL/ASN1Kit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
Fetching https://github.com/gematik/ref-GemCommonsKit
[1/415] Fetching ref-gemcommonskit
Fetched https://github.com/gematik/ref-GemCommonsKit from cache (0.33s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/SwiftCommon/DataKit.git
Fetching http://github.com/Quick/Nimble
[1/1224] Fetching datakit
[1225/18747] Fetching datakit, swift-argument-parser
[4905/38570] Fetching datakit, swift-argument-parser, nimble
Fetched https://github.com/apple/swift-argument-parser from cache (1.16s)
[16290/21047] Fetching datakit, nimble
Fetched https://github.com/SwiftCommon/DataKit.git from cache (2.09s)
Fetched http://github.com/Quick/Nimble from cache (2.13s)
Computing version for https://github.com/SwiftCommon/DataKit.git
Computed https://github.com/SwiftCommon/DataKit.git at 1.1.0 (3.02s)
Computing version for http://github.com/Quick/Nimble
Computed http://github.com/Quick/Nimble at 9.2.1 (0.82s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.30s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.96s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.34s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.14s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.67s)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/gematik/ref-GemCommonsKit
Working copy of https://github.com/gematik/ref-GemCommonsKit resolved at 1.2.0 (699ab9c)
Creating working copy for https://github.com/SwiftCommon/DataKit.git
Working copy of https://github.com/SwiftCommon/DataKit.git resolved at 1.1.0
Creating working copy for http://github.com/Quick/Nimble
Working copy of http://github.com/Quick/Nimble resolved at 9.2.1
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/17] Write sources
[8/17] Write swift-version-24593BA9C3E375BF.txt
[10/39] Emitting module ArgumentParserToolInfo
[11/39] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/40] Wrapping AST for ArgumentParserToolInfo for debugging
[14/86] Compiling ArgumentParser OptionGroup.swift
[15/86] Compiling ArgumentParser DumpHelpGenerator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/87] Emitting module GemCommonsKit
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/BlockingVar.swift:32:23: error: cannot find type 'NSConditionLock' in scope
30 |
31 | private var _value: T!
32 | private let lock: NSConditionLock
| `- error: cannot find type 'NSConditionLock' in scope
33 |
34 | /// Initialize w/o value
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/Extension/Data+IO.swift:33:63: error: type 'Data.WritingOptions' has no member 'atomicWrite'
31 | - Returns: Result of the write by returning the URL and self upon success.
32 | */
33 | public func save(to file: URL, options: WritingOptions = .atomicWrite) -> Result<WriteResult, Error> {
| `- error: type 'Data.WritingOptions' has no member 'atomicWrite'
34 | return Result {
35 | try FileManager.default.createDirectory(at: file.deletingLastPathComponent(),
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/Extension/Thread+Internal.swift:19:11: error: cannot find type 'Thread' in scope
17 | import Foundation
18 |
19 | extension Thread {
| `- error: cannot find type 'Thread' in scope
20 | /**
21 | Tells whether the Thread has not been started.
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/Extension/Thread+Internal.swift:31:11: error: cannot find type 'Thread' in scope
29 | }
30 |
31 | extension Thread {
| `- error: cannot find type 'Thread' in scope
32 | /// Internal extension
33 | var threadName: String {
[17/87] Compiling ArgumentParser ArgumentVisibility.swift
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/BlockingVar.swift:32:23: error: cannot find type 'NSConditionLock' in scope
30 |
31 | private var _value: T!
32 | private let lock: NSConditionLock
| `- error: cannot find type 'NSConditionLock' in scope
33 |
34 | /// Initialize w/o value
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/BlockingVar.swift:36:16: error: cannot find 'NSConditionLock' in scope
34 | /// Initialize w/o value
35 | public init() {
36 | lock = NSConditionLock(condition: State.empty.rawValue)
| `- error: cannot find 'NSConditionLock' in scope
37 | }
38 |
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/BlockingVar.swift:42:16: error: cannot find 'NSConditionLock' in scope
40 | public init(_ value: T) {
41 | _value = value
42 | lock = NSConditionLock(condition: State.fulfilled.rawValue)
| `- error: cannot find 'NSConditionLock' in scope
43 | }
44 |
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/BlockingVar.swift:48:16: error: cannot find 'Thread' in scope
46 | public var value: T {
47 | get {
48 | if Thread.isMainThread {
| `- error: cannot find 'Thread' in scope
49 | // wait for self.isFulfilled
50 | while !isFulfilled {
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/BlockingVar.swift:52:37: error: value of type 'RunLoop' has no member 'run'
50 | while !isFulfilled {
51 | ALog("Caution: trying to obtain a lock on the main thread")
52 | RunLoop.current.run(mode: .default, before: Date(timeIntervalSinceNow: 0.001))
| `- error: value of type 'RunLoop' has no member 'run'
53 | }
54 | }
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/BlockingVar.swift:52:48: error: cannot infer contextual base in reference to member 'default'
50 | while !isFulfilled {
51 | ALog("Caution: trying to obtain a lock on the main thread")
52 | RunLoop.current.run(mode: .default, before: Date(timeIntervalSinceNow: 0.001))
| `- error: cannot infer contextual base in reference to member 'default'
53 | }
54 | }
[18/87] Compiling ArgumentParser CompletionKind.swift
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/BlockingVar.swift:32:23: error: cannot find type 'NSConditionLock' in scope
30 |
31 | private var _value: T!
32 | private let lock: NSConditionLock
| `- error: cannot find type 'NSConditionLock' in scope
33 |
34 | /// Initialize w/o value
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/BlockingVar.swift:36:16: error: cannot find 'NSConditionLock' in scope
34 | /// Initialize w/o value
35 | public init() {
36 | lock = NSConditionLock(condition: State.empty.rawValue)
| `- error: cannot find 'NSConditionLock' in scope
37 | }
38 |
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/BlockingVar.swift:42:16: error: cannot find 'NSConditionLock' in scope
40 | public init(_ value: T) {
41 | _value = value
42 | lock = NSConditionLock(condition: State.fulfilled.rawValue)
| `- error: cannot find 'NSConditionLock' in scope
43 | }
44 |
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/BlockingVar.swift:48:16: error: cannot find 'Thread' in scope
46 | public var value: T {
47 | get {
48 | if Thread.isMainThread {
| `- error: cannot find 'Thread' in scope
49 | // wait for self.isFulfilled
50 | while !isFulfilled {
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/BlockingVar.swift:52:37: error: value of type 'RunLoop' has no member 'run'
50 | while !isFulfilled {
51 | ALog("Caution: trying to obtain a lock on the main thread")
52 | RunLoop.current.run(mode: .default, before: Date(timeIntervalSinceNow: 0.001))
| `- error: value of type 'RunLoop' has no member 'run'
53 | }
54 | }
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/BlockingVar.swift:52:48: error: cannot infer contextual base in reference to member 'default'
50 | while !isFulfilled {
51 | ALog("Caution: trying to obtain a lock on the main thread")
52 | RunLoop.current.run(mode: .default, before: Date(timeIntervalSinceNow: 0.001))
| `- error: cannot infer contextual base in reference to member 'default'
53 | }
54 | }
[19/87] Compiling ArgumentParser HelpCommand.swift
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/Extension/Thread+Internal.swift:19:11: error: cannot find type 'Thread' in scope
17 | import Foundation
18 |
19 | extension Thread {
| `- error: cannot find type 'Thread' in scope
20 | /**
21 | Tells whether the Thread has not been started.
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/Extension/Thread+Internal.swift:31:11: error: cannot find type 'Thread' in scope
29 | }
30 |
31 | extension Thread {
| `- error: cannot find type 'Thread' in scope
32 | /// Internal extension
33 | var threadName: String {
[20/87] Compiling ArgumentParser HelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/Extension/Thread+Internal.swift:19:11: error: cannot find type 'Thread' in scope
17 | import Foundation
18 |
19 | extension Thread {
| `- error: cannot find type 'Thread' in scope
20 | /**
21 | Tells whether the Thread has not been started.
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/Extension/Thread+Internal.swift:31:11: error: cannot find type 'Thread' in scope
29 | }
30 |
31 | extension Thread {
| `- error: cannot find type 'Thread' in scope
32 | /// Internal extension
33 | var threadName: String {
[21/87] Compiling GemCommonsKit WeakRef.swift
[22/87] Emitting module ArgumentParser
[23/87] Compiling ArgumentParser NameSpecification.swift
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/Extension/Data+IO.swift:33:63: error: type 'Data.WritingOptions' has no member 'atomicWrite'
31 | - Returns: Result of the write by returning the URL and self upon success.
32 | */
33 | public func save(to file: URL, options: WritingOptions = .atomicWrite) -> Result<WriteResult, Error> {
| `- error: type 'Data.WritingOptions' has no member 'atomicWrite'
34 | return Result {
35 | try FileManager.default.createDirectory(at: file.deletingLastPathComponent(),
[24/87] Compiling ArgumentParser Option.swift
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/Extension/Data+IO.swift:33:63: error: type 'Data.WritingOptions' has no member 'atomicWrite'
31 | - Returns: Result of the write by returning the URL and self upon success.
32 | */
33 | public func save(to file: URL, options: WritingOptions = .atomicWrite) -> Result<WriteResult, Error> {
| `- error: type 'Data.WritingOptions' has no member 'atomicWrite'
34 | return Result {
35 | try FileManager.default.createDirectory(at: file.deletingLastPathComponent(),
[25/87] Compiling GemCommonsKit WeakArray.swift
[26/87] Compiling ArgumentParser MessageInfo.swift
[27/87] Compiling ArgumentParser UsageGenerator.swift
[28/87] Compiling DataKit Data+UTF8String.swift
[29/87] Compiling ArgumentParser Errors.swift
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/DLog.swift:85:23: error: cannot find 'Thread' in scope
83 |
84 | #endif // iOS
85 | NSLog("[Thread: \(Thread.current.threadName)]:[D]" +
| `- error: cannot find 'Thread' in scope
86 | "[\(URL(fileURLWithPath: filename).lastPathComponent):\(line)] \(function) - %@", message())
87 | #endif // DEBUG
[30/87] Compiling ArgumentParser Flag.swift
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/DLog.swift:85:23: error: cannot find 'Thread' in scope
83 |
84 | #endif // iOS
85 | NSLog("[Thread: \(Thread.current.threadName)]:[D]" +
| `- error: cannot find 'Thread' in scope
86 | "[\(URL(fileURLWithPath: filename).lastPathComponent):\(line)] \(function) - %@", message())
87 | #endif // DEBUG
[31/93] Compiling DataKit Array+Data.swift
[32/93] Emitting module DataKit
BUILD FAILURE 6.3 wasm