The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SmartAPI, reference main (15d6ea), with Swift 6.2 for Linux on 15 Jul 2026 00:53:38 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-3":/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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: e8bafa5c5d5b3cc8a20258ddf060ad6c89f46bf9
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:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/AbhishekSuryawanshi/SmartAPI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-3":/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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:146297aca0eb7f3e338453cbf4c0aa72424647d7d0d3f35fda2f7ef7698dd3aa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest
Fetching https://github.com/swiftlang/swift-syntax.git
[1/76051] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.66s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (6.27s)
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
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2.4-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2.4-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.35s)
Building for debugging...
[0/14] Write sources
[6/14] Write swift-version-24593BA9C3E375BF.txt
[8/31] Emitting module SmartAPIImporter
[9/31] Compiling SmartAPIMacros Plugin.swift
[10/31] Compiling SmartAPIMacros RuntimeSymbols.swift
[11/31] Compiling SmartAPIMacros MacroError.swift
[12/32] Compiling SmartAPIMacros SmartAPIMacro.swift
[13/32] Compiling SmartAPIImporter WrapperRenderer.swift
[14/32] Compiling SmartAPIMacros CodeGenerator.swift
[15/32] Compiling SmartAPIMacros FieldNaming.swift
[16/32] Compiling SmartAPIMacros MacroArguments.swift
[17/32] Compiling SmartAPIMacros Heuristics.swift
[18/32] Compiling SmartAPIMacros InferredType.swift
[19/32] Compiling SmartAPIMacros JSONInference.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:
[20/32] Compiling SmartAPIMacros 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:
[21/32] Emitting module SmartAPIMacros
[22/32] Compiling SmartAPIImporter OpenAPIImporter.swift
[23/32] Emitting module SmartAPIImporter
BUILD FAILURE 6.2 linux