Build Information
Failed to build Zephyr, reference 5.0.1 (6acddc), with Swift 6.1 for Linux on 16 Aug 2026 09:00:29 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.0.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ArtSabintsev/Zephyr.git
Reference: 5.0.1
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/ArtSabintsev/Zephyr
* tag 5.0.1 -> FETCH_HEAD
HEAD is now at 6acddc8 Release 5.0.1: inbound iCloud events stay inside monitored keys
Cloned https://github.com/ArtSabintsev/Zephyr.git
Revision (git rev-parse @):
6acddc82e7dded8725d2b752caeae3735e72715d
SUCCESS checkout https://github.com/ArtSabintsev/Zephyr.git at 5.0.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/ArtSabintsev/Zephyr.git
https://github.com/ArtSabintsev/Zephyr.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:dff62030f4387a2d827d2b365d39a91716bd1d13650763ccbcbfe23419000563
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Compiling Zephyr ZephyrReconciler.swift
[4/5] Emitting module Zephyr
/host/spi-builder-workspace/Sources/Zephyr.swift:16:1: error: Objective-C interoperability is disabled
14 | #endif
15 |
16 | @objcMembers
| `- error: Objective-C interoperability is disabled
17 | public final class Zephyr: NSObject, @unchecked Sendable {
18 | /// If **true**, console log statements are printed. Default **false**.
/host/spi-builder-workspace/Sources/Zephyr.swift:39:24: warning: static property '_debugEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | private static let flagLock = NSLock()
39 | private static var _debugEnabled = false
| |- warning: static property '_debugEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_debugEnabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_debugEnabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | private static var _syncOnChange = true
41 |
/host/spi-builder-workspace/Sources/Zephyr.swift:40:24: warning: static property '_syncOnChange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | private static let flagLock = NSLock()
39 | private static var _debugEnabled = false
40 | private static var _syncOnChange = true
| |- warning: static property '_syncOnChange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_syncOnChange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_syncOnChange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | private static let shared = Zephyr()
/host/spi-builder-workspace/Sources/Zephyr.swift:44:24: warning: static property 'queueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<UInt8>' may have shared mutable state; this is an error in the Swift 6 language mode
42 | private static let shared = Zephyr()
43 |
44 | private static let queueKey = DispatchSpecificKey<UInt8>()
| `- warning: static property 'queueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<UInt8>' may have shared mutable state; this is an error in the Swift 6 language mode
45 | private let zephyrQueue: DispatchQueue = {
46 | let queue = DispatchQueue(label: "com.zephyr.queue")
Dispatch.DispatchSpecificKey:1:20: note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
1 | final public class DispatchSpecificKey<T> {
| `- note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
2 | public init()
3 | deinit
/host/spi-builder-workspace/Sources/Zephyr.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
7 | //
8 |
9 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
10 | #if os(iOS) || os(tvOS)
11 | import UIKit
:
42 | private static let shared = Zephyr()
43 |
44 | private static let queueKey = DispatchSpecificKey<UInt8>()
| |- note: add '@MainActor' to make static property 'queueKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | private let zephyrQueue: DispatchQueue = {
46 | let queue = DispatchQueue(label: "com.zephyr.queue")
/host/spi-builder-workspace/Sources/Zephyr.swift:536:2: error: Objective-C interoperability is disabled
534 | // MARK: - Notifications
535 |
536 | @objc
| `- error: Objective-C interoperability is disabled
537 | extension Zephyr {
538 | func willEnterForeground(notification: Notification) {
[5/5] Compiling Zephyr Zephyr.swift
/host/spi-builder-workspace/Sources/Zephyr.swift:16:1: error: Objective-C interoperability is disabled
14 | #endif
15 |
16 | @objcMembers
| `- error: Objective-C interoperability is disabled
17 | public final class Zephyr: NSObject, @unchecked Sendable {
18 | /// If **true**, console log statements are printed. Default **false**.
/host/spi-builder-workspace/Sources/Zephyr.swift:39:24: warning: static property '_debugEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | private static let flagLock = NSLock()
39 | private static var _debugEnabled = false
| |- warning: static property '_debugEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_debugEnabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_debugEnabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | private static var _syncOnChange = true
41 |
/host/spi-builder-workspace/Sources/Zephyr.swift:40:24: warning: static property '_syncOnChange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | private static let flagLock = NSLock()
39 | private static var _debugEnabled = false
40 | private static var _syncOnChange = true
| |- warning: static property '_syncOnChange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_syncOnChange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_syncOnChange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | private static let shared = Zephyr()
/host/spi-builder-workspace/Sources/Zephyr.swift:44:24: warning: static property 'queueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<UInt8>' may have shared mutable state; this is an error in the Swift 6 language mode
42 | private static let shared = Zephyr()
43 |
44 | private static let queueKey = DispatchSpecificKey<UInt8>()
| `- warning: static property 'queueKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<UInt8>' may have shared mutable state; this is an error in the Swift 6 language mode
45 | private let zephyrQueue: DispatchQueue = {
46 | let queue = DispatchQueue(label: "com.zephyr.queue")
Dispatch.DispatchSpecificKey:1:20: note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
1 | final public class DispatchSpecificKey<T> {
| `- note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
2 | public init()
3 | deinit
/host/spi-builder-workspace/Sources/Zephyr.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
7 | //
8 |
9 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
10 | #if os(iOS) || os(tvOS)
11 | import UIKit
:
42 | private static let shared = Zephyr()
43 |
44 | private static let queueKey = DispatchSpecificKey<UInt8>()
| |- note: add '@MainActor' to make static property 'queueKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | private let zephyrQueue: DispatchQueue = {
46 | let queue = DispatchQueue(label: "com.zephyr.queue")
/host/spi-builder-workspace/Sources/Zephyr.swift:536:2: error: Objective-C interoperability is disabled
534 | // MARK: - Notifications
535 |
536 | @objc
| `- error: Objective-C interoperability is disabled
537 | extension Zephyr {
538 | func willEnterForeground(notification: Notification) {
/host/spi-builder-workspace/Sources/Zephyr.swift:63:9: error: cannot find 'NSUbiquitousKeyValueStore' in scope
61 | super.init()
62 | setupNotifications()
63 | NSUbiquitousKeyValueStore.default.synchronize()
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
64 | }
65 |
/host/spi-builder-workspace/Sources/Zephyr.swift:176:19: error: cannot find 'NSUbiquitousKeyValueStore' in scope
174 | self,
175 | selector: #selector(keysDidChangeOnCloud(notification:)),
176 | name: NSUbiquitousKeyValueStore.didChangeExternallyNotification,
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
177 | object: NSUbiquitousKeyValueStore.default
178 | )
/host/spi-builder-workspace/Sources/Zephyr.swift:177:21: error: cannot find 'NSUbiquitousKeyValueStore' in scope
175 | selector: #selector(keysDidChangeOnCloud(notification:)),
176 | name: NSUbiquitousKeyValueStore.didChangeExternallyNotification,
177 | object: NSUbiquitousKeyValueStore.default
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
178 | )
179 |
/host/spi-builder-workspace/Sources/Zephyr.swift:175:23: error: '#selector' can only be used with the Objective-C runtime
173 | NotificationCenter.default.addObserver(
174 | self,
175 | selector: #selector(keysDidChangeOnCloud(notification:)),
| `- error: '#selector' can only be used with the Objective-C runtime
176 | name: NSUbiquitousKeyValueStore.didChangeExternallyNotification,
177 | object: NSUbiquitousKeyValueStore.default
/host/spi-builder-workspace/Sources/Zephyr.swift:222:23: error: '#selector' can only be used with the Objective-C runtime
220 | NotificationCenter.default.addObserver(
221 | self,
222 | selector: #selector(userDefaultsDidChange(notification:)),
| `- error: '#selector' can only be used with the Objective-C runtime
223 | name: UserDefaults.didChangeNotification,
224 | object: userDefaults
/host/spi-builder-workspace/Sources/Zephyr.swift:323:21: error: cannot find 'NSUbiquitousKeyValueStore' in scope
321 | case .pushValue:
322 | if let value = local.values[key] {
323 | NSUbiquitousKeyValueStore.default.set(unwrap(value), forKey: key)
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
324 | printKeySyncStatus(key: key, value: unwrap(value), destination: .remote)
325 | didWriteRemote = true
/host/spi-builder-workspace/Sources/Zephyr.swift:346:17: error: cannot find 'NSUbiquitousKeyValueStore' in scope
344 | }
345 | case .pushDelete:
346 | NSUbiquitousKeyValueStore.default.removeObject(forKey: key)
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
347 | local.values.removeValue(forKey: key)
348 | printKeySyncStatus(key: key, value: nil, destination: .remote)
/host/spi-builder-workspace/Sources/Zephyr.swift:365:13: error: cannot find 'NSUbiquitousKeyValueStore' in scope
363 |
364 | if didWriteRemote && Zephyr.syncUbiquitousKeyValueStoreOnChange {
365 | NSUbiquitousKeyValueStore.default.synchronize()
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
366 | }
367 |
/host/spi-builder-workspace/Sources/Zephyr.swift:381:29: error: cannot find 'NSUbiquitousKeyValueStore' in scope
379 | func loadRemoteSnapshot() -> ZephyrSnapshot {
380 | var values: [String: Any] = [:]
381 | for (key, value) in NSUbiquitousKeyValueStore.default.dictionaryRepresentation
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
382 | where !ZephyrReconciler.isMetadataKey(key) {
383 | values[key] = value
/host/spi-builder-workspace/Sources/Zephyr.swift:399:30: error: cannot find 'NSUbiquitousKeyValueStore' in scope
397 | remoteVersions: readUInt64Map(fromCloud: ZephyrReconciler.versionsKey),
398 | remoteTombstones: readUInt64Map(fromCloud: ZephyrReconciler.tombstonesKey),
399 | remoteKnown: Set(NSUbiquitousKeyValueStore.default.array(forKey: ZephyrReconciler.knownKeysKey) as? [String] ?? []),
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
400 | updateVersions: versions,
401 | updateTombstones: tombstones,
/host/spi-builder-workspace/Sources/Zephyr.swift:433:13: error: cannot find 'NSUbiquitousKeyValueStore' in scope
431 | userDefaults.removeObject(forKey: ZephyrReconciler.legacySyncKey)
432 | case .remote:
433 | NSUbiquitousKeyValueStore.default.set(versionPlist, forKey: ZephyrReconciler.versionsKey)
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
434 | NSUbiquitousKeyValueStore.default.set(tombPlist, forKey: ZephyrReconciler.tombstonesKey)
435 | NSUbiquitousKeyValueStore.default.set(knownArray, forKey: ZephyrReconciler.knownKeysKey)
/host/spi-builder-workspace/Sources/Zephyr.swift:434:13: error: cannot find 'NSUbiquitousKeyValueStore' in scope
432 | case .remote:
433 | NSUbiquitousKeyValueStore.default.set(versionPlist, forKey: ZephyrReconciler.versionsKey)
434 | NSUbiquitousKeyValueStore.default.set(tombPlist, forKey: ZephyrReconciler.tombstonesKey)
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
435 | NSUbiquitousKeyValueStore.default.set(knownArray, forKey: ZephyrReconciler.knownKeysKey)
436 | NSUbiquitousKeyValueStore.default.removeObject(forKey: ZephyrReconciler.legacySyncKey)
/host/spi-builder-workspace/Sources/Zephyr.swift:435:13: error: cannot find 'NSUbiquitousKeyValueStore' in scope
433 | NSUbiquitousKeyValueStore.default.set(versionPlist, forKey: ZephyrReconciler.versionsKey)
434 | NSUbiquitousKeyValueStore.default.set(tombPlist, forKey: ZephyrReconciler.tombstonesKey)
435 | NSUbiquitousKeyValueStore.default.set(knownArray, forKey: ZephyrReconciler.knownKeysKey)
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
436 | NSUbiquitousKeyValueStore.default.removeObject(forKey: ZephyrReconciler.legacySyncKey)
437 | }
/host/spi-builder-workspace/Sources/Zephyr.swift:436:13: error: cannot find 'NSUbiquitousKeyValueStore' in scope
434 | NSUbiquitousKeyValueStore.default.set(tombPlist, forKey: ZephyrReconciler.tombstonesKey)
435 | NSUbiquitousKeyValueStore.default.set(knownArray, forKey: ZephyrReconciler.knownKeysKey)
436 | NSUbiquitousKeyValueStore.default.removeObject(forKey: ZephyrReconciler.legacySyncKey)
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
437 | }
438 | }
/host/spi-builder-workspace/Sources/Zephyr.swift:473:21: error: cannot find 'NSUbiquitousKeyValueStore' in scope
471 | case .pushValue:
472 | if let value = working.values[key] {
473 | NSUbiquitousKeyValueStore.default.set(unwrap(value), forKey: key)
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
474 | printKeySyncStatus(key: key, value: unwrap(value), destination: .remote)
475 | }
/host/spi-builder-workspace/Sources/Zephyr.swift:477:17: error: cannot find 'NSUbiquitousKeyValueStore' in scope
475 | }
476 | case .pushDelete:
477 | NSUbiquitousKeyValueStore.default.removeObject(forKey: key)
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
478 | printKeySyncStatus(key: key, value: nil, destination: .remote)
479 | case .pullValue:
/host/spi-builder-workspace/Sources/Zephyr.swift:500:13: error: cannot find 'NSUbiquitousKeyValueStore' in scope
498 |
499 | if Zephyr.syncUbiquitousKeyValueStoreOnChange {
500 | NSUbiquitousKeyValueStore.default.synchronize()
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
501 | }
502 | return pulled
/host/spi-builder-workspace/Sources/Zephyr.swift:539:9: error: cannot find 'NSUbiquitousKeyValueStore' in scope
537 | extension Zephyr {
538 | func willEnterForeground(notification: Notification) {
539 | NSUbiquitousKeyValueStore.default.synchronize()
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
540 | }
541 |
/host/spi-builder-workspace/Sources/Zephyr.swift:554:36: error: cannot find 'NSUbiquitousKeyValueStore' in scope
552 |
553 | func keysDidChangeOnCloud(notification: Notification) {
554 | guard notification.name == NSUbiquitousKeyValueStore.didChangeExternallyNotification else { return }
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
555 | let userInfo = (notification as NSNotification).userInfo ?? [:]
556 | let reason = userInfo[NSUbiquitousKeyValueStoreChangeReasonKey] as? Int
/host/spi-builder-workspace/Sources/Zephyr.swift:556:31: error: cannot find 'NSUbiquitousKeyValueStoreChangeReasonKey' in scope
554 | guard notification.name == NSUbiquitousKeyValueStore.didChangeExternallyNotification else { return }
555 | let userInfo = (notification as NSNotification).userInfo ?? [:]
556 | let reason = userInfo[NSUbiquitousKeyValueStoreChangeReasonKey] as? Int
| `- error: cannot find 'NSUbiquitousKeyValueStoreChangeReasonKey' in scope
557 | let cloudKeys = userInfo[NSUbiquitousKeyValueStoreChangedKeysKey] as? [String] ?? []
558 |
/host/spi-builder-workspace/Sources/Zephyr.swift:557:34: error: cannot find 'NSUbiquitousKeyValueStoreChangedKeysKey' in scope
555 | let userInfo = (notification as NSNotification).userInfo ?? [:]
556 | let reason = userInfo[NSUbiquitousKeyValueStoreChangeReasonKey] as? Int
557 | let cloudKeys = userInfo[NSUbiquitousKeyValueStoreChangedKeysKey] as? [String] ?? []
| `- error: cannot find 'NSUbiquitousKeyValueStoreChangedKeysKey' in scope
558 |
559 | switch reason {
/host/spi-builder-workspace/Sources/Zephyr.swift:560:14: error: cannot find 'NSUbiquitousKeyValueStoreQuotaViolationChange' in scope
558 |
559 | switch reason {
560 | case NSUbiquitousKeyValueStoreQuotaViolationChange:
| `- error: cannot find 'NSUbiquitousKeyValueStoreQuotaViolationChange' in scope
561 | Zephyr.printStatus(status: "iCloud key-value store quota exceeded. Sync paused until the store shrinks.")
562 | return
/host/spi-builder-workspace/Sources/Zephyr.swift:563:14: error: cannot find 'NSUbiquitousKeyValueStoreAccountChange' in scope
561 | Zephyr.printStatus(status: "iCloud key-value store quota exceeded. Sync paused until the store shrinks.")
562 | return
563 | case NSUbiquitousKeyValueStoreAccountChange:
| `- error: cannot find 'NSUbiquitousKeyValueStoreAccountChange' in scope
564 | Zephyr.printStatus(status: "iCloud account changed. Pulling remote values; not pushing the previous account's data.")
565 | let pulled = onQueue {
/host/spi-builder-workspace/Sources/Zephyr.swift:572:14: error: cannot find 'NSUbiquitousKeyValueStoreInitialSyncChange' in scope
570 | }
571 | return
572 | case NSUbiquitousKeyValueStoreInitialSyncChange, NSUbiquitousKeyValueStoreServerChange:
| `- error: cannot find 'NSUbiquitousKeyValueStoreInitialSyncChange' in scope
573 | break
574 | default:
/host/spi-builder-workspace/Sources/Zephyr.swift:572:58: error: cannot find 'NSUbiquitousKeyValueStoreServerChange' in scope
570 | }
571 | return
572 | case NSUbiquitousKeyValueStoreInitialSyncChange, NSUbiquitousKeyValueStoreServerChange:
| `- error: cannot find 'NSUbiquitousKeyValueStoreServerChange' in scope
573 | break
574 | default:
/host/spi-builder-workspace/Sources/Zephyr.swift:665:25: error: cannot find 'NSUbiquitousKeyValueStore' in scope
663 |
664 | func readUInt64Map(fromCloud key: String) -> [String: UInt64] {
665 | decodeUInt64Map(NSUbiquitousKeyValueStore.default.dictionary(forKey: key))
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
666 | }
667 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:dff62030f4387a2d827d2b365d39a91716bd1d13650763ccbcbfe23419000563
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-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 Zephyr ZephyrReconciler.swift
[3/4] Emitting module Zephyr
/host/spi-builder-workspace/Sources/Zephyr.swift:16:1: error: Objective-C interoperability is disabled
14 | #endif
15 |
16 | @objcMembers
| `- error: Objective-C interoperability is disabled
17 | public final class Zephyr: NSObject, @unchecked Sendable {
18 | /// If **true**, console log statements are printed. Default **false**.
/host/spi-builder-workspace/Sources/Zephyr.swift:536:2: error: Objective-C interoperability is disabled
534 | // MARK: - Notifications
535 |
536 | @objc
| `- error: Objective-C interoperability is disabled
537 | extension Zephyr {
538 | func willEnterForeground(notification: Notification) {
[4/4] Compiling Zephyr Zephyr.swift
/host/spi-builder-workspace/Sources/Zephyr.swift:16:1: error: Objective-C interoperability is disabled
14 | #endif
15 |
16 | @objcMembers
| `- error: Objective-C interoperability is disabled
17 | public final class Zephyr: NSObject, @unchecked Sendable {
18 | /// If **true**, console log statements are printed. Default **false**.
/host/spi-builder-workspace/Sources/Zephyr.swift:536:2: error: Objective-C interoperability is disabled
534 | // MARK: - Notifications
535 |
536 | @objc
| `- error: Objective-C interoperability is disabled
537 | extension Zephyr {
538 | func willEnterForeground(notification: Notification) {
/host/spi-builder-workspace/Sources/Zephyr.swift:63:9: error: cannot find 'NSUbiquitousKeyValueStore' in scope
61 | super.init()
62 | setupNotifications()
63 | NSUbiquitousKeyValueStore.default.synchronize()
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
64 | }
65 |
/host/spi-builder-workspace/Sources/Zephyr.swift:176:19: error: cannot find 'NSUbiquitousKeyValueStore' in scope
174 | self,
175 | selector: #selector(keysDidChangeOnCloud(notification:)),
176 | name: NSUbiquitousKeyValueStore.didChangeExternallyNotification,
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
177 | object: NSUbiquitousKeyValueStore.default
178 | )
/host/spi-builder-workspace/Sources/Zephyr.swift:177:21: error: cannot find 'NSUbiquitousKeyValueStore' in scope
175 | selector: #selector(keysDidChangeOnCloud(notification:)),
176 | name: NSUbiquitousKeyValueStore.didChangeExternallyNotification,
177 | object: NSUbiquitousKeyValueStore.default
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
178 | )
179 |
/host/spi-builder-workspace/Sources/Zephyr.swift:175:23: error: '#selector' can only be used with the Objective-C runtime
173 | NotificationCenter.default.addObserver(
174 | self,
175 | selector: #selector(keysDidChangeOnCloud(notification:)),
| `- error: '#selector' can only be used with the Objective-C runtime
176 | name: NSUbiquitousKeyValueStore.didChangeExternallyNotification,
177 | object: NSUbiquitousKeyValueStore.default
/host/spi-builder-workspace/Sources/Zephyr.swift:222:23: error: '#selector' can only be used with the Objective-C runtime
220 | NotificationCenter.default.addObserver(
221 | self,
222 | selector: #selector(userDefaultsDidChange(notification:)),
| `- error: '#selector' can only be used with the Objective-C runtime
223 | name: UserDefaults.didChangeNotification,
224 | object: userDefaults
/host/spi-builder-workspace/Sources/Zephyr.swift:323:21: error: cannot find 'NSUbiquitousKeyValueStore' in scope
321 | case .pushValue:
322 | if let value = local.values[key] {
323 | NSUbiquitousKeyValueStore.default.set(unwrap(value), forKey: key)
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
324 | printKeySyncStatus(key: key, value: unwrap(value), destination: .remote)
325 | didWriteRemote = true
/host/spi-builder-workspace/Sources/Zephyr.swift:346:17: error: cannot find 'NSUbiquitousKeyValueStore' in scope
344 | }
345 | case .pushDelete:
346 | NSUbiquitousKeyValueStore.default.removeObject(forKey: key)
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
347 | local.values.removeValue(forKey: key)
348 | printKeySyncStatus(key: key, value: nil, destination: .remote)
/host/spi-builder-workspace/Sources/Zephyr.swift:365:13: error: cannot find 'NSUbiquitousKeyValueStore' in scope
363 |
364 | if didWriteRemote && Zephyr.syncUbiquitousKeyValueStoreOnChange {
365 | NSUbiquitousKeyValueStore.default.synchronize()
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
366 | }
367 |
/host/spi-builder-workspace/Sources/Zephyr.swift:381:29: error: cannot find 'NSUbiquitousKeyValueStore' in scope
379 | func loadRemoteSnapshot() -> ZephyrSnapshot {
380 | var values: [String: Any] = [:]
381 | for (key, value) in NSUbiquitousKeyValueStore.default.dictionaryRepresentation
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
382 | where !ZephyrReconciler.isMetadataKey(key) {
383 | values[key] = value
/host/spi-builder-workspace/Sources/Zephyr.swift:399:30: error: cannot find 'NSUbiquitousKeyValueStore' in scope
397 | remoteVersions: readUInt64Map(fromCloud: ZephyrReconciler.versionsKey),
398 | remoteTombstones: readUInt64Map(fromCloud: ZephyrReconciler.tombstonesKey),
399 | remoteKnown: Set(NSUbiquitousKeyValueStore.default.array(forKey: ZephyrReconciler.knownKeysKey) as? [String] ?? []),
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
400 | updateVersions: versions,
401 | updateTombstones: tombstones,
/host/spi-builder-workspace/Sources/Zephyr.swift:433:13: error: cannot find 'NSUbiquitousKeyValueStore' in scope
431 | userDefaults.removeObject(forKey: ZephyrReconciler.legacySyncKey)
432 | case .remote:
433 | NSUbiquitousKeyValueStore.default.set(versionPlist, forKey: ZephyrReconciler.versionsKey)
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
434 | NSUbiquitousKeyValueStore.default.set(tombPlist, forKey: ZephyrReconciler.tombstonesKey)
435 | NSUbiquitousKeyValueStore.default.set(knownArray, forKey: ZephyrReconciler.knownKeysKey)
/host/spi-builder-workspace/Sources/Zephyr.swift:434:13: error: cannot find 'NSUbiquitousKeyValueStore' in scope
432 | case .remote:
433 | NSUbiquitousKeyValueStore.default.set(versionPlist, forKey: ZephyrReconciler.versionsKey)
434 | NSUbiquitousKeyValueStore.default.set(tombPlist, forKey: ZephyrReconciler.tombstonesKey)
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
435 | NSUbiquitousKeyValueStore.default.set(knownArray, forKey: ZephyrReconciler.knownKeysKey)
436 | NSUbiquitousKeyValueStore.default.removeObject(forKey: ZephyrReconciler.legacySyncKey)
/host/spi-builder-workspace/Sources/Zephyr.swift:435:13: error: cannot find 'NSUbiquitousKeyValueStore' in scope
433 | NSUbiquitousKeyValueStore.default.set(versionPlist, forKey: ZephyrReconciler.versionsKey)
434 | NSUbiquitousKeyValueStore.default.set(tombPlist, forKey: ZephyrReconciler.tombstonesKey)
435 | NSUbiquitousKeyValueStore.default.set(knownArray, forKey: ZephyrReconciler.knownKeysKey)
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
436 | NSUbiquitousKeyValueStore.default.removeObject(forKey: ZephyrReconciler.legacySyncKey)
437 | }
/host/spi-builder-workspace/Sources/Zephyr.swift:436:13: error: cannot find 'NSUbiquitousKeyValueStore' in scope
434 | NSUbiquitousKeyValueStore.default.set(tombPlist, forKey: ZephyrReconciler.tombstonesKey)
435 | NSUbiquitousKeyValueStore.default.set(knownArray, forKey: ZephyrReconciler.knownKeysKey)
436 | NSUbiquitousKeyValueStore.default.removeObject(forKey: ZephyrReconciler.legacySyncKey)
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
437 | }
438 | }
/host/spi-builder-workspace/Sources/Zephyr.swift:473:21: error: cannot find 'NSUbiquitousKeyValueStore' in scope
471 | case .pushValue:
472 | if let value = working.values[key] {
473 | NSUbiquitousKeyValueStore.default.set(unwrap(value), forKey: key)
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
474 | printKeySyncStatus(key: key, value: unwrap(value), destination: .remote)
475 | }
/host/spi-builder-workspace/Sources/Zephyr.swift:477:17: error: cannot find 'NSUbiquitousKeyValueStore' in scope
475 | }
476 | case .pushDelete:
477 | NSUbiquitousKeyValueStore.default.removeObject(forKey: key)
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
478 | printKeySyncStatus(key: key, value: nil, destination: .remote)
479 | case .pullValue:
/host/spi-builder-workspace/Sources/Zephyr.swift:500:13: error: cannot find 'NSUbiquitousKeyValueStore' in scope
498 |
499 | if Zephyr.syncUbiquitousKeyValueStoreOnChange {
500 | NSUbiquitousKeyValueStore.default.synchronize()
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
501 | }
502 | return pulled
/host/spi-builder-workspace/Sources/Zephyr.swift:539:9: error: cannot find 'NSUbiquitousKeyValueStore' in scope
537 | extension Zephyr {
538 | func willEnterForeground(notification: Notification) {
539 | NSUbiquitousKeyValueStore.default.synchronize()
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
540 | }
541 |
/host/spi-builder-workspace/Sources/Zephyr.swift:554:36: error: cannot find 'NSUbiquitousKeyValueStore' in scope
552 |
553 | func keysDidChangeOnCloud(notification: Notification) {
554 | guard notification.name == NSUbiquitousKeyValueStore.didChangeExternallyNotification else { return }
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
555 | let userInfo = (notification as NSNotification).userInfo ?? [:]
556 | let reason = userInfo[NSUbiquitousKeyValueStoreChangeReasonKey] as? Int
/host/spi-builder-workspace/Sources/Zephyr.swift:556:31: error: cannot find 'NSUbiquitousKeyValueStoreChangeReasonKey' in scope
554 | guard notification.name == NSUbiquitousKeyValueStore.didChangeExternallyNotification else { return }
555 | let userInfo = (notification as NSNotification).userInfo ?? [:]
556 | let reason = userInfo[NSUbiquitousKeyValueStoreChangeReasonKey] as? Int
| `- error: cannot find 'NSUbiquitousKeyValueStoreChangeReasonKey' in scope
557 | let cloudKeys = userInfo[NSUbiquitousKeyValueStoreChangedKeysKey] as? [String] ?? []
558 |
/host/spi-builder-workspace/Sources/Zephyr.swift:557:34: error: cannot find 'NSUbiquitousKeyValueStoreChangedKeysKey' in scope
555 | let userInfo = (notification as NSNotification).userInfo ?? [:]
556 | let reason = userInfo[NSUbiquitousKeyValueStoreChangeReasonKey] as? Int
557 | let cloudKeys = userInfo[NSUbiquitousKeyValueStoreChangedKeysKey] as? [String] ?? []
| `- error: cannot find 'NSUbiquitousKeyValueStoreChangedKeysKey' in scope
558 |
559 | switch reason {
/host/spi-builder-workspace/Sources/Zephyr.swift:560:14: error: cannot find 'NSUbiquitousKeyValueStoreQuotaViolationChange' in scope
558 |
559 | switch reason {
560 | case NSUbiquitousKeyValueStoreQuotaViolationChange:
| `- error: cannot find 'NSUbiquitousKeyValueStoreQuotaViolationChange' in scope
561 | Zephyr.printStatus(status: "iCloud key-value store quota exceeded. Sync paused until the store shrinks.")
562 | return
/host/spi-builder-workspace/Sources/Zephyr.swift:563:14: error: cannot find 'NSUbiquitousKeyValueStoreAccountChange' in scope
561 | Zephyr.printStatus(status: "iCloud key-value store quota exceeded. Sync paused until the store shrinks.")
562 | return
563 | case NSUbiquitousKeyValueStoreAccountChange:
| `- error: cannot find 'NSUbiquitousKeyValueStoreAccountChange' in scope
564 | Zephyr.printStatus(status: "iCloud account changed. Pulling remote values; not pushing the previous account's data.")
565 | let pulled = onQueue {
/host/spi-builder-workspace/Sources/Zephyr.swift:572:14: error: cannot find 'NSUbiquitousKeyValueStoreInitialSyncChange' in scope
570 | }
571 | return
572 | case NSUbiquitousKeyValueStoreInitialSyncChange, NSUbiquitousKeyValueStoreServerChange:
| `- error: cannot find 'NSUbiquitousKeyValueStoreInitialSyncChange' in scope
573 | break
574 | default:
/host/spi-builder-workspace/Sources/Zephyr.swift:572:58: error: cannot find 'NSUbiquitousKeyValueStoreServerChange' in scope
570 | }
571 | return
572 | case NSUbiquitousKeyValueStoreInitialSyncChange, NSUbiquitousKeyValueStoreServerChange:
| `- error: cannot find 'NSUbiquitousKeyValueStoreServerChange' in scope
573 | break
574 | default:
/host/spi-builder-workspace/Sources/Zephyr.swift:665:25: error: cannot find 'NSUbiquitousKeyValueStore' in scope
663 |
664 | func readUInt64Map(fromCloud key: String) -> [String: UInt64] {
665 | decodeUInt64Map(NSUbiquitousKeyValueStore.default.dictionary(forKey: key))
| `- error: cannot find 'NSUbiquitousKeyValueStore' in scope
666 | }
667 |
BUILD FAILURE 6.1 linux