The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PatchouliJSON, reference 0.9.5 (89b9b1), with Swift 6.3 for Android on 14 Apr 2026 18:01:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexhunsley/patchouli-jsonpatch.git
Reference: 0.9.5
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/alexhunsley/patchouli-jsonpatch
 * tag               0.9.5      -> FETCH_HEAD
HEAD is now at 89b9b1d Update README.md
Cloned https://github.com/alexhunsley/patchouli-jsonpatch.git
Revision (git rev-parse @):
89b9b1d595780f580c4636db082798cd08cc24d1
SUCCESS checkout https://github.com/alexhunsley/patchouli-jsonpatch.git at 0.9.5
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/alexhunsley/patchouli-jsonpatch.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/alexhunsley/patchouli-core
Fetching https://github.com/raymccrae/swift-jsonpatch.git
[1/457] Fetching patchouli-core
[449/1121] Fetching patchouli-core, swift-jsonpatch
Fetched https://github.com/alexhunsley/patchouli-core from cache (0.29s)
[279/664] Fetching swift-jsonpatch
Fetched https://github.com/raymccrae/swift-jsonpatch.git from cache (0.50s)
Computing version for https://github.com/alexhunsley/patchouli-core
Computed https://github.com/alexhunsley/patchouli-core at 0.9.5 (0.90s)
Computing version for https://github.com/raymccrae/swift-jsonpatch.git
Computed https://github.com/raymccrae/swift-jsonpatch.git at 1.0.6 (3.40s)
Creating working copy for https://github.com/alexhunsley/patchouli-core
Working copy of https://github.com/alexhunsley/patchouli-core resolved at 0.9.5
Creating working copy for https://github.com/raymccrae/swift-jsonpatch.git
Working copy of https://github.com/raymccrae/swift-jsonpatch.git resolved at 1.0.6
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version--4F562202D5529B1.txt
[5/22] Emitting module PatchouliCore
[6/23] Compiling PatchouliCore AddressedPatchItemsBuilder.swift
[7/23] Compiling PatchouliCore DSL.swift
[8/23] Compiling JSONPatch NSArray+DeepCopy.swift
[9/24] Compiling PatchouliCore String+Util.swift
[10/24] Compiling PatchouliCore DSL+StringPatch.swift
[11/24] Compiling PatchouliCore PatchouliError.swift
[12/24] Compiling PatchouliCore StringPatchType.swift
[13/24] Emitting module JSONPatch
/host/spi-builder-workspace/.build/checkouts/swift-jsonpatch/Sources/JSONPatch/JSONElement.swift:164:59: error: 'NSDictionary' is not convertible to '[AnyHashable : Any]'
162 |             let mutable = dictionary.mutableCopy() as! NSMutableDictionary
163 |             #else
164 |             let mutable = NSMutableDictionary(dictionary: dictionary)
    |                                                           |- error: 'NSDictionary' is not convertible to '[AnyHashable : Any]'
    |                                                           `- note: did you mean to use 'as!' to force downcast?
165 |             #endif
166 |             self = .mutableObject(value: mutable)
/host/spi-builder-workspace/.build/checkouts/swift-jsonpatch/Sources/JSONPatch/JSONEquality.swift:32:16: error: cannot find 'CFNumberGetType' in scope
 30 |         return objCType.pointee == 0x63 // character code for 'c'
 31 |         #else
 32 |         return CFNumberGetType(self) == .charType
    |                `- error: cannot find 'CFNumberGetType' in scope
 33 |         #endif
 34 |     }
/host/spi-builder-workspace/.build/checkouts/swift-jsonpatch/Sources/JSONPatch/JSONElement.swift:164:59: error: 'NSDictionary' is not convertible to '[AnyHashable : Any]'
162 |             let mutable = dictionary.mutableCopy() as! NSMutableDictionary
163 |             #else
164 |             let mutable = NSMutableDictionary(dictionary: dictionary)
    |                                                           |- error: 'NSDictionary' is not convertible to '[AnyHashable : Any]'
    |                                                           `- note: did you mean to use 'as!' to force downcast?
165 |             #endif
166 |             self = .mutableObject(value: mutable)
/host/spi-builder-workspace/.build/checkouts/swift-jsonpatch/Sources/JSONPatch/JSONEquality.swift:32:16: error: cannot find 'CFNumberGetType' in scope
 30 |         return objCType.pointee == 0x63 // character code for 'c'
 31 |         #else
 32 |         return CFNumberGetType(self) == .charType
    |                `- error: cannot find 'CFNumberGetType' in scope
 33 |         #endif
 34 |     }
[16/24] Compiling JSONPatch JSONPointer.swift
[17/24] Compiling JSONPatch JSONPatchCodable.swift
/host/spi-builder-workspace/.build/checkouts/swift-jsonpatch/Sources/JSONPatch/JSONPatchCodable.swift:169:16: error: cannot find 'CFNumberGetType' in scope
167 |         }
168 |         #else
169 |         switch CFNumberGetType(value) {
    |                `- error: cannot find 'CFNumberGetType' in scope
170 |         case .charType:
171 |             try encode(value.boolValue)
[18/24] Compiling JSONPatch JSONPatchGenerator.swift
[19/24] Compiling PatchouliCore Patchable.swift
[20/24] Compiling PatchouliCore PatchType.swift
[21/24] Compiling PatchouliCore PatchedContent+Reduce.swift
[22/25] Compiling JSONPatch NSDictionary+DeepCopy.swift
/host/spi-builder-workspace/.build/checkouts/swift-jsonpatch/Sources/JSONPatch/NSDictionary+DeepCopy.swift:45:23: error: cannot assign through subscript: subscript is get-only
43 |             switch value {
44 |             case let array as NSArray:
45 |                 result[key] = array.deepMutableCopy()
   |                       `- error: cannot assign through subscript: subscript is get-only
46 |             case let dict as NSDictionary:
47 |                 result[key] = dict.deepMutableCopy()
[24/25] Compiling JSONPatch JSONError.swift
[25/25] Compiling JSONPatch JSONPatch.swift
BUILD FAILURE 6.3 android