This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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

Successful build of ValidatableKit with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftyLab/ValidatableKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftyLab/ValidatableKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7132c38 Enabling spellcheck GitHub Action (#3)
Cloned https://github.com/SwiftyLab/ValidatableKit.git
Revision (git rev-parse @):
7132c384103f1bfc3dfcc19c5303e08a29284f32
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/SwiftyLab/ValidatableKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/SwiftyLab/ValidatableKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin GenerateManualPlugin
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin Swift-DocC Preview
Building for debugging...
[3/5] Write sources
[4/5] Write swift-version-6F35C1178C84523A.txt
[6/26] Emitting module ValidatableKit
/Users/admin/builder/spi-builder-workspace/Sources/ValidatableKit/Results/ValidatorResult.swift:19:16: warning: stored property 'result' of 'Sendable'-conforming struct 'ValidationError' has non-sendable type 'any ValidatorResult'; this is an error in the Swift 6 language mode
 5 | /// A type representing result of validations
 6 | /// performed by ``Validator``.
 7 | public protocol ValidatorResult {
   |                 `- note: protocol 'ValidatorResult' does not conform to the 'Sendable' protocol
 8 |     /// Whether validation succedded or failed.
 9 |     var isFailure: Bool { get }
   :
17 | public struct ValidationError: Error, CustomStringConvertible {
18 |     /// The actual result of validation.
19 |     public let result: ValidatorResult
   |                `- warning: stored property 'result' of 'Sendable'-conforming struct 'ValidationError' has non-sendable type 'any ValidatorResult'; this is an error in the Swift 6 language mode
20 |
21 |     /// A textual representation of this error.
[7/28] Compiling ValidatableKit ValidatorResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/ValidatableKit/Results/ValidatorResult.swift:19:16: warning: stored property 'result' of 'Sendable'-conforming struct 'ValidationError' has non-sendable type 'any ValidatorResult'; this is an error in the Swift 6 language mode
 5 | /// A type representing result of validations
 6 | /// performed by ``Validator``.
 7 | public protocol ValidatorResult {
   |                 `- note: protocol 'ValidatorResult' does not conform to the 'Sendable' protocol
 8 |     /// Whether validation succedded or failed.
 9 |     var isFailure: Bool { get }
   :
17 | public struct ValidationError: Error, CustomStringConvertible {
18 |     /// The actual result of validation.
19 |     public let result: ValidatorResult
   |                `- warning: stored property 'result' of 'Sendable'-conforming struct 'ValidationError' has non-sendable type 'any ValidatorResult'; this is an error in the Swift 6 language mode
20 |
21 |     /// A textual representation of this error.
[8/28] Compiling ValidatableKit Validatable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ValidatableKit/Results/ValidatorResult.swift:19:16: warning: stored property 'result' of 'Sendable'-conforming struct 'ValidationError' has non-sendable type 'any ValidatorResult'; this is an error in the Swift 6 language mode
 5 | /// A type representing result of validations
 6 | /// performed by ``Validator``.
 7 | public protocol ValidatorResult {
   |                 `- note: protocol 'ValidatorResult' does not conform to the 'Sendable' protocol
 8 |     /// Whether validation succedded or failed.
 9 |     var isFailure: Bool { get }
   :
17 | public struct ValidationError: Error, CustomStringConvertible {
18 |     /// The actual result of validation.
19 |     public let result: ValidatorResult
   |                `- warning: stored property 'result' of 'Sendable'-conforming struct 'ValidationError' has non-sendable type 'any ValidatorResult'; this is an error in the Swift 6 language mode
20 |
21 |     /// A textual representation of this error.
[9/28] Compiling ValidatableKit Validation.swift
/Users/admin/builder/spi-builder-workspace/Sources/ValidatableKit/Results/ValidatorResult.swift:19:16: warning: stored property 'result' of 'Sendable'-conforming struct 'ValidationError' has non-sendable type 'any ValidatorResult'; this is an error in the Swift 6 language mode
 5 | /// A type representing result of validations
 6 | /// performed by ``Validator``.
 7 | public protocol ValidatorResult {
   |                 `- note: protocol 'ValidatorResult' does not conform to the 'Sendable' protocol
 8 |     /// Whether validation succedded or failed.
 9 |     var isFailure: Bool { get }
   :
17 | public struct ValidationError: Error, CustomStringConvertible {
18 |     /// The actual result of validation.
19 |     public let result: ValidatorResult
   |                `- warning: stored property 'result' of 'Sendable'-conforming struct 'ValidationError' has non-sendable type 'any ValidatorResult'; this is an error in the Swift 6 language mode
20 |
21 |     /// A textual representation of this error.
[10/28] Compiling ValidatableKit Empty.swift
[11/28] Compiling ValidatableKit Eql.swift
[12/28] Compiling ValidatableKit Bool.swift
[13/28] Compiling ValidatableKit Case.swift
[14/28] Compiling ValidatableKit CharacterSet.swift
[15/28] Compiling ValidatableKit Email.swift
[16/28] Compiling ValidatableKit Invalid.swift
[17/28] Compiling ValidatableKit Nested.swift
[18/28] Compiling ValidatableKit Skipped.swift
[19/28] Compiling ValidatableKit Regex.swift
[20/28] Compiling ValidatableKit URL.swift
[21/28] Compiling ValidatableKit In.swift
[22/28] Compiling ValidatableKit Nil.swift
[23/28] Compiling ValidatableKit And.swift
[24/28] Compiling ValidatableKit NilIgnoring.swift
[25/28] Compiling ValidatableKit Not.swift
[26/28] Compiling ValidatableKit Or.swift
[27/28] Compiling ValidatableKit Validations.swift
[28/28] Compiling ValidatableKit Validator.swift
Build complete! (58.05s)
Fetching https://github.com/apple/swift-format
Fetching https://github.com/apple/swift-docc-plugin
[1/1458] Fetching swift-docc-plugin
[585/10333] Fetching swift-docc-plugin, swift-format
Fetched https://github.com/apple/swift-docc-plugin from cache (1.43s)
Fetched https://github.com/apple/swift-format from cache (1.43s)
Computing version for https://github.com/apple/swift-format
Computed https://github.com/apple/swift-format at 0.50700.1 (0.79s)
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-syntax
[1/11679] Fetching swift-argument-parser
[2/17919] Fetching swift-argument-parser, swift-tools-support-core
[7176/78832] Fetching swift-argument-parser, swift-tools-support-core, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (6.12s)
Fetched https://github.com/apple/swift-syntax from cache (6.12s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (6.12s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.2.7 (0.79s)
Fetching https://github.com/apple/swift-system.git
[1/3518] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.08s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 0.50700.1 (0.83s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.1.4 (0.68s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.65s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.63s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2859] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.27s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.70s)
Creating working copy for https://github.com/apple/swift-format
Working copy of https://github.com/apple/swift-format resolved at 0.50700.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 0.50700.1
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.2.7
[5503/20720765] Downloading https://github.com/apple/swift-syntax/releases/download/0.50700.1/_InternalSwiftSyntaxParser.xcframework.zip
Downloading binary artifact https://github.com/apple/swift-syntax/releases/download/0.50700.1/_InternalSwiftSyntaxParser.xcframework.zip
Downloaded https://github.com/apple/swift-syntax/releases/download/0.50700.1/_InternalSwiftSyntaxParser.xcframework.zip (2.02s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    },
    {
      "identity" : "swift-format",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.50700.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-format"
    }
  ],
  "manifest_display_name" : "ValidatableKit",
  "name" : "ValidatableKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "8.0"
    },
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "ValidatableKit",
      "targets" : [
        "ValidatableKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "ValidatableKitTests",
      "module_type" : "SwiftTarget",
      "name" : "ValidatableKitTests",
      "path" : "Tests/ValidatableKitTests",
      "sources" : [
        "Data/Address.swift",
        "Data/CaseEnum.swift",
        "Data/Place.swift",
        "Data/User.swift",
        "RegexValidatorTests.swift",
        "ValidatableTests.swift",
        "ValidatorsOperatorsTests.swift",
        "ValidatorsTests.swift"
      ],
      "target_dependencies" : [
        "ValidatableKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ValidatableKit",
      "module_type" : "SwiftTarget",
      "name" : "ValidatableKit",
      "path" : "Sources/ValidatableKit",
      "product_memberships" : [
        "ValidatableKit"
      ],
      "sources" : [
        "Results/Invalid.swift",
        "Results/Nested.swift",
        "Results/Skipped.swift",
        "Results/ValidatorResult.swift",
        "Validatable.swift",
        "Validation.swift",
        "Validations.swift",
        "Validator.swift",
        "Validators/Bool.swift",
        "Validators/Case.swift",
        "Validators/CharacterSet.swift",
        "Validators/Email.swift",
        "Validators/Empty.swift",
        "Validators/Eql.swift",
        "Validators/In.swift",
        "Validators/Nil.swift",
        "Validators/Operators/And.swift",
        "Validators/Operators/NilIgnoring.swift",
        "Validators/Operators/Not.swift",
        "Validators/Operators/Or.swift",
        "Validators/Regex.swift",
        "Validators/URL.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.