Build Information
Failed to build DSFValueBinders, reference 1.0.1 (8bbcac
), with Swift 5.9 for Linux on 6 Aug 2024 07:18:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.48.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dagronf/DSFValueBinders.git
Reference: 1.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/dagronf/DSFValueBinders
* tag 1.0.1 -> FETCH_HEAD
HEAD is now at 8bbcacd Fix issue where the binding value wasn't set correctly when first created
Cloned https://github.com/dagronf/DSFValueBinders.git
Revision (git rev-parse @):
8bbcacda087d1f0da384c8ad2fda061faabda3f1
SUCCESS checkout https://github.com/dagronf/DSFValueBinders.git at 1.0.1
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/dagronf/DSFValueBinders.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:ab95bcf8ae8f59ab6d4725f4fd8a1a6162581ba0800402e498200829aee2a822
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[1/14] Compiling DSFValueBinders ValueBinder.swift
/host/spi-builder-workspace/Sources/DSFValueBinders/ValueBinder.swift:179:62: error: cannot find type 'AnyCancellable' in scope
func sink(receiveValue: @escaping ((ValueType) -> Void)) -> AnyCancellable? {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/ValueBinder.swift:187:7: error: cannot find type 'AnyCancellable' in scope
) -> AnyCancellable? {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/ValueBinder.swift:185:35: error: cannot find type 'Subscribers' in scope
receiveCompletion: @escaping ((Subscribers.Completion<Never>) -> Void),
^~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/15] Compiling DSFValueBinders CombiningValueBinder.swift
[3/15] Compiling DSFValueBinders DSFValueBinders.swift
[4/15] Emitting module DSFValueBinders
/host/spi-builder-workspace/Sources/DSFValueBinders/EnumKeyPathBinder.swift:104:30: error: cannot find type 'NSKeyValueObservation' in scope
private var kvoObservation: NSKeyValueObservation?
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/KeyPathBinder.swift:97:30: error: cannot find type 'NSKeyValueObservation' in scope
private var kvoObservation: NSKeyValueObservation?
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/KeyPathBinder.swift:104:34: error: cannot find type 'NSKeyValueObservedChange' in scope
private func kvoUpdate(_ value: NSKeyValueObservedChange<ValueType>) {
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/ValueBinder.swift:179:62: error: cannot find type 'AnyCancellable' in scope
func sink(receiveValue: @escaping ((ValueType) -> Void)) -> AnyCancellable? {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/ValueBinder.swift:187:7: error: cannot find type 'AnyCancellable' in scope
) -> AnyCancellable? {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/ValueBinder.swift:185:35: error: cannot find type 'Subscribers' in scope
receiveCompletion: @escaping ((Subscribers.Completion<Never>) -> Void),
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/private/WrappedPublisher.swift:51:17: error: cannot find type 'AnyPublisher' in scope
var publisher: AnyPublisher<ValueType, Never> {
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/private/WrappedPublisher.swift:66:62: error: cannot find type 'AnyCancellable' in scope
func sink(receiveValue: @escaping ((ValueType) -> Void)) -> AnyCancellable {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/private/WrappedPublisher.swift:74:7: error: cannot find type 'AnyCancellable' in scope
) -> AnyCancellable {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/private/WrappedPublisher.swift:72:34: error: cannot find type 'Subscribers' in scope
receiveCompletion: @escaping ((Subscribers.Completion<Never>) -> Void),
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/private/WrappedPublisher.swift:86:26: error: cannot find type 'PassthroughSubject' in scope
var passthroughSubject: PassthroughSubject<ValueType, Never> {
^~~~~~~~~~~~~~~~~~
[5/15] Compiling DSFValueBinders SemLock.swift
[6/15] Compiling DSFValueBinders PropertyWrapper.swift
[7/15] Compiling DSFValueBinders ValueBinder+transform.swift
[8/15] Compiling DSFValueBinders ValueBinder+transformers.swift
[9/15] Compiling DSFValueBinders EnumKeyPathBinder.swift
/host/spi-builder-workspace/Sources/DSFValueBinders/EnumKeyPathBinder.swift:104:30: error: cannot find type 'NSKeyValueObservation' in scope
private var kvoObservation: NSKeyValueObservation?
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/EnumKeyPathBinder.swift:67:48: error: cannot convert value of type 'KeyPath<ClassType, ValueType>' to expected argument type 'String'
let stringKeyPath = NSExpression(forKeyPath: keyPath).keyPath
^
/host/spi-builder-workspace/Sources/DSFValueBinders/EnumKeyPathBinder.swift:76:21: error: value of type 'ClassType' has no member 'value'
let raw = object.value(forKeyPath: stringKeyPath) as? ValueType.RawValue,
~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/EnumKeyPathBinder.swift:89:32: error: value of type 'ClassType' has no member 'observe'
self.kvoObservation = object.observe(keyPath, options: [.new]) { [weak self] obj, value in
~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/EnumKeyPathBinder.swift:89:60: error: reference to member 'new' cannot be resolved without a contextual type
self.kvoObservation = object.observe(keyPath, options: [.new]) { [weak self] obj, value in
^
/host/spi-builder-workspace/Sources/DSFValueBinders/EnumKeyPathBinder.swift:89:80: error: cannot infer type of closure parameter 'obj' without a type annotation
self.kvoObservation = object.observe(keyPath, options: [.new]) { [weak self] obj, value in
^
/host/spi-builder-workspace/Sources/DSFValueBinders/EnumKeyPathBinder.swift:89:85: error: cannot infer type of closure parameter 'value' without a type annotation
self.kvoObservation = object.observe(keyPath, options: [.new]) { [weak self] obj, value in
^
/host/spi-builder-workspace/Sources/DSFValueBinders/EnumKeyPathBinder.swift:100:25: error: 'nil' requires a contextual type
self.kvoObservation = nil
^
/host/spi-builder-workspace/Sources/DSFValueBinders/EnumKeyPathBinder.swift:124:12: error: value of type 'ClassType' has no member 'setValue'
object?.setValue(self.wrappedValue.rawValue, forKey: stringPath)
~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/KeyPathBinder.swift:97:30: error: cannot find type 'NSKeyValueObservation' in scope
private var kvoObservation: NSKeyValueObservation?
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/KeyPathBinder.swift:104:34: error: cannot find type 'NSKeyValueObservedChange' in scope
private func kvoUpdate(_ value: NSKeyValueObservedChange<ValueType>) {
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/KeyPathBinder.swift:67:48: error: cannot convert value of type 'KeyPath<ClassType, ValueType>' to expected argument type 'String'
let stringKeyPath = NSExpression(forKeyPath: keyPath).keyPath
^
/host/spi-builder-workspace/Sources/DSFValueBinders/KeyPathBinder.swift:75:35: error: value of type 'ClassType' has no member 'value'
guard let initialValue = object.value(forKeyPath: stringKeyPath) as? ValueType else {
~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/KeyPathBinder.swift:87:32: error: value of type 'ClassType' has no member 'observe'
self.kvoObservation = object.observe(keyPath, options: [.new]) { [weak self] _, value in
~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/KeyPathBinder.swift:87:60: error: reference to member 'new' cannot be resolved without a contextual type
self.kvoObservation = object.observe(keyPath, options: [.new]) { [weak self] _, value in
^
/host/spi-builder-workspace/Sources/DSFValueBinders/KeyPathBinder.swift:87:80: error: cannot infer type of closure parameter '_' without a type annotation
self.kvoObservation = object.observe(keyPath, options: [.new]) { [weak self] _, value in
^
/host/spi-builder-workspace/Sources/DSFValueBinders/KeyPathBinder.swift:87:83: error: cannot infer type of closure parameter 'value' without a type annotation
self.kvoObservation = object.observe(keyPath, options: [.new]) { [weak self] _, value in
^
/host/spi-builder-workspace/Sources/DSFValueBinders/KeyPathBinder.swift:93:25: error: 'nil' requires a contextual type
self.kvoObservation = nil
^
/host/spi-builder-workspace/Sources/DSFValueBinders/KeyPathBinder.swift:122:12: error: value of type 'ClassType' has no member 'setValue'
object?.setValue(self.wrappedValue, forKey: stringPath)
~~~~~~~ ^~~~~~~~
[10/15] Compiling DSFValueBinders KeyPathBinder.swift
/host/spi-builder-workspace/Sources/DSFValueBinders/EnumKeyPathBinder.swift:104:30: error: cannot find type 'NSKeyValueObservation' in scope
private var kvoObservation: NSKeyValueObservation?
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/EnumKeyPathBinder.swift:67:48: error: cannot convert value of type 'KeyPath<ClassType, ValueType>' to expected argument type 'String'
let stringKeyPath = NSExpression(forKeyPath: keyPath).keyPath
^
/host/spi-builder-workspace/Sources/DSFValueBinders/EnumKeyPathBinder.swift:76:21: error: value of type 'ClassType' has no member 'value'
let raw = object.value(forKeyPath: stringKeyPath) as? ValueType.RawValue,
~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/EnumKeyPathBinder.swift:89:32: error: value of type 'ClassType' has no member 'observe'
self.kvoObservation = object.observe(keyPath, options: [.new]) { [weak self] obj, value in
~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/EnumKeyPathBinder.swift:89:60: error: reference to member 'new' cannot be resolved without a contextual type
self.kvoObservation = object.observe(keyPath, options: [.new]) { [weak self] obj, value in
^
/host/spi-builder-workspace/Sources/DSFValueBinders/EnumKeyPathBinder.swift:89:80: error: cannot infer type of closure parameter 'obj' without a type annotation
self.kvoObservation = object.observe(keyPath, options: [.new]) { [weak self] obj, value in
^
/host/spi-builder-workspace/Sources/DSFValueBinders/EnumKeyPathBinder.swift:89:85: error: cannot infer type of closure parameter 'value' without a type annotation
self.kvoObservation = object.observe(keyPath, options: [.new]) { [weak self] obj, value in
^
/host/spi-builder-workspace/Sources/DSFValueBinders/EnumKeyPathBinder.swift:100:25: error: 'nil' requires a contextual type
self.kvoObservation = nil
^
/host/spi-builder-workspace/Sources/DSFValueBinders/EnumKeyPathBinder.swift:124:12: error: value of type 'ClassType' has no member 'setValue'
object?.setValue(self.wrappedValue.rawValue, forKey: stringPath)
~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/KeyPathBinder.swift:97:30: error: cannot find type 'NSKeyValueObservation' in scope
private var kvoObservation: NSKeyValueObservation?
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/KeyPathBinder.swift:104:34: error: cannot find type 'NSKeyValueObservedChange' in scope
private func kvoUpdate(_ value: NSKeyValueObservedChange<ValueType>) {
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/KeyPathBinder.swift:67:48: error: cannot convert value of type 'KeyPath<ClassType, ValueType>' to expected argument type 'String'
let stringKeyPath = NSExpression(forKeyPath: keyPath).keyPath
^
/host/spi-builder-workspace/Sources/DSFValueBinders/KeyPathBinder.swift:75:35: error: value of type 'ClassType' has no member 'value'
guard let initialValue = object.value(forKeyPath: stringKeyPath) as? ValueType else {
~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/KeyPathBinder.swift:87:32: error: value of type 'ClassType' has no member 'observe'
self.kvoObservation = object.observe(keyPath, options: [.new]) { [weak self] _, value in
~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/KeyPathBinder.swift:87:60: error: reference to member 'new' cannot be resolved without a contextual type
self.kvoObservation = object.observe(keyPath, options: [.new]) { [weak self] _, value in
^
/host/spi-builder-workspace/Sources/DSFValueBinders/KeyPathBinder.swift:87:80: error: cannot infer type of closure parameter '_' without a type annotation
self.kvoObservation = object.observe(keyPath, options: [.new]) { [weak self] _, value in
^
/host/spi-builder-workspace/Sources/DSFValueBinders/KeyPathBinder.swift:87:83: error: cannot infer type of closure parameter 'value' without a type annotation
self.kvoObservation = object.observe(keyPath, options: [.new]) { [weak self] _, value in
^
/host/spi-builder-workspace/Sources/DSFValueBinders/KeyPathBinder.swift:93:25: error: 'nil' requires a contextual type
self.kvoObservation = nil
^
/host/spi-builder-workspace/Sources/DSFValueBinders/KeyPathBinder.swift:122:12: error: value of type 'ClassType' has no member 'setValue'
object?.setValue(self.wrappedValue, forKey: stringPath)
~~~~~~~ ^~~~~~~~
[11/15] Compiling DSFValueBinders ValueBinder+Binding.swift
[12/15] Compiling DSFValueBinders WrappedPublisher.swift
/host/spi-builder-workspace/Sources/DSFValueBinders/private/WrappedPublisher.swift:51:17: error: cannot find type 'AnyPublisher' in scope
var publisher: AnyPublisher<ValueType, Never> {
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/private/WrappedPublisher.swift:66:62: error: cannot find type 'AnyCancellable' in scope
func sink(receiveValue: @escaping ((ValueType) -> Void)) -> AnyCancellable {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/private/WrappedPublisher.swift:74:7: error: cannot find type 'AnyCancellable' in scope
) -> AnyCancellable {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/private/WrappedPublisher.swift:72:34: error: cannot find type 'Subscribers' in scope
receiveCompletion: @escaping ((Subscribers.Completion<Never>) -> Void),
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/private/WrappedPublisher.swift:86:26: error: cannot find type 'PassthroughSubject' in scope
var passthroughSubject: PassthroughSubject<ValueType, Never> {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DSFValueBinders/private/WrappedPublisher.swift:36:21: error: cannot find 'PassthroughSubject' in scope
self._publisher = PassthroughSubject<ValueType, Never>()
^~~~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux