Build Information
Failed to build ASN1Kit, reference master (646605), with Swift 6.1 for Wasm on 5 Nov 2025 10:27:14 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/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.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.1
Building package at path: $PWD
https://github.com/PADL/ASN1Kit.git
https://github.com/PADL/ASN1Kit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "9.2.0",
"upper_bound" : "10.0.0"
}
]
},
"type" : "sourceControl",
"url" : "http://github.com/Quick/Nimble"
},
{
"identity" : "datakit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftCommon/DataKit.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "ref-gemcommonskit",
"requirement" : {
"branch" : [
"1.2.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/gematik/ref-GemCommonsKit"
}
],
"manifest_display_name" : "ASN1Kit",
"name" : "ASN1Kit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "9.0"
},
{
"name" : "watchos",
"version" : "2.0"
}
],
"products" : [
{
"name" : "ASN1Kit",
"targets" : [
"ASN1Kit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CLI",
"targets" : [
"CLI",
"ASN1Kit"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "CLI",
"module_type" : "SwiftTarget",
"name" : "CLI",
"path" : "Sources/CLI",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"CLI"
],
"sources" : [
"ParseCommand.swift",
"VersionCommand.swift",
"main.swift"
],
"target_dependencies" : [
"ASN1Kit"
],
"type" : "executable"
},
{
"c99name" : "ASN1KitTests",
"module_type" : "SwiftTarget",
"name" : "ASN1KitTests",
"path" : "Tests/ASN1KitTests",
"product_dependencies" : [
"Nimble"
],
"sources" : [
"ASN1ConstructedEncodingTest.swift",
"ASN1DecodedTagEncodingTest.swift",
"ASN1DecoderTest.swift",
"ASN1LengthEncodingTest.swift",
"ASN1ObjectExtEncodingTest.swift",
"ASN1PrimitiveEncodingTest.swift",
"DataScannerTest.swift",
"EquatableASN1Object.swift",
"ObjectIdentifierTest.swift",
"OutputStreamBuffer.swift",
"XCTestManifests.swift",
"encodable/ArrayExtASN1EncodingTest.swift",
"encodable/BitStringASN1EncodingTest.swift",
"encodable/BoolExtASN1EncodingTest.swift",
"encodable/DataExtASN1EncodingTest.swift",
"encodable/DateExtASN1EncodingTest.swift",
"encodable/IntExtASN1EncodingTest.swift",
"encodable/StringExtASN1EncodingTest.swift",
"extension/DataExtASN1IntTest.swift",
"extension/DataExtUIntTest.swift",
"extension/IntExtLengthTest.swift",
"extension/Nimbe+ASN1Data.swift",
"extension/UIntExtTagNoTest.swift"
],
"target_dependencies" : [
"ASN1Kit"
],
"type" : "test"
},
{
"c99name" : "ASN1Kit",
"module_type" : "SwiftTarget",
"name" : "ASN1Kit",
"path" : "Sources/ASN1Kit",
"product_dependencies" : [
"DataKit",
"GemCommonsKit"
],
"product_memberships" : [
"ASN1Kit",
"CLI"
],
"sources" : [
"ASN1Data.swift",
"ASN1DecodedTag.swift",
"ASN1Decoder.swift",
"ASN1Error.swift",
"ASN1Int.swift",
"ASN1Object.swift",
"ASN1Tag.swift",
"DataScanner.swift",
"ObjectIdentifier.swift",
"encodable/ASN1CodableType.swift",
"encodable/ASN1Object+Encoding.swift",
"encodable/Array+ASN1Encoding.swift",
"encodable/Bool+ASN1Encoding.swift",
"encodable/Data+ASN1Encoding.swift",
"encodable/Date+ASN1Encoding.swift",
"encodable/GeneralizedTimeDateFormatter.swift",
"encodable/Int+ASN1Encoding.swift",
"encodable/String+ASN1Encoding.swift",
"extension/ASN1DecodedTag+Encoding.swift",
"extension/ASN1Object+Subscript.swift",
"extension/ASN1Primitive+Description.swift",
"extension/Data+ASN1Int.swift",
"extension/Data+UInt.swift",
"extension/Int+Length.swift",
"extension/OutputStream+UInt8.swift",
"extension/String+Subscript.swift",
"extension/UInt+TagNo.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
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/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/gematik/ref-GemCommonsKit
[1/415] Fetching ref-gemcommonskit
Fetched https://github.com/gematik/ref-GemCommonsKit from cache (0.45s)
Fetching https://github.com/SwiftCommon/DataKit.git
Fetching http://github.com/Quick/Nimble
[1/1224] Fetching datakit
[1164/21011] Fetching datakit, nimble
Fetched https://github.com/SwiftCommon/DataKit.git from cache (0.67s)
Fetching https://github.com/apple/swift-argument-parser
[792/19787] Fetching nimble
[2970/36473] Fetching nimble, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.75s)
Fetched http://github.com/Quick/Nimble from cache (3.23s)
Computing version for https://github.com/SwiftCommon/DataKit.git
Computed https://github.com/SwiftCommon/DataKit.git at 1.1.0 (4.44s)
Computing version for http://github.com/Quick/Nimble
Computed http://github.com/Quick/Nimble at 9.2.1 (1.20s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.51s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.56s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.38s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.50s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (1.26s)
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 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/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
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/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
[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/84] Compiling ArgumentParser CollectionExtensions.swift
[15/84] Compiling ArgumentParser Mutex.swift
[16/84] Compiling ArgumentParser Platform.swift
[17/84] Compiling ArgumentParser SequenceExtensions.swift
[18/84] Compiling ArgumentParser StringExtensions.swift
[19/84] Compiling ArgumentParser SwiftExtensions.swift
[20/90] Compiling DataKit Data+UTF8String.swift
[21/90] Compiling DataKit Data+HexString.swift
[22/90] Compiling DataKit Array+Data.swift
[23/90] Compiling DataKit Base64.swift
[24/90] Compiling DataKit Data+ASCIIString.swift
[25/90] Emitting module DataKit
[26/91] Compiling ArgumentParser Errors.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 {
[27/91] Compiling ArgumentParser Flag.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 {
[28/91] Compiling GemCommonsKit WeakArray.swift
[29/92] Compiling ArgumentParser NameSpecification.swift
[30/92] Compiling ArgumentParser Option.swift
[31/92] Compiling ArgumentParser ParsableArguments.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 | }
[32/92] Compiling ArgumentParser ParsableCommand.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 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/92] 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 {
[34/92] Compiling ArgumentParser ArgumentSet.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
[35/92] Compiling ArgumentParser CommandParser.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
[36/92] Compiling ArgumentParser ArgumentVisibility.swift
[37/92] Compiling ArgumentParser CompletionKind.swift
[38/92] Compiling ArgumentParser ArgumentDecoder.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(),
[39/92] Compiling ArgumentParser ArgumentDefinition.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(),
[40/92] Compiling ArgumentParser InputKey.swift
[41/92] Compiling ArgumentParser InputOrigin.swift
[42/92] Compiling ArgumentParser Name.swift
[43/92] Compiling ArgumentParser Parsed.swift
[44/92] Compiling ArgumentParser ParsedValues.swift
[45/92] Compiling ArgumentParser ParserError.swift
[47/92] Compiling GemCommonsKit WeakRef.swift
[47/92] Wrapping AST for DataKit for debugging
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/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/11] Write swift-version-24593BA9C3E375BF.txt
[4/33] Compiling GemCommonsKit Array+Data.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(),
[5/33] Compiling GemCommonsKit Data+IO.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(),
[6/34] Compiling GemCommonsKit WeakRef.swift
[7/34] Compiling DataKit Data+UTF8String.swift
[8/34] Compiling DataKit Data+ASCIIString.swift
[9/34] Compiling GemCommonsKit AnyWrapper.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 | }
[10/34] Compiling GemCommonsKit BlockingVar.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 | }
[11/34] Compiling GemCommonsKit CommonError.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
[12/34] Compiling GemCommonsKit DLog.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/34] 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 {
[14/34] Compiling GemCommonsKit Synchronized.swift
[15/34] Compiling GemCommonsKit SynchronizedVar.swift
[16/34] Compiling GemCommonsKit WeakArray.swift
[17/34] Compiling GemCommonsKit Data+empty.swift
[18/34] Compiling GemCommonsKit String+Digits.swift
[19/34] Compiling GemCommonsKit Thread+Internal.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/34] Compiling GemCommonsKit ResourceLoader.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/34] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm