The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DSFToolbar with Swift 5.8 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.23.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dagronf/DSFToolbar.git
Reference: main
Cloned https://github.com/dagronf/DSFToolbar.git into spi-builder-workspace
SUCCESS checkout https://github.com/dagronf/DSFToolbar.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/dagronf/DSFValueBinders
[1/221] Fetching dsfvaluebinders
Fetched https://github.com/dagronf/DSFValueBinders (0.33s)
Computing version for https://github.com/dagronf/DSFValueBinders
Computed https://github.com/dagronf/DSFValueBinders at 0.11.0 (0.31s)
Creating working copy for https://github.com/dagronf/DSFValueBinders
Working copy of https://github.com/dagronf/DSFValueBinders resolved at 0.11.0
Building for debugging...
[1/15] Compiling DSFValueBinders ValueBinder+Binding.swift
[2/15] Compiling DSFValueBinders WrappedPublisher.swift
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/private/WrappedPublisher.swift:51:17: error: cannot find type 'AnyPublisher' in scope
        var publisher: AnyPublisher<ValueType, Never> {
                       ^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/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/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/private/WrappedPublisher.swift:74:7: error: cannot find type 'AnyCancellable' in scope
        ) -> AnyCancellable {
             ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/private/WrappedPublisher.swift:72:34: error: cannot find type 'Subscribers' in scope
                receiveCompletion: @escaping ((Subscribers.Completion<Never>) -> Void),
                                               ^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/private/WrappedPublisher.swift:86:26: error: cannot find type 'PassthroughSubject' in scope
        var passthroughSubject: PassthroughSubject<ValueType, Never> {
                                ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/private/WrappedPublisher.swift:36:21: error: cannot find 'PassthroughSubject' in scope
                self._publisher = PassthroughSubject<ValueType, Never>()
                                  ^~~~~~~~~~~~~~~~~~
[3/15] Compiling DSFValueBinders ValueBinder.swift
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/ValueBinder.swift:169:62: error: cannot find type 'AnyCancellable' in scope
        func sink(receiveValue: @escaping ((ValueType) -> Void)) -> AnyCancellable? {
                                                                    ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/ValueBinder.swift:177:7: error: cannot find type 'AnyCancellable' in scope
        ) -> AnyCancellable? {
             ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/ValueBinder.swift:175:35: error: cannot find type 'Subscribers' in scope
                 receiveCompletion: @escaping ((Subscribers.Completion<Never>) -> Void),
                                                ^~~~~~~~~~~
[4/16] Compiling DSFValueBinders EnumKeyPathBinder.swift
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/EnumKeyPathBinder.swift:101:30: error: cannot find type 'NSKeyValueObservation' in scope
        private var kvoObservation: NSKeyValueObservation?
                                    ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/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/.build/checkouts/DSFValueBinders/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/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/EnumKeyPathBinder.swift:86: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/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/EnumKeyPathBinder.swift:86: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/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/EnumKeyPathBinder.swift:86:80: error: unable to infer type of a closure parameter 'obj' in the current context
                self.kvoObservation = object.observe(keyPath, options: [.new]) { [weak self] obj, value in
                                                                                             ^
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/EnumKeyPathBinder.swift:86:85: error: unable to infer type of a closure parameter 'value' in the current context
                self.kvoObservation = object.observe(keyPath, options: [.new]) { [weak self] obj, value in
                                                                                                  ^
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/EnumKeyPathBinder.swift:97:25: error: 'nil' requires a contextual type
                self.kvoObservation = nil
                                      ^
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/EnumKeyPathBinder.swift:121:12: error: value of type 'ClassType' has no member 'setValue'
                        object?.setValue(self.wrappedValue.rawValue, forKey: stringPath)
                        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/KeyPathBinder.swift:94:30: error: cannot find type 'NSKeyValueObservation' in scope
        private var kvoObservation: NSKeyValueObservation?
                                    ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/KeyPathBinder.swift:101:34: error: cannot find type 'NSKeyValueObservedChange' in scope
        private func kvoUpdate(_ value: NSKeyValueObservedChange<ValueType>) {
                                        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/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/.build/checkouts/DSFValueBinders/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/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/KeyPathBinder.swift:84: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/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/KeyPathBinder.swift:84: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/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/KeyPathBinder.swift:84:80: error: unable to infer type of a closure parameter '_' in the current context
                self.kvoObservation = object.observe(keyPath, options: [.new]) { [weak self] _, value in
                                                                                             ^
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/KeyPathBinder.swift:84:83: error: unable to infer type of a closure parameter 'value' in the current context
                self.kvoObservation = object.observe(keyPath, options: [.new]) { [weak self] _, value in
                                                                                                ^
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/KeyPathBinder.swift:90:25: error: 'nil' requires a contextual type
                self.kvoObservation = nil
                                      ^
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/KeyPathBinder.swift:116:12: error: value of type 'ClassType' has no member 'setValue'
                        object?.setValue(self.wrappedValue, forKey: stringPath)
                        ~~~~~~~ ^~~~~~~~
[5/16] Compiling DSFValueBinders KeyPathBinder.swift
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/EnumKeyPathBinder.swift:101:30: error: cannot find type 'NSKeyValueObservation' in scope
        private var kvoObservation: NSKeyValueObservation?
                                    ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/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/.build/checkouts/DSFValueBinders/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/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/EnumKeyPathBinder.swift:86: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/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/EnumKeyPathBinder.swift:86: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/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/EnumKeyPathBinder.swift:86:80: error: unable to infer type of a closure parameter 'obj' in the current context
                self.kvoObservation = object.observe(keyPath, options: [.new]) { [weak self] obj, value in
                                                                                             ^
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/EnumKeyPathBinder.swift:86:85: error: unable to infer type of a closure parameter 'value' in the current context
                self.kvoObservation = object.observe(keyPath, options: [.new]) { [weak self] obj, value in
                                                                                                  ^
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/EnumKeyPathBinder.swift:97:25: error: 'nil' requires a contextual type
                self.kvoObservation = nil
                                      ^
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/EnumKeyPathBinder.swift:121:12: error: value of type 'ClassType' has no member 'setValue'
                        object?.setValue(self.wrappedValue.rawValue, forKey: stringPath)
                        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/KeyPathBinder.swift:94:30: error: cannot find type 'NSKeyValueObservation' in scope
        private var kvoObservation: NSKeyValueObservation?
                                    ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/KeyPathBinder.swift:101:34: error: cannot find type 'NSKeyValueObservedChange' in scope
        private func kvoUpdate(_ value: NSKeyValueObservedChange<ValueType>) {
                                        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/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/.build/checkouts/DSFValueBinders/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/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/KeyPathBinder.swift:84: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/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/KeyPathBinder.swift:84: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/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/KeyPathBinder.swift:84:80: error: unable to infer type of a closure parameter '_' in the current context
                self.kvoObservation = object.observe(keyPath, options: [.new]) { [weak self] _, value in
                                                                                             ^
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/KeyPathBinder.swift:84:83: error: unable to infer type of a closure parameter 'value' in the current context
                self.kvoObservation = object.observe(keyPath, options: [.new]) { [weak self] _, value in
                                                                                                ^
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/KeyPathBinder.swift:90:25: error: 'nil' requires a contextual type
                self.kvoObservation = nil
                                      ^
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/KeyPathBinder.swift:116:12: error: value of type 'ClassType' has no member 'setValue'
                        object?.setValue(self.wrappedValue, forKey: stringPath)
                        ~~~~~~~ ^~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/16] Compiling DSFValueBinders CombiningValueBinder.swift
[7/16] Compiling DSFValueBinders DSFValueBinders.swift
[8/16] Emitting module DSFValueBinders
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/EnumKeyPathBinder.swift:101:30: error: cannot find type 'NSKeyValueObservation' in scope
        private var kvoObservation: NSKeyValueObservation?
                                    ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/KeyPathBinder.swift:94:30: error: cannot find type 'NSKeyValueObservation' in scope
        private var kvoObservation: NSKeyValueObservation?
                                    ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/KeyPathBinder.swift:101:34: error: cannot find type 'NSKeyValueObservedChange' in scope
        private func kvoUpdate(_ value: NSKeyValueObservedChange<ValueType>) {
                                        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/ValueBinder.swift:169:62: error: cannot find type 'AnyCancellable' in scope
        func sink(receiveValue: @escaping ((ValueType) -> Void)) -> AnyCancellable? {
                                                                    ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/ValueBinder.swift:177:7: error: cannot find type 'AnyCancellable' in scope
        ) -> AnyCancellable? {
             ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/ValueBinder.swift:175:35: error: cannot find type 'Subscribers' in scope
                 receiveCompletion: @escaping ((Subscribers.Completion<Never>) -> Void),
                                                ^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/private/WrappedPublisher.swift:51:17: error: cannot find type 'AnyPublisher' in scope
        var publisher: AnyPublisher<ValueType, Never> {
                       ^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/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/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/private/WrappedPublisher.swift:74:7: error: cannot find type 'AnyCancellable' in scope
        ) -> AnyCancellable {
             ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/private/WrappedPublisher.swift:72:34: error: cannot find type 'Subscribers' in scope
                receiveCompletion: @escaping ((Subscribers.Completion<Never>) -> Void),
                                               ^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/private/WrappedPublisher.swift:86:26: error: cannot find type 'PassthroughSubject' in scope
        var passthroughSubject: PassthroughSubject<ValueType, Never> {
                                ^~~~~~~~~~~~~~~~~~
[9/16] Compiling DSFValueBinders PropertyWrapper.swift
[10/16] Compiling DSFValueBinders ValueBinder+transform.swift
[11/16] Compiling DSFValueBinders ValueBinder+transformers.swift
[12/16] Compiling DSFValueBinders SemLock.swift
BUILD FAILURE 5.8 linux

Build Machine: Linux 2