Build Information
Failed to build SmartAPI, reference main (15d6ea), with Swift 6.4 for Android on 26 Sep 2026 00:42:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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/AbhishekSuryawanshi/SmartAPI.git
Reference: main
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/AbhishekSuryawanshi/SmartAPI
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 15d6ea8 Add FAQ section pre-empting the common objections
Cloned https://github.com/AbhishekSuryawanshi/SmartAPI.git
Revision (git rev-parse @):
15d6ea8386ee9f8edce5ee2a750dfe9c40d25a6e
SUCCESS checkout https://github.com/AbhishekSuryawanshi/SmartAPI.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/AbhishekSuryawanshi/SmartAPI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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/swiftlang/swift-syntax.git
[1/80068] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (4.42s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (5.71s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Building for debugging...
[Computing dependencies]
[Provisioning 24 / 25]
[Pre-planning 1 / 593]
[Planning deferred tasks]
[131 / 257] _SwiftSyntaxCShims
[148 / 258] SwiftSyntax
[151 / 267] SwiftSyntax
[152 / 267] SmartAPIImporter
[154 / 268] SmartAPIImporter
[159 / 269] SwiftSyntax510
[163 / 270] SwiftSyntax510
[167 / 270] SwiftSyntax
[170 / 270] SwiftSyntax509
[171 / 270] SwiftSyntax509
[174 / 274] smartapi-bundle-product
[175 / 274] smartapi-bundle-product
[176 / 274] smartapi-bundle-product
[177 / 275] SmartAPIImporter
[179 / 275] smartapi-bundle-product
[183 / 276] smartapi-bundle-product
[183 / 276] SwiftSyntax
[191 / 279] SwiftBasicFormat
[195 / 295] SwiftParser
[195 / 303] SwiftBasicFormat
[200 / 303] SwiftDiagnostics
[210 / 303] SwiftParser
[211 / 303] SwiftParser
[212 / 303] SwiftParser
[213 / 303] SwiftParser
[217 / 303] SwiftParser
[219 / 303] SwiftParser
[220 / 303] SwiftDiagnostics
[221 / 303] SwiftDiagnostics
[222 / 303] SwiftOperators
[223 / 303] SwiftOperators
[225 / 303] SwiftDiagnostics
[227 / 303] SwiftDiagnostics
[227 / 303] SwiftBasicFormat
[228 / 303] SwiftParserDiagnostics
[229 / 304] SwiftParserDiagnostics
[231 / 304] SwiftBasicFormat
[231 / 304] SwiftParser
[234 / 306]
[237 / 324] SwiftOperators
[238 / 325] SwiftParserDiagnostics
[242 / 325] SwiftParserDiagnostics
[250 / 325] SwiftParserDiagnostics
[251 / 326] SwiftSyntaxBuilder
[252 / 326] SwiftSyntaxBuilder
[254 / 326] SwiftParserDiagnostics
[255 / 326] SwiftParser
[256 / 326] SwiftOperators
[258 / 326] SwiftParser
[259 / 326] SwiftParser
[261 / 326] SwiftOperators
[262 / 326] SwiftOperators
[263 / 326] SwiftOperators
[264 / 327] SwiftParserDiagnostics
[265 / 327] SwiftOperators
[267 / 327]
[271 / 337] SwiftOperators
[273 / 337] SwiftSyntaxBuilder
[274 / 337] SwiftSyntaxBuilder
[275 / 338] SwiftSyntaxBuilder
[276 / 338] SwiftSyntaxBuilder
[277 / 338] SwiftSyntaxBuilder
[278 / 338] SwiftSyntaxBuilder
[280 / 338] SwiftSyntaxBuilder
[284 / 338] SwiftSyntaxBuilder
[288 / 348] SwiftSyntaxMacros
[289 / 348] SwiftSyntaxMacros
[291 / 348] SwiftSyntaxMacros
[292 / 348] SwiftSyntaxMacros
[296 / 348] SwiftSyntaxMacros
[297 / 348] SwiftSyntaxMacros
[299 / 348] SwiftSyntaxMacros-product
[300 / 348] SwiftSyntaxMacros-product
[304 / 358] SwiftSyntaxMacroExpansion
[305 / 358] SwiftSyntaxMacroExpansion
[306 / 359] SwiftSyntaxMacros
[307 / 359] SwiftSyntaxMacroExpansion
[308 / 359] SwiftSyntaxMacros
[310 / 360] SwiftSyntaxBuilder
[312 / 360] SwiftSyntaxMacroExpansion
[315 / 360] SwiftSyntaxMacroExpansion
[320 / 362] SwiftCompilerPluginMessageHandling
[322 / 370] SwiftCompilerPluginMessageHandling
[324 / 370] SwiftCompilerPluginMessageHandling
[325 / 370] SwiftCompilerPluginMessageHandling
[326 / 370] SwiftCompilerPluginMessageHandling
[328 / 370] SwiftCompilerPluginMessageHandling
[330 / 370] SwiftCompilerPluginMessageHandling
[334 / 370] SwiftCompilerPluginMessageHandling
[335 / 371] SwiftCompilerPlugin
[339 / 374] SwiftCompilerPlugin
[339 / 374] SwiftCompilerPluginMessageHandling
[344 / 374] SwiftCompilerPlugin
[344 / 375] SwiftCompilerPlugin
[345 / 375] SwiftCompilerPlugin
[346 / 375] SwiftCompilerPluginMessageHandling
[348 / 376] SwiftSyntax
[349 / 377] SwiftSyntax
[351 / 377] SwiftSyntax
[358 / 377] SwiftSyntaxMacros
[366 / 378] SmartAPIMacros
[375 / 387] SmartAPIMacros
[376 / 387] SmartAPIMacros
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/SmartAPIMacros/JSONValueKind.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile JSONValueKind.swift
/host/spi-builder-workspace/Sources/SmartAPIMacros/JSONValueKind.swift:26:43: [1;31merror: [1;39mcannot find 'CFGetTypeID' in scope[0;0m
[0;36m24 |[0;0m case let text as String:
[0;36m25 |[0;0m self = .string(text)
[0;36m26 |[0;0m case let number as NSNumber where [4;39mCFGetTypeID[0;0m(number) == CFBooleanGetTypeID():
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'CFGetTypeID' in scope[0;0m
[0;36m27 |[0;0m self = .bool(number.boolValue)
[0;36m28 |[0;0m case let number as NSNumber:
/host/spi-builder-workspace/Sources/SmartAPIMacros/JSONValueKind.swift:26:66: [1;31merror: [1;39mcannot find 'CFBooleanGetTypeID' in scope[0;0m
[0;36m24 |[0;0m case let text as String:
[0;36m25 |[0;0m self = .string(text)
[0;36m26 |[0;0m case let number as NSNumber where CFGetTypeID(number) == [4;39mCFBooleanGetTypeID[0;0m():
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'CFBooleanGetTypeID' in scope[0;0m
[0;36m27 |[0;0m self = .bool(number.boolValue)
[0;36m28 |[0;0m case let number as NSNumber:
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/SmartAPIMacros/CodeGenerator.swift /host/spi-builder-workspace/Sources/SmartAPIMacros/FieldNaming.swift /host/spi-builder-workspace/Sources/SmartAPIMacros/Heuristics.swift /host/spi-builder-workspace/Sources/SmartAPIMacros/InferredType.swift -primary-file /host/spi-builder-workspace/Sources/SmartAPIMacros/JSONInference.swift -primary-file /host/spi-builder-workspace/Sources/SmartAPIMacros/JSONValueKind.swift /host/spi-builder-workspace/Sources/SmartAPIMacros/MacroArguments.swift /host/spi-builder-workspace/Sources/SmartAPIMacros/MacroError.swift /host/spi-builder-workspace/Sources/SmartAPIMacros/Plugin.swift /host/spi-builder-workspace/Sources/SmartAPIMacros/RuntimeSymbols.swift /host/spi-builder-workspace/Sources/SmartAPIMacros/SmartAPIMacro.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SmartAPI.build/Debug-linux-x86_64/SmartAPIMacros-t.build/Objects-normal/x86_64/JSONInference.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SmartAPI.build/Debug-linux-x86_64/SmartAPIMacros-t.build/Objects-normal/x86_64/JSONInference.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SmartAPI.build/Debug-linux-x86_64/SmartAPIMacros-t.build/Objects-normal/x86_64/JSONInference.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SmartAPI.build/Debug-linux-x86_64/SmartAPIMacros-t.build/Objects-normal/x86_64/JSONInference.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SmartAPI.build/Debug-linux-x86_64/SmartAPIMacros-t.build/Objects-normal/x86_64/JSONValueKind.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SmartAPI.build/Debug-linux-x86_64/SmartAPIMacros-t.build/Objects-normal/x86_64/JSONValueKind.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SmartAPI.build/Debug-linux-x86_64/SmartAPIMacros-t.build/Objects-normal/x86_64/JSONValueKind.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SmartAPI.build/Debug-linux-x86_64/SmartAPIMacros-t.build/Objects-normal/x86_64/JSONValueKind.dia -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 Xcode -serialize-debugging-options -enable-upcoming-feature ExistentialAny -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 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/_SwiftSyntaxCShims/include/module.modulemap -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/checkouts/swift-syntax/Sources/_SwiftSyntaxCShims/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SmartAPI.build/Debug-linux-x86_64/SmartAPIMacros-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SmartAPI.build/Debug-linux-x86_64/SmartAPIMacros-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SmartAPI.build/Debug-linux-x86_64/SmartAPIMacros-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SmartAPIMacros -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SmartAPI.build/Debug-linux-x86_64/SmartAPIMacros-t.build/Objects-normal/x86_64/SmartAPIMacros_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/SmartAPI.build/Debug-linux-x86_64/SmartAPIMacros-t.build/Objects-normal/x86_64/JSONInference.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SmartAPI.build/Debug-linux-x86_64/SmartAPIMacros-t.build/Objects-normal/x86_64/JSONValueKind.o -index-unit-output-path /SmartAPI.build/Debug-linux-x86_64/SmartAPIMacros-t.build/Objects-normal/x86_64/JSONInference.o -index-unit-output-path /SmartAPI.build/Debug-linux-x86_64/SmartAPIMacros-t.build/Objects-normal/x86_64/JSONValueKind.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android