The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RadioBrowserKit with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/phranck/RadioBrowserKit.git
Reference: v0.1.3
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/phranck/RadioBrowserKit
 * tag               v0.1.3     -> FETCH_HEAD
HEAD is now at 1b42637 changes Swift Tools and platform compatibility
Cloned https://github.com/phranck/RadioBrowserKit.git
Revision (git rev-parse @):
1b4263776913cd3867b85ad0c0dd142b20fd4c16
SUCCESS checkout https://github.com/phranck/RadioBrowserKit.git at v0.1.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/phranck/RadioBrowserKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/nbasham/CloudUserDefaults.git
Fetching https://github.com/sharplet/Regex.git
Fetching https://github.com/SwiftyBeaver/SwiftyBeaver.git
Fetching https://github.com/ArtSabintsev/Zephyr.git
[1/1254] Fetching regex
[202/1288] Fetching regex, clouduserdefaults
[851/6360] Fetching regex, clouduserdefaults, zephyr
[852/10121] Fetching regex, clouduserdefaults, zephyr, swiftybeaver
Fetched https://github.com/SwiftyBeaver/SwiftyBeaver.git from cache (0.45s)
[2650/6360] Fetching regex, clouduserdefaults, zephyr
Fetched https://github.com/nbasham/CloudUserDefaults.git from cache (0.81s)
Fetched https://github.com/ArtSabintsev/Zephyr.git from cache (0.83s)
Fetched https://github.com/sharplet/Regex.git from cache (0.90s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (1.50s)
Computing version for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Computed https://github.com/SwiftyBeaver/SwiftyBeaver.git at 1.9.6 (0.69s)
Computing version for https://github.com/ArtSabintsev/Zephyr.git
Computed https://github.com/ArtSabintsev/Zephyr.git at 3.7.1 (0.57s)
Creating working copy for https://github.com/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.1
Creating working copy for https://github.com/ArtSabintsev/Zephyr.git
Working copy of https://github.com/ArtSabintsev/Zephyr.git resolved at 3.7.1
Creating working copy for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Working copy of https://github.com/SwiftyBeaver/SwiftyBeaver.git resolved at 1.9.6
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/25] Emitting module Zephyr
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:22:1: error: Objective-C interoperability is disabled
@objcMembers
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:429:94: error: cannot find type 'NSKeyValueChangeKey' in scope
    public override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey: Any]?, context: UnsafeMutableRawPointer?) {
                                                                                             ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:429:26: error: method does not override any method from its superclass
    public override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey: Any]?, context: UnsafeMutableRawPointer?) {
           ~~~~~~~~      ^
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:449:2: error: Objective-C interoperability is disabled
@objc
~^~~~
[7/25] Compiling Zephyr Zephyr.swift
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:22:1: error: Objective-C interoperability is disabled
@objcMembers
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:429:94: error: cannot find type 'NSKeyValueChangeKey' in scope
    public override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey: Any]?, context: UnsafeMutableRawPointer?) {
                                                                                             ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:429:26: error: method does not override any method from its superclass
    public override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey: Any]?, context: UnsafeMutableRawPointer?) {
           ~~~~~~~~      ^
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:449:2: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:59:16: error: cannot find 'NSUbiquitousKeyValueStore' in scope
        return NSUbiquitousKeyValueStore.default.dictionaryRepresentation
               ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:71:9: error: cannot find 'NSUbiquitousKeyValueStore' in scope
        NSUbiquitousKeyValueStore.default.synchronize()
        ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:78:30: error: value of type 'UserDefaults' has no member 'removeObserver'
                userDefaults.removeObserver(self, forKeyPath: key)
                ~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:225:54: error: cannot find 'NSUbiquitousKeyValueStore' in scope
                                               name: NSUbiquitousKeyValueStore.didChangeExternallyNotification,
                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:224:64: error: '#selector' can only be used with the Objective-C runtime
        NotificationCenter.default.addObserver(self, selector: #selector(keysDidChangeOnCloud(notification:)),
                                                               ^
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:312:31: error: cannot find 'NSUbiquitousKeyValueStore' in scope
        let ubiquitousStore = NSUbiquitousKeyValueStore.default
                              ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:336:13: error: cannot find 'NSUbiquitousKeyValueStore' in scope
            NSUbiquitousKeyValueStore.default.removeObject(forKey: key)
            ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:402:26: error: value of type 'UserDefaults' has no member 'addObserver'
            userDefaults.addObserver(self, forKeyPath: key, options: .new, context: nil)
            ~~~~~~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:402:71: error: cannot infer contextual base in reference to member 'new'
            userDefaults.addObserver(self, forKeyPath: key, options: .new, context: nil)
                                                                     ~^~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:402:85: error: 'nil' requires a contextual type
            userDefaults.addObserver(self, forKeyPath: key, options: .new, context: nil)
                                                                                    ^
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:421:26: error: value of type 'UserDefaults' has no member 'removeObserver'
            userDefaults.removeObserver(self, forKeyPath: key, context: nil)
            ~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:421:73: error: 'nil' requires a contextual type
            userDefaults.removeObserver(self, forKeyPath: key, context: nil)
                                                                        ^
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:454:9: error: cannot find 'NSUbiquitousKeyValueStore' in scope
        NSUbiquitousKeyValueStore.default.synchronize()
        ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:459:33: error: cannot find 'NSUbiquitousKeyValueStore' in scope
        if notification.name == NSUbiquitousKeyValueStore.didChangeExternallyNotification {
                                ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:461:42: error: cannot find 'NSUbiquitousKeyValueStoreChangedKeysKey' in scope
                let cloudKeys = userInfo[NSUbiquitousKeyValueStoreChangedKeysKey] as? [String],
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[8/25] Compiling Regex Regex.swift
[9/25] Compiling Regex Options.swift
[10/25] Compiling SwiftyBeaver FilterValidator.swift
error: fatalError
[11/26] Compiling Regex String+ReplaceMatching.swift
[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/19] Emitting module Zephyr
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:22:1: error: Objective-C interoperability is disabled
@objcMembers
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:429:94: error: cannot find type 'NSKeyValueChangeKey' in scope
    public override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey: Any]?, context: UnsafeMutableRawPointer?) {
                                                                                             ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:429:26: error: method does not override any method from its superclass
    public override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey: Any]?, context: UnsafeMutableRawPointer?) {
           ~~~~~~~~      ^
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:449:2: error: Objective-C interoperability is disabled
@objc
~^~~~
[3/19] Compiling Regex String+ReplaceMatching.swift
[4/19] Compiling Zephyr Zephyr.swift
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:22:1: error: Objective-C interoperability is disabled
@objcMembers
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:429:94: error: cannot find type 'NSKeyValueChangeKey' in scope
    public override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey: Any]?, context: UnsafeMutableRawPointer?) {
                                                                                             ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:429:26: error: method does not override any method from its superclass
    public override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey: Any]?, context: UnsafeMutableRawPointer?) {
           ~~~~~~~~      ^
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:449:2: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:59:16: error: cannot find 'NSUbiquitousKeyValueStore' in scope
        return NSUbiquitousKeyValueStore.default.dictionaryRepresentation
               ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:71:9: error: cannot find 'NSUbiquitousKeyValueStore' in scope
        NSUbiquitousKeyValueStore.default.synchronize()
        ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:78:30: error: value of type 'UserDefaults' has no member 'removeObserver'
                userDefaults.removeObserver(self, forKeyPath: key)
                ~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:225:54: error: cannot find 'NSUbiquitousKeyValueStore' in scope
                                               name: NSUbiquitousKeyValueStore.didChangeExternallyNotification,
                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:224:64: error: '#selector' can only be used with the Objective-C runtime
        NotificationCenter.default.addObserver(self, selector: #selector(keysDidChangeOnCloud(notification:)),
                                                               ^
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:312:31: error: cannot find 'NSUbiquitousKeyValueStore' in scope
        let ubiquitousStore = NSUbiquitousKeyValueStore.default
                              ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:336:13: error: cannot find 'NSUbiquitousKeyValueStore' in scope
            NSUbiquitousKeyValueStore.default.removeObject(forKey: key)
            ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:402:26: error: value of type 'UserDefaults' has no member 'addObserver'
            userDefaults.addObserver(self, forKeyPath: key, options: .new, context: nil)
            ~~~~~~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:402:71: error: cannot infer contextual base in reference to member 'new'
            userDefaults.addObserver(self, forKeyPath: key, options: .new, context: nil)
                                                                     ~^~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:402:85: error: 'nil' requires a contextual type
            userDefaults.addObserver(self, forKeyPath: key, options: .new, context: nil)
                                                                                    ^
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:421:26: error: value of type 'UserDefaults' has no member 'removeObserver'
            userDefaults.removeObserver(self, forKeyPath: key, context: nil)
            ~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:421:73: error: 'nil' requires a contextual type
            userDefaults.removeObserver(self, forKeyPath: key, context: nil)
                                                                        ^
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:454:9: error: cannot find 'NSUbiquitousKeyValueStore' in scope
        NSUbiquitousKeyValueStore.default.synchronize()
        ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:459:33: error: cannot find 'NSUbiquitousKeyValueStore' in scope
        if notification.name == NSUbiquitousKeyValueStore.didChangeExternallyNotification {
                                ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Zephyr/Sources/Zephyr.swift:461:42: error: cannot find 'NSUbiquitousKeyValueStoreChangedKeysKey' in scope
                let cloudKeys = userInfo[NSUbiquitousKeyValueStoreChangedKeysKey] as? [String],
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[5/20] Compiling Regex ThreadLocal.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1