Build Information
Failed to build JSONPatch, reference v2.0.0 (7ccc42), with Swift 6.1 for Android on 27 Oct 2026 21:56:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344846-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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.1
Building package at path: $PWD
https://github.com/raymccrae/swift-jsonpatch.git
https://github.com/raymccrae/swift-jsonpatch.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:1af1ef9e2b8f7a959ad4dced2035c22f050ae85f531ed2857472423d8f2ef4d3
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/11] Compiling JSONPatch JSONPointer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[4/12] Compiling JSONPatch JSONPatchGenerator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[5/12] Emitting module JSONPatch
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[6/12] Compiling JSONPatch JSONPatch.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[7/12] Compiling JSONPatch NSArray+DeepCopy.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[8/12] Compiling JSONPatch JSONError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[9/12] Compiling JSONPatch JSONElement.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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)
[10/12] Compiling JSONPatch JSONEquality.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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)
[11/12] Compiling JSONPatch JSONPatchCodable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[12/12] Compiling JSONPatch NSDictionary+DeepCopy.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:1af1ef9e2b8f7a959ad4dced2035c22f050ae85f531ed2857472423d8f2ef4d3
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/10] Compiling JSONPatch NSArray+DeepCopy.swift
[3/11] 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 | }
[4/11] Compiling JSONPatch JSONPatchCodable.swift
[5/11] Compiling JSONPatch JSONPointer.swift
[6/11] Compiling JSONPatch JSONPatchGenerator.swift
[7/11] Compiling JSONPatch JSONError.swift
[8/11] Emitting module JSONPatch
[9/11] Compiling JSONPatch JSONPatch.swift
[10/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)
[11/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)
BUILD FAILURE 6.1 android