Build Information
Failed to build WrkstrmFoundation, reference main (59a16d
), with Swift 6.1 for Wasm on 29 May 2025 22:00:45 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/wrkstrm/WrkstrmFoundation.git
Reference: main
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/wrkstrm/WrkstrmFoundation
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 59a16df Update JSONEnums.swift
Cloned https://github.com/wrkstrm/WrkstrmFoundation.git
Revision (git rev-parse @):
59a16df8af9f8f3f4529d28fd155eb75b47c6d23
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/wrkstrm/WrkstrmFoundation.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/wrkstrm/WrkstrmFoundation.git
https://github.com/wrkstrm/WrkstrmFoundation.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "wrkstrmlog",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/wrkstrm/WrkstrmLog.git"
},
{
"identity" : "wrkstrmmain",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/wrkstrm/WrkstrmMain.git"
}
],
"manifest_display_name" : "WrkstrmFoundation",
"name" : "WrkstrmFoundation",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "watchos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "WrkstrmFoundation",
"targets" : [
"WrkstrmFoundation"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "WrkstrmFoundationTests",
"module_type" : "SwiftTarget",
"name" : "WrkstrmFoundationTests",
"path" : "Tests/WrkstrmFoundationTests",
"sources" : [
"CalendarTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"WrkstrmFoundation"
],
"type" : "test"
},
{
"c99name" : "WrkstrmFoundation",
"module_type" : "SwiftTarget",
"name" : "WrkstrmFoundation",
"path" : "Sources/WrkstrmFoundation",
"product_dependencies" : [
"WrkstrmLog",
"WrkstrmMain"
],
"product_memberships" : [
"WrkstrmFoundation"
],
"sources" : [
"Collections/Calendar.swift",
"Collections/Event.swift",
"Extensions/Bundle+Version.swift",
"Extensions/Data+UTF8.swift",
"Extensions/Dates/Date+ExpressibleByIntegerLiteral.swift",
"Extensions/Dates/Date+GitLog.swift",
"Extensions/Dates/Date+Utilities.swift",
"Extensions/Dates/DateFormatter+Utilities.swift",
"Extensions/Dates/FoundationCalendar+Default.swift",
"Extensions/Dates/RelativeDateTimeFormatter+Date.swift",
"Extensions/FileHandle+Standard.swift",
"Extensions/FileManager+Source.swift",
"Extensions/Log+Foundation.swift",
"Extensions/NotificationCenter+Transformers.swift",
"Extensions/NumberFormatter+Localize.swift",
"Extensions/String/String+Casing.swift",
"Extensions/String/String+Expanding.swift",
"Extensions/String/String+FileType.swift",
"Extensions/String/String+Stats.swift",
"Extensions/URL+URLQueryItem.swift",
"HTTP/HTTP.swift",
"JSON/JSONCoders.swift",
"JSON/JSONEnums.swift",
"JSON/JSONResource.swift",
"Persistence/Bundle+Decode.swift",
"Persistence/CodableArchiver.swift",
"Persistence/SecurityScopedAsset.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
warning: 'spi-builder-workspace': ---- ConfigurationService Deps ----
[PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmLog.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(0.4.0..<1.0.0))), PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmMain.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(1.0.0..<2.0.0)))]
---- ConfigurationService Deps ----
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
warning: 'spi-builder-workspace': ---- ConfigurationService Deps ----
[PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmLog.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(0.4.0..<1.0.0))), PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmMain.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(1.0.0..<2.0.0)))]
---- ConfigurationService Deps ----
Fetching https://github.com/wrkstrm/WrkstrmMain.git
Fetching https://github.com/wrkstrm/WrkstrmLog.git
[1/874] Fetching wrkstrmlog
[500/1712] Fetching wrkstrmlog, wrkstrmmain
Fetched https://github.com/wrkstrm/WrkstrmMain.git from cache (0.27s)
Fetched https://github.com/wrkstrm/WrkstrmLog.git from cache (0.27s)
Computing version for https://github.com/wrkstrm/WrkstrmMain.git
Computed https://github.com/wrkstrm/WrkstrmMain.git at 1.0.0 (0.82s)
Computing version for https://github.com/wrkstrm/WrkstrmLog.git
Computed https://github.com/wrkstrm/WrkstrmLog.git at 0.4.0 (0.56s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.42s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.92s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/wrkstrm/WrkstrmMain.git
Working copy of https://github.com/wrkstrm/WrkstrmMain.git resolved at 1.0.0
Creating working copy for https://github.com/wrkstrm/WrkstrmLog.git
Working copy of https://github.com/wrkstrm/WrkstrmLog.git resolved at 0.4.0
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/32] Emitting module WrkstrmMain
[7/32] Compiling WrkstrmMain BinaryTree.swift
[8/32] Compiling WrkstrmMain TreeClass.swift
[9/32] Compiling WrkstrmMain ListEnum.swift
[10/35] Compiling WrkstrmMain JSON.swift
[11/35] Compiling WrkstrmMain Injectable.swift
[12/35] Compiling WrkstrmMain Result.swift
[13/35] Compiling WrkstrmMain CommandLine+Executable.swift
[14/35] Compiling WrkstrmMain Optional+Comparable.swift
[15/35] Compiling WrkstrmMain Optional+Flatten.swift
[16/35] Compiling Logging MetadataProvider.swift
[17/35] Compiling Logging Locks.swift
[18/35] Compiling Logging LogHandler.swift
[19/35] Emitting module Logging
[20/35] Compiling Logging Logging.swift
[22/42] Compiling WrkstrmMain String+Contains.swift
[23/42] Compiling WrkstrmMain String+Count.swift
[24/42] Compiling WrkstrmMain String+Error.swift
[25/42] Compiling WrkstrmMain RandomAccessCollection+IndexedCollection.swift
[26/42] Compiling WrkstrmMain Sequence+Decompose.swift
[27/42] Compiling WrkstrmMain Sequence+Unique.swift
[28/42] Compiling WrkstrmMain String+KebabCase.swift
[29/42] Compiling WrkstrmMain String+Source.swift
[30/42] Compiling WrkstrmMain UInt+BitSetting.swift
[31/42] Compiling WrkstrmMain Array+Filter.swift
[32/42] Compiling WrkstrmMain ClosedRange+Magnitude.swift
[33/42] Compiling WrkstrmMain Collection+Sorting.swift
[34/42] Compiling WrkstrmMain SortEnum.swift
[35/42] Compiling WrkstrmMain IndexedCollection.swift
[36/42] Compiling WrkstrmMain SortedArray.swift
[37/42] Compiling WrkstrmLog Level+OSLogType.swift
[38/43] Emitting module WrkstrmLog
[39/43] Compiling WrkstrmLog Level+Emoji.swift
[41/43] Compiling WrkstrmLog ProcessInfo+Xcode.swift
[42/43] Compiling WrkstrmLog Log.swift
[43/43] Compiling WrkstrmLog Log+Shared.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/69] Emitting module WrkstrmFoundation
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Dates/RelativeDateTimeFormatter+Date.swift:8:11: error: cannot find type 'RelativeDateTimeFormatter' in scope
6 | #endif
7 |
8 | extension RelativeDateTimeFormatter {
| `- error: cannot find type 'RelativeDateTimeFormatter' in scope
9 | /// Returns a non breaking localized string describing the relative time between the provided
10 | /// timestamp and now.
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Log+Foundation.swift:15:14: warning: static property 'foundation' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
13 | ///
14 | /// - Returns: A configured `Log` instance for foundation-related logging.
15 | static let foundation: Log = {
| `- warning: static property 'foundation' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
16 | var log = Log(system: "wrkstrm", category: "foundation")
17 | log.maxFunctionLength = 25
/host/spi-builder-workspace/.build/checkouts/WrkstrmLog/Sources/WrkstrmLog/Log.swift:21:15: note: struct 'Log' does not conform to the 'Sendable' protocol
19 | /// logger.info("Network request started")
20 | /// ```
21 | public struct Log: Hashable {
| `- note: struct 'Log' does not conform to the 'Sendable' protocol
22 | /// Enum defining different logging styles.
23 | public enum Style {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Log+Foundation.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
1 | import WrkstrmLog
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
2 |
3 | extension Log {
:
13 | ///
14 | /// - Returns: A configured `Log` instance for foundation-related logging.
15 | static let foundation: Log = {
| |- note: add '@MainActor' to make static property 'foundation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | var log = Log(system: "wrkstrm", category: "foundation")
17 | log.maxFunctionLength = 25
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:47:24: error: cannot find type 'NotificationCenter' in scope
45 | public final class Token {
46 | public let token: NSObjectProtocol
47 | public let center: NotificationCenter
| `- error: cannot find type 'NotificationCenter' in scope
48 |
49 | public init(token: NSObjectProtocol, center: NotificationCenter) {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:49:50: error: cannot find type 'NotificationCenter' in scope
47 | public let center: NotificationCenter
48 |
49 | public init(token: NSObjectProtocol, center: NotificationCenter) {
| `- error: cannot find type 'NotificationCenter' in scope
50 | self.token = token
51 | self.center = center
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:60:11: error: cannot find type 'NotificationCenter' in scope
58 | }
59 |
60 | extension NotificationCenter {
| `- error: cannot find type 'NotificationCenter' in scope
61 | /// Adds an observer for a given transformer and executes a block when the notification is posted.
62 | ///
[46/72] Compiling WrkstrmFoundation String+Casing.swift
[47/72] Compiling WrkstrmFoundation String+Expanding.swift
[48/72] Compiling WrkstrmFoundation String+FileType.swift
[49/72] Compiling WrkstrmFoundation FoundationCalendar+Default.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Dates/RelativeDateTimeFormatter+Date.swift:8:11: error: cannot find type 'RelativeDateTimeFormatter' in scope
6 | #endif
7 |
8 | extension RelativeDateTimeFormatter {
| `- error: cannot find type 'RelativeDateTimeFormatter' in scope
9 | /// Returns a non breaking localized string describing the relative time between the provided
10 | /// timestamp and now.
[50/72] Compiling WrkstrmFoundation RelativeDateTimeFormatter+Date.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Dates/RelativeDateTimeFormatter+Date.swift:8:11: error: cannot find type 'RelativeDateTimeFormatter' in scope
6 | #endif
7 |
8 | extension RelativeDateTimeFormatter {
| `- error: cannot find type 'RelativeDateTimeFormatter' in scope
9 | /// Returns a non breaking localized string describing the relative time between the provided
10 | /// timestamp and now.
[51/72] Compiling WrkstrmFoundation FileHandle+Standard.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Dates/RelativeDateTimeFormatter+Date.swift:8:11: error: cannot find type 'RelativeDateTimeFormatter' in scope
6 | #endif
7 |
8 | extension RelativeDateTimeFormatter {
| `- error: cannot find type 'RelativeDateTimeFormatter' in scope
9 | /// Returns a non breaking localized string describing the relative time between the provided
10 | /// timestamp and now.
[52/72] Compiling WrkstrmFoundation FileManager+Source.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Dates/RelativeDateTimeFormatter+Date.swift:8:11: error: cannot find type 'RelativeDateTimeFormatter' in scope
6 | #endif
7 |
8 | extension RelativeDateTimeFormatter {
| `- error: cannot find type 'RelativeDateTimeFormatter' in scope
9 | /// Returns a non breaking localized string describing the relative time between the provided
10 | /// timestamp and now.
[53/72] Compiling WrkstrmFoundation Date+ExpressibleByIntegerLiteral.swift
[54/72] Compiling WrkstrmFoundation Date+GitLog.swift
[55/72] Compiling WrkstrmFoundation Date+Utilities.swift
[56/72] Compiling WrkstrmFoundation DateFormatter+Utilities.swift
[57/72] Compiling WrkstrmFoundation String+Stats.swift
[58/72] Compiling WrkstrmFoundation URL+URLQueryItem.swift
[59/72] Compiling WrkstrmFoundation HTTP.swift
[60/72] Compiling WrkstrmFoundation Bundle+Decode.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:84:51: error: incorrect argument label in call (have 'withFile:', expected 'with:')
82 | public func get(_ key: AnyHashable? = nil) -> T? {
83 | guard
84 | let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
| `- error: incorrect argument label in call (have 'withFile:', expected 'with:')
85 | as? Data
86 | else {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:84:62: error: cannot convert value of type 'String' to expected argument type 'Data'
82 | public func get(_ key: AnyHashable? = nil) -> T? {
83 | guard
84 | let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
| `- error: cannot convert value of type 'String' to expected argument type 'Data'
85 | as? Data
86 | else {
[61/72] Compiling WrkstrmFoundation CodableArchiver.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:84:51: error: incorrect argument label in call (have 'withFile:', expected 'with:')
82 | public func get(_ key: AnyHashable? = nil) -> T? {
83 | guard
84 | let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
| `- error: incorrect argument label in call (have 'withFile:', expected 'with:')
85 | as? Data
86 | else {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:84:62: error: cannot convert value of type 'String' to expected argument type 'Data'
82 | public func get(_ key: AnyHashable? = nil) -> T? {
83 | guard
84 | let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
| `- error: cannot convert value of type 'String' to expected argument type 'Data'
85 | as? Data
86 | else {
[62/72] Compiling WrkstrmFoundation SecurityScopedAsset.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:84:51: error: incorrect argument label in call (have 'withFile:', expected 'with:')
82 | public func get(_ key: AnyHashable? = nil) -> T? {
83 | guard
84 | let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
| `- error: incorrect argument label in call (have 'withFile:', expected 'with:')
85 | as? Data
86 | else {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:84:62: error: cannot convert value of type 'String' to expected argument type 'Data'
82 | public func get(_ key: AnyHashable? = nil) -> T? {
83 | guard
84 | let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
| `- error: cannot convert value of type 'String' to expected argument type 'Data'
85 | as? Data
86 | else {
[63/72] Compiling WrkstrmFoundation Calendar.swift
[64/72] Compiling WrkstrmFoundation Event.swift
[65/72] Compiling WrkstrmFoundation Bundle+Version.swift
[66/72] Compiling WrkstrmFoundation Data+UTF8.swift
[67/72] Compiling WrkstrmFoundation JSONCoders.swift
[68/72] Compiling WrkstrmFoundation JSONEnums.swift
[69/72] Compiling WrkstrmFoundation JSONResource.swift
[70/72] Compiling WrkstrmFoundation Log+Foundation.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Log+Foundation.swift:15:14: warning: static property 'foundation' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
13 | ///
14 | /// - Returns: A configured `Log` instance for foundation-related logging.
15 | static let foundation: Log = {
| `- warning: static property 'foundation' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
16 | var log = Log(system: "wrkstrm", category: "foundation")
17 | log.maxFunctionLength = 25
/host/spi-builder-workspace/.build/checkouts/WrkstrmLog/Sources/WrkstrmLog/Log.swift:21:15: note: struct 'Log' does not conform to the 'Sendable' protocol
19 | /// logger.info("Network request started")
20 | /// ```
21 | public struct Log: Hashable {
| `- note: struct 'Log' does not conform to the 'Sendable' protocol
22 | /// Enum defining different logging styles.
23 | public enum Style {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Log+Foundation.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
1 | import WrkstrmLog
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
2 |
3 | extension Log {
:
13 | ///
14 | /// - Returns: A configured `Log` instance for foundation-related logging.
15 | static let foundation: Log = {
| |- note: add '@MainActor' to make static property 'foundation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | var log = Log(system: "wrkstrm", category: "foundation")
17 | log.maxFunctionLength = 25
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:47:24: error: cannot find type 'NotificationCenter' in scope
45 | public final class Token {
46 | public let token: NSObjectProtocol
47 | public let center: NotificationCenter
| `- error: cannot find type 'NotificationCenter' in scope
48 |
49 | public init(token: NSObjectProtocol, center: NotificationCenter) {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:49:50: error: cannot find type 'NotificationCenter' in scope
47 | public let center: NotificationCenter
48 |
49 | public init(token: NSObjectProtocol, center: NotificationCenter) {
| `- error: cannot find type 'NotificationCenter' in scope
50 | self.token = token
51 | self.center = center
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:60:11: error: cannot find type 'NotificationCenter' in scope
58 | }
59 |
60 | extension NotificationCenter {
| `- error: cannot find type 'NotificationCenter' in scope
61 | /// Adds an observer for a given transformer and executes a block when the notification is posted.
62 | ///
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:72:12: error: cannot find type 'OperationQueue' in scope
70 | public func addObserver<A>(
71 | for transformer: Notification.Transformer<A>,
72 | queue: OperationQueue? = .main,
| `- error: cannot find type 'OperationQueue' in scope
73 | using block: @escaping (A) -> Void
74 | ) -> Notification.Token {
[71/72] Compiling WrkstrmFoundation NotificationCenter+Transformers.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Log+Foundation.swift:15:14: warning: static property 'foundation' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
13 | ///
14 | /// - Returns: A configured `Log` instance for foundation-related logging.
15 | static let foundation: Log = {
| `- warning: static property 'foundation' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
16 | var log = Log(system: "wrkstrm", category: "foundation")
17 | log.maxFunctionLength = 25
/host/spi-builder-workspace/.build/checkouts/WrkstrmLog/Sources/WrkstrmLog/Log.swift:21:15: note: struct 'Log' does not conform to the 'Sendable' protocol
19 | /// logger.info("Network request started")
20 | /// ```
21 | public struct Log: Hashable {
| `- note: struct 'Log' does not conform to the 'Sendable' protocol
22 | /// Enum defining different logging styles.
23 | public enum Style {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Log+Foundation.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
1 | import WrkstrmLog
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
2 |
3 | extension Log {
:
13 | ///
14 | /// - Returns: A configured `Log` instance for foundation-related logging.
15 | static let foundation: Log = {
| |- note: add '@MainActor' to make static property 'foundation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | var log = Log(system: "wrkstrm", category: "foundation")
17 | log.maxFunctionLength = 25
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:47:24: error: cannot find type 'NotificationCenter' in scope
45 | public final class Token {
46 | public let token: NSObjectProtocol
47 | public let center: NotificationCenter
| `- error: cannot find type 'NotificationCenter' in scope
48 |
49 | public init(token: NSObjectProtocol, center: NotificationCenter) {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:49:50: error: cannot find type 'NotificationCenter' in scope
47 | public let center: NotificationCenter
48 |
49 | public init(token: NSObjectProtocol, center: NotificationCenter) {
| `- error: cannot find type 'NotificationCenter' in scope
50 | self.token = token
51 | self.center = center
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:60:11: error: cannot find type 'NotificationCenter' in scope
58 | }
59 |
60 | extension NotificationCenter {
| `- error: cannot find type 'NotificationCenter' in scope
61 | /// Adds an observer for a given transformer and executes a block when the notification is posted.
62 | ///
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:72:12: error: cannot find type 'OperationQueue' in scope
70 | public func addObserver<A>(
71 | for transformer: Notification.Transformer<A>,
72 | queue: OperationQueue? = .main,
| `- error: cannot find type 'OperationQueue' in scope
73 | using block: @escaping (A) -> Void
74 | ) -> Notification.Token {
[72/72] Compiling WrkstrmFoundation NumberFormatter+Localize.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Log+Foundation.swift:15:14: warning: static property 'foundation' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
13 | ///
14 | /// - Returns: A configured `Log` instance for foundation-related logging.
15 | static let foundation: Log = {
| `- warning: static property 'foundation' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
16 | var log = Log(system: "wrkstrm", category: "foundation")
17 | log.maxFunctionLength = 25
/host/spi-builder-workspace/.build/checkouts/WrkstrmLog/Sources/WrkstrmLog/Log.swift:21:15: note: struct 'Log' does not conform to the 'Sendable' protocol
19 | /// logger.info("Network request started")
20 | /// ```
21 | public struct Log: Hashable {
| `- note: struct 'Log' does not conform to the 'Sendable' protocol
22 | /// Enum defining different logging styles.
23 | public enum Style {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Log+Foundation.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
1 | import WrkstrmLog
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
2 |
3 | extension Log {
:
13 | ///
14 | /// - Returns: A configured `Log` instance for foundation-related logging.
15 | static let foundation: Log = {
| |- note: add '@MainActor' to make static property 'foundation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | var log = Log(system: "wrkstrm", category: "foundation")
17 | log.maxFunctionLength = 25
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:47:24: error: cannot find type 'NotificationCenter' in scope
45 | public final class Token {
46 | public let token: NSObjectProtocol
47 | public let center: NotificationCenter
| `- error: cannot find type 'NotificationCenter' in scope
48 |
49 | public init(token: NSObjectProtocol, center: NotificationCenter) {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:49:50: error: cannot find type 'NotificationCenter' in scope
47 | public let center: NotificationCenter
48 |
49 | public init(token: NSObjectProtocol, center: NotificationCenter) {
| `- error: cannot find type 'NotificationCenter' in scope
50 | self.token = token
51 | self.center = center
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:60:11: error: cannot find type 'NotificationCenter' in scope
58 | }
59 |
60 | extension NotificationCenter {
| `- error: cannot find type 'NotificationCenter' in scope
61 | /// Adds an observer for a given transformer and executes a block when the notification is posted.
62 | ///
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:72:12: error: cannot find type 'OperationQueue' in scope
70 | public func addObserver<A>(
71 | for transformer: Notification.Transformer<A>,
72 | queue: OperationQueue? = .main,
| `- error: cannot find type 'OperationQueue' in scope
73 | using block: @escaping (A) -> Void
74 | ) -> Notification.Token {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
warning: 'spi-builder-workspace': ---- ConfigurationService Deps ----
[PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmLog.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(0.4.0..<1.0.0))), PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmMain.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(1.0.0..<2.0.0)))]
---- ConfigurationService Deps ----
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/28] Compiling Logging Locks.swift
[3/28] Compiling Logging MetadataProvider.swift
[4/28] Compiling WrkstrmMain RandomAccessCollection+IndexedCollection.swift
[5/28] Compiling WrkstrmMain Sequence+Decompose.swift
[6/28] Compiling WrkstrmMain Sequence+Unique.swift
[7/31] Emitting module WrkstrmMain
[8/31] Emitting module Logging
[9/31] Compiling WrkstrmMain CommandLine+Executable.swift
[10/31] Compiling WrkstrmMain Optional+Comparable.swift
[11/31] Compiling WrkstrmMain Optional+Flatten.swift
[12/31] Compiling WrkstrmMain String+Contains.swift
[13/31] Compiling WrkstrmMain String+Count.swift
[14/31] Compiling WrkstrmMain String+Error.swift
[15/31] Compiling WrkstrmMain String+KebabCase.swift
[16/31] Compiling WrkstrmMain String+Source.swift
[17/31] Compiling WrkstrmMain UInt+BitSetting.swift
[18/31] Compiling WrkstrmMain Array+Filter.swift
[19/31] Compiling WrkstrmMain ClosedRange+Magnitude.swift
[20/31] Compiling WrkstrmMain Collection+Sorting.swift
[21/31] Compiling WrkstrmMain BinaryTree.swift
[22/31] Compiling WrkstrmMain TreeClass.swift
[23/31] Compiling WrkstrmMain ListEnum.swift
[24/31] Compiling WrkstrmMain SortEnum.swift
[25/31] Compiling WrkstrmMain IndexedCollection.swift
[26/31] Compiling WrkstrmMain SortedArray.swift
[27/31] Compiling WrkstrmMain JSON.swift
[28/31] Compiling WrkstrmMain Injectable.swift
[29/31] Compiling WrkstrmMain Result.swift
[31/32] Compiling Logging LogHandler.swift
[32/32] Compiling Logging Logging.swift
[34/39] Compiling WrkstrmLog Log+Shared.swift
[35/39] Compiling WrkstrmLog Level+Emoji.swift
[36/39] Emitting module WrkstrmLog
[37/39] Compiling WrkstrmLog ProcessInfo+Xcode.swift
[38/39] Compiling WrkstrmLog Log.swift
[39/39] Compiling WrkstrmLog Level+OSLogType.swift
[41/65] Compiling WrkstrmFoundation Date+ExpressibleByIntegerLiteral.swift
[42/65] Compiling WrkstrmFoundation Date+GitLog.swift
[43/65] Compiling WrkstrmFoundation Date+Utilities.swift
[44/65] Compiling WrkstrmFoundation DateFormatter+Utilities.swift
[45/65] Compiling WrkstrmFoundation FoundationCalendar+Default.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Dates/RelativeDateTimeFormatter+Date.swift:8:11: error: cannot find type 'RelativeDateTimeFormatter' in scope
6 | #endif
7 |
8 | extension RelativeDateTimeFormatter {
| `- error: cannot find type 'RelativeDateTimeFormatter' in scope
9 | /// Returns a non breaking localized string describing the relative time between the provided
10 | /// timestamp and now.
[46/65] Compiling WrkstrmFoundation RelativeDateTimeFormatter+Date.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Dates/RelativeDateTimeFormatter+Date.swift:8:11: error: cannot find type 'RelativeDateTimeFormatter' in scope
6 | #endif
7 |
8 | extension RelativeDateTimeFormatter {
| `- error: cannot find type 'RelativeDateTimeFormatter' in scope
9 | /// Returns a non breaking localized string describing the relative time between the provided
10 | /// timestamp and now.
[47/65] Compiling WrkstrmFoundation FileHandle+Standard.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Dates/RelativeDateTimeFormatter+Date.swift:8:11: error: cannot find type 'RelativeDateTimeFormatter' in scope
6 | #endif
7 |
8 | extension RelativeDateTimeFormatter {
| `- error: cannot find type 'RelativeDateTimeFormatter' in scope
9 | /// Returns a non breaking localized string describing the relative time between the provided
10 | /// timestamp and now.
[48/65] Compiling WrkstrmFoundation FileManager+Source.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Dates/RelativeDateTimeFormatter+Date.swift:8:11: error: cannot find type 'RelativeDateTimeFormatter' in scope
6 | #endif
7 |
8 | extension RelativeDateTimeFormatter {
| `- error: cannot find type 'RelativeDateTimeFormatter' in scope
9 | /// Returns a non breaking localized string describing the relative time between the provided
10 | /// timestamp and now.
[49/68] Compiling WrkstrmFoundation Log+Foundation.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:47:24: error: cannot find type 'NotificationCenter' in scope
45 | public final class Token {
46 | public let token: NSObjectProtocol
47 | public let center: NotificationCenter
| `- error: cannot find type 'NotificationCenter' in scope
48 |
49 | public init(token: NSObjectProtocol, center: NotificationCenter) {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:49:50: error: cannot find type 'NotificationCenter' in scope
47 | public let center: NotificationCenter
48 |
49 | public init(token: NSObjectProtocol, center: NotificationCenter) {
| `- error: cannot find type 'NotificationCenter' in scope
50 | self.token = token
51 | self.center = center
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:60:11: error: cannot find type 'NotificationCenter' in scope
58 | }
59 |
60 | extension NotificationCenter {
| `- error: cannot find type 'NotificationCenter' in scope
61 | /// Adds an observer for a given transformer and executes a block when the notification is posted.
62 | ///
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:72:12: error: cannot find type 'OperationQueue' in scope
70 | public func addObserver<A>(
71 | for transformer: Notification.Transformer<A>,
72 | queue: OperationQueue? = .main,
| `- error: cannot find type 'OperationQueue' in scope
73 | using block: @escaping (A) -> Void
74 | ) -> Notification.Token {
[50/68] Compiling WrkstrmFoundation NotificationCenter+Transformers.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:47:24: error: cannot find type 'NotificationCenter' in scope
45 | public final class Token {
46 | public let token: NSObjectProtocol
47 | public let center: NotificationCenter
| `- error: cannot find type 'NotificationCenter' in scope
48 |
49 | public init(token: NSObjectProtocol, center: NotificationCenter) {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:49:50: error: cannot find type 'NotificationCenter' in scope
47 | public let center: NotificationCenter
48 |
49 | public init(token: NSObjectProtocol, center: NotificationCenter) {
| `- error: cannot find type 'NotificationCenter' in scope
50 | self.token = token
51 | self.center = center
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:60:11: error: cannot find type 'NotificationCenter' in scope
58 | }
59 |
60 | extension NotificationCenter {
| `- error: cannot find type 'NotificationCenter' in scope
61 | /// Adds an observer for a given transformer and executes a block when the notification is posted.
62 | ///
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:72:12: error: cannot find type 'OperationQueue' in scope
70 | public func addObserver<A>(
71 | for transformer: Notification.Transformer<A>,
72 | queue: OperationQueue? = .main,
| `- error: cannot find type 'OperationQueue' in scope
73 | using block: @escaping (A) -> Void
74 | ) -> Notification.Token {
[51/68] Compiling WrkstrmFoundation NumberFormatter+Localize.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:47:24: error: cannot find type 'NotificationCenter' in scope
45 | public final class Token {
46 | public let token: NSObjectProtocol
47 | public let center: NotificationCenter
| `- error: cannot find type 'NotificationCenter' in scope
48 |
49 | public init(token: NSObjectProtocol, center: NotificationCenter) {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:49:50: error: cannot find type 'NotificationCenter' in scope
47 | public let center: NotificationCenter
48 |
49 | public init(token: NSObjectProtocol, center: NotificationCenter) {
| `- error: cannot find type 'NotificationCenter' in scope
50 | self.token = token
51 | self.center = center
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:60:11: error: cannot find type 'NotificationCenter' in scope
58 | }
59 |
60 | extension NotificationCenter {
| `- error: cannot find type 'NotificationCenter' in scope
61 | /// Adds an observer for a given transformer and executes a block when the notification is posted.
62 | ///
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:72:12: error: cannot find type 'OperationQueue' in scope
70 | public func addObserver<A>(
71 | for transformer: Notification.Transformer<A>,
72 | queue: OperationQueue? = .main,
| `- error: cannot find type 'OperationQueue' in scope
73 | using block: @escaping (A) -> Void
74 | ) -> Notification.Token {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[52/68] Compiling WrkstrmFoundation String+Stats.swift
[53/68] Compiling WrkstrmFoundation URL+URLQueryItem.swift
[54/68] Compiling WrkstrmFoundation HTTP.swift
[55/68] Compiling WrkstrmFoundation Calendar.swift
[56/68] Compiling WrkstrmFoundation Event.swift
[57/68] Compiling WrkstrmFoundation Bundle+Version.swift
[58/68] Compiling WrkstrmFoundation Data+UTF8.swift
[59/68] Compiling WrkstrmFoundation String+Casing.swift
[60/68] Compiling WrkstrmFoundation String+Expanding.swift
[61/68] Compiling WrkstrmFoundation String+FileType.swift
[62/68] Emitting module WrkstrmFoundation
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/Dates/RelativeDateTimeFormatter+Date.swift:8:11: error: cannot find type 'RelativeDateTimeFormatter' in scope
6 | #endif
7 |
8 | extension RelativeDateTimeFormatter {
| `- error: cannot find type 'RelativeDateTimeFormatter' in scope
9 | /// Returns a non breaking localized string describing the relative time between the provided
10 | /// timestamp and now.
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:47:24: error: cannot find type 'NotificationCenter' in scope
45 | public final class Token {
46 | public let token: NSObjectProtocol
47 | public let center: NotificationCenter
| `- error: cannot find type 'NotificationCenter' in scope
48 |
49 | public init(token: NSObjectProtocol, center: NotificationCenter) {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:49:50: error: cannot find type 'NotificationCenter' in scope
47 | public let center: NotificationCenter
48 |
49 | public init(token: NSObjectProtocol, center: NotificationCenter) {
| `- error: cannot find type 'NotificationCenter' in scope
50 | self.token = token
51 | self.center = center
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:60:11: error: cannot find type 'NotificationCenter' in scope
58 | }
59 |
60 | extension NotificationCenter {
| `- error: cannot find type 'NotificationCenter' in scope
61 | /// Adds an observer for a given transformer and executes a block when the notification is posted.
62 | ///
[63/68] Compiling WrkstrmFoundation JSONCoders.swift
[64/68] Compiling WrkstrmFoundation JSONEnums.swift
[65/68] Compiling WrkstrmFoundation JSONResource.swift
[66/68] Compiling WrkstrmFoundation Bundle+Decode.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:84:51: error: incorrect argument label in call (have 'withFile:', expected 'with:')
82 | public func get(_ key: AnyHashable? = nil) -> T? {
83 | guard
84 | let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
| `- error: incorrect argument label in call (have 'withFile:', expected 'with:')
85 | as? Data
86 | else {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:84:62: error: cannot convert value of type 'String' to expected argument type 'Data'
82 | public func get(_ key: AnyHashable? = nil) -> T? {
83 | guard
84 | let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
| `- error: cannot convert value of type 'String' to expected argument type 'Data'
85 | as? Data
86 | else {
[67/68] Compiling WrkstrmFoundation CodableArchiver.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:84:51: error: incorrect argument label in call (have 'withFile:', expected 'with:')
82 | public func get(_ key: AnyHashable? = nil) -> T? {
83 | guard
84 | let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
| `- error: incorrect argument label in call (have 'withFile:', expected 'with:')
85 | as? Data
86 | else {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:84:62: error: cannot convert value of type 'String' to expected argument type 'Data'
82 | public func get(_ key: AnyHashable? = nil) -> T? {
83 | guard
84 | let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
| `- error: cannot convert value of type 'String' to expected argument type 'Data'
85 | as? Data
86 | else {
[68/68] Compiling WrkstrmFoundation SecurityScopedAsset.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:84:51: error: incorrect argument label in call (have 'withFile:', expected 'with:')
82 | public func get(_ key: AnyHashable? = nil) -> T? {
83 | guard
84 | let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
| `- error: incorrect argument label in call (have 'withFile:', expected 'with:')
85 | as? Data
86 | else {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:84:62: error: cannot convert value of type 'String' to expected argument type 'Data'
82 | public func get(_ key: AnyHashable? = nil) -> T? {
83 | guard
84 | let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
| `- error: cannot convert value of type 'String' to expected argument type 'Data'
85 | as? Data
86 | else {
BUILD FAILURE 6.1 wasm