Build Information
Failed to build swift-json-parsing with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/oskarek/swift-json-parsing.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/oskarek/swift-json-parsing
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at ba457be Use new version in installation instructions
Cloned https://github.com/oskarek/swift-json-parsing.git
Revision (git rev-parse @):
ba457be0e34ef98865aec9a382a23db93b253aaf
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/oskarek/swift-json-parsing.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/oskarek/swift-json-parsing.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/google/swift-benchmark
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-case-paths
Fetching https://github.com/pointfreeco/swift-parsing
[1/3767] Fetching swift-case-paths
[3731/5253] Fetching swift-case-paths, swift-benchmark
Fetched https://github.com/google/swift-benchmark from cache (0.42s)
[1/2356] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-case-paths from cache (0.43s)
[1462/14070] Fetching xctest-dynamic-overlay, swift-argument-parser
[14071/111705] Fetching xctest-dynamic-overlay, swift-argument-parser, swift-parsing
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (5.79s)
Fetched https://github.com/apple/swift-argument-parser from cache (5.80s)
Fetched https://github.com/pointfreeco/swift-parsing from cache (5.90s)
Computing version for https://github.com/google/swift-benchmark
Computed https://github.com/google/swift-benchmark at 0.1.2 (0.55s)
Computing version for https://github.com/pointfreeco/swift-parsing
Computed https://github.com/pointfreeco/swift-parsing at 0.13.0 (0.55s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.2 (0.57s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 1.0.0 (0.56s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.0.2 (0.55s)
Creating working copy for https://github.com/google/swift-benchmark
Working copy of https://github.com/google/swift-benchmark resolved at 0.1.2
Creating working copy for https://github.com/pointfreeco/swift-parsing
Working copy of https://github.com/pointfreeco/swift-parsing resolved at 0.13.0
Creating working copy for https://github.com/pointfreeco/swift-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.2.2
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.0.2
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/21] Write sources
[7/21] Copying sample_json.json
[9/21] Write sources
[10/21] Write swift-version-24593BA9C3E375BF.txt
[12/31] Compiling XCTestDynamicOverlay Deprecations.swift
[13/32] Emitting module ArgumentParserToolInfo
[14/32] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/33] Wrapping AST for ArgumentParserToolInfo for debugging
[17/70] Emitting module ArgumentParser
[18/75] Compiling ArgumentParser Name.swift
[19/75] Compiling ArgumentParser Parsed.swift
[20/75] Compiling ArgumentParser ParsedValues.swift
[21/75] Compiling ArgumentParser ParserError.swift
[22/75] Compiling ArgumentParser SplitArguments.swift
[23/75] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[24/75] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[25/75] Compiling XCTestDynamicOverlay Unimplemented.swift
[26/75] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[27/75] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[28/75] Compiling XCTestDynamicOverlay XCTFail.swift
[29/75] Emitting module XCTestDynamicOverlay
[30/75] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[32/76] Compiling ArgumentParser BashCompletionsGenerator.swift
[33/76] Compiling ArgumentParser CompletionsGenerator.swift
[34/76] Compiling ArgumentParser FishCompletionsGenerator.swift
[35/76] Compiling ArgumentParser ZshCompletionsGenerator.swift
[36/76] Compiling ArgumentParser Argument.swift
[37/76] Compiling ArgumentParser ArgumentHelp.swift
[38/76] Compiling ArgumentParser CollectionExtensions.swift
[39/76] Compiling ArgumentParser Platform.swift
[40/76] Compiling ArgumentParser SequenceExtensions.swift
[41/76] Compiling ArgumentParser StringExtensions.swift
[42/76] Compiling ArgumentParser Tree.swift
[42/76] Wrapping AST for XCTestDynamicOverlay for debugging
[44/84] Compiling ArgumentParser Option.swift
[45/84] Compiling ArgumentParser OptionGroup.swift
[46/84] Compiling ArgumentParser AsyncParsableCommand.swift
[47/84] Compiling ArgumentParser CommandConfiguration.swift
[48/84] Compiling ArgumentParser EnumerableFlag.swift
[49/84] Compiling CasePaths XCTUnwrap.swift
[50/84] Compiling CasePaths TypeName.swift
[51/84] Compiling CasePaths Operators.swift
[52/84] Emitting module CasePaths
[53/84] Compiling ArgumentParser ExpressibleByArgument.swift
[54/84] Compiling ArgumentParser ParsableArguments.swift
[55/84] Compiling ArgumentParser ParsableArgumentsValidation.swift
[56/84] Compiling ArgumentParser ParsableCommand.swift
[57/84] Compiling ArgumentParser ArgumentDecoder.swift
[58/84] Compiling ArgumentParser DumpHelpGenerator.swift
[59/84] Compiling ArgumentParser HelpCommand.swift
[60/84] Compiling ArgumentParser HelpGenerator.swift
[61/84] Compiling ArgumentParser MessageInfo.swift
[62/84] Compiling ArgumentParser UsageGenerator.swift
[63/84] Compiling ArgumentParser ArgumentVisibility.swift
[64/84] Compiling ArgumentParser CompletionKind.swift
[65/84] Compiling ArgumentParser Errors.swift
[66/84] Compiling ArgumentParser Flag.swift
[67/84] Compiling ArgumentParser NameSpecification.swift
[68/84] Compiling ArgumentParser ArgumentDefinition.swift
[69/84] Compiling ArgumentParser ArgumentSet.swift
[70/84] Compiling ArgumentParser CommandParser.swift
[71/84] Compiling ArgumentParser InputKey.swift
[72/84] Compiling ArgumentParser InputOrigin.swift
[73/85] Wrapping AST for ArgumentParser for debugging
[75/101] Compiling CasePaths CasePaths.swift
[76/101] Compiling CasePaths OpenExistential.swift
[77/101] Compiling CasePaths EnumReflection.swift
[78/101] Compiling CasePaths CasePath.swift
[79/102] Wrapping AST for CasePaths for debugging
[81/169] Emitting module Benchmark
[82/171] Compiling Parsing ConversionMap.swift
[83/171] Compiling Parsing Conversions.swift
[84/171] Compiling Parsing AnyConversion.swift
[85/171] Compiling Parsing BinaryFloatingPoint.swift
[86/171] Compiling Parsing Memberwise.swift
[87/171] Compiling Parsing ParseableFormatStyleConversion.swift
[88/171] Compiling Parsing FixedWidthInteger.swift
[89/171] Compiling Parsing Identity.swift
[90/171] Compiling Parsing JSON.swift
[91/171] Compiling Parsing LosslessStringConvertible.swift
[92/171] Compiling Parsing Data.swift
[93/171] Compiling Parsing Enum.swift
[94/171] Compiling Benchmark Stats.swift
[95/171] Compiling Benchmark TestIntegration.swift
[96/171] Compiling Parsing OneOfBuilder.swift
[97/171] Compiling Parsing ParserBuilder.swift
[98/171] Compiling Parsing Conversion.swift
[99/172] Wrapping AST for Benchmark for debugging
[101/172] Compiling Parsing CaseIterableRawRepresentable.swift
[102/172] Compiling Parsing CharacterSet.swift
[103/172] Compiling Parsing Conditional.swift
[104/172] Compiling Parsing Consumed.swift
[105/172] Compiling Parsing Digits.swift
[106/172] Compiling Parsing End.swift
[107/172] Compiling Parsing Fail.swift
[108/172] Compiling Parsing Filter.swift
[109/172] Compiling Parsing First.swift
[110/181] Compiling Parsing OneOf.swift
[111/181] Compiling Parsing OneOfMany.swift
[112/181] Compiling Parsing Optional.swift
[113/181] Compiling Parsing Optionally.swift
[114/181] Compiling Parsing Parse.swift
[115/181] Compiling Parsing ParseableFormatStyle.swift
[116/181] Compiling Parsing Peek.swift
[117/181] Compiling Parsing Pipe.swift
[118/181] Compiling Parsing Prefix.swift
[119/181] Compiling Parsing PrefixThrough.swift
[120/181] Compiling Parsing PrefixUpTo.swift
[121/181] Compiling Parsing Printing.swift
[122/181] Compiling Parsing Pullback.swift
[123/181] Compiling Parsing ReplaceError.swift
[124/181] Compiling Parsing Rest.swift
[125/181] Compiling Parsing Skip.swift
[126/181] Compiling Parsing StartsWith.swift
[127/181] Compiling Parsing UUID.swift
[135/181] Compiling Parsing Substring.swift
[136/181] Compiling Parsing UTF8View.swift
[137/181] Compiling Parsing ConvertingError.swift
[148/181] Compiling Parsing CountingRange.swift
[149/181] Compiling Parsing EmptyInitializable.swift
[150/181] Compiling Parsing AnyEquatable.swift
[151/181] Compiling Parsing Deprecations.swift
[152/181] Compiling Parsing Parser.swift
[153/181] Compiling Parsing ParserPrinter.swift
[154/181] Compiling Parsing Always.swift
[155/181] Compiling Parsing AnyParserPrinter.swift
[156/181] Compiling Parsing Backtracking.swift
[157/181] Compiling Parsing Bool.swift
[158/181] Compiling Parsing Float.swift
[159/181] Compiling Parsing From.swift
[160/181] Compiling Parsing Int.swift
[161/181] Compiling Parsing Lazy.swift
[162/181] Compiling Parsing Literal.swift
[163/181] Compiling Parsing Many.swift
[164/181] Compiling Parsing Map.swift
[165/181] Compiling Parsing Newline.swift
[166/181] Compiling Parsing Not.swift
[167/181] Compiling Parsing Whitespace.swift
[168/181] Compiling Parsing AnyParser.swift
[169/181] Compiling Parsing CompactMap.swift
[170/181] Compiling Parsing FlatMap.swift
[171/181] Compiling Parsing Parsers.swift
[172/181] Compiling Parsing Stream.swift
[173/181] Compiling Parsing ParsingError.swift
[174/181] Compiling Parsing PrependableCollection.swift
[175/181] Compiling Parsing PrintingError.swift
[176/181] Emitting module Parsing
[177/182] Wrapping AST for Parsing for debugging
[179/205] Compiling JSONParsing JSONParsingError.swift
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:29:41: error: 'ISO8601FormatStyle' is not a member type of struct 'Foundation.Date'
27 | /// - Parameter style: The format style to use for converting between strings and `Date` values.
28 | /// - Returns: A parser for converting between strings and `Date` values, using a `Date.ISO8601FormatStyle`.
29 | public static func parser(style: Date.ISO8601FormatStyle) -> DateParser {
| `- error: 'ISO8601FormatStyle' is not a member type of struct 'Foundation.Date'
30 | .init(parseDate: { try? style.parse($0) }, formatDate: style.format(_:))
31 | }
Foundation.Date:1:15: note: 'Date' declared here
1 | public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
| `- note: 'Date' declared here
2 | public typealias ReferenceType = NSDate
3 | public static let timeIntervalBetween1970AndReferenceDate: Double
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:38:41: error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
36 | /// - Parameter style: The format style to use for converting between strings and `Date` values.
37 | /// - Returns: A parser for converting between strings and `Date` values, using a `Date.FormatStyle`.
38 | public static func parser(style: Date.FormatStyle) -> DateParser {
| `- error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
39 | .init(parseDate: { try? style.parse($0) }, formatDate: style.format(_:))
40 | }
Foundation.Date:1:15: note: 'Date' declared here
1 | public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
| `- note: 'Date' declared here
2 | public typealias ReferenceType = NSDate
3 | public static let timeIntervalBetween1970AndReferenceDate: Double
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:47:45: error: 'ISO8601FormatStyle' is not a member type of struct 'Foundation.Date'
45 | /// - Parameter style: The format style to use for converting between json and `Date` values.
46 | /// - Returns: A parser for converting between json and `Date` values, using a `Date.ISO8601FormatStyle`.
47 | public static func jsonParser(style: Date.ISO8601FormatStyle) -> JSONString<DateParser> {
| `- error: 'ISO8601FormatStyle' is not a member type of struct 'Foundation.Date'
48 | JSONString { self.parser(style: style) }
49 | }
Foundation.Date:1:15: note: 'Date' declared here
1 | public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
| `- note: 'Date' declared here
2 | public typealias ReferenceType = NSDate
3 | public static let timeIntervalBetween1970AndReferenceDate: Double
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:56:45: error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
54 | /// - Parameter style: The format style to use for converting between json and `Date` values.
55 | /// - Returns: A parser for converting between json and `Date` values, using a `Date.FormatStyle`.
56 | public static func jsonParser(style: Date.FormatStyle) -> JSONString<DateParser> {
| `- error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
57 | JSONString { self.parser(style: style) }
58 | }
Foundation.Date:1:15: note: 'Date' declared here
1 | public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
| `- note: 'Date' declared here
2 | public typealias ReferenceType = NSDate
3 | public static let timeIntervalBetween1970AndReferenceDate: Double
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:48:29: error: incorrect argument label in call (have 'style:', expected 'formatter:')
46 | /// - Returns: A parser for converting between json and `Date` values, using a `Date.ISO8601FormatStyle`.
47 | public static func jsonParser(style: Date.ISO8601FormatStyle) -> JSONString<DateParser> {
48 | JSONString { self.parser(style: style) }
| `- error: incorrect argument label in call (have 'style:', expected 'formatter:')
49 | }
50 |
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:57:29: error: incorrect argument label in call (have 'style:', expected 'formatter:')
55 | /// - Returns: A parser for converting between json and `Date` values, using a `Date.FormatStyle`.
56 | public static func jsonParser(style: Date.FormatStyle) -> JSONString<DateParser> {
57 | JSONString { self.parser(style: style) }
| `- error: incorrect argument label in call (have 'style:', expected 'formatter:')
58 | }
59 | }
[180/205] Compiling JSONParsing JSONPrintingError.swift
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:29:41: error: 'ISO8601FormatStyle' is not a member type of struct 'Foundation.Date'
27 | /// - Parameter style: The format style to use for converting between strings and `Date` values.
28 | /// - Returns: A parser for converting between strings and `Date` values, using a `Date.ISO8601FormatStyle`.
29 | public static func parser(style: Date.ISO8601FormatStyle) -> DateParser {
| `- error: 'ISO8601FormatStyle' is not a member type of struct 'Foundation.Date'
30 | .init(parseDate: { try? style.parse($0) }, formatDate: style.format(_:))
31 | }
Foundation.Date:1:15: note: 'Date' declared here
1 | public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
| `- note: 'Date' declared here
2 | public typealias ReferenceType = NSDate
3 | public static let timeIntervalBetween1970AndReferenceDate: Double
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:38:41: error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
36 | /// - Parameter style: The format style to use for converting between strings and `Date` values.
37 | /// - Returns: A parser for converting between strings and `Date` values, using a `Date.FormatStyle`.
38 | public static func parser(style: Date.FormatStyle) -> DateParser {
| `- error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
39 | .init(parseDate: { try? style.parse($0) }, formatDate: style.format(_:))
40 | }
Foundation.Date:1:15: note: 'Date' declared here
1 | public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
| `- note: 'Date' declared here
2 | public typealias ReferenceType = NSDate
3 | public static let timeIntervalBetween1970AndReferenceDate: Double
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:47:45: error: 'ISO8601FormatStyle' is not a member type of struct 'Foundation.Date'
45 | /// - Parameter style: The format style to use for converting between json and `Date` values.
46 | /// - Returns: A parser for converting between json and `Date` values, using a `Date.ISO8601FormatStyle`.
47 | public static func jsonParser(style: Date.ISO8601FormatStyle) -> JSONString<DateParser> {
| `- error: 'ISO8601FormatStyle' is not a member type of struct 'Foundation.Date'
48 | JSONString { self.parser(style: style) }
49 | }
Foundation.Date:1:15: note: 'Date' declared here
1 | public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
| `- note: 'Date' declared here
2 | public typealias ReferenceType = NSDate
3 | public static let timeIntervalBetween1970AndReferenceDate: Double
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:56:45: error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
54 | /// - Parameter style: The format style to use for converting between json and `Date` values.
55 | /// - Returns: A parser for converting between json and `Date` values, using a `Date.FormatStyle`.
56 | public static func jsonParser(style: Date.FormatStyle) -> JSONString<DateParser> {
| `- error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
57 | JSONString { self.parser(style: style) }
58 | }
Foundation.Date:1:15: note: 'Date' declared here
1 | public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
| `- note: 'Date' declared here
2 | public typealias ReferenceType = NSDate
3 | public static let timeIntervalBetween1970AndReferenceDate: Double
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:48:29: error: incorrect argument label in call (have 'style:', expected 'formatter:')
46 | /// - Returns: A parser for converting between json and `Date` values, using a `Date.ISO8601FormatStyle`.
47 | public static func jsonParser(style: Date.ISO8601FormatStyle) -> JSONString<DateParser> {
48 | JSONString { self.parser(style: style) }
| `- error: incorrect argument label in call (have 'style:', expected 'formatter:')
49 | }
50 |
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:57:29: error: incorrect argument label in call (have 'style:', expected 'formatter:')
55 | /// - Returns: A parser for converting between json and `Date` values, using a `Date.FormatStyle`.
56 | public static func jsonParser(style: Date.FormatStyle) -> JSONString<DateParser> {
57 | JSONString { self.parser(style: style) }
| `- error: incorrect argument label in call (have 'style:', expected 'formatter:')
58 | }
59 | }
[181/205] Compiling JSONParsing Exports.swift
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:29:41: error: 'ISO8601FormatStyle' is not a member type of struct 'Foundation.Date'
27 | /// - Parameter style: The format style to use for converting between strings and `Date` values.
28 | /// - Returns: A parser for converting between strings and `Date` values, using a `Date.ISO8601FormatStyle`.
29 | public static func parser(style: Date.ISO8601FormatStyle) -> DateParser {
| `- error: 'ISO8601FormatStyle' is not a member type of struct 'Foundation.Date'
30 | .init(parseDate: { try? style.parse($0) }, formatDate: style.format(_:))
31 | }
Foundation.Date:1:15: note: 'Date' declared here
1 | public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
| `- note: 'Date' declared here
2 | public typealias ReferenceType = NSDate
3 | public static let timeIntervalBetween1970AndReferenceDate: Double
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:38:41: error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
36 | /// - Parameter style: The format style to use for converting between strings and `Date` values.
37 | /// - Returns: A parser for converting between strings and `Date` values, using a `Date.FormatStyle`.
38 | public static func parser(style: Date.FormatStyle) -> DateParser {
| `- error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
39 | .init(parseDate: { try? style.parse($0) }, formatDate: style.format(_:))
40 | }
Foundation.Date:1:15: note: 'Date' declared here
1 | public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
| `- note: 'Date' declared here
2 | public typealias ReferenceType = NSDate
3 | public static let timeIntervalBetween1970AndReferenceDate: Double
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:47:45: error: 'ISO8601FormatStyle' is not a member type of struct 'Foundation.Date'
45 | /// - Parameter style: The format style to use for converting between json and `Date` values.
46 | /// - Returns: A parser for converting between json and `Date` values, using a `Date.ISO8601FormatStyle`.
47 | public static func jsonParser(style: Date.ISO8601FormatStyle) -> JSONString<DateParser> {
| `- error: 'ISO8601FormatStyle' is not a member type of struct 'Foundation.Date'
48 | JSONString { self.parser(style: style) }
49 | }
Foundation.Date:1:15: note: 'Date' declared here
1 | public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
| `- note: 'Date' declared here
2 | public typealias ReferenceType = NSDate
3 | public static let timeIntervalBetween1970AndReferenceDate: Double
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:56:45: error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
54 | /// - Parameter style: The format style to use for converting between json and `Date` values.
55 | /// - Returns: A parser for converting between json and `Date` values, using a `Date.FormatStyle`.
56 | public static func jsonParser(style: Date.FormatStyle) -> JSONString<DateParser> {
| `- error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
57 | JSONString { self.parser(style: style) }
58 | }
Foundation.Date:1:15: note: 'Date' declared here
1 | public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
| `- note: 'Date' declared here
2 | public typealias ReferenceType = NSDate
3 | public static let timeIntervalBetween1970AndReferenceDate: Double
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:48:29: error: incorrect argument label in call (have 'style:', expected 'formatter:')
46 | /// - Returns: A parser for converting between json and `Date` values, using a `Date.ISO8601FormatStyle`.
47 | public static func jsonParser(style: Date.ISO8601FormatStyle) -> JSONString<DateParser> {
48 | JSONString { self.parser(style: style) }
| `- error: incorrect argument label in call (have 'style:', expected 'formatter:')
49 | }
50 |
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:57:29: error: incorrect argument label in call (have 'style:', expected 'formatter:')
55 | /// - Returns: A parser for converting between json and `Date` values, using a `Date.FormatStyle`.
56 | public static func jsonParser(style: Date.FormatStyle) -> JSONString<DateParser> {
57 | JSONString { self.parser(style: style) }
| `- error: incorrect argument label in call (have 'style:', expected 'formatter:')
58 | }
59 | }
[182/205] Compiling JSONParsing Date+JSONParsing.swift
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:29:41: error: 'ISO8601FormatStyle' is not a member type of struct 'Foundation.Date'
27 | /// - Parameter style: The format style to use for converting between strings and `Date` values.
28 | /// - Returns: A parser for converting between strings and `Date` values, using a `Date.ISO8601FormatStyle`.
29 | public static func parser(style: Date.ISO8601FormatStyle) -> DateParser {
| `- error: 'ISO8601FormatStyle' is not a member type of struct 'Foundation.Date'
30 | .init(parseDate: { try? style.parse($0) }, formatDate: style.format(_:))
31 | }
Foundation.Date:1:15: note: 'Date' declared here
1 | public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
| `- note: 'Date' declared here
2 | public typealias ReferenceType = NSDate
3 | public static let timeIntervalBetween1970AndReferenceDate: Double
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:38:41: error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
36 | /// - Parameter style: The format style to use for converting between strings and `Date` values.
37 | /// - Returns: A parser for converting between strings and `Date` values, using a `Date.FormatStyle`.
38 | public static func parser(style: Date.FormatStyle) -> DateParser {
| `- error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
39 | .init(parseDate: { try? style.parse($0) }, formatDate: style.format(_:))
40 | }
Foundation.Date:1:15: note: 'Date' declared here
1 | public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
| `- note: 'Date' declared here
2 | public typealias ReferenceType = NSDate
3 | public static let timeIntervalBetween1970AndReferenceDate: Double
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:47:45: error: 'ISO8601FormatStyle' is not a member type of struct 'Foundation.Date'
45 | /// - Parameter style: The format style to use for converting between json and `Date` values.
46 | /// - Returns: A parser for converting between json and `Date` values, using a `Date.ISO8601FormatStyle`.
47 | public static func jsonParser(style: Date.ISO8601FormatStyle) -> JSONString<DateParser> {
| `- error: 'ISO8601FormatStyle' is not a member type of struct 'Foundation.Date'
48 | JSONString { self.parser(style: style) }
49 | }
Foundation.Date:1:15: note: 'Date' declared here
1 | public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
| `- note: 'Date' declared here
2 | public typealias ReferenceType = NSDate
3 | public static let timeIntervalBetween1970AndReferenceDate: Double
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:56:45: error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
54 | /// - Parameter style: The format style to use for converting between json and `Date` values.
55 | /// - Returns: A parser for converting between json and `Date` values, using a `Date.FormatStyle`.
56 | public static func jsonParser(style: Date.FormatStyle) -> JSONString<DateParser> {
| `- error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
57 | JSONString { self.parser(style: style) }
58 | }
Foundation.Date:1:15: note: 'Date' declared here
1 | public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
| `- note: 'Date' declared here
2 | public typealias ReferenceType = NSDate
3 | public static let timeIntervalBetween1970AndReferenceDate: Double
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:48:29: error: incorrect argument label in call (have 'style:', expected 'formatter:')
46 | /// - Returns: A parser for converting between json and `Date` values, using a `Date.ISO8601FormatStyle`.
47 | public static func jsonParser(style: Date.ISO8601FormatStyle) -> JSONString<DateParser> {
48 | JSONString { self.parser(style: style) }
| `- error: incorrect argument label in call (have 'style:', expected 'formatter:')
49 | }
50 |
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:57:29: error: incorrect argument label in call (have 'style:', expected 'formatter:')
55 | /// - Returns: A parser for converting between json and `Date` values, using a `Date.FormatStyle`.
56 | public static func jsonParser(style: Date.FormatStyle) -> JSONString<DateParser> {
57 | JSONString { self.parser(style: style) }
| `- error: incorrect argument label in call (have 'style:', expected 'formatter:')
58 | }
59 | }
[183/208] Compiling JSONParsing URL+JSONParsing.swift
[184/208] Compiling JSONParsing UUID+JSONParsing.swift
[185/208] Compiling JSONParsing JSONParser+DecodeEncode.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[186/208] Emitting module JSONParsing
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:29:41: error: 'ISO8601FormatStyle' is not a member type of struct 'Foundation.Date'
27 | /// - Parameter style: The format style to use for converting between strings and `Date` values.
28 | /// - Returns: A parser for converting between strings and `Date` values, using a `Date.ISO8601FormatStyle`.
29 | public static func parser(style: Date.ISO8601FormatStyle) -> DateParser {
| `- error: 'ISO8601FormatStyle' is not a member type of struct 'Foundation.Date'
30 | .init(parseDate: { try? style.parse($0) }, formatDate: style.format(_:))
31 | }
Foundation.Date:1:15: note: 'Date' declared here
1 | public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
| `- note: 'Date' declared here
2 | public typealias ReferenceType = NSDate
3 | public static let timeIntervalBetween1970AndReferenceDate: Double
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:38:41: error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
36 | /// - Parameter style: The format style to use for converting between strings and `Date` values.
37 | /// - Returns: A parser for converting between strings and `Date` values, using a `Date.FormatStyle`.
38 | public static func parser(style: Date.FormatStyle) -> DateParser {
| `- error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
39 | .init(parseDate: { try? style.parse($0) }, formatDate: style.format(_:))
40 | }
Foundation.Date:1:15: note: 'Date' declared here
1 | public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
| `- note: 'Date' declared here
2 | public typealias ReferenceType = NSDate
3 | public static let timeIntervalBetween1970AndReferenceDate: Double
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:47:45: error: 'ISO8601FormatStyle' is not a member type of struct 'Foundation.Date'
45 | /// - Parameter style: The format style to use for converting between json and `Date` values.
46 | /// - Returns: A parser for converting between json and `Date` values, using a `Date.ISO8601FormatStyle`.
47 | public static func jsonParser(style: Date.ISO8601FormatStyle) -> JSONString<DateParser> {
| `- error: 'ISO8601FormatStyle' is not a member type of struct 'Foundation.Date'
48 | JSONString { self.parser(style: style) }
49 | }
Foundation.Date:1:15: note: 'Date' declared here
1 | public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
| `- note: 'Date' declared here
2 | public typealias ReferenceType = NSDate
3 | public static let timeIntervalBetween1970AndReferenceDate: Double
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:56:45: error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
54 | /// - Parameter style: The format style to use for converting between json and `Date` values.
55 | /// - Returns: A parser for converting between json and `Date` values, using a `Date.FormatStyle`.
56 | public static func jsonParser(style: Date.FormatStyle) -> JSONString<DateParser> {
| `- error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
57 | JSONString { self.parser(style: style) }
58 | }
Foundation.Date:1:15: note: 'Date' declared here
1 | public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
| `- note: 'Date' declared here
2 | public typealias ReferenceType = NSDate
3 | public static let timeIntervalBetween1970AndReferenceDate: Double
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue.swift:18:21: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A typed representation of a JSON value.
4 | public enum JSONValue: Equatable {
| `- note: consider making enum 'JSONValue' conform to the 'Sendable' protocol
5 | case null
6 | case boolean(Bool)
:
16 | public init() { self = .empty }
17 | /// An empty JSON object. Equivalent to `JSONValue.object([:])`.
18 | public static let empty: JSONValue = .object([:])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[187/208] Compiling JSONParsing DecodingContainers+JSONParsing.swift
[188/208] Compiling JSONParsing EncodingContainers+JSONParsing.swift
[189/208] Compiling JSONParsing JSONParsingError+Codable.swift
[190/208] Compiling JSONParsing Null.swift
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue.swift:18:21: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A typed representation of a JSON value.
4 | public enum JSONValue: Equatable {
| `- note: consider making enum 'JSONValue' conform to the 'Sendable' protocol
5 | case null
6 | case boolean(Bool)
:
16 | public init() { self = .empty }
17 | /// An empty JSON object. Equivalent to `JSONValue.object([:])`.
18 | public static let empty: JSONValue = .object([:])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[191/208] Compiling JSONParsing OptionalField.swift
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue.swift:18:21: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A typed representation of a JSON value.
4 | public enum JSONValue: Equatable {
| `- note: consider making enum 'JSONValue' conform to the 'Sendable' protocol
5 | case null
6 | case boolean(Bool)
:
16 | public init() { self = .empty }
17 | /// An empty JSON object. Equivalent to `JSONValue.object([:])`.
18 | public static let empty: JSONValue = .object([:])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[192/208] Compiling JSONParsing DecodableJSONParser.swift
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue.swift:18:21: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A typed representation of a JSON value.
4 | public enum JSONValue: Equatable {
| `- note: consider making enum 'JSONValue' conform to the 'Sendable' protocol
5 | case null
6 | case boolean(Bool)
:
16 | public init() { self = .empty }
17 | /// An empty JSON object. Equivalent to `JSONValue.object([:])`.
18 | public static let empty: JSONValue = .object([:])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[193/208] Compiling JSONParsing JSONPrintingError+Codable.swift
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift:15:57: error: type 'JSONSerialization.ReadingOptions' has no member 'json5Allowed'
13 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
14 | public init(_ jsonData: Data, allowJSON5: Bool) throws {
15 | try self.init(jsonData, extraOptions: allowJSON5 ? .json5Allowed : [])
| `- error: type 'JSONSerialization.ReadingOptions' has no member 'json5Allowed'
16 | }
17 |
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift:41:10: error: cannot find 'CFGetTypeID' in scope
39 | self = .null
40 | case let num as NSNumber:
41 | if CFGetTypeID(num) == CFBooleanGetTypeID() {
| `- error: cannot find 'CFGetTypeID' in scope
42 | self = .boolean(num.boolValue)
43 | } else if CFNumberIsFloatType(num) {
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift:41:30: error: cannot find 'CFBooleanGetTypeID' in scope
39 | self = .null
40 | case let num as NSNumber:
41 | if CFGetTypeID(num) == CFBooleanGetTypeID() {
| `- error: cannot find 'CFBooleanGetTypeID' in scope
42 | self = .boolean(num.boolValue)
43 | } else if CFNumberIsFloatType(num) {
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift:43:17: error: cannot find 'CFNumberIsFloatType' in scope
41 | if CFGetTypeID(num) == CFBooleanGetTypeID() {
42 | self = .boolean(num.boolValue)
43 | } else if CFNumberIsFloatType(num) {
| `- error: cannot find 'CFNumberIsFloatType' in scope
44 | self = .float(num.doubleValue)
45 | } else {
[194/208] Compiling JSONParsing JSONValue+Codable.swift
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift:15:57: error: type 'JSONSerialization.ReadingOptions' has no member 'json5Allowed'
13 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
14 | public init(_ jsonData: Data, allowJSON5: Bool) throws {
15 | try self.init(jsonData, extraOptions: allowJSON5 ? .json5Allowed : [])
| `- error: type 'JSONSerialization.ReadingOptions' has no member 'json5Allowed'
16 | }
17 |
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift:41:10: error: cannot find 'CFGetTypeID' in scope
39 | self = .null
40 | case let num as NSNumber:
41 | if CFGetTypeID(num) == CFBooleanGetTypeID() {
| `- error: cannot find 'CFGetTypeID' in scope
42 | self = .boolean(num.boolValue)
43 | } else if CFNumberIsFloatType(num) {
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift:41:30: error: cannot find 'CFBooleanGetTypeID' in scope
39 | self = .null
40 | case let num as NSNumber:
41 | if CFGetTypeID(num) == CFBooleanGetTypeID() {
| `- error: cannot find 'CFBooleanGetTypeID' in scope
42 | self = .boolean(num.boolValue)
43 | } else if CFNumberIsFloatType(num) {
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift:43:17: error: cannot find 'CFNumberIsFloatType' in scope
41 | if CFGetTypeID(num) == CFBooleanGetTypeID() {
42 | self = .boolean(num.boolValue)
43 | } else if CFNumberIsFloatType(num) {
| `- error: cannot find 'CFNumberIsFloatType' in scope
44 | self = .float(num.doubleValue)
45 | } else {
[195/208] Compiling JSONParsing JSONValue+JSONSerialization.swift
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift:15:57: error: type 'JSONSerialization.ReadingOptions' has no member 'json5Allowed'
13 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
14 | public init(_ jsonData: Data, allowJSON5: Bool) throws {
15 | try self.init(jsonData, extraOptions: allowJSON5 ? .json5Allowed : [])
| `- error: type 'JSONSerialization.ReadingOptions' has no member 'json5Allowed'
16 | }
17 |
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift:41:10: error: cannot find 'CFGetTypeID' in scope
39 | self = .null
40 | case let num as NSNumber:
41 | if CFGetTypeID(num) == CFBooleanGetTypeID() {
| `- error: cannot find 'CFGetTypeID' in scope
42 | self = .boolean(num.boolValue)
43 | } else if CFNumberIsFloatType(num) {
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift:41:30: error: cannot find 'CFBooleanGetTypeID' in scope
39 | self = .null
40 | case let num as NSNumber:
41 | if CFGetTypeID(num) == CFBooleanGetTypeID() {
| `- error: cannot find 'CFBooleanGetTypeID' in scope
42 | self = .boolean(num.boolValue)
43 | } else if CFNumberIsFloatType(num) {
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift:43:17: error: cannot find 'CFNumberIsFloatType' in scope
41 | if CFGetTypeID(num) == CFBooleanGetTypeID() {
42 | self = .boolean(num.boolValue)
43 | } else if CFNumberIsFloatType(num) {
| `- error: cannot find 'CFNumberIsFloatType' in scope
44 | self = .float(num.doubleValue)
45 | } else {
[196/208] Compiling JSONParsing Field.swift
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue.swift:18:21: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A typed representation of a JSON value.
4 | public enum JSONValue: Equatable {
| `- note: consider making enum 'JSONValue' conform to the 'Sendable' protocol
5 | case null
6 | case boolean(Bool)
:
16 | public init() { self = .empty }
17 | /// An empty JSON object. Equivalent to `JSONValue.object([:])`.
18 | public static let empty: JSONValue = .object([:])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[197/208] Compiling JSONParsing JSONArray.swift
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue.swift:18:21: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A typed representation of a JSON value.
4 | public enum JSONValue: Equatable {
| `- note: consider making enum 'JSONValue' conform to the 'Sendable' protocol
5 | case null
6 | case boolean(Bool)
:
16 | public init() { self = .empty }
17 | /// An empty JSON object. Equivalent to `JSONValue.object([:])`.
18 | public static let empty: JSONValue = .object([:])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[198/208] Compiling JSONParsing JSONBoolean.swift
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue.swift:18:21: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A typed representation of a JSON value.
4 | public enum JSONValue: Equatable {
| `- note: consider making enum 'JSONValue' conform to the 'Sendable' protocol
5 | case null
6 | case boolean(Bool)
:
16 | public init() { self = .empty }
17 | /// An empty JSON object. Equivalent to `JSONValue.object([:])`.
18 | public static let empty: JSONValue = .object([:])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[199/208] Compiling JSONParsing JSONValue+PrettyPrinting.swift
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue.swift:18:21: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A typed representation of a JSON value.
4 | public enum JSONValue: Equatable {
| `- note: consider making enum 'JSONValue' conform to the 'Sendable' protocol
5 | case null
6 | case boolean(Bool)
:
16 | public init() { self = .empty }
17 | /// An empty JSON object. Equivalent to `JSONValue.object([:])`.
18 | public static let empty: JSONValue = .object([:])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[200/208] Compiling JSONParsing JSONValue.swift
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue.swift:18:21: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A typed representation of a JSON value.
4 | public enum JSONValue: Equatable {
| `- note: consider making enum 'JSONValue' conform to the 'Sendable' protocol
5 | case null
6 | case boolean(Bool)
:
16 | public init() { self = .empty }
17 | /// An empty JSON object. Equivalent to `JSONValue.object([:])`.
18 | public static let empty: JSONValue = .object([:])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[201/208] Compiling JSONParsing Typealiases.swift
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue.swift:18:21: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A typed representation of a JSON value.
4 | public enum JSONValue: Equatable {
| `- note: consider making enum 'JSONValue' conform to the 'Sendable' protocol
5 | case null
6 | case boolean(Bool)
:
16 | public init() { self = .empty }
17 | /// An empty JSON object. Equivalent to `JSONValue.object([:])`.
18 | public static let empty: JSONValue = .object([:])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[202/208] Compiling JSONParsing JSONNumber.swift
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue.swift:18:21: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A typed representation of a JSON value.
4 | public enum JSONValue: Equatable {
| `- note: consider making enum 'JSONValue' conform to the 'Sendable' protocol
5 | case null
6 | case boolean(Bool)
:
16 | public init() { self = .empty }
17 | /// An empty JSON object. Equivalent to `JSONValue.object([:])`.
18 | public static let empty: JSONValue = .object([:])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[203/208] Compiling JSONParsing JSONObject.swift
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue.swift:18:21: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A typed representation of a JSON value.
4 | public enum JSONValue: Equatable {
| `- note: consider making enum 'JSONValue' conform to the 'Sendable' protocol
5 | case null
6 | case boolean(Bool)
:
16 | public init() { self = .empty }
17 | /// An empty JSON object. Equivalent to `JSONValue.object([:])`.
18 | public static let empty: JSONValue = .object([:])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[204/208] Compiling JSONParsing JSONString.swift
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue.swift:18:21: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A typed representation of a JSON value.
4 | public enum JSONValue: Equatable {
| `- note: consider making enum 'JSONValue' conform to the 'Sendable' protocol
5 | case null
6 | case boolean(Bool)
:
16 | public init() { self = .empty }
17 | /// An empty JSON object. Equivalent to `JSONValue.object([:])`.
18 | public static let empty: JSONValue = .object([:])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
BUILD FAILURE 6.0 linux