Build Information
Failed to build SwiftHelpers, reference 3.0.0 (ccedc3), with Swift 6.1 for Wasm on 15 Oct 2025 19:30:05 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/processed-bits/swift-helpers.git
Reference: 3.0.0
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/processed-bits/swift-helpers
* tag 3.0.0 -> FETCH_HEAD
HEAD is now at ccedc3d Release 3.0.0
Cloned https://github.com/processed-bits/swift-helpers.git
Revision (git rev-parse @):
ccedc3dd3b81312500a7f99dc5fc924022e5f63e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/processed-bits/swift-helpers.git at 3.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/processed-bits/swift-helpers.git
https://github.com/processed-bits/swift-helpers.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "SwiftHelpers",
"name" : "SwiftHelpers",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "AppKitHelpers",
"targets" : [
"AppKitHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CoreAnimationHelpers",
"targets" : [
"CoreAnimationHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CoreDataHelpers",
"targets" : [
"CoreDataHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CoreGraphicsHelpers",
"targets" : [
"CoreGraphicsHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "DebuggingHelpers",
"targets" : [
"DebuggingHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ExitCodeHelpers",
"targets" : [
"ExitCodeHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FoundationHelpers",
"targets" : [
"FoundationHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FoundationLegacyHelpers",
"targets" : [
"FoundationLegacyHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LoggingHelpers",
"targets" : [
"LoggingHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "OutputHelpers",
"targets" : [
"OutputHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "StandardLibraryHelpers",
"targets" : [
"StandardLibraryHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SynchronizationHelpers",
"targets" : [
"SynchronizationHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TestingShared",
"module_type" : "SwiftTarget",
"name" : "TestingShared",
"path" : "Sources/TestingShared",
"sources" : [
"Comment+Shared.swift",
"Tag+Shared.swift"
],
"type" : "library"
},
{
"c99name" : "SynchronizationHelpersTests",
"module_type" : "SwiftTarget",
"name" : "SynchronizationHelpersTests",
"path" : "Tests/SynchronizationHelpersTests",
"sources" : [
"AtomicConcurrentTests.swift",
"AtomicSerialTests.swift",
"Helpers/ConcurrencyTest.swift",
"LockedTests.swift",
"RecursiveLockedTests.swift",
"UnfairLockedTests.swift"
],
"target_dependencies" : [
"DebuggingHelpers",
"StandardLibraryHelpers",
"SynchronizationHelpers",
"TestingShared"
],
"type" : "test"
},
{
"c99name" : "SynchronizationHelpers",
"module_type" : "SwiftTarget",
"name" : "SynchronizationHelpers",
"path" : "Sources/SynchronizationHelpers",
"product_memberships" : [
"DebuggingHelpers",
"OutputHelpers",
"SynchronizationHelpers"
],
"sources" : [
"AtomicConcurrent.swift",
"AtomicSerial.swift",
"Locked.swift",
"RecursiveLocked.swift",
"UnfairLocked.swift"
],
"type" : "library"
},
{
"c99name" : "StandardLibraryHelpersTests",
"module_type" : "SwiftTarget",
"name" : "StandardLibraryHelpersTests",
"path" : "Tests/StandardLibraryHelpersTests",
"sources" : [
"CollectionTests.swift",
"KeyValuePairsTests.swift",
"RegexTests.swift",
"SequenceTests.swift",
"SetTests.swift",
"StringProtocolTests.swift",
"StringTests.swift"
],
"target_dependencies" : [
"StandardLibraryHelpers"
],
"type" : "test"
},
{
"c99name" : "StandardLibraryHelpers",
"module_type" : "SwiftTarget",
"name" : "StandardLibraryHelpers",
"path" : "Sources/StandardLibraryHelpers",
"product_memberships" : [
"AppKitHelpers",
"CoreGraphicsHelpers",
"FoundationHelpers",
"StandardLibraryHelpers"
],
"sources" : [
"Collection+Extensions.swift",
"KeyValuePairs+Extensions.swift",
"Regex+Extensions.swift",
"Sequence+Extensions.swift",
"Set+Extensions.swift",
"String+Extensions.swift",
"String+Padding.swift",
"String+Truncation.swift",
"StringProtocol+Case.swift",
"StringProtocol+Extensions.swift",
"StringProtocol+Padding.swift",
"Unicode.Scalar+Extensions.swift"
],
"type" : "library"
},
{
"c99name" : "OutputHelpersTests",
"module_type" : "SwiftTarget",
"name" : "OutputHelpersTests",
"path" : "Tests/OutputHelpersTests",
"sources" : [
"BufferedOutputTests.swift",
"ProcessOutputTests.swift"
],
"target_dependencies" : [
"FoundationHelpers",
"OutputHelpers"
],
"type" : "test"
},
{
"c99name" : "OutputHelpers",
"module_type" : "SwiftTarget",
"name" : "OutputHelpers",
"path" : "Sources/OutputHelpers",
"product_memberships" : [
"OutputHelpers"
],
"sources" : [
"BufferedOutput.swift",
"BufferedOutputCollector.swift",
"BufferedOutputProviding.swift",
"FileHandle+TextOutputStream.swift",
"OutputStreamKind.swift",
"Process+Output.swift",
"print.swift"
],
"target_dependencies" : [
"SynchronizationHelpers"
],
"type" : "library"
},
{
"c99name" : "LoggingHelpersTests",
"module_type" : "SwiftTarget",
"name" : "LoggingHelpersTests",
"path" : "Tests/LoggingHelpersTests",
"sources" : [
"LegacyLoggerTests.swift",
"LoggerTests.swift"
],
"target_dependencies" : [
"LoggingHelpers"
],
"type" : "test"
},
{
"c99name" : "LoggingHelpers",
"module_type" : "SwiftTarget",
"name" : "LoggingHelpers",
"path" : "Sources/LoggingHelpers",
"product_memberships" : [
"LoggingHelpers"
],
"sources" : [
"ExtendedLogger.swift",
"LegacyLogger+ExtendedLogger.swift",
"LegacyLogger.swift",
"Logger+ExtendedLogger.swift",
"String+Logging.swift"
],
"type" : "library"
},
{
"c99name" : "FoundationLegacyHelpersTests",
"module_type" : "SwiftTarget",
"name" : "FoundationLegacyHelpersTests",
"path" : "Tests/FoundationLegacyHelpersTests",
"sources" : [
"NSRegularExpressionTests.swift"
],
"target_dependencies" : [
"FoundationLegacyHelpers"
],
"type" : "test"
},
{
"c99name" : "FoundationLegacyHelpers",
"module_type" : "SwiftTarget",
"name" : "FoundationLegacyHelpers",
"path" : "Sources/FoundationLegacyHelpers",
"product_memberships" : [
"FoundationLegacyHelpers"
],
"sources" : [
"NSRegularExpression+Extensions.swift",
"NSTextCheckingResult+Extensions.swift",
"String+NSRegularExpression.swift"
],
"type" : "library"
},
{
"c99name" : "FoundationHelpersTests",
"module_type" : "SwiftTarget",
"name" : "FoundationHelpersTests",
"path" : "Tests/FoundationHelpersTests",
"sources" : [
"CharacterSetTests.swift",
"DataTests.swift",
"Helpers/CharacterSet+Testing.swift",
"Helpers/Comment+CharacterSet.swift",
"Helpers/Comment+URLs.swift",
"Helpers/Comment+UserDefaults.swift",
"Helpers/Condition.swift",
"Helpers/FilenameComponents+Testing.swift",
"Helpers/HierarchicalPath+Testing.swift",
"Helpers/URL+Testing.swift",
"Helpers/URLComponents+Testing.swift",
"Helpers/URLNormalizationTest.swift",
"Helpers/URLTestStrings.swift",
"HierarchicalPathTests.swift",
"IndexPathTests.swift",
"ProcessAsyncTests.swift",
"URLBaseURLTests.swift",
"URLComparableTests.swift",
"URLDirectoryTests.swift",
"URLEncodingTests.swift",
"URLEquatableTests.swift",
"URLFilenameComponentsTests.swift",
"URLHomeDirectoryTests.swift",
"URLInitializationTests.swift",
"URLLexicalNormalizationTests.swift",
"URLNormalizationTests.swift",
"URLPartsTests.swift",
"URLRFC3986Tests.swift",
"URLReferenceKindTests.swift",
"URLRelativizationTests.swift",
"UserDefaultTests.swift"
],
"target_dependencies" : [
"DebuggingHelpers",
"FoundationHelpers",
"TestingShared"
],
"type" : "test"
},
{
"c99name" : "FoundationHelpers",
"module_type" : "SwiftTarget",
"name" : "FoundationHelpers",
"path" : "Sources/FoundationHelpers",
"product_memberships" : [
"AppKitHelpers",
"CoreGraphicsHelpers",
"FoundationHelpers"
],
"sources" : [
"Collections/IndexPath+Extensions.swift",
"Data/Data+Extensions.swift",
"Operations/BlockOperation+Extensions.swift",
"Operations/OperationQueue+Extensions.swift",
"Preferences/UserDefault.swift",
"Preferences/UserDefaultJSONEncoded.swift",
"Preferences/UserDefaultRawRepresented.swift",
"Preferences/UserDefaultRepresentable.swift",
"Processes/Process+Extensions.swift",
"Resources/Bundle+Extensions.swift",
"Scheduling/Timer+Extensions.swift",
"StringsAndText/CharacterSet+Extensions.swift",
"StringsAndText/CharacterSet+URL.swift",
"URLs/FilenameComponents.swift",
"URLs/HTTPURLResponse+Extensions.swift",
"URLs/HierarchicalPath.swift",
"URLs/URIReferenceKind.swift",
"URLs/URL+BaseURL.swift",
"URLs/URL+Comparable.swift",
"URLs/URL+FilenameComponents.swift",
"URLs/URL+HomeDirectory.swift",
"URLs/URL+Normalization.swift",
"URLs/URL+Parts.swift",
"URLs/URL+ReferenceKind.swift",
"URLs/URL+Relativization.swift",
"URLs/URLBookmark.swift",
"URLs/URLComponents+BaseURL.swift",
"URLs/URLComponents+Normalization.swift",
"URLs/URLComponents+ReferenceKind.swift"
],
"target_dependencies" : [
"StandardLibraryHelpers"
],
"type" : "library"
},
{
"c99name" : "ExitCodeHelpers",
"module_type" : "SwiftTarget",
"name" : "ExitCodeHelpers",
"path" : "Sources/ExitCodeHelpers",
"product_memberships" : [
"ExitCodeHelpers"
],
"sources" : [
"ExitCodeProtocol.swift",
"ExitCodeProvidingError.swift",
"exit.swift"
],
"type" : "library"
},
{
"c99name" : "DebuggingHelpersTests",
"module_type" : "SwiftTarget",
"name" : "DebuggingHelpersTests",
"path" : "Tests/DebuggingHelpersTests",
"sources" : [
"CallCounterTests.swift",
"Helpers/sleep.swift",
"SplitStopwatchTests.swift",
"StopwatchTests.swift",
"ThreadCounterTests.swift",
"ThreadTests.swift"
],
"target_dependencies" : [
"DebuggingHelpers",
"StandardLibraryHelpers",
"TestingShared"
],
"type" : "test"
},
{
"c99name" : "DebuggingHelpers",
"module_type" : "SwiftTarget",
"name" : "DebuggingHelpers",
"path" : "Sources/DebuggingHelpers",
"product_memberships" : [
"DebuggingHelpers"
],
"sources" : [
"CallCounter.swift",
"SplitStopwatch.swift",
"Stopwatch.swift",
"Thread+Debug.swift",
"ThreadCounter.swift",
"dumpOutput.swift"
],
"target_dependencies" : [
"SynchronizationHelpers"
],
"type" : "library"
},
{
"c99name" : "CoreGraphicsHelpersTests",
"module_type" : "SwiftTarget",
"name" : "CoreGraphicsHelpersTests",
"path" : "Tests/CoreGraphicsHelpersTests",
"sources" : [
"CGSizeTests.swift"
],
"target_dependencies" : [
"CoreGraphicsHelpers"
],
"type" : "test"
},
{
"c99name" : "CoreGraphicsHelpers",
"module_type" : "SwiftTarget",
"name" : "CoreGraphicsHelpers",
"path" : "Sources/CoreGraphicsHelpers",
"product_memberships" : [
"CoreGraphicsHelpers"
],
"sources" : [
"CGFloat+Extensions.swift",
"CGSize+Extensions.swift"
],
"target_dependencies" : [
"FoundationHelpers"
],
"type" : "library"
},
{
"c99name" : "CoreDataHelpers",
"module_type" : "SwiftTarget",
"name" : "CoreDataHelpers",
"path" : "Sources/CoreDataHelpers",
"product_memberships" : [
"CoreDataHelpers"
],
"sources" : [
"NSManagedObject+Extensions.swift",
"NSManagedObjectContext+Extensions.swift"
],
"type" : "library"
},
{
"c99name" : "CoreAnimationHelpers",
"module_type" : "SwiftTarget",
"name" : "CoreAnimationHelpers",
"path" : "Sources/CoreAnimationHelpers",
"product_memberships" : [
"CoreAnimationHelpers"
],
"sources" : [
"CALayer+Extensions.swift",
"CAMediaTiming+Extensions.swift"
],
"type" : "library"
},
{
"c99name" : "AppKitHelpersTests",
"module_type" : "SwiftTarget",
"name" : "AppKitHelpersTests",
"path" : "Tests/AppKitHelpersTests",
"sources" : [
"NSMenuItemTests.swift",
"NSTreeControllerTests.swift"
],
"target_dependencies" : [
"AppKitHelpers"
],
"type" : "test"
},
{
"c99name" : "AppKitHelpers",
"module_type" : "SwiftTarget",
"name" : "AppKitHelpers",
"path" : "Sources/AppKitHelpers",
"product_memberships" : [
"AppKitHelpers"
],
"sources" : [
"Bindings/NSObject+Bindings.swift",
"Controllers/NSTreeController+Extensions.swift",
"Input/EventMonitor.swift",
"Menus/NSMenuItem+Extensions.swift",
"TouchBar/AlertStyleGroupTouchBarItem.swift",
"TouchBar/NSTouchBar+Extensions.swift",
"Views/ModalView.swift",
"Views/NSBrowser+Extensions.swift",
"Views/NSImage+Extensions.swift",
"Views/NSResponder+Extensions.swift",
"Views/NSTableView+Extensions.swift",
"Views/NSView+Extensions.swift"
],
"target_dependencies" : [
"FoundationHelpers"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
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 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
Building for debugging...
[0/14] Write sources
[13/14] Write swift-version-24593BA9C3E375BF.txt
[15/55] Emitting module CoreAnimationHelpers
[16/55] Compiling CoreDataHelpers NSManagedObjectContext+Extensions.swift
[17/55] Compiling StandardLibraryHelpers StringProtocol+Padding.swift
[18/56] Compiling SynchronizationHelpers UnfairLocked.swift
[19/56] Compiling StandardLibraryHelpers Collection+Extensions.swift
[20/56] Compiling StandardLibraryHelpers KeyValuePairs+Extensions.swift
[21/56] Emitting module StandardLibraryHelpers
[22/56] Emitting module LoggingHelpers
[23/56] Compiling LoggingHelpers ExtendedLogger.swift
[24/56] Compiling LoggingHelpers LegacyLogger.swift
[25/56] Compiling CoreAnimationHelpers CAMediaTiming+Extensions.swift
[26/56] Compiling CoreAnimationHelpers CALayer+Extensions.swift
[27/57] Emitting module ExitCodeHelpers
[28/57] Compiling ExitCodeHelpers ExitCodeProtocol.swift
[29/57] Emitting module TestingShared
[30/57] Compiling TestingShared Comment+Shared.swift
[31/57] Compiling LoggingHelpers Logger+ExtendedLogger.swift
[32/57] Compiling LoggingHelpers String+Logging.swift
[33/57] Compiling TestingShared Tag+Shared.swift
[34/57] Emitting module CoreDataHelpers
[35/57] Compiling CoreDataHelpers NSManagedObject+Extensions.swift
[36/57] Compiling LoggingHelpers LegacyLogger+ExtendedLogger.swift
[41/60] Compiling StandardLibraryHelpers Unicode.Scalar+Extensions.swift
[42/60] Compiling StandardLibraryHelpers StringProtocol+Case.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/60] Emitting module SynchronizationHelpers
/host/spi-builder-workspace/Sources/SynchronizationHelpers/AtomicConcurrent.swift:17:21: error: cannot find type 'DispatchQueue' in scope
15 |
16 | private var value: Value
17 | private let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
18 |
19 | /// Initializes the property wrapper with an initial value.
/host/spi-builder-workspace/Sources/SynchronizationHelpers/AtomicConcurrent.swift:24:40: error: cannot find type 'DispatchQoS' in scope
22 | /// - wrappedValue: The initial value to store.
23 | /// - qos: The quality of service, or the execution priority, to apply to tasks.
24 | public init(wrappedValue: Value, qos: DispatchQoS = .default) {
| `- error: cannot find type 'DispatchQoS' in scope
25 | value = wrappedValue
26 |
/host/spi-builder-workspace/Sources/SynchronizationHelpers/AtomicSerial.swift:15:21: error: cannot find type 'DispatchQueue' in scope
13 |
14 | private var value: Value
15 | private let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
16 |
17 | /// Initializes the property wrapper with an initial value.
/host/spi-builder-workspace/Sources/SynchronizationHelpers/AtomicSerial.swift:22:40: error: cannot find type 'DispatchQoS' in scope
20 | /// - wrappedValue: The initial value to store.
21 | /// - qos: The quality of service, or the execution priority, to apply to tasks.
22 | public init(wrappedValue: Value, qos: DispatchQoS = .default) {
| `- error: cannot find type 'DispatchQoS' in scope
23 | value = wrappedValue
24 |
[44/60] Compiling StandardLibraryHelpers String+Padding.swift
[45/60] Compiling StandardLibraryHelpers String+Truncation.swift
[46/60] Compiling StandardLibraryHelpers Regex+Extensions.swift
[47/60] Compiling StandardLibraryHelpers Sequence+Extensions.swift
[48/60] Compiling StandardLibraryHelpers Set+Extensions.swift
[49/60] Compiling StandardLibraryHelpers String+Extensions.swift
[50/60] Compiling ExitCodeHelpers ExitCodeProvidingError.swift
[51/60] Compiling ExitCodeHelpers exit.swift
[52/60] Compiling SynchronizationHelpers AtomicConcurrent.swift
/host/spi-builder-workspace/Sources/SynchronizationHelpers/AtomicConcurrent.swift:17:21: error: cannot find type 'DispatchQueue' in scope
15 |
16 | private var value: Value
17 | private let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
18 |
19 | /// Initializes the property wrapper with an initial value.
/host/spi-builder-workspace/Sources/SynchronizationHelpers/AtomicConcurrent.swift:24:40: error: cannot find type 'DispatchQoS' in scope
22 | /// - wrappedValue: The initial value to store.
23 | /// - qos: The quality of service, or the execution priority, to apply to tasks.
24 | public init(wrappedValue: Value, qos: DispatchQoS = .default) {
| `- error: cannot find type 'DispatchQoS' in scope
25 | value = wrappedValue
26 |
/host/spi-builder-workspace/Sources/SynchronizationHelpers/AtomicConcurrent.swift:32:11: error: cannot find 'DispatchQueue' in scope
30 | }
31 |
32 | queue = DispatchQueue(
| `- error: cannot find 'DispatchQueue' in scope
33 | label: label,
34 | qos: qos,
/host/spi-builder-workspace/Sources/SynchronizationHelpers/AtomicConcurrent.swift:35:17: error: cannot infer contextual base in reference to member 'concurrent'
33 | label: label,
34 | qos: qos,
35 | attributes: .concurrent,
| `- error: cannot infer contextual base in reference to member 'concurrent'
36 | target: .global(qos: qos.qosClass)
37 | )
/host/spi-builder-workspace/Sources/SynchronizationHelpers/AtomicConcurrent.swift:36:13: error: cannot infer contextual base in reference to member 'global'
34 | qos: qos,
35 | attributes: .concurrent,
36 | target: .global(qos: qos.qosClass)
| `- error: cannot infer contextual base in reference to member 'global'
37 | )
38 | }
/host/spi-builder-workspace/Sources/SynchronizationHelpers/AtomicConcurrent.swift:43:28: error: cannot infer contextual base in reference to member 'barrier'
41 | public var wrappedValue: Value {
42 | get { queue.sync { value } }
43 | set { queue.sync(flags: .barrier) { value = newValue } }
| `- error: cannot infer contextual base in reference to member 'barrier'
44 | }
45 |
/host/spi-builder-workspace/Sources/SynchronizationHelpers/AtomicConcurrent.swift:51:26: error: cannot infer contextual base in reference to member 'barrier'
49 | /// Calls the given closure on the value in a thread-safe manner and returns a result, if any.
50 | @discardableResult public func withLock<R>(_ body: (inout Value) throws -> R) rethrows -> R {
51 | try queue.sync(flags: .barrier) { try body(&value) }
| `- error: cannot infer contextual base in reference to member 'barrier'
52 | }
53 |
[53/61] Compiling SynchronizationHelpers RecursiveLocked.swift
[54/61] Compiling SynchronizationHelpers Locked.swift
[55/61] Compiling SynchronizationHelpers AtomicSerial.swift
/host/spi-builder-workspace/Sources/SynchronizationHelpers/AtomicSerial.swift:15:21: error: cannot find type 'DispatchQueue' in scope
13 |
14 | private var value: Value
15 | private let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
16 |
17 | /// Initializes the property wrapper with an initial value.
/host/spi-builder-workspace/Sources/SynchronizationHelpers/AtomicSerial.swift:22:40: error: cannot find type 'DispatchQoS' in scope
20 | /// - wrappedValue: The initial value to store.
21 | /// - qos: The quality of service, or the execution priority, to apply to tasks.
22 | public init(wrappedValue: Value, qos: DispatchQoS = .default) {
| `- error: cannot find type 'DispatchQoS' in scope
23 | value = wrappedValue
24 |
/host/spi-builder-workspace/Sources/SynchronizationHelpers/AtomicSerial.swift:30:11: error: cannot find 'DispatchQueue' in scope
28 | }
29 |
30 | queue = DispatchQueue(
| `- error: cannot find 'DispatchQueue' in scope
31 | label: label,
32 | qos: qos,
/host/spi-builder-workspace/Sources/SynchronizationHelpers/AtomicSerial.swift:33:13: error: cannot infer contextual base in reference to member 'global'
31 | label: label,
32 | qos: qos,
33 | target: .global(qos: qos.qosClass)
| `- error: cannot infer contextual base in reference to member 'global'
34 | )
35 | }
[56/61] Compiling FoundationLegacyHelpers NSRegularExpression+Extensions.swift
[57/61] Emitting module FoundationLegacyHelpers
[58/61] Compiling FoundationLegacyHelpers String+NSRegularExpression.swift
[59/61] Compiling FoundationLegacyHelpers NSTextCheckingResult+Extensions.swift
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
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/42] Emitting module CoreAnimationHelpers
[3/42] Compiling CoreAnimationHelpers CALayer+Extensions.swift
[4/42] Compiling CoreAnimationHelpers CAMediaTiming+Extensions.swift
[5/43] Compiling ExitCodeHelpers ExitCodeProtocol.swift
[6/43] Compiling ExitCodeHelpers ExitCodeProvidingError.swift
[7/43] Emitting module ExitCodeHelpers
[8/43] Emitting module CoreDataHelpers
[9/43] Compiling CoreDataHelpers NSManagedObjectContext+Extensions.swift
[10/43] Compiling CoreDataHelpers NSManagedObject+Extensions.swift
[11/43] Compiling LoggingHelpers ExtendedLogger.swift
[12/44] Compiling LoggingHelpers LegacyLogger+ExtendedLogger.swift
[13/44] Compiling LoggingHelpers LegacyLogger.swift
[14/44] Emitting module LoggingHelpers
[15/44] Compiling ExitCodeHelpers exit.swift
[16/45] Compiling LoggingHelpers Logger+ExtendedLogger.swift
[17/45] Compiling LoggingHelpers String+Logging.swift
[18/46] Emitting module FoundationLegacyHelpers
[19/46] Compiling StandardLibraryHelpers StringProtocol+Extensions.swift
[20/46] Compiling TestingShared Comment+Shared.swift
[21/46] Emitting module TestingShared
[22/46] Compiling TestingShared Tag+Shared.swift
[23/47] Compiling FoundationLegacyHelpers String+NSRegularExpression.swift
[25/48] Compiling SynchronizationHelpers UnfairLocked.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/48] Emitting module SynchronizationHelpers
/host/spi-builder-workspace/Sources/SynchronizationHelpers/AtomicConcurrent.swift:17:21: error: cannot find type 'DispatchQueue' in scope
15 |
16 | private var value: Value
17 | private let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
18 |
19 | /// Initializes the property wrapper with an initial value.
/host/spi-builder-workspace/Sources/SynchronizationHelpers/AtomicConcurrent.swift:24:40: error: cannot find type 'DispatchQoS' in scope
22 | /// - wrappedValue: The initial value to store.
23 | /// - qos: The quality of service, or the execution priority, to apply to tasks.
24 | public init(wrappedValue: Value, qos: DispatchQoS = .default) {
| `- error: cannot find type 'DispatchQoS' in scope
25 | value = wrappedValue
26 |
/host/spi-builder-workspace/Sources/SynchronizationHelpers/AtomicSerial.swift:15:21: error: cannot find type 'DispatchQueue' in scope
13 |
14 | private var value: Value
15 | private let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
16 |
17 | /// Initializes the property wrapper with an initial value.
/host/spi-builder-workspace/Sources/SynchronizationHelpers/AtomicSerial.swift:22:40: error: cannot find type 'DispatchQoS' in scope
20 | /// - wrappedValue: The initial value to store.
21 | /// - qos: The quality of service, or the execution priority, to apply to tasks.
22 | public init(wrappedValue: Value, qos: DispatchQoS = .default) {
| `- error: cannot find type 'DispatchQoS' in scope
23 | value = wrappedValue
24 |
[27/48] Compiling SynchronizationHelpers AtomicConcurrent.swift
/host/spi-builder-workspace/Sources/SynchronizationHelpers/AtomicConcurrent.swift:17:21: error: cannot find type 'DispatchQueue' in scope
15 |
16 | private var value: Value
17 | private let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
18 |
19 | /// Initializes the property wrapper with an initial value.
/host/spi-builder-workspace/Sources/SynchronizationHelpers/AtomicConcurrent.swift:24:40: error: cannot find type 'DispatchQoS' in scope
22 | /// - wrappedValue: The initial value to store.
23 | /// - qos: The quality of service, or the execution priority, to apply to tasks.
24 | public init(wrappedValue: Value, qos: DispatchQoS = .default) {
| `- error: cannot find type 'DispatchQoS' in scope
25 | value = wrappedValue
26 |
/host/spi-builder-workspace/Sources/SynchronizationHelpers/AtomicConcurrent.swift:32:11: error: cannot find 'DispatchQueue' in scope
30 | }
31 |
32 | queue = DispatchQueue(
| `- error: cannot find 'DispatchQueue' in scope
33 | label: label,
34 | qos: qos,
/host/spi-builder-workspace/Sources/SynchronizationHelpers/AtomicConcurrent.swift:35:17: error: cannot infer contextual base in reference to member 'concurrent'
33 | label: label,
34 | qos: qos,
35 | attributes: .concurrent,
| `- error: cannot infer contextual base in reference to member 'concurrent'
36 | target: .global(qos: qos.qosClass)
37 | )
/host/spi-builder-workspace/Sources/SynchronizationHelpers/AtomicConcurrent.swift:36:13: error: cannot infer contextual base in reference to member 'global'
34 | qos: qos,
35 | attributes: .concurrent,
36 | target: .global(qos: qos.qosClass)
| `- error: cannot infer contextual base in reference to member 'global'
37 | )
38 | }
/host/spi-builder-workspace/Sources/SynchronizationHelpers/AtomicConcurrent.swift:43:28: error: cannot infer contextual base in reference to member 'barrier'
41 | public var wrappedValue: Value {
42 | get { queue.sync { value } }
43 | set { queue.sync(flags: .barrier) { value = newValue } }
| `- error: cannot infer contextual base in reference to member 'barrier'
44 | }
45 |
/host/spi-builder-workspace/Sources/SynchronizationHelpers/AtomicConcurrent.swift:51:26: error: cannot infer contextual base in reference to member 'barrier'
49 | /// Calls the given closure on the value in a thread-safe manner and returns a result, if any.
50 | @discardableResult public func withLock<R>(_ body: (inout Value) throws -> R) rethrows -> R {
51 | try queue.sync(flags: .barrier) { try body(&value) }
| `- error: cannot infer contextual base in reference to member 'barrier'
52 | }
53 |
[29/48] Compiling FoundationLegacyHelpers NSTextCheckingResult+Extensions.swift
[30/48] Compiling SynchronizationHelpers RecursiveLocked.swift
[31/48] Compiling SynchronizationHelpers Locked.swift
[32/48] Compiling StandardLibraryHelpers StringProtocol+Case.swift
[33/48] Compiling SynchronizationHelpers AtomicSerial.swift
/host/spi-builder-workspace/Sources/SynchronizationHelpers/AtomicSerial.swift:15:21: error: cannot find type 'DispatchQueue' in scope
13 |
14 | private var value: Value
15 | private let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
16 |
17 | /// Initializes the property wrapper with an initial value.
/host/spi-builder-workspace/Sources/SynchronizationHelpers/AtomicSerial.swift:22:40: error: cannot find type 'DispatchQoS' in scope
20 | /// - wrappedValue: The initial value to store.
21 | /// - qos: The quality of service, or the execution priority, to apply to tasks.
22 | public init(wrappedValue: Value, qos: DispatchQoS = .default) {
| `- error: cannot find type 'DispatchQoS' in scope
23 | value = wrappedValue
24 |
/host/spi-builder-workspace/Sources/SynchronizationHelpers/AtomicSerial.swift:30:11: error: cannot find 'DispatchQueue' in scope
28 | }
29 |
30 | queue = DispatchQueue(
| `- error: cannot find 'DispatchQueue' in scope
31 | label: label,
32 | qos: qos,
/host/spi-builder-workspace/Sources/SynchronizationHelpers/AtomicSerial.swift:33:13: error: cannot infer contextual base in reference to member 'global'
31 | label: label,
32 | qos: qos,
33 | target: .global(qos: qos.qosClass)
| `- error: cannot infer contextual base in reference to member 'global'
34 | )
35 | }
BUILD FAILURE 6.1 wasm