Build Information
Failed to build SwiftBoost, reference v4 (890ed0
), with Swift 6.0 for Linux on 21 May 2025 14:39:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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.63.1
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 890ed07 Updated network worker.
Cloned https://github.com/sparrowcode/SwiftBoost.git
Revision (git rev-parse @):
890ed0782b18baf1e2bafdfbbb8369faa105e5d2
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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:eb4fa402aea9a5d8f220b50fa960a581858eee7d87d88f234799973af2acd8ee
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
[3/52] Compiling SwiftBoost UIFontExtension.swift
[4/52] Compiling SwiftBoost UIGestureRecognizerExtension.swift
[5/52] Compiling SwiftBoost UIImageExtension.swift
[6/52] Compiling SwiftBoost UIImageViewExtension.swift
[7/52] Compiling SwiftBoost UILabelExtension.swift
[8/52] Compiling SwiftBoost UINavigationBarExtension.swift
[9/52] Compiling SwiftBoost UINavigationControllerExtension.swift
[10/52] Compiling SwiftBoost UIScreenExtension.swift
[11/52] Compiling SwiftBoost UIScrollViewExtension.swift
[12/52] Compiling SwiftBoost UISegmentedControlExtension.swift
[13/52] Compiling SwiftBoost UISliderExtension.swift
[14/52] Compiling SwiftBoost UITabBarControllerExtension.swift
[15/52] Compiling SwiftBoost UITabBarExtension.swift
[16/52] Compiling SwiftBoost UITableViewExtension.swift
[17/58] Compiling SwiftBoost UITextFieldExtension.swift
[18/58] Compiling SwiftBoost UITextViewExtension.swift
[19/58] Compiling SwiftBoost UIToolbarExtension.swift
[20/58] Compiling SwiftBoost UIViewControllerExtension.swift
[21/58] Compiling SwiftBoost UIViewExtension.swift
[22/58] Compiling SwiftBoost UIVisualEffectViewExtension.swift
[23/58] Compiling SwiftBoost UIBezierPathExtension.swift
[24/58] Compiling SwiftBoost UIButtonExtension.swift
[25/58] Compiling SwiftBoost UICollectionViewExtension.swift
[26/58] Compiling SwiftBoost UIColorExtension.swift
[27/58] Compiling SwiftBoost UIDeviceExtension.swift
[28/58] Compiling SwiftBoost UIEdgeInsetsExtension.swift
[29/58] Compiling SwiftBoost UIFeedbackGeneratorExtension.swift
[30/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/Extensions/URLSessionExtension.swift:57:17: error: cannot find type 'HTTPMethod' in scope
55 | static func request(
56 | url: String,
57 | method: HTTPMethod,
| `- error: cannot find type 'HTTPMethod' in scope
58 | body: [String: Any]? = nil,
59 | contentTypeHeader: ContentType? = nil,
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:59:28: error: cannot find type 'ContentType' in scope
57 | method: HTTPMethod,
58 | body: [String: Any]? = nil,
59 | contentTypeHeader: ContentType? = nil,
| `- error: cannot find type 'ContentType' in scope
60 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
61 | {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:60:32: error: cannot find type 'AppError' in scope
58 | body: [String: Any]? = nil,
59 | contentTypeHeader: ContentType? = nil,
60 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
| `- error: cannot find type 'AppError' in scope
61 | {
62 | guard let url = URL(string: url) else {
[31/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/Extensions/URLSessionExtension.swift:57:17: error: cannot find type 'HTTPMethod' in scope
55 | static func request(
56 | url: String,
57 | method: HTTPMethod,
| `- error: cannot find type 'HTTPMethod' in scope
58 | body: [String: Any]? = nil,
59 | contentTypeHeader: ContentType? = nil,
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:59:28: error: cannot find type 'ContentType' in scope
57 | method: HTTPMethod,
58 | body: [String: Any]? = nil,
59 | contentTypeHeader: ContentType? = nil,
| `- error: cannot find type 'ContentType' in scope
60 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
61 | {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:60:32: error: cannot find type 'AppError' in scope
58 | body: [String: Any]? = nil,
59 | contentTypeHeader: ContentType? = nil,
60 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
| `- error: cannot find type 'AppError' in scope
61 | {
62 | guard let url = URL(string: url) else {
[32/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/Extensions/URLSessionExtension.swift:57:17: error: cannot find type 'HTTPMethod' in scope
55 | static func request(
56 | url: String,
57 | method: HTTPMethod,
| `- error: cannot find type 'HTTPMethod' in scope
58 | body: [String: Any]? = nil,
59 | contentTypeHeader: ContentType? = nil,
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:59:28: error: cannot find type 'ContentType' in scope
57 | method: HTTPMethod,
58 | body: [String: Any]? = nil,
59 | contentTypeHeader: ContentType? = nil,
| `- error: cannot find type 'ContentType' in scope
60 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
61 | {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:60:32: error: cannot find type 'AppError' in scope
58 | body: [String: Any]? = nil,
59 | contentTypeHeader: ContentType? = nil,
60 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
| `- error: cannot find type 'AppError' in scope
61 | {
62 | guard let url = URL(string: url) else {
[33/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/Extensions/URLSessionExtension.swift:57:17: error: cannot find type 'HTTPMethod' in scope
55 | static func request(
56 | url: String,
57 | method: HTTPMethod,
| `- error: cannot find type 'HTTPMethod' in scope
58 | body: [String: Any]? = nil,
59 | contentTypeHeader: ContentType? = nil,
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:59:28: error: cannot find type 'ContentType' in scope
57 | method: HTTPMethod,
58 | body: [String: Any]? = nil,
59 | contentTypeHeader: ContentType? = nil,
| `- error: cannot find type 'ContentType' in scope
60 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
61 | {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:60:32: error: cannot find type 'AppError' in scope
58 | body: [String: Any]? = nil,
59 | contentTypeHeader: ContentType? = nil,
60 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
| `- error: cannot find type 'AppError' in scope
61 | {
62 | guard let url = URL(string: url) else {
[34/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/Extensions/URLSessionExtension.swift:57:17: error: cannot find type 'HTTPMethod' in scope
55 | static func request(
56 | url: String,
57 | method: HTTPMethod,
| `- error: cannot find type 'HTTPMethod' in scope
58 | body: [String: Any]? = nil,
59 | contentTypeHeader: ContentType? = nil,
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:59:28: error: cannot find type 'ContentType' in scope
57 | method: HTTPMethod,
58 | body: [String: Any]? = nil,
59 | contentTypeHeader: ContentType? = nil,
| `- error: cannot find type 'ContentType' in scope
60 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
61 | {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:60:32: error: cannot find type 'AppError' in scope
58 | body: [String: Any]? = nil,
59 | contentTypeHeader: ContentType? = nil,
60 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
| `- error: cannot find type 'AppError' in scope
61 | {
62 | guard let url = URL(string: url) else {
[35/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/Extensions/URLSessionExtension.swift:57:17: error: cannot find type 'HTTPMethod' in scope
55 | static func request(
56 | url: String,
57 | method: HTTPMethod,
| `- error: cannot find type 'HTTPMethod' in scope
58 | body: [String: Any]? = nil,
59 | contentTypeHeader: ContentType? = nil,
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:59:28: error: cannot find type 'ContentType' in scope
57 | method: HTTPMethod,
58 | body: [String: Any]? = nil,
59 | contentTypeHeader: ContentType? = nil,
| `- error: cannot find type 'ContentType' in scope
60 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
61 | {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:60:32: error: cannot find type 'AppError' in scope
58 | body: [String: Any]? = nil,
59 | contentTypeHeader: ContentType? = nil,
60 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
| `- error: cannot find type 'AppError' in scope
61 | {
62 | guard let url = URL(string: url) else {
[36/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/Extensions/URLSessionExtension.swift:57:17: error: cannot find type 'HTTPMethod' in scope
55 | static func request(
56 | url: String,
57 | method: HTTPMethod,
| `- error: cannot find type 'HTTPMethod' in scope
58 | body: [String: Any]? = nil,
59 | contentTypeHeader: ContentType? = nil,
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:59:28: error: cannot find type 'ContentType' in scope
57 | method: HTTPMethod,
58 | body: [String: Any]? = nil,
59 | contentTypeHeader: ContentType? = nil,
| `- error: cannot find type 'ContentType' in scope
60 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
61 | {
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:60:32: error: cannot find type 'AppError' in scope
58 | body: [String: Any]? = nil,
59 | contentTypeHeader: ContentType? = nil,
60 | completion: @escaping (AppError?, Data?, HTTPURLResponse?) ->Void)
| `- error: cannot find type 'AppError' in scope
61 | {
62 | guard let url = URL(string: url) else {
[37/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 | }
[38/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 | }
[39/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 | }
[40/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 | }
[41/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 | }
[42/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 | }
[43/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 | }
[44/58] Compiling SwiftBoost CGAffineTransformExtension.swift
[45/58] Compiling SwiftBoost CGFloatExtension.swift
[46/58] Compiling SwiftBoost CGPointExtension.swift
[47/58] Compiling SwiftBoost CGRectExtension.swift
[48/58] Compiling SwiftBoost CGSizeExtension.swift
[49/58] Compiling SwiftBoost Delay.swift
[50/58] Compiling SwiftBoost Do.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[51/58] 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 {
[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)")
BUILD FAILURE 6.0 linux