Build Information
Failed to build swift-json-parsing, reference master (a236b9), with Swift 6.4 for Linux on 19 Sep 2026 11:15:45 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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: 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 a236b94 Update project for Swift 6 and bump swift-parsing (#7)
Cloned https://github.com/oskarek/swift-json-parsing.git
Revision (git rev-parse @):
a236b9423863fc7da031992706c7b6a5b9e5b384
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/oskarek/swift-json-parsing.git at master
========================================
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-54344843-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/pointfreeco/swift-parsing
Fetching https://github.com/google/swift-benchmark
[1/1490] Fetching swift-benchmark
[1491/99760] Fetching swift-benchmark, swift-parsing
Fetched https://github.com/google/swift-benchmark (3.77s)
Fetched https://github.com/pointfreeco/swift-parsing (3.82s)
Computing version for https://github.com/google/swift-benchmark
Computed https://github.com/google/swift-benchmark at 0.1.2 (4.93s)
Fetching https://github.com/apple/swift-argument-parser
[1/18918] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.75s)
Computing version for https://github.com/pointfreeco/swift-parsing
Computed https://github.com/pointfreeco/swift-parsing at 0.15.2 (0.96s)
Fetching https://github.com/pointfreeco/swift-case-paths
[1/5332] Fetching swift-case-paths
Fetched https://github.com/pointfreeco/swift-case-paths (0.60s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 1.10.0 (1.70s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
Fetching https://github.com/swiftlang/swift-syntax
[1/6136] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.72s)
[1/79984] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax (3.24s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.0 (3.48s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (0.31s)
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/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/pointfreeco/swift-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 1.10.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.8.2
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 976]
[Planning deferred tasks]
[Starting]
[17 / 403] SwiftSyntaxMacroExpansion
[183 / 403] Benchmark
[208 / 426] SwiftSyntax601
[217 / 437] SwiftSyntax604
[252 / 437] SwiftSyntax509
[253 / 437] IssueReporting
[264 / 437] SwiftSyntax
[270 / 439] SwiftSyntax604
[274 / 440] SwiftSyntax509
[276 / 441] SwiftSyntax600
[282 / 444] SwiftSyntax600
[286 / 444] ArgumentParser
[296 / 446]
[299 / 465] SwiftSyntax
[301 / 474] CasePathsCore
[303 / 475] CasePathsCore
[312 / 475] IssueReporting
[318 / 476] SwiftSyntax
[319 / 476] IssueReporting
[321 / 476] IssueReporting
[323 / 476] IssueReporting
[324 / 476] IssueReporting
[325 / 476] CasePathsCore
[327 / 476] CasePathsCore
[329 / 476] CasePathsCore
[330 / 476] ArgumentParserToolInfo
[333 / 476] ArgumentParserToolInfo
[335 / 477] ArgumentParserToolInfo
[336 / 477] ArgumentParserToolInfo
[338 / 477] Benchmark
[339 / 477] ArgumentParser
[341 / 477] ArgumentParser
[342 / 477] ArgumentParser
[342 / 477]
[344 / 478]
[346 / 487] Benchmark
[347 / 487] Benchmark
[348 / 488] Benchmark
[349 / 488] Benchmark
[355 / 488] Benchmark
[356 / 488] Benchmark-product
[361 / 488] ArgumentParser
[361 / 488] Benchmark
[364 / 489] SwiftSyntax
[376 / 509] SwiftParser
[378 / 517] SwiftParser
[378 / 517] SwiftDiagnostics
[386 / 517] SwiftParser
[392 / 517] SwiftParser
[393 / 517] SwiftParser
[395 / 517] SwiftParser
[400 / 517] SwiftParser
[401 / 517] SwiftDiagnostics
[402 / 517] SwiftOperators
[403 / 517] SwiftOperators
[405 / 517] SwiftDiagnostics
[408 / 517] SwiftBasicFormat
[409 / 517] SwiftParserDiagnostics
[410 / 518] SwiftParserDiagnostics
[414 / 518]
[420 / 538] SwiftOperators
[421 / 539] SwiftParserDiagnostics
[422 / 539] SwiftParserDiagnostics
[424 / 539] SwiftParserDiagnostics
[434 / 539] SwiftSyntaxBuilder
[436 / 539] SwiftParserDiagnostics
[438 / 539] SwiftOperators
[439 / 540] SwiftParser
[441 / 540] SwiftParser
[442 / 540] SwiftOperators
[444 / 540] SwiftOperators
[448 / 540]
[451 / 550] SwiftOperators
[454 / 551] SwiftSyntaxBuilder
[455 / 551] SwiftSyntaxBuilder
[456 / 551] SwiftSyntaxBuilder
[458 / 551] SwiftSyntaxBuilder
[460 / 551] SwiftSyntaxBuilder
[468 / 561] SwiftIfConfig
[470 / 562] SwiftParserDiagnostics
[471 / 562] SwiftSyntax
[474 / 562] SwiftIfConfig
[477 / 562] SwiftIfConfig
[481 / 562] SwiftIfConfig
[483 / 571] SwiftSyntaxMacros
[485 / 572] SwiftSyntaxBuilder
[490 / 573] SwiftSyntaxMacros
[497 / 573] SwiftSyntaxMacros-product
[508 / 585] SwiftSyntaxMacros
[511 / 585] SwiftSyntaxMacros
[512 / 585] SwiftSyntaxMacroExpansion
[519 / 586] SwiftCompilerPluginMessageHandling
[523 / 595] SwiftCompilerPluginMessageHandling
[525 / 595] SwiftSyntaxMacroExpansion
[527 / 595] SwiftCompilerPluginMessageHandling
[529 / 595] SwiftCompilerPluginMessageHandling
[538 / 598] SwiftCompilerPlugin
[541 / 598] SwiftCompilerPluginMessageHandling
[546 / 602] SwiftSyntaxMacroExpansion
[553 / 603] SwiftCompilerPluginMessageHandling
[555 / 605] CasePathsMacrosSupport
[557 / 605] SwiftSyntax
[560 / 606] SwiftSyntax
[567 / 606] SwiftIfConfig
[577 / 607] CasePathsMacros
[581 / 610] CasePathsMacros
[585 / 611] CasePathsMacros
[593 / 619] CasePaths
[599 / 620] Parsing
[606 / 629] Parsing
[607 / 629] Parsing
[609 / 630] CasePaths
[611 / 630] Parsing
[628 / 641] JSONParsing
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 6 -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 -package-name spi_builder_workspace -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