Build Information
Successful build of Valigator, reference master (b16a19
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 01:31:15 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kapizoli77/valigator.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "valigator",
"name": "Valigator",
"url": "https://github.com/kapizoli77/valigator.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/valigator",
"dependencies": [
]
}
]
}
Fetching https://github.com/kapizoli77/valigator.git
[9/841] Fetching valigator
Fetched https://github.com/kapizoli77/valigator.git from cache (1.11s)
Creating working copy for https://github.com/kapizoli77/valigator.git
Working copy of https://github.com/kapizoli77/valigator.git resolved at master (b16a196)
warning: '.resolve-product-dependencies': dependency 'valigator' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/kapizoli77/valigator.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/34] Compiling Valigator LowercaseLetterValidationRule.swift
[4/34] Compiling Valigator MaxLengthValidationRule.swift
[5/34] Compiling Valigator MinLengthValidationRule.swift
[6/37] Emitting module Valigator
/Users/admin/builder/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
/Users/admin/builder/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:
/Users/admin/builder/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.
/Users/admin/builder/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
/Users/admin/builder/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.
/Users/admin/builder/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.
[7/37] Compiling Valigator CrossFieldValidationRule.swift
[8/37] Compiling Valigator EmailValidationRule.swift
[9/37] Compiling Valigator ExcludeCharactersRule.swift
[10/37] Compiling Valigator Collection+Exts.swift
/Users/admin/builder/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
/Users/admin/builder/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:
[11/37] Compiling Valigator Optional+Exts.swift
/Users/admin/builder/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
/Users/admin/builder/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:
[12/37] Compiling Valigator FieldValidationEntities.swift
/Users/admin/builder/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
/Users/admin/builder/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:
[13/37] Compiling Valigator FieldValidationProtocol.swift
/Users/admin/builder/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
/Users/admin/builder/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:
[14/37] Compiling Valigator RegexValidationRule.swift
[15/37] Compiling Valigator RequiredCheckBoxValidationRule.swift
[16/37] Compiling Valigator RequiredObjectValidationRule.swift
[17/37] Compiling Valigator FormValidatorProtocol.swift
/Users/admin/builder/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.
/Users/admin/builder/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
[18/37] Compiling Valigator NeverFormValidator.swift
/Users/admin/builder/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.
/Users/admin/builder/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
[19/37] Compiling Valigator Valigator.swift
/Users/admin/builder/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.
/Users/admin/builder/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
[20/37] Compiling Valigator ValigatorEntities.swift
/Users/admin/builder/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.
/Users/admin/builder/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
[21/37] Compiling Valigator DuringEditFormValidator.swift
[22/37] Compiling Valigator EndOfFieldFormValidator.swift
[23/37] Compiling Valigator EndOfFormFormValidator.swift
[24/37] Compiling Valigator FieldValidationWrapper.swift
[25/37] Compiling Valigator FieldValidator.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
[26/37] Compiling Valigator FieldValueManager.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
[27/37] Compiling Valigator FieldValueManagerEntity.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
[28/37] Compiling Valigator BaseFormValidator.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
[29/37] Compiling Valigator ValigatorProtocol.swift
/Users/admin/builder/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.
/Users/admin/builder/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.
[30/37] Compiling Valigator BaseValidationRule.swift
/Users/admin/builder/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.
/Users/admin/builder/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.
[31/37] Compiling Valigator CharacterRangeInputRule.swift
/Users/admin/builder/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.
/Users/admin/builder/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.
[32/37] Compiling Valigator OnlyDigitsValidationRule.swift
[33/37] Compiling Valigator OnlyLetterOrNumberValidationRule.swift
[34/37] Compiling Valigator OnlyNumberValidationRule.swift
[35/37] Compiling Valigator RequiredStringValidationRule.swift
[36/37] Compiling Valigator UppercaseLetterValidationRule.swift
[37/37] Compiling Valigator ValidationRuleProtocol.swift
Build complete! (13.12s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Valigator",
"name" : "Valigator",
"path" : "/Users/admin/builder/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"
}
Done.