Build Information
Failed to build swift-json-parsing, reference 0.2.0 (ba457b), with Swift 6.4 for Android on 19 Sep 2026 11:15:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 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: android
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-54344847-0":/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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/pointfreeco/swift-parsing
Fetching https://github.com/google/swift-benchmark
[1/1490] Fetching swift-benchmark
Fetched https://github.com/google/swift-benchmark (0.48s)
[1/98270] Fetching swift-parsing
Fetched https://github.com/pointfreeco/swift-parsing (3.64s)
Computing version for https://github.com/google/swift-benchmark
Computed https://github.com/google/swift-benchmark at 0.1.2 (3.83s)
Fetching https://github.com/apple/swift-argument-parser
[1/18918] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.73s)
Computing version for https://github.com/pointfreeco/swift-parsing
Computed https://github.com/pointfreeco/swift-parsing at 0.15.2 (0.95s)
Fetching https://github.com/pointfreeco/swift-case-paths
[1/5332] Fetching swift-case-paths
Fetched https://github.com/pointfreeco/swift-case-paths (0.53s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 1.10.0 (1.62s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
Fetching https://github.com/swiftlang/swift-syntax
[1/6136] Fetching swift-issue-reporting
[6137/86120] Fetching swift-issue-reporting, swift-syntax
Fetched https://github.com/pointfreeco/swift-issue-reporting (2.90s)
Fetched https://github.com/swiftlang/swift-syntax (2.92s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.0 (3.17s)
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/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-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-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/pointfreeco/swift-parsing
Working copy of https://github.com/pointfreeco/swift-parsing resolved at 0.15.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]
[211 / 429] SwiftSyntax600
[231 / 440] SwiftSyntax604
[262 / 440] SwiftSyntax
[263 / 440] SwiftSyntax510
[274 / 443] SwiftSyntax509
[279 / 444] SwiftSyntax600
[284 / 445] IssueReporting
[289 / 447] CasePathsCore
[297 / 447] SwiftSyntax604
[301 / 467] CasePathsCore
[302 / 467] SwiftSyntax
[302 / 467] ArgumentParserToolInfo
[305 / 468] CasePathsCore
[312 / 468] IssueReporting
[314 / 469] SwiftSyntax
[316 / 469] CasePathsCore
[317 / 469] IssueReporting
[319 / 469] IssueReporting
[320 / 469] IssueReporting
[322 / 469] CasePathsCore
[324 / 469] CasePathsCore
[325 / 469] CasePathsCore
[332 / 471] CasePathsCore
[335 / 480] ArgumentParser
[337 / 480] ArgumentParser
[339 / 480] ArgumentParser
[344 / 480] ArgumentParser
[345 / 480] ArgumentParser
[346 / 480] ArgumentParser-product
[349 / 490] Benchmark
[350 / 490] Benchmark
[351 / 491] Benchmark
[358 / 491] Benchmark
[359 / 491] Benchmark
[361 / 491] Benchmark-product
[364 / 491] ArgumentParser
[364 / 491] Benchmark
[379 / 512] SwiftParser
[380 / 520] SwiftParser
[383 / 520] SwiftParser
[384 / 520] SwiftDiagnostics
[389 / 520] SwiftParser
[395 / 520] SwiftParser
[396 / 520] SwiftParser
[397 / 520] SwiftParser
[399 / 520] SwiftParser
[404 / 520] SwiftParser
[405 / 520] SwiftParser
[407 / 520] SwiftOperators
[408 / 520] SwiftOperators
[413 / 521] SwiftParserDiagnostics
[416 / 521] SwiftBasicFormat
[424 / 542] SwiftParserDiagnostics
[425 / 543] SwiftParserDiagnostics
[429 / 543] SwiftParserDiagnostics
[435 / 543] SwiftParserDiagnostics
[440 / 543] SwiftSyntaxBuilder
[441 / 543] SwiftParserDiagnostics
[444 / 543] SwiftOperators
[447 / 543] SwiftOperators
[449 / 543] SwiftDiagnostics
[455 / 553] SwiftSyntaxBuilder
[457 / 554] SwiftSyntaxBuilder
[462 / 554] SwiftSyntaxBuilder
[466 / 555] SwiftSyntaxBuilder
[473 / 565] SwiftIfConfig
[474 / 565] SwiftIfConfig
[475 / 565] SwiftSyntaxBuilder
[477 / 565] SwiftIfConfig
[479 / 566] SwiftIfConfig
[486 / 566] SwiftSyntaxMacros
[493 / 576] SwiftSyntaxMacros
[499 / 576] SwiftSyntaxMacros
[507 / 586] SwiftSyntaxMacroExpansion
[509 / 587] SwiftSyntaxMacros
[511 / 587] SwiftSyntaxMacros
[513 / 588] SwiftSyntaxMacroExpansion
[524 / 598] SwiftIfConfig
[527 / 598] SwiftCompilerPluginMessageHandling
[528 / 598] SwiftCompilerPluginMessageHandling
[531 / 598] SwiftCompilerPluginMessageHandling
[535 / 598] SwiftCompilerPluginMessageHandling
[539 / 601] SwiftCompilerPlugin
[547 / 604]
[550 / 606] SwiftCompilerPlugin
[556 / 606] SwiftCompilerPluginMessageHandling
[556 / 606] CasePathsMacrosSupport
[558 / 607] SwiftCompilerPluginMessageHandling
[560 / 608] SwiftSyntax
[563 / 609] SwiftSyntax
[570 / 609] SwiftIfConfig
[580 / 610] CasePathsMacros
[584 / 613] CasePathsMacros
[588 / 614] CasePathsMacros
[596 / 622] CasePaths
[602 / 623] CasePaths
[610 / 632] Parsing
[612 / 633] CasePaths
[614 / 633] Parsing
[614 / 634] Parsing
[631 / 644] JSONParsing
error: SwiftCompile normal aarch64 /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:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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-android-aarch64/JSONParsing-t.build/Objects-normal/aarch64/supplementaryOutputs-49 -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -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 /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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 -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -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-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-parsing.build/Debug-android-aarch64/JSONParsing-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-parsing.build/Debug-android-aarch64/JSONParsing-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-parsing.build/Debug-android-aarch64/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-android-aarch64/JSONParsing-t.build/Objects-normal/aarch64/JSONParsing_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-parsing.build/Debug-android-aarch64/JSONParsing-t.build/Objects-normal/aarch64/JSONPrintingError+Codable.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-parsing.build/Debug-android-aarch64/JSONParsing-t.build/Objects-normal/aarch64/JSONValue+Codable.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-parsing.build/Debug-android-aarch64/JSONParsing-t.build/Objects-normal/aarch64/JSONValue+JSONSerialization.o -index-unit-output-path /swift-json-parsing.build/Debug-android-aarch64/JSONParsing-t.build/Objects-normal/aarch64/JSONPrintingError+Codable.o -index-unit-output-path /swift-json-parsing.build/Debug-android-aarch64/JSONParsing-t.build/Objects-normal/aarch64/JSONValue+Codable.o -index-unit-output-path /swift-json-parsing.build/Debug-android-aarch64/JSONParsing-t.build/Objects-normal/aarch64/JSONValue+JSONSerialization.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android