The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RVS_PersistentPrefs, reference master (3bc008), with Swift 6.1 for Android on 16 Sep 2026 07:42:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RiftValleySoftware/RVS_PersistentPrefs.git
Reference: master
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/RiftValleySoftware/RVS_PersistentPrefs
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 3bc0085 The LLM found and fixed a few issues. Updated to latest tools. Updated the dependency.
Cloned https://github.com/RiftValleySoftware/RVS_PersistentPrefs.git
Revision (git rev-parse @):
3bc00859a0815a10f1c403d496f8fc332a69f09a
SUCCESS checkout https://github.com/RiftValleySoftware/RVS_PersistentPrefs.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/RiftValleySoftware/RVS_PersistentPrefs.git
https://github.com/RiftValleySoftware/RVS_PersistentPrefs.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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.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:a7f4f752e160f6cbd9e0c26490aa43ccd5312d524c4c6d77f8b144559b526afa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Building for debugging...
[0/3] Write sources
[0/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Compiling RVS_PersistentPrefs resource_bundle_accessor.swift
[5/6] Emitting module RVS_PersistentPrefs
/host/spi-builder-workspace/Sources/RVS_PersistentPrefs/RVS_PersistentPrefs.swift:185:23: warning: static property 'groupID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
183 |     /// and configure the matching entitlement in each target. Creating a suite does
184 |     /// not verify those entitlements. Members of the group can access its preferences.
185 |     public static var groupID: String?
    |                       |- warning: static property 'groupID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'groupID' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'groupID' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 |     /// The `UserDefaults` key containing this instance's entire dictionary.
/host/spi-builder-workspace/Sources/RVS_PersistentPrefs/RVS_PersistentPrefs.swift:252:6: error: Objective-C interoperability is disabled
250 |     /// processes do not generate notifications on this object. Retain the observation
251 |     /// token for as long as observation is required.
252 |     @objc public var values: [String: Any] {
    |      `- error: Objective-C interoperability is disabled
253 |         get {
254 |             _load()
/host/spi-builder-workspace/Sources/RVS_PersistentPrefs/RVS_PersistentPrefs.swift:272:30: error: method does not override any method from its superclass
270 |     /// Other properties retain `NSObject`'s automatic KVO behavior. Subclasses
271 |     /// overriding this method should delegate unhandled keys to `super`.
272 |     open override class func automaticallyNotifiesObservers(forKey key: String) -> Bool {
    |                              `- error: method does not override any method from its superclass
273 |         key == "values" ? false : super.automaticallyNotifiesObservers(forKey: key)
274 |     }
[6/6] Compiling RVS_PersistentPrefs RVS_PersistentPrefs.swift
/host/spi-builder-workspace/Sources/RVS_PersistentPrefs/RVS_PersistentPrefs.swift:185:23: warning: static property 'groupID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
183 |     /// and configure the matching entitlement in each target. Creating a suite does
184 |     /// not verify those entitlements. Members of the group can access its preferences.
185 |     public static var groupID: String?
    |                       |- warning: static property 'groupID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'groupID' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'groupID' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 |     /// The `UserDefaults` key containing this instance's entire dictionary.
/host/spi-builder-workspace/Sources/RVS_PersistentPrefs/RVS_PersistentPrefs.swift:252:6: error: Objective-C interoperability is disabled
250 |     /// processes do not generate notifications on this object. Retain the observation
251 |     /// token for as long as observation is required.
252 |     @objc public var values: [String: Any] {
    |      `- error: Objective-C interoperability is disabled
253 |         get {
254 |             _load()
/host/spi-builder-workspace/Sources/RVS_PersistentPrefs/RVS_PersistentPrefs.swift:272:30: error: method does not override any method from its superclass
270 |     /// Other properties retain `NSObject`'s automatic KVO behavior. Subclasses
271 |     /// overriding this method should delegate unhandled keys to `super`.
272 |     open override class func automaticallyNotifiesObservers(forKey key: String) -> Bool {
    |                              `- error: method does not override any method from its superclass
273 |         key == "values" ? false : super.automaticallyNotifiesObservers(forKey: key)
274 |     }
/host/spi-builder-workspace/Sources/RVS_PersistentPrefs/RVS_PersistentPrefs.swift:118:9: error: cannot find 'willChangeValue' in scope
116 |         // Notify only after validation. Automatic KVO would also notify for failed
117 |         // writes, and its getter calls could clear lastError during notification.
118 |         willChangeValue(forKey: "values")
    |         `- error: cannot find 'willChangeValue' in scope
119 |         if newValues.isEmpty {
120 |             defaults.removeObject(forKey: storageKey)
/host/spi-builder-workspace/Sources/RVS_PersistentPrefs/RVS_PersistentPrefs.swift:126:9: error: cannot find 'didChangeValue' in scope
124 |         _values = newValues
125 |         lastError = nil
126 |         didChangeValue(forKey: "values")
    |         `- error: cannot find 'didChangeValue' in scope
127 |     }
128 |
/host/spi-builder-workspace/Sources/RVS_PersistentPrefs/RVS_PersistentPrefs.swift:273:41: error: type 'NSObject' has no member 'automaticallyNotifiesObservers'
271 |     /// overriding this method should delegate unhandled keys to `super`.
272 |     open override class func automaticallyNotifiesObservers(forKey key: String) -> Bool {
273 |         key == "values" ? false : super.automaticallyNotifiesObservers(forKey: key)
    |                                         `- error: type 'NSObject' has no member 'automaticallyNotifiesObservers'
274 |     }
275 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:a7f4f752e160f6cbd9e0c26490aa43ccd5312d524c4c6d77f8b144559b526afa
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Compiling RVS_PersistentPrefs resource_bundle_accessor.swift
[3/4] Emitting module RVS_PersistentPrefs
/host/spi-builder-workspace/Sources/RVS_PersistentPrefs/RVS_PersistentPrefs.swift:252:6: error: Objective-C interoperability is disabled
250 |     /// processes do not generate notifications on this object. Retain the observation
251 |     /// token for as long as observation is required.
252 |     @objc public var values: [String: Any] {
    |      `- error: Objective-C interoperability is disabled
253 |         get {
254 |             _load()
/host/spi-builder-workspace/Sources/RVS_PersistentPrefs/RVS_PersistentPrefs.swift:272:30: error: method does not override any method from its superclass
270 |     /// Other properties retain `NSObject`'s automatic KVO behavior. Subclasses
271 |     /// overriding this method should delegate unhandled keys to `super`.
272 |     open override class func automaticallyNotifiesObservers(forKey key: String) -> Bool {
    |                              `- error: method does not override any method from its superclass
273 |         key == "values" ? false : super.automaticallyNotifiesObservers(forKey: key)
274 |     }
[4/4] Compiling RVS_PersistentPrefs RVS_PersistentPrefs.swift
/host/spi-builder-workspace/Sources/RVS_PersistentPrefs/RVS_PersistentPrefs.swift:252:6: error: Objective-C interoperability is disabled
250 |     /// processes do not generate notifications on this object. Retain the observation
251 |     /// token for as long as observation is required.
252 |     @objc public var values: [String: Any] {
    |      `- error: Objective-C interoperability is disabled
253 |         get {
254 |             _load()
/host/spi-builder-workspace/Sources/RVS_PersistentPrefs/RVS_PersistentPrefs.swift:272:30: error: method does not override any method from its superclass
270 |     /// Other properties retain `NSObject`'s automatic KVO behavior. Subclasses
271 |     /// overriding this method should delegate unhandled keys to `super`.
272 |     open override class func automaticallyNotifiesObservers(forKey key: String) -> Bool {
    |                              `- error: method does not override any method from its superclass
273 |         key == "values" ? false : super.automaticallyNotifiesObservers(forKey: key)
274 |     }
/host/spi-builder-workspace/Sources/RVS_PersistentPrefs/RVS_PersistentPrefs.swift:118:9: error: cannot find 'willChangeValue' in scope
116 |         // Notify only after validation. Automatic KVO would also notify for failed
117 |         // writes, and its getter calls could clear lastError during notification.
118 |         willChangeValue(forKey: "values")
    |         `- error: cannot find 'willChangeValue' in scope
119 |         if newValues.isEmpty {
120 |             defaults.removeObject(forKey: storageKey)
/host/spi-builder-workspace/Sources/RVS_PersistentPrefs/RVS_PersistentPrefs.swift:126:9: error: cannot find 'didChangeValue' in scope
124 |         _values = newValues
125 |         lastError = nil
126 |         didChangeValue(forKey: "values")
    |         `- error: cannot find 'didChangeValue' in scope
127 |     }
128 |
/host/spi-builder-workspace/Sources/RVS_PersistentPrefs/RVS_PersistentPrefs.swift:273:41: error: type 'NSObject' has no member 'automaticallyNotifiesObservers'
271 |     /// overriding this method should delegate unhandled keys to `super`.
272 |     open override class func automaticallyNotifiesObservers(forKey key: String) -> Bool {
273 |         key == "values" ? false : super.automaticallyNotifiesObservers(forKey: key)
    |                                         `- error: type 'NSObject' has no member 'automaticallyNotifiesObservers'
274 |     }
275 |
BUILD FAILURE 6.1 android