The Swift Package Index logo.Swift Package Index

Build Information

Failed to build JSONPatch, reference v1.0.6 (1eb123), with Swift 6.3 for Android on 9 May 2026 02:23:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/raymccrae/swift-jsonpatch.git
Reference: v1.0.6
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/raymccrae/swift-jsonpatch
 * tag               v1.0.6     -> FETCH_HEAD
HEAD is now at 1eb1236 Merge pull request #7 from chrisschlitt/feature/linux-support
Cloned https://github.com/raymccrae/swift-jsonpatch.git
Revision (git rev-parse @):
1eb12363c1ee681712d2a42d2ee6f0322f92cf31
SUCCESS checkout https://github.com/raymccrae/swift-jsonpatch.git at v1.0.6
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/raymccrae/swift-jsonpatch.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--4F562202D5529B1.txt
[3/11] Compiling JSONPatch NSArray+DeepCopy.swift
[4/12] Compiling JSONPatch JSONError.swift
[5/12] Emitting module JSONPatch
/host/spi-builder-workspace/Sources/JSONPatch/JSONPointer.swift:186:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'JSONPointer' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
184 |     }
185 |     #else
186 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'JSONPointer' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
187 |         return components.hashValue
188 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[6/12] Compiling JSONPatch JSONElement.swift
/host/spi-builder-workspace/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/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 |     }
[7/12] Compiling JSONPatch JSONEquality.swift
/host/spi-builder-workspace/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/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 |     }
[8/12] Compiling JSONPatch JSONPatch.swift
[9/12] Compiling JSONPatch JSONPatchCodable.swift
/host/spi-builder-workspace/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)
[10/12] Compiling JSONPatch NSDictionary+DeepCopy.swift
/host/spi-builder-workspace/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()
[11/12] Compiling JSONPatch JSONPatchGenerator.swift
[12/12] Compiling JSONPatch JSONPointer.swift
/host/spi-builder-workspace/Sources/JSONPatch/JSONPointer.swift:186:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'JSONPointer' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
184 |     }
185 |     #else
186 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'JSONPointer' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
187 |         return components.hashValue
188 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
BUILD FAILURE 6.3 android