Build Information
Failed to build swift-json-parsing, reference 0.2.0 (ba457b
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 20:07:36 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/oskarek/swift-json-parsing.git
Reference: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/oskarek/swift-json-parsing
* tag 0.2.0 -> FETCH_HEAD
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: $PWD/.spi.yml
SUCCESS checkout https://github.com/oskarek/swift-json-parsing.git at 0.2.0
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/google/swift-benchmark
Fetching https://github.com/pointfreeco/swift-case-paths
Fetching https://github.com/pointfreeco/swift-parsing
[1/1486] Fetching swift-benchmark
[2/13881] Fetching swift-benchmark, swift-argument-parser
[3/18891] Fetching swift-benchmark, swift-argument-parser, xctest-dynamic-overlay
[4/23081] Fetching swift-benchmark, swift-argument-parser, xctest-dynamic-overlay, swift-case-paths
[3365/120841] Fetching swift-benchmark, swift-argument-parser, xctest-dynamic-overlay, swift-case-paths, swift-parsing
Fetched https://github.com/pointfreeco/swift-parsing from cache (10.34s)
Fetched https://github.com/google/swift-benchmark from cache (10.34s)
Computing version for https://github.com/google/swift-benchmark
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (10.34s)
Fetched https://github.com/apple/swift-argument-parser from cache (10.34s)
Fetched https://github.com/pointfreeco/swift-case-paths from cache (10.34s)
Computed https://github.com/google/swift-benchmark at 0.1.2 (0.56s)
Computing version for https://github.com/pointfreeco/swift-parsing
Computed https://github.com/pointfreeco/swift-parsing at 0.13.0 (0.54s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.2 (0.58s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 1.0.0 (0.64s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.0.2 (0.54s)
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-json-parsing",
"name": "swift-json-parsing",
"url": "https://github.com/oskarek/swift-json-parsing.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-json-parsing",
"dependencies": [
{
"identity": "swift-parsing",
"name": "swift-parsing",
"url": "https://github.com/pointfreeco/swift-parsing",
"version": "0.13.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-parsing",
"dependencies": [
{
"identity": "swift-case-paths",
"name": "swift-case-paths",
"url": "https://github.com/pointfreeco/swift-case-paths",
"version": "1.5.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-case-paths",
"dependencies": [
{
"identity": "swift-syntax",
"name": "swift-syntax",
"url": "https://github.com/swiftlang/swift-syntax",
"version": "600.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
"dependencies": [
]
},
{
"identity": "xctest-dynamic-overlay",
"name": "xctest-dynamic-overlay",
"url": "https://github.com/pointfreeco/xctest-dynamic-overlay",
"version": "1.4.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xctest-dynamic-overlay",
"dependencies": [
]
}
]
}
]
}
]
}
]
}
Fetching https://github.com/oskarek/swift-json-parsing.git
[1/106] Fetching swift-json-parsing
Fetched https://github.com/oskarek/swift-json-parsing.git from cache (0.77s)
Fetching https://github.com/pointfreeco/swift-parsing from cache
Fetched https://github.com/pointfreeco/swift-parsing from cache (0.55s)
Computing version for https://github.com/pointfreeco/swift-parsing
Computed https://github.com/pointfreeco/swift-parsing at 0.13.0 (0.02s)
Fetching https://github.com/pointfreeco/swift-case-paths from cache
Fetched https://github.com/pointfreeco/swift-case-paths from cache (0.49s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 1.5.6 (2.45s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay from cache
[1/66684] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (4.05s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (4.05s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.4.3 (0.45s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (0.65s)
Creating working copy for https://github.com/oskarek/swift-json-parsing.git
Working copy of https://github.com/oskarek/swift-json-parsing.git resolved at 0.2.0 (ba457be)
Creating working copy for https://github.com/pointfreeco/swift-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 1.5.6
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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.4.3
warning: '.resolve-product-dependencies': dependency 'swift-json-parsing' is not used by any target
Found 1 product dependencies
- swift-parsing
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/oskarek/swift-json-parsing.git
{
"dependencies" : [
{
"identity" : "swift-parsing",
"requirement" : {
"range" : [
{
"lower_bound" : "0.13.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-parsing"
},
{
"identity" : "swift-benchmark",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/google/swift-benchmark"
}
],
"manifest_display_name" : "swift-json-parsing",
"name" : "swift-json-parsing",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "JSONParsing",
"targets" : [
"JSONParsing"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "swift-json-parsing-benchmark",
"targets" : [
"swift-json-parsing-benchmark"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "swift_json_parsing_benchmark",
"module_type" : "SwiftTarget",
"name" : "swift-json-parsing-benchmark",
"path" : "Sources/swift-json-parsing-benchmark",
"product_dependencies" : [
"Benchmark",
"Parsing"
],
"product_memberships" : [
"swift-json-parsing-benchmark"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/swift-json-parsing-benchmark/Samples/sample_json.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"DecodingBenchmarks.swift",
"EncodingBenchmarks.swift",
"Person.swift",
"main.swift"
],
"target_dependencies" : [
"JSONParsing"
],
"type" : "executable"
},
{
"c99name" : "JSONParsingTests",
"module_type" : "SwiftTarget",
"name" : "JSONParsingTests",
"path" : "Tests/JSONParsingTests",
"sources" : [
"JSONParsers/DecodableJSONParserTests.swift",
"JSONParsers/FieldTests.swift",
"JSONParsers/JSONArrayTests.swift",
"JSONParsers/JSONBooleanTests.swift",
"JSONParsers/JSONNumberTests.swift",
"JSONParsers/JSONStringTests.swift",
"JSONParsers/NestedJSONTests.swift",
"JSONParsers/NullTests.swift",
"JSONParsers/ObjectTests.swift",
"JSONParsers/OptionalFieldTests.swift",
"JSONValue/PrettyPrintingTests.swift",
"JSONValue/SerializationTests.swift"
],
"target_dependencies" : [
"JSONParsing"
],
"type" : "test"
},
{
"c99name" : "JSONParsing",
"module_type" : "SwiftTarget",
"name" : "JSONParsing",
"path" : "Sources/JSONParsing",
"product_dependencies" : [
"Parsing"
],
"product_memberships" : [
"JSONParsing",
"swift-json-parsing-benchmark"
],
"sources" : [
"Errors/JSONParsingError.swift",
"Errors/JSONPrintingError.swift",
"Exports.swift",
"Foundation+JSONParsing/Date+JSONParsing.swift",
"Foundation+JSONParsing/URL+JSONParsing.swift",
"Foundation+JSONParsing/UUID+JSONParsing.swift",
"JSONParser+DecodeEncode.swift",
"JSONParsers/Field.swift",
"JSONParsers/JSONArray.swift",
"JSONParsers/JSONBoolean.swift",
"JSONParsers/JSONNumber.swift",
"JSONParsers/JSONObject.swift",
"JSONParsers/JSONString.swift",
"JSONParsers/Null.swift",
"JSONParsers/OptionalField.swift",
"JSONParsing+Codable/DecodableJSONParser.swift",
"JSONParsing+Codable/DecodingContainers+JSONParsing.swift",
"JSONParsing+Codable/EncodingContainers+JSONParsing.swift",
"JSONParsing+Codable/JSONParsingError+Codable.swift",
"JSONParsing+Codable/JSONPrintingError+Codable.swift",
"JSONValue/JSONValue+Codable.swift",
"JSONValue/JSONValue+JSONSerialization.swift",
"JSONValue/JSONValue+PrettyPrinting.swift",
"JSONValue/JSONValue.swift",
"Typealiases.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/15] Write sources
[3/15] Write swift-json-parsing-benchmark-entitlement.plist
[3/15] Write sources
[9/15] Copying sample_json.json
[11/15] Write swift-version--7754E27361AE5C74.txt
[13/26] Emitting module ArgumentParserToolInfo
[14/26] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/64] Compiling ArgumentParser ArgumentHelp.swift
[16/64] Compiling ArgumentParser ArgumentVisibility.swift
[17/64] Compiling ArgumentParser CompletionKind.swift
[18/64] Compiling ArgumentParser Errors.swift
[19/68] Compiling ArgumentParser Platform.swift
[20/68] Compiling ArgumentParser SequenceExtensions.swift
[21/68] Compiling ArgumentParser StringExtensions.swift
[22/68] Compiling ArgumentParser Tree.swift
[23/68] Compiling ArgumentParser Flag.swift
[24/68] Compiling ArgumentParser NameSpecification.swift
[25/68] Compiling ArgumentParser Option.swift
[26/68] Compiling ArgumentParser OptionGroup.swift
[27/68] Compiling ArgumentParser AsyncParsableCommand.swift
[28/68] Compiling ArgumentParser CommandConfiguration.swift
[29/68] Compiling ArgumentParser EnumerableFlag.swift
[30/68] Compiling ArgumentParser ExpressibleByArgument.swift
[31/68] Compiling ArgumentParser BashCompletionsGenerator.swift
[32/68] Compiling ArgumentParser CompletionsGenerator.swift
[33/68] Compiling ArgumentParser FishCompletionsGenerator.swift
[34/68] Compiling ArgumentParser ZshCompletionsGenerator.swift
[35/68] Compiling ArgumentParser Argument.swift
[36/68] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[37/68] Compiling XCTestDynamicOverlay Unimplemented.swift
[38/68] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[39/68] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[40/68] Compiling XCTestDynamicOverlay XCTFail.swift
[41/68] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[42/68] Compiling XCTestDynamicOverlay Deprecations.swift
[43/68] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[44/68] Emitting module XCTestDynamicOverlay
[45/68] Emitting module ArgumentParser
[46/68] Compiling ArgumentParser HelpGenerator.swift
[47/68] Compiling ArgumentParser MessageInfo.swift
[48/68] Compiling ArgumentParser UsageGenerator.swift
[49/68] Compiling ArgumentParser CollectionExtensions.swift
[50/76] Compiling ArgumentParser InputOrigin.swift
[51/76] Compiling ArgumentParser Name.swift
[52/76] Compiling ArgumentParser Parsed.swift
[53/76] Compiling ArgumentParser ParsedValues.swift
[54/76] Compiling ArgumentParser ParsableArguments.swift
[55/76] Compiling ArgumentParser ParsableArgumentsValidation.swift
[56/76] Compiling ArgumentParser ParsableCommand.swift
[57/76] Compiling ArgumentParser ArgumentDecoder.swift
[58/76] Compiling ArgumentParser ArgumentDefinition.swift
[59/76] Compiling ArgumentParser ArgumentSet.swift
[60/76] Compiling ArgumentParser CommandParser.swift
[61/76] Compiling ArgumentParser InputKey.swift
[62/76] Compiling CasePaths Operators.swift
[63/76] Compiling CasePaths TypeName.swift
[64/76] Compiling CasePaths XCTUnwrap.swift
[65/76] Compiling CasePaths OpenExistential.swift
[66/76] Compiling CasePaths CasePaths.swift
[67/76] Compiling CasePaths CasePath.swift
[68/76] Emitting module CasePaths
[69/76] Compiling CasePaths EnumReflection.swift
[70/145] Compiling Parsing ParserBuilder.swift
[71/145] Compiling Parsing Conversion.swift
[72/145] Compiling Parsing AnyConversion.swift
[73/145] Compiling Parsing BinaryFloatingPoint.swift
[74/162] Compiling Benchmark BenchmarkSuite.swift
[75/162] Compiling Benchmark BenchmarkTermination.swift
[76/162] Compiling Benchmark Stats.swift
[77/162] Compiling Benchmark BenchmarkTime.swift
[78/163] Compiling Benchmark Benchmark.swift
[79/163] Compiling Benchmark BenchmarkArguments.swift
[80/163] Compiling Benchmark BenchmarkColumn.swift
[81/163] Compiling Benchmark BenchmarkCommand.swift
[82/163] Compiling Benchmark BenchmarkFilter.swift
[83/163] Compiling Benchmark BenchmarkFormatter.swift
[84/163] Compiling Benchmark BenchmarkMain.swift
[85/163] Compiling Benchmark BenchmarkReporter.swift
[86/170] Compiling Benchmark TestIntegration.swift
[87/170] Compiling Benchmark BenchmarkResult.swift
[88/170] Compiling Benchmark BenchmarkRunner.swift
[89/170] Compiling Benchmark BenchmarkSetting.swift
[90/170] Compiling Benchmark BenchmarkState.swift
[97/170] Emitting module Benchmark
[100/170] Compiling Parsing ReplaceError.swift
[101/170] Compiling Parsing Rest.swift
[102/170] Compiling Parsing Skip.swift
[103/170] Compiling Parsing StartsWith.swift
[104/170] Compiling Parsing UUID.swift
[105/170] Compiling Parsing Whitespace.swift
[106/170] Compiling Parsing AnyParser.swift
[107/170] Compiling Parsing Conditional.swift
[108/170] Compiling Parsing Consumed.swift
[109/170] Compiling Parsing Digits.swift
[110/170] Compiling Parsing End.swift
[111/170] Compiling Parsing Fail.swift
[112/170] Compiling Parsing Filter.swift
[113/170] Compiling Parsing First.swift
[114/170] Compiling Parsing Float.swift
[115/170] Compiling Parsing Parser.swift
[116/170] Compiling Parsing ParserPrinter.swift
[117/170] Compiling Parsing Always.swift
[118/170] Compiling Parsing AnyParserPrinter.swift
[119/170] Compiling Parsing Backtracking.swift
[120/170] Compiling Parsing Bool.swift
[121/170] Compiling Parsing CaseIterableRawRepresentable.swift
[122/170] Compiling Parsing CharacterSet.swift
[123/170] Compiling Parsing String.swift
[124/170] Compiling Parsing Substring.swift
[125/170] Compiling Parsing UTF8View.swift
[126/170] Compiling Parsing ConvertingError.swift
[127/170] Compiling Parsing CountingRange.swift
[128/170] Compiling Parsing EmptyInitializable.swift
[129/170] Compiling Parsing AnyEquatable.swift
[130/170] Compiling Parsing Deprecations.swift
[137/170] Compiling Parsing Conversions.swift
[138/170] Compiling Parsing Data.swift
[139/170] Compiling Parsing Not.swift
[140/170] Compiling Parsing OneOf.swift
[141/170] Compiling Parsing OneOfMany.swift
[142/170] Compiling Parsing Optional.swift
[143/170] Compiling Parsing Optionally.swift
[144/170] Compiling Parsing Parse.swift
[145/170] Compiling Parsing ParseableFormatStyle.swift
[146/170] Compiling Parsing Peek.swift
[147/170] Compiling Parsing Pipe.swift
[148/170] Compiling Parsing Prefix.swift
[149/170] Compiling Parsing PrefixThrough.swift
[150/170] Compiling Parsing PrefixUpTo.swift
[151/170] Compiling Parsing Printing.swift
[152/170] Compiling Parsing Pullback.swift
[153/170] Compiling Parsing From.swift
[154/170] Compiling Parsing Int.swift
[155/170] Compiling Parsing Lazy.swift
[156/170] Compiling Parsing Literal.swift
[157/170] Compiling Parsing Many.swift
[158/170] Compiling Parsing Map.swift
[159/170] Compiling Parsing Newline.swift
[160/170] Compiling Parsing CompactMap.swift
[161/170] Compiling Parsing FlatMap.swift
[162/170] Compiling Parsing Parsers.swift
[163/170] Compiling Parsing Stream.swift
[164/170] Compiling Parsing ParsingError.swift
[165/170] Compiling Parsing PrependableCollection.swift
[166/170] Compiling Parsing PrintingError.swift
[167/170] Emitting module Parsing
[168/194] Compiling JSONParsing JSONParsingError.swift
[169/194] Compiling JSONParsing JSONPrintingError.swift
[170/194] Compiling JSONParsing Exports.swift
[171/196] Compiling JSONParsing EncodingContainers+JSONParsing.swift
[172/196] Compiling JSONParsing JSONParsingError+Codable.swift
[173/196] Compiling JSONParsing JSONPrintingError+Codable.swift
[174/196] Compiling JSONParsing JSONValue+Codable.swift
[175/196] Compiling JSONParsing JSONBoolean.swift
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/JSONParsing/JSONParsers/JSONNumber.swift:110:37: error: ambiguous use of 'init(_:)'
108 | fromDouble: { Num($0) },
109 | toDouble: { Double($0) },
110 | fromInt: allowInteger ? Num.init : nil
| `- error: ambiguous use of 'init(_:)'
111 | )
112 | )
Swift.FloatingPoint:5:5: note: found this candidate in module 'Swift'
3 | init(sign: FloatingPointSign, exponent: Self.Exponent, significand: Self)
4 | init(signOf: Self, magnitudeOf: Self)
5 | init(_ value: Int)
| `- note: found this candidate in module 'Swift'
6 | init<Source>(_ value: Source) where Source : BinaryInteger
| `- note: found this candidate in module 'Swift'
7 | init?<Source>(exactly value: Source) where Source : BinaryInteger
8 | static var radix: Int { get }
[176/196] Compiling JSONParsing JSONNumber.swift
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/JSONParsing/JSONParsers/JSONNumber.swift:110:37: error: ambiguous use of 'init(_:)'
108 | fromDouble: { Num($0) },
109 | toDouble: { Double($0) },
110 | fromInt: allowInteger ? Num.init : nil
| `- error: ambiguous use of 'init(_:)'
111 | )
112 | )
Swift.FloatingPoint:5:5: note: found this candidate in module 'Swift'
3 | init(sign: FloatingPointSign, exponent: Self.Exponent, significand: Self)
4 | init(signOf: Self, magnitudeOf: Self)
5 | init(_ value: Int)
| `- note: found this candidate in module 'Swift'
6 | init<Source>(_ value: Source) where Source : BinaryInteger
| `- note: found this candidate in module 'Swift'
7 | init?<Source>(exactly value: Source) where Source : BinaryInteger
8 | static var radix: Int { get }
[177/196] Compiling JSONParsing JSONObject.swift
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/JSONParsing/JSONParsers/JSONNumber.swift:110:37: error: ambiguous use of 'init(_:)'
108 | fromDouble: { Num($0) },
109 | toDouble: { Double($0) },
110 | fromInt: allowInteger ? Num.init : nil
| `- error: ambiguous use of 'init(_:)'
111 | )
112 | )
Swift.FloatingPoint:5:5: note: found this candidate in module 'Swift'
3 | init(sign: FloatingPointSign, exponent: Self.Exponent, significand: Self)
4 | init(signOf: Self, magnitudeOf: Self)
5 | init(_ value: Int)
| `- note: found this candidate in module 'Swift'
6 | init<Source>(_ value: Source) where Source : BinaryInteger
| `- note: found this candidate in module 'Swift'
7 | init?<Source>(exactly value: Source) where Source : BinaryInteger
8 | static var radix: Int { get }
[178/196] Emitting module JSONParsing
/Users/admin/builder/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 |
[179/196] Compiling JSONParsing Date+JSONParsing.swift
[180/196] Compiling JSONParsing URL+JSONParsing.swift
[181/196] Compiling JSONParsing UUID+JSONParsing.swift
[182/196] Compiling JSONParsing DecodableJSONParser.swift
[183/196] Compiling JSONParsing DecodingContainers+JSONParsing.swift
[184/196] Compiling JSONParsing JSONString.swift
/Users/admin/builder/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 |
[185/196] Compiling JSONParsing Null.swift
/Users/admin/builder/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 |
[186/196] Compiling JSONParsing OptionalField.swift
/Users/admin/builder/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/196] Compiling JSONParsing JSONParser+DecodeEncode.swift
/Users/admin/builder/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 |
[188/196] Compiling JSONParsing Field.swift
/Users/admin/builder/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 |
[189/196] Compiling JSONParsing JSONArray.swift
/Users/admin/builder/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 |
[190/196] Compiling JSONParsing JSONValue.swift
/Users/admin/builder/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/196] Compiling JSONParsing Typealiases.swift
/Users/admin/builder/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/196] Compiling JSONParsing JSONValue+JSONSerialization.swift
[193/196] Compiling JSONParsing JSONValue+PrettyPrinting.swift
BUILD FAILURE 6.0 macosSpm