Build Information
Failed to build MPUtils, reference 0.3.7 (98ce61
), with Swift 6.1 for Linux on 25 Apr 2025 15:15:22 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/martinpucik/mputils.git
Reference: 0.3.7
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/martinpucik/mputils
* tag 0.3.7 -> FETCH_HEAD
HEAD is now at 98ce612 UINavigationController method availability
Cloned https://github.com/martinpucik/mputils.git
Revision (git rev-parse @):
98ce612dfa64c0377f44d6cb123f4e4b094575b0
SUCCESS checkout https://github.com/martinpucik/mputils.git at 0.3.7
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/martinpucik/mputils.git
https://github.com/martinpucik/mputils.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "MPUtils",
"name" : "MPUtils",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "MPUtils",
"targets" : [
"MPUtils"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MPUtilsUIKit",
"targets" : [
"MPUtilsUIKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "MPUtilsUIKit",
"module_type" : "SwiftTarget",
"name" : "MPUtilsUIKit",
"path" : "Sources/MPUtilsUIKit",
"product_memberships" : [
"MPUtils",
"MPUtilsUIKit"
],
"sources" : [
"Extensions/UIApplicationExtension.swift",
"Extensions/UIBarButtonItemExtension.swift",
"Extensions/UIColorExtension.swift",
"Extensions/UIControlExtension.swift",
"Extensions/UINavigationControllerExtension.swift",
"Extensions/UITableViewCellExtension.swift",
"Extensions/UITableViewExtension.swift",
"Extensions/UIViewControllerExtension.swift",
"Extensions/UIViewExtension.swift",
"Views/MPUInputAccessoryKeyboardView.swift"
],
"type" : "library"
},
{
"c99name" : "MPUtilsTests",
"module_type" : "SwiftTarget",
"name" : "MPUtilsTests",
"path" : "Tests/MPUtilsTests",
"sources" : [
"CollectionExtensionTests.swift",
"DateExtensionTests.swift",
"MPUtilsTests.swift",
"UIViewExtensionTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"MPUtils"
],
"type" : "test"
},
{
"c99name" : "MPUtils",
"module_type" : "SwiftTarget",
"name" : "MPUtils",
"path" : "Sources/MPUtils",
"product_memberships" : [
"MPUtils"
],
"sources" : [
"Extensions/CollectionExtension.swift",
"Extensions/DateExtension.swift",
"Extensions/NSAttributedStringExtension.swift",
"Extensions/NSTextAttachmentExtension.swift",
"Extensions/StringExtension.swift",
"Extensions/URLExtension.swift",
"Utilities/Logger.swift",
"Utilities/World.swift"
],
"target_dependencies" : [
"MPUtilsUIKit"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/13] Compiling MPUtilsUIKit UINavigationControllerExtension.swift
[5/14] Compiling MPUtilsUIKit UIViewExtension.swift
[6/14] Compiling MPUtilsUIKit MPUInputAccessoryKeyboardView.swift
[7/14] Compiling MPUtilsUIKit UITableViewExtension.swift
[8/14] Compiling MPUtilsUIKit UIViewControllerExtension.swift
[9/14] Compiling MPUtilsUIKit UIColorExtension.swift
[10/14] Compiling MPUtilsUIKit UIControlExtension.swift
[11/14] Compiling MPUtilsUIKit UIApplicationExtension.swift
[12/14] Compiling MPUtilsUIKit UIBarButtonItemExtension.swift
[13/14] Emitting module MPUtilsUIKit
[14/14] Compiling MPUtilsUIKit UITableViewCellExtension.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/23] Compiling MPUtils NSAttributedStringExtension.swift
[17/23] Emitting module MPUtils
/host/spi-builder-workspace/Sources/MPUtils/Utilities/World.swift:13:45: error: cannot find type 'Selector' in scope
11 | // MARK: - Notifications
12 |
13 | public func NC_ADD(observer: Any, selector: Selector, name: Notification.Name, obj: Any? = nil) {
| `- error: cannot find type 'Selector' in scope
14 | NotificationCenter.default.addObserver(observer, selector: selector, name: name, object: obj)
15 | }
[18/24] Compiling MPUtils Logger.swift
[19/24] Compiling MPUtils NSTextAttachmentExtension.swift
[20/24] Compiling MPUtils StringExtension.swift
[21/24] Compiling MPUtils URLExtension.swift
[22/24] Compiling MPUtils World.swift
/host/spi-builder-workspace/Sources/MPUtils/Utilities/World.swift:13:45: error: cannot find type 'Selector' in scope
11 | // MARK: - Notifications
12 |
13 | public func NC_ADD(observer: Any, selector: Selector, name: Notification.Name, obj: Any? = nil) {
| `- error: cannot find type 'Selector' in scope
14 | NotificationCenter.default.addObserver(observer, selector: selector, name: name, object: obj)
15 | }
/host/spi-builder-workspace/Sources/MPUtils/Utilities/World.swift:14:64: error: extra argument 'selector' in call
12 |
13 | public func NC_ADD(observer: Any, selector: Selector, name: Notification.Name, obj: Any? = nil) {
14 | NotificationCenter.default.addObserver(observer, selector: selector, name: name, object: obj)
| `- error: extra argument 'selector' in call
15 | }
16 |
/host/spi-builder-workspace/Sources/MPUtils/Utilities/World.swift:14:84: error: missing argument for parameter 'using' in call
12 |
13 | public func NC_ADD(observer: Any, selector: Selector, name: Notification.Name, obj: Any? = nil) {
14 | NotificationCenter.default.addObserver(observer, selector: selector, name: name, object: obj)
| `- error: missing argument for parameter 'using' in call
15 | }
16 |
Foundation.NotificationCenter.addObserver:2:11: note: 'addObserver(forName:object:queue:using:)' declared here
1 | class NotificationCenter {
2 | open func addObserver(forName name: NSNotification.Name?, object obj: Any?, queue: OperationQueue?, using block: @escaping @Sendable (Notification) -> Void) -> any NSObjectProtocol}
| `- note: 'addObserver(forName:object:queue:using:)' declared here
3 |
/host/spi-builder-workspace/Sources/MPUtils/Utilities/World.swift:14:44: error: cannot convert value of type 'Any' to expected argument type 'NSNotification.Name'
12 |
13 | public func NC_ADD(observer: Any, selector: Selector, name: Notification.Name, obj: Any? = nil) {
14 | NotificationCenter.default.addObserver(observer, selector: selector, name: name, object: obj)
| `- error: cannot convert value of type 'Any' to expected argument type 'NSNotification.Name'
15 | }
16 |
/host/spi-builder-workspace/Sources/MPUtils/Utilities/World.swift:14:80: error: cannot convert value of type 'Notification.Name' (aka 'NSNotification.Name') to expected argument type 'OperationQueue'
12 |
13 | public func NC_ADD(observer: Any, selector: Selector, name: Notification.Name, obj: Any? = nil) {
14 | NotificationCenter.default.addObserver(observer, selector: selector, name: name, object: obj)
| `- error: cannot convert value of type 'Notification.Name' (aka 'NSNotification.Name') to expected argument type 'OperationQueue'
15 | }
16 |
[23/24] Compiling MPUtils CollectionExtension.swift
[24/24] Compiling MPUtils DateExtension.swift
/host/spi-builder-workspace/Sources/MPUtils/Extensions/DateExtension.swift:13:25: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
11 | public extension Date {
12 | func remainingTimeString(toDate: Date) -> String? {
13 | let formatter = DateComponentsFormatter()
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
14 | formatter.zeroFormattingBehavior = .default
15 | formatter.allowedUnits = [.hour, .minute, .second]
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/11] Compiling MPUtilsUIKit UIColorExtension.swift
[3/11] Compiling MPUtilsUIKit UIControlExtension.swift
[4/11] Compiling MPUtilsUIKit UINavigationControllerExtension.swift
[5/12] Compiling MPUtilsUIKit UITableViewExtension.swift
[6/12] Emitting module MPUtilsUIKit
[7/12] Compiling MPUtilsUIKit UIApplicationExtension.swift
[8/12] Compiling MPUtilsUIKit UIBarButtonItemExtension.swift
[9/12] Compiling MPUtilsUIKit UIViewExtension.swift
[10/12] Compiling MPUtilsUIKit UITableViewCellExtension.swift
[11/12] Compiling MPUtilsUIKit UIViewControllerExtension.swift
[12/12] Compiling MPUtilsUIKit MPUInputAccessoryKeyboardView.swift
[14/21] Compiling MPUtils NSTextAttachmentExtension.swift
[15/22] Compiling MPUtils World.swift
/host/spi-builder-workspace/Sources/MPUtils/Utilities/World.swift:13:45: error: cannot find type 'Selector' in scope
11 | // MARK: - Notifications
12 |
13 | public func NC_ADD(observer: Any, selector: Selector, name: Notification.Name, obj: Any? = nil) {
| `- error: cannot find type 'Selector' in scope
14 | NotificationCenter.default.addObserver(observer, selector: selector, name: name, object: obj)
15 | }
/host/spi-builder-workspace/Sources/MPUtils/Utilities/World.swift:14:64: error: extra argument 'selector' in call
12 |
13 | public func NC_ADD(observer: Any, selector: Selector, name: Notification.Name, obj: Any? = nil) {
14 | NotificationCenter.default.addObserver(observer, selector: selector, name: name, object: obj)
| `- error: extra argument 'selector' in call
15 | }
16 |
/host/spi-builder-workspace/Sources/MPUtils/Utilities/World.swift:14:84: error: missing argument for parameter 'using' in call
12 |
13 | public func NC_ADD(observer: Any, selector: Selector, name: Notification.Name, obj: Any? = nil) {
14 | NotificationCenter.default.addObserver(observer, selector: selector, name: name, object: obj)
| `- error: missing argument for parameter 'using' in call
15 | }
16 |
Foundation.NotificationCenter.addObserver:2:11: note: 'addObserver(forName:object:queue:using:)' declared here
1 | class NotificationCenter {
2 | open func addObserver(forName name: NSNotification.Name?, object obj: Any?, queue: OperationQueue?, using block: @escaping @Sendable (Notification) -> Void) -> any NSObjectProtocol}
| `- note: 'addObserver(forName:object:queue:using:)' declared here
3 |
/host/spi-builder-workspace/Sources/MPUtils/Utilities/World.swift:14:44: error: cannot convert value of type 'Any' to expected argument type 'NSNotification.Name'
12 |
13 | public func NC_ADD(observer: Any, selector: Selector, name: Notification.Name, obj: Any? = nil) {
14 | NotificationCenter.default.addObserver(observer, selector: selector, name: name, object: obj)
| `- error: cannot convert value of type 'Any' to expected argument type 'NSNotification.Name'
15 | }
16 |
/host/spi-builder-workspace/Sources/MPUtils/Utilities/World.swift:14:80: error: cannot convert value of type 'Notification.Name' (aka 'NSNotification.Name') to expected argument type 'OperationQueue'
12 |
13 | public func NC_ADD(observer: Any, selector: Selector, name: Notification.Name, obj: Any? = nil) {
14 | NotificationCenter.default.addObserver(observer, selector: selector, name: name, object: obj)
| `- error: cannot convert value of type 'Notification.Name' (aka 'NSNotification.Name') to expected argument type 'OperationQueue'
15 | }
16 |
[16/22] Compiling MPUtils CollectionExtension.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/22] Emitting module MPUtils
/host/spi-builder-workspace/Sources/MPUtils/Utilities/World.swift:13:45: error: cannot find type 'Selector' in scope
11 | // MARK: - Notifications
12 |
13 | public func NC_ADD(observer: Any, selector: Selector, name: Notification.Name, obj: Any? = nil) {
| `- error: cannot find type 'Selector' in scope
14 | NotificationCenter.default.addObserver(observer, selector: selector, name: name, object: obj)
15 | }
[18/22] Compiling MPUtils DateExtension.swift
/host/spi-builder-workspace/Sources/MPUtils/Extensions/DateExtension.swift:13:25: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
11 | public extension Date {
12 | func remainingTimeString(toDate: Date) -> String? {
13 | let formatter = DateComponentsFormatter()
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
14 | formatter.zeroFormattingBehavior = .default
15 | formatter.allowedUnits = [.hour, .minute, .second]
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int, Sendable {
4 | case positional
[19/22] Compiling MPUtils NSAttributedStringExtension.swift
[20/22] Compiling MPUtils Logger.swift
[21/22] Compiling MPUtils URLExtension.swift
[22/22] Compiling MPUtils StringExtension.swift
BUILD FAILURE 6.1 linux