Build Information
Failed to build ASN1Kit, reference master (bab197
), with Swift 6.1 for Wasm on 28 May 2025 11:21:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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 bab1973 Version 1.1.0
Cloned https://github.com/PADL/ASN1Kit.git
Revision (git rev-parse @):
bab197338819c6e5b20e8b3986ec36e86149500e
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" : "commandant",
"requirement" : {
"range" : [
{
"lower_bound" : "0.17.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "http://github.com/Carthage/Commandant"
},
{
"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" : [
"Commandant"
],
"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-1":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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.35s)
Fetching https://github.com/SwiftCommon/DataKit.git
Fetching http://github.com/Quick/Nimble
Fetching http://github.com/Carthage/Commandant
[1/1224] Fetching datakit
[1225/3553] Fetching datakit, commandant
[3554/23137] Fetching datakit, commandant, nimble
Fetched https://github.com/SwiftCommon/DataKit.git from cache (0.74s)
Fetched http://github.com/Carthage/Commandant from cache (0.75s)
[16451/19584] Fetching nimble
Fetched http://github.com/Quick/Nimble from cache (2.05s)
Computing version for https://github.com/SwiftCommon/DataKit.git
Computed https://github.com/SwiftCommon/DataKit.git at 1.1.0 (2.95s)
Computing version for http://github.com/Quick/Nimble
Computed http://github.com/Quick/Nimble at 9.2.1 (1.02s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.31s)
Computing version for http://github.com/Carthage/Commandant
Computed http://github.com/Carthage/Commandant at 0.18.0 (1.10s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.47s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.21s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.70s)
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/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for http://github.com/Carthage/Commandant
Working copy of http://github.com/Carthage/Commandant resolved at 0.18.0
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/43] Emitting module DataKit
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/43] 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 {
[9/44] Compiling Commandant Result+Additions.swift
[10/45] Compiling Commandant OrderedSet.swift
[11/45] Compiling Commandant Switch.swift
[12/45] Compiling Commandant Option.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/Option.swift:239:32: error: instance method 'contains' requires that 'String.Element' (aka 'Character') conform to 'Collection'
237 | let components = unwrappedStringValue.split(
238 | omittingEmptySubsequences: true,
239 | whereSeparator: [",", " "].contains
| `- error: instance method 'contains' requires that 'String.Element' (aka 'Character') conform to 'Collection'
240 | )
241 | var resultValues: [T] = []
_StringProcessing.Collection.contains:3:15: note: where 'C' = 'String.Element' (aka 'Character')
1 | protocol Collection {
2 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
3 | public func contains<C>(_ other: C) -> Bool where C : Collection, Self.Element == C.Element}
| `- note: where 'C' = 'String.Element' (aka 'Character')
4 |
[13/45] Compiling Commandant ArgumentProtocol.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 | }
[14/45] Compiling Commandant Command.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 | }
[15/45] Compiling DataKit Array+Data.swift
[16/45] Compiling GemCommonsKit Synchronized.swift
[17/45] Compiling GemCommonsKit SynchronizedVar.swift
[18/45] Compiling GemCommonsKit WeakArray.swift
[19/45] Emitting module Commandant
[20/45] Compiling DataKit Base64.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/Command.swift:206:15: error: cannot find 'Process' in scope
204 |
205 | func launchTask(_ path: String, arguments: [String]) -> Int32 {
206 | let task = Process()
| `- error: cannot find 'Process' in scope
207 | task.arguments = arguments
208 |
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/Command.swift:206:15: error: cannot find 'Process' in scope
204 |
205 | func launchTask(_ path: String, arguments: [String]) -> Int32 {
206 | let task = Process()
| `- error: cannot find 'Process' in scope
207 | task.arguments = arguments
208 |
[23/45] Compiling Commandant Argument.swift
[24/45] Compiling Commandant ArgumentParser.swift
[25/45] Compiling DataKit Data+ASCIIString.swift
[26/45] Compiling Commandant Errors.swift
[27/45] Compiling Commandant HelpCommand.swift
[28/45] 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 {
[29/45] 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 {
[30/45] Compiling DataKit Data+HexString.swift
[31/45] Compiling DataKit Data+UTF8String.swift
[32/46] Compiling GemCommonsKit WeakRef.swift
[33/46] Compiling GemCommonsKit Data+empty.swift
[34/46] Compiling GemCommonsKit String+Digits.swift
[35/46] 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(),
[36/46] 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(),
/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
/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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/8] Write swift-version-24593BA9C3E375BF.txt
[2/38] Compiling DataKit Data+ASCIIString.swift
[3/38] Compiling GemCommonsKit WeakArray.swift
[4/39] Compiling Commandant ArgumentProtocol.swift
[5/39] Compiling Commandant Command.swift
[6/39] Compiling Commandant Argument.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(),
[7/39] Compiling Commandant ArgumentParser.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(),
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/39] 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 {
[9/39] Compiling Commandant Result+Additions.swift
[10/39] Compiling GemCommonsKit WeakRef.swift
[11/40] Compiling Commandant OrderedSet.swift
[12/40] Compiling Commandant Option.swift
[13/40] 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
[14/40] 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
[15/40] 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 | }
[16/40] 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 | }
[17/40] Compiling GemCommonsKit Synchronized.swift
[18/40] Compiling GemCommonsKit SynchronizedVar.swift
[19/40] 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/40] 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/40] Compiling DataKit Array+Data.swift
[22/40] Emitting module DataKit
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/Command.swift:206:15: error: cannot find 'Process' in scope
204 |
205 | func launchTask(_ path: String, arguments: [String]) -> Int32 {
206 | let task = Process()
| `- error: cannot find 'Process' in scope
207 | task.arguments = arguments
208 |
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/Command.swift:206:15: error: cannot find 'Process' in scope
204 |
205 | func launchTask(_ path: String, arguments: [String]) -> Int32 {
206 | let task = Process()
| `- error: cannot find 'Process' in scope
207 | task.arguments = arguments
208 |
[25/40] Compiling DataKit Base64.swift
[26/40] Compiling DataKit Data+UTF8String.swift
BUILD FAILURE 6.1 wasm