Build Information
Failed to build KinUtil, reference master (c72c3b), with Swift 6.3 for Linux on 11 Apr 2026 13:39:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kinecosystem/kin-util-ios.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/kinecosystem/kin-util-ios
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at c72c3b1 Merge pull request #11 from kinecosystem/DP-467_swift-5
Cloned https://github.com/kinecosystem/kin-util-ios.git
Revision (git rev-parse @):
c72c3b151f71a6bf15b0ce98edd3f69a154610f5
SUCCESS checkout https://github.com/kinecosystem/kin-util-ios.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/kinecosystem/kin-util-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling KinUtil Promise.swift
/host/spi-builder-workspace/Sources/KinUtil/Promise.swift:226:29: warning: reference to captured var 'attempt2' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
224 | if attempts < tries {
225 | DispatchQueue.global().asyncAfter(deadline: .now() + retryIntervals[attempts - 1]) {
226 | attempt2()
| `- warning: reference to captured var 'attempt2' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
227 | }
228 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[4/10] Compiling KinUtil Utility.swift
[5/10] Compiling KinUtil Observables.swift
/host/spi-builder-workspace/Sources/KinUtil/Observables.swift:98:80: error: cannot find type 'NSKeyValueObservingOptions' in scope
96 | private let keyPath: String
97 |
98 | init(object: NSObject, keyPath: WritableKeyPath<Type, ValueType>, options: NSKeyValueObservingOptions = [.new]) throws {
| `- error: cannot find type 'NSKeyValueObservingOptions' in scope
99 | guard let stringPath = keyPath._kvcKeyPathString else {
100 | throw Errors.invalidKeyPath
/host/spi-builder-workspace/Sources/KinUtil/Observables.swift:70:51: error: cannot find type 'NSKeyValueChangeKey' in scope
68 | @objc override func observeValue(forKeyPath keyPath: String?,
69 | of object: Any?,
70 | change: [NSKeyValueChangeKey : Any]?,
| `- error: cannot find type 'NSKeyValueChangeKey' in scope
71 | context: UnsafeMutableRawPointer?) {
72 | let new = change?[NSKeyValueChangeKey.newKey]
/host/spi-builder-workspace/Sources/KinUtil/Observables.swift:68:10: error: Objective-C interoperability is disabled
66 | fileprivate weak var kvoObserver: KVOObserver?
67 |
68 | @objc override func observeValue(forKeyPath keyPath: String?,
| `- error: Objective-C interoperability is disabled
69 | of object: Any?,
70 | change: [NSKeyValueChangeKey : Any]?,
/host/spi-builder-workspace/Sources/KinUtil/Observables.swift:72:31: error: cannot find 'NSKeyValueChangeKey' in scope
70 | change: [NSKeyValueChangeKey : Any]?,
71 | context: UnsafeMutableRawPointer?) {
72 | let new = change?[NSKeyValueChangeKey.newKey]
| `- error: cannot find 'NSKeyValueChangeKey' in scope
73 | let old = change?[NSKeyValueChangeKey.oldKey]
74 |
/host/spi-builder-workspace/Sources/KinUtil/Observables.swift:72:30: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
70 | change: [NSKeyValueChangeKey : Any]?,
71 | context: UnsafeMutableRawPointer?) {
72 | let new = change?[NSKeyValueChangeKey.newKey]
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
73 | let old = change?[NSKeyValueChangeKey.oldKey]
74 |
/host/spi-builder-workspace/Sources/KinUtil/Observables.swift:73:31: error: cannot find 'NSKeyValueChangeKey' in scope
71 | context: UnsafeMutableRawPointer?) {
72 | let new = change?[NSKeyValueChangeKey.newKey]
73 | let old = change?[NSKeyValueChangeKey.oldKey]
| `- error: cannot find 'NSKeyValueChangeKey' in scope
74 |
75 | if let new = new as? ValueType {
/host/spi-builder-workspace/Sources/KinUtil/Observables.swift:73:30: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
71 | context: UnsafeMutableRawPointer?) {
72 | let new = change?[NSKeyValueChangeKey.newKey]
73 | let old = change?[NSKeyValueChangeKey.oldKey]
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
74 |
75 | if let new = new as? ValueType {
/host/spi-builder-workspace/Sources/KinUtil/Observables.swift:110:16: error: value of type 'NSObject' has no member 'addObserver'
108 |
109 | observer.kvoObserver = self
110 | object.addObserver(observer, forKeyPath: self.keyPath, options: options.union([.new]), context: nil)
| `- error: value of type 'NSObject' has no member 'addObserver'
111 |
112 | let deletion = OnDelete { [weak self] in self?.cancel() }
/host/spi-builder-workspace/Sources/KinUtil/Observables.swift:110:89: error: reference to member 'new' cannot be resolved without a contextual type
108 |
109 | observer.kvoObserver = self
110 | object.addObserver(observer, forKeyPath: self.keyPath, options: options.union([.new]), context: nil)
| `- error: reference to member 'new' cannot be resolved without a contextual type
111 |
112 | let deletion = OnDelete { [weak self] in self?.cancel() }
/host/spi-builder-workspace/Sources/KinUtil/Observables.swift:110:105: error: 'nil' requires a contextual type
108 |
109 | observer.kvoObserver = self
110 | object.addObserver(observer, forKeyPath: self.keyPath, options: options.union([.new]), context: nil)
| `- error: 'nil' requires a contextual type
111 |
112 | let deletion = OnDelete { [weak self] in self?.cancel() }
/host/spi-builder-workspace/Sources/KinUtil/Observables.swift:113:9: error: cannot find 'objc_setAssociatedObject' in scope
111 |
112 | let deletion = OnDelete { [weak self] in self?.cancel() }
113 | objc_setAssociatedObject(object,
| `- error: cannot find 'objc_setAssociatedObject' in scope
114 | Unmanaged.passUnretained(self).toOpaque(),
115 | deletion,
/host/spi-builder-workspace/Sources/KinUtil/Observables.swift:116:35: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
114 | Unmanaged.passUnretained(self).toOpaque(),
115 | deletion,
116 | .OBJC_ASSOCIATION_RETAIN)
| `- error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
117 | }
118 |
/host/spi-builder-workspace/Sources/KinUtil/Observables.swift:120:39: error: value of type 'NSObject' has no member 'removeObserver'
118 |
119 | private func cancel() {
120 | object?.takeUnretainedValue().removeObserver(observer, forKeyPath: keyPath)
| `- error: value of type 'NSObject' has no member 'removeObserver'
121 | object = nil
122 | }
[6/11] Compiling KinUtil Array+extensions.swift
[7/11] Compiling KinUtil Data+extensions.swift
[8/11] Compiling KinUtil Observable.swift
/host/spi-builder-workspace/Sources/KinUtil/Observable.swift:67:34: warning: passing non-Sendable parameter 'block' to function expecting a '@Sendable' closure
63 | }
64 |
65 | private func enqueue(_ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-Sendable
66 | if let queue = queue {
67 | queue.async(execute: block)
| `- warning: passing non-Sendable parameter 'block' to function expecting a '@Sendable' closure
68 | }
69 | else {
[9/11] Compiling KinUtil String+extensions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/11] Compiling KinUtil Curry.swift
[11/11] Emitting module KinUtil
/host/spi-builder-workspace/Sources/KinUtil/Observables.swift:98:80: error: cannot find type 'NSKeyValueObservingOptions' in scope
96 | private let keyPath: String
97 |
98 | init(object: NSObject, keyPath: WritableKeyPath<Type, ValueType>, options: NSKeyValueObservingOptions = [.new]) throws {
| `- error: cannot find type 'NSKeyValueObservingOptions' in scope
99 | guard let stringPath = keyPath._kvcKeyPathString else {
100 | throw Errors.invalidKeyPath
/host/spi-builder-workspace/Sources/KinUtil/Observables.swift:70:51: error: cannot find type 'NSKeyValueChangeKey' in scope
68 | @objc override func observeValue(forKeyPath keyPath: String?,
69 | of object: Any?,
70 | change: [NSKeyValueChangeKey : Any]?,
| `- error: cannot find type 'NSKeyValueChangeKey' in scope
71 | context: UnsafeMutableRawPointer?) {
72 | let new = change?[NSKeyValueChangeKey.newKey]
/host/spi-builder-workspace/Sources/KinUtil/Observables.swift:68:10: error: Objective-C interoperability is disabled
66 | fileprivate weak var kvoObserver: KVOObserver?
67 |
68 | @objc override func observeValue(forKeyPath keyPath: String?,
| `- error: Objective-C interoperability is disabled
69 | of object: Any?,
70 | change: [NSKeyValueChangeKey : Any]?,
BUILD FAILURE 6.3 linux