The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build Valigator, reference master (b16a19), with Swift 6.2 (beta) for Android on 18 Jun 2025 11:35:16 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/kapizoli77/valigator.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/33] 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 [#deprecation]
 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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
19 |     /// Tells the delegate the field with the given identifier was validated
20 |     /// - Parameters:
[4/33] 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 [#deprecation]
 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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
19 |     /// Tells the delegate the field with the given identifier was validated
20 |     /// - Parameters:
[5/33] 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 [#deprecation]
 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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
19 |     /// Tells the delegate the field with the given identifier was validated
20 |     /// - Parameters:
[6/33] 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 [#deprecation]
 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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
19 |     /// Tells the delegate the field with the given identifier was validated
20 |     /// - Parameters:
[7/33] 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 [#deprecation]
 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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
19 |     /// Tells the delegate the field with the given identifier was validated
20 |     /// - Parameters:
[8/37] Compiling Valigator CharacterRangeInputRule.swift
[9/37] Compiling Valigator CrossFieldValidationRule.swift
[10/37] Compiling Valigator EmailValidationRule.swift
[11/37] Compiling Valigator ExcludeCharactersRule.swift
[12/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 [#deprecation]
 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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
31 |     /// Provides the validatable value for the given identifier
32 |     /// - Parameter fieldId: field identifier
[13/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 [#deprecation]
 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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
31 |     /// Provides the validatable value for the given identifier
32 |     /// - Parameter fieldId: field identifier
[14/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 [#deprecation]
 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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
31 |     /// Provides the validatable value for the given identifier
32 |     /// - Parameter fieldId: field identifier
[15/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 [#deprecation]
 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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
31 |     /// Provides the validatable value for the given identifier
32 |     /// - Parameter fieldId: field identifier
[16/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 |
[17/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 |
[18/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 |
[19/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 |
[20/37] Compiling Valigator LowercaseLetterValidationRule.swift
[21/37] Compiling Valigator MaxLengthValidationRule.swift
[22/37] Compiling Valigator MinLengthValidationRule.swift
[23/37] Compiling Valigator OnlyDigitsValidationRule.swift
[24/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 [#deprecation]
 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 [#deprecation]
 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 [#deprecation]
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 [#deprecation]
120 |     /**
121 |      Called in the validation process to get the value from input field.
[25/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 [#deprecation]
 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 [#deprecation]
 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 [#deprecation]
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 [#deprecation]
120 |     /**
121 |      Called in the validation process to get the value from input field.
[26/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 [#deprecation]
 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 [#deprecation]
 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 [#deprecation]
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 [#deprecation]
120 |     /**
121 |      Called in the validation process to get the value from input field.
[27/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 [#deprecation]
 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 [#deprecation]
 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 [#deprecation]
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 [#deprecation]
120 |     /**
121 |      Called in the validation process to get the value from input field.
[28/37] 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 [#deprecation]
 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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
 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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
 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 [#deprecation]
 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 [#deprecation]
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 [#deprecation]
120 |     /**
121 |      Called in the validation process to get the value from input field.
[29/37] Compiling Valigator FieldValueManager.swift
[30/37] Compiling Valigator FieldValueManagerEntity.swift
[31/37] Compiling Valigator BaseFormValidator.swift
[32/37] Compiling Valigator DuringEditFormValidator.swift
[33/37] Compiling Valigator EndOfFieldFormValidator.swift
[34/37] Compiling Valigator RequiredObjectValidationRule.swift
[35/37] Compiling Valigator RequiredStringValidationRule.swift
[36/37] Compiling Valigator UppercaseLetterValidationRule.swift
[37/37] Compiling Valigator ValidationRuleProtocol.swift
BUILD FAILURE 6.2 android