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 SVMPrefs with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ghv/SVMPrefs.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ghv/SVMPrefs
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d53ddf0 Merge pull request #7 from ghv/optional_intrinsic_defaults
Cloned https://github.com/ghv/SVMPrefs.git
Revision (git rev-parse @):
d53ddf05659f7131ae4a21289919dbf13f9afc75
SUCCESS checkout https://github.com/ghv/SVMPrefs.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/ghv/SVMPrefs.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/12] Write sources
[5/12] Write svmprefs-entitlement.plist
[6/12] Write sources
[8/12] Write swift-version-6F35C1178C84523A.txt
[10/42] Emitting module SwiftCLI
[11/44] Compiling SwiftCLI ValueBox.swift
[12/44] Compiling SwiftCLI VersionCommand.swift
[13/44] Compiling Regex ThreadLocal.swift
[14/44] Compiling SwiftCLI ArgumentList.swift
[15/44] Compiling SwiftCLI ArgumentListManipulator.swift
[16/44] Compiling SwiftCLI CLI.swift
[17/44] Compiling Regex MatchResult.swift
[18/44] Compiling Regex Regex.swift
[19/44] Compiling Regex Foundation+Ranges.swift
[20/44] Compiling Regex Options.swift
[21/44] Compiling Regex String+ReplaceMatching.swift
[22/44] Emitting module Regex
[23/44] Compiling PathKit PathKit.swift
[24/44] Emitting module PathKit
[25/64] Compiling Stencil IfTag.swift
[26/64] Compiling Stencil KeyPath.swift
[27/66] Compiling Stencil Tokenizer.swift
[28/66] Compiling Stencil Context.swift
[29/66] Compiling Stencil Parser.swift
[30/66] Compiling Stencil Template.swift
[31/66] Compiling Stencil Expression.swift
[32/66] Compiling Stencil Extension.swift
[33/66] Compiling Stencil Environment.swift
[34/66] Compiling Stencil Errors.swift
[35/66] Compiling Stencil Inheritence.swift
[36/66] Compiling Stencil ForTag.swift
[37/66] Compiling Stencil FilterTag.swift
[38/66] Compiling Stencil Filters.swift
[39/66] Compiling Stencil Include.swift
[40/66] Compiling Stencil Lexer.swift
[41/66] Compiling Stencil NowTag.swift
[42/66] Compiling Stencil Loader.swift
[43/66] Compiling Stencil Node.swift
[48/68] Emitting module Stencil
[62/68] Compiling Stencil Variable.swift
[63/68] Compiling Stencil _SwiftSupport.swift
[64/78] Compiling SVMPrefsTools Backup.swift
[65/78] Emitting module SVMPrefsTools
[66/78] Compiling SVMPrefsKit Version.swift
[67/78] Compiling SVMPrefsKit ParserMetaData.swift
[68/78] Compiling SVMPrefsKit ParsingOptions.swift
[69/79] Compiling SVMPrefsKit Parser.swift
[70/79] Compiling SVMPrefsKit Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/SVMPrefsKit/Models/Error.swift:3:14: warning: non-final class 'SVMError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 1 | // Copyright The SVMPrefs Authors. All rights reserved.
 2 |
 3 | public class SVMError: Error {
   |              `- warning: non-final class 'SVMError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 4 |     public var line: Int
 5 |     public var message: String
/Users/admin/builder/spi-builder-workspace/Sources/SVMPrefsKit/Models/Error.swift:4:16: warning: stored property 'line' of 'Sendable'-conforming class 'SVMError' is mutable; this is an error in the Swift 6 language mode
 2 |
 3 | public class SVMError: Error {
 4 |     public var line: Int
   |                `- warning: stored property 'line' of 'Sendable'-conforming class 'SVMError' is mutable; this is an error in the Swift 6 language mode
 5 |     public var message: String
 6 |
[71/79] Compiling SVMPrefsKit SwiftCodeGenerator.swift
[72/79] Compiling SVMPrefsKit Extensions.swift
[73/79] Compiling SVMPrefsKit BaseCodeGenerator.swift
[74/79] Compiling SVMPrefsKit Models.swift
[75/79] Emitting module SVMPrefsKit
/Users/admin/builder/spi-builder-workspace/Sources/SVMPrefsKit/Models/Error.swift:3:14: warning: non-final class 'SVMError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 1 | // Copyright The SVMPrefs Authors. All rights reserved.
 2 |
 3 | public class SVMError: Error {
   |              `- warning: non-final class 'SVMError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 4 |     public var line: Int
 5 |     public var message: String
/Users/admin/builder/spi-builder-workspace/Sources/SVMPrefsKit/Models/Error.swift:4:16: warning: stored property 'line' of 'Sendable'-conforming class 'SVMError' is mutable; this is an error in the Swift 6 language mode
 2 |
 3 | public class SVMError: Error {
 4 |     public var line: Int
   |                `- warning: stored property 'line' of 'Sendable'-conforming class 'SVMError' is mutable; this is an error in the Swift 6 language mode
 5 |     public var message: String
 6 |
[76/79] Compiling SVMPrefsKit Processor.swift
[77/81] Emitting module svmprefs
[78/81] Compiling svmprefs main.swift
[78/81] Write Objects.LinkFileList
[79/81] Linking svmprefs
[80/81] Applying svmprefs
Build complete! (46.44s)
Fetching https://github.com/stencilproject/Stencil.git
[1/5189] Fetching stencil
Fetched https://github.com/stencilproject/Stencil.git from cache (1.16s)
Fetching https://github.com/jakeheis/SwiftCLI.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/sharplet/Regex.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/1021] Fetching spectre
[165/6095] Fetching spectre, swiftcli
[166/7506] Fetching spectre, swiftcli, pathkit
[617/8760] Fetching spectre, swiftcli, pathkit, regex
[1769/20009] Fetching spectre, swiftcli, pathkit, regex, swift-snapshot-testing
Fetched https://github.com/kylef/PathKit.git from cache (1.01s)
[4397/18598] Fetching spectre, swiftcli, regex, swift-snapshot-testing
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (2.33s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (2.33s)
Fetched https://github.com/kylef/Spectre.git from cache (2.33s)
Fetched https://github.com/sharplet/Regex.git from cache (2.33s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (2.75s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.0 (0.67s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.5.0 (0.70s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.0 (0.68s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.1 (0.68s)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.0
Creating working copy for https://github.com/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 6.0.1
Creating working copy for https://github.com/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at master (e516ca9)
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.0
Creating working copy for https://github.com/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.5.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftcli",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jakeheis/SwiftCLI.git"
    },
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit.git"
    },
    {
      "identity" : "regex",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/sharplet/Regex.git"
    },
    {
      "identity" : "swift-snapshot-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-snapshot-testing.git"
    },
    {
      "identity" : "stencil",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/stencilproject/Stencil.git"
    }
  ],
  "manifest_display_name" : "SVMPrefs",
  "name" : "SVMPrefs",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "svmprefs",
      "targets" : [
        "svmprefs"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SVMPrefsKit",
      "targets" : [
        "SVMPrefsKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SVMPrefsTools",
      "targets" : [
        "SVMPrefsTools"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "svmprefs",
      "module_type" : "SwiftTarget",
      "name" : "svmprefs",
      "path" : "Sources/svmprefs",
      "product_dependencies" : [
        "SwiftCLI",
        "PathKit"
      ],
      "product_memberships" : [
        "svmprefs"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SVMPrefsKit",
        "SVMPrefsTools"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SVMPrefsToolsTests",
      "module_type" : "SwiftTarget",
      "name" : "SVMPrefsToolsTests",
      "path" : "Tests/SVMPrefsToolsTests",
      "product_dependencies" : [
        "PathKit"
      ],
      "sources" : [
        "BackupTests.swift"
      ],
      "target_dependencies" : [
        "SVMPrefsTools"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SVMPrefsTools",
      "module_type" : "SwiftTarget",
      "name" : "SVMPrefsTools",
      "path" : "Sources/SVMPrefsTools",
      "product_dependencies" : [
        "PathKit"
      ],
      "product_memberships" : [
        "svmprefs",
        "SVMPrefsTools"
      ],
      "sources" : [
        "Backup.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SVMPrefsKitTests",
      "module_type" : "SwiftTarget",
      "name" : "SVMPrefsKitTests",
      "path" : "Tests/SVMPrefsKitTests",
      "product_dependencies" : [
        "SnapshotTesting"
      ],
      "sources" : [
        "ErrorTests.swift",
        "Exceptions.swift",
        "ExtensionTests.swift",
        "MigrateModeTests.swift",
        "StoreModelTests.swift",
        "SwiftCodeGeneratorTests.swift",
        "VariableModelTests.swift",
        "__Snapshots__/SwiftCodeGeneratorTests/testAllTypes.1.swift",
        "__Snapshots__/SwiftCodeGeneratorTests/testCompoundCodeMark.1.swift",
        "__Snapshots__/SwiftCodeGeneratorTests/testDate.1.swift",
        "__Snapshots__/SwiftCodeGeneratorTests/testKeyPathExample.1.swift",
        "__Snapshots__/SwiftCodeGeneratorTests/testMigration.1.swift",
        "__Snapshots__/SwiftCodeGeneratorTests/testMigrationWithCodeThatFollows.1.swift",
        "__Snapshots__/SwiftCodeGeneratorTests/testMinimalDemo.1.swift",
        "__Snapshots__/SwiftCodeGeneratorTests/testNoRemoveAll.1.swift",
        "__Snapshots__/SwiftCodeGeneratorTests/testSuiteName.1.swift"
      ],
      "target_dependencies" : [
        "SVMPrefsKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SVMPrefsKit",
      "module_type" : "SwiftTarget",
      "name" : "SVMPrefsKit",
      "path" : "Sources/SVMPrefsKit",
      "product_dependencies" : [
        "PathKit",
        "Regex",
        "Stencil"
      ],
      "product_memberships" : [
        "svmprefs",
        "SVMPrefsKit"
      ],
      "sources" : [
        "Extensions.swift",
        "Generators/BaseCodeGenerator.swift",
        "Generators/SwiftCodeGenerator.swift",
        "Models/Error.swift",
        "Models/Models.swift",
        "Models/Version.swift",
        "Parser/Parser.swift",
        "Parser/ParserMetaData.swift",
        "Parser/ParsingOptions.swift",
        "Processor.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.