Build Information
Failed to build SwiftBoost, reference v4 (09a8b0
), with Swift 6.0 for Linux on 22 Apr 2025 18:51:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sparrowcode/SwiftBoost.git
Reference: v4
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/sparrowcode/SwiftBoost
* branch v4 -> FETCH_HEAD
* [new branch] v4 -> origin/v4
HEAD is now at 09a8b01 Update UIApplicationExtension.swift
Cloned https://github.com/sparrowcode/SwiftBoost.git
Revision (git rev-parse @):
09a8b017b0c98b0015f7a832bcfcfc7524457dd7
SUCCESS checkout https://github.com/sparrowcode/SwiftBoost.git at v4
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/sparrowcode/SwiftBoost.git
https://github.com/sparrowcode/SwiftBoost.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "SwiftBoost",
"name" : "SwiftBoost",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "SwiftBoost",
"targets" : [
"SwiftBoost"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SwiftBoost",
"module_type" : "SwiftTarget",
"name" : "SwiftBoost",
"path" : "Sources/SwiftBoost",
"product_memberships" : [
"SwiftBoost"
],
"sources" : [
"CoreGraphics/Extensions/CGAffineTransformExtension.swift",
"CoreGraphics/Extensions/CGFloatExtension.swift",
"CoreGraphics/Extensions/CGPointExtension.swift",
"CoreGraphics/Extensions/CGRectExtension.swift",
"CoreGraphics/Extensions/CGSizeExtension.swift",
"Foundation/Delay.swift",
"Foundation/Do.swift",
"Foundation/Extensions/ArrayExtension.swift",
"Foundation/Extensions/BoolExtension.swift",
"Foundation/Extensions/CalendarExtension.swift",
"Foundation/Extensions/CollectionExtension.swift",
"Foundation/Extensions/DateExtension.swift",
"Foundation/Extensions/FileManager/FileManagerDestination.swift",
"Foundation/Extensions/FileManager/FileManagerExtension.swift",
"Foundation/Extensions/LocaleExtension.swift",
"Foundation/Extensions/MirrorExtension.swift",
"Foundation/Extensions/MutableCollectionExtension.swift",
"Foundation/Extensions/NSObjectExtension.swift",
"Foundation/Extensions/NotificationCenterExtension.swift",
"Foundation/Extensions/StringExtension.swift",
"Foundation/Extensions/URLExtension.swift",
"Foundation/Extensions/URLSessionExtension.swift",
"Foundation/Extensions/UserDefaultsExtension.swift",
"Foundation/Logger.swift",
"Foundation/Typealiases/ClosuresExtension.swift",
"UIKit/Extensions/NSDirectionalEdgeInsetsExtension.swift",
"UIKit/Extensions/UIAlertControllerExtension.swift",
"UIKit/Extensions/UIApplicationExtension.swift",
"UIKit/Extensions/UIBezierPathExtension.swift",
"UIKit/Extensions/UIButtonExtension.swift",
"UIKit/Extensions/UICollectionViewExtension.swift",
"UIKit/Extensions/UIColorExtension.swift",
"UIKit/Extensions/UIDeviceExtension.swift",
"UIKit/Extensions/UIEdgeInsetsExtension.swift",
"UIKit/Extensions/UIFeedbackGeneratorExtension.swift",
"UIKit/Extensions/UIFontExtension.swift",
"UIKit/Extensions/UIGestureRecognizerExtension.swift",
"UIKit/Extensions/UIImageExtension.swift",
"UIKit/Extensions/UIImageViewExtension.swift",
"UIKit/Extensions/UILabelExtension.swift",
"UIKit/Extensions/UINavigationBarExtension.swift",
"UIKit/Extensions/UINavigationControllerExtension.swift",
"UIKit/Extensions/UIScreenExtension.swift",
"UIKit/Extensions/UIScrollViewExtension.swift",
"UIKit/Extensions/UISegmentedControlExtension.swift",
"UIKit/Extensions/UISliderExtension.swift",
"UIKit/Extensions/UITabBarControllerExtension.swift",
"UIKit/Extensions/UITabBarExtension.swift",
"UIKit/Extensions/UITableViewExtension.swift",
"UIKit/Extensions/UITextFieldExtension.swift",
"UIKit/Extensions/UITextViewExtension.swift",
"UIKit/Extensions/UIToolbarExtension.swift",
"UIKit/Extensions/UIViewControllerExtension.swift",
"UIKit/Extensions/UIViewExtension.swift",
"UIKit/Extensions/UIVisualEffectViewExtension.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/52] Emitting module SwiftBoost
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:17:52: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | - parameter unitsStyle: Style of formatting of units.
16 | */
17 | func formatted(numberOfUnits: Int, unitsStyle: DateComponentsFormatter.UnitsStyle = .full) -> String? {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
18 | let formatter = DateComponentsFormatter()
19 | formatter.maximumUnitCount = 1
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
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:3:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
1 | import Foundation
2 |
3 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
4 |
5 | enum AppError: Error {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Logger.swift:81:20: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 | var fileNameMode: FileNameMode = .show
80 |
81 | static var shared = Configurator()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | private init() {}
83 | }
[4/58] Compiling SwiftBoost UITextFieldExtension.swift
[5/58] Compiling SwiftBoost UITextViewExtension.swift
[6/58] Compiling SwiftBoost UIToolbarExtension.swift
[7/58] Compiling SwiftBoost UIViewControllerExtension.swift
[8/58] Compiling SwiftBoost UIViewExtension.swift
[9/58] Compiling SwiftBoost UIVisualEffectViewExtension.swift
[10/58] Compiling SwiftBoost UIFontExtension.swift
[11/58] Compiling SwiftBoost UIGestureRecognizerExtension.swift
[12/58] Compiling SwiftBoost UIImageExtension.swift
[13/58] Compiling SwiftBoost UIImageViewExtension.swift
[14/58] Compiling SwiftBoost UILabelExtension.swift
[15/58] Compiling SwiftBoost UINavigationBarExtension.swift
[16/58] Compiling SwiftBoost UINavigationControllerExtension.swift
[17/58] Compiling SwiftBoost UIScreenExtension.swift
[18/58] Compiling SwiftBoost UIScrollViewExtension.swift
[19/58] Compiling SwiftBoost UISegmentedControlExtension.swift
[20/58] Compiling SwiftBoost UISliderExtension.swift
[21/58] Compiling SwiftBoost UITabBarControllerExtension.swift
[22/58] Compiling SwiftBoost UITabBarExtension.swift
[23/58] Compiling SwiftBoost UITableViewExtension.swift
[24/58] Compiling SwiftBoost URLSessionExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:3:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
1 | import Foundation
2 |
3 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
4 |
5 | enum AppError: Error {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/UserDefaultsExtension.swift:15:28: error: cannot find 'value' in scope
13 |
14 | func get<T: Codable>(objectType: T.Type, forKey: String) throws -> T? {
15 | guard let result = value(forKey: forKey) as? Data else { return nil }
| `- error: cannot find 'value' in scope
16 | return try JSONDecoder().decode(objectType, from: result)
17 | }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Logger.swift:81:20: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 | var fileNameMode: FileNameMode = .show
80 |
81 | static var shared = Configurator()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | private init() {}
83 | }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:39:17: error: cannot find type 'HTTPMethod' in scope
37 | static func request(
38 | url: String,
39 | method: HTTPMethod,
| `- error: cannot find type 'HTTPMethod' in scope
40 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
41 | {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:40:32: error: cannot find type 'AppError' in scope
38 | url: String,
39 | method: HTTPMethod,
40 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
| `- error: cannot find type 'AppError' in scope
41 | {
42 | guard let url = URL(string: url) else {
[25/58] Compiling SwiftBoost UserDefaultsExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:3:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
1 | import Foundation
2 |
3 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
4 |
5 | enum AppError: Error {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/UserDefaultsExtension.swift:15:28: error: cannot find 'value' in scope
13 |
14 | func get<T: Codable>(objectType: T.Type, forKey: String) throws -> T? {
15 | guard let result = value(forKey: forKey) as? Data else { return nil }
| `- error: cannot find 'value' in scope
16 | return try JSONDecoder().decode(objectType, from: result)
17 | }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Logger.swift:81:20: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 | var fileNameMode: FileNameMode = .show
80 |
81 | static var shared = Configurator()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | private init() {}
83 | }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:39:17: error: cannot find type 'HTTPMethod' in scope
37 | static func request(
38 | url: String,
39 | method: HTTPMethod,
| `- error: cannot find type 'HTTPMethod' in scope
40 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
41 | {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:40:32: error: cannot find type 'AppError' in scope
38 | url: String,
39 | method: HTTPMethod,
40 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
| `- error: cannot find type 'AppError' in scope
41 | {
42 | guard let url = URL(string: url) else {
[26/58] Compiling SwiftBoost Logger.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:3:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
1 | import Foundation
2 |
3 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
4 |
5 | enum AppError: Error {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/UserDefaultsExtension.swift:15:28: error: cannot find 'value' in scope
13 |
14 | func get<T: Codable>(objectType: T.Type, forKey: String) throws -> T? {
15 | guard let result = value(forKey: forKey) as? Data else { return nil }
| `- error: cannot find 'value' in scope
16 | return try JSONDecoder().decode(objectType, from: result)
17 | }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Logger.swift:81:20: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 | var fileNameMode: FileNameMode = .show
80 |
81 | static var shared = Configurator()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | private init() {}
83 | }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:39:17: error: cannot find type 'HTTPMethod' in scope
37 | static func request(
38 | url: String,
39 | method: HTTPMethod,
| `- error: cannot find type 'HTTPMethod' in scope
40 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
41 | {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:40:32: error: cannot find type 'AppError' in scope
38 | url: String,
39 | method: HTTPMethod,
40 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
| `- error: cannot find type 'AppError' in scope
41 | {
42 | guard let url = URL(string: url) else {
[27/58] Compiling SwiftBoost ClosuresExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:3:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
1 | import Foundation
2 |
3 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
4 |
5 | enum AppError: Error {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/UserDefaultsExtension.swift:15:28: error: cannot find 'value' in scope
13 |
14 | func get<T: Codable>(objectType: T.Type, forKey: String) throws -> T? {
15 | guard let result = value(forKey: forKey) as? Data else { return nil }
| `- error: cannot find 'value' in scope
16 | return try JSONDecoder().decode(objectType, from: result)
17 | }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Logger.swift:81:20: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 | var fileNameMode: FileNameMode = .show
80 |
81 | static var shared = Configurator()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | private init() {}
83 | }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:39:17: error: cannot find type 'HTTPMethod' in scope
37 | static func request(
38 | url: String,
39 | method: HTTPMethod,
| `- error: cannot find type 'HTTPMethod' in scope
40 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
41 | {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:40:32: error: cannot find type 'AppError' in scope
38 | url: String,
39 | method: HTTPMethod,
40 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
| `- error: cannot find type 'AppError' in scope
41 | {
42 | guard let url = URL(string: url) else {
[28/58] Compiling SwiftBoost NSDirectionalEdgeInsetsExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:3:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
1 | import Foundation
2 |
3 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
4 |
5 | enum AppError: Error {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/UserDefaultsExtension.swift:15:28: error: cannot find 'value' in scope
13 |
14 | func get<T: Codable>(objectType: T.Type, forKey: String) throws -> T? {
15 | guard let result = value(forKey: forKey) as? Data else { return nil }
| `- error: cannot find 'value' in scope
16 | return try JSONDecoder().decode(objectType, from: result)
17 | }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Logger.swift:81:20: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 | var fileNameMode: FileNameMode = .show
80 |
81 | static var shared = Configurator()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | private init() {}
83 | }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:39:17: error: cannot find type 'HTTPMethod' in scope
37 | static func request(
38 | url: String,
39 | method: HTTPMethod,
| `- error: cannot find type 'HTTPMethod' in scope
40 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
41 | {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:40:32: error: cannot find type 'AppError' in scope
38 | url: String,
39 | method: HTTPMethod,
40 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
| `- error: cannot find type 'AppError' in scope
41 | {
42 | guard let url = URL(string: url) else {
[29/58] Compiling SwiftBoost UIAlertControllerExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:3:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
1 | import Foundation
2 |
3 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
4 |
5 | enum AppError: Error {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/UserDefaultsExtension.swift:15:28: error: cannot find 'value' in scope
13 |
14 | func get<T: Codable>(objectType: T.Type, forKey: String) throws -> T? {
15 | guard let result = value(forKey: forKey) as? Data else { return nil }
| `- error: cannot find 'value' in scope
16 | return try JSONDecoder().decode(objectType, from: result)
17 | }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Logger.swift:81:20: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 | var fileNameMode: FileNameMode = .show
80 |
81 | static var shared = Configurator()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | private init() {}
83 | }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:39:17: error: cannot find type 'HTTPMethod' in scope
37 | static func request(
38 | url: String,
39 | method: HTTPMethod,
| `- error: cannot find type 'HTTPMethod' in scope
40 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
41 | {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:40:32: error: cannot find type 'AppError' in scope
38 | url: String,
39 | method: HTTPMethod,
40 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
| `- error: cannot find type 'AppError' in scope
41 | {
42 | guard let url = URL(string: url) else {
[30/58] Compiling SwiftBoost UIApplicationExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:3:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
1 | import Foundation
2 |
3 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
4 |
5 | enum AppError: Error {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/UserDefaultsExtension.swift:15:28: error: cannot find 'value' in scope
13 |
14 | func get<T: Codable>(objectType: T.Type, forKey: String) throws -> T? {
15 | guard let result = value(forKey: forKey) as? Data else { return nil }
| `- error: cannot find 'value' in scope
16 | return try JSONDecoder().decode(objectType, from: result)
17 | }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Logger.swift:81:20: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 | var fileNameMode: FileNameMode = .show
80 |
81 | static var shared = Configurator()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | private init() {}
83 | }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:39:17: error: cannot find type 'HTTPMethod' in scope
37 | static func request(
38 | url: String,
39 | method: HTTPMethod,
| `- error: cannot find type 'HTTPMethod' in scope
40 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
41 | {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:40:32: error: cannot find type 'AppError' in scope
38 | url: String,
39 | method: HTTPMethod,
40 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
| `- error: cannot find type 'AppError' in scope
41 | {
42 | guard let url = URL(string: url) else {
[31/58] Compiling SwiftBoost UIBezierPathExtension.swift
[32/58] Compiling SwiftBoost UIButtonExtension.swift
[33/58] Compiling SwiftBoost UICollectionViewExtension.swift
[34/58] Compiling SwiftBoost UIColorExtension.swift
[35/58] Compiling SwiftBoost UIDeviceExtension.swift
[36/58] Compiling SwiftBoost UIEdgeInsetsExtension.swift
[37/58] Compiling SwiftBoost UIFeedbackGeneratorExtension.swift
[38/58] Compiling SwiftBoost LocaleExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/LocaleExtension.swift:31:15: warning: 'isoRegionCodes' is deprecated: Use `Locale.Region.isoRegions` instead
29 |
30 | static func flagEmoji(forRegionCode isoRegionCode: String) -> String? {
31 | guard isoRegionCodes.contains(isoRegionCode) else { return nil }
| `- warning: 'isoRegionCodes' is deprecated: Use `Locale.Region.isoRegions` instead
32 | return isoRegionCode.unicodeScalars.reduce(into: String()) {
33 | guard let flagScalar = UnicodeScalar(UInt32(127_397) + $1.value) else { return }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/NotificationCenterExtension.swift:7:40: warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
5 | public func addObserver(_ names: NSNotification.Name..., using block: @escaping @Sendable (Notification) -> Void) {
6 | for name in names {
7 | NotificationCenter.default.addObserver(forName: name, object: nil, queue: nil, using: block)
| `- warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
8 | }
9 | }
[39/58] Compiling SwiftBoost MirrorExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/LocaleExtension.swift:31:15: warning: 'isoRegionCodes' is deprecated: Use `Locale.Region.isoRegions` instead
29 |
30 | static func flagEmoji(forRegionCode isoRegionCode: String) -> String? {
31 | guard isoRegionCodes.contains(isoRegionCode) else { return nil }
| `- warning: 'isoRegionCodes' is deprecated: Use `Locale.Region.isoRegions` instead
32 | return isoRegionCode.unicodeScalars.reduce(into: String()) {
33 | guard let flagScalar = UnicodeScalar(UInt32(127_397) + $1.value) else { return }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/NotificationCenterExtension.swift:7:40: warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
5 | public func addObserver(_ names: NSNotification.Name..., using block: @escaping @Sendable (Notification) -> Void) {
6 | for name in names {
7 | NotificationCenter.default.addObserver(forName: name, object: nil, queue: nil, using: block)
| `- warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
8 | }
9 | }
[40/58] Compiling SwiftBoost MutableCollectionExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/LocaleExtension.swift:31:15: warning: 'isoRegionCodes' is deprecated: Use `Locale.Region.isoRegions` instead
29 |
30 | static func flagEmoji(forRegionCode isoRegionCode: String) -> String? {
31 | guard isoRegionCodes.contains(isoRegionCode) else { return nil }
| `- warning: 'isoRegionCodes' is deprecated: Use `Locale.Region.isoRegions` instead
32 | return isoRegionCode.unicodeScalars.reduce(into: String()) {
33 | guard let flagScalar = UnicodeScalar(UInt32(127_397) + $1.value) else { return }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/NotificationCenterExtension.swift:7:40: warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
5 | public func addObserver(_ names: NSNotification.Name..., using block: @escaping @Sendable (Notification) -> Void) {
6 | for name in names {
7 | NotificationCenter.default.addObserver(forName: name, object: nil, queue: nil, using: block)
| `- warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
8 | }
9 | }
[41/58] Compiling SwiftBoost NSObjectExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/LocaleExtension.swift:31:15: warning: 'isoRegionCodes' is deprecated: Use `Locale.Region.isoRegions` instead
29 |
30 | static func flagEmoji(forRegionCode isoRegionCode: String) -> String? {
31 | guard isoRegionCodes.contains(isoRegionCode) else { return nil }
| `- warning: 'isoRegionCodes' is deprecated: Use `Locale.Region.isoRegions` instead
32 | return isoRegionCode.unicodeScalars.reduce(into: String()) {
33 | guard let flagScalar = UnicodeScalar(UInt32(127_397) + $1.value) else { return }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/NotificationCenterExtension.swift:7:40: warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
5 | public func addObserver(_ names: NSNotification.Name..., using block: @escaping @Sendable (Notification) -> Void) {
6 | for name in names {
7 | NotificationCenter.default.addObserver(forName: name, object: nil, queue: nil, using: block)
| `- warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
8 | }
9 | }
[42/58] Compiling SwiftBoost NotificationCenterExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/LocaleExtension.swift:31:15: warning: 'isoRegionCodes' is deprecated: Use `Locale.Region.isoRegions` instead
29 |
30 | static func flagEmoji(forRegionCode isoRegionCode: String) -> String? {
31 | guard isoRegionCodes.contains(isoRegionCode) else { return nil }
| `- warning: 'isoRegionCodes' is deprecated: Use `Locale.Region.isoRegions` instead
32 | return isoRegionCode.unicodeScalars.reduce(into: String()) {
33 | guard let flagScalar = UnicodeScalar(UInt32(127_397) + $1.value) else { return }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/NotificationCenterExtension.swift:7:40: warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
5 | public func addObserver(_ names: NSNotification.Name..., using block: @escaping @Sendable (Notification) -> Void) {
6 | for name in names {
7 | NotificationCenter.default.addObserver(forName: name, object: nil, queue: nil, using: block)
| `- warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
8 | }
9 | }
[43/58] Compiling SwiftBoost StringExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/LocaleExtension.swift:31:15: warning: 'isoRegionCodes' is deprecated: Use `Locale.Region.isoRegions` instead
29 |
30 | static func flagEmoji(forRegionCode isoRegionCode: String) -> String? {
31 | guard isoRegionCodes.contains(isoRegionCode) else { return nil }
| `- warning: 'isoRegionCodes' is deprecated: Use `Locale.Region.isoRegions` instead
32 | return isoRegionCode.unicodeScalars.reduce(into: String()) {
33 | guard let flagScalar = UnicodeScalar(UInt32(127_397) + $1.value) else { return }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/NotificationCenterExtension.swift:7:40: warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
5 | public func addObserver(_ names: NSNotification.Name..., using block: @escaping @Sendable (Notification) -> Void) {
6 | for name in names {
7 | NotificationCenter.default.addObserver(forName: name, object: nil, queue: nil, using: block)
| `- warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
8 | }
9 | }
[44/58] Compiling SwiftBoost URLExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/LocaleExtension.swift:31:15: warning: 'isoRegionCodes' is deprecated: Use `Locale.Region.isoRegions` instead
29 |
30 | static func flagEmoji(forRegionCode isoRegionCode: String) -> String? {
31 | guard isoRegionCodes.contains(isoRegionCode) else { return nil }
| `- warning: 'isoRegionCodes' is deprecated: Use `Locale.Region.isoRegions` instead
32 | return isoRegionCode.unicodeScalars.reduce(into: String()) {
33 | guard let flagScalar = UnicodeScalar(UInt32(127_397) + $1.value) else { return }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/NotificationCenterExtension.swift:7:40: warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
5 | public func addObserver(_ names: NSNotification.Name..., using block: @escaping @Sendable (Notification) -> Void) {
6 | for name in names {
7 | NotificationCenter.default.addObserver(forName: name, object: nil, queue: nil, using: block)
| `- warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
8 | }
9 | }
[45/58] Compiling SwiftBoost CGAffineTransformExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Delay.swift:6:9: warning: sending 'closure' risks causing data races; this is an error in the Swift 6 language mode
4 | let when = DispatchTime.now() + delay
5 | DispatchQueue.main.asyncAfter(deadline: when) {
6 | closure()
| |- warning: sending 'closure' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'closure' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
7 | }
8 | }
[46/58] Compiling SwiftBoost CGFloatExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Delay.swift:6:9: warning: sending 'closure' risks causing data races; this is an error in the Swift 6 language mode
4 | let when = DispatchTime.now() + delay
5 | DispatchQueue.main.asyncAfter(deadline: when) {
6 | closure()
| |- warning: sending 'closure' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'closure' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
7 | }
8 | }
[47/58] Compiling SwiftBoost CGPointExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Delay.swift:6:9: warning: sending 'closure' risks causing data races; this is an error in the Swift 6 language mode
4 | let when = DispatchTime.now() + delay
5 | DispatchQueue.main.asyncAfter(deadline: when) {
6 | closure()
| |- warning: sending 'closure' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'closure' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
7 | }
8 | }
[48/58] Compiling SwiftBoost CGRectExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Delay.swift:6:9: warning: sending 'closure' risks causing data races; this is an error in the Swift 6 language mode
4 | let when = DispatchTime.now() + delay
5 | DispatchQueue.main.asyncAfter(deadline: when) {
6 | closure()
| |- warning: sending 'closure' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'closure' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
7 | }
8 | }
[49/58] Compiling SwiftBoost CGSizeExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Delay.swift:6:9: warning: sending 'closure' risks causing data races; this is an error in the Swift 6 language mode
4 | let when = DispatchTime.now() + delay
5 | DispatchQueue.main.asyncAfter(deadline: when) {
6 | closure()
| |- warning: sending 'closure' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'closure' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
7 | }
8 | }
[50/58] Compiling SwiftBoost Delay.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Delay.swift:6:9: warning: sending 'closure' risks causing data races; this is an error in the Swift 6 language mode
4 | let when = DispatchTime.now() + delay
5 | DispatchQueue.main.asyncAfter(deadline: when) {
6 | closure()
| |- warning: sending 'closure' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'closure' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
7 | }
8 | }
[51/58] Compiling SwiftBoost Do.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Delay.swift:6:9: warning: sending 'closure' risks causing data races; this is an error in the Swift 6 language mode
4 | let when = DispatchTime.now() + delay
5 | DispatchQueue.main.asyncAfter(deadline: when) {
6 | closure()
| |- warning: sending 'closure' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'closure' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
7 | }
8 | }
[52/58] Compiling SwiftBoost ArrayExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:17:52: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | - parameter unitsStyle: Style of formatting of units.
16 | */
17 | func formatted(numberOfUnits: Int, unitsStyle: DateComponentsFormatter.UnitsStyle = .full) -> String? {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
18 | let formatter = DateComponentsFormatter()
19 | formatter.maximumUnitCount = 1
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
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:18:25: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
16 | */
17 | func formatted(numberOfUnits: Int, unitsStyle: DateComponentsFormatter.UnitsStyle = .full) -> String? {
18 | let formatter = DateComponentsFormatter()
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
19 | formatter.maximumUnitCount = 1
20 | formatter.unitsStyle = unitsStyle
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
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:21:45: error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
19 | formatter.maximumUnitCount = 1
20 | formatter.unitsStyle = unitsStyle
21 | formatter.zeroFormattingBehavior = .dropAll
| `- error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
22 | var dateComponents = DateComponents()
23 | dateComponents.setValue(numberOfUnits, for: self)
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/FileManager/FileManagerExtension.swift:29:59: error: type 'Data.WritingOptions' has no member 'atomicWrite'
27 | }
28 | // Save file to directory
29 | try data.write(to: destination.url, options: .atomicWrite)
| `- error: type 'Data.WritingOptions' has no member 'atomicWrite'
30 | } catch {
31 | debug("Can't save data, error: \(error.localizedDescription)")
[53/58] Compiling SwiftBoost BoolExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:17:52: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | - parameter unitsStyle: Style of formatting of units.
16 | */
17 | func formatted(numberOfUnits: Int, unitsStyle: DateComponentsFormatter.UnitsStyle = .full) -> String? {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
18 | let formatter = DateComponentsFormatter()
19 | formatter.maximumUnitCount = 1
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
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:18:25: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
16 | */
17 | func formatted(numberOfUnits: Int, unitsStyle: DateComponentsFormatter.UnitsStyle = .full) -> String? {
18 | let formatter = DateComponentsFormatter()
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
19 | formatter.maximumUnitCount = 1
20 | formatter.unitsStyle = unitsStyle
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
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:21:45: error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
19 | formatter.maximumUnitCount = 1
20 | formatter.unitsStyle = unitsStyle
21 | formatter.zeroFormattingBehavior = .dropAll
| `- error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
22 | var dateComponents = DateComponents()
23 | dateComponents.setValue(numberOfUnits, for: self)
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/FileManager/FileManagerExtension.swift:29:59: error: type 'Data.WritingOptions' has no member 'atomicWrite'
27 | }
28 | // Save file to directory
29 | try data.write(to: destination.url, options: .atomicWrite)
| `- error: type 'Data.WritingOptions' has no member 'atomicWrite'
30 | } catch {
31 | debug("Can't save data, error: \(error.localizedDescription)")
[54/58] Compiling SwiftBoost CalendarExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:17:52: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | - parameter unitsStyle: Style of formatting of units.
16 | */
17 | func formatted(numberOfUnits: Int, unitsStyle: DateComponentsFormatter.UnitsStyle = .full) -> String? {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
18 | let formatter = DateComponentsFormatter()
19 | formatter.maximumUnitCount = 1
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
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:18:25: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
16 | */
17 | func formatted(numberOfUnits: Int, unitsStyle: DateComponentsFormatter.UnitsStyle = .full) -> String? {
18 | let formatter = DateComponentsFormatter()
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
19 | formatter.maximumUnitCount = 1
20 | formatter.unitsStyle = unitsStyle
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
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:21:45: error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
19 | formatter.maximumUnitCount = 1
20 | formatter.unitsStyle = unitsStyle
21 | formatter.zeroFormattingBehavior = .dropAll
| `- error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
22 | var dateComponents = DateComponents()
23 | dateComponents.setValue(numberOfUnits, for: self)
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/FileManager/FileManagerExtension.swift:29:59: error: type 'Data.WritingOptions' has no member 'atomicWrite'
27 | }
28 | // Save file to directory
29 | try data.write(to: destination.url, options: .atomicWrite)
| `- error: type 'Data.WritingOptions' has no member 'atomicWrite'
30 | } catch {
31 | debug("Can't save data, error: \(error.localizedDescription)")
[55/58] Compiling SwiftBoost CollectionExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:17:52: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | - parameter unitsStyle: Style of formatting of units.
16 | */
17 | func formatted(numberOfUnits: Int, unitsStyle: DateComponentsFormatter.UnitsStyle = .full) -> String? {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
18 | let formatter = DateComponentsFormatter()
19 | formatter.maximumUnitCount = 1
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
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:18:25: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
16 | */
17 | func formatted(numberOfUnits: Int, unitsStyle: DateComponentsFormatter.UnitsStyle = .full) -> String? {
18 | let formatter = DateComponentsFormatter()
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
19 | formatter.maximumUnitCount = 1
20 | formatter.unitsStyle = unitsStyle
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
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:21:45: error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
19 | formatter.maximumUnitCount = 1
20 | formatter.unitsStyle = unitsStyle
21 | formatter.zeroFormattingBehavior = .dropAll
| `- error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
22 | var dateComponents = DateComponents()
23 | dateComponents.setValue(numberOfUnits, for: self)
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/FileManager/FileManagerExtension.swift:29:59: error: type 'Data.WritingOptions' has no member 'atomicWrite'
27 | }
28 | // Save file to directory
29 | try data.write(to: destination.url, options: .atomicWrite)
| `- error: type 'Data.WritingOptions' has no member 'atomicWrite'
30 | } catch {
31 | debug("Can't save data, error: \(error.localizedDescription)")
[56/58] Compiling SwiftBoost DateExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:17:52: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | - parameter unitsStyle: Style of formatting of units.
16 | */
17 | func formatted(numberOfUnits: Int, unitsStyle: DateComponentsFormatter.UnitsStyle = .full) -> String? {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
18 | let formatter = DateComponentsFormatter()
19 | formatter.maximumUnitCount = 1
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
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:18:25: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
16 | */
17 | func formatted(numberOfUnits: Int, unitsStyle: DateComponentsFormatter.UnitsStyle = .full) -> String? {
18 | let formatter = DateComponentsFormatter()
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
19 | formatter.maximumUnitCount = 1
20 | formatter.unitsStyle = unitsStyle
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
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:21:45: error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
19 | formatter.maximumUnitCount = 1
20 | formatter.unitsStyle = unitsStyle
21 | formatter.zeroFormattingBehavior = .dropAll
| `- error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
22 | var dateComponents = DateComponents()
23 | dateComponents.setValue(numberOfUnits, for: self)
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/FileManager/FileManagerExtension.swift:29:59: error: type 'Data.WritingOptions' has no member 'atomicWrite'
27 | }
28 | // Save file to directory
29 | try data.write(to: destination.url, options: .atomicWrite)
| `- error: type 'Data.WritingOptions' has no member 'atomicWrite'
30 | } catch {
31 | debug("Can't save data, error: \(error.localizedDescription)")
[57/58] Compiling SwiftBoost FileManagerDestination.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:17:52: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | - parameter unitsStyle: Style of formatting of units.
16 | */
17 | func formatted(numberOfUnits: Int, unitsStyle: DateComponentsFormatter.UnitsStyle = .full) -> String? {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
18 | let formatter = DateComponentsFormatter()
19 | formatter.maximumUnitCount = 1
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
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:18:25: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
16 | */
17 | func formatted(numberOfUnits: Int, unitsStyle: DateComponentsFormatter.UnitsStyle = .full) -> String? {
18 | let formatter = DateComponentsFormatter()
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
19 | formatter.maximumUnitCount = 1
20 | formatter.unitsStyle = unitsStyle
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
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:21:45: error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
19 | formatter.maximumUnitCount = 1
20 | formatter.unitsStyle = unitsStyle
21 | formatter.zeroFormattingBehavior = .dropAll
| `- error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
22 | var dateComponents = DateComponents()
23 | dateComponents.setValue(numberOfUnits, for: self)
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/FileManager/FileManagerExtension.swift:29:59: error: type 'Data.WritingOptions' has no member 'atomicWrite'
27 | }
28 | // Save file to directory
29 | try data.write(to: destination.url, options: .atomicWrite)
| `- error: type 'Data.WritingOptions' has no member 'atomicWrite'
30 | } catch {
31 | debug("Can't save data, error: \(error.localizedDescription)")
[58/58] Compiling SwiftBoost FileManagerExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:17:52: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | - parameter unitsStyle: Style of formatting of units.
16 | */
17 | func formatted(numberOfUnits: Int, unitsStyle: DateComponentsFormatter.UnitsStyle = .full) -> String? {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
18 | let formatter = DateComponentsFormatter()
19 | formatter.maximumUnitCount = 1
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
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:18:25: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
16 | */
17 | func formatted(numberOfUnits: Int, unitsStyle: DateComponentsFormatter.UnitsStyle = .full) -> String? {
18 | let formatter = DateComponentsFormatter()
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
19 | formatter.maximumUnitCount = 1
20 | formatter.unitsStyle = unitsStyle
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
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:21:45: error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
19 | formatter.maximumUnitCount = 1
20 | formatter.unitsStyle = unitsStyle
21 | formatter.zeroFormattingBehavior = .dropAll
| `- error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
22 | var dateComponents = DateComponents()
23 | dateComponents.setValue(numberOfUnits, for: self)
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/FileManager/FileManagerExtension.swift:29:59: error: type 'Data.WritingOptions' has no member 'atomicWrite'
27 | }
28 | // Save file to directory
29 | try data.write(to: destination.url, options: .atomicWrite)
| `- error: type 'Data.WritingOptions' has no member 'atomicWrite'
30 | } catch {
31 | debug("Can't save data, error: \(error.localizedDescription)")
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/51] Compiling SwiftBoost UIScreenExtension.swift
[3/51] Compiling SwiftBoost UIScrollViewExtension.swift
[4/51] Compiling SwiftBoost UISegmentedControlExtension.swift
[5/51] Compiling SwiftBoost UISliderExtension.swift
[6/51] Compiling SwiftBoost UITabBarControllerExtension.swift
[7/51] Compiling SwiftBoost UITabBarExtension.swift
[8/51] Compiling SwiftBoost UITableViewExtension.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/57] Emitting module SwiftBoost
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:17:52: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | - parameter unitsStyle: Style of formatting of units.
16 | */
17 | func formatted(numberOfUnits: Int, unitsStyle: DateComponentsFormatter.UnitsStyle = .full) -> String? {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
18 | let formatter = DateComponentsFormatter()
19 | formatter.maximumUnitCount = 1
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
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:3:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
1 | import Foundation
2 |
3 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
4 |
5 | enum AppError: Error {
[10/57] Compiling SwiftBoost CGAffineTransformExtension.swift
[11/57] Compiling SwiftBoost CGFloatExtension.swift
[12/57] Compiling SwiftBoost CGPointExtension.swift
[13/57] Compiling SwiftBoost CGRectExtension.swift
[14/57] Compiling SwiftBoost CGSizeExtension.swift
[15/57] Compiling SwiftBoost Delay.swift
[16/57] Compiling SwiftBoost Do.swift
[17/57] Compiling SwiftBoost URLSessionExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:3:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
1 | import Foundation
2 |
3 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
4 |
5 | enum AppError: Error {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/UserDefaultsExtension.swift:15:28: error: cannot find 'value' in scope
13 |
14 | func get<T: Codable>(objectType: T.Type, forKey: String) throws -> T? {
15 | guard let result = value(forKey: forKey) as? Data else { return nil }
| `- error: cannot find 'value' in scope
16 | return try JSONDecoder().decode(objectType, from: result)
17 | }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:39:17: error: cannot find type 'HTTPMethod' in scope
37 | static func request(
38 | url: String,
39 | method: HTTPMethod,
| `- error: cannot find type 'HTTPMethod' in scope
40 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
41 | {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:40:32: error: cannot find type 'AppError' in scope
38 | url: String,
39 | method: HTTPMethod,
40 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
| `- error: cannot find type 'AppError' in scope
41 | {
42 | guard let url = URL(string: url) else {
[18/57] Compiling SwiftBoost UserDefaultsExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:3:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
1 | import Foundation
2 |
3 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
4 |
5 | enum AppError: Error {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/UserDefaultsExtension.swift:15:28: error: cannot find 'value' in scope
13 |
14 | func get<T: Codable>(objectType: T.Type, forKey: String) throws -> T? {
15 | guard let result = value(forKey: forKey) as? Data else { return nil }
| `- error: cannot find 'value' in scope
16 | return try JSONDecoder().decode(objectType, from: result)
17 | }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:39:17: error: cannot find type 'HTTPMethod' in scope
37 | static func request(
38 | url: String,
39 | method: HTTPMethod,
| `- error: cannot find type 'HTTPMethod' in scope
40 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
41 | {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:40:32: error: cannot find type 'AppError' in scope
38 | url: String,
39 | method: HTTPMethod,
40 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
| `- error: cannot find type 'AppError' in scope
41 | {
42 | guard let url = URL(string: url) else {
[19/57] Compiling SwiftBoost Logger.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:3:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
1 | import Foundation
2 |
3 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
4 |
5 | enum AppError: Error {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/UserDefaultsExtension.swift:15:28: error: cannot find 'value' in scope
13 |
14 | func get<T: Codable>(objectType: T.Type, forKey: String) throws -> T? {
15 | guard let result = value(forKey: forKey) as? Data else { return nil }
| `- error: cannot find 'value' in scope
16 | return try JSONDecoder().decode(objectType, from: result)
17 | }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:39:17: error: cannot find type 'HTTPMethod' in scope
37 | static func request(
38 | url: String,
39 | method: HTTPMethod,
| `- error: cannot find type 'HTTPMethod' in scope
40 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
41 | {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:40:32: error: cannot find type 'AppError' in scope
38 | url: String,
39 | method: HTTPMethod,
40 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
| `- error: cannot find type 'AppError' in scope
41 | {
42 | guard let url = URL(string: url) else {
[20/57] Compiling SwiftBoost ClosuresExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:3:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
1 | import Foundation
2 |
3 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
4 |
5 | enum AppError: Error {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/UserDefaultsExtension.swift:15:28: error: cannot find 'value' in scope
13 |
14 | func get<T: Codable>(objectType: T.Type, forKey: String) throws -> T? {
15 | guard let result = value(forKey: forKey) as? Data else { return nil }
| `- error: cannot find 'value' in scope
16 | return try JSONDecoder().decode(objectType, from: result)
17 | }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:39:17: error: cannot find type 'HTTPMethod' in scope
37 | static func request(
38 | url: String,
39 | method: HTTPMethod,
| `- error: cannot find type 'HTTPMethod' in scope
40 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
41 | {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:40:32: error: cannot find type 'AppError' in scope
38 | url: String,
39 | method: HTTPMethod,
40 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
| `- error: cannot find type 'AppError' in scope
41 | {
42 | guard let url = URL(string: url) else {
[21/57] Compiling SwiftBoost NSDirectionalEdgeInsetsExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:3:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
1 | import Foundation
2 |
3 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
4 |
5 | enum AppError: Error {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/UserDefaultsExtension.swift:15:28: error: cannot find 'value' in scope
13 |
14 | func get<T: Codable>(objectType: T.Type, forKey: String) throws -> T? {
15 | guard let result = value(forKey: forKey) as? Data else { return nil }
| `- error: cannot find 'value' in scope
16 | return try JSONDecoder().decode(objectType, from: result)
17 | }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:39:17: error: cannot find type 'HTTPMethod' in scope
37 | static func request(
38 | url: String,
39 | method: HTTPMethod,
| `- error: cannot find type 'HTTPMethod' in scope
40 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
41 | {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:40:32: error: cannot find type 'AppError' in scope
38 | url: String,
39 | method: HTTPMethod,
40 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
| `- error: cannot find type 'AppError' in scope
41 | {
42 | guard let url = URL(string: url) else {
[22/57] Compiling SwiftBoost UIAlertControllerExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:3:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
1 | import Foundation
2 |
3 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
4 |
5 | enum AppError: Error {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/UserDefaultsExtension.swift:15:28: error: cannot find 'value' in scope
13 |
14 | func get<T: Codable>(objectType: T.Type, forKey: String) throws -> T? {
15 | guard let result = value(forKey: forKey) as? Data else { return nil }
| `- error: cannot find 'value' in scope
16 | return try JSONDecoder().decode(objectType, from: result)
17 | }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:39:17: error: cannot find type 'HTTPMethod' in scope
37 | static func request(
38 | url: String,
39 | method: HTTPMethod,
| `- error: cannot find type 'HTTPMethod' in scope
40 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
41 | {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:40:32: error: cannot find type 'AppError' in scope
38 | url: String,
39 | method: HTTPMethod,
40 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
| `- error: cannot find type 'AppError' in scope
41 | {
42 | guard let url = URL(string: url) else {
[23/57] Compiling SwiftBoost UIApplicationExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:3:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
1 | import Foundation
2 |
3 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
4 |
5 | enum AppError: Error {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/UserDefaultsExtension.swift:15:28: error: cannot find 'value' in scope
13 |
14 | func get<T: Codable>(objectType: T.Type, forKey: String) throws -> T? {
15 | guard let result = value(forKey: forKey) as? Data else { return nil }
| `- error: cannot find 'value' in scope
16 | return try JSONDecoder().decode(objectType, from: result)
17 | }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:39:17: error: cannot find type 'HTTPMethod' in scope
37 | static func request(
38 | url: String,
39 | method: HTTPMethod,
| `- error: cannot find type 'HTTPMethod' in scope
40 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
41 | {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:40:32: error: cannot find type 'AppError' in scope
38 | url: String,
39 | method: HTTPMethod,
40 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
| `- error: cannot find type 'AppError' in scope
41 | {
42 | guard let url = URL(string: url) else {
[24/57] Compiling SwiftBoost ArrayExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:17:52: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | - parameter unitsStyle: Style of formatting of units.
16 | */
17 | func formatted(numberOfUnits: Int, unitsStyle: DateComponentsFormatter.UnitsStyle = .full) -> String? {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
18 | let formatter = DateComponentsFormatter()
19 | formatter.maximumUnitCount = 1
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
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:18:25: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
16 | */
17 | func formatted(numberOfUnits: Int, unitsStyle: DateComponentsFormatter.UnitsStyle = .full) -> String? {
18 | let formatter = DateComponentsFormatter()
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
19 | formatter.maximumUnitCount = 1
20 | formatter.unitsStyle = unitsStyle
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
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:21:45: error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
19 | formatter.maximumUnitCount = 1
20 | formatter.unitsStyle = unitsStyle
21 | formatter.zeroFormattingBehavior = .dropAll
| `- error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
22 | var dateComponents = DateComponents()
23 | dateComponents.setValue(numberOfUnits, for: self)
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/FileManager/FileManagerExtension.swift:29:59: error: type 'Data.WritingOptions' has no member 'atomicWrite'
27 | }
28 | // Save file to directory
29 | try data.write(to: destination.url, options: .atomicWrite)
| `- error: type 'Data.WritingOptions' has no member 'atomicWrite'
30 | } catch {
31 | debug("Can't save data, error: \(error.localizedDescription)")
[25/57] Compiling SwiftBoost BoolExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:17:52: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | - parameter unitsStyle: Style of formatting of units.
16 | */
17 | func formatted(numberOfUnits: Int, unitsStyle: DateComponentsFormatter.UnitsStyle = .full) -> String? {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
18 | let formatter = DateComponentsFormatter()
19 | formatter.maximumUnitCount = 1
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
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:18:25: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
16 | */
17 | func formatted(numberOfUnits: Int, unitsStyle: DateComponentsFormatter.UnitsStyle = .full) -> String? {
18 | let formatter = DateComponentsFormatter()
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
19 | formatter.maximumUnitCount = 1
20 | formatter.unitsStyle = unitsStyle
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
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:21:45: error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
19 | formatter.maximumUnitCount = 1
20 | formatter.unitsStyle = unitsStyle
21 | formatter.zeroFormattingBehavior = .dropAll
| `- error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
22 | var dateComponents = DateComponents()
23 | dateComponents.setValue(numberOfUnits, for: self)
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/FileManager/FileManagerExtension.swift:29:59: error: type 'Data.WritingOptions' has no member 'atomicWrite'
27 | }
28 | // Save file to directory
29 | try data.write(to: destination.url, options: .atomicWrite)
| `- error: type 'Data.WritingOptions' has no member 'atomicWrite'
30 | } catch {
31 | debug("Can't save data, error: \(error.localizedDescription)")
[26/57] Compiling SwiftBoost CalendarExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:17:52: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | - parameter unitsStyle: Style of formatting of units.
16 | */
17 | func formatted(numberOfUnits: Int, unitsStyle: DateComponentsFormatter.UnitsStyle = .full) -> String? {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
18 | let formatter = DateComponentsFormatter()
19 | formatter.maximumUnitCount = 1
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
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:18:25: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
16 | */
17 | func formatted(numberOfUnits: Int, unitsStyle: DateComponentsFormatter.UnitsStyle = .full) -> String? {
18 | let formatter = DateComponentsFormatter()
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
19 | formatter.maximumUnitCount = 1
20 | formatter.unitsStyle = unitsStyle
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
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:21:45: error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
19 | formatter.maximumUnitCount = 1
20 | formatter.unitsStyle = unitsStyle
21 | formatter.zeroFormattingBehavior = .dropAll
| `- error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
22 | var dateComponents = DateComponents()
23 | dateComponents.setValue(numberOfUnits, for: self)
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/FileManager/FileManagerExtension.swift:29:59: error: type 'Data.WritingOptions' has no member 'atomicWrite'
27 | }
28 | // Save file to directory
29 | try data.write(to: destination.url, options: .atomicWrite)
| `- error: type 'Data.WritingOptions' has no member 'atomicWrite'
30 | } catch {
31 | debug("Can't save data, error: \(error.localizedDescription)")
[27/57] Compiling SwiftBoost CollectionExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:17:52: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | - parameter unitsStyle: Style of formatting of units.
16 | */
17 | func formatted(numberOfUnits: Int, unitsStyle: DateComponentsFormatter.UnitsStyle = .full) -> String? {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
18 | let formatter = DateComponentsFormatter()
19 | formatter.maximumUnitCount = 1
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
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:18:25: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
16 | */
17 | func formatted(numberOfUnits: Int, unitsStyle: DateComponentsFormatter.UnitsStyle = .full) -> String? {
18 | let formatter = DateComponentsFormatter()
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
19 | formatter.maximumUnitCount = 1
20 | formatter.unitsStyle = unitsStyle
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
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:21:45: error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
19 | formatter.maximumUnitCount = 1
20 | formatter.unitsStyle = unitsStyle
21 | formatter.zeroFormattingBehavior = .dropAll
| `- error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
22 | var dateComponents = DateComponents()
23 | dateComponents.setValue(numberOfUnits, for: self)
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/FileManager/FileManagerExtension.swift:29:59: error: type 'Data.WritingOptions' has no member 'atomicWrite'
27 | }
28 | // Save file to directory
29 | try data.write(to: destination.url, options: .atomicWrite)
| `- error: type 'Data.WritingOptions' has no member 'atomicWrite'
30 | } catch {
31 | debug("Can't save data, error: \(error.localizedDescription)")
[28/57] Compiling SwiftBoost DateExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:17:52: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | - parameter unitsStyle: Style of formatting of units.
16 | */
17 | func formatted(numberOfUnits: Int, unitsStyle: DateComponentsFormatter.UnitsStyle = .full) -> String? {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
18 | let formatter = DateComponentsFormatter()
19 | formatter.maximumUnitCount = 1
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
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:18:25: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
16 | */
17 | func formatted(numberOfUnits: Int, unitsStyle: DateComponentsFormatter.UnitsStyle = .full) -> String? {
18 | let formatter = DateComponentsFormatter()
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
19 | formatter.maximumUnitCount = 1
20 | formatter.unitsStyle = unitsStyle
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
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:21:45: error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
19 | formatter.maximumUnitCount = 1
20 | formatter.unitsStyle = unitsStyle
21 | formatter.zeroFormattingBehavior = .dropAll
| `- error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
22 | var dateComponents = DateComponents()
23 | dateComponents.setValue(numberOfUnits, for: self)
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/FileManager/FileManagerExtension.swift:29:59: error: type 'Data.WritingOptions' has no member 'atomicWrite'
27 | }
28 | // Save file to directory
29 | try data.write(to: destination.url, options: .atomicWrite)
| `- error: type 'Data.WritingOptions' has no member 'atomicWrite'
30 | } catch {
31 | debug("Can't save data, error: \(error.localizedDescription)")
[29/57] Compiling SwiftBoost FileManagerDestination.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:17:52: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | - parameter unitsStyle: Style of formatting of units.
16 | */
17 | func formatted(numberOfUnits: Int, unitsStyle: DateComponentsFormatter.UnitsStyle = .full) -> String? {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
18 | let formatter = DateComponentsFormatter()
19 | formatter.maximumUnitCount = 1
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
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:18:25: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
16 | */
17 | func formatted(numberOfUnits: Int, unitsStyle: DateComponentsFormatter.UnitsStyle = .full) -> String? {
18 | let formatter = DateComponentsFormatter()
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
19 | formatter.maximumUnitCount = 1
20 | formatter.unitsStyle = unitsStyle
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
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:21:45: error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
19 | formatter.maximumUnitCount = 1
20 | formatter.unitsStyle = unitsStyle
21 | formatter.zeroFormattingBehavior = .dropAll
| `- error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
22 | var dateComponents = DateComponents()
23 | dateComponents.setValue(numberOfUnits, for: self)
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/FileManager/FileManagerExtension.swift:29:59: error: type 'Data.WritingOptions' has no member 'atomicWrite'
27 | }
28 | // Save file to directory
29 | try data.write(to: destination.url, options: .atomicWrite)
| `- error: type 'Data.WritingOptions' has no member 'atomicWrite'
30 | } catch {
31 | debug("Can't save data, error: \(error.localizedDescription)")
[30/57] Compiling SwiftBoost FileManagerExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:17:52: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
15 | - parameter unitsStyle: Style of formatting of units.
16 | */
17 | func formatted(numberOfUnits: Int, unitsStyle: DateComponentsFormatter.UnitsStyle = .full) -> String? {
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
18 | let formatter = DateComponentsFormatter()
19 | formatter.maximumUnitCount = 1
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
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:18:25: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
16 | */
17 | func formatted(numberOfUnits: Int, unitsStyle: DateComponentsFormatter.UnitsStyle = .full) -> String? {
18 | let formatter = DateComponentsFormatter()
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
19 | formatter.maximumUnitCount = 1
20 | formatter.unitsStyle = unitsStyle
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
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/CalendarExtension.swift:21:45: error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
19 | formatter.maximumUnitCount = 1
20 | formatter.unitsStyle = unitsStyle
21 | formatter.zeroFormattingBehavior = .dropAll
| `- error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
22 | var dateComponents = DateComponents()
23 | dateComponents.setValue(numberOfUnits, for: self)
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/FileManager/FileManagerExtension.swift:29:59: error: type 'Data.WritingOptions' has no member 'atomicWrite'
27 | }
28 | // Save file to directory
29 | try data.write(to: destination.url, options: .atomicWrite)
| `- error: type 'Data.WritingOptions' has no member 'atomicWrite'
30 | } catch {
31 | debug("Can't save data, error: \(error.localizedDescription)")
[31/57] Compiling SwiftBoost UITextFieldExtension.swift
[32/57] Compiling SwiftBoost UITextViewExtension.swift
[33/57] Compiling SwiftBoost UIToolbarExtension.swift
[34/57] Compiling SwiftBoost UIViewControllerExtension.swift
[35/57] Compiling SwiftBoost UIViewExtension.swift
[36/57] Compiling SwiftBoost UIVisualEffectViewExtension.swift
[37/57] Compiling SwiftBoost UIFontExtension.swift
[38/57] Compiling SwiftBoost UIGestureRecognizerExtension.swift
[39/57] Compiling SwiftBoost UIImageExtension.swift
[40/57] Compiling SwiftBoost UIImageViewExtension.swift
[41/57] Compiling SwiftBoost UILabelExtension.swift
[42/57] Compiling SwiftBoost UINavigationBarExtension.swift
[43/57] Compiling SwiftBoost UINavigationControllerExtension.swift
[44/57] Compiling SwiftBoost UIBezierPathExtension.swift
[45/57] Compiling SwiftBoost UIButtonExtension.swift
[46/57] Compiling SwiftBoost UICollectionViewExtension.swift
[47/57] Compiling SwiftBoost UIColorExtension.swift
[48/57] Compiling SwiftBoost UIDeviceExtension.swift
[49/57] Compiling SwiftBoost UIEdgeInsetsExtension.swift
[50/57] Compiling SwiftBoost UIFeedbackGeneratorExtension.swift
[51/57] Compiling SwiftBoost LocaleExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/LocaleExtension.swift:31:15: warning: 'isoRegionCodes' is deprecated: Use `Locale.Region.isoRegions` instead
29 |
30 | static func flagEmoji(forRegionCode isoRegionCode: String) -> String? {
31 | guard isoRegionCodes.contains(isoRegionCode) else { return nil }
| `- warning: 'isoRegionCodes' is deprecated: Use `Locale.Region.isoRegions` instead
32 | return isoRegionCode.unicodeScalars.reduce(into: String()) {
33 | guard let flagScalar = UnicodeScalar(UInt32(127_397) + $1.value) else { return }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/NotificationCenterExtension.swift:7:40: warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
5 | public func addObserver(_ names: NSNotification.Name..., using block: @escaping @Sendable (Notification) -> Void) {
6 | for name in names {
7 | NotificationCenter.default.addObserver(forName: name, object: nil, queue: nil, using: block)
| `- warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
8 | }
9 | }
[52/57] Compiling SwiftBoost MirrorExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/LocaleExtension.swift:31:15: warning: 'isoRegionCodes' is deprecated: Use `Locale.Region.isoRegions` instead
29 |
30 | static func flagEmoji(forRegionCode isoRegionCode: String) -> String? {
31 | guard isoRegionCodes.contains(isoRegionCode) else { return nil }
| `- warning: 'isoRegionCodes' is deprecated: Use `Locale.Region.isoRegions` instead
32 | return isoRegionCode.unicodeScalars.reduce(into: String()) {
33 | guard let flagScalar = UnicodeScalar(UInt32(127_397) + $1.value) else { return }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/NotificationCenterExtension.swift:7:40: warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
5 | public func addObserver(_ names: NSNotification.Name..., using block: @escaping @Sendable (Notification) -> Void) {
6 | for name in names {
7 | NotificationCenter.default.addObserver(forName: name, object: nil, queue: nil, using: block)
| `- warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
8 | }
9 | }
[53/57] Compiling SwiftBoost MutableCollectionExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/LocaleExtension.swift:31:15: warning: 'isoRegionCodes' is deprecated: Use `Locale.Region.isoRegions` instead
29 |
30 | static func flagEmoji(forRegionCode isoRegionCode: String) -> String? {
31 | guard isoRegionCodes.contains(isoRegionCode) else { return nil }
| `- warning: 'isoRegionCodes' is deprecated: Use `Locale.Region.isoRegions` instead
32 | return isoRegionCode.unicodeScalars.reduce(into: String()) {
33 | guard let flagScalar = UnicodeScalar(UInt32(127_397) + $1.value) else { return }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/NotificationCenterExtension.swift:7:40: warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
5 | public func addObserver(_ names: NSNotification.Name..., using block: @escaping @Sendable (Notification) -> Void) {
6 | for name in names {
7 | NotificationCenter.default.addObserver(forName: name, object: nil, queue: nil, using: block)
| `- warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
8 | }
9 | }
[54/57] Compiling SwiftBoost NSObjectExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/LocaleExtension.swift:31:15: warning: 'isoRegionCodes' is deprecated: Use `Locale.Region.isoRegions` instead
29 |
30 | static func flagEmoji(forRegionCode isoRegionCode: String) -> String? {
31 | guard isoRegionCodes.contains(isoRegionCode) else { return nil }
| `- warning: 'isoRegionCodes' is deprecated: Use `Locale.Region.isoRegions` instead
32 | return isoRegionCode.unicodeScalars.reduce(into: String()) {
33 | guard let flagScalar = UnicodeScalar(UInt32(127_397) + $1.value) else { return }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/NotificationCenterExtension.swift:7:40: warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
5 | public func addObserver(_ names: NSNotification.Name..., using block: @escaping @Sendable (Notification) -> Void) {
6 | for name in names {
7 | NotificationCenter.default.addObserver(forName: name, object: nil, queue: nil, using: block)
| `- warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
8 | }
9 | }
[55/57] Compiling SwiftBoost NotificationCenterExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/LocaleExtension.swift:31:15: warning: 'isoRegionCodes' is deprecated: Use `Locale.Region.isoRegions` instead
29 |
30 | static func flagEmoji(forRegionCode isoRegionCode: String) -> String? {
31 | guard isoRegionCodes.contains(isoRegionCode) else { return nil }
| `- warning: 'isoRegionCodes' is deprecated: Use `Locale.Region.isoRegions` instead
32 | return isoRegionCode.unicodeScalars.reduce(into: String()) {
33 | guard let flagScalar = UnicodeScalar(UInt32(127_397) + $1.value) else { return }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/NotificationCenterExtension.swift:7:40: warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
5 | public func addObserver(_ names: NSNotification.Name..., using block: @escaping @Sendable (Notification) -> Void) {
6 | for name in names {
7 | NotificationCenter.default.addObserver(forName: name, object: nil, queue: nil, using: block)
| `- warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
8 | }
9 | }
[56/57] Compiling SwiftBoost StringExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/LocaleExtension.swift:31:15: warning: 'isoRegionCodes' is deprecated: Use `Locale.Region.isoRegions` instead
29 |
30 | static func flagEmoji(forRegionCode isoRegionCode: String) -> String? {
31 | guard isoRegionCodes.contains(isoRegionCode) else { return nil }
| `- warning: 'isoRegionCodes' is deprecated: Use `Locale.Region.isoRegions` instead
32 | return isoRegionCode.unicodeScalars.reduce(into: String()) {
33 | guard let flagScalar = UnicodeScalar(UInt32(127_397) + $1.value) else { return }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/NotificationCenterExtension.swift:7:40: warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
5 | public func addObserver(_ names: NSNotification.Name..., using block: @escaping @Sendable (Notification) -> Void) {
6 | for name in names {
7 | NotificationCenter.default.addObserver(forName: name, object: nil, queue: nil, using: block)
| `- warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
8 | }
9 | }
[57/57] Compiling SwiftBoost URLExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/LocaleExtension.swift:31:15: warning: 'isoRegionCodes' is deprecated: Use `Locale.Region.isoRegions` instead
29 |
30 | static func flagEmoji(forRegionCode isoRegionCode: String) -> String? {
31 | guard isoRegionCodes.contains(isoRegionCode) else { return nil }
| `- warning: 'isoRegionCodes' is deprecated: Use `Locale.Region.isoRegions` instead
32 | return isoRegionCode.unicodeScalars.reduce(into: String()) {
33 | guard let flagScalar = UnicodeScalar(UInt32(127_397) + $1.value) else { return }
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/NotificationCenterExtension.swift:7:40: warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
5 | public func addObserver(_ names: NSNotification.Name..., using block: @escaping @Sendable (Notification) -> Void) {
6 | for name in names {
7 | NotificationCenter.default.addObserver(forName: name, object: nil, queue: nil, using: block)
| `- warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
8 | }
9 | }
BUILD FAILURE 6.0 linux