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, reference v1.0.0 (c6efdf), with Swift 6.1 for Linux on 27 Apr 2025 07:24:25 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftyLab/ValidatableKit.git
Reference: v1.0.0
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/SwiftyLab/ValidatableKit
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at c6efdfc chore(CHANGELOG): update for v1.0.0 [skip ci]
Cloned https://github.com/SwiftyLab/ValidatableKit.git
Revision (git rev-parse @):
c6efdfc9147ad4216753402c2d6e27d9d7f25d41
SUCCESS checkout https://github.com/SwiftyLab/ValidatableKit.git at v1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SwiftyLab/ValidatableKit.git
https://github.com/SwiftyLab/ValidatableKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "4.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.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-format
[1/2049] Fetching swift-docc-plugin
[227/14004] Fetching swift-docc-plugin, swift-format
Fetched https://github.com/apple/swift-format from cache (0.54s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.54s)
Computing version for https://github.com/apple/swift-format
Computed https://github.com/apple/swift-format at 0.50700.1 (1.06s)
Fetching https://github.com/apple/swift-syntax
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-tools-support-core.git
[1/6718] Fetching swift-tools-support-core
[6719/21668] Fetching swift-tools-support-core, swift-argument-parser
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.46s)
[1645/14950] Fetching swift-argument-parser
[14951/85183] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.80s)
[5619/70233] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax from cache (4.56s)
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 (5.26s)
Fetching https://github.com/apple/swift-system.git
[1/4353] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.42s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 0.50700.1 (3.26s)
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.53s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (1.03s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.52s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3375] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.31s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.90s)
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-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/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
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-format
Working copy of https://github.com/apple/swift-format 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.4.3
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
[1/1] Compiling plugin GenerateManualPlugin
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
Building for debugging...
[3/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/26] Emitting module ValidatableKit
/host/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 Invalid.swift
[8/28] Compiling ValidatableKit Nested.swift
[9/28] Compiling ValidatableKit Skipped.swift
[10/28] Compiling ValidatableKit ValidatorResult.swift
/host/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.
[11/28] Compiling ValidatableKit Validatable.swift
/host/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.
[12/28] Compiling ValidatableKit Validation.swift
/host/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.
[13/28] Compiling ValidatableKit Not.swift
[14/28] Compiling ValidatableKit Or.swift
[15/28] Compiling ValidatableKit Empty.swift
[16/28] Compiling ValidatableKit Eql.swift
[17/28] Compiling ValidatableKit In.swift
[18/28] Compiling ValidatableKit Nil.swift
[19/28] Compiling ValidatableKit And.swift
[20/28] Compiling ValidatableKit NilIgnoring.swift
[21/28] Compiling ValidatableKit Validations.swift
[22/28] Compiling ValidatableKit Validator.swift
[23/28] Compiling ValidatableKit Bool.swift
[24/28] Compiling ValidatableKit Regex.swift
[25/28] Compiling ValidatableKit URL.swift
[26/28] Compiling ValidatableKit Case.swift
[27/28] Compiling ValidatableKit CharacterSet.swift
[28/28] Compiling ValidatableKit Email.swift
Build complete! (39.59s)
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" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "4.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.7"
}
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
Done.