The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build BFKit, reference 6.0.1 (c8a6f1), with Swift 6.1 for Android on 27 May 2025 06:24:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FabrizioBrancati/BFKit-Swift.git
Reference: 6.0.1
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/FabrizioBrancati/BFKit-Swift
 * tag               6.0.1      -> FETCH_HEAD
HEAD is now at c8a6f15 Fixing `swift_version` and bumping version to 6.0.1
Cloned https://github.com/FabrizioBrancati/BFKit-Swift.git
Revision (git rev-parse @):
c8a6f1584a6955387bd236581a127a55e8a4d6c1
SUCCESS checkout https://github.com/FabrizioBrancati/BFKit-Swift.git at 6.0.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/FabrizioBrancati/BFKit-Swift.git
https://github.com/FabrizioBrancati/BFKit-Swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BFKit",
  "name" : "BFKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "8.0"
    },
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "BFKit",
      "targets" : [
        "BFKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "BFKitTests",
      "module_type" : "SwiftTarget",
      "name" : "BFKitTests",
      "path" : "Tests/BFKitTests",
      "sources" : [
        "Linux/BFKit/BFAppTests.swift",
        "Linux/BFKit/BFDataStructuresTests.swift",
        "Linux/BFKit/BFLogTests.swift",
        "Linux/BFKit/BFPasswordTests.swift",
        "Linux/Foundation/ArrayExtensionTests.swift",
        "Linux/Foundation/CollectionExtensionTests.swift",
        "Linux/Foundation/DataExtensionTests.swift",
        "Linux/Foundation/DateExtensionTests.swift",
        "Linux/Foundation/DictionaryExtensionTests.swift",
        "Linux/Foundation/FileManagerExtensionTests.swift",
        "Linux/Foundation/NSObjectExtensionTests.swift",
        "Linux/Foundation/NumberExtensionTests.swift",
        "Linux/Foundation/ProcessInfoExtensionTests.swift",
        "Linux/Foundation/SetExtensionTests.swift",
        "Linux/Foundation/StringExtensionTests.swift",
        "Linux/Foundation/ThreadExtensionTests.swift"
      ],
      "target_dependencies" : [
        "BFKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BFKit",
      "module_type" : "SwiftTarget",
      "name" : "BFKit",
      "path" : "Sources/BFKit",
      "product_memberships" : [
        "BFKit"
      ],
      "sources" : [
        "Linux/BFKit/BFApp.swift",
        "Linux/BFKit/BFDataStructures.swift",
        "Linux/BFKit/BFKit.swift",
        "Linux/BFKit/BFLog.swift",
        "Linux/BFKit/BFPassword.swift",
        "Linux/Foundation/Array+Extensions.swift",
        "Linux/Foundation/Collection+Extensions.swift",
        "Linux/Foundation/Data+Extensions.swift",
        "Linux/Foundation/Date+Extensions.swift",
        "Linux/Foundation/Dictionary+Extensions.swift",
        "Linux/Foundation/FileManager+Extensions.swift",
        "Linux/Foundation/NSObject+Extensions.swift",
        "Linux/Foundation/Number+Extensions.swift",
        "Linux/Foundation/ProcessInfo+Extensions.swift",
        "Linux/Foundation/Set+Extensions.swift",
        "Linux/Foundation/String+Extensions.swift",
        "Linux/Foundation/Thread+Extensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/18] Compiling BFKit ProcessInfo+Extensions.swift
[4/18] Compiling BFKit Set+Extensions.swift
[5/18] Compiling BFKit BFLog.swift
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFLog.swift:36:23: warning: static property 'active' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 |     /// Activate or not BFLog.
 36 |     public static var active: Bool = false
    |                       |- warning: static property 'active' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'active' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'active' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |
 38 |     /// The log string.
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFLog.swift:39:23: warning: static property 'logged' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 37 |
 38 |     /// The log string.
 39 |     public static var logged: String = ""
    |                       |- warning: static property 'logged' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logged' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logged' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |     /// The detailed log string.
 41 |     public static var detailedLog: String = ""
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFLog.swift:41:23: warning: static property 'detailedLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 39 |     public static var logged: String = ""
 40 |     /// The detailed log string.
 41 |     public static var detailedLog: String = ""
    |                       |- warning: static property 'detailedLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'detailedLog' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'detailedLog' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 42 |
 43 |     // MARK: - Functions
[6/18] Compiling BFKit BFPassword.swift
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFLog.swift:36:23: warning: static property 'active' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 |     /// Activate or not BFLog.
 36 |     public static var active: Bool = false
    |                       |- warning: static property 'active' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'active' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'active' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |
 38 |     /// The log string.
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFLog.swift:39:23: warning: static property 'logged' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 37 |
 38 |     /// The log string.
 39 |     public static var logged: String = ""
    |                       |- warning: static property 'logged' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logged' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logged' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |     /// The detailed log string.
 41 |     public static var detailedLog: String = ""
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFLog.swift:41:23: warning: static property 'detailedLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 39 |     public static var logged: String = ""
 40 |     /// The detailed log string.
 41 |     public static var detailedLog: String = ""
    |                       |- warning: static property 'detailedLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'detailedLog' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'detailedLog' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 42 |
 43 |     // MARK: - Functions
[7/18] Compiling BFKit Dictionary+Extensions.swift
[8/18] Compiling BFKit FileManager+Extensions.swift
[9/18] Compiling BFKit Array+Extensions.swift
[10/18] Compiling BFKit Collection+Extensions.swift
[11/18] Compiling BFKit Data+Extensions.swift
[12/18] Compiling BFKit Date+Extensions.swift
[13/18] Compiling BFKit BFApp.swift
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:50:23: warning: static property 'isDebug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 |     /// Use this var to set you DEBUG or not builds.
 49 |     /// More info on how to use it [here](http://stackoverflow.com/questions/26890537/disabling-nslog-for-production-in-swift-project/26891797#26891797).
 50 |     public static var isDebug = false
    |                       |- warning: static property 'isDebug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'isDebug' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'isDebug' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     // MARK: - Functions
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:153:16: warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
151 |
152 |     /// Return the App name.
153 |     static var name: String = {
    |                |- warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'name' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'name' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |         BFApp.stringFromInfoDictionary(forKey: "CFBundleDisplayName")
155 |     }()
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:158:16: warning: static property 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
156 |
157 |     /// Returns the App version.
158 |     static var version: String = {
    |                |- warning: static property 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'version' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'version' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 |         BFApp.stringFromInfoDictionary(forKey: "CFBundleShortVersionString")
160 |     }()
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:163:16: warning: static property 'build' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
161 |
162 |     /// Returns the App build.
163 |     static var build: String = {
    |                |- warning: static property 'build' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'build' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'build' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |         BFApp.stringFromInfoDictionary(forKey: "CFBundleVersion")
165 |     }()
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:168:16: warning: static property 'executable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
166 |
167 |     /// Returns the App executable.
168 |     static var executable: String = {
    |                |- warning: static property 'executable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'executable' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'executable' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |         BFApp.stringFromInfoDictionary(forKey: "CFBundleExecutable")
170 |     }()
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:173:16: warning: static property 'bundle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 |
172 |     /// Returns the App bundle.
173 |     static var bundle: String = {
    |                |- warning: static property 'bundle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'bundle' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'bundle' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |         BFApp.stringFromInfoDictionary(forKey: "CFBundleIdentifier")
175 |     }()
[14/18] Compiling BFKit BFDataStructures.swift
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:50:23: warning: static property 'isDebug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 |     /// Use this var to set you DEBUG or not builds.
 49 |     /// More info on how to use it [here](http://stackoverflow.com/questions/26890537/disabling-nslog-for-production-in-swift-project/26891797#26891797).
 50 |     public static var isDebug = false
    |                       |- warning: static property 'isDebug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'isDebug' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'isDebug' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     // MARK: - Functions
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:153:16: warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
151 |
152 |     /// Return the App name.
153 |     static var name: String = {
    |                |- warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'name' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'name' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |         BFApp.stringFromInfoDictionary(forKey: "CFBundleDisplayName")
155 |     }()
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:158:16: warning: static property 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
156 |
157 |     /// Returns the App version.
158 |     static var version: String = {
    |                |- warning: static property 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'version' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'version' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 |         BFApp.stringFromInfoDictionary(forKey: "CFBundleShortVersionString")
160 |     }()
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:163:16: warning: static property 'build' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
161 |
162 |     /// Returns the App build.
163 |     static var build: String = {
    |                |- warning: static property 'build' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'build' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'build' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |         BFApp.stringFromInfoDictionary(forKey: "CFBundleVersion")
165 |     }()
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:168:16: warning: static property 'executable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
166 |
167 |     /// Returns the App executable.
168 |     static var executable: String = {
    |                |- warning: static property 'executable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'executable' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'executable' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |         BFApp.stringFromInfoDictionary(forKey: "CFBundleExecutable")
170 |     }()
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:173:16: warning: static property 'bundle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 |
172 |     /// Returns the App bundle.
173 |     static var bundle: String = {
    |                |- warning: static property 'bundle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'bundle' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'bundle' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |         BFApp.stringFromInfoDictionary(forKey: "CFBundleIdentifier")
175 |     }()
[15/18] Compiling BFKit BFKit.swift
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:50:23: warning: static property 'isDebug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 |     /// Use this var to set you DEBUG or not builds.
 49 |     /// More info on how to use it [here](http://stackoverflow.com/questions/26890537/disabling-nslog-for-production-in-swift-project/26891797#26891797).
 50 |     public static var isDebug = false
    |                       |- warning: static property 'isDebug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'isDebug' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'isDebug' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     // MARK: - Functions
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:153:16: warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
151 |
152 |     /// Return the App name.
153 |     static var name: String = {
    |                |- warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'name' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'name' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |         BFApp.stringFromInfoDictionary(forKey: "CFBundleDisplayName")
155 |     }()
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:158:16: warning: static property 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
156 |
157 |     /// Returns the App version.
158 |     static var version: String = {
    |                |- warning: static property 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'version' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'version' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 |         BFApp.stringFromInfoDictionary(forKey: "CFBundleShortVersionString")
160 |     }()
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:163:16: warning: static property 'build' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
161 |
162 |     /// Returns the App build.
163 |     static var build: String = {
    |                |- warning: static property 'build' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'build' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'build' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |         BFApp.stringFromInfoDictionary(forKey: "CFBundleVersion")
165 |     }()
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:168:16: warning: static property 'executable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
166 |
167 |     /// Returns the App executable.
168 |     static var executable: String = {
    |                |- warning: static property 'executable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'executable' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'executable' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |         BFApp.stringFromInfoDictionary(forKey: "CFBundleExecutable")
170 |     }()
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:173:16: warning: static property 'bundle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 |
172 |     /// Returns the App bundle.
173 |     static var bundle: String = {
    |                |- warning: static property 'bundle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'bundle' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'bundle' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |         BFApp.stringFromInfoDictionary(forKey: "CFBundleIdentifier")
175 |     }()
[16/18] Emitting module BFKit
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:50:23: warning: static property 'isDebug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 |     /// Use this var to set you DEBUG or not builds.
 49 |     /// More info on how to use it [here](http://stackoverflow.com/questions/26890537/disabling-nslog-for-production-in-swift-project/26891797#26891797).
 50 |     public static var isDebug = false
    |                       |- warning: static property 'isDebug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'isDebug' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'isDebug' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     // MARK: - Functions
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:153:16: warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
151 |
152 |     /// Return the App name.
153 |     static var name: String = {
    |                |- warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'name' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'name' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |         BFApp.stringFromInfoDictionary(forKey: "CFBundleDisplayName")
155 |     }()
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:158:16: warning: static property 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
156 |
157 |     /// Returns the App version.
158 |     static var version: String = {
    |                |- warning: static property 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'version' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'version' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 |         BFApp.stringFromInfoDictionary(forKey: "CFBundleShortVersionString")
160 |     }()
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:163:16: warning: static property 'build' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
161 |
162 |     /// Returns the App build.
163 |     static var build: String = {
    |                |- warning: static property 'build' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'build' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'build' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |         BFApp.stringFromInfoDictionary(forKey: "CFBundleVersion")
165 |     }()
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:168:16: warning: static property 'executable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
166 |
167 |     /// Returns the App executable.
168 |     static var executable: String = {
    |                |- warning: static property 'executable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'executable' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'executable' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |         BFApp.stringFromInfoDictionary(forKey: "CFBundleExecutable")
170 |     }()
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:173:16: warning: static property 'bundle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 |
172 |     /// Returns the App bundle.
173 |     static var bundle: String = {
    |                |- warning: static property 'bundle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'bundle' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'bundle' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |         BFApp.stringFromInfoDictionary(forKey: "CFBundleIdentifier")
175 |     }()
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFLog.swift:36:23: warning: static property 'active' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 |     /// Activate or not BFLog.
 36 |     public static var active: Bool = false
    |                       |- warning: static property 'active' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'active' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'active' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |
 38 |     /// The log string.
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFLog.swift:39:23: warning: static property 'logged' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 37 |
 38 |     /// The log string.
 39 |     public static var logged: String = ""
    |                       |- warning: static property 'logged' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logged' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logged' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |     /// The detailed log string.
 41 |     public static var detailedLog: String = ""
/host/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFLog.swift:41:23: warning: static property 'detailedLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 39 |     public static var logged: String = ""
 40 |     /// The detailed log string.
 41 |     public static var detailedLog: String = ""
    |                       |- warning: static property 'detailedLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'detailedLog' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'detailedLog' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 42 |
 43 |     // MARK: - Functions
[17/18] Compiling BFKit NSObject+Extensions.swift
[18/18] Compiling BFKit Number+Extensions.swift
[19/20] Compiling BFKit String+Extensions.swift
/host/spi-builder-workspace/Sources/BFKit/Linux/Foundation/String+Extensions.swift:256:29: error: 'init(format:argumentArray:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
254 |         func isURLValid() -> Bool {
255 |             let regEx = "((https|http)://)((\\w|-)+)(([.]|[/])((\\w|-)+))?.+"
256 |             let predicate = NSPredicate(format: "SELF MATCHES %@", argumentArray: [regEx])
    |                             `- error: 'init(format:argumentArray:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
257 |             return predicate.evaluate(with: self)
258 |         }
Foundation.NSPredicate.init:3:10: note: 'init(format:argumentArray:)' has been explicitly marked unavailable here
1 | class NSPredicate {
2 | @available(*, unavailable, renamed: "init(block:)", message: "Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.")
3 |   public init(format predicateFormat: String, argumentArray arguments: [Any]?)}
  |          `- note: 'init(format:argumentArray:)' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/Sources/BFKit/Linux/Foundation/String+Extensions.swift:597:34: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
595 |             let emailRegEx: String = "^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$"
596 |
597 |             let regExPredicate = NSPredicate(format: "SELF MATCHES %@", emailRegEx)
    |                                  `- error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
598 |
599 |             return regExPredicate.evaluate(with: lowercased())
Foundation.NSPredicate.init:3:22: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | class NSPredicate {
2 | @available(*, unavailable, renamed: "init(block:)", message: "Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.")
3 |   public convenience init(format predicateFormat: String, _ args: any CVarArg...)}
  |                      `- note: 'init(format:_:)' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/Sources/BFKit/Linux/Foundation/String+Extensions.swift:607:32: error: cannot find 'NSDataDetector' in scope
605 |         /// - Throws: Throws NSDataDetector errors.
606 |         func links() throws -> [String] {
607 |             let detector = try NSDataDetector(types: NSTextCheckingResult.CheckingType.link.rawValue)
    |                                `- error: cannot find 'NSDataDetector' in scope
608 |
609 |             let links = Array(detector.matches(in: self, options: NSRegularExpression.MatchingOptions.reportCompletion, range: NSRange(location: 0, length: count)))
/host/spi-builder-workspace/Sources/BFKit/Linux/Foundation/String+Extensions.swift:619:32: error: cannot find 'NSDataDetector' in scope
617 |         /// - Throws: Throws NSDataDetector errors.
618 |         func dates() throws -> [Date] {
619 |             let detector = try NSDataDetector(types: NSTextCheckingResult.CheckingType.date.rawValue)
    |                                `- error: cannot find 'NSDataDetector' in scope
620 |
621 |             let dates = Array(detector.matches(in: self, options: NSRegularExpression.MatchingOptions.withTransparentBounds, range: NSRange(location: 0, length: count)))
/host/spi-builder-workspace/Sources/BFKit/Linux/Foundation/Thread+Extensions.swift:46:9: warning: capture of 'block' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | public func runInBackground(_ block: @escaping () -> Void) {
45 |     DispatchQueue.global().async {
46 |         block()
   |         |- warning: capture of 'block' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
47 |     }
48 | }
[20/20] Compiling BFKit Thread+Extensions.swift
/host/spi-builder-workspace/Sources/BFKit/Linux/Foundation/String+Extensions.swift:256:29: error: 'init(format:argumentArray:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
254 |         func isURLValid() -> Bool {
255 |             let regEx = "((https|http)://)((\\w|-)+)(([.]|[/])((\\w|-)+))?.+"
256 |             let predicate = NSPredicate(format: "SELF MATCHES %@", argumentArray: [regEx])
    |                             `- error: 'init(format:argumentArray:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
257 |             return predicate.evaluate(with: self)
258 |         }
Foundation.NSPredicate.init:3:10: note: 'init(format:argumentArray:)' has been explicitly marked unavailable here
1 | class NSPredicate {
2 | @available(*, unavailable, renamed: "init(block:)", message: "Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.")
3 |   public init(format predicateFormat: String, argumentArray arguments: [Any]?)}
  |          `- note: 'init(format:argumentArray:)' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/Sources/BFKit/Linux/Foundation/String+Extensions.swift:597:34: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
595 |             let emailRegEx: String = "^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$"
596 |
597 |             let regExPredicate = NSPredicate(format: "SELF MATCHES %@", emailRegEx)
    |                                  `- error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
598 |
599 |             return regExPredicate.evaluate(with: lowercased())
Foundation.NSPredicate.init:3:22: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | class NSPredicate {
2 | @available(*, unavailable, renamed: "init(block:)", message: "Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.")
3 |   public convenience init(format predicateFormat: String, _ args: any CVarArg...)}
  |                      `- note: 'init(format:_:)' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/Sources/BFKit/Linux/Foundation/String+Extensions.swift:607:32: error: cannot find 'NSDataDetector' in scope
605 |         /// - Throws: Throws NSDataDetector errors.
606 |         func links() throws -> [String] {
607 |             let detector = try NSDataDetector(types: NSTextCheckingResult.CheckingType.link.rawValue)
    |                                `- error: cannot find 'NSDataDetector' in scope
608 |
609 |             let links = Array(detector.matches(in: self, options: NSRegularExpression.MatchingOptions.reportCompletion, range: NSRange(location: 0, length: count)))
/host/spi-builder-workspace/Sources/BFKit/Linux/Foundation/String+Extensions.swift:619:32: error: cannot find 'NSDataDetector' in scope
617 |         /// - Throws: Throws NSDataDetector errors.
618 |         func dates() throws -> [Date] {
619 |             let detector = try NSDataDetector(types: NSTextCheckingResult.CheckingType.date.rawValue)
    |                                `- error: cannot find 'NSDataDetector' in scope
620 |
621 |             let dates = Array(detector.matches(in: self, options: NSRegularExpression.MatchingOptions.withTransparentBounds, range: NSRange(location: 0, length: count)))
/host/spi-builder-workspace/Sources/BFKit/Linux/Foundation/Thread+Extensions.swift:46:9: warning: capture of 'block' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | public func runInBackground(_ block: @escaping () -> Void) {
45 |     DispatchQueue.global().async {
46 |         block()
   |         |- warning: capture of 'block' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
47 |     }
48 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/17] Emitting module BFKit
[3/19] Compiling BFKit BFLog.swift
[4/19] Compiling BFKit BFPassword.swift
[5/19] Compiling BFKit Data+Extensions.swift
[6/19] Compiling BFKit Date+Extensions.swift
[7/19] Compiling BFKit NSObject+Extensions.swift
[8/19] Compiling BFKit Number+Extensions.swift
[9/19] Compiling BFKit Dictionary+Extensions.swift
[10/19] Compiling BFKit FileManager+Extensions.swift
[11/19] Compiling BFKit ProcessInfo+Extensions.swift
[12/19] Compiling BFKit Set+Extensions.swift
[13/19] Compiling BFKit Array+Extensions.swift
[14/19] Compiling BFKit Collection+Extensions.swift
[15/19] Compiling BFKit BFApp.swift
[16/19] Compiling BFKit BFDataStructures.swift
[17/19] Compiling BFKit BFKit.swift
[18/19] Compiling BFKit String+Extensions.swift
/host/spi-builder-workspace/Sources/BFKit/Linux/Foundation/String+Extensions.swift:256:29: error: 'init(format:argumentArray:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
254 |         func isURLValid() -> Bool {
255 |             let regEx = "((https|http)://)((\\w|-)+)(([.]|[/])((\\w|-)+))?.+"
256 |             let predicate = NSPredicate(format: "SELF MATCHES %@", argumentArray: [regEx])
    |                             `- error: 'init(format:argumentArray:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
257 |             return predicate.evaluate(with: self)
258 |         }
Foundation.NSPredicate.init:3:10: note: 'init(format:argumentArray:)' has been explicitly marked unavailable here
1 | class NSPredicate {
2 | @available(*, unavailable, renamed: "init(block:)", message: "Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.")
3 |   public init(format predicateFormat: String, argumentArray arguments: [Any]?)}
  |          `- note: 'init(format:argumentArray:)' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/Sources/BFKit/Linux/Foundation/String+Extensions.swift:597:34: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
595 |             let emailRegEx: String = "^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$"
596 |
597 |             let regExPredicate = NSPredicate(format: "SELF MATCHES %@", emailRegEx)
    |                                  `- error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
598 |
599 |             return regExPredicate.evaluate(with: lowercased())
Foundation.NSPredicate.init:3:22: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | class NSPredicate {
2 | @available(*, unavailable, renamed: "init(block:)", message: "Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.")
3 |   public convenience init(format predicateFormat: String, _ args: any CVarArg...)}
  |                      `- note: 'init(format:_:)' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/Sources/BFKit/Linux/Foundation/String+Extensions.swift:607:32: error: cannot find 'NSDataDetector' in scope
605 |         /// - Throws: Throws NSDataDetector errors.
606 |         func links() throws -> [String] {
607 |             let detector = try NSDataDetector(types: NSTextCheckingResult.CheckingType.link.rawValue)
    |                                `- error: cannot find 'NSDataDetector' in scope
608 |
609 |             let links = Array(detector.matches(in: self, options: NSRegularExpression.MatchingOptions.reportCompletion, range: NSRange(location: 0, length: count)))
/host/spi-builder-workspace/Sources/BFKit/Linux/Foundation/String+Extensions.swift:619:32: error: cannot find 'NSDataDetector' in scope
617 |         /// - Throws: Throws NSDataDetector errors.
618 |         func dates() throws -> [Date] {
619 |             let detector = try NSDataDetector(types: NSTextCheckingResult.CheckingType.date.rawValue)
    |                                `- error: cannot find 'NSDataDetector' in scope
620 |
621 |             let dates = Array(detector.matches(in: self, options: NSRegularExpression.MatchingOptions.withTransparentBounds, range: NSRange(location: 0, length: count)))
[19/19] Compiling BFKit Thread+Extensions.swift
/host/spi-builder-workspace/Sources/BFKit/Linux/Foundation/String+Extensions.swift:256:29: error: 'init(format:argumentArray:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
254 |         func isURLValid() -> Bool {
255 |             let regEx = "((https|http)://)((\\w|-)+)(([.]|[/])((\\w|-)+))?.+"
256 |             let predicate = NSPredicate(format: "SELF MATCHES %@", argumentArray: [regEx])
    |                             `- error: 'init(format:argumentArray:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
257 |             return predicate.evaluate(with: self)
258 |         }
Foundation.NSPredicate.init:3:10: note: 'init(format:argumentArray:)' has been explicitly marked unavailable here
1 | class NSPredicate {
2 | @available(*, unavailable, renamed: "init(block:)", message: "Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.")
3 |   public init(format predicateFormat: String, argumentArray arguments: [Any]?)}
  |          `- note: 'init(format:argumentArray:)' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/Sources/BFKit/Linux/Foundation/String+Extensions.swift:597:34: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
595 |             let emailRegEx: String = "^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$"
596 |
597 |             let regExPredicate = NSPredicate(format: "SELF MATCHES %@", emailRegEx)
    |                                  `- error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
598 |
599 |             return regExPredicate.evaluate(with: lowercased())
Foundation.NSPredicate.init:3:22: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | class NSPredicate {
2 | @available(*, unavailable, renamed: "init(block:)", message: "Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.")
3 |   public convenience init(format predicateFormat: String, _ args: any CVarArg...)}
  |                      `- note: 'init(format:_:)' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/Sources/BFKit/Linux/Foundation/String+Extensions.swift:607:32: error: cannot find 'NSDataDetector' in scope
605 |         /// - Throws: Throws NSDataDetector errors.
606 |         func links() throws -> [String] {
607 |             let detector = try NSDataDetector(types: NSTextCheckingResult.CheckingType.link.rawValue)
    |                                `- error: cannot find 'NSDataDetector' in scope
608 |
609 |             let links = Array(detector.matches(in: self, options: NSRegularExpression.MatchingOptions.reportCompletion, range: NSRange(location: 0, length: count)))
/host/spi-builder-workspace/Sources/BFKit/Linux/Foundation/String+Extensions.swift:619:32: error: cannot find 'NSDataDetector' in scope
617 |         /// - Throws: Throws NSDataDetector errors.
618 |         func dates() throws -> [Date] {
619 |             let detector = try NSDataDetector(types: NSTextCheckingResult.CheckingType.date.rawValue)
    |                                `- error: cannot find 'NSDataDetector' in scope
620 |
621 |             let dates = Array(detector.matches(in: self, options: NSRegularExpression.MatchingOptions.withTransparentBounds, range: NSRange(location: 0, length: count)))
BUILD FAILURE 6.1 android