Build Information
Failed to build swift-json-parsing with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.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: 5.10
Building package at path: $workDir
https://github.com/oskarek/swift-json-parsing.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/pointfreeco/swift-parsing
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/google/swift-benchmark
Fetching https://github.com/pointfreeco/swift-case-paths
Fetching https://github.com/apple/swift-argument-parser
[1/1486] Fetching swift-benchmark
[1487/5089] Fetching swift-benchmark, swift-case-paths
[5090/7369] Fetching swift-benchmark, swift-case-paths, xctest-dynamic-overlay
[7370/18804] Fetching swift-benchmark, swift-case-paths, xctest-dynamic-overlay, swift-argument-parser
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.80s)
[1/97584] Fetching swift-parsing
Fetched https://github.com/google/swift-benchmark from cache (5.55s)
Fetched https://github.com/pointfreeco/swift-case-paths from cache (5.56s)
Fetched https://github.com/apple/swift-argument-parser from cache (5.56s)
Fetched https://github.com/pointfreeco/swift-parsing from cache (5.66s)
Computing version for https://github.com/google/swift-benchmark
Computed https://github.com/google/swift-benchmark at 0.1.2 (0.41s)
Computing version for https://github.com/pointfreeco/swift-parsing
Computed https://github.com/pointfreeco/swift-parsing at 0.13.0 (0.41s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.2 (0.43s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 1.0.0 (0.42s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.0.2 (0.46s)
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
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/google/swift-benchmark
Working copy of https://github.com/google/swift-benchmark resolved at 0.1.2
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/swift-parsing
Working copy of https://github.com/pointfreeco/swift-parsing resolved at 0.13.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/21] Write sources
[1/21] Copying sample_json.json
[1/21] Write sources
[10/21] Write swift-version-24593BA9C3E375BF.txt
[12/31] Emitting module XCTestDynamicOverlay
[13/32] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[14/32] Compiling XCTestDynamicOverlay Deprecations.swift
[15/32] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[16/32] Compiling ArgumentParserToolInfo ToolInfo.swift
[17/32] Emitting module ArgumentParserToolInfo
[18/34] Wrapping AST for ArgumentParserToolInfo for debugging
[20/70] Emitting module ArgumentParser
[21/75] Compiling ArgumentParser ArgumentVisibility.swift
[22/75] Compiling ArgumentParser CompletionKind.swift
[23/75] Compiling ArgumentParser Errors.swift
[24/75] Compiling ArgumentParser Flag.swift
[25/75] Compiling ArgumentParser NameSpecification.swift
[26/75] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[27/75] Compiling XCTestDynamicOverlay Unimplemented.swift
[28/75] Compiling XCTestDynamicOverlay XCTFail.swift
[29/75] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[30/75] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[31/76] Compiling ArgumentParser Name.swift
[32/76] Compiling ArgumentParser Parsed.swift
[33/76] Compiling ArgumentParser ParsedValues.swift
[34/76] Compiling ArgumentParser ParserError.swift
[35/76] Compiling ArgumentParser SplitArguments.swift
[36/76] Wrapping AST for XCTestDynamicOverlay for debugging
[38/84] Compiling ArgumentParser BashCompletionsGenerator.swift
[39/84] Compiling ArgumentParser CompletionsGenerator.swift
[40/84] Compiling ArgumentParser FishCompletionsGenerator.swift
[41/84] Compiling ArgumentParser ZshCompletionsGenerator.swift
[42/84] Compiling ArgumentParser Argument.swift
[43/84] Compiling ArgumentParser ArgumentHelp.swift
[44/84] Emitting module CasePaths
[45/84] Compiling CasePaths OpenExistential.swift
[46/84] Compiling CasePaths XCTUnwrap.swift
[47/84] Compiling CasePaths TypeName.swift
[48/84] Compiling CasePaths Operators.swift
[49/84] Compiling ArgumentParser CollectionExtensions.swift
[50/84] Compiling ArgumentParser Platform.swift
[51/84] Compiling ArgumentParser SequenceExtensions.swift
[52/84] Compiling ArgumentParser StringExtensions.swift
[53/84] Compiling ArgumentParser Tree.swift
[54/84] Compiling ArgumentParser Option.swift
[55/84] Compiling ArgumentParser OptionGroup.swift
[56/84] Compiling ArgumentParser AsyncParsableCommand.swift
[57/84] Compiling ArgumentParser CommandConfiguration.swift
[58/84] Compiling ArgumentParser EnumerableFlag.swift
[59/84] Compiling ArgumentParser DumpHelpGenerator.swift
[60/84] Compiling ArgumentParser HelpCommand.swift
[61/84] Compiling ArgumentParser HelpGenerator.swift
[62/84] Compiling ArgumentParser MessageInfo.swift
[63/84] Compiling ArgumentParser UsageGenerator.swift
[64/84] Compiling CasePaths CasePaths.swift
[65/84] Compiling CasePaths CasePath.swift
[66/84] Compiling CasePaths EnumReflection.swift
[68/85] Compiling ArgumentParser ArgumentDefinition.swift
[69/85] Compiling ArgumentParser ArgumentSet.swift
[70/85] Compiling ArgumentParser CommandParser.swift
[71/85] Compiling ArgumentParser InputKey.swift
[72/85] Compiling ArgumentParser InputOrigin.swift
[73/85] Compiling ArgumentParser ExpressibleByArgument.swift
[74/85] Compiling ArgumentParser ParsableArguments.swift
[75/85] Compiling ArgumentParser ParsableArgumentsValidation.swift
[76/85] Compiling ArgumentParser ParsableCommand.swift
[77/85] Compiling ArgumentParser ArgumentDecoder.swift
[77/85] Wrapping AST for CasePaths for debugging
[79/153] Wrapping AST for ArgumentParser for debugging
[81/169] Compiling Benchmark BenchmarkTermination.swift
[82/169] Compiling Benchmark BenchmarkTime.swift
[83/171] Compiling Benchmark BenchmarkState.swift
[84/171] Compiling Benchmark BenchmarkSuite.swift
[85/171] Compiling Benchmark Stats.swift
[86/171] Compiling Benchmark TestIntegration.swift
[87/171] Compiling Benchmark BenchmarkReporter.swift
[88/171] Compiling Benchmark BenchmarkResult.swift
[89/171] Compiling Benchmark BenchmarkFormatter.swift
[90/171] Compiling Benchmark BenchmarkMain.swift
[91/171] Compiling Benchmark BenchmarkRunner.swift
[92/171] Compiling Benchmark BenchmarkSetting.swift
[93/171] Compiling Parsing PrefixThrough.swift
[94/171] Compiling Parsing PrefixUpTo.swift
[95/171] Compiling Parsing Printing.swift
[96/171] Compiling Parsing Pullback.swift
[97/171] Compiling Parsing ReplaceError.swift
[98/171] Compiling Parsing Rest.swift
[99/171] Compiling Parsing Skip.swift
[100/171] Compiling Parsing StartsWith.swift
[101/171] Compiling Parsing UUID.swift
[102/180] Compiling Benchmark BenchmarkCommand.swift
[103/180] Compiling Benchmark BenchmarkFilter.swift
[104/180] Emitting module Benchmark
[105/180] Compiling Benchmark Benchmark.swift
[106/180] Compiling Benchmark BenchmarkArguments.swift
[107/180] Compiling Benchmark BenchmarkColumn.swift
[108/181] Wrapping AST for Benchmark for debugging
[110/181] Compiling Parsing CaseIterableRawRepresentable.swift
[111/181] Compiling Parsing CharacterSet.swift
[112/181] Compiling Parsing Conditional.swift
[113/181] Compiling Parsing Consumed.swift
[114/181] Compiling Parsing Digits.swift
[115/181] Compiling Parsing End.swift
[116/181] Compiling Parsing Fail.swift
[117/181] Compiling Parsing Filter.swift
[118/181] Compiling Parsing First.swift
[129/181] Compiling Parsing Float.swift
[130/181] Compiling Parsing From.swift
[131/181] Compiling Parsing Int.swift
[132/181] Compiling Parsing Lazy.swift
[133/181] Compiling Parsing Literal.swift
[134/181] Compiling Parsing Many.swift
[135/181] Compiling Parsing Map.swift
[136/181] Compiling Parsing Newline.swift
[137/181] Compiling Parsing Not.swift
[138/181] Compiling Parsing OneOf.swift
[139/181] Compiling Parsing OneOfMany.swift
[140/181] Compiling Parsing Optional.swift
[141/181] Compiling Parsing Optionally.swift
[142/181] Compiling Parsing Parse.swift
[143/181] Compiling Parsing ParseableFormatStyle.swift
[144/181] Compiling Parsing Peek.swift
[145/181] Compiling Parsing Pipe.swift
[146/181] Compiling Parsing Prefix.swift
[147/181] Compiling Parsing CountingRange.swift
[148/181] Compiling Parsing EmptyInitializable.swift
[149/181] Compiling Parsing AnyEquatable.swift
[150/181] Compiling Parsing Deprecations.swift
[151/181] Compiling Parsing Parser.swift
[152/181] Compiling Parsing ParserPrinter.swift
[153/181] Compiling Parsing Always.swift
[154/181] Compiling Parsing AnyParserPrinter.swift
[155/181] Compiling Parsing Backtracking.swift
[156/181] Compiling Parsing Bool.swift
[164/181] Compiling Parsing Substring.swift
[165/181] Compiling Parsing UTF8View.swift
[166/181] Compiling Parsing ConvertingError.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 JSONPrintingError+Codable.swift
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift:15:57: error: type 'JSONSerialization.ReadingOptions' has no member 'json5Allowed'
try self.init(jsonData, extraOptions: allowJSON5 ? .json5Allowed : [])
~^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift:41:10: error: cannot find 'CFGetTypeID' in scope
if CFGetTypeID(num) == CFBooleanGetTypeID() {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift:41:30: error: cannot find 'CFBooleanGetTypeID' in scope
if CFGetTypeID(num) == CFBooleanGetTypeID() {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift:43:17: error: cannot find 'CFNumberIsFloatType' in scope
} else if CFNumberIsFloatType(num) {
^~~~~~~~~~~~~~~~~~~
[180/205] 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'
try self.init(jsonData, extraOptions: allowJSON5 ? .json5Allowed : [])
~^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift:41:10: error: cannot find 'CFGetTypeID' in scope
if CFGetTypeID(num) == CFBooleanGetTypeID() {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift:41:30: error: cannot find 'CFBooleanGetTypeID' in scope
if CFGetTypeID(num) == CFBooleanGetTypeID() {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift:43:17: error: cannot find 'CFNumberIsFloatType' in scope
} else if CFNumberIsFloatType(num) {
^~~~~~~~~~~~~~~~~~~
[181/205] 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'
try self.init(jsonData, extraOptions: allowJSON5 ? .json5Allowed : [])
~^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift:41:10: error: cannot find 'CFGetTypeID' in scope
if CFGetTypeID(num) == CFBooleanGetTypeID() {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift:41:30: error: cannot find 'CFBooleanGetTypeID' in scope
if CFGetTypeID(num) == CFBooleanGetTypeID() {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift:43:17: error: cannot find 'CFNumberIsFloatType' in scope
} else if CFNumberIsFloatType(num) {
^~~~~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[182/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'
public static func parser(style: Date.ISO8601FormatStyle) -> DateParser {
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
^
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:38:41: error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
public static func parser(style: Date.FormatStyle) -> DateParser {
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
^
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:47:45: error: 'ISO8601FormatStyle' is not a member type of struct 'Foundation.Date'
public static func jsonParser(style: Date.ISO8601FormatStyle) -> JSONString<DateParser> {
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
^
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:56:45: error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
public static func jsonParser(style: Date.FormatStyle) -> JSONString<DateParser> {
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
^
[183/208] Compiling JSONParsing DecodingContainers+JSONParsing.swift
[184/208] Compiling JSONParsing EncodingContainers+JSONParsing.swift
[185/208] Compiling JSONParsing JSONParsingError+Codable.swift
[186/208] Compiling JSONParsing Null.swift
[187/208] Compiling JSONParsing OptionalField.swift
[188/208] Compiling JSONParsing DecodableJSONParser.swift
[189/208] Compiling JSONParsing Field.swift
[190/208] Compiling JSONParsing JSONArray.swift
[191/208] Compiling JSONParsing JSONBoolean.swift
[192/208] Compiling JSONParsing URL+JSONParsing.swift
[193/208] Compiling JSONParsing UUID+JSONParsing.swift
[194/208] Compiling JSONParsing JSONParser+DecodeEncode.swift
[195/208] 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'
public static func parser(style: Date.ISO8601FormatStyle) -> DateParser {
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
^
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:38:41: error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
public static func parser(style: Date.FormatStyle) -> DateParser {
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
^
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:47:45: error: 'ISO8601FormatStyle' is not a member type of struct 'Foundation.Date'
public static func jsonParser(style: Date.ISO8601FormatStyle) -> JSONString<DateParser> {
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
^
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:56:45: error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
public static func jsonParser(style: Date.FormatStyle) -> JSONString<DateParser> {
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
^
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:48:29: error: incorrect argument label in call (have 'style:', expected 'formatter:')
JSONString { self.parser(style: style) }
^~~~~~
formatter
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:57:29: error: incorrect argument label in call (have 'style:', expected 'formatter:')
JSONString { self.parser(style: style) }
^~~~~~
formatter
[196/208] 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'
public static func parser(style: Date.ISO8601FormatStyle) -> DateParser {
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
^
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:38:41: error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
public static func parser(style: Date.FormatStyle) -> DateParser {
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
^
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:47:45: error: 'ISO8601FormatStyle' is not a member type of struct 'Foundation.Date'
public static func jsonParser(style: Date.ISO8601FormatStyle) -> JSONString<DateParser> {
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
^
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:56:45: error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
public static func jsonParser(style: Date.FormatStyle) -> JSONString<DateParser> {
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
^
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:48:29: error: incorrect argument label in call (have 'style:', expected 'formatter:')
JSONString { self.parser(style: style) }
^~~~~~
formatter
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:57:29: error: incorrect argument label in call (have 'style:', expected 'formatter:')
JSONString { self.parser(style: style) }
^~~~~~
formatter
[197/208] 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'
public static func parser(style: Date.ISO8601FormatStyle) -> DateParser {
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
^
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:38:41: error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
public static func parser(style: Date.FormatStyle) -> DateParser {
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
^
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:47:45: error: 'ISO8601FormatStyle' is not a member type of struct 'Foundation.Date'
public static func jsonParser(style: Date.ISO8601FormatStyle) -> JSONString<DateParser> {
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
^
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:56:45: error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
public static func jsonParser(style: Date.FormatStyle) -> JSONString<DateParser> {
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
^
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:48:29: error: incorrect argument label in call (have 'style:', expected 'formatter:')
JSONString { self.parser(style: style) }
^~~~~~
formatter
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:57:29: error: incorrect argument label in call (have 'style:', expected 'formatter:')
JSONString { self.parser(style: style) }
^~~~~~
formatter
[198/208] 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'
public static func parser(style: Date.ISO8601FormatStyle) -> DateParser {
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
^
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:38:41: error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
public static func parser(style: Date.FormatStyle) -> DateParser {
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
^
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:47:45: error: 'ISO8601FormatStyle' is not a member type of struct 'Foundation.Date'
public static func jsonParser(style: Date.ISO8601FormatStyle) -> JSONString<DateParser> {
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
^
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:56:45: error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
public static func jsonParser(style: Date.FormatStyle) -> JSONString<DateParser> {
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
^
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:48:29: error: incorrect argument label in call (have 'style:', expected 'formatter:')
JSONString { self.parser(style: style) }
^~~~~~
formatter
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:57:29: error: incorrect argument label in call (have 'style:', expected 'formatter:')
JSONString { self.parser(style: style) }
^~~~~~
formatter
[199/208] Compiling JSONParsing JSONNumber.swift
[200/208] Compiling JSONParsing JSONObject.swift
[201/208] Compiling JSONParsing JSONString.swift
[202/208] Compiling JSONParsing JSONValue+PrettyPrinting.swift
[203/208] Compiling JSONParsing JSONValue.swift
[204/208] Compiling JSONParsing Typealiases.swift
error: fatalError
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/12] Write swift-version-24593BA9C3E375BF.txt
[3/14] Compiling JSONParsing Exports.swift
[4/14] 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'
public static func parser(style: Date.ISO8601FormatStyle) -> DateParser {
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
^
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:38:41: error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
public static func parser(style: Date.FormatStyle) -> DateParser {
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
^
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:47:45: error: 'ISO8601FormatStyle' is not a member type of struct 'Foundation.Date'
public static func jsonParser(style: Date.ISO8601FormatStyle) -> JSONString<DateParser> {
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
^
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:56:45: error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
public static func jsonParser(style: Date.FormatStyle) -> JSONString<DateParser> {
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
^
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:48:29: error: incorrect argument label in call (have 'style:', expected 'formatter:')
JSONString { self.parser(style: style) }
^~~~~~
formatter
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:57:29: error: incorrect argument label in call (have 'style:', expected 'formatter:')
JSONString { self.parser(style: style) }
^~~~~~
formatter
[5/14] Compiling JSONParsing JSONValue+Codable.swift
[6/14] Compiling JSONParsing JSONPrintingError+Codable.swift
[7/14] 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'
try self.init(jsonData, extraOptions: allowJSON5 ? .json5Allowed : [])
~^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift:41:10: error: cannot find 'CFGetTypeID' in scope
if CFGetTypeID(num) == CFBooleanGetTypeID() {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift:41:30: error: cannot find 'CFBooleanGetTypeID' in scope
if CFGetTypeID(num) == CFBooleanGetTypeID() {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift:43:17: error: cannot find 'CFNumberIsFloatType' in scope
} else if CFNumberIsFloatType(num) {
^~~~~~~~~~~~~~~~~~~
[8/25] Compiling JSONParsing JSONPrintingError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/27] Compiling JSONParsing JSONParsingError.swift
[10/27] 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'
public static func parser(style: Date.ISO8601FormatStyle) -> DateParser {
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
^
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:38:41: error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
public static func parser(style: Date.FormatStyle) -> DateParser {
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
^
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:47:45: error: 'ISO8601FormatStyle' is not a member type of struct 'Foundation.Date'
public static func jsonParser(style: Date.ISO8601FormatStyle) -> JSONString<DateParser> {
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
^
/host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift:56:45: error: 'FormatStyle' is not a member type of struct 'Foundation.Date'
public static func jsonParser(style: Date.FormatStyle) -> JSONString<DateParser> {
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable, Sendable {
^
[11/31] Compiling JSONParsing DecodableJSONParser.swift
[12/31] Compiling JSONParsing DecodingContainers+JSONParsing.swift
[13/31] Compiling JSONParsing URL+JSONParsing.swift
[14/31] Compiling JSONParsing UUID+JSONParsing.swift
[15/31] Compiling JSONParsing JSONParser+DecodeEncode.swift
[16/31] Compiling JSONParsing JSONBoolean.swift
[17/31] Compiling JSONParsing JSONNumber.swift
[18/31] Compiling JSONParsing Field.swift
[19/31] Compiling JSONParsing JSONArray.swift
[20/31] Compiling JSONParsing Null.swift
[21/31] Compiling JSONParsing OptionalField.swift
[22/31] Compiling JSONParsing JSONObject.swift
[23/31] Compiling JSONParsing JSONString.swift
[24/31] Compiling JSONParsing EncodingContainers+JSONParsing.swift
[25/31] Compiling JSONParsing JSONParsingError+Codable.swift
[26/31] Compiling JSONParsing JSONValue+PrettyPrinting.swift
[27/31] Compiling JSONParsing JSONValue.swift
error: fatalError
BUILD FAILURE 5.10 linux