The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Valigator, reference master (b16a19), with Swift 6.1 for Linux on 25 Apr 2025 20:40:24 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kapizoli77/valigator.git
Reference: master
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/kapizoli77/valigator
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b16a196 Readme fix
Cloned https://github.com/kapizoli77/valigator.git
Revision (git rev-parse @):
b16a1960d63d6952441501dcb39cf37d5e514cf7
SUCCESS checkout https://github.com/kapizoli77/valigator.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/kapizoli77/valigator.git
https://github.com/kapizoli77/valigator.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Valigator",
  "name" : "Valigator",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "Valigator",
      "targets" : [
        "Valigator"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "Valigator",
      "module_type" : "SwiftTarget",
      "name" : "Valigator",
      "path" : "Source",
      "product_memberships" : [
        "Valigator"
      ],
      "sources" : [
        "Extensions/Collection+Exts.swift",
        "Extensions/Optional+Exts.swift",
        "FieldValidation/FieldValidationEntities.swift",
        "FieldValidation/FieldValidationProtocol.swift",
        "FieldValidation/FieldValidator.swift",
        "FieldValueManager/FieldValueManager.swift",
        "FieldValueManager/FieldValueManagerEntity.swift",
        "FormValidators/BaseFormValidator.swift",
        "FormValidators/DuringEditFormValidator.swift",
        "FormValidators/EndOfFieldFormValidator.swift",
        "FormValidators/EndOfFormFormValidator.swift",
        "FormValidators/FieldValidationWrapper.swift",
        "FormValidators/FormValidatorProtocol.swift",
        "FormValidators/NeverFormValidator.swift",
        "Services/Valigator.swift",
        "Services/ValigatorEntities.swift",
        "Services/ValigatorProtocol.swift",
        "ValidationRules/BaseValidationRule.swift",
        "ValidationRules/CharacterRangeInputRule.swift",
        "ValidationRules/CrossFieldValidationRule.swift",
        "ValidationRules/EmailValidationRule.swift",
        "ValidationRules/ExcludeCharactersRule.swift",
        "ValidationRules/LowercaseLetterValidationRule.swift",
        "ValidationRules/MaxLengthValidationRule.swift",
        "ValidationRules/MinLengthValidationRule.swift",
        "ValidationRules/OnlyDigitsValidationRule.swift",
        "ValidationRules/OnlyLetterOrNumberValidationRule.swift",
        "ValidationRules/OnlyNumberValidationRule.swift",
        "ValidationRules/RegexValidationRule.swift",
        "ValidationRules/RequiredCheckBoxValidationRule.swift",
        "ValidationRules/RequiredObjectValidationRule.swift",
        "ValidationRules/RequiredStringValidationRule.swift",
        "ValidationRules/UppercaseLetterValidationRule.swift",
        "ValidationRules/ValidationRuleProtocol.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/33] Emitting module Valigator
/host/spi-builder-workspace/Source/FieldValidation/FieldValidationProtocol.swift:9:44: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 7 |
 8 | /// Data source of field validation
 9 | public protocol FieldValidationDataSource: class {
   |                                            `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
10 |     /// Provides the validatable value for the given identifier
11 |     /// - Parameter fieldId: field identifier
/host/spi-builder-workspace/Source/FieldValidation/FieldValidationProtocol.swift:18:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | /// Methods for managing validation process for a single field
18 | public protocol FieldValidationDelegate: class {
   |                                          `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
19 |     /// Tells the delegate the field with the given identifier was validated
20 |     /// - Parameters:
/host/spi-builder-workspace/Source/FormValidators/FormValidatorProtocol.swift:9:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 7 |
 8 | /// Methods for managing validation process for a whole form
 9 | public protocol FormValidatorDelegate: class {
   |                                        `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
10 |     /// Called when a validation process finished for all validatable field after automatic validation. The logic described in validation strategy.
11 |     /// - parameter success: represents the success of the validation.
/host/spi-builder-workspace/Source/FormValidators/FormValidatorProtocol.swift:30:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
28 |
29 | /// Data source of form validator
30 | public protocol FormValidatorDataSource: class {
   |                                          `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 |     /// Provides the validatable value for the given identifier
32 |     /// - Parameter fieldId: field identifier
/host/spi-builder-workspace/Source/Services/ValigatorProtocol.swift:92:36: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 90 |  Protocol that declares the methods for validation service delegate
 91 |  */
 92 | public protocol ValigatorDelegate: class {
    |                                    `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 93 |     /// Called when a validation process finished for all validatable field after automatic validation. The logic described in validation strategy.
 94 |     /// - parameter success: represents the success of the validation.
/host/spi-builder-workspace/Source/Services/ValigatorProtocol.swift:119:38: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
117 |
118 | /// Protocol that declares the methods for validation service data source
119 | public protocol ValigatorDataSource: class {
    |                                      `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
120 |     /**
121 |      Called in the validation process to get the value from input field.
[4/37] Compiling Valigator RequiredObjectValidationRule.swift
[5/37] Compiling Valigator RequiredStringValidationRule.swift
[6/37] Compiling Valigator UppercaseLetterValidationRule.swift
[7/37] Compiling Valigator ValidationRuleProtocol.swift
[8/37] Compiling Valigator EndOfFormFormValidator.swift
/host/spi-builder-workspace/Source/FormValidators/FormValidatorProtocol.swift:9:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 7 |
 8 | /// Methods for managing validation process for a whole form
 9 | public protocol FormValidatorDelegate: class {
   |                                        `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
10 |     /// Called when a validation process finished for all validatable field after automatic validation. The logic described in validation strategy.
11 |     /// - parameter success: represents the success of the validation.
/host/spi-builder-workspace/Source/FormValidators/FormValidatorProtocol.swift:30:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
28 |
29 | /// Data source of form validator
30 | public protocol FormValidatorDataSource: class {
   |                                          `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 |     /// Provides the validatable value for the given identifier
32 |     /// - Parameter fieldId: field identifier
[9/37] Compiling Valigator FieldValidationWrapper.swift
/host/spi-builder-workspace/Source/FormValidators/FormValidatorProtocol.swift:9:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 7 |
 8 | /// Methods for managing validation process for a whole form
 9 | public protocol FormValidatorDelegate: class {
   |                                        `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
10 |     /// Called when a validation process finished for all validatable field after automatic validation. The logic described in validation strategy.
11 |     /// - parameter success: represents the success of the validation.
/host/spi-builder-workspace/Source/FormValidators/FormValidatorProtocol.swift:30:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
28 |
29 | /// Data source of form validator
30 | public protocol FormValidatorDataSource: class {
   |                                          `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 |     /// Provides the validatable value for the given identifier
32 |     /// - Parameter fieldId: field identifier
[10/37] Compiling Valigator FormValidatorProtocol.swift
/host/spi-builder-workspace/Source/FormValidators/FormValidatorProtocol.swift:9:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 7 |
 8 | /// Methods for managing validation process for a whole form
 9 | public protocol FormValidatorDelegate: class {
   |                                        `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
10 |     /// Called when a validation process finished for all validatable field after automatic validation. The logic described in validation strategy.
11 |     /// - parameter success: represents the success of the validation.
/host/spi-builder-workspace/Source/FormValidators/FormValidatorProtocol.swift:30:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
28 |
29 | /// Data source of form validator
30 | public protocol FormValidatorDataSource: class {
   |                                          `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 |     /// Provides the validatable value for the given identifier
32 |     /// - Parameter fieldId: field identifier
[11/37] Compiling Valigator NeverFormValidator.swift
/host/spi-builder-workspace/Source/FormValidators/FormValidatorProtocol.swift:9:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 7 |
 8 | /// Methods for managing validation process for a whole form
 9 | public protocol FormValidatorDelegate: class {
   |                                        `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
10 |     /// Called when a validation process finished for all validatable field after automatic validation. The logic described in validation strategy.
11 |     /// - parameter success: represents the success of the validation.
/host/spi-builder-workspace/Source/FormValidators/FormValidatorProtocol.swift:30:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
28 |
29 | /// Data source of form validator
30 | public protocol FormValidatorDataSource: class {
   |                                          `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 |     /// Provides the validatable value for the given identifier
32 |     /// - Parameter fieldId: field identifier
[12/37] Compiling Valigator OnlyLetterOrNumberValidationRule.swift
/host/spi-builder-workspace/Source/ValidationRules/RegexValidationRule.swift:24:20: 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.
22 |
23 |     public override func validate(value: String?) -> Bool {
24 |         let test = NSPredicate(format: "SELF MATCHES %@", regex)
   |                    `- 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.
25 |         return test.evaluate(with: value ?? "")
26 |     }
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 |
[13/37] Compiling Valigator OnlyNumberValidationRule.swift
/host/spi-builder-workspace/Source/ValidationRules/RegexValidationRule.swift:24:20: 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.
22 |
23 |     public override func validate(value: String?) -> Bool {
24 |         let test = NSPredicate(format: "SELF MATCHES %@", regex)
   |                    `- 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.
25 |         return test.evaluate(with: value ?? "")
26 |     }
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 |
[14/37] Compiling Valigator RegexValidationRule.swift
/host/spi-builder-workspace/Source/ValidationRules/RegexValidationRule.swift:24:20: 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.
22 |
23 |     public override func validate(value: String?) -> Bool {
24 |         let test = NSPredicate(format: "SELF MATCHES %@", regex)
   |                    `- 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.
25 |         return test.evaluate(with: value ?? "")
26 |     }
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 |
[15/37] Compiling Valigator RequiredCheckBoxValidationRule.swift
/host/spi-builder-workspace/Source/ValidationRules/RegexValidationRule.swift:24:20: 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.
22 |
23 |     public override func validate(value: String?) -> Bool {
24 |         let test = NSPredicate(format: "SELF MATCHES %@", regex)
   |                    `- 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.
25 |         return test.evaluate(with: value ?? "")
26 |     }
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 |
[16/37] Compiling Valigator Collection+Exts.swift
/host/spi-builder-workspace/Source/FieldValidation/FieldValidationProtocol.swift:9:44: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 7 |
 8 | /// Data source of field validation
 9 | public protocol FieldValidationDataSource: class {
   |                                            `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
10 |     /// Provides the validatable value for the given identifier
11 |     /// - Parameter fieldId: field identifier
/host/spi-builder-workspace/Source/FieldValidation/FieldValidationProtocol.swift:18:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | /// Methods for managing validation process for a single field
18 | public protocol FieldValidationDelegate: class {
   |                                          `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
19 |     /// Tells the delegate the field with the given identifier was validated
20 |     /// - Parameters:
[17/37] Compiling Valigator Optional+Exts.swift
/host/spi-builder-workspace/Source/FieldValidation/FieldValidationProtocol.swift:9:44: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 7 |
 8 | /// Data source of field validation
 9 | public protocol FieldValidationDataSource: class {
   |                                            `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
10 |     /// Provides the validatable value for the given identifier
11 |     /// - Parameter fieldId: field identifier
/host/spi-builder-workspace/Source/FieldValidation/FieldValidationProtocol.swift:18:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | /// Methods for managing validation process for a single field
18 | public protocol FieldValidationDelegate: class {
   |                                          `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
19 |     /// Tells the delegate the field with the given identifier was validated
20 |     /// - Parameters:
[18/37] Compiling Valigator FieldValidationEntities.swift
/host/spi-builder-workspace/Source/FieldValidation/FieldValidationProtocol.swift:9:44: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 7 |
 8 | /// Data source of field validation
 9 | public protocol FieldValidationDataSource: class {
   |                                            `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
10 |     /// Provides the validatable value for the given identifier
11 |     /// - Parameter fieldId: field identifier
/host/spi-builder-workspace/Source/FieldValidation/FieldValidationProtocol.swift:18:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | /// Methods for managing validation process for a single field
18 | public protocol FieldValidationDelegate: class {
   |                                          `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
19 |     /// Tells the delegate the field with the given identifier was validated
20 |     /// - Parameters:
[19/37] Compiling Valigator FieldValidationProtocol.swift
/host/spi-builder-workspace/Source/FieldValidation/FieldValidationProtocol.swift:9:44: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 7 |
 8 | /// Data source of field validation
 9 | public protocol FieldValidationDataSource: class {
   |                                            `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
10 |     /// Provides the validatable value for the given identifier
11 |     /// - Parameter fieldId: field identifier
/host/spi-builder-workspace/Source/FieldValidation/FieldValidationProtocol.swift:18:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | /// Methods for managing validation process for a single field
18 | public protocol FieldValidationDelegate: class {
   |                                          `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
19 |     /// Tells the delegate the field with the given identifier was validated
20 |     /// - Parameters:
[20/37] Compiling Valigator FieldValidator.swift
/host/spi-builder-workspace/Source/FieldValidation/FieldValidationProtocol.swift:9:44: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 7 |
 8 | /// Data source of field validation
 9 | public protocol FieldValidationDataSource: class {
   |                                            `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
10 |     /// Provides the validatable value for the given identifier
11 |     /// - Parameter fieldId: field identifier
/host/spi-builder-workspace/Source/FieldValidation/FieldValidationProtocol.swift:18:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | /// Methods for managing validation process for a single field
18 | public protocol FieldValidationDelegate: class {
   |                                          `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
19 |     /// Tells the delegate the field with the given identifier was validated
20 |     /// - Parameters:
[21/37] Compiling Valigator CharacterRangeInputRule.swift
[22/37] Compiling Valigator CrossFieldValidationRule.swift
[23/37] Compiling Valigator EmailValidationRule.swift
[24/37] Compiling Valigator ExcludeCharactersRule.swift
[25/37] Compiling Valigator Valigator.swift
/host/spi-builder-workspace/Source/Services/ValigatorProtocol.swift:92:36: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 90 |  Protocol that declares the methods for validation service delegate
 91 |  */
 92 | public protocol ValigatorDelegate: class {
    |                                    `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 93 |     /// Called when a validation process finished for all validatable field after automatic validation. The logic described in validation strategy.
 94 |     /// - parameter success: represents the success of the validation.
/host/spi-builder-workspace/Source/Services/ValigatorProtocol.swift:119:38: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
117 |
118 | /// Protocol that declares the methods for validation service data source
119 | public protocol ValigatorDataSource: class {
    |                                      `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
120 |     /**
121 |      Called in the validation process to get the value from input field.
[26/37] Compiling Valigator ValigatorEntities.swift
/host/spi-builder-workspace/Source/Services/ValigatorProtocol.swift:92:36: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 90 |  Protocol that declares the methods for validation service delegate
 91 |  */
 92 | public protocol ValigatorDelegate: class {
    |                                    `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 93 |     /// Called when a validation process finished for all validatable field after automatic validation. The logic described in validation strategy.
 94 |     /// - parameter success: represents the success of the validation.
/host/spi-builder-workspace/Source/Services/ValigatorProtocol.swift:119:38: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
117 |
118 | /// Protocol that declares the methods for validation service data source
119 | public protocol ValigatorDataSource: class {
    |                                      `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
120 |     /**
121 |      Called in the validation process to get the value from input field.
[27/37] Compiling Valigator ValigatorProtocol.swift
/host/spi-builder-workspace/Source/Services/ValigatorProtocol.swift:92:36: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 90 |  Protocol that declares the methods for validation service delegate
 91 |  */
 92 | public protocol ValigatorDelegate: class {
    |                                    `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 93 |     /// Called when a validation process finished for all validatable field after automatic validation. The logic described in validation strategy.
 94 |     /// - parameter success: represents the success of the validation.
/host/spi-builder-workspace/Source/Services/ValigatorProtocol.swift:119:38: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
117 |
118 | /// Protocol that declares the methods for validation service data source
119 | public protocol ValigatorDataSource: class {
    |                                      `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
120 |     /**
121 |      Called in the validation process to get the value from input field.
[28/37] Compiling Valigator BaseValidationRule.swift
/host/spi-builder-workspace/Source/Services/ValigatorProtocol.swift:92:36: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 90 |  Protocol that declares the methods for validation service delegate
 91 |  */
 92 | public protocol ValigatorDelegate: class {
    |                                    `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 93 |     /// Called when a validation process finished for all validatable field after automatic validation. The logic described in validation strategy.
 94 |     /// - parameter success: represents the success of the validation.
/host/spi-builder-workspace/Source/Services/ValigatorProtocol.swift:119:38: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
117 |
118 | /// Protocol that declares the methods for validation service data source
119 | public protocol ValigatorDataSource: class {
    |                                      `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
120 |     /**
121 |      Called in the validation process to get the value from input field.
[29/37] Compiling Valigator LowercaseLetterValidationRule.swift
[30/37] Compiling Valigator MaxLengthValidationRule.swift
[31/37] Compiling Valigator MinLengthValidationRule.swift
[32/37] Compiling Valigator OnlyDigitsValidationRule.swift
[33/37] Compiling Valigator FieldValueManager.swift
/host/spi-builder-workspace/Source/FormValidators/BaseFormValidator.swift:109:13: warning: capture of 'self' with non-sendable type 'BaseFormValidator?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 14 |  - func validatableCrossFieldsBy(validatableFields: [FieldValidationWrapper]) -> [CrossFieldValidationRule]
 15 |  */
 16 | class BaseFormValidator: FormValidatorProtocol {
    |       `- note: class 'BaseFormValidator' does not conform to the 'Sendable' protocol
 17 |     // MARK: - Properties
 18 |
    :
107 |
108 |         let completionOperation = BlockOperation { [weak self] in
109 |             self?.notifyValidationDelegate(validatableFields: validatableFields, allValidatedManually: allValidatedManually)
    |             `- warning: capture of 'self' with non-sendable type 'BaseFormValidator?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
110 |         }
111 |
/host/spi-builder-workspace/Source/FormValidators/BaseFormValidator.swift:109:63: warning: capture of 'validatableFields' with non-sendable type '[FieldValidationWrapper]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
107 |
108 |         let completionOperation = BlockOperation { [weak self] in
109 |             self?.notifyValidationDelegate(validatableFields: validatableFields, allValidatedManually: allValidatedManually)
    |                                                               `- warning: capture of 'validatableFields' with non-sendable type '[FieldValidationWrapper]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
110 |         }
111 |
/host/spi-builder-workspace/Source/FormValidators/FieldValidationWrapper.swift:11:14: note: class 'FieldValidationWrapper' does not conform to the 'Sendable' protocol
 9 |  A wrapper to store validation and edit state for fields.
10 |  */
11 | public class FieldValidationWrapper {
   |              `- note: class 'FieldValidationWrapper' does not conform to the 'Sendable' protocol
12 |     // MARK: - Properties
13 |
/host/spi-builder-workspace/Source/FormValidators/BaseFormValidator.swift:115:21: warning: capture of 'field' with non-sendable type 'FieldValidationWrapper' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 |             let operation = BlockOperation {
114 |                 DispatchQueue.main.async {
115 |                     field.fieldValidation.validateField()
    |                     `- warning: capture of 'field' with non-sendable type 'FieldValidationWrapper' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 |                 }
117 |             }
/host/spi-builder-workspace/Source/FormValidators/FieldValidationWrapper.swift:11:14: note: class 'FieldValidationWrapper' does not conform to the 'Sendable' protocol
 9 |  A wrapper to store validation and edit state for fields.
10 |  */
11 | public class FieldValidationWrapper {
   |              `- note: class 'FieldValidationWrapper' does not conform to the 'Sendable' protocol
12 |     // MARK: - Properties
13 |
/host/spi-builder-workspace/Source/FormValidators/BaseFormValidator.swift:125:21: warning: capture of 'crossField' with non-sendable type 'CrossFieldValidationRule' in a '@Sendable' closure; this is an error in the Swift 6 language mode
123 |             let operation = BlockOperation {
124 |                 DispatchQueue.main.async {
125 |                     crossField.validateClosure()
    |                     `- warning: capture of 'crossField' with non-sendable type 'CrossFieldValidationRule' in a '@Sendable' closure; this is an error in the Swift 6 language mode
126 |                 }
127 |             }
/host/spi-builder-workspace/Source/ValidationRules/CrossFieldValidationRule.swift:8:15: note: consider making struct 'CrossFieldValidationRule' conform to the 'Sendable' protocol
 6 | import Foundation
 7 |
 8 | public struct CrossFieldValidationRule {
   |               `- note: consider making struct 'CrossFieldValidationRule' conform to the 'Sendable' protocol
 9 |     // MARK: - Properties
10 |
[34/37] Compiling Valigator FieldValueManagerEntity.swift
/host/spi-builder-workspace/Source/FormValidators/BaseFormValidator.swift:109:13: warning: capture of 'self' with non-sendable type 'BaseFormValidator?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 14 |  - func validatableCrossFieldsBy(validatableFields: [FieldValidationWrapper]) -> [CrossFieldValidationRule]
 15 |  */
 16 | class BaseFormValidator: FormValidatorProtocol {
    |       `- note: class 'BaseFormValidator' does not conform to the 'Sendable' protocol
 17 |     // MARK: - Properties
 18 |
    :
107 |
108 |         let completionOperation = BlockOperation { [weak self] in
109 |             self?.notifyValidationDelegate(validatableFields: validatableFields, allValidatedManually: allValidatedManually)
    |             `- warning: capture of 'self' with non-sendable type 'BaseFormValidator?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
110 |         }
111 |
/host/spi-builder-workspace/Source/FormValidators/BaseFormValidator.swift:109:63: warning: capture of 'validatableFields' with non-sendable type '[FieldValidationWrapper]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
107 |
108 |         let completionOperation = BlockOperation { [weak self] in
109 |             self?.notifyValidationDelegate(validatableFields: validatableFields, allValidatedManually: allValidatedManually)
    |                                                               `- warning: capture of 'validatableFields' with non-sendable type '[FieldValidationWrapper]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
110 |         }
111 |
/host/spi-builder-workspace/Source/FormValidators/FieldValidationWrapper.swift:11:14: note: class 'FieldValidationWrapper' does not conform to the 'Sendable' protocol
 9 |  A wrapper to store validation and edit state for fields.
10 |  */
11 | public class FieldValidationWrapper {
   |              `- note: class 'FieldValidationWrapper' does not conform to the 'Sendable' protocol
12 |     // MARK: - Properties
13 |
/host/spi-builder-workspace/Source/FormValidators/BaseFormValidator.swift:115:21: warning: capture of 'field' with non-sendable type 'FieldValidationWrapper' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 |             let operation = BlockOperation {
114 |                 DispatchQueue.main.async {
115 |                     field.fieldValidation.validateField()
    |                     `- warning: capture of 'field' with non-sendable type 'FieldValidationWrapper' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 |                 }
117 |             }
/host/spi-builder-workspace/Source/FormValidators/FieldValidationWrapper.swift:11:14: note: class 'FieldValidationWrapper' does not conform to the 'Sendable' protocol
 9 |  A wrapper to store validation and edit state for fields.
10 |  */
11 | public class FieldValidationWrapper {
   |              `- note: class 'FieldValidationWrapper' does not conform to the 'Sendable' protocol
12 |     // MARK: - Properties
13 |
/host/spi-builder-workspace/Source/FormValidators/BaseFormValidator.swift:125:21: warning: capture of 'crossField' with non-sendable type 'CrossFieldValidationRule' in a '@Sendable' closure; this is an error in the Swift 6 language mode
123 |             let operation = BlockOperation {
124 |                 DispatchQueue.main.async {
125 |                     crossField.validateClosure()
    |                     `- warning: capture of 'crossField' with non-sendable type 'CrossFieldValidationRule' in a '@Sendable' closure; this is an error in the Swift 6 language mode
126 |                 }
127 |             }
/host/spi-builder-workspace/Source/ValidationRules/CrossFieldValidationRule.swift:8:15: note: consider making struct 'CrossFieldValidationRule' conform to the 'Sendable' protocol
 6 | import Foundation
 7 |
 8 | public struct CrossFieldValidationRule {
   |               `- note: consider making struct 'CrossFieldValidationRule' conform to the 'Sendable' protocol
 9 |     // MARK: - Properties
10 |
[35/37] Compiling Valigator BaseFormValidator.swift
/host/spi-builder-workspace/Source/FormValidators/BaseFormValidator.swift:109:13: warning: capture of 'self' with non-sendable type 'BaseFormValidator?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 14 |  - func validatableCrossFieldsBy(validatableFields: [FieldValidationWrapper]) -> [CrossFieldValidationRule]
 15 |  */
 16 | class BaseFormValidator: FormValidatorProtocol {
    |       `- note: class 'BaseFormValidator' does not conform to the 'Sendable' protocol
 17 |     // MARK: - Properties
 18 |
    :
107 |
108 |         let completionOperation = BlockOperation { [weak self] in
109 |             self?.notifyValidationDelegate(validatableFields: validatableFields, allValidatedManually: allValidatedManually)
    |             `- warning: capture of 'self' with non-sendable type 'BaseFormValidator?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
110 |         }
111 |
/host/spi-builder-workspace/Source/FormValidators/BaseFormValidator.swift:109:63: warning: capture of 'validatableFields' with non-sendable type '[FieldValidationWrapper]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
107 |
108 |         let completionOperation = BlockOperation { [weak self] in
109 |             self?.notifyValidationDelegate(validatableFields: validatableFields, allValidatedManually: allValidatedManually)
    |                                                               `- warning: capture of 'validatableFields' with non-sendable type '[FieldValidationWrapper]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
110 |         }
111 |
/host/spi-builder-workspace/Source/FormValidators/FieldValidationWrapper.swift:11:14: note: class 'FieldValidationWrapper' does not conform to the 'Sendable' protocol
 9 |  A wrapper to store validation and edit state for fields.
10 |  */
11 | public class FieldValidationWrapper {
   |              `- note: class 'FieldValidationWrapper' does not conform to the 'Sendable' protocol
12 |     // MARK: - Properties
13 |
/host/spi-builder-workspace/Source/FormValidators/BaseFormValidator.swift:115:21: warning: capture of 'field' with non-sendable type 'FieldValidationWrapper' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 |             let operation = BlockOperation {
114 |                 DispatchQueue.main.async {
115 |                     field.fieldValidation.validateField()
    |                     `- warning: capture of 'field' with non-sendable type 'FieldValidationWrapper' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 |                 }
117 |             }
/host/spi-builder-workspace/Source/FormValidators/FieldValidationWrapper.swift:11:14: note: class 'FieldValidationWrapper' does not conform to the 'Sendable' protocol
 9 |  A wrapper to store validation and edit state for fields.
10 |  */
11 | public class FieldValidationWrapper {
   |              `- note: class 'FieldValidationWrapper' does not conform to the 'Sendable' protocol
12 |     // MARK: - Properties
13 |
/host/spi-builder-workspace/Source/FormValidators/BaseFormValidator.swift:125:21: warning: capture of 'crossField' with non-sendable type 'CrossFieldValidationRule' in a '@Sendable' closure; this is an error in the Swift 6 language mode
123 |             let operation = BlockOperation {
124 |                 DispatchQueue.main.async {
125 |                     crossField.validateClosure()
    |                     `- warning: capture of 'crossField' with non-sendable type 'CrossFieldValidationRule' in a '@Sendable' closure; this is an error in the Swift 6 language mode
126 |                 }
127 |             }
/host/spi-builder-workspace/Source/ValidationRules/CrossFieldValidationRule.swift:8:15: note: consider making struct 'CrossFieldValidationRule' conform to the 'Sendable' protocol
 6 | import Foundation
 7 |
 8 | public struct CrossFieldValidationRule {
   |               `- note: consider making struct 'CrossFieldValidationRule' conform to the 'Sendable' protocol
 9 |     // MARK: - Properties
10 |
[36/37] Compiling Valigator DuringEditFormValidator.swift
/host/spi-builder-workspace/Source/FormValidators/BaseFormValidator.swift:109:13: warning: capture of 'self' with non-sendable type 'BaseFormValidator?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 14 |  - func validatableCrossFieldsBy(validatableFields: [FieldValidationWrapper]) -> [CrossFieldValidationRule]
 15 |  */
 16 | class BaseFormValidator: FormValidatorProtocol {
    |       `- note: class 'BaseFormValidator' does not conform to the 'Sendable' protocol
 17 |     // MARK: - Properties
 18 |
    :
107 |
108 |         let completionOperation = BlockOperation { [weak self] in
109 |             self?.notifyValidationDelegate(validatableFields: validatableFields, allValidatedManually: allValidatedManually)
    |             `- warning: capture of 'self' with non-sendable type 'BaseFormValidator?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
110 |         }
111 |
/host/spi-builder-workspace/Source/FormValidators/BaseFormValidator.swift:109:63: warning: capture of 'validatableFields' with non-sendable type '[FieldValidationWrapper]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
107 |
108 |         let completionOperation = BlockOperation { [weak self] in
109 |             self?.notifyValidationDelegate(validatableFields: validatableFields, allValidatedManually: allValidatedManually)
    |                                                               `- warning: capture of 'validatableFields' with non-sendable type '[FieldValidationWrapper]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
110 |         }
111 |
/host/spi-builder-workspace/Source/FormValidators/FieldValidationWrapper.swift:11:14: note: class 'FieldValidationWrapper' does not conform to the 'Sendable' protocol
 9 |  A wrapper to store validation and edit state for fields.
10 |  */
11 | public class FieldValidationWrapper {
   |              `- note: class 'FieldValidationWrapper' does not conform to the 'Sendable' protocol
12 |     // MARK: - Properties
13 |
/host/spi-builder-workspace/Source/FormValidators/BaseFormValidator.swift:115:21: warning: capture of 'field' with non-sendable type 'FieldValidationWrapper' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 |             let operation = BlockOperation {
114 |                 DispatchQueue.main.async {
115 |                     field.fieldValidation.validateField()
    |                     `- warning: capture of 'field' with non-sendable type 'FieldValidationWrapper' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 |                 }
117 |             }
/host/spi-builder-workspace/Source/FormValidators/FieldValidationWrapper.swift:11:14: note: class 'FieldValidationWrapper' does not conform to the 'Sendable' protocol
 9 |  A wrapper to store validation and edit state for fields.
10 |  */
11 | public class FieldValidationWrapper {
   |              `- note: class 'FieldValidationWrapper' does not conform to the 'Sendable' protocol
12 |     // MARK: - Properties
13 |
/host/spi-builder-workspace/Source/FormValidators/BaseFormValidator.swift:125:21: warning: capture of 'crossField' with non-sendable type 'CrossFieldValidationRule' in a '@Sendable' closure; this is an error in the Swift 6 language mode
123 |             let operation = BlockOperation {
124 |                 DispatchQueue.main.async {
125 |                     crossField.validateClosure()
    |                     `- warning: capture of 'crossField' with non-sendable type 'CrossFieldValidationRule' in a '@Sendable' closure; this is an error in the Swift 6 language mode
126 |                 }
127 |             }
/host/spi-builder-workspace/Source/ValidationRules/CrossFieldValidationRule.swift:8:15: note: consider making struct 'CrossFieldValidationRule' conform to the 'Sendable' protocol
 6 | import Foundation
 7 |
 8 | public struct CrossFieldValidationRule {
   |               `- note: consider making struct 'CrossFieldValidationRule' conform to the 'Sendable' protocol
 9 |     // MARK: - Properties
10 |
[37/37] Compiling Valigator EndOfFieldFormValidator.swift
/host/spi-builder-workspace/Source/FormValidators/BaseFormValidator.swift:109:13: warning: capture of 'self' with non-sendable type 'BaseFormValidator?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 14 |  - func validatableCrossFieldsBy(validatableFields: [FieldValidationWrapper]) -> [CrossFieldValidationRule]
 15 |  */
 16 | class BaseFormValidator: FormValidatorProtocol {
    |       `- note: class 'BaseFormValidator' does not conform to the 'Sendable' protocol
 17 |     // MARK: - Properties
 18 |
    :
107 |
108 |         let completionOperation = BlockOperation { [weak self] in
109 |             self?.notifyValidationDelegate(validatableFields: validatableFields, allValidatedManually: allValidatedManually)
    |             `- warning: capture of 'self' with non-sendable type 'BaseFormValidator?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
110 |         }
111 |
/host/spi-builder-workspace/Source/FormValidators/BaseFormValidator.swift:109:63: warning: capture of 'validatableFields' with non-sendable type '[FieldValidationWrapper]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
107 |
108 |         let completionOperation = BlockOperation { [weak self] in
109 |             self?.notifyValidationDelegate(validatableFields: validatableFields, allValidatedManually: allValidatedManually)
    |                                                               `- warning: capture of 'validatableFields' with non-sendable type '[FieldValidationWrapper]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
110 |         }
111 |
/host/spi-builder-workspace/Source/FormValidators/FieldValidationWrapper.swift:11:14: note: class 'FieldValidationWrapper' does not conform to the 'Sendable' protocol
 9 |  A wrapper to store validation and edit state for fields.
10 |  */
11 | public class FieldValidationWrapper {
   |              `- note: class 'FieldValidationWrapper' does not conform to the 'Sendable' protocol
12 |     // MARK: - Properties
13 |
/host/spi-builder-workspace/Source/FormValidators/BaseFormValidator.swift:115:21: warning: capture of 'field' with non-sendable type 'FieldValidationWrapper' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 |             let operation = BlockOperation {
114 |                 DispatchQueue.main.async {
115 |                     field.fieldValidation.validateField()
    |                     `- warning: capture of 'field' with non-sendable type 'FieldValidationWrapper' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 |                 }
117 |             }
/host/spi-builder-workspace/Source/FormValidators/FieldValidationWrapper.swift:11:14: note: class 'FieldValidationWrapper' does not conform to the 'Sendable' protocol
 9 |  A wrapper to store validation and edit state for fields.
10 |  */
11 | public class FieldValidationWrapper {
   |              `- note: class 'FieldValidationWrapper' does not conform to the 'Sendable' protocol
12 |     // MARK: - Properties
13 |
/host/spi-builder-workspace/Source/FormValidators/BaseFormValidator.swift:125:21: warning: capture of 'crossField' with non-sendable type 'CrossFieldValidationRule' in a '@Sendable' closure; this is an error in the Swift 6 language mode
123 |             let operation = BlockOperation {
124 |                 DispatchQueue.main.async {
125 |                     crossField.validateClosure()
    |                     `- warning: capture of 'crossField' with non-sendable type 'CrossFieldValidationRule' in a '@Sendable' closure; this is an error in the Swift 6 language mode
126 |                 }
127 |             }
/host/spi-builder-workspace/Source/ValidationRules/CrossFieldValidationRule.swift:8:15: note: consider making struct 'CrossFieldValidationRule' conform to the 'Sendable' protocol
 6 | import Foundation
 7 |
 8 | public struct CrossFieldValidationRule {
   |               `- note: consider making struct 'CrossFieldValidationRule' conform to the 'Sendable' protocol
 9 |     // MARK: - Properties
10 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
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/32] Emitting module Valigator
/host/spi-builder-workspace/Source/FieldValidation/FieldValidationProtocol.swift:9:44: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 7 |
 8 | /// Data source of field validation
 9 | public protocol FieldValidationDataSource: class {
   |                                            `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
10 |     /// Provides the validatable value for the given identifier
11 |     /// - Parameter fieldId: field identifier
/host/spi-builder-workspace/Source/FieldValidation/FieldValidationProtocol.swift:18:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | /// Methods for managing validation process for a single field
18 | public protocol FieldValidationDelegate: class {
   |                                          `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
19 |     /// Tells the delegate the field with the given identifier was validated
20 |     /// - Parameters:
/host/spi-builder-workspace/Source/FormValidators/FormValidatorProtocol.swift:9:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 7 |
 8 | /// Methods for managing validation process for a whole form
 9 | public protocol FormValidatorDelegate: class {
   |                                        `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
10 |     /// Called when a validation process finished for all validatable field after automatic validation. The logic described in validation strategy.
11 |     /// - parameter success: represents the success of the validation.
/host/spi-builder-workspace/Source/FormValidators/FormValidatorProtocol.swift:30:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
28 |
29 | /// Data source of form validator
30 | public protocol FormValidatorDataSource: class {
   |                                          `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 |     /// Provides the validatable value for the given identifier
32 |     /// - Parameter fieldId: field identifier
/host/spi-builder-workspace/Source/Services/ValigatorProtocol.swift:92:36: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 90 |  Protocol that declares the methods for validation service delegate
 91 |  */
 92 | public protocol ValigatorDelegate: class {
    |                                    `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 93 |     /// Called when a validation process finished for all validatable field after automatic validation. The logic described in validation strategy.
 94 |     /// - parameter success: represents the success of the validation.
/host/spi-builder-workspace/Source/Services/ValigatorProtocol.swift:119:38: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
117 |
118 | /// Protocol that declares the methods for validation service data source
119 | public protocol ValigatorDataSource: class {
    |                                      `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
120 |     /**
121 |      Called in the validation process to get the value from input field.
[3/36] Compiling Valigator OnlyLetterOrNumberValidationRule.swift
/host/spi-builder-workspace/Source/ValidationRules/RegexValidationRule.swift:24:20: 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.
22 |
23 |     public override func validate(value: String?) -> Bool {
24 |         let test = NSPredicate(format: "SELF MATCHES %@", regex)
   |                    `- 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.
25 |         return test.evaluate(with: value ?? "")
26 |     }
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/36] Compiling Valigator OnlyNumberValidationRule.swift
/host/spi-builder-workspace/Source/ValidationRules/RegexValidationRule.swift:24:20: 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.
22 |
23 |     public override func validate(value: String?) -> Bool {
24 |         let test = NSPredicate(format: "SELF MATCHES %@", regex)
   |                    `- 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.
25 |         return test.evaluate(with: value ?? "")
26 |     }
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/36] Compiling Valigator RegexValidationRule.swift
/host/spi-builder-workspace/Source/ValidationRules/RegexValidationRule.swift:24:20: 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.
22 |
23 |     public override func validate(value: String?) -> Bool {
24 |         let test = NSPredicate(format: "SELF MATCHES %@", regex)
   |                    `- 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.
25 |         return test.evaluate(with: value ?? "")
26 |     }
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/36] Compiling Valigator RequiredCheckBoxValidationRule.swift
/host/spi-builder-workspace/Source/ValidationRules/RegexValidationRule.swift:24:20: 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.
22 |
23 |     public override func validate(value: String?) -> Bool {
24 |         let test = NSPredicate(format: "SELF MATCHES %@", regex)
   |                    `- 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.
25 |         return test.evaluate(with: value ?? "")
26 |     }
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/36] Compiling Valigator CharacterRangeInputRule.swift
[8/36] Compiling Valigator CrossFieldValidationRule.swift
[9/36] Compiling Valigator EmailValidationRule.swift
[10/36] Compiling Valigator ExcludeCharactersRule.swift
[11/36] Compiling Valigator EndOfFormFormValidator.swift
/host/spi-builder-workspace/Source/FormValidators/FormValidatorProtocol.swift:9:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 7 |
 8 | /// Methods for managing validation process for a whole form
 9 | public protocol FormValidatorDelegate: class {
   |                                        `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
10 |     /// Called when a validation process finished for all validatable field after automatic validation. The logic described in validation strategy.
11 |     /// - parameter success: represents the success of the validation.
/host/spi-builder-workspace/Source/FormValidators/FormValidatorProtocol.swift:30:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
28 |
29 | /// Data source of form validator
30 | public protocol FormValidatorDataSource: class {
   |                                          `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 |     /// Provides the validatable value for the given identifier
32 |     /// - Parameter fieldId: field identifier
[12/36] Compiling Valigator FieldValidationWrapper.swift
/host/spi-builder-workspace/Source/FormValidators/FormValidatorProtocol.swift:9:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 7 |
 8 | /// Methods for managing validation process for a whole form
 9 | public protocol FormValidatorDelegate: class {
   |                                        `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
10 |     /// Called when a validation process finished for all validatable field after automatic validation. The logic described in validation strategy.
11 |     /// - parameter success: represents the success of the validation.
/host/spi-builder-workspace/Source/FormValidators/FormValidatorProtocol.swift:30:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
28 |
29 | /// Data source of form validator
30 | public protocol FormValidatorDataSource: class {
   |                                          `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 |     /// Provides the validatable value for the given identifier
32 |     /// - Parameter fieldId: field identifier
[13/36] Compiling Valigator FormValidatorProtocol.swift
/host/spi-builder-workspace/Source/FormValidators/FormValidatorProtocol.swift:9:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 7 |
 8 | /// Methods for managing validation process for a whole form
 9 | public protocol FormValidatorDelegate: class {
   |                                        `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
10 |     /// Called when a validation process finished for all validatable field after automatic validation. The logic described in validation strategy.
11 |     /// - parameter success: represents the success of the validation.
/host/spi-builder-workspace/Source/FormValidators/FormValidatorProtocol.swift:30:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
28 |
29 | /// Data source of form validator
30 | public protocol FormValidatorDataSource: class {
   |                                          `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 |     /// Provides the validatable value for the given identifier
32 |     /// - Parameter fieldId: field identifier
[14/36] Compiling Valigator NeverFormValidator.swift
/host/spi-builder-workspace/Source/FormValidators/FormValidatorProtocol.swift:9:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 7 |
 8 | /// Methods for managing validation process for a whole form
 9 | public protocol FormValidatorDelegate: class {
   |                                        `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
10 |     /// Called when a validation process finished for all validatable field after automatic validation. The logic described in validation strategy.
11 |     /// - parameter success: represents the success of the validation.
/host/spi-builder-workspace/Source/FormValidators/FormValidatorProtocol.swift:30:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
28 |
29 | /// Data source of form validator
30 | public protocol FormValidatorDataSource: class {
   |                                          `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 |     /// Provides the validatable value for the given identifier
32 |     /// - Parameter fieldId: field identifier
[15/36] Compiling Valigator Collection+Exts.swift
/host/spi-builder-workspace/Source/FieldValidation/FieldValidationProtocol.swift:9:44: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 7 |
 8 | /// Data source of field validation
 9 | public protocol FieldValidationDataSource: class {
   |                                            `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
10 |     /// Provides the validatable value for the given identifier
11 |     /// - Parameter fieldId: field identifier
/host/spi-builder-workspace/Source/FieldValidation/FieldValidationProtocol.swift:18:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | /// Methods for managing validation process for a single field
18 | public protocol FieldValidationDelegate: class {
   |                                          `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
19 |     /// Tells the delegate the field with the given identifier was validated
20 |     /// - Parameters:
[16/36] Compiling Valigator Optional+Exts.swift
/host/spi-builder-workspace/Source/FieldValidation/FieldValidationProtocol.swift:9:44: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 7 |
 8 | /// Data source of field validation
 9 | public protocol FieldValidationDataSource: class {
   |                                            `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
10 |     /// Provides the validatable value for the given identifier
11 |     /// - Parameter fieldId: field identifier
/host/spi-builder-workspace/Source/FieldValidation/FieldValidationProtocol.swift:18:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | /// Methods for managing validation process for a single field
18 | public protocol FieldValidationDelegate: class {
   |                                          `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
19 |     /// Tells the delegate the field with the given identifier was validated
20 |     /// - Parameters:
[17/36] Compiling Valigator FieldValidationEntities.swift
/host/spi-builder-workspace/Source/FieldValidation/FieldValidationProtocol.swift:9:44: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 7 |
 8 | /// Data source of field validation
 9 | public protocol FieldValidationDataSource: class {
   |                                            `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
10 |     /// Provides the validatable value for the given identifier
11 |     /// - Parameter fieldId: field identifier
/host/spi-builder-workspace/Source/FieldValidation/FieldValidationProtocol.swift:18:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | /// Methods for managing validation process for a single field
18 | public protocol FieldValidationDelegate: class {
   |                                          `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
19 |     /// Tells the delegate the field with the given identifier was validated
20 |     /// - Parameters:
[18/36] Compiling Valigator FieldValidationProtocol.swift
/host/spi-builder-workspace/Source/FieldValidation/FieldValidationProtocol.swift:9:44: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 7 |
 8 | /// Data source of field validation
 9 | public protocol FieldValidationDataSource: class {
   |                                            `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
10 |     /// Provides the validatable value for the given identifier
11 |     /// - Parameter fieldId: field identifier
/host/spi-builder-workspace/Source/FieldValidation/FieldValidationProtocol.swift:18:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | /// Methods for managing validation process for a single field
18 | public protocol FieldValidationDelegate: class {
   |                                          `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
19 |     /// Tells the delegate the field with the given identifier was validated
20 |     /// - Parameters:
[19/36] Compiling Valigator FieldValidator.swift
/host/spi-builder-workspace/Source/FieldValidation/FieldValidationProtocol.swift:9:44: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 7 |
 8 | /// Data source of field validation
 9 | public protocol FieldValidationDataSource: class {
   |                                            `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
10 |     /// Provides the validatable value for the given identifier
11 |     /// - Parameter fieldId: field identifier
/host/spi-builder-workspace/Source/FieldValidation/FieldValidationProtocol.swift:18:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
16 |
17 | /// Methods for managing validation process for a single field
18 | public protocol FieldValidationDelegate: class {
   |                                          `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
19 |     /// Tells the delegate the field with the given identifier was validated
20 |     /// - Parameters:
[20/36] Compiling Valigator LowercaseLetterValidationRule.swift
[21/36] Compiling Valigator MaxLengthValidationRule.swift
[22/36] Compiling Valigator MinLengthValidationRule.swift
[23/36] Compiling Valigator OnlyDigitsValidationRule.swift
[24/36] Compiling Valigator Valigator.swift
/host/spi-builder-workspace/Source/Services/ValigatorProtocol.swift:92:36: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 90 |  Protocol that declares the methods for validation service delegate
 91 |  */
 92 | public protocol ValigatorDelegate: class {
    |                                    `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 93 |     /// Called when a validation process finished for all validatable field after automatic validation. The logic described in validation strategy.
 94 |     /// - parameter success: represents the success of the validation.
/host/spi-builder-workspace/Source/Services/ValigatorProtocol.swift:119:38: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
117 |
118 | /// Protocol that declares the methods for validation service data source
119 | public protocol ValigatorDataSource: class {
    |                                      `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
120 |     /**
121 |      Called in the validation process to get the value from input field.
[25/36] Compiling Valigator ValigatorEntities.swift
/host/spi-builder-workspace/Source/Services/ValigatorProtocol.swift:92:36: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 90 |  Protocol that declares the methods for validation service delegate
 91 |  */
 92 | public protocol ValigatorDelegate: class {
    |                                    `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 93 |     /// Called when a validation process finished for all validatable field after automatic validation. The logic described in validation strategy.
 94 |     /// - parameter success: represents the success of the validation.
/host/spi-builder-workspace/Source/Services/ValigatorProtocol.swift:119:38: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
117 |
118 | /// Protocol that declares the methods for validation service data source
119 | public protocol ValigatorDataSource: class {
    |                                      `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
120 |     /**
121 |      Called in the validation process to get the value from input field.
[26/36] Compiling Valigator ValigatorProtocol.swift
/host/spi-builder-workspace/Source/Services/ValigatorProtocol.swift:92:36: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 90 |  Protocol that declares the methods for validation service delegate
 91 |  */
 92 | public protocol ValigatorDelegate: class {
    |                                    `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 93 |     /// Called when a validation process finished for all validatable field after automatic validation. The logic described in validation strategy.
 94 |     /// - parameter success: represents the success of the validation.
/host/spi-builder-workspace/Source/Services/ValigatorProtocol.swift:119:38: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
117 |
118 | /// Protocol that declares the methods for validation service data source
119 | public protocol ValigatorDataSource: class {
    |                                      `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
120 |     /**
121 |      Called in the validation process to get the value from input field.
[27/36] Compiling Valigator BaseValidationRule.swift
/host/spi-builder-workspace/Source/Services/ValigatorProtocol.swift:92:36: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 90 |  Protocol that declares the methods for validation service delegate
 91 |  */
 92 | public protocol ValigatorDelegate: class {
    |                                    `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 93 |     /// Called when a validation process finished for all validatable field after automatic validation. The logic described in validation strategy.
 94 |     /// - parameter success: represents the success of the validation.
/host/spi-builder-workspace/Source/Services/ValigatorProtocol.swift:119:38: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
117 |
118 | /// Protocol that declares the methods for validation service data source
119 | public protocol ValigatorDataSource: class {
    |                                      `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
120 |     /**
121 |      Called in the validation process to get the value from input field.
[28/36] Compiling Valigator RequiredObjectValidationRule.swift
[29/36] Compiling Valigator RequiredStringValidationRule.swift
[30/36] Compiling Valigator UppercaseLetterValidationRule.swift
[31/36] Compiling Valigator ValidationRuleProtocol.swift
[32/36] Compiling Valigator FieldValueManager.swift
[33/36] Compiling Valigator FieldValueManagerEntity.swift
[34/36] Compiling Valigator BaseFormValidator.swift
[35/36] Compiling Valigator DuringEditFormValidator.swift
[36/36] Compiling Valigator EndOfFieldFormValidator.swift
BUILD FAILURE 6.1 linux