Build Information
Failed to build swift-json-parsing, reference 0.2.0 (ba457b), with Swift 6.4 for Linux on 19 Sep 2026 11:15:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/oskarek/swift-json-parsing.git
Reference: 0.2.0
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
* 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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/oskarek/swift-json-parsing.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/google/swift-benchmark
Fetching https://github.com/pointfreeco/swift-parsing
[1/1490] Fetching swift-benchmark
[1491/99760] Fetching swift-benchmark, swift-parsing
Fetched https://github.com/google/swift-benchmark (3.74s)
Fetched https://github.com/pointfreeco/swift-parsing (3.78s)
Computing version for https://github.com/google/swift-benchmark
Computed https://github.com/google/swift-benchmark at 0.1.2 (3.97s)
Fetching https://github.com/apple/swift-argument-parser
[1/18918] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.72s)
Computing version for https://github.com/pointfreeco/swift-parsing
Computed https://github.com/pointfreeco/swift-parsing at 0.15.2 (0.94s)
Fetching https://github.com/pointfreeco/swift-case-paths
[1/5332] Fetching swift-case-paths
Fetched https://github.com/pointfreeco/swift-case-paths (0.51s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 1.10.0 (1.61s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6136] Fetching swift-issue-reporting
[6137/86120] Fetching swift-issue-reporting, swift-syntax
Fetched https://github.com/pointfreeco/swift-issue-reporting (3.48s)
Fetched https://github.com/swiftlang/swift-syntax (3.50s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.0 (3.75s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (0.30s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.17s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.0
Creating working copy for https://github.com/pointfreeco/swift-parsing
Working copy of https://github.com/pointfreeco/swift-parsing resolved at 0.15.2
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 604.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/pointfreeco/swift-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 1.10.0
Building for debugging...
[Computing dependencies]
[Provisioning 43 / 44]
[Pre-planning 1 / 976]
[Planning deferred tasks]
[Starting]
[184 / 403] ArgumentParser
[206 / 416] SwiftSyntax600
[234 / 424] SwiftSyntax510
[251 / 425] SwiftSyntax
[253 / 435] IssueReporting
[262 / 447] SwiftSyntax600
[268 / 449] SwiftSyntax602
[273 / 449] SwiftSyntax510
[276 / 451] SwiftSyntax509
[279 / 451] SwiftSyntax510
[282 / 451] SwiftSyntax509
[289 / 451] IssueReporting
[290 / 451] IssueReporting
[291 / 451] IssueReporting-product
[292 / 451] IssueReporting-product
[293 / 451] IssueReporting-product
[296 / 451] IssueReporting
[296 / 451] CasePathsCore
[298 / 454] SwiftSyntax509
[299 / 454]
[308 / 456]
[310 / 465] IssueReporting
[313 / 465] CasePathsCore
[315 / 465] CasePathsCore
[319 / 465] CasePathsCore
[321 / 465] CasePathsCore
[322 / 465]
[323 / 466]
[326 / 476] ArgumentParserToolInfo
[328 / 477] ArgumentParserToolInfo
[329 / 477] ArgumentParser
[338 / 477] ArgumentParser
[340 / 477] ArgumentParser
[341 / 477] SwiftSyntax
[342 / 477] ArgumentParser
[345 / 477] SwiftSyntax
[351 / 488] SwiftDiagnostics
[353 / 499] SwiftBasicFormat
[354 / 505] SwiftBasicFormat
[354 / 505] SwiftDiagnostics
[356 / 505] SwiftDiagnostics
[358 / 505] SwiftDiagnostics
[364 / 506] SwiftBasicFormat
[374 / 506] SwiftParser
[375 / 506] SwiftParser
[376 / 506] SwiftParser
[377 / 506] SwiftParser
[378 / 506] SwiftDiagnostics
[379 / 506] SwiftOperators
[381 / 506] SwiftOperators
[382 / 506] SwiftDiagnostics-product
[385 / 506] SwiftDiagnostics
[386 / 506] SwiftBasicFormat
[387 / 506] SwiftParserDiagnostics
[388 / 507] SwiftParserDiagnostics
[391 / 507] SwiftDiagnostics
[393 / 507] SwiftBasicFormat
[393 / 507] CasePathsCore
[398 / 518] SwiftParserDiagnostics
[400 / 528] Benchmark
[401 / 528] SwiftParserDiagnostics
[402 / 528] SwiftParserDiagnostics
[403 / 528] SwiftParserDiagnostics
[407 / 529] SwiftParserDiagnostics
[410 / 529] SwiftSyntax
[416 / 529] SwiftParserDiagnostics
[423 / 529] Benchmark
[424 / 529] Benchmark
[426 / 529] Benchmark
[428 / 529] Benchmark-product
[432 / 540] SwiftOperators
[434 / 549] SwiftOperators
[435 / 549] SwiftSyntaxBuilder
[436 / 550] SwiftSyntaxBuilder
[437 / 551] SwiftSyntaxBuilder
[438 / 551] SwiftOperators
[439 / 551] SwiftOperators
[445 / 551] SwiftSyntaxBuilder
[446 / 551] SwiftSyntaxBuilder
[454 / 551] SwiftSyntaxBuilder-product
[455 / 551] SwiftSyntaxBuilder-product
[458 / 551] SwiftOperators
[460 / 551] SwiftOperators
[461 / 551] SwiftOperators
[462 / 551] SwiftIfConfig
[467 / 561] SwiftIfConfig
[468 / 561] SwiftIfConfig
[469 / 561] SwiftIfConfig
[470 / 561] SwiftIfConfig
[473 / 562] SwiftIfConfig
[474 / 562] SwiftOperators
[479 / 563] SwiftIfConfig
[484 / 564] SwiftSyntaxMacros
[487 / 573] SwiftSyntaxMacros
[488 / 573] SwiftSyntaxMacros
[491 / 573] SwiftSyntaxMacros
[496 / 573] SwiftSyntaxMacros
[498 / 573] SwiftSyntaxMacros-product
[502 / 583] SwiftSyntaxMacroExpansion
[504 / 583] SwiftSyntaxMacroExpansion
[504 / 583] SwiftSyntaxMacros
[506 / 584] SwiftSyntaxMacros
[508 / 585] SwiftSyntaxMacroExpansion
[509 / 585] SwiftSyntaxMacros
[511 / 585] SwiftIfConfig
[513 / 585] SwiftSyntaxMacroExpansion
[522 / 595] SwiftCompilerPluginMessageHandling
[523 / 595] SwiftSyntaxMacroExpansion
[525 / 595] SwiftCompilerPluginMessageHandling
[526 / 595] SwiftCompilerPluginMessageHandling
[530 / 595] SwiftCompilerPluginMessageHandling
[536 / 598] SwiftCompilerPlugin
[537 / 598] SwiftCompilerPlugin
[544 / 602] SwiftCompilerPlugin
[545 / 602] SwiftCompilerPlugin
[546 / 602] SwiftSyntaxMacroExpansion
[548 / 603] CasePathsMacrosSupport
[553 / 603] SwiftCompilerPluginMessageHandling
[554 / 604] SwiftCompilerPluginMessageHandling
[555 / 604] CasePathsMacrosSupport
[557 / 605] SwiftSyntax
[560 / 606] SwiftSyntax
[567 / 606] SwiftIfConfig
[577 / 607] CasePathsMacros
[581 / 610] CasePathsMacros
[585 / 611] CasePathsMacros
[593 / 619] CasePaths
[599 / 620]
[606 / 629] Parsing
[607 / 629] Parsing
[608 / 630] Parsing
[609 / 630] CasePaths
[611 / 630] Parsing
[611 / 631] Parsing
[628 / 641] Parsing
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile JSONValue+JSONSerialization.swift
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift:15:57: [1;31merror: [1;39mtype 'JSONSerialization.ReadingOptions' has no member 'json5Allowed'[0;0m
[0;36m13 |[0;0m @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
[0;36m14 |[0;0m public init(_ jsonData: Data, allowJSON5: Bool) throws {
[0;36m15 |[0;0m try self.init(jsonData, extraOptions: allowJSON5 ? [4;39m.json5Allowed[0;0m : [])
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'JSONSerialization.ReadingOptions' has no member 'json5Allowed'[0;0m
[0;36m16 |[0;0m }
[0;36m17 |[0;0m
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift:41:10: [1;31merror: [1;39mcannot find 'CFGetTypeID' in scope[0;0m
[0;36m39 |[0;0m self = .null
[0;36m40 |[0;0m case let num as NSNumber:
[0;36m41 |[0;0m if [4;39mCFGetTypeID[0;0m(num) == CFBooleanGetTypeID() {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'CFGetTypeID' in scope[0;0m
[0;36m42 |[0;0m self = .boolean(num.boolValue)
[0;36m43 |[0;0m } else if CFNumberIsFloatType(num) {
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift:41:30: [1;31merror: [1;39mcannot find 'CFBooleanGetTypeID' in scope[0;0m
[0;36m39 |[0;0m self = .null
[0;36m40 |[0;0m case let num as NSNumber:
[0;36m41 |[0;0m if CFGetTypeID(num) == [4;39mCFBooleanGetTypeID[0;0m() {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'CFBooleanGetTypeID' in scope[0;0m
[0;36m42 |[0;0m self = .boolean(num.boolValue)
[0;36m43 |[0;0m } else if CFNumberIsFloatType(num) {
/host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift:43:17: [1;31merror: [1;39mcannot find 'CFNumberIsFloatType' in scope[0;0m
[0;36m41 |[0;0m if CFGetTypeID(num) == CFBooleanGetTypeID() {
[0;36m42 |[0;0m self = .boolean(num.boolValue)
[0;36m43 |[0;0m } else if [4;39mCFNumberIsFloatType[0;0m(num) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'CFNumberIsFloatType' in scope[0;0m
[0;36m44 |[0;0m self = .float(num.doubleValue)
[0;36m45 |[0;0m } else {
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/JSONParsing/Errors/JSONParsingError.swift /host/spi-builder-workspace/Sources/JSONParsing/Errors/JSONPrintingError.swift /host/spi-builder-workspace/Sources/JSONParsing/Exports.swift /host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/Date+JSONParsing.swift /host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/URL+JSONParsing.swift /host/spi-builder-workspace/Sources/JSONParsing/Foundation+JSONParsing/UUID+JSONParsing.swift /host/spi-builder-workspace/Sources/JSONParsing/JSONParser+DecodeEncode.swift /host/spi-builder-workspace/Sources/JSONParsing/JSONParsers/Field.swift /host/spi-builder-workspace/Sources/JSONParsing/JSONParsers/JSONArray.swift /host/spi-builder-workspace/Sources/JSONParsing/JSONParsers/JSONBoolean.swift /host/spi-builder-workspace/Sources/JSONParsing/JSONParsers/JSONNumber.swift /host/spi-builder-workspace/Sources/JSONParsing/JSONParsers/JSONObject.swift /host/spi-builder-workspace/Sources/JSONParsing/JSONParsers/JSONString.swift /host/spi-builder-workspace/Sources/JSONParsing/JSONParsers/Null.swift /host/spi-builder-workspace/Sources/JSONParsing/JSONParsers/OptionalField.swift /host/spi-builder-workspace/Sources/JSONParsing/JSONParsing+Codable/DecodableJSONParser.swift /host/spi-builder-workspace/Sources/JSONParsing/JSONParsing+Codable/DecodingContainers+JSONParsing.swift /host/spi-builder-workspace/Sources/JSONParsing/JSONParsing+Codable/EncodingContainers+JSONParsing.swift /host/spi-builder-workspace/Sources/JSONParsing/JSONParsing+Codable/JSONParsingError+Codable.swift -primary-file /host/spi-builder-workspace/Sources/JSONParsing/JSONParsing+Codable/JSONPrintingError+Codable.swift -primary-file /host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+Codable.swift -primary-file /host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+JSONSerialization.swift /host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue+PrettyPrinting.swift /host/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue.swift /host/spi-builder-workspace/Sources/JSONParsing/Typealiases.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-parsing.build/Debug-linux-x86_64/JSONParsing-t.build/Objects-normal/x86_64/supplementaryOutputs-49 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/CasePathsMacros\#CasePathsMacros -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-parsing.build/Debug-linux-x86_64/JSONParsing-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-parsing.build/Debug-linux-x86_64/JSONParsing-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-parsing.build/Debug-linux-x86_64/JSONParsing-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name JSONParsing -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-parsing.build/Debug-linux-x86_64/JSONParsing-t.build/Objects-normal/x86_64/JSONParsing_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-parsing.build/Debug-linux-x86_64/JSONParsing-t.build/Objects-normal/x86_64/JSONPrintingError+Codable.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-parsing.build/Debug-linux-x86_64/JSONParsing-t.build/Objects-normal/x86_64/JSONValue+Codable.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-parsing.build/Debug-linux-x86_64/JSONParsing-t.build/Objects-normal/x86_64/JSONValue+JSONSerialization.o -index-unit-output-path /swift-json-parsing.build/Debug-linux-x86_64/JSONParsing-t.build/Objects-normal/x86_64/JSONPrintingError+Codable.o -index-unit-output-path /swift-json-parsing.build/Debug-linux-x86_64/JSONParsing-t.build/Objects-normal/x86_64/JSONValue+Codable.o -index-unit-output-path /swift-json-parsing.build/Debug-linux-x86_64/JSONParsing-t.build/Objects-normal/x86_64/JSONValue+JSONSerialization.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux