Build Information
Successful build of WrkstrmFoundation, reference 0.6.3 (24c782
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 19:48:29 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wrkstrm/WrkstrmFoundation.git
Reference: 0.6.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/wrkstrm/WrkstrmFoundation.git
https://github.com/wrkstrm/WrkstrmFoundation.git
{
"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" : "/Users/admin/builder/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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/33] Compiling Logging MetadataProvider.swift
[7/33] Emitting module Logging
[8/33] Compiling Logging LogHandler.swift
[9/33] Compiling Logging Logging.swift
[10/33] Compiling Logging Locks.swift
[11/39] Emitting module WrkstrmMain
[12/41] Compiling WrkstrmMain RandomAccessCollection+IndexedCollection.swift
[13/41] Compiling WrkstrmMain Sequence+Decompose.swift
[14/41] Compiling WrkstrmMain String+Count.swift
[15/41] Compiling WrkstrmMain String+Error.swift
[16/41] Compiling WrkstrmMain Sequence+Unique.swift
[17/41] Compiling WrkstrmMain String+Contains.swift
[18/41] Compiling WrkstrmMain Injectable.swift
[19/41] Compiling WrkstrmMain Result.swift
[20/41] Compiling WrkstrmMain BinaryTree.swift
[21/41] Compiling WrkstrmMain TreeClass.swift
[22/41] Compiling WrkstrmMain ListEnum.swift
[23/41] Compiling WrkstrmLog ProcessInfo+Xcode.swift
[24/41] Compiling WrkstrmLog Level+Emoji.swift
[25/41] Emitting module WrkstrmLog
[26/41] Compiling WrkstrmLog Level+OSLogType.swift
[27/41] Compiling WrkstrmLog Log.swift
[28/41] Compiling WrkstrmLog Log+Shared.swift
[29/41] Compiling WrkstrmMain Array+Filter.swift
[30/41] Compiling WrkstrmMain ClosedRange+Magnitude.swift
[31/41] Compiling WrkstrmMain Collection+Sorting.swift
[32/41] Compiling WrkstrmMain String+KebabCase.swift
[33/41] Compiling WrkstrmMain String+Source.swift
[34/41] Compiling WrkstrmMain CommandLine+Executable.swift
[35/41] Compiling WrkstrmMain Optional+Comparable.swift
[36/41] Compiling WrkstrmMain Optional+Flatten.swift
[37/41] Compiling WrkstrmMain UInt+BitSetting.swift
[38/41] Compiling WrkstrmMain JSON.swift
[39/41] Compiling WrkstrmMain SortEnum.swift
[40/41] Compiling WrkstrmMain IndexedCollection.swift
[41/41] Compiling WrkstrmMain SortedArray.swift
[42/65] Emitting module WrkstrmFoundation
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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
[43/67] Compiling WrkstrmFoundation Date+ExpressibleByIntegerLiteral.swift
[44/67] Compiling WrkstrmFoundation Date+GitLog.swift
[45/67] Compiling WrkstrmFoundation Date+Utilities.swift
[46/67] Compiling WrkstrmFoundation DateFormatter+Utilities.swift
[47/67] Compiling WrkstrmFoundation FoundationCalendar+Default.swift
[48/67] Compiling WrkstrmFoundation RelativeDateTimeFormatter+Date.swift
[49/67] Compiling WrkstrmFoundation JSONEnums.swift
[50/67] Compiling WrkstrmFoundation JSONResource.swift
[51/67] Compiling WrkstrmFoundation HTTP.swift
[52/67] Compiling WrkstrmFoundation JSONCoders.swift
[53/67] Compiling WrkstrmFoundation String+Stats.swift
[54/67] Compiling WrkstrmFoundation URL+URLQueryItem.swift
[55/67] Compiling WrkstrmFoundation Calendar.swift
[56/67] Compiling WrkstrmFoundation Bundle+Version.swift
[57/67] Compiling WrkstrmFoundation Data+UTF8.swift
[58/67] Compiling WrkstrmFoundation String+Expanding.swift
[59/67] Compiling WrkstrmFoundation String+FileType.swift
[60/67] Compiling WrkstrmFoundation NotificationCenter+Transformers.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:76:7: warning: capture of 'block' with non-sendable type '(A) -> Void' in a '@Sendable' closure
74 | ) -> Notification.Token {
75 | let token = addObserver(forName: transformer.name, object: nil, queue: queue) { note in
76 | block(transformer.transform(note))
| |- warning: capture of 'block' with non-sendable type '(A) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
77 | }
78 | return Notification.Token(token: token, center: self)
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:76:13: warning: capture of 'transformer' with non-sendable type 'Notification.Transformer<A>' in a '@Sendable' closure
20 | /// - name: The name of the notification.
21 | /// - transform: A closure that transforms a `Notification` into type `A`.
22 | public struct Transformer<A> {
| `- note: consider making generic struct 'Transformer' conform to the 'Sendable' protocol
23 | public let name: Notification.Name
24 | public let transform: (Notification) -> A
:
74 | ) -> Notification.Token {
75 | let token = addObserver(forName: transformer.name, object: nil, queue: queue) { note in
76 | block(transformer.transform(note))
| `- warning: capture of 'transformer' with non-sendable type 'Notification.Transformer<A>' in a '@Sendable' closure
77 | }
78 | return Notification.Token(token: token, center: self)
[61/67] Compiling WrkstrmFoundation NumberFormatter+Localize.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:76:7: warning: capture of 'block' with non-sendable type '(A) -> Void' in a '@Sendable' closure
74 | ) -> Notification.Token {
75 | let token = addObserver(forName: transformer.name, object: nil, queue: queue) { note in
76 | block(transformer.transform(note))
| |- warning: capture of 'block' with non-sendable type '(A) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
77 | }
78 | return Notification.Token(token: token, center: self)
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:76:13: warning: capture of 'transformer' with non-sendable type 'Notification.Transformer<A>' in a '@Sendable' closure
20 | /// - name: The name of the notification.
21 | /// - transform: A closure that transforms a `Notification` into type `A`.
22 | public struct Transformer<A> {
| `- note: consider making generic struct 'Transformer' conform to the 'Sendable' protocol
23 | public let name: Notification.Name
24 | public let transform: (Notification) -> A
:
74 | ) -> Notification.Token {
75 | let token = addObserver(forName: transformer.name, object: nil, queue: queue) { note in
76 | block(transformer.transform(note))
| `- warning: capture of 'transformer' with non-sendable type 'Notification.Transformer<A>' in a '@Sendable' closure
77 | }
78 | return Notification.Token(token: token, center: self)
[62/67] Compiling WrkstrmFoundation String+Casing.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:76:7: warning: capture of 'block' with non-sendable type '(A) -> Void' in a '@Sendable' closure
74 | ) -> Notification.Token {
75 | let token = addObserver(forName: transformer.name, object: nil, queue: queue) { note in
76 | block(transformer.transform(note))
| |- warning: capture of 'block' with non-sendable type '(A) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
77 | }
78 | return Notification.Token(token: token, center: self)
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Extensions/NotificationCenter+Transformers.swift:76:13: warning: capture of 'transformer' with non-sendable type 'Notification.Transformer<A>' in a '@Sendable' closure
20 | /// - name: The name of the notification.
21 | /// - transform: A closure that transforms a `Notification` into type `A`.
22 | public struct Transformer<A> {
| `- note: consider making generic struct 'Transformer' conform to the 'Sendable' protocol
23 | public let name: Notification.Name
24 | public let transform: (Notification) -> A
:
74 | ) -> Notification.Token {
75 | let token = addObserver(forName: transformer.name, object: nil, queue: queue) { note in
76 | block(transformer.transform(note))
| `- warning: capture of 'transformer' with non-sendable type 'Notification.Transformer<A>' in a '@Sendable' closure
77 | }
78 | return Notification.Token(token: token, center: self)
[63/67] Compiling WrkstrmFoundation FileHandle+Standard.swift
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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
[64/67] Compiling WrkstrmFoundation FileManager+Source.swift
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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
[65/67] Compiling WrkstrmFoundation Log+Foundation.swift
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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
[66/67] Compiling WrkstrmFoundation Bundle+Decode.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:88:36: warning: 'unarchiveObject(withFile:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead
86 | public func get(_ key: AnyHashable? = nil) -> T? {
87 | guard
88 | let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
| `- warning: 'unarchiveObject(withFile:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead
89 | as? Data
90 | else {
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:119:28: warning: 'archiveRootObject(_:toFile:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: and -writeToURL:options:error: instead
117 | )
118 |
119 | return NSKeyedArchiver.archiveRootObject(data, toFile: filePathForKey(key ?? self.key))
| `- warning: 'archiveRootObject(_:toFile:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: and -writeToURL:options:error: instead
120 | }
121 |
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:140:28: warning: 'archiveRootObject(_:toFile:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: and -writeToURL:options:error: instead
138 | )
139 |
140 | return NSKeyedArchiver.archiveRootObject(encodedValues, toFile: filePathForKey(key ?? self.key))
| `- warning: 'archiveRootObject(_:toFile:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: and -writeToURL:options:error: instead
141 | }
142 |
[67/67] Compiling WrkstrmFoundation CodableArchiver.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:88:36: warning: 'unarchiveObject(withFile:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead
86 | public func get(_ key: AnyHashable? = nil) -> T? {
87 | guard
88 | let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
| `- warning: 'unarchiveObject(withFile:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead
89 | as? Data
90 | else {
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:119:28: warning: 'archiveRootObject(_:toFile:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: and -writeToURL:options:error: instead
117 | )
118 |
119 | return NSKeyedArchiver.archiveRootObject(data, toFile: filePathForKey(key ?? self.key))
| `- warning: 'archiveRootObject(_:toFile:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: and -writeToURL:options:error: instead
120 | }
121 |
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:140:28: warning: 'archiveRootObject(_:toFile:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: and -writeToURL:options:error: instead
138 | )
139 |
140 | return NSKeyedArchiver.archiveRootObject(encodedValues, toFile: filePathForKey(key ?? self.key))
| `- warning: 'archiveRootObject(_:toFile:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: and -writeToURL:options:error: instead
141 | }
142 |
Build complete! (11.13s)
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
[159/1712] Fetching wrkstrmlog, wrkstrmmain
Fetched https://github.com/wrkstrm/WrkstrmMain.git from cache (0.79s)
[848/874] Fetching wrkstrmlog
Fetched https://github.com/wrkstrm/WrkstrmLog.git from cache (0.87s)
Computing version for https://github.com/wrkstrm/WrkstrmMain.git
Computed https://github.com/wrkstrm/WrkstrmMain.git at 1.0.0 (1.50s)
Computing version for https://github.com/wrkstrm/WrkstrmLog.git
Computed https://github.com/wrkstrm/WrkstrmLog.git at 0.4.0 (0.61s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.68s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.17s)
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/wrkstrm/WrkstrmMain.git
Working copy of https://github.com/wrkstrm/WrkstrmMain.git resolved at 1.0.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
Build complete.
{
"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" : "/Users/admin/builder/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 ----
Done.