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 main (7132c3), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 21:05:04 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: 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: $PWD/.spi.yml
SUCCESS checkout https://github.com/SwiftyLab/ValidatableKit.git at main
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-format
[1/2038] Fetching swift-docc-plugin
[226/12258] Fetching swift-docc-plugin, swift-format
Fetched https://github.com/apple/swift-format from cache (1.43s)
Fetched https://github.com/apple/swift-docc-plugin 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.69s)
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/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-tools-support-core.git from cache (3.35s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.35s)
Fetched https://github.com/apple/swift-syntax from cache (3.35s)
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.65s)
Fetching https://github.com/apple/swift-system.git
[1/3901] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.15s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 0.50700.1 (0.72s)
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.69s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.63s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.66s)
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.37s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.67s)
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-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-format
Working copy of https://github.com/apple/swift-format 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
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-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 0.50700.1
[32750/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.32s)
========================================
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.18s)
Creating working copy for https://github.com/SwiftyLab/ValidatableKit.git
Working copy of https://github.com/SwiftyLab/ValidatableKit.git resolved at main (7132c38)
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] 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 Not.swift
[11/28] Compiling ValidatableKit Or.swift
[12/28] Compiling ValidatableKit In.swift
[13/28] Compiling ValidatableKit Nil.swift
[14/28] Compiling ValidatableKit Invalid.swift
[15/28] Compiling ValidatableKit Nested.swift
[16/28] Compiling ValidatableKit Skipped.swift
[17/28] Compiling ValidatableKit And.swift
[18/28] Compiling ValidatableKit NilIgnoring.swift
[19/28] Compiling ValidatableKit Bool.swift
[20/28] Compiling ValidatableKit Case.swift
[21/28] Compiling ValidatableKit Empty.swift
[22/28] Compiling ValidatableKit Eql.swift
[23/28] Compiling ValidatableKit Regex.swift
[24/28] Compiling ValidatableKit URL.swift
[25/28] Compiling ValidatableKit Validations.swift
[26/28] Compiling ValidatableKit Validator.swift
[27/28] Compiling ValidatableKit CharacterSet.swift
[28/28] Compiling ValidatableKit Email.swift
Build complete! (29.32s)
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"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/swiftylab/validatablekit/main
Repository:               SwiftyLab/ValidatableKit
Swift version used:       6.0
        .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
Target:                   ValidatableKit
Extracting symbol information for 'ValidatableKit'...
Finished extracting symbol information for 'ValidatableKit'. (3.04s)
Building documentation for 'ValidatableKit'...
warning: Return value documented for initializer returning void
  --> ../Validator.swift:25:9-25:48
23 |     ///
24 |     /// - Parameter validate: The action that validates data and returns result.
25 +     /// - Returns: The newly created validator.
   |         ╰─suggestion: Remove return value documentation
26 |     public init(validate: @escaping (_ data: T) -> ValidatorResult) {
27 |         self.validate = validateFinished building documentation for 'ValidatableKit' (0.19s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/swiftylab/validatablekit/main
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling SymbolKit DeclarationFragments.swift
[7/53] Compiling SymbolKit Fragment.swift
[8/53] Compiling SymbolKit FragmentKind.swift
[9/53] Compiling SymbolKit FunctionParameter.swift
[10/53] Compiling SymbolKit FunctionSignature.swift
[11/53] Compiling SymbolKit GenericConstraint.swift
[12/53] Compiling SymbolKit GenericParameter.swift
[13/53] Compiling SymbolKit Generics.swift
[14/53] Compiling SymbolKit Namespace.swift
[15/57] Compiling SymbolKit Mixin+Equals.swift
[16/57] Compiling SymbolKit Mixin+Hash.swift
[17/57] Compiling SymbolKit Mixin.swift
[18/57] Compiling SymbolKit LineList.swift
[19/57] Compiling SymbolKit Position.swift
[20/57] Compiling SymbolKit SemanticVersion.swift
[21/57] Compiling SymbolKit AccessControl.swift
[22/57] Compiling SymbolKit Availability.swift
[23/57] Compiling SymbolKit AvailabilityItem.swift
[24/57] Compiling SymbolKit Domain.swift
[25/57] Emitting module SymbolKit
[26/57] Compiling SymbolKit Names.swift
[27/57] Compiling SymbolKit SPI.swift
[28/57] Compiling SymbolKit Snippet.swift
[29/57] Compiling SymbolKit Extension.swift
[30/57] Compiling SymbolKit Identifier.swift
[31/57] Compiling SymbolKit KindIdentifier.swift
[32/57] Compiling SymbolKit Location.swift
[33/57] Compiling SymbolKit Mutability.swift
[34/57] Compiling SymbolKit SourceRange.swift
[35/57] Compiling SymbolKit Metadata.swift
[36/57] Compiling SymbolKit Module.swift
[37/57] Compiling SymbolKit OperatingSystem.swift
[38/57] Compiling SymbolKit Platform.swift
[39/57] Compiling SymbolKit Relationship.swift
[40/57] Compiling SymbolKit RelationshipKind.swift
[41/57] Compiling SymbolKit SourceOrigin.swift
[42/57] Compiling SymbolKit GenericConstraints.swift
[43/57] Compiling SymbolKit Swift.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Emitting module Snippets
[53/57] Compiling Snippets Snippet.swift
[54/57] Compiling Snippets SnippetParser.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.05s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/22] Emitting module ValidatableKit
[3/24] Compiling ValidatableKit Invalid.swift
[4/24] Compiling ValidatableKit Nested.swift
[5/24] Compiling ValidatableKit Skipped.swift
[6/24] Compiling ValidatableKit Empty.swift
[7/24] Compiling ValidatableKit Eql.swift
[8/24] Compiling ValidatableKit ValidatorResult.swift
[9/24] Compiling ValidatableKit Validatable.swift
[10/24] Compiling ValidatableKit Validation.swift
[11/24] Compiling ValidatableKit And.swift
[12/24] Compiling ValidatableKit NilIgnoring.swift
[13/24] Compiling ValidatableKit Bool.swift
[14/24] Compiling ValidatableKit Case.swift
[15/24] Compiling ValidatableKit Not.swift
[16/24] Compiling ValidatableKit Or.swift
[17/24] Compiling ValidatableKit Validations.swift
[18/24] Compiling ValidatableKit Validator.swift
[19/24] Compiling ValidatableKit In.swift
[20/24] Compiling ValidatableKit Nil.swift
[21/24] Compiling ValidatableKit CharacterSet.swift
[22/24] Compiling ValidatableKit Email.swift
[23/24] Compiling ValidatableKit Regex.swift
[24/24] Compiling ValidatableKit URL.swift
Build of target: 'ValidatableKit' complete! (0.89s)
     404
4	/Users/admin/builder/spi-builder-workspace/.docs/swiftylab/validatablekit/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/swiftylab/validatablekit/main
File count: 404
Doc size:   4.0MB
Preparing doc bundle ...
Uploading prod-swiftylab-validatablekit-main-2d700f31.zip to s3://spi-docs-inbox/prod-swiftylab-validatablekit-main-2d700f31.zip
Copying... [17%]
Copying... [25%]
Copying... [34%]
Copying... [42%]
Copying... [51%]
Copying... [68%]
Copying... [76%]
Copying... [85%]
Copying... [93%]
Copying... [100%]
Done.