Build Information
Failed to build Validator, reference 1.5.0 (b95a32), with Swift 6.1 for Linux on 17 Feb 2026 01:44:11 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/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/space-code/validator.git
Reference: 1.5.0
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
* tag 1.5.0 -> FETCH_HEAD
HEAD is now at b95a328 [Release] Validator 1.5.0
Cloned https://github.com/space-code/validator.git
Revision (git rev-parse @):
b95a32880953668cf7254cdeb074eb09aa58f93a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/space-code/validator.git at 1.5.0
========================================
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
{
"dependencies" : [
],
"manifest_display_name" : "Validator",
"name" : "Validator",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "ValidatorCore",
"targets" : [
"ValidatorCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ValidatorUI",
"targets" : [
"ValidatorUI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ValidatorUITests",
"module_type" : "SwiftTarget",
"name" : "ValidatorUITests",
"path" : "Tests/ValidatorUITests",
"sources" : [
"UnitTests/AppKit/NSTextFieldTests.swift",
"UnitTests/UIKit/UITextFieldTests.swift",
"UnitTests/UIKit/UITextViewTests.swift"
],
"target_dependencies" : [
"ValidatorCore",
"ValidatorUI"
],
"type" : "test"
},
{
"c99name" : "ValidatorUI",
"module_type" : "SwiftTarget",
"name" : "ValidatorUI",
"path" : "Sources/ValidatorUI",
"product_memberships" : [
"ValidatorUI"
],
"sources" : [
"Classes/AppKit/Extensions/NSTextField+Validation.swift",
"Classes/Extensions/View+EraseToAnyView.swift",
"Classes/IUIValidatable.swift",
"Classes/SUI/Extensions/View+Validation.swift",
"Classes/SUI/Extensions/View+ValidationModifier.swift",
"Classes/SUI/Managers/FormField/FormField/FormField.swift",
"Classes/SUI/Managers/FormField/FormField/IFormField.swift",
"Classes/SUI/Managers/FormField/FormFieldManager/FormFieldManager.swift",
"Classes/SUI/Managers/FormField/FormFieldManager/IFormFieldManager.swift",
"Classes/SUI/Managers/FormField/FormValidationContainer/FormValidationContainter.swift",
"Classes/SUI/Managers/FormField/FormValidationContainer/IFormValidationContainer.swift",
"Classes/SUI/ViewModifiers/FormValidationViewModifier.swift",
"Classes/SUI/ViewModifiers/ValidationViewModifier.swift",
"Classes/UIKit/Extensions/UITextField+Validation.swift",
"Classes/UIKit/Extensions/UITextView+Validation.swift"
],
"target_dependencies" : [
"ValidatorCore"
],
"type" : "library"
},
{
"c99name" : "ValidatorCoreTests",
"module_type" : "SwiftTarget",
"name" : "ValidatorCoreTests",
"path" : "Tests/ValidatorCoreTests",
"sources" : [
"UnitTests/Rules/Base64ValidationRuleTests.swift",
"UnitTests/Rules/CharactersValidationRuleTests.swift",
"UnitTests/Rules/ComparisonValidationRuleTests.swift",
"UnitTests/Rules/ContainsValidationRuleTests.swift",
"UnitTests/Rules/CreditCardValidationRuleTests.swift",
"UnitTests/Rules/EmailValidationRuleTests.swift",
"UnitTests/Rules/EqualityValidationRuleTests.swift",
"UnitTests/Rules/IBANValidationRuleTests.swift",
"UnitTests/Rules/IPAddressValidationRuleTests.swift",
"UnitTests/Rules/JSONValidationRuleTests.swift",
"UnitTests/Rules/LengthValidationRuleTests.swift",
"UnitTests/Rules/NilValidationRuleTests.swift",
"UnitTests/Rules/NoWhitespaceValidationRuleTests.swift",
"UnitTests/Rules/NonEmptyValidationRuleTests.swift",
"UnitTests/Rules/PositiveNumberValidationRuleTests.swift",
"UnitTests/Rules/PostalCodeValidationRuleTests.swift",
"UnitTests/Rules/PrefixValidationRuleTests.swift",
"UnitTests/Rules/RegexValidationRuleTests.swift",
"UnitTests/Rules/SuffixValidationRuleTests.swift",
"UnitTests/Rules/URLValidationRuleTests.swift",
"UnitTests/Rules/UUIDValidationRuleTests.swift",
"UnitTests/Validator/ValidationResultTests.swift",
"UnitTests/Validator/ValidatorTests.swift"
],
"target_dependencies" : [
"ValidatorCore"
],
"type" : "test"
},
{
"c99name" : "ValidatorCore",
"module_type" : "SwiftTarget",
"name" : "ValidatorCore",
"path" : "Sources/ValidatorCore",
"product_memberships" : [
"ValidatorCore",
"ValidatorUI"
],
"sources" : [
"Classes/Core/Interfaces/IValidationError.swift",
"Classes/Core/Interfaces/IValidationRule.swift",
"Classes/Core/Models/ValidationResult.swift",
"Classes/Extensions/String+IValidationError.swift",
"Classes/Extensions/ValidationResult+Equatable.swift",
"Classes/Rules/Base64ValidationRule.swift",
"Classes/Rules/CharactersValidationRule.swift",
"Classes/Rules/ComparisonValidationRule.swift",
"Classes/Rules/ContainsValidationRule.swift",
"Classes/Rules/CreditCardValidationRule.swift",
"Classes/Rules/EmailValidationRule.swift",
"Classes/Rules/EqualityValidationRule.swift",
"Classes/Rules/IBANValidationRule.swift",
"Classes/Rules/IPAddressValidationRule.swift",
"Classes/Rules/JSONValidationRule.swift",
"Classes/Rules/LengthValidationRule.swift",
"Classes/Rules/NilValidationRule.swift",
"Classes/Rules/NoWhitespaceValidationRule.swift",
"Classes/Rules/NonEmptyValidationRule.swift",
"Classes/Rules/PositiveNumberValidationRule.swift",
"Classes/Rules/PostalCodeValidationRule.swift",
"Classes/Rules/PrefixValidationRule.swift",
"Classes/Rules/RegexValidationRule.swift",
"Classes/Rules/SuffixValidationRule.swift",
"Classes/Rules/URLValidationRule.swift",
"Classes/Rules/UUIDValidationRule.swift",
"IValidator.swift",
"Validator.swift"
],
"type" : "library"
}
],
"tools_version" : "6.2"
}
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/finestructure/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 finestructure/spi-images
Digest: sha256:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/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 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
[6/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
[7/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
[8/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
[9/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
[10/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
[11/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
[12/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
[13/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
[14/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
[15/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
[16/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
[17/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
[18/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 |
[19/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 |
[20/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 |
[21/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 |
[22/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 {
[23/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 {
[24/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 {
[25/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 {
[26/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
[27/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
[28/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
[29/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
[30/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
[31/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
[32/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
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/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/27] 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 |
[3/27] 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 |
[4/27] 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 |
[5/27] 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 |
[6/27] Compiling ValidatorCore PositiveNumberValidationRule.swift
[7/27] Compiling ValidatorCore PostalCodeValidationRule.swift
[8/27] Compiling ValidatorCore PrefixValidationRule.swift
[9/27] Compiling ValidatorCore NilValidationRule.swift
[10/27] Compiling ValidatorCore NoWhitespaceValidationRule.swift
[11/27] Compiling ValidatorCore NonEmptyValidationRule.swift
[12/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 {
[13/30] Compiling ValidatorCore RegexValidationRule.swift
[14/30] Compiling ValidatorCore SuffixValidationRule.swift
[15/30] Compiling ValidatorCore URLValidationRule.swift
[16/30] Compiling ValidatorCore ContainsValidationRule.swift
[17/30] Compiling ValidatorCore CreditCardValidationRule.swift
[18/30] Compiling ValidatorCore EmailValidationRule.swift
[19/30] Compiling ValidatorCore EqualityValidationRule.swift
[20/30] Compiling ValidatorCore IBANValidationRule.swift
[21/30] Compiling ValidatorCore IPAddressValidationRule.swift
[22/30] Compiling ValidatorCore JSONValidationRule.swift
[23/30] Compiling ValidatorCore LengthValidationRule.swift
[24/30] 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 {
[25/30] 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 {
[26/30] 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 {
[27/30] 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 {
[28/30] Compiling ValidatorCore UUIDValidationRule.swift
[29/30] Compiling ValidatorCore IValidator.swift
[30/30] Compiling ValidatorCore Validator.swift
BUILD FAILURE 6.1 linux