Build Information
Failed to build WrkstrmFoundation, reference main (3915f2
), with Swift 6.2 (beta) for macOS (SPM) on 11 Sep 2025 15:58:51 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wrkstrm/WrkstrmFoundation.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/wrkstrm/WrkstrmFoundation
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 3915f29 Add version helper.
Cloned https://github.com/wrkstrm/WrkstrmFoundation.git
Revision (git rev-parse @):
3915f299e6812f358bcd247a8125c87dd7dea6af
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/wrkstrm/WrkstrmFoundation.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/wrkstrm/WrkstrmFoundation.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-1EA4D86E10B52AF.txt
[8/39] Emitting module Logging
[9/39] Compiling Logging Locks.swift
[10/39] Compiling Logging LogHandler.swift
[11/39] Compiling Logging Logging.swift
[12/39] Compiling Logging MetadataProvider.swift
[13/56] Emitting module WrkstrmMain
[14/58] Compiling WrkstrmMain CommandLine+Executable.swift
[15/58] Compiling WrkstrmMain Optional+AnyFlattenable.swift
[16/58] Compiling WrkstrmMain OptionalComparisons.swift
[17/58] Compiling WrkstrmLog Level+Emoji.swift
[18/58] Compiling WrkstrmLog Level+OSLogType.swift
[19/58] Compiling WrkstrmMain RandomAccessCollection+IndexedCollection.swift
[20/58] Compiling WrkstrmMain Sequence+Decompose.swift
[21/58] Compiling WrkstrmMain Sequence+Unique.swift
[22/58] Compiling WrkstrmMain Array+Filter.swift
[23/58] Compiling WrkstrmMain ClosedRange+Magnitude.swift
[24/58] Compiling WrkstrmMain Collection+Sorting.swift
[25/58] Compiling WrkstrmLog Log+CacheStorage.WASM.swift
[26/58] Compiling WrkstrmLog Log+Levels.swift
[27/58] Compiling WrkstrmLog Log+Shared.swift
[28/58] Compiling WrkstrmMain String+Contains.swift
[29/58] Compiling WrkstrmMain String+Count.swift
[30/58] Compiling WrkstrmMain String+KebabCase.swift
[31/58] Compiling WrkstrmLog DisabledLogBackend.swift
[32/58] Compiling WrkstrmLog OSLogBackend.swift
[33/58] Compiling WrkstrmLog PrintLogBackend.swift
[34/58] Compiling WrkstrmLog LogBackend.swift
[35/59] Compiling WrkstrmLog Log+Cache.swift
[37/59] Compiling WrkstrmMain Injectable.swift
[38/59] Compiling WrkstrmMain Random.swift
[41/59] Emitting module WrkstrmLog
[42/59] Compiling WrkstrmLog Log+CacheStorage.swift
[43/59] Compiling WrkstrmLog Log+Inject.swift
[45/59] Compiling WrkstrmLog ProcessInfo+Xcode.swift
[46/59] Compiling WrkstrmLog SwiftLogBackend.swift
[47/59] Compiling WrkstrmLog CommonLogContext.swift
[48/59] Compiling WrkstrmLog FatalErrorUtil.swift
[59/59] Compiling WrkstrmLog Log.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[60/90] Emitting module WrkstrmFoundation
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONDataCoding+Foundation.swift:5:24: error: cannot find type 'JSONDataEncoding' in scope
3 |
4 | // Default conformances for Foundation JSON coders to top-level protocols.
5 | extension JSONEncoder: JSONDataEncoding {}
| `- error: cannot find type 'JSONDataEncoding' in scope
6 | extension JSONDecoder: JSONDataDecoding {}
7 |
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONDataCoding+Foundation.swift:6:24: error: cannot find type 'JSONDataDecoding' in scope
4 | // Default conformances for Foundation JSON coders to top-level protocols.
5 | extension JSONEncoder: JSONDataEncoding {}
6 | extension JSONDecoder: JSONDataDecoding {}
| `- error: cannot find type 'JSONDataDecoding' in scope
7 |
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Alternating.swift:6:17: error: cannot find type 'JSONDataEncoding' in scope
4 | // Type-erased boxes to concretize existential JSON coders when wrapping with Instrumented<>
5 | private struct _AnyJSONEncoding: JSONDataEncoding {
6 | let base: any JSONDataEncoding
| `- error: cannot find type 'JSONDataEncoding' in scope
7 | func encode<T: Encodable>(_ value: T) throws -> Data { try base.encode(value) }
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Alternating.swift:5:34: error: cannot find type 'JSONDataEncoding' in scope
3 |
4 | // Type-erased boxes to concretize existential JSON coders when wrapping with Instrumented<>
5 | private struct _AnyJSONEncoding: JSONDataEncoding {
| `- error: cannot find type 'JSONDataEncoding' in scope
6 | let base: any JSONDataEncoding
7 | func encode<T: Encodable>(_ value: T) throws -> Data { try base.encode(value) }
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Alternating.swift:10:17: error: cannot find type 'JSONDataDecoding' in scope
8 | }
9 | private struct _AnyJSONDecoding: JSONDataDecoding {
10 | let base: any JSONDataDecoding
| `- error: cannot find type 'JSONDataDecoding' in scope
11 | func decode<T: Decodable>(_ type: T.Type, from data: Data) throws -> T {
12 | try base.decode(T.self, from: data)
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Alternating.swift:9:34: error: cannot find type 'JSONDataDecoding' in scope
7 | func encode<T: Encodable>(_ value: T) throws -> Data { try base.encode(value) }
8 | }
9 | private struct _AnyJSONDecoding: JSONDataDecoding {
| `- error: cannot find type 'JSONDataDecoding' in scope
10 | let base: any JSONDataDecoding
11 | func decode<T: Decodable>(_ type: T.Type, from data: Data) throws -> T {
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Alternating.swift:16:28: error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
14 | }
15 |
16 | extension WrkstrmMain.JSON.Parser {
| `- error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
17 | /// Build a composite parser from a list of parser details.
18 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON.swift:5:13: note: 'JSON' declared here
3 | /// `JSON` serves as a namespace for various types that facilitate working with JSON data,
4 | /// such as dictionaries with `String` keys and `Any` or `AnyEquatableStruct` values.
5 | public enum JSON {
| `- note: 'JSON' declared here
6 | /// A type alias representing a dictionary with `String` keys and `Any` values.
7 | ///
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Instrumentation.swift:4:16: error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
2 | import WrkstrmMain
3 |
4 | extension JSON.Parser {
| `- error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
5 | /// Returns an instrumented copy of this parser using the generic wrapper.
6 | public func instrumented(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON.swift:5:13: note: 'JSON' declared here
3 | /// `JSON` serves as a namespace for various types that facilitate working with JSON data,
4 | /// such as dictionaries with `String` keys and `Any` or `AnyEquatableStruct` values.
5 | public enum JSON {
| `- note: 'JSON' declared here
6 | /// A type alias representing a dictionary with `String` keys and `Any` values.
7 | ///
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser.swift:5:28: error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
3 |
4 | // Keep Foundation coupling/defaults here; core Parser lives in WrkstrmMain.
5 | extension WrkstrmMain.JSON.Parser {
| `- error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
6 | /// Foundation-backed defaults (camelCase keys, robust date handling).
7 | public static var foundationDefault: WrkstrmMain.JSON.Parser {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON.swift:5:13: note: 'JSON' declared here
3 | /// `JSON` serves as a namespace for various types that facilitate working with JSON data,
4 | /// such as dictionaries with `String` keys and `Any` or `AnyEquatableStruct` values.
5 | public enum JSON {
| `- note: 'JSON' declared here
6 | /// A type alias representing a dictionary with `String` keys and `Any` values.
7 | ///
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:33:54: error: cannot find type 'JSONDataEncoding' in scope
31 | // MARK: - JSONDataEncoding/Decoding conformances
32 |
33 | extension Instrumented: JSONDataEncoding where Base: JSONDataEncoding {
| `- error: cannot find type 'JSONDataEncoding' in scope
34 | public func encode<T: Encodable>(_ value: T) throws -> Data {
35 | let start = DispatchTime.now().uptimeNanoseconds
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:33:25: error: cannot find type 'JSONDataEncoding' in scope
31 | // MARK: - JSONDataEncoding/Decoding conformances
32 |
33 | extension Instrumented: JSONDataEncoding where Base: JSONDataEncoding {
| `- error: cannot find type 'JSONDataEncoding' in scope
34 | public func encode<T: Encodable>(_ value: T) throws -> Data {
35 | let start = DispatchTime.now().uptimeNanoseconds
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:73:54: error: cannot find type 'JSONDataDecoding' in scope
71 | }
72 |
73 | extension Instrumented: JSONDataDecoding where Base: JSONDataDecoding {
| `- error: cannot find type 'JSONDataDecoding' in scope
74 | public func decode<T: Decodable>(_ type: T.Type, from data: Data) throws -> T {
75 | let start = DispatchTime.now().uptimeNanoseconds
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:73:25: error: cannot find type 'JSONDataDecoding' in scope
71 | }
72 |
73 | extension Instrumented: JSONDataDecoding where Base: JSONDataDecoding {
| `- error: cannot find type 'JSONDataDecoding' in scope
74 | public func decode<T: Decodable>(_ type: T.Type, from data: Data) throws -> T {
75 | let start = DispatchTime.now().uptimeNanoseconds
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:117:24: error: cannot find type 'JSONDataEncoding' in scope
115 | /// Instrumentation wrapper for existential encoders.
116 | public struct InstrumentedAnyEncoder: JSONDataEncoding, Sendable {
117 | public let base: any JSONDataEncoding
| `- error: cannot find type 'JSONDataEncoding' in scope
118 | public let name: String
119 | public let context: String?
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:123:15: error: cannot find type 'JSONDataEncoding' in scope
121 |
122 | public init(
123 | base: any JSONDataEncoding,
| `- error: cannot find type 'JSONDataEncoding' in scope
124 | name: String,
125 | context: String? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:116:39: error: cannot find type 'JSONDataEncoding' in scope
114 |
115 | /// Instrumentation wrapper for existential encoders.
116 | public struct InstrumentedAnyEncoder: JSONDataEncoding, Sendable {
| `- error: cannot find type 'JSONDataEncoding' in scope
117 | public let base: any JSONDataEncoding
118 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:175:24: error: cannot find type 'JSONDataDecoding' in scope
173 | /// Instrumentation wrapper for existential decoders.
174 | public struct InstrumentedAnyDecoder: JSONDataDecoding, Sendable {
175 | public let base: any JSONDataDecoding
| `- error: cannot find type 'JSONDataDecoding' in scope
176 | public let name: String
177 | public let context: String?
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:181:15: error: cannot find type 'JSONDataDecoding' in scope
179 |
180 | public init(
181 | base: any JSONDataDecoding,
| `- error: cannot find type 'JSONDataDecoding' in scope
182 | name: String,
183 | context: String? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:174:39: error: cannot find type 'JSONDataDecoding' in scope
172 |
173 | /// Instrumentation wrapper for existential decoders.
174 | public struct InstrumentedAnyDecoder: JSONDataDecoding, Sendable {
| `- error: cannot find type 'JSONDataDecoding' in scope
175 | public let base: any JSONDataDecoding
176 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:42:29: warning: 'default' is deprecated: Use JSONEncoder.commonDateFormatting for shared date encoding [#DeprecatedDeclaration]
40 | key: AnyHashable,
41 | directory: FileManager.SearchPathDirectory,
42 | encoder: JSONEncoder = .default,
| `- warning: 'default' is deprecated: Use JSONEncoder.commonDateFormatting for shared date encoding [#DeprecatedDeclaration]
43 | decoder: JSONDecoder = .default,
44 | searchPathDomainMask: FileManager.SearchPathDomainMask = [.allDomainsMask],
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:43:29: warning: 'default' is deprecated: Use JSONDecoder.commonDateParsing for shared date parsing [#DeprecatedDeclaration]
41 | directory: FileManager.SearchPathDirectory,
42 | encoder: JSONEncoder = .default,
43 | decoder: JSONDecoder = .default,
| `- warning: 'default' is deprecated: Use JSONDecoder.commonDateParsing for shared date parsing [#DeprecatedDeclaration]
44 | searchPathDomainMask: FileManager.SearchPathDomainMask = [.allDomainsMask],
45 | ) throws {
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:65:29: warning: 'default' is deprecated: Use JSONEncoder.commonDateFormatting for shared date encoding [#DeprecatedDeclaration]
63 | public init(
64 | directory: URL,
65 | encoder: JSONEncoder = .default,
| `- warning: 'default' is deprecated: Use JSONEncoder.commonDateFormatting for shared date encoding [#DeprecatedDeclaration]
66 | decoder: JSONDecoder = .default,
67 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:66:29: warning: 'default' is deprecated: Use JSONDecoder.commonDateParsing for shared date parsing [#DeprecatedDeclaration]
64 | directory: URL,
65 | encoder: JSONEncoder = .default,
66 | decoder: JSONDecoder = .default,
| `- warning: 'default' is deprecated: Use JSONDecoder.commonDateParsing for shared date parsing [#DeprecatedDeclaration]
67 | ) {
68 | self.encoder = encoder
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[61/93] Compiling WrkstrmFoundation JSONParser+Alternating.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Alternating.swift:6:17: error: cannot find type 'JSONDataEncoding' in scope
4 | // Type-erased boxes to concretize existential JSON coders when wrapping with Instrumented<>
5 | private struct _AnyJSONEncoding: JSONDataEncoding {
6 | let base: any JSONDataEncoding
| `- error: cannot find type 'JSONDataEncoding' in scope
7 | func encode<T: Encodable>(_ value: T) throws -> Data { try base.encode(value) }
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Alternating.swift:5:34: error: cannot find type 'JSONDataEncoding' in scope
3 |
4 | // Type-erased boxes to concretize existential JSON coders when wrapping with Instrumented<>
5 | private struct _AnyJSONEncoding: JSONDataEncoding {
| `- error: cannot find type 'JSONDataEncoding' in scope
6 | let base: any JSONDataEncoding
7 | func encode<T: Encodable>(_ value: T) throws -> Data { try base.encode(value) }
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Alternating.swift:10:17: error: cannot find type 'JSONDataDecoding' in scope
8 | }
9 | private struct _AnyJSONDecoding: JSONDataDecoding {
10 | let base: any JSONDataDecoding
| `- error: cannot find type 'JSONDataDecoding' in scope
11 | func decode<T: Decodable>(_ type: T.Type, from data: Data) throws -> T {
12 | try base.decode(T.self, from: data)
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Alternating.swift:9:34: error: cannot find type 'JSONDataDecoding' in scope
7 | func encode<T: Encodable>(_ value: T) throws -> Data { try base.encode(value) }
8 | }
9 | private struct _AnyJSONDecoding: JSONDataDecoding {
| `- error: cannot find type 'JSONDataDecoding' in scope
10 | let base: any JSONDataDecoding
11 | func decode<T: Decodable>(_ type: T.Type, from data: Data) throws -> T {
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Alternating.swift:16:28: error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
14 | }
15 |
16 | extension WrkstrmMain.JSON.Parser {
| `- error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
17 | /// Build a composite parser from a list of parser details.
18 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON.swift:5:13: note: 'JSON' declared here
3 | /// `JSON` serves as a namespace for various types that facilitate working with JSON data,
4 | /// such as dictionaries with `String` keys and `Any` or `AnyEquatableStruct` values.
5 | public enum JSON {
| `- note: 'JSON' declared here
6 | /// A type alias representing a dictionary with `String` keys and `Any` values.
7 | ///
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Instrumentation.swift:4:16: error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
2 | import WrkstrmMain
3 |
4 | extension JSON.Parser {
| `- error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
5 | /// Returns an instrumented copy of this parser using the generic wrapper.
6 | public func instrumented(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON.swift:5:13: note: 'JSON' declared here
3 | /// `JSON` serves as a namespace for various types that facilitate working with JSON data,
4 | /// such as dictionaries with `String` keys and `Any` or `AnyEquatableStruct` values.
5 | public enum JSON {
| `- note: 'JSON' declared here
6 | /// A type alias representing a dictionary with `String` keys and `Any` values.
7 | ///
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser.swift:5:28: error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
3 |
4 | // Keep Foundation coupling/defaults here; core Parser lives in WrkstrmMain.
5 | extension WrkstrmMain.JSON.Parser {
| `- error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
6 | /// Foundation-backed defaults (camelCase keys, robust date handling).
7 | public static var foundationDefault: WrkstrmMain.JSON.Parser {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON.swift:5:13: note: 'JSON' declared here
3 | /// `JSON` serves as a namespace for various types that facilitate working with JSON data,
4 | /// such as dictionaries with `String` keys and `Any` or `AnyEquatableStruct` values.
5 | public enum JSON {
| `- note: 'JSON' declared here
6 | /// A type alias representing a dictionary with `String` keys and `Any` values.
7 | ///
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Alternating.swift:28:25: error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
26 | context: String? = nil,
27 | store: JSON.ParseMetricsStore?
28 | ) -> WrkstrmMain.JSON.Parser {
| `- error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
29 | precondition(!details.isEmpty, "At least one parser is required")
30 | // Instrument each parser’s components with its name.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON.swift:5:13: note: 'JSON' declared here
3 | /// `JSON` serves as a namespace for various types that facilitate working with JSON data,
4 | /// such as dictionaries with `String` keys and `Any` or `AnyEquatableStruct` values.
5 | public enum JSON {
| `- note: 'JSON' declared here
6 | /// A type alias representing a dictionary with `String` keys and `Any` values.
7 | ///
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Alternating.swift:24:34: error: 'ParserInstrumentationDetails' is not a member type of enum 'WrkstrmMain.JSON'
22 | /// - store: Metrics store for instrumentation.
23 | public static func composite(
24 | _ details: [WrkstrmMain.JSON.ParserInstrumentationDetails],
| `- error: 'ParserInstrumentationDetails' is not a member type of enum 'WrkstrmMain.JSON'
25 | mode: WrkstrmMain.JSON.CompositeMode,
26 | context: String? = nil,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON.swift:5:13: note: 'JSON' declared here
3 | /// `JSON` serves as a namespace for various types that facilitate working with JSON data,
4 | /// such as dictionaries with `String` keys and `Any` or `AnyEquatableStruct` values.
5 | public enum JSON {
| `- note: 'JSON' declared here
6 | /// A type alias representing a dictionary with `String` keys and `Any` values.
7 | ///
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Alternating.swift:25:28: error: 'CompositeMode' is not a member type of enum 'WrkstrmMain.JSON'
23 | public static func composite(
24 | _ details: [WrkstrmMain.JSON.ParserInstrumentationDetails],
25 | mode: WrkstrmMain.JSON.CompositeMode,
| `- error: 'CompositeMode' is not a member type of enum 'WrkstrmMain.JSON'
26 | context: String? = nil,
27 | store: JSON.ParseMetricsStore?
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON.swift:5:13: note: 'JSON' declared here
3 | /// `JSON` serves as a namespace for various types that facilitate working with JSON data,
4 | /// such as dictionaries with `String` keys and `Any` or `AnyEquatableStruct` values.
5 | public enum JSON {
| `- note: 'JSON' declared here
6 | /// A type alias representing a dictionary with `String` keys and `Any` values.
7 | ///
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Instrumentation.swift:10:13: error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
8 | context: String? = nil,
9 | store: JSON.ParseMetricsStore?
10 | ) -> JSON.Parser {
| `- error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
11 | let enc = InstrumentedAnyEncoder(
12 | base: self.encoder, name: name, context: context, recorder: store)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON.swift:5:13: note: 'JSON' declared here
3 | /// `JSON` serves as a namespace for various types that facilitate working with JSON data,
4 | /// such as dictionaries with `String` keys and `Any` or `AnyEquatableStruct` values.
5 | public enum JSON {
| `- note: 'JSON' declared here
6 | /// A type alias representing a dictionary with `String` keys and `Any` values.
7 | ///
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser.swift:7:57: error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
5 | extension WrkstrmMain.JSON.Parser {
6 | /// Foundation-backed defaults (camelCase keys, robust date handling).
7 | public static var foundationDefault: WrkstrmMain.JSON.Parser {
| `- error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
8 | .init(encoder: JSONEncoder.commonDateFormatting, decoder: JSONDecoder.commonDateParsing)
9 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON.swift:5:13: note: 'JSON' declared here
3 | /// `JSON` serves as a namespace for various types that facilitate working with JSON data,
4 | /// such as dictionaries with `String` keys and `Any` or `AnyEquatableStruct` values.
5 | public enum JSON {
| `- note: 'JSON' declared here
6 | /// A type alias representing a dictionary with `String` keys and `Any` values.
7 | ///
[62/93] Compiling WrkstrmFoundation JSONParser+Instrumentation.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Alternating.swift:6:17: error: cannot find type 'JSONDataEncoding' in scope
4 | // Type-erased boxes to concretize existential JSON coders when wrapping with Instrumented<>
5 | private struct _AnyJSONEncoding: JSONDataEncoding {
6 | let base: any JSONDataEncoding
| `- error: cannot find type 'JSONDataEncoding' in scope
7 | func encode<T: Encodable>(_ value: T) throws -> Data { try base.encode(value) }
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Alternating.swift:5:34: error: cannot find type 'JSONDataEncoding' in scope
3 |
4 | // Type-erased boxes to concretize existential JSON coders when wrapping with Instrumented<>
5 | private struct _AnyJSONEncoding: JSONDataEncoding {
| `- error: cannot find type 'JSONDataEncoding' in scope
6 | let base: any JSONDataEncoding
7 | func encode<T: Encodable>(_ value: T) throws -> Data { try base.encode(value) }
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Alternating.swift:10:17: error: cannot find type 'JSONDataDecoding' in scope
8 | }
9 | private struct _AnyJSONDecoding: JSONDataDecoding {
10 | let base: any JSONDataDecoding
| `- error: cannot find type 'JSONDataDecoding' in scope
11 | func decode<T: Decodable>(_ type: T.Type, from data: Data) throws -> T {
12 | try base.decode(T.self, from: data)
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Alternating.swift:9:34: error: cannot find type 'JSONDataDecoding' in scope
7 | func encode<T: Encodable>(_ value: T) throws -> Data { try base.encode(value) }
8 | }
9 | private struct _AnyJSONDecoding: JSONDataDecoding {
| `- error: cannot find type 'JSONDataDecoding' in scope
10 | let base: any JSONDataDecoding
11 | func decode<T: Decodable>(_ type: T.Type, from data: Data) throws -> T {
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Alternating.swift:16:28: error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
14 | }
15 |
16 | extension WrkstrmMain.JSON.Parser {
| `- error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
17 | /// Build a composite parser from a list of parser details.
18 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON.swift:5:13: note: 'JSON' declared here
3 | /// `JSON` serves as a namespace for various types that facilitate working with JSON data,
4 | /// such as dictionaries with `String` keys and `Any` or `AnyEquatableStruct` values.
5 | public enum JSON {
| `- note: 'JSON' declared here
6 | /// A type alias representing a dictionary with `String` keys and `Any` values.
7 | ///
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Instrumentation.swift:4:16: error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
2 | import WrkstrmMain
3 |
4 | extension JSON.Parser {
| `- error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
5 | /// Returns an instrumented copy of this parser using the generic wrapper.
6 | public func instrumented(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON.swift:5:13: note: 'JSON' declared here
3 | /// `JSON` serves as a namespace for various types that facilitate working with JSON data,
4 | /// such as dictionaries with `String` keys and `Any` or `AnyEquatableStruct` values.
5 | public enum JSON {
| `- note: 'JSON' declared here
6 | /// A type alias representing a dictionary with `String` keys and `Any` values.
7 | ///
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser.swift:5:28: error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
3 |
4 | // Keep Foundation coupling/defaults here; core Parser lives in WrkstrmMain.
5 | extension WrkstrmMain.JSON.Parser {
| `- error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
6 | /// Foundation-backed defaults (camelCase keys, robust date handling).
7 | public static var foundationDefault: WrkstrmMain.JSON.Parser {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON.swift:5:13: note: 'JSON' declared here
3 | /// `JSON` serves as a namespace for various types that facilitate working with JSON data,
4 | /// such as dictionaries with `String` keys and `Any` or `AnyEquatableStruct` values.
5 | public enum JSON {
| `- note: 'JSON' declared here
6 | /// A type alias representing a dictionary with `String` keys and `Any` values.
7 | ///
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Alternating.swift:28:25: error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
26 | context: String? = nil,
27 | store: JSON.ParseMetricsStore?
28 | ) -> WrkstrmMain.JSON.Parser {
| `- error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
29 | precondition(!details.isEmpty, "At least one parser is required")
30 | // Instrument each parser’s components with its name.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON.swift:5:13: note: 'JSON' declared here
3 | /// `JSON` serves as a namespace for various types that facilitate working with JSON data,
4 | /// such as dictionaries with `String` keys and `Any` or `AnyEquatableStruct` values.
5 | public enum JSON {
| `- note: 'JSON' declared here
6 | /// A type alias representing a dictionary with `String` keys and `Any` values.
7 | ///
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Alternating.swift:24:34: error: 'ParserInstrumentationDetails' is not a member type of enum 'WrkstrmMain.JSON'
22 | /// - store: Metrics store for instrumentation.
23 | public static func composite(
24 | _ details: [WrkstrmMain.JSON.ParserInstrumentationDetails],
| `- error: 'ParserInstrumentationDetails' is not a member type of enum 'WrkstrmMain.JSON'
25 | mode: WrkstrmMain.JSON.CompositeMode,
26 | context: String? = nil,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON.swift:5:13: note: 'JSON' declared here
3 | /// `JSON` serves as a namespace for various types that facilitate working with JSON data,
4 | /// such as dictionaries with `String` keys and `Any` or `AnyEquatableStruct` values.
5 | public enum JSON {
| `- note: 'JSON' declared here
6 | /// A type alias representing a dictionary with `String` keys and `Any` values.
7 | ///
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Alternating.swift:25:28: error: 'CompositeMode' is not a member type of enum 'WrkstrmMain.JSON'
23 | public static func composite(
24 | _ details: [WrkstrmMain.JSON.ParserInstrumentationDetails],
25 | mode: WrkstrmMain.JSON.CompositeMode,
| `- error: 'CompositeMode' is not a member type of enum 'WrkstrmMain.JSON'
26 | context: String? = nil,
27 | store: JSON.ParseMetricsStore?
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON.swift:5:13: note: 'JSON' declared here
3 | /// `JSON` serves as a namespace for various types that facilitate working with JSON data,
4 | /// such as dictionaries with `String` keys and `Any` or `AnyEquatableStruct` values.
5 | public enum JSON {
| `- note: 'JSON' declared here
6 | /// A type alias representing a dictionary with `String` keys and `Any` values.
7 | ///
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Instrumentation.swift:10:13: error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
8 | context: String? = nil,
9 | store: JSON.ParseMetricsStore?
10 | ) -> JSON.Parser {
| `- error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
11 | let enc = InstrumentedAnyEncoder(
12 | base: self.encoder, name: name, context: context, recorder: store)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON.swift:5:13: note: 'JSON' declared here
3 | /// `JSON` serves as a namespace for various types that facilitate working with JSON data,
4 | /// such as dictionaries with `String` keys and `Any` or `AnyEquatableStruct` values.
5 | public enum JSON {
| `- note: 'JSON' declared here
6 | /// A type alias representing a dictionary with `String` keys and `Any` values.
7 | ///
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser.swift:7:57: error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
5 | extension WrkstrmMain.JSON.Parser {
6 | /// Foundation-backed defaults (camelCase keys, robust date handling).
7 | public static var foundationDefault: WrkstrmMain.JSON.Parser {
| `- error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
8 | .init(encoder: JSONEncoder.commonDateFormatting, decoder: JSONDecoder.commonDateParsing)
9 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON.swift:5:13: note: 'JSON' declared here
3 | /// `JSON` serves as a namespace for various types that facilitate working with JSON data,
4 | /// such as dictionaries with `String` keys and `Any` or `AnyEquatableStruct` values.
5 | public enum JSON {
| `- note: 'JSON' declared here
6 | /// A type alias representing a dictionary with `String` keys and `Any` values.
7 | ///
[63/93] Compiling WrkstrmFoundation JSONParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Alternating.swift:6:17: error: cannot find type 'JSONDataEncoding' in scope
4 | // Type-erased boxes to concretize existential JSON coders when wrapping with Instrumented<>
5 | private struct _AnyJSONEncoding: JSONDataEncoding {
6 | let base: any JSONDataEncoding
| `- error: cannot find type 'JSONDataEncoding' in scope
7 | func encode<T: Encodable>(_ value: T) throws -> Data { try base.encode(value) }
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Alternating.swift:5:34: error: cannot find type 'JSONDataEncoding' in scope
3 |
4 | // Type-erased boxes to concretize existential JSON coders when wrapping with Instrumented<>
5 | private struct _AnyJSONEncoding: JSONDataEncoding {
| `- error: cannot find type 'JSONDataEncoding' in scope
6 | let base: any JSONDataEncoding
7 | func encode<T: Encodable>(_ value: T) throws -> Data { try base.encode(value) }
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Alternating.swift:10:17: error: cannot find type 'JSONDataDecoding' in scope
8 | }
9 | private struct _AnyJSONDecoding: JSONDataDecoding {
10 | let base: any JSONDataDecoding
| `- error: cannot find type 'JSONDataDecoding' in scope
11 | func decode<T: Decodable>(_ type: T.Type, from data: Data) throws -> T {
12 | try base.decode(T.self, from: data)
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Alternating.swift:9:34: error: cannot find type 'JSONDataDecoding' in scope
7 | func encode<T: Encodable>(_ value: T) throws -> Data { try base.encode(value) }
8 | }
9 | private struct _AnyJSONDecoding: JSONDataDecoding {
| `- error: cannot find type 'JSONDataDecoding' in scope
10 | let base: any JSONDataDecoding
11 | func decode<T: Decodable>(_ type: T.Type, from data: Data) throws -> T {
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Alternating.swift:16:28: error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
14 | }
15 |
16 | extension WrkstrmMain.JSON.Parser {
| `- error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
17 | /// Build a composite parser from a list of parser details.
18 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON.swift:5:13: note: 'JSON' declared here
3 | /// `JSON` serves as a namespace for various types that facilitate working with JSON data,
4 | /// such as dictionaries with `String` keys and `Any` or `AnyEquatableStruct` values.
5 | public enum JSON {
| `- note: 'JSON' declared here
6 | /// A type alias representing a dictionary with `String` keys and `Any` values.
7 | ///
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Instrumentation.swift:4:16: error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
2 | import WrkstrmMain
3 |
4 | extension JSON.Parser {
| `- error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
5 | /// Returns an instrumented copy of this parser using the generic wrapper.
6 | public func instrumented(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON.swift:5:13: note: 'JSON' declared here
3 | /// `JSON` serves as a namespace for various types that facilitate working with JSON data,
4 | /// such as dictionaries with `String` keys and `Any` or `AnyEquatableStruct` values.
5 | public enum JSON {
| `- note: 'JSON' declared here
6 | /// A type alias representing a dictionary with `String` keys and `Any` values.
7 | ///
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser.swift:5:28: error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
3 |
4 | // Keep Foundation coupling/defaults here; core Parser lives in WrkstrmMain.
5 | extension WrkstrmMain.JSON.Parser {
| `- error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
6 | /// Foundation-backed defaults (camelCase keys, robust date handling).
7 | public static var foundationDefault: WrkstrmMain.JSON.Parser {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON.swift:5:13: note: 'JSON' declared here
3 | /// `JSON` serves as a namespace for various types that facilitate working with JSON data,
4 | /// such as dictionaries with `String` keys and `Any` or `AnyEquatableStruct` values.
5 | public enum JSON {
| `- note: 'JSON' declared here
6 | /// A type alias representing a dictionary with `String` keys and `Any` values.
7 | ///
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Alternating.swift:28:25: error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
26 | context: String? = nil,
27 | store: JSON.ParseMetricsStore?
28 | ) -> WrkstrmMain.JSON.Parser {
| `- error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
29 | precondition(!details.isEmpty, "At least one parser is required")
30 | // Instrument each parser’s components with its name.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON.swift:5:13: note: 'JSON' declared here
3 | /// `JSON` serves as a namespace for various types that facilitate working with JSON data,
4 | /// such as dictionaries with `String` keys and `Any` or `AnyEquatableStruct` values.
5 | public enum JSON {
| `- note: 'JSON' declared here
6 | /// A type alias representing a dictionary with `String` keys and `Any` values.
7 | ///
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Alternating.swift:24:34: error: 'ParserInstrumentationDetails' is not a member type of enum 'WrkstrmMain.JSON'
22 | /// - store: Metrics store for instrumentation.
23 | public static func composite(
24 | _ details: [WrkstrmMain.JSON.ParserInstrumentationDetails],
| `- error: 'ParserInstrumentationDetails' is not a member type of enum 'WrkstrmMain.JSON'
25 | mode: WrkstrmMain.JSON.CompositeMode,
26 | context: String? = nil,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON.swift:5:13: note: 'JSON' declared here
3 | /// `JSON` serves as a namespace for various types that facilitate working with JSON data,
4 | /// such as dictionaries with `String` keys and `Any` or `AnyEquatableStruct` values.
5 | public enum JSON {
| `- note: 'JSON' declared here
6 | /// A type alias representing a dictionary with `String` keys and `Any` values.
7 | ///
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Alternating.swift:25:28: error: 'CompositeMode' is not a member type of enum 'WrkstrmMain.JSON'
23 | public static func composite(
24 | _ details: [WrkstrmMain.JSON.ParserInstrumentationDetails],
25 | mode: WrkstrmMain.JSON.CompositeMode,
| `- error: 'CompositeMode' is not a member type of enum 'WrkstrmMain.JSON'
26 | context: String? = nil,
27 | store: JSON.ParseMetricsStore?
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON.swift:5:13: note: 'JSON' declared here
3 | /// `JSON` serves as a namespace for various types that facilitate working with JSON data,
4 | /// such as dictionaries with `String` keys and `Any` or `AnyEquatableStruct` values.
5 | public enum JSON {
| `- note: 'JSON' declared here
6 | /// A type alias representing a dictionary with `String` keys and `Any` values.
7 | ///
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser+Instrumentation.swift:10:13: error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
8 | context: String? = nil,
9 | store: JSON.ParseMetricsStore?
10 | ) -> JSON.Parser {
| `- error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
11 | let enc = InstrumentedAnyEncoder(
12 | base: self.encoder, name: name, context: context, recorder: store)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON.swift:5:13: note: 'JSON' declared here
3 | /// `JSON` serves as a namespace for various types that facilitate working with JSON data,
4 | /// such as dictionaries with `String` keys and `Any` or `AnyEquatableStruct` values.
5 | public enum JSON {
| `- note: 'JSON' declared here
6 | /// A type alias representing a dictionary with `String` keys and `Any` values.
7 | ///
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONParser.swift:7:57: error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
5 | extension WrkstrmMain.JSON.Parser {
6 | /// Foundation-backed defaults (camelCase keys, robust date handling).
7 | public static var foundationDefault: WrkstrmMain.JSON.Parser {
| `- error: 'Parser' is not a member type of enum 'WrkstrmMain.JSON'
8 | .init(encoder: JSONEncoder.commonDateFormatting, decoder: JSONDecoder.commonDateParsing)
9 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmMain/Sources/WrkstrmMain/JSON/JSON.swift:5:13: note: 'JSON' declared here
3 | /// `JSON` serves as a namespace for various types that facilitate working with JSON data,
4 | /// such as dictionaries with `String` keys and `Any` or `AnyEquatableStruct` values.
5 | public enum JSON {
| `- note: 'JSON' declared here
6 | /// A type alias representing a dictionary with `String` keys and `Any` values.
7 | ///
[64/93] Compiling WrkstrmFoundation JSONCoders.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONDataCoding+Foundation.swift:5:24: error: cannot find type 'JSONDataEncoding' in scope
3 |
4 | // Default conformances for Foundation JSON coders to top-level protocols.
5 | extension JSONEncoder: JSONDataEncoding {}
| `- error: cannot find type 'JSONDataEncoding' in scope
6 | extension JSONDecoder: JSONDataDecoding {}
7 |
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONDataCoding+Foundation.swift:6:24: error: cannot find type 'JSONDataDecoding' in scope
4 | // Default conformances for Foundation JSON coders to top-level protocols.
5 | extension JSONEncoder: JSONDataEncoding {}
6 | extension JSONDecoder: JSONDataDecoding {}
| `- error: cannot find type 'JSONDataDecoding' in scope
7 |
[65/93] Compiling WrkstrmFoundation JSONDataCoding+Foundation.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONDataCoding+Foundation.swift:5:24: error: cannot find type 'JSONDataEncoding' in scope
3 |
4 | // Default conformances for Foundation JSON coders to top-level protocols.
5 | extension JSONEncoder: JSONDataEncoding {}
| `- error: cannot find type 'JSONDataEncoding' in scope
6 | extension JSONDecoder: JSONDataDecoding {}
7 |
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONDataCoding+Foundation.swift:6:24: error: cannot find type 'JSONDataDecoding' in scope
4 | // Default conformances for Foundation JSON coders to top-level protocols.
5 | extension JSONEncoder: JSONDataEncoding {}
6 | extension JSONDecoder: JSONDataDecoding {}
| `- error: cannot find type 'JSONDataDecoding' in scope
7 |
[66/93] Compiling WrkstrmFoundation JSONParseMetrics.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONDataCoding+Foundation.swift:5:24: error: cannot find type 'JSONDataEncoding' in scope
3 |
4 | // Default conformances for Foundation JSON coders to top-level protocols.
5 | extension JSONEncoder: JSONDataEncoding {}
| `- error: cannot find type 'JSONDataEncoding' in scope
6 | extension JSONDecoder: JSONDataDecoding {}
7 |
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/JSON/JSONDataCoding+Foundation.swift:6:24: error: cannot find type 'JSONDataDecoding' in scope
4 | // Default conformances for Foundation JSON coders to top-level protocols.
5 | extension JSONEncoder: JSONDataEncoding {}
6 | extension JSONDecoder: JSONDataDecoding {}
| `- error: cannot find type 'JSONDataDecoding' in scope
7 |
[67/93] Compiling WrkstrmFoundation String+FileType.swift
[68/93] Compiling WrkstrmFoundation String+Stats.swift
[69/93] Compiling WrkstrmFoundation URL+URLQueryItem.swift
[70/93] Compiling WrkstrmFoundation FileManager+Source.swift
[71/93] Compiling WrkstrmFoundation Log+Foundation.swift
[72/93] Compiling WrkstrmFoundation NotificationCenter+Transformers.swift
[73/93] Compiling WrkstrmFoundation Date+Utilities.swift
[74/93] Compiling WrkstrmFoundation DateFormatter+Utilities.swift
[75/93] Compiling WrkstrmFoundation FoundationCalendar+Default.swift
[76/93] Compiling WrkstrmFoundation FileHandle+Standard.swift
[77/93] Compiling WrkstrmFoundation NumberFormatter+Localize.swift
[78/93] Compiling WrkstrmFoundation String+Casing.swift
[79/93] Compiling WrkstrmFoundation String+Expanding.swift
[80/93] Compiling WrkstrmFoundation JSONResource.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:33:54: error: cannot find type 'JSONDataEncoding' in scope
31 | // MARK: - JSONDataEncoding/Decoding conformances
32 |
33 | extension Instrumented: JSONDataEncoding where Base: JSONDataEncoding {
| `- error: cannot find type 'JSONDataEncoding' in scope
34 | public func encode<T: Encodable>(_ value: T) throws -> Data {
35 | let start = DispatchTime.now().uptimeNanoseconds
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:33:25: error: cannot find type 'JSONDataEncoding' in scope
31 | // MARK: - JSONDataEncoding/Decoding conformances
32 |
33 | extension Instrumented: JSONDataEncoding where Base: JSONDataEncoding {
| `- error: cannot find type 'JSONDataEncoding' in scope
34 | public func encode<T: Encodable>(_ value: T) throws -> Data {
35 | let start = DispatchTime.now().uptimeNanoseconds
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:73:54: error: cannot find type 'JSONDataDecoding' in scope
71 | }
72 |
73 | extension Instrumented: JSONDataDecoding where Base: JSONDataDecoding {
| `- error: cannot find type 'JSONDataDecoding' in scope
74 | public func decode<T: Decodable>(_ type: T.Type, from data: Data) throws -> T {
75 | let start = DispatchTime.now().uptimeNanoseconds
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:73:25: error: cannot find type 'JSONDataDecoding' in scope
71 | }
72 |
73 | extension Instrumented: JSONDataDecoding where Base: JSONDataDecoding {
| `- error: cannot find type 'JSONDataDecoding' in scope
74 | public func decode<T: Decodable>(_ type: T.Type, from data: Data) throws -> T {
75 | let start = DispatchTime.now().uptimeNanoseconds
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:117:24: error: cannot find type 'JSONDataEncoding' in scope
115 | /// Instrumentation wrapper for existential encoders.
116 | public struct InstrumentedAnyEncoder: JSONDataEncoding, Sendable {
117 | public let base: any JSONDataEncoding
| `- error: cannot find type 'JSONDataEncoding' in scope
118 | public let name: String
119 | public let context: String?
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:123:15: error: cannot find type 'JSONDataEncoding' in scope
121 |
122 | public init(
123 | base: any JSONDataEncoding,
| `- error: cannot find type 'JSONDataEncoding' in scope
124 | name: String,
125 | context: String? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:116:39: error: cannot find type 'JSONDataEncoding' in scope
114 |
115 | /// Instrumentation wrapper for existential encoders.
116 | public struct InstrumentedAnyEncoder: JSONDataEncoding, Sendable {
| `- error: cannot find type 'JSONDataEncoding' in scope
117 | public let base: any JSONDataEncoding
118 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:175:24: error: cannot find type 'JSONDataDecoding' in scope
173 | /// Instrumentation wrapper for existential decoders.
174 | public struct InstrumentedAnyDecoder: JSONDataDecoding, Sendable {
175 | public let base: any JSONDataDecoding
| `- error: cannot find type 'JSONDataDecoding' in scope
176 | public let name: String
177 | public let context: String?
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:181:15: error: cannot find type 'JSONDataDecoding' in scope
179 |
180 | public init(
181 | base: any JSONDataDecoding,
| `- error: cannot find type 'JSONDataDecoding' in scope
182 | name: String,
183 | context: String? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:174:39: error: cannot find type 'JSONDataDecoding' in scope
172 |
173 | /// Instrumentation wrapper for existential decoders.
174 | public struct InstrumentedAnyDecoder: JSONDataDecoding, Sendable {
| `- error: cannot find type 'JSONDataDecoding' in scope
175 | public let base: any JSONDataDecoding
176 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:37:27: error: value of type 'Base' has no member 'encode'
35 | let start = DispatchTime.now().uptimeNanoseconds
36 | do {
37 | let data = try base.encode(value)
| `- error: value of type 'Base' has no member 'encode'
38 | let ns = Int64(DispatchTime.now().uptimeNanoseconds &- start)
39 | if let recorder {
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:77:28: error: value of type 'Base' has no member 'decode'
75 | let start = DispatchTime.now().uptimeNanoseconds
76 | do {
77 | let value = try base.decode(T.self, from: data)
| `- error: value of type 'Base' has no member 'decode'
78 | let ns = Int64(DispatchTime.now().uptimeNanoseconds &- start)
79 | if let recorder {
[81/93] Compiling WrkstrmFoundation Instrumentation.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:33:54: error: cannot find type 'JSONDataEncoding' in scope
31 | // MARK: - JSONDataEncoding/Decoding conformances
32 |
33 | extension Instrumented: JSONDataEncoding where Base: JSONDataEncoding {
| `- error: cannot find type 'JSONDataEncoding' in scope
34 | public func encode<T: Encodable>(_ value: T) throws -> Data {
35 | let start = DispatchTime.now().uptimeNanoseconds
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:33:25: error: cannot find type 'JSONDataEncoding' in scope
31 | // MARK: - JSONDataEncoding/Decoding conformances
32 |
33 | extension Instrumented: JSONDataEncoding where Base: JSONDataEncoding {
| `- error: cannot find type 'JSONDataEncoding' in scope
34 | public func encode<T: Encodable>(_ value: T) throws -> Data {
35 | let start = DispatchTime.now().uptimeNanoseconds
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:73:54: error: cannot find type 'JSONDataDecoding' in scope
71 | }
72 |
73 | extension Instrumented: JSONDataDecoding where Base: JSONDataDecoding {
| `- error: cannot find type 'JSONDataDecoding' in scope
74 | public func decode<T: Decodable>(_ type: T.Type, from data: Data) throws -> T {
75 | let start = DispatchTime.now().uptimeNanoseconds
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:73:25: error: cannot find type 'JSONDataDecoding' in scope
71 | }
72 |
73 | extension Instrumented: JSONDataDecoding where Base: JSONDataDecoding {
| `- error: cannot find type 'JSONDataDecoding' in scope
74 | public func decode<T: Decodable>(_ type: T.Type, from data: Data) throws -> T {
75 | let start = DispatchTime.now().uptimeNanoseconds
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:117:24: error: cannot find type 'JSONDataEncoding' in scope
115 | /// Instrumentation wrapper for existential encoders.
116 | public struct InstrumentedAnyEncoder: JSONDataEncoding, Sendable {
117 | public let base: any JSONDataEncoding
| `- error: cannot find type 'JSONDataEncoding' in scope
118 | public let name: String
119 | public let context: String?
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:123:15: error: cannot find type 'JSONDataEncoding' in scope
121 |
122 | public init(
123 | base: any JSONDataEncoding,
| `- error: cannot find type 'JSONDataEncoding' in scope
124 | name: String,
125 | context: String? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:116:39: error: cannot find type 'JSONDataEncoding' in scope
114 |
115 | /// Instrumentation wrapper for existential encoders.
116 | public struct InstrumentedAnyEncoder: JSONDataEncoding, Sendable {
| `- error: cannot find type 'JSONDataEncoding' in scope
117 | public let base: any JSONDataEncoding
118 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:175:24: error: cannot find type 'JSONDataDecoding' in scope
173 | /// Instrumentation wrapper for existential decoders.
174 | public struct InstrumentedAnyDecoder: JSONDataDecoding, Sendable {
175 | public let base: any JSONDataDecoding
| `- error: cannot find type 'JSONDataDecoding' in scope
176 | public let name: String
177 | public let context: String?
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:181:15: error: cannot find type 'JSONDataDecoding' in scope
179 |
180 | public init(
181 | base: any JSONDataDecoding,
| `- error: cannot find type 'JSONDataDecoding' in scope
182 | name: String,
183 | context: String? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:174:39: error: cannot find type 'JSONDataDecoding' in scope
172 |
173 | /// Instrumentation wrapper for existential decoders.
174 | public struct InstrumentedAnyDecoder: JSONDataDecoding, Sendable {
| `- error: cannot find type 'JSONDataDecoding' in scope
175 | public let base: any JSONDataDecoding
176 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:37:27: error: value of type 'Base' has no member 'encode'
35 | let start = DispatchTime.now().uptimeNanoseconds
36 | do {
37 | let data = try base.encode(value)
| `- error: value of type 'Base' has no member 'encode'
38 | let ns = Int64(DispatchTime.now().uptimeNanoseconds &- start)
39 | if let recorder {
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:77:28: error: value of type 'Base' has no member 'decode'
75 | let start = DispatchTime.now().uptimeNanoseconds
76 | do {
77 | let value = try base.decode(T.self, from: data)
| `- error: value of type 'Base' has no member 'decode'
78 | let ns = Int64(DispatchTime.now().uptimeNanoseconds &- start)
79 | if let recorder {
[82/93] Compiling WrkstrmFoundation Bundle+Decode.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:33:54: error: cannot find type 'JSONDataEncoding' in scope
31 | // MARK: - JSONDataEncoding/Decoding conformances
32 |
33 | extension Instrumented: JSONDataEncoding where Base: JSONDataEncoding {
| `- error: cannot find type 'JSONDataEncoding' in scope
34 | public func encode<T: Encodable>(_ value: T) throws -> Data {
35 | let start = DispatchTime.now().uptimeNanoseconds
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:33:25: error: cannot find type 'JSONDataEncoding' in scope
31 | // MARK: - JSONDataEncoding/Decoding conformances
32 |
33 | extension Instrumented: JSONDataEncoding where Base: JSONDataEncoding {
| `- error: cannot find type 'JSONDataEncoding' in scope
34 | public func encode<T: Encodable>(_ value: T) throws -> Data {
35 | let start = DispatchTime.now().uptimeNanoseconds
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:73:54: error: cannot find type 'JSONDataDecoding' in scope
71 | }
72 |
73 | extension Instrumented: JSONDataDecoding where Base: JSONDataDecoding {
| `- error: cannot find type 'JSONDataDecoding' in scope
74 | public func decode<T: Decodable>(_ type: T.Type, from data: Data) throws -> T {
75 | let start = DispatchTime.now().uptimeNanoseconds
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:73:25: error: cannot find type 'JSONDataDecoding' in scope
71 | }
72 |
73 | extension Instrumented: JSONDataDecoding where Base: JSONDataDecoding {
| `- error: cannot find type 'JSONDataDecoding' in scope
74 | public func decode<T: Decodable>(_ type: T.Type, from data: Data) throws -> T {
75 | let start = DispatchTime.now().uptimeNanoseconds
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:117:24: error: cannot find type 'JSONDataEncoding' in scope
115 | /// Instrumentation wrapper for existential encoders.
116 | public struct InstrumentedAnyEncoder: JSONDataEncoding, Sendable {
117 | public let base: any JSONDataEncoding
| `- error: cannot find type 'JSONDataEncoding' in scope
118 | public let name: String
119 | public let context: String?
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:123:15: error: cannot find type 'JSONDataEncoding' in scope
121 |
122 | public init(
123 | base: any JSONDataEncoding,
| `- error: cannot find type 'JSONDataEncoding' in scope
124 | name: String,
125 | context: String? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:116:39: error: cannot find type 'JSONDataEncoding' in scope
114 |
115 | /// Instrumentation wrapper for existential encoders.
116 | public struct InstrumentedAnyEncoder: JSONDataEncoding, Sendable {
| `- error: cannot find type 'JSONDataEncoding' in scope
117 | public let base: any JSONDataEncoding
118 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:175:24: error: cannot find type 'JSONDataDecoding' in scope
173 | /// Instrumentation wrapper for existential decoders.
174 | public struct InstrumentedAnyDecoder: JSONDataDecoding, Sendable {
175 | public let base: any JSONDataDecoding
| `- error: cannot find type 'JSONDataDecoding' in scope
176 | public let name: String
177 | public let context: String?
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:181:15: error: cannot find type 'JSONDataDecoding' in scope
179 |
180 | public init(
181 | base: any JSONDataDecoding,
| `- error: cannot find type 'JSONDataDecoding' in scope
182 | name: String,
183 | context: String? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:174:39: error: cannot find type 'JSONDataDecoding' in scope
172 |
173 | /// Instrumentation wrapper for existential decoders.
174 | public struct InstrumentedAnyDecoder: JSONDataDecoding, Sendable {
| `- error: cannot find type 'JSONDataDecoding' in scope
175 | public let base: any JSONDataDecoding
176 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:37:27: error: value of type 'Base' has no member 'encode'
35 | let start = DispatchTime.now().uptimeNanoseconds
36 | do {
37 | let data = try base.encode(value)
| `- error: value of type 'Base' has no member 'encode'
38 | let ns = Int64(DispatchTime.now().uptimeNanoseconds &- start)
39 | if let recorder {
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Performance/Instrumentation.swift:77:28: error: value of type 'Base' has no member 'decode'
75 | let start = DispatchTime.now().uptimeNanoseconds
76 | do {
77 | let value = try base.decode(T.self, from: data)
| `- error: value of type 'Base' has no member 'decode'
78 | let ns = Int64(DispatchTime.now().uptimeNanoseconds &- start)
79 | if let recorder {
[83/93] Compiling WrkstrmFoundation CodableArchiver.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:42:29: warning: 'default' is deprecated: Use JSONEncoder.commonDateFormatting for shared date encoding [#DeprecatedDeclaration]
40 | key: AnyHashable,
41 | directory: FileManager.SearchPathDirectory,
42 | encoder: JSONEncoder = .default,
| `- warning: 'default' is deprecated: Use JSONEncoder.commonDateFormatting for shared date encoding [#DeprecatedDeclaration]
43 | decoder: JSONDecoder = .default,
44 | searchPathDomainMask: FileManager.SearchPathDomainMask = [.allDomainsMask],
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:43:29: warning: 'default' is deprecated: Use JSONDecoder.commonDateParsing for shared date parsing [#DeprecatedDeclaration]
41 | directory: FileManager.SearchPathDirectory,
42 | encoder: JSONEncoder = .default,
43 | decoder: JSONDecoder = .default,
| `- warning: 'default' is deprecated: Use JSONDecoder.commonDateParsing for shared date parsing [#DeprecatedDeclaration]
44 | searchPathDomainMask: FileManager.SearchPathDomainMask = [.allDomainsMask],
45 | ) throws {
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:65:29: warning: 'default' is deprecated: Use JSONEncoder.commonDateFormatting for shared date encoding [#DeprecatedDeclaration]
63 | public init(
64 | directory: URL,
65 | encoder: JSONEncoder = .default,
| `- warning: 'default' is deprecated: Use JSONEncoder.commonDateFormatting for shared date encoding [#DeprecatedDeclaration]
66 | decoder: JSONDecoder = .default,
67 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:66:29: warning: 'default' is deprecated: Use JSONDecoder.commonDateParsing for shared date parsing [#DeprecatedDeclaration]
64 | directory: URL,
65 | encoder: JSONEncoder = .default,
66 | decoder: JSONDecoder = .default,
| `- warning: 'default' is deprecated: Use JSONDecoder.commonDateParsing for shared date parsing [#DeprecatedDeclaration]
67 | ) {
68 | self.encoder = encoder
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:92:36: warning: 'unarchiveObject(withFile:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead [#DeprecatedDeclaration]
90 | public func get(_ key: AnyHashable? = nil) -> T? {
91 | guard
92 | let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
| `- warning: 'unarchiveObject(withFile:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead [#DeprecatedDeclaration]
93 | as? Data
94 | else {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[84/93] Compiling WrkstrmFoundation SecurityScopedAsset.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:42:29: warning: 'default' is deprecated: Use JSONEncoder.commonDateFormatting for shared date encoding [#DeprecatedDeclaration]
40 | key: AnyHashable,
41 | directory: FileManager.SearchPathDirectory,
42 | encoder: JSONEncoder = .default,
| `- warning: 'default' is deprecated: Use JSONEncoder.commonDateFormatting for shared date encoding [#DeprecatedDeclaration]
43 | decoder: JSONDecoder = .default,
44 | searchPathDomainMask: FileManager.SearchPathDomainMask = [.allDomainsMask],
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:43:29: warning: 'default' is deprecated: Use JSONDecoder.commonDateParsing for shared date parsing [#DeprecatedDeclaration]
41 | directory: FileManager.SearchPathDirectory,
42 | encoder: JSONEncoder = .default,
43 | decoder: JSONDecoder = .default,
| `- warning: 'default' is deprecated: Use JSONDecoder.commonDateParsing for shared date parsing [#DeprecatedDeclaration]
44 | searchPathDomainMask: FileManager.SearchPathDomainMask = [.allDomainsMask],
45 | ) throws {
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:65:29: warning: 'default' is deprecated: Use JSONEncoder.commonDateFormatting for shared date encoding [#DeprecatedDeclaration]
63 | public init(
64 | directory: URL,
65 | encoder: JSONEncoder = .default,
| `- warning: 'default' is deprecated: Use JSONEncoder.commonDateFormatting for shared date encoding [#DeprecatedDeclaration]
66 | decoder: JSONDecoder = .default,
67 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:66:29: warning: 'default' is deprecated: Use JSONDecoder.commonDateParsing for shared date parsing [#DeprecatedDeclaration]
64 | directory: URL,
65 | encoder: JSONEncoder = .default,
66 | decoder: JSONDecoder = .default,
| `- warning: 'default' is deprecated: Use JSONDecoder.commonDateParsing for shared date parsing [#DeprecatedDeclaration]
67 | ) {
68 | self.encoder = encoder
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:92:36: warning: 'unarchiveObject(withFile:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead [#DeprecatedDeclaration]
90 | public func get(_ key: AnyHashable? = nil) -> T? {
91 | guard
92 | let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
| `- warning: 'unarchiveObject(withFile:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead [#DeprecatedDeclaration]
93 | as? Data
94 | else {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[85/93] Compiling WrkstrmFoundation URL+TempDirectory.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:42:29: warning: 'default' is deprecated: Use JSONEncoder.commonDateFormatting for shared date encoding [#DeprecatedDeclaration]
40 | key: AnyHashable,
41 | directory: FileManager.SearchPathDirectory,
42 | encoder: JSONEncoder = .default,
| `- warning: 'default' is deprecated: Use JSONEncoder.commonDateFormatting for shared date encoding [#DeprecatedDeclaration]
43 | decoder: JSONDecoder = .default,
44 | searchPathDomainMask: FileManager.SearchPathDomainMask = [.allDomainsMask],
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:43:29: warning: 'default' is deprecated: Use JSONDecoder.commonDateParsing for shared date parsing [#DeprecatedDeclaration]
41 | directory: FileManager.SearchPathDirectory,
42 | encoder: JSONEncoder = .default,
43 | decoder: JSONDecoder = .default,
| `- warning: 'default' is deprecated: Use JSONDecoder.commonDateParsing for shared date parsing [#DeprecatedDeclaration]
44 | searchPathDomainMask: FileManager.SearchPathDomainMask = [.allDomainsMask],
45 | ) throws {
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:65:29: warning: 'default' is deprecated: Use JSONEncoder.commonDateFormatting for shared date encoding [#DeprecatedDeclaration]
63 | public init(
64 | directory: URL,
65 | encoder: JSONEncoder = .default,
| `- warning: 'default' is deprecated: Use JSONEncoder.commonDateFormatting for shared date encoding [#DeprecatedDeclaration]
66 | decoder: JSONDecoder = .default,
67 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:66:29: warning: 'default' is deprecated: Use JSONDecoder.commonDateParsing for shared date parsing [#DeprecatedDeclaration]
64 | directory: URL,
65 | encoder: JSONEncoder = .default,
66 | decoder: JSONDecoder = .default,
| `- warning: 'default' is deprecated: Use JSONDecoder.commonDateParsing for shared date parsing [#DeprecatedDeclaration]
67 | ) {
68 | self.encoder = encoder
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmFoundation/Persistence/CodableArchiver.swift:92:36: warning: 'unarchiveObject(withFile:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead [#DeprecatedDeclaration]
90 | public func get(_ key: AnyHashable? = nil) -> T? {
91 | guard
92 | let data = NSKeyedUnarchiver.unarchiveObject(withFile: filePathForKey(key ?? self.key))
| `- warning: 'unarchiveObject(withFile:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead [#DeprecatedDeclaration]
93 | as? Data
94 | else {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[86/93] Compiling WrkstrmFoundation Data+Base64URL.swift
[87/93] Compiling WrkstrmFoundation Data+UTF8.swift
[88/93] Compiling WrkstrmFoundation Date+ExpressibleByIntegerLiteral.swift
[89/93] Compiling WrkstrmFoundation Date+GitLog.swift
[90/93] Compiling WrkstrmFoundation CLIAppVersion.swift
[91/93] Compiling WrkstrmFoundation Calendar.swift
[92/93] Compiling WrkstrmFoundation Event.swift
[93/93] Compiling WrkstrmFoundation Bundle+Version.swift
warning: 'spi-builder-workspace': ---- Package Inject Deps: Begin ----
Use Local Deps? false
[PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmLog.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(2.0.0..<3.0.0))), PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmMain.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(2.4.0..<3.0.0)))]
---- Package Inject Deps: End ----
Fetching https://github.com/wrkstrm/WrkstrmMain.git
Fetching https://github.com/wrkstrm/WrkstrmLog.git
[1/1650] Fetching wrkstrmmain
[232/3590] Fetching wrkstrmmain, wrkstrmlog
Fetched https://github.com/wrkstrm/WrkstrmLog.git from cache (0.97s)
Fetched https://github.com/wrkstrm/WrkstrmMain.git from cache (0.97s)
Computing version for https://github.com/wrkstrm/WrkstrmMain.git
warning: 'wrkstrmmain': ---- Package Inject Deps: Begin ----
Use Local Deps? false
[]
---- Package Inject Deps: End ----
Computed https://github.com/wrkstrm/WrkstrmMain.git at 2.4.1 (1.57s)
Computing version for https://github.com/wrkstrm/WrkstrmLog.git
Computed https://github.com/wrkstrm/WrkstrmLog.git at 2.2.1 (0.54s)
Fetching https://github.com/apple/swift-log.git
[1/3903] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.08s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (1.55s)
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.4
Creating working copy for https://github.com/wrkstrm/WrkstrmMain.git
Working copy of https://github.com/wrkstrm/WrkstrmMain.git resolved at 2.4.1
Creating working copy for https://github.com/wrkstrm/WrkstrmLog.git
Working copy of https://github.com/wrkstrm/WrkstrmLog.git resolved at 2.2.1
warning: 'wrkstrmmain': ---- Package Inject Deps: Begin ----
Use Local Deps? false
[]
---- Package Inject Deps: End ----
BUILD FAILURE 6.2 macosSpm