Build Information
Failed to build WrkstrmFoundation, reference 0.6.3 (24c782
), with Swift 6.1 for Wasm on 29 May 2025 22:01:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: 0.6.3
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
* tag 0.6.3 -> FETCH_HEAD
HEAD is now at 24c7826 Create RelativeDateTimeFormatter+Date.swift
Cloned https://github.com/wrkstrm/WrkstrmFoundation.git
Revision (git rev-parse @):
24c78264ca576668b98319c5237e55e2d986ef47
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/wrkstrm/WrkstrmFoundation.git at 0.6.3
========================================
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",
"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"
],
"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-0":/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/838] Fetching wrkstrmmain
[839/1712] Fetching wrkstrmmain, wrkstrmlog
Fetched https://github.com/wrkstrm/WrkstrmMain.git from cache (1.18s)
Fetched https://github.com/wrkstrm/WrkstrmLog.git from cache (1.22s)
Computing version for https://github.com/wrkstrm/WrkstrmMain.git
Computed https://github.com/wrkstrm/WrkstrmMain.git at 1.0.0 (1.90s)
Computing version for https://github.com/wrkstrm/WrkstrmLog.git
Computed https://github.com/wrkstrm/WrkstrmLog.git at 0.4.0 (0.74s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.37s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.81s)
Creating working copy for https://github.com/wrkstrm/WrkstrmLog.git
Working copy of https://github.com/wrkstrm/WrkstrmLog.git resolved at 0.4.0
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
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/32] Emitting module WrkstrmMain
[7/35] Compiling WrkstrmMain JSON.swift
[8/35] Compiling WrkstrmMain Injectable.swift
[9/35] Compiling WrkstrmMain Result.swift
[10/35] Compiling WrkstrmMain CommandLine+Executable.swift
[11/35] Compiling WrkstrmMain Optional+Comparable.swift
[12/35] Compiling WrkstrmMain Optional+Flatten.swift
[13/35] Compiling WrkstrmMain RandomAccessCollection+IndexedCollection.swift
[14/35] Compiling WrkstrmMain Sequence+Decompose.swift
[15/35] Compiling WrkstrmMain Sequence+Unique.swift
[16/35] Compiling Logging MetadataProvider.swift
[17/35] Compiling Logging LogHandler.swift
[18/35] Compiling Logging Logging.swift
[19/35] Compiling Logging Locks.swift
[20/35] Emitting module Logging
[22/36] Compiling WrkstrmMain BinaryTree.swift
[23/36] Compiling WrkstrmMain TreeClass.swift
[24/36] Compiling WrkstrmMain ListEnum.swift
[25/36] Compiling WrkstrmMain String+Contains.swift
[26/36] Compiling WrkstrmMain String+Count.swift
[27/36] Compiling WrkstrmMain String+Error.swift
[28/36] Compiling WrkstrmMain String+KebabCase.swift
[29/36] Compiling WrkstrmMain String+Source.swift
[30/36] Compiling WrkstrmMain UInt+BitSetting.swift
[31/36] Compiling WrkstrmMain SortEnum.swift
[32/36] Compiling WrkstrmMain IndexedCollection.swift
[33/36] Compiling WrkstrmMain SortedArray.swift
[34/36] Compiling WrkstrmMain Array+Filter.swift
[35/36] Compiling WrkstrmMain ClosedRange+Magnitude.swift
[36/36] Compiling WrkstrmMain Collection+Sorting.swift
[38/43] Compiling WrkstrmLog Level+Emoji.swift
[39/43] Emitting module WrkstrmLog
[40/43] Compiling WrkstrmLog ProcessInfo+Xcode.swift
[41/43] Compiling WrkstrmLog Level+OSLogType.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/67] 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 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/70] Compiling WrkstrmFoundation NumberFormatter+Localize.swift
[47/70] Compiling WrkstrmFoundation String+Casing.swift
[48/70] Compiling WrkstrmFoundation String+Expanding.swift
[49/70] Compiling WrkstrmFoundation HTTP.swift
[50/70] Compiling WrkstrmFoundation JSONCoders.swift
[51/70] Compiling WrkstrmFoundation JSONEnums.swift
[52/70] Compiling WrkstrmFoundation FileManager+Source.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 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 {
[53/70] 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 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 {
[54/70] 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 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 {
[55/70] Compiling WrkstrmFoundation JSONResource.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:88:51: error: incorrect argument label in call (have 'withFile:', expected 'with:')
86 | public func get(_ key: AnyHashable? = nil) -> T? {
87 | guard
88 | let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
| `- error: incorrect argument label in call (have 'withFile:', expected 'with:')
89 | as? Data
90 | else {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:88:62: error: cannot convert value of type 'String' to expected argument type 'Data'
86 | public func get(_ key: AnyHashable? = nil) -> T? {
87 | guard
88 | let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
| `- error: cannot convert value of type 'String' to expected argument type 'Data'
89 | as? Data
90 | else {
[56/70] Compiling WrkstrmFoundation Bundle+Decode.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:88:51: error: incorrect argument label in call (have 'withFile:', expected 'with:')
86 | public func get(_ key: AnyHashable? = nil) -> T? {
87 | guard
88 | let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
| `- error: incorrect argument label in call (have 'withFile:', expected 'with:')
89 | as? Data
90 | else {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:88:62: error: cannot convert value of type 'String' to expected argument type 'Data'
86 | public func get(_ key: AnyHashable? = nil) -> T? {
87 | guard
88 | let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
| `- error: cannot convert value of type 'String' to expected argument type 'Data'
89 | as? Data
90 | else {
[57/70] Compiling WrkstrmFoundation CodableArchiver.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:88:51: error: incorrect argument label in call (have 'withFile:', expected 'with:')
86 | public func get(_ key: AnyHashable? = nil) -> T? {
87 | guard
88 | let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
| `- error: incorrect argument label in call (have 'withFile:', expected 'with:')
89 | as? Data
90 | else {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:88:62: error: cannot convert value of type 'String' to expected argument type 'Data'
86 | public func get(_ key: AnyHashable? = nil) -> T? {
87 | guard
88 | let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
| `- error: cannot convert value of type 'String' to expected argument type 'Data'
89 | as? Data
90 | else {
[58/70] Compiling WrkstrmFoundation Date+GitLog.swift
[59/70] Compiling WrkstrmFoundation Date+Utilities.swift
[60/70] Compiling WrkstrmFoundation DateFormatter+Utilities.swift
[61/70] Compiling WrkstrmFoundation String+FileType.swift
[62/70] Compiling WrkstrmFoundation String+Stats.swift
[63/70] Compiling WrkstrmFoundation URL+URLQueryItem.swift
[64/70] Compiling WrkstrmFoundation Calendar.swift
[65/70] Compiling WrkstrmFoundation Bundle+Version.swift
[66/70] Compiling WrkstrmFoundation Data+UTF8.swift
[67/70] Compiling WrkstrmFoundation Date+ExpressibleByIntegerLiteral.swift
[68/70] 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.
[69/70] 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.
[70/70] 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.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 MetadataProvider.swift
[3/28] Compiling WrkstrmMain String+Contains.swift
[4/28] Compiling WrkstrmMain String+Count.swift
[5/28] Compiling WrkstrmMain String+Error.swift
[6/31] Compiling Logging Locks.swift
[7/31] Emitting module Logging
[8/31] Compiling WrkstrmMain RandomAccessCollection+IndexedCollection.swift
[9/31] Compiling WrkstrmMain Sequence+Decompose.swift
[10/31] Compiling WrkstrmMain Sequence+Unique.swift
[11/31] Compiling WrkstrmMain CommandLine+Executable.swift
[12/31] Compiling WrkstrmMain Optional+Comparable.swift
[13/31] Compiling WrkstrmMain Optional+Flatten.swift
[14/31] Compiling WrkstrmMain Array+Filter.swift
[15/31] Compiling WrkstrmMain ClosedRange+Magnitude.swift
[16/31] Compiling WrkstrmMain Collection+Sorting.swift
[17/31] Compiling WrkstrmMain SortEnum.swift
[18/31] Compiling WrkstrmMain IndexedCollection.swift
[19/31] Compiling WrkstrmMain SortedArray.swift
[20/31] Compiling WrkstrmMain String+KebabCase.swift
[21/31] Compiling WrkstrmMain String+Source.swift
[22/31] Compiling WrkstrmMain UInt+BitSetting.swift
[23/31] Compiling WrkstrmMain JSON.swift
[24/31] Compiling WrkstrmMain Injectable.swift
[25/31] Compiling WrkstrmMain Result.swift
[26/31] Emitting module WrkstrmMain
[27/31] Compiling WrkstrmMain BinaryTree.swift
[28/31] Compiling WrkstrmMain TreeClass.swift
[29/31] Compiling WrkstrmMain ListEnum.swift
[31/32] Compiling Logging Logging.swift
[32/32] Compiling Logging LogHandler.swift
[34/39] Compiling WrkstrmLog ProcessInfo+Xcode.swift
[35/39] Compiling WrkstrmLog Log+Shared.swift
[36/39] Compiling WrkstrmLog Level+Emoji.swift
[37/39] Compiling WrkstrmLog Level+OSLogType.swift
[38/39] Emitting module WrkstrmLog
[39/39] Compiling WrkstrmLog Log.swift
[41/63] Compiling WrkstrmFoundation FileManager+Source.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:47:24: error: cannot find type 'NotificationCenter' in scope
45 | public 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 {
[42/63] 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 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 {
[43/63] 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 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)
[44/66] 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 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 | ///
[45/66] Compiling WrkstrmFoundation NumberFormatter+Localize.swift
[46/66] Compiling WrkstrmFoundation String+Casing.swift
[47/66] Compiling WrkstrmFoundation String+Expanding.swift
[48/66] 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.
[49/66] 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.
[50/66] 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.
[51/66] Compiling WrkstrmFoundation Date+GitLog.swift
[52/66] Compiling WrkstrmFoundation Date+Utilities.swift
[53/66] Compiling WrkstrmFoundation DateFormatter+Utilities.swift
[54/66] Compiling WrkstrmFoundation Calendar.swift
[55/66] Compiling WrkstrmFoundation Bundle+Version.swift
[56/66] Compiling WrkstrmFoundation Data+UTF8.swift
[57/66] Compiling WrkstrmFoundation Date+ExpressibleByIntegerLiteral.swift
[58/66] Compiling WrkstrmFoundation String+FileType.swift
[59/66] Compiling WrkstrmFoundation String+Stats.swift
[60/66] Compiling WrkstrmFoundation URL+URLQueryItem.swift
[61/66] Compiling WrkstrmFoundation HTTP.swift
[62/66] Compiling WrkstrmFoundation JSONCoders.swift
[63/66] Compiling WrkstrmFoundation JSONEnums.swift
[64/66] Compiling WrkstrmFoundation JSONResource.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:88:51: error: incorrect argument label in call (have 'withFile:', expected 'with:')
86 | public func get(_ key: AnyHashable? = nil) -> T? {
87 | guard
88 | let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
| `- error: incorrect argument label in call (have 'withFile:', expected 'with:')
89 | as? Data
90 | else {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:88:62: error: cannot convert value of type 'String' to expected argument type 'Data'
86 | public func get(_ key: AnyHashable? = nil) -> T? {
87 | guard
88 | let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
| `- error: cannot convert value of type 'String' to expected argument type 'Data'
89 | as? Data
90 | else {
[65/66] Compiling WrkstrmFoundation Bundle+Decode.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:88:51: error: incorrect argument label in call (have 'withFile:', expected 'with:')
86 | public func get(_ key: AnyHashable? = nil) -> T? {
87 | guard
88 | let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
| `- error: incorrect argument label in call (have 'withFile:', expected 'with:')
89 | as? Data
90 | else {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:88:62: error: cannot convert value of type 'String' to expected argument type 'Data'
86 | public func get(_ key: AnyHashable? = nil) -> T? {
87 | guard
88 | let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
| `- error: cannot convert value of type 'String' to expected argument type 'Data'
89 | as? Data
90 | else {
[66/66] Compiling WrkstrmFoundation CodableArchiver.swift
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:88:51: error: incorrect argument label in call (have 'withFile:', expected 'with:')
86 | public func get(_ key: AnyHashable? = nil) -> T? {
87 | guard
88 | let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
| `- error: incorrect argument label in call (have 'withFile:', expected 'with:')
89 | as? Data
90 | else {
/host/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:88:62: error: cannot convert value of type 'String' to expected argument type 'Data'
86 | public func get(_ key: AnyHashable? = nil) -> T? {
87 | guard
88 | let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
| `- error: cannot convert value of type 'String' to expected argument type 'Data'
89 | as? Data
90 | else {
BUILD FAILURE 6.1 wasm