The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build DSFToolbar, reference main (f486eb), with Swift 5.10 for Linux on 6 Aug 2024 11:00:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-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/DSFToolbar.git
Reference: main
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/DSFToolbar
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f486eb1 minor package update
Cloned https://github.com/dagronf/DSFToolbar.git
Revision (git rev-parse @):
f486eb1e532d77fd2a9c9eb21f3e90a0b092ba45
SUCCESS checkout https://github.com/dagronf/DSFToolbar.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/dagronf/DSFToolbar.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:f0b51be07fbc8a0d4d15ad969175777a256c8ed4ef7ff1497c5f9d7800160a18
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/dagronf/DSFValueBinders
[1/235] Fetching dsfvaluebinders
Fetched https://github.com/dagronf/DSFValueBinders from cache (0.14s)
Computing version for https://github.com/dagronf/DSFValueBinders
Computed https://github.com/dagronf/DSFValueBinders at 1.0.1 (0.37s)
Creating working copy for https://github.com/dagronf/DSFValueBinders
Working copy of https://github.com/dagronf/DSFValueBinders resolved at 1.0.1
Building for debugging...
[0/9] Write sources
[2/9] Write swift-version-24593BA9C3E375BF.txt
[4/20] Compiling DSFValueBinders PropertyWrapper.swift
[5/20] Compiling DSFValueBinders ValueBinder+transform.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/21] Compiling DSFValueBinders CombiningValueBinder.swift
[7/21] Compiling DSFValueBinders DSFValueBinders.swift
[8/21] Emitting module DSFValueBinders
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/EnumKeyPathBinder.swift:104:30: error: cannot find type 'NSKeyValueObservation' in scope
        private var kvoObservation: NSKeyValueObservation?
                                    ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/KeyPathBinder.swift:97:30: error: cannot find type 'NSKeyValueObservation' in scope
        private var kvoObservation: NSKeyValueObservation?
                                    ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/KeyPathBinder.swift:104: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:179: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:187:7: error: cannot find type 'AnyCancellable' in scope
        ) -> AnyCancellable? {
             ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/ValueBinder.swift:185: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/21] Compiling DSFValueBinders EnumKeyPathBinder.swift
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/EnumKeyPathBinder.swift:104: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: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/.build/checkouts/DSFValueBinders/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/.build/checkouts/DSFValueBinders/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/.build/checkouts/DSFValueBinders/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/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/EnumKeyPathBinder.swift:100:25: error: 'nil' requires a contextual type
                self.kvoObservation = nil
                                      ^
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/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/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/KeyPathBinder.swift:97:30: error: cannot find type 'NSKeyValueObservation' in scope
        private var kvoObservation: NSKeyValueObservation?
                                    ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/KeyPathBinder.swift:104: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: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/.build/checkouts/DSFValueBinders/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/.build/checkouts/DSFValueBinders/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/.build/checkouts/DSFValueBinders/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/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/KeyPathBinder.swift:93:25: error: 'nil' requires a contextual type
                self.kvoObservation = nil
                                      ^
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/KeyPathBinder.swift:122:12: error: value of type 'ClassType' has no member 'setValue'
                        object?.setValue(self.wrappedValue, forKey: stringPath)
                        ~~~~~~~ ^~~~~~~~
[10/21] Compiling DSFValueBinders KeyPathBinder.swift
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/EnumKeyPathBinder.swift:104: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: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/.build/checkouts/DSFValueBinders/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/.build/checkouts/DSFValueBinders/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/.build/checkouts/DSFValueBinders/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/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/EnumKeyPathBinder.swift:100:25: error: 'nil' requires a contextual type
                self.kvoObservation = nil
                                      ^
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/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/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/KeyPathBinder.swift:97:30: error: cannot find type 'NSKeyValueObservation' in scope
        private var kvoObservation: NSKeyValueObservation?
                                    ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/KeyPathBinder.swift:104: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: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/.build/checkouts/DSFValueBinders/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/.build/checkouts/DSFValueBinders/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/.build/checkouts/DSFValueBinders/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/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/KeyPathBinder.swift:93:25: error: 'nil' requires a contextual type
                self.kvoObservation = nil
                                      ^
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/KeyPathBinder.swift:122:12: error: value of type 'ClassType' has no member 'setValue'
                        object?.setValue(self.wrappedValue, forKey: stringPath)
                        ~~~~~~~ ^~~~~~~~
[11/21] Compiling DSFValueBinders SemLock.swift
[12/21] Compiling DSFValueBinders ValueBinder+transformers.swift
[13/21] Compiling DSFValueBinders ValueBinder+Binding.swift
[14/21] Compiling DSFValueBinders ValueBinder.swift
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/ValueBinder.swift:179: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:187:7: error: cannot find type 'AnyCancellable' in scope
        ) -> AnyCancellable? {
             ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/DSFValueBinders/Sources/DSFValueBinders/ValueBinder.swift:185:35: error: cannot find type 'Subscribers' in scope
                 receiveCompletion: @escaping ((Subscribers.Completion<Never>) -> Void),
                                                ^~~~~~~~~~~
[15/21] 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>()
                                  ^~~~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux