Build Information
Failed to build SwiftBoost, reference v5 (5f2683), with Swift 6.3 for Linux on 22 Apr 2026 17:14:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sparrowcode/SwiftBoost.git
Reference: v5
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 v5 -> FETCH_HEAD
* [new branch] v5 -> origin/v5
HEAD is now at 5f26834 Migrate UIImageView.download and URLSession.request to async/await
Cloned https://github.com/sparrowcode/SwiftBoost.git
Revision (git rev-parse @):
5f268344d9f4489a8a04025732d43d35d210d0ab
SUCCESS checkout https://github.com/sparrowcode/SwiftBoost.git at v5
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/sparrowcode/SwiftBoost.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-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/51] 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 [#NominalTypes]
1 | import Foundation
2 |
3 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
4 |
5 | enum AppError: Error {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[4/57] Compiling SwiftBoost UIButtonExtension.swift
[5/57] Compiling SwiftBoost UICollectionViewExtension.swift
[6/57] Compiling SwiftBoost UIColorExtension.swift
[7/57] Compiling SwiftBoost UIDeviceExtension.swift
[8/57] Compiling SwiftBoost UIEdgeInsetsExtension.swift
[9/57] Compiling SwiftBoost UIFeedbackGeneratorExtension.swift
[10/57] Compiling SwiftBoost UIFontExtension.swift
[11/57] Compiling SwiftBoost UIGestureRecognizerExtension.swift
[12/57] Compiling SwiftBoost UIImageExtension.swift
[13/57] Compiling SwiftBoost UIImageViewExtension.swift
[14/57] Compiling SwiftBoost UILabelExtension.swift
[15/57] Compiling SwiftBoost UINavigationBarExtension.swift
[16/57] Compiling SwiftBoost UINavigationControllerExtension.swift
[17/57] Compiling SwiftBoost UIScreenExtension.swift
[18/57] Compiling SwiftBoost UITextFieldExtension.swift
[19/57] Compiling SwiftBoost UITextViewExtension.swift
[20/57] Compiling SwiftBoost UIToolbarExtension.swift
[21/57] Compiling SwiftBoost UIViewControllerExtension.swift
[22/57] Compiling SwiftBoost UIViewExtension.swift
[23/57] Compiling SwiftBoost UIVisualEffectViewExtension.swift
[24/57] Compiling SwiftBoost CGAffineTransformExtension.swift
[25/57] Compiling SwiftBoost CGFloatExtension.swift
[26/57] Compiling SwiftBoost CGPointExtension.swift
[27/57] Compiling SwiftBoost CGRectExtension.swift
[28/57] Compiling SwiftBoost CGSizeExtension.swift
[29/57] Compiling SwiftBoost Delay.swift
[30/57] Compiling SwiftBoost Do.swift
[31/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 [#NominalTypes]
1 | import Foundation
2 |
3 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
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:58:17: error: cannot find type 'HTTPMethod' in scope
56 | static func request(
57 | url: String,
58 | method: HTTPMethod,
| `- error: cannot find type 'HTTPMethod' in scope
59 | body: [String: Any?]? = nil,
60 | contentTypeHeader: ContentType? = nil
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:60:28: error: cannot find type 'ContentType' in scope
58 | method: HTTPMethod,
59 | body: [String: Any?]? = nil,
60 | contentTypeHeader: ContentType? = nil
| `- error: cannot find type 'ContentType' in scope
61 | ) async throws -> (Data, HTTPURLResponse) {
62 | guard let url = URL(string: url) else {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[32/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 [#NominalTypes]
1 | import Foundation
2 |
3 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
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:58:17: error: cannot find type 'HTTPMethod' in scope
56 | static func request(
57 | url: String,
58 | method: HTTPMethod,
| `- error: cannot find type 'HTTPMethod' in scope
59 | body: [String: Any?]? = nil,
60 | contentTypeHeader: ContentType? = nil
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:60:28: error: cannot find type 'ContentType' in scope
58 | method: HTTPMethod,
59 | body: [String: Any?]? = nil,
60 | contentTypeHeader: ContentType? = nil
| `- error: cannot find type 'ContentType' in scope
61 | ) async throws -> (Data, HTTPURLResponse) {
62 | guard let url = URL(string: url) else {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[33/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 [#NominalTypes]
1 | import Foundation
2 |
3 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
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:58:17: error: cannot find type 'HTTPMethod' in scope
56 | static func request(
57 | url: String,
58 | method: HTTPMethod,
| `- error: cannot find type 'HTTPMethod' in scope
59 | body: [String: Any?]? = nil,
60 | contentTypeHeader: ContentType? = nil
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:60:28: error: cannot find type 'ContentType' in scope
58 | method: HTTPMethod,
59 | body: [String: Any?]? = nil,
60 | contentTypeHeader: ContentType? = nil
| `- error: cannot find type 'ContentType' in scope
61 | ) async throws -> (Data, HTTPURLResponse) {
62 | guard let url = URL(string: url) else {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[34/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 [#NominalTypes]
1 | import Foundation
2 |
3 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
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:58:17: error: cannot find type 'HTTPMethod' in scope
56 | static func request(
57 | url: String,
58 | method: HTTPMethod,
| `- error: cannot find type 'HTTPMethod' in scope
59 | body: [String: Any?]? = nil,
60 | contentTypeHeader: ContentType? = nil
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:60:28: error: cannot find type 'ContentType' in scope
58 | method: HTTPMethod,
59 | body: [String: Any?]? = nil,
60 | contentTypeHeader: ContentType? = nil
| `- error: cannot find type 'ContentType' in scope
61 | ) async throws -> (Data, HTTPURLResponse) {
62 | guard let url = URL(string: url) else {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[35/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 [#NominalTypes]
1 | import Foundation
2 |
3 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
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:58:17: error: cannot find type 'HTTPMethod' in scope
56 | static func request(
57 | url: String,
58 | method: HTTPMethod,
| `- error: cannot find type 'HTTPMethod' in scope
59 | body: [String: Any?]? = nil,
60 | contentTypeHeader: ContentType? = nil
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:60:28: error: cannot find type 'ContentType' in scope
58 | method: HTTPMethod,
59 | body: [String: Any?]? = nil,
60 | contentTypeHeader: ContentType? = nil
| `- error: cannot find type 'ContentType' in scope
61 | ) async throws -> (Data, HTTPURLResponse) {
62 | guard let url = URL(string: url) else {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[36/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 [#NominalTypes]
1 | import Foundation
2 |
3 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
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:58:17: error: cannot find type 'HTTPMethod' in scope
56 | static func request(
57 | url: String,
58 | method: HTTPMethod,
| `- error: cannot find type 'HTTPMethod' in scope
59 | body: [String: Any?]? = nil,
60 | contentTypeHeader: ContentType? = nil
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:60:28: error: cannot find type 'ContentType' in scope
58 | method: HTTPMethod,
59 | body: [String: Any?]? = nil,
60 | contentTypeHeader: ContentType? = nil
| `- error: cannot find type 'ContentType' in scope
61 | ) async throws -> (Data, HTTPURLResponse) {
62 | guard let url = URL(string: url) else {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[37/57] Compiling SwiftBoost UIBezierPathExtension.swift
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:3:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
1 | import Foundation
2 |
3 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
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:58:17: error: cannot find type 'HTTPMethod' in scope
56 | static func request(
57 | url: String,
58 | method: HTTPMethod,
| `- error: cannot find type 'HTTPMethod' in scope
59 | body: [String: Any?]? = nil,
60 | contentTypeHeader: ContentType? = nil
/host/spi-builder-workspace/Sources/SwiftBoost/Foundation/Extensions/URLSessionExtension.swift:60:28: error: cannot find type 'ContentType' in scope
58 | method: HTTPMethod,
59 | body: [String: Any?]? = nil,
60 | contentTypeHeader: ContentType? = nil
| `- error: cannot find type 'ContentType' in scope
61 | ) async throws -> (Data, HTTPURLResponse) {
62 | guard let url = URL(string: url) else {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[38/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 | print("Can't save data, error: \(error.localizedDescription)")
[39/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 | print("Can't save data, error: \(error.localizedDescription)")
[40/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 | print("Can't save data, error: \(error.localizedDescription)")
[41/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 | print("Can't save data, error: \(error.localizedDescription)")
[42/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 | print("Can't save data, error: \(error.localizedDescription)")
[43/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 | print("Can't save data, error: \(error.localizedDescription)")
[44/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 | print("Can't save data, error: \(error.localizedDescription)")
[45/57] Compiling SwiftBoost UIScrollViewExtension.swift
[46/57] Compiling SwiftBoost UISegmentedControlExtension.swift
[47/57] Compiling SwiftBoost UISliderExtension.swift
[48/57] Compiling SwiftBoost UITabBarControllerExtension.swift
[49/57] Compiling SwiftBoost UITabBarExtension.swift
[50/57] Compiling SwiftBoost UITableViewExtension.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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#no-usage]
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 [#no-usage]
8 | }
9 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#no-usage]
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 [#no-usage]
8 | }
9 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#no-usage]
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 [#no-usage]
8 | }
9 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#no-usage]
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 [#no-usage]
8 | }
9 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#no-usage]
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 [#no-usage]
8 | }
9 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#no-usage]
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 [#no-usage]
8 | }
9 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#no-usage]
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 [#no-usage]
8 | }
9 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
BUILD FAILURE 6.3 linux