The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Validator, reference main (ee9f1d), with Swift 6.1 for Linux on 2 May 2026 13:15:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/space-code/validator.git
Reference: main
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/space-code/validator
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ee9f1d0 chore(deps): update jdx/mise-action action to v4 (#124)
Cloned https://github.com/space-code/validator.git
Revision (git rev-parse @):
ee9f1d0e83eec0881578fe14cd07178e299a6253
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/space-code/validator.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/space-code/validator.git
https://github.com/space-code/validator.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7bfd71e9384436264431030299dc8a2d42d0664a168cfa1a5dd84c9bc592ccf
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/29] Emitting module ValidatorCore
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Extensions/String+IValidationError.swift:23:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
21 | /// print(error.message) // "Invalid input"
22 | /// ```
23 | extension String: IValidationError {
   | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
24 |     /// Returns the string itself as the error message.
25 |     public var message: String {
[5/32] Compiling ValidatorCore RegexValidationRule.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[6/32] Compiling ValidatorCore SuffixValidationRule.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[7/32] Compiling ValidatorCore URLValidationRule.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[8/32] Compiling ValidatorCore IValidationError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Extensions/String+IValidationError.swift:23:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
21 | /// print(error.message) // "Invalid input"
22 | /// ```
23 | extension String: IValidationError {
   | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
24 |     /// Returns the string itself as the error message.
25 |     public var message: String {
[9/32] Compiling ValidatorCore IValidationRule.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Extensions/String+IValidationError.swift:23:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
21 | /// print(error.message) // "Invalid input"
22 | /// ```
23 | extension String: IValidationError {
   | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
24 |     /// Returns the string itself as the error message.
25 |     public var message: String {
[10/32] Compiling ValidatorCore ValidationResult.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Extensions/String+IValidationError.swift:23:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
21 | /// print(error.message) // "Invalid input"
22 | /// ```
23 | extension String: IValidationError {
   | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
24 |     /// Returns the string itself as the error message.
25 |     public var message: String {
[11/32] Compiling ValidatorCore String+IValidationError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Extensions/String+IValidationError.swift:23:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
21 | /// print(error.message) // "Invalid input"
22 | /// ```
23 | extension String: IValidationError {
   | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
24 |     /// Returns the string itself as the error message.
25 |     public var message: String {
[12/32] Compiling ValidatorCore NilValidationRule.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[13/32] Compiling ValidatorCore NoWhitespaceValidationRule.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[14/32] Compiling ValidatorCore NonEmptyValidationRule.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[15/32] Compiling ValidatorCore ContainsValidationRule.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[16/32] Compiling ValidatorCore CreditCardValidationRule.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[17/32] Compiling ValidatorCore EmailValidationRule.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[18/32] Compiling ValidatorCore EqualityValidationRule.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[19/32] Compiling ValidatorCore IBANValidationRule.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[20/32] Compiling ValidatorCore IPAddressValidationRule.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[21/32] Compiling ValidatorCore JSONValidationRule.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[22/32] Compiling ValidatorCore LengthValidationRule.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[23/32] Compiling ValidatorCore UUIDValidationRule.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[24/32] Compiling ValidatorCore IValidator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[25/32] Compiling ValidatorCore Validator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[26/32] Compiling ValidatorCore PositiveNumberValidationRule.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[27/32] Compiling ValidatorCore PostalCodeValidationRule.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[28/32] Compiling ValidatorCore PrefixValidationRule.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[29/32] Compiling ValidatorCore ValidationResult+Equatable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Rules/Base64ValidationRule.swift:49:25: 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.
47 |
48 |         let base64Pattern = "^[A-Za-z0-9+/]*={0,2}$"
49 |         let predicate = NSPredicate(format: "SELF MATCHES %@", base64Pattern)
   |                         `- 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.
50 |         return predicate.evaluate(with: cleanedInput)
51 |     }
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 |
[30/32] Compiling ValidatorCore Base64ValidationRule.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Rules/Base64ValidationRule.swift:49:25: 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.
47 |
48 |         let base64Pattern = "^[A-Za-z0-9+/]*={0,2}$"
49 |         let predicate = NSPredicate(format: "SELF MATCHES %@", base64Pattern)
   |                         `- 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.
50 |         return predicate.evaluate(with: cleanedInput)
51 |     }
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 |
[31/32] Compiling ValidatorCore CharactersValidationRule.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Rules/Base64ValidationRule.swift:49:25: 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.
47 |
48 |         let base64Pattern = "^[A-Za-z0-9+/]*={0,2}$"
49 |         let predicate = NSPredicate(format: "SELF MATCHES %@", base64Pattern)
   |                         `- 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.
50 |         return predicate.evaluate(with: cleanedInput)
51 |     }
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 |
[32/32] Compiling ValidatorCore ComparisonValidationRule.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Rules/Base64ValidationRule.swift:49:25: 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.
47 |
48 |         let base64Pattern = "^[A-Za-z0-9+/]*={0,2}$"
49 |         let predicate = NSPredicate(format: "SELF MATCHES %@", base64Pattern)
   |                         `- 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.
50 |         return predicate.evaluate(with: cleanedInput)
51 |     }
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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7bfd71e9384436264431030299dc8a2d42d0664a168cfa1a5dd84c9bc592ccf
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/27] Compiling ValidatorCore IValidationError.swift
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Extensions/String+IValidationError.swift:23:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
21 | /// print(error.message) // "Invalid input"
22 | /// ```
23 | extension String: IValidationError {
   | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
24 |     /// Returns the string itself as the error message.
25 |     public var message: String {
[3/27] Compiling ValidatorCore IValidationRule.swift
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Extensions/String+IValidationError.swift:23:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
21 | /// print(error.message) // "Invalid input"
22 | /// ```
23 | extension String: IValidationError {
   | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
24 |     /// Returns the string itself as the error message.
25 |     public var message: String {
[4/27] Compiling ValidatorCore ValidationResult.swift
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Extensions/String+IValidationError.swift:23:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
21 | /// print(error.message) // "Invalid input"
22 | /// ```
23 | extension String: IValidationError {
   | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
24 |     /// Returns the string itself as the error message.
25 |     public var message: String {
[5/27] Compiling ValidatorCore String+IValidationError.swift
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Extensions/String+IValidationError.swift:23:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
21 | /// print(error.message) // "Invalid input"
22 | /// ```
23 | extension String: IValidationError {
   | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
24 |     /// Returns the string itself as the error message.
25 |     public var message: String {
[6/30] Compiling ValidatorCore ValidationResult+Equatable.swift
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Rules/Base64ValidationRule.swift:49:25: 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.
47 |
48 |         let base64Pattern = "^[A-Za-z0-9+/]*={0,2}$"
49 |         let predicate = NSPredicate(format: "SELF MATCHES %@", base64Pattern)
   |                         `- 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.
50 |         return predicate.evaluate(with: cleanedInput)
51 |     }
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 |
[7/30] Compiling ValidatorCore Base64ValidationRule.swift
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Rules/Base64ValidationRule.swift:49:25: 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.
47 |
48 |         let base64Pattern = "^[A-Za-z0-9+/]*={0,2}$"
49 |         let predicate = NSPredicate(format: "SELF MATCHES %@", base64Pattern)
   |                         `- 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.
50 |         return predicate.evaluate(with: cleanedInput)
51 |     }
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 |
[8/30] Compiling ValidatorCore CharactersValidationRule.swift
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Rules/Base64ValidationRule.swift:49:25: 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.
47 |
48 |         let base64Pattern = "^[A-Za-z0-9+/]*={0,2}$"
49 |         let predicate = NSPredicate(format: "SELF MATCHES %@", base64Pattern)
   |                         `- 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.
50 |         return predicate.evaluate(with: cleanedInput)
51 |     }
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 |
[9/30] Compiling ValidatorCore ComparisonValidationRule.swift
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Rules/Base64ValidationRule.swift:49:25: 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.
47 |
48 |         let base64Pattern = "^[A-Za-z0-9+/]*={0,2}$"
49 |         let predicate = NSPredicate(format: "SELF MATCHES %@", base64Pattern)
   |                         `- 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.
50 |         return predicate.evaluate(with: cleanedInput)
51 |     }
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 |
[10/30] Compiling ValidatorCore NilValidationRule.swift
[11/30] Compiling ValidatorCore NoWhitespaceValidationRule.swift
[12/30] Compiling ValidatorCore NonEmptyValidationRule.swift
[13/30] Compiling ValidatorCore RegexValidationRule.swift
[14/30] Compiling ValidatorCore SuffixValidationRule.swift
[15/30] Compiling ValidatorCore URLValidationRule.swift
[16/30] Emitting module ValidatorCore
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Extensions/String+IValidationError.swift:23:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
21 | /// print(error.message) // "Invalid input"
22 | /// ```
23 | extension String: IValidationError {
   | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
24 |     /// Returns the string itself as the error message.
25 |     public var message: String {
[17/30] Compiling ValidatorCore PositiveNumberValidationRule.swift
[18/30] Compiling ValidatorCore PostalCodeValidationRule.swift
[19/30] Compiling ValidatorCore PrefixValidationRule.swift
[20/30] Compiling ValidatorCore ContainsValidationRule.swift
[21/30] Compiling ValidatorCore CreditCardValidationRule.swift
[22/30] Compiling ValidatorCore EmailValidationRule.swift
[23/30] Compiling ValidatorCore EqualityValidationRule.swift
[24/30] Compiling ValidatorCore UUIDValidationRule.swift
[25/30] Compiling ValidatorCore IValidator.swift
[26/30] Compiling ValidatorCore Validator.swift
[27/30] Compiling ValidatorCore IBANValidationRule.swift
[28/30] Compiling ValidatorCore IPAddressValidationRule.swift
[29/30] Compiling ValidatorCore JSONValidationRule.swift
[30/30] Compiling ValidatorCore LengthValidationRule.swift
BUILD FAILURE 6.1 linux