The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RVS_PersistentPrefs, reference master (3bc008), with Swift 6.2 for Wasm on 16 Sep 2026 07:42:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 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:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/RiftValleySoftware/RVS_PersistentPrefs.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:ff44196b45f83e5a0a99a627b185f548850d9bc1242e3dee2178fb1570812fe8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-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: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: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.2 wasm