Build Information
Failed to build JSONPatch, reference v2.0.0 (7ccc42), with Swift 6.3 for Android on 27 Oct 2026 21:49:11 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-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.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/raymccrae/swift-jsonpatch.git
Reference: v2.0.0
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 v2.0.0 -> FETCH_HEAD
HEAD is now at 7ccc425 docs: prepare installation guides and changelog for 2.0.0
Cloned https://github.com/raymccrae/swift-jsonpatch.git
Revision (git rev-parse @):
7ccc425d3e58da374c9af600074c6ff223089fe8
SUCCESS checkout https://github.com/raymccrae/swift-jsonpatch.git at v2.0.0
========================================
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-53886769-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.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:1259d966e40d034d138a282ea8b980b108763342a7ff8ac7ef483c73e99068f3
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-272D24FF697CF451.txt
[3/11] Compiling JSONPatch JSONError.swift
[4/11] Emitting module JSONPatch
[5/11] Compiling JSONPatch JSONElement.swift
/host/spi-builder-workspace/Sources/JSONPatch/JSONElement.swift:167:59: error: 'NSDictionary' is not convertible to '[AnyHashable : Any]'
165 | }
166 | #else
167 | let mutable = NSMutableDictionary(dictionary: dictionary)
| |- error: 'NSDictionary' is not convertible to '[AnyHashable : Any]'
| `- note: did you mean to use 'as!' to force downcast?
168 | #endif
169 | self = .mutableObject(value: mutable)
[6/11] Compiling JSONPatch JSONEquality.swift
/host/spi-builder-workspace/Sources/JSONPatch/JSONElement.swift:167:59: error: 'NSDictionary' is not convertible to '[AnyHashable : Any]'
165 | }
166 | #else
167 | let mutable = NSMutableDictionary(dictionary: dictionary)
| |- error: 'NSDictionary' is not convertible to '[AnyHashable : Any]'
| `- note: did you mean to use 'as!' to force downcast?
168 | #endif
169 | self = .mutableObject(value: mutable)
[7/12] Compiling JSONPatch NSArray+DeepCopy.swift
[8/12] Compiling JSONPatch JSONPointer.swift
[9/12] Compiling JSONPatch JSONPatchGenerator.swift
[10/12] Compiling JSONPatch JSONPatchCodable.swift
[11/12] Compiling JSONPatch JSONPatch.swift
[12/12] Compiling JSONPatch NSDictionary+DeepCopy.swift
/host/spi-builder-workspace/Sources/JSONPatch/NSDictionary+DeepCopy.swift:75:19: error: cannot assign through subscript: subscript is get-only
73 | result.setObject(copy, forKey: jsonObjectKey((key as? String) ?? String(describing: key)))
74 | #else
75 | result[key] = copy
| `- error: cannot assign through subscript: subscript is get-only
76 | #endif
77 | }
BUILD FAILURE 6.3 android