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.0 for Linux on 2 Nov 2024 20:57:52 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.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.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.0
Building package at path:  $PWD
https://github.com/SwiftyLab/ValidatableKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-format
Fetching https://github.com/apple/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
[409/12258] Fetching swift-docc-plugin, swift-format
Fetched https://github.com/apple/swift-format from cache (0.50s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.50s)
Computing version for https://github.com/apple/swift-format
Computed https://github.com/apple/swift-format at 0.50700.1 (0.49s)
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/6522] Fetching swift-tools-support-core
[6523/18875] Fetching swift-tools-support-core, swift-argument-parser
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.47s)
[865/12353] Fetching swift-argument-parser
[12354/78752] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.75s)
[2656/66399] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax from cache (4.21s)
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.50s)
Fetching https://github.com/apple/swift-system.git
[1/3901] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.36s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 0.50700.1 (1.02s)
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.58s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.44s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.46s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.36s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.47s)
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-format
Working copy of https://github.com/apple/swift-format resolved at 0.50700.1
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
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/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 0.50700.1
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
[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-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 Nil.swift
[8/28] Compiling ValidatableKit And.swift
[9/28] Compiling ValidatableKit NilIgnoring.swift
[10/28] Compiling ValidatableKit Invalid.swift
[11/28] Compiling ValidatableKit Nested.swift
[12/28] Compiling ValidatableKit Skipped.swift
[13/28] Compiling ValidatableKit Empty.swift
[14/28] Compiling ValidatableKit Eql.swift
[15/28] Compiling ValidatableKit In.swift
[16/28] Compiling ValidatableKit Not.swift
[17/28] Compiling ValidatableKit Or.swift
[18/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.
[19/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.
[20/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.
[21/28] Compiling ValidatableKit Regex.swift
[22/28] Compiling ValidatableKit URL.swift
[23/28] Compiling ValidatableKit Validations.swift
[24/28] Compiling ValidatableKit Validator.swift
[25/28] Compiling ValidatableKit Bool.swift
[26/28] Compiling ValidatableKit Case.swift
[27/28] Compiling ValidatableKit CharacterSet.swift
[28/28] Compiling ValidatableKit Email.swift
Build complete! (36.81s)
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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.