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 macOS (SPM) on 2 Nov 2024 21:04:55 UTC.

Swift 6 data race errors: 1

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/SwiftyLab/ValidatableKit.git
Reference: v1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/apple/swift-format
Fetching https://github.com/apple/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
[226/12258] Fetching swift-docc-plugin, swift-format
Fetched https://github.com/apple/swift-docc-plugin from cache (1.44s)
Fetched https://github.com/apple/swift-format from cache (1.44s)
Computing version for https://github.com/apple/swift-format
Computed https://github.com/apple/swift-format at 0.50700.1 (0.73s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-syntax
Fetching https://github.com/apple/swift-tools-support-core.git
[1/12353] Fetching swift-argument-parser
[125/18875] Fetching swift-argument-parser, swift-tools-support-core
[18876/85274] Fetching swift-argument-parser, swift-tools-support-core, swift-syntax
Fetched https://github.com/apple/swift-syntax from cache (3.79s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.79s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (3.79s)
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.66s)
Fetching https://github.com/apple/swift-system.git
[1/3901] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.03s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 0.50700.1 (0.74s)
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.66s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.64s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.64s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.34s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.64s)
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-format
Working copy of https://github.com/apple/swift-format resolved at 0.50700.1
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-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.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
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
[6881/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.28s)
========================================
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": "validatablekit",
      "name": "ValidatableKit",
      "url": "https://github.com/SwiftyLab/ValidatableKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ValidatableKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/SwiftyLab/ValidatableKit.git
[1/4117] Fetching validatablekit
Fetched https://github.com/SwiftyLab/ValidatableKit.git from cache (1.27s)
Creating working copy for https://github.com/SwiftyLab/ValidatableKit.git
Working copy of https://github.com/SwiftyLab/ValidatableKit.git resolved at v1.0.0 (c6efdfc)
warning: '.resolve-product-dependencies': dependency 'validatablekit' 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/SwiftyLab/ValidatableKit.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
[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--7754E27361AE5C74.txt
[6/26] Compiling ValidatableKit Invalid.swift
[7/26] Compiling ValidatableKit Nested.swift
[8/26] Compiling ValidatableKit Skipped.swift
[9/28] Compiling ValidatableKit And.swift
[10/28] Compiling ValidatableKit NilIgnoring.swift
[11/28] Compiling ValidatableKit Not.swift
[12/28] Compiling ValidatableKit Or.swift
[13/28] Compiling ValidatableKit Regex.swift
[14/28] Compiling ValidatableKit URL.swift
[15/28] Compiling ValidatableKit In.swift
[16/28] Compiling ValidatableKit Nil.swift
[17/28] Compiling ValidatableKit Empty.swift
[18/28] Compiling ValidatableKit Eql.swift
[19/28] Compiling ValidatableKit Bool.swift
[20/28] Compiling ValidatableKit Case.swift
[21/28] Compiling ValidatableKit Validations.swift
[22/28] Compiling ValidatableKit Validator.swift
[23/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.
[24/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.
[25/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.
[26/28] Compiling ValidatableKit CharacterSet.swift
[27/28] Compiling ValidatableKit Email.swift
[28/28] 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.
Build complete! (26.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" : "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"
}
Done.