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 SemanticVersioningKit with Swift 6.0 for Linux.

Swift 6 data race errors: 2

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" 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.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexanderwe/SemanticVersioningKit.git
Reference: main
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/alexanderwe/SemanticVersioningKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2acd86a chore(documentation): Generate documentation
Cloned https://github.com/alexanderwe/SemanticVersioningKit.git
Revision (git rev-parse @):
2acd86afce5580183d7fd20817825067e4845760
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/alexanderwe/SemanticVersioningKit.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/alexanderwe/SemanticVersioningKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" 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
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/pointfreeco/swift-case-paths
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-parsing
[1/2856] Fetching swift-docc-symbolkit
[1001/6570] Fetching swift-docc-symbolkit, swift-case-paths
[1910/8028] Fetching swift-docc-symbolkit, swift-case-paths, swift-docc-plugin
[7096/10384] Fetching swift-docc-symbolkit, swift-case-paths, swift-docc-plugin, xctest-dynamic-overlay
[10385/48809] Fetching swift-docc-symbolkit, swift-case-paths, swift-docc-plugin, xctest-dynamic-overlay, swiftformat
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.68s)
Fetched https://github.com/pointfreeco/swift-case-paths from cache (0.68s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.69s)
[5162/41281] Fetching swift-docc-symbolkit, swiftformat
[6700/138916] Fetching swift-docc-symbolkit, swiftformat, swift-parsing
Fetched https://github.com/apple/swift-docc-symbolkit from cache (23.93s)
Fetched https://github.com/pointfreeco/swift-parsing from cache (24.05s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (24.62s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.52.2 (1.43s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.56s)
Computing version for https://github.com/pointfreeco/swift-parsing
Computed https://github.com/pointfreeco/swift-parsing at 0.13.0 (0.56s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.61s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 1.0.0 (0.57s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.0.2 (0.54s)
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/pointfreeco/swift-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.0.2
Creating working copy for https://github.com/pointfreeco/swift-parsing
Working copy of https://github.com/pointfreeco/swift-parsing resolved at 0.13.0
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/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.52.2
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin SwiftFormatPlugin
Building for debugging...
[3/9] Write sources
[6/9] Copying PrivacyInfo.xcprivacy
[6/9] Write sources
[8/9] Write swift-version-24593BA9C3E375BF.txt
[10/17] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[11/17] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[12/18] Compiling XCTestDynamicOverlay Unimplemented.swift
[13/18] Compiling XCTestDynamicOverlay XCTFail.swift
[14/18] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[15/18] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[16/18] Compiling XCTestDynamicOverlay Deprecations.swift
[17/18] Emitting module XCTestDynamicOverlay
[18/18] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[20/27] Compiling CasePaths OpenExistential.swift
[21/27] Compiling CasePaths Operators.swift
[22/27] Compiling CasePaths XCTUnwrap.swift
[23/27] Compiling CasePaths TypeName.swift
[24/27] Emitting module CasePaths
[25/27] Compiling CasePaths CasePaths.swift
[26/27] Compiling CasePaths CasePath.swift
[27/27] Compiling CasePaths EnumReflection.swift
[29/95] Compiling Parsing Identity.swift
[30/95] Compiling Parsing JSON.swift
[31/95] Compiling Parsing LosslessStringConvertible.swift
[32/95] Compiling Parsing Memberwise.swift
[33/95] Compiling Parsing ParseableFormatStyleConversion.swift
[34/95] Compiling Parsing RawRepresentable.swift
[35/95] Compiling Parsing String.swift
[36/95] Compiling Parsing Substring.swift
[37/95] Compiling Parsing UTF8View.swift
[38/95] Compiling Parsing ConvertingError.swift
[39/104] Compiling Parsing CaseIterableRawRepresentable.swift
[40/104] Compiling Parsing CharacterSet.swift
[41/104] Compiling Parsing Conditional.swift
[42/104] Compiling Parsing Consumed.swift
[43/104] Compiling Parsing Digits.swift
[44/104] Compiling Parsing End.swift
[45/104] Compiling Parsing Fail.swift
[46/104] Compiling Parsing Filter.swift
[47/104] Compiling Parsing First.swift
[48/104] Compiling Parsing OneOfBuilder.swift
[49/104] Compiling Parsing ParserBuilder.swift
[50/104] Compiling Parsing Conversion.swift
[51/104] Compiling Parsing AnyConversion.swift
[52/104] Compiling Parsing BinaryFloatingPoint.swift
[53/104] Compiling Parsing ConversionMap.swift
[54/104] Compiling Parsing Conversions.swift
[55/104] Compiling Parsing Data.swift
[56/104] Compiling Parsing Enum.swift
[57/104] Compiling Parsing FixedWidthInteger.swift
[58/104] Compiling Parsing PrefixThrough.swift
[59/104] Compiling Parsing PrefixUpTo.swift
[60/104] Compiling Parsing Printing.swift
[61/104] Compiling Parsing Pullback.swift
[62/104] Compiling Parsing ReplaceError.swift
[63/104] Compiling Parsing Rest.swift
[64/104] Compiling Parsing Skip.swift
[65/104] Compiling Parsing StartsWith.swift
[66/104] Compiling Parsing UUID.swift
[67/104] Compiling Parsing CountingRange.swift
[68/104] Compiling Parsing EmptyInitializable.swift
[69/104] Compiling Parsing AnyEquatable.swift
[70/104] Compiling Parsing Deprecations.swift
[71/104] Compiling Parsing Parser.swift
[72/104] Compiling Parsing ParserPrinter.swift
[73/104] Compiling Parsing Always.swift
[74/104] Compiling Parsing AnyParserPrinter.swift
[75/104] Compiling Parsing Backtracking.swift
[76/104] Compiling Parsing Bool.swift
[77/104] Compiling Parsing Whitespace.swift
[78/104] Compiling Parsing AnyParser.swift
[79/104] Compiling Parsing CompactMap.swift
[80/104] Compiling Parsing FlatMap.swift
[81/104] Compiling Parsing Parsers.swift
[82/104] Compiling Parsing Stream.swift
[83/104] Compiling Parsing ParsingError.swift
[84/104] Compiling Parsing PrependableCollection.swift
[85/104] Compiling Parsing PrintingError.swift
[86/104] Compiling Parsing OneOf.swift
[87/104] Compiling Parsing OneOfMany.swift
[88/104] Compiling Parsing Optional.swift
[89/104] Compiling Parsing Optionally.swift
[90/104] Compiling Parsing Parse.swift
[91/104] Compiling Parsing ParseableFormatStyle.swift
[92/104] Compiling Parsing Peek.swift
[93/104] Compiling Parsing Pipe.swift
[94/104] Compiling Parsing Prefix.swift
[95/104] Compiling Parsing Float.swift
[96/104] Compiling Parsing From.swift
[97/104] Compiling Parsing Int.swift
[98/104] Compiling Parsing Lazy.swift
[99/104] Compiling Parsing Literal.swift
[100/104] Compiling Parsing Many.swift
[101/104] Compiling Parsing Map.swift
[102/104] Compiling Parsing Newline.swift
[103/104] Compiling Parsing Not.swift
[104/104] Emitting module Parsing
[106/108] Emitting module SemanticVersioningKit
/host/spi-builder-workspace/Sources/SemanticVersioningKit/SemanticVersioning.swift:65:24: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring, SemanticVersion>' may have shared mutable state; this is an error in the Swift 6 language mode
 63 | // MARK: - Parser
 64 | extension SemanticVersion {
 65 |     private static let parser: AnyParser<Substring, SemanticVersion> = {
    |                        `- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring, SemanticVersion>' may have shared mutable state; this is an error in the Swift 6 language mode
 66 |         let alphaNumericAndHypen = Prefix<Substring> { ($0.isLetter || $0.isNumber || $0.isSymbol || $0 == "-") && $0 != "+" }
 67 |             .eraseToAnyParser()
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
   |               `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 |   @usableFromInline
29 |   let parser: (inout Input) throws -> Output
/host/spi-builder-workspace/Sources/SemanticVersioningKit/SemanticVersioning.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
  7 |
  8 | import Foundation
  9 | import Parsing
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
 10 |
 11 | // MARK: - SemanticVersion
    :
 63 | // MARK: - Parser
 64 | extension SemanticVersion {
 65 |     private static let parser: AnyParser<Substring, SemanticVersion> = {
    |                        |- note: annotate 'parser' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |         let alphaNumericAndHypen = Prefix<Substring> { ($0.isLetter || $0.isNumber || $0.isSymbol || $0 == "-") && $0 != "+" }
 67 |             .eraseToAnyParser()
/host/spi-builder-workspace/Sources/SemanticVersioningKit/SemanticVersioning.swift:179:29: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring, SemanticVersion.Core>' may have shared mutable state; this is an error in the Swift 6 language mode
177 |         let patch: Int
178 |
179 |         internal static let parser: AnyParser<Substring, SemanticVersion.Core> = Parse(Core.init) {
    |                             |- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring, SemanticVersion.Core>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                             |- note: annotate 'parser' with '@MainActor' if property should only be accessed from the main actor
    |                             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
180 |             Int.parser()
181 |             "."
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
   |               `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 |   @usableFromInline
29 |   let parser: (inout Input) throws -> Output
[107/108] Compiling SemanticVersioningKit resource_bundle_accessor.swift
[108/108] Compiling SemanticVersioningKit SemanticVersioning.swift
/host/spi-builder-workspace/Sources/SemanticVersioningKit/SemanticVersioning.swift:65:24: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring, SemanticVersion>' may have shared mutable state; this is an error in the Swift 6 language mode
 63 | // MARK: - Parser
 64 | extension SemanticVersion {
 65 |     private static let parser: AnyParser<Substring, SemanticVersion> = {
    |                        `- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring, SemanticVersion>' may have shared mutable state; this is an error in the Swift 6 language mode
 66 |         let alphaNumericAndHypen = Prefix<Substring> { ($0.isLetter || $0.isNumber || $0.isSymbol || $0 == "-") && $0 != "+" }
 67 |             .eraseToAnyParser()
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
   |               `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 |   @usableFromInline
29 |   let parser: (inout Input) throws -> Output
/host/spi-builder-workspace/Sources/SemanticVersioningKit/SemanticVersioning.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
  7 |
  8 | import Foundation
  9 | import Parsing
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
 10 |
 11 | // MARK: - SemanticVersion
    :
 63 | // MARK: - Parser
 64 | extension SemanticVersion {
 65 |     private static let parser: AnyParser<Substring, SemanticVersion> = {
    |                        |- note: annotate 'parser' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |         let alphaNumericAndHypen = Prefix<Substring> { ($0.isLetter || $0.isNumber || $0.isSymbol || $0 == "-") && $0 != "+" }
 67 |             .eraseToAnyParser()
/host/spi-builder-workspace/Sources/SemanticVersioningKit/SemanticVersioning.swift:179:29: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring, SemanticVersion.Core>' may have shared mutable state; this is an error in the Swift 6 language mode
177 |         let patch: Int
178 |
179 |         internal static let parser: AnyParser<Substring, SemanticVersion.Core> = Parse(Core.init) {
    |                             |- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring, SemanticVersion.Core>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                             |- note: annotate 'parser' with '@MainActor' if property should only be accessed from the main actor
    |                             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
180 |             Int.parser()
181 |             "."
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
   |               `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 |   @usableFromInline
29 |   let parser: (inout Input) throws -> Output
Build complete! (72.82s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-parsing",
      "requirement" : {
        "exact" : [
          "0.13.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-parsing"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    },
    {
      "identity" : "swiftformat",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.52.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nicklockwood/SwiftFormat"
    }
  ],
  "manifest_display_name" : "SemanticVersioningKit",
  "name" : "SemanticVersioningKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "SemanticVersioningKit",
      "targets" : [
        "SemanticVersioningKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SemanticVersioningKitTests",
      "module_type" : "SwiftTarget",
      "name" : "SemanticVersioningKitTests",
      "path" : "Tests",
      "sources" : [
        "SemanticVersionComparableTests.swift",
        "SemanticVersionTests.swift"
      ],
      "target_dependencies" : [
        "SemanticVersioningKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SemanticVersioningKit",
      "module_type" : "SwiftTarget",
      "name" : "SemanticVersioningKit",
      "path" : "Sources/SemanticVersioningKit",
      "product_dependencies" : [
        "Parsing"
      ],
      "product_memberships" : [
        "SemanticVersioningKit"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/SemanticVersioningKit/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "SemanticVersioning.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.