The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SmartAPI, reference 0.1.1 (c640bc), with Swift 6.4 for Linux on 26 Sep 2026 00:42:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AbhishekSuryawanshi/SmartAPI.git
Reference: 0.1.1
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
 * tag               0.1.1      -> FETCH_HEAD
HEAD is now at c640bce Docs: requirements (Xcode 16+, main-actor mode), macro-trust note, hide GIF placeholder until recorded
Cloned https://github.com/AbhishekSuryawanshi/SmartAPI.git
Revision (git rev-parse @):
c640bce28760e232f50fb7d07757aa1b7f955bdd
SUCCESS checkout https://github.com/AbhishekSuryawanshi/SmartAPI.git at 0.1.1
========================================
Build
========================================
Selected platform:         linux
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-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/swiftlang/swift-syntax.git
[1/80068] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (4.19s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (5.49s)
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]
[10 / 241] SwiftSyntaxBuilder
[127 / 254] _SwiftSyntaxCShims
[145 / 255] SwiftSyntax
[148 / 264] SwiftSyntax
[149 / 264] SmartAPIImporter
[151 / 265] SmartAPIImporter
[156 / 266] SwiftSyntax509
[161 / 267] SwiftSyntax509
[166 / 267] SwiftSyntax
[166 / 267] SwiftSyntax510
[168 / 267] SwiftSyntax
[169 / 268] SmartAPIImporter
[170 / 269] smartapi-bundle-product
[174 / 272] smartapi-bundle-product
[175 / 272] smartapi-bundle-product
[176 / 272] smartapi-bundle-product
[177 / 273]
[179 / 273] smartapi-bundle-product
[180 / 273] smartapi-bundle-product
[180 / 273] SwiftSyntax
[188 / 276] SwiftBasicFormat
[192 / 292] SwiftParser
[193 / 300] SwiftParser
[194 / 300] SwiftDiagnostics
[196 / 300] SwiftDiagnostics
[201 / 300] SwiftBasicFormat
[202 / 300] SwiftBasicFormat
[207 / 300] SwiftParser
[208 / 300] SwiftParser
[209 / 300] SwiftParser
[210 / 300] SwiftParser
[215 / 300] SwiftParser
[216 / 300] SwiftDiagnostics
[217 / 300] SwiftOperators
[218 / 300] SwiftOperators
[220 / 300] SwiftDiagnostics
[221 / 300] SwiftDiagnostics
[222 / 300] SwiftDiagnostics
[224 / 300] SwiftBasicFormat
[226 / 301] SwiftDiagnostics
[227 / 301] SwiftParserDiagnostics
[229 / 301]
[231 / 311] SwiftParserDiagnostics
[233 / 312] SwiftOperators
[235 / 322] SwiftOperators
[237 / 323] SwiftParserDiagnostics
[238 / 323] SwiftParserDiagnostics
[239 / 323] SwiftParserDiagnostics
[244 / 323] SwiftParserDiagnostics
[245 / 323] SwiftOperators
[251 / 323] SwiftSyntaxBuilder
[252 / 323] SwiftSyntaxBuilder
[254 / 323] SwiftParser
[255 / 323] SwiftParser
[255 / 323] SwiftOperators
[257 / 323] SwiftOperators
[258 / 323] SwiftOperators
[259 / 323] SwiftOperators
[262 / 323] SwiftBasicFormat
[263 / 323] SwiftBasicFormat
[266 / 333] SwiftSyntaxBuilder
[267 / 333] SwiftSyntaxBuilder
[268 / 334] SwiftSyntaxBuilder
[269 / 335] SwiftSyntaxBuilder
[270 / 335] SwiftSyntaxBuilder
[271 / 335] SwiftSyntaxBuilder
[277 / 335] SwiftSyntaxBuilder
[278 / 335] SwiftSyntaxMacros
[279 / 335] SwiftSyntaxMacros
[281 / 335]
[286 / 345] SwiftSyntaxMacros
[287 / 345] SwiftSyntaxMacros
[290 / 345] SwiftSyntaxMacros
[292 / 345] SwiftSyntaxMacros
[297 / 345] SwiftSyntaxMacros
[300 / 355] SwiftSyntaxMacroExpansion
[301 / 355] SwiftSyntaxMacroExpansion
[302 / 356] SwiftSyntaxMacros
[304 / 356] SwiftSyntaxMacroExpansion
[305 / 356] SwiftSyntaxMacroExpansion
[310 / 356] SwiftSyntaxMacroExpansion
[312 / 356] SwiftSyntaxMacroExpansion
[313 / 356] SwiftSyntaxMacroExpansion
[314 / 356] SwiftSyntaxMacroExpansion
[314 / 356] SwiftCompilerPluginMessageHandling
[315 / 357] SwiftCompilerPluginMessageHandling
[320 / 367] SwiftCompilerPluginMessageHandling
[321 / 367] SwiftCompilerPluginMessageHandling
[322 / 367] SwiftCompilerPluginMessageHandling
[323 / 367] SwiftCompilerPluginMessageHandling
[325 / 367] SwiftCompilerPluginMessageHandling
[326 / 367] SwiftCompilerPluginMessageHandling
[328 / 367] SwiftCompilerPluginMessageHandling
[334 / 370] SwiftCompilerPlugin
[339 / 371] SwiftSyntaxMacroExpansion
[341 / 371] SwiftCompilerPlugin
[341 / 372] SwiftCompilerPlugin
[343 / 372] SwiftSyntax
[343 / 372] SwiftCompilerPluginMessageHandling
[345 / 373] SwiftSyntax
[346 / 374] SwiftSyntax
[348 / 374] SwiftSyntax
[355 / 374] SwiftSyntaxMacros
[363 / 375] SmartAPIMacros
[372 / 384] 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: error: cannot find 'CFGetTypeID' in scope
24 |         case let text as String:
25 |             self = .string(text)
26 |         case let number as NSNumber where CFGetTypeID(number) == CFBooleanGetTypeID():
   |                                           `- error: cannot find 'CFGetTypeID' in scope
27 |             self = .bool(number.boolValue)
28 |         case let number as NSNumber:
/host/spi-builder-workspace/Sources/SmartAPIMacros/JSONValueKind.swift:26:66: error: cannot find 'CFBooleanGetTypeID' in scope
24 |         case let text as String:
25 |             self = .string(text)
26 |         case let number as NSNumber where CFGetTypeID(number) == CFBooleanGetTypeID():
   |                                                                  `- error: cannot find 'CFBooleanGetTypeID' in scope
27 |             self = .bool(number.boolValue)
28 |         case let number as NSNumber:
Failed frontend command:
/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 /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 -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 /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/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 linux