The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

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.3
Building package at path:  $PWD
https://github.com/space-code/validator.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/29] 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 {
[5/32] Compiling ValidatorCore UUIDValidationRule.swift
[6/32] Compiling ValidatorCore IValidator.swift
[7/32] Compiling ValidatorCore Validator.swift
[8/32] Compiling ValidatorCore NilValidationRule.swift
[9/32] Compiling ValidatorCore NoWhitespaceValidationRule.swift
[10/32] Compiling ValidatorCore NonEmptyValidationRule.swift
[11/32] Compiling ValidatorCore ContainsValidationRule.swift
[12/32] Compiling ValidatorCore CreditCardValidationRule.swift
[13/32] Compiling ValidatorCore EmailValidationRule.swift
[14/32] Compiling ValidatorCore EqualityValidationRule.swift
[15/32] 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 {
[16/32] 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 {
[17/32] 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 {
[18/32] 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 {
[19/32] 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 |
[20/32] 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 |
[21/32] 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 |
[22/32] 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 |
[23/32] Compiling ValidatorCore RegexValidationRule.swift
[24/32] Compiling ValidatorCore SuffixValidationRule.swift
[25/32] Compiling ValidatorCore URLValidationRule.swift
[26/32] Compiling ValidatorCore PositiveNumberValidationRule.swift
[27/32] Compiling ValidatorCore PostalCodeValidationRule.swift
[28/32] Compiling ValidatorCore PrefixValidationRule.swift
[29/32] Compiling ValidatorCore IBANValidationRule.swift
[30/32] Compiling ValidatorCore IPAddressValidationRule.swift
[31/32] Compiling ValidatorCore JSONValidationRule.swift
[32/32] Compiling ValidatorCore LengthValidationRule.swift
BUILD FAILURE 6.3 linux