The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SVMPrefs, reference main (d53ddf), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 16:59:19 UTC.

Swift 6 data race errors: 2

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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.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
Fetching https://github.com/stencilproject/Stencil.git
[1/5189] Fetching stencil
Fetched https://github.com/stencilproject/Stencil.git from cache (1.18s)
Fetching https://github.com/sharplet/Regex.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/jakeheis/SwiftCLI.git
[1/5074] Fetching swiftcli
[2/6095] Fetching swiftcli, spectre
[3357/18542] Fetching swiftcli, spectre, swift-snapshot-testing
[3358/19796] Fetching swiftcli, spectre, swift-snapshot-testing, regex
[4195/21207] Fetching swiftcli, spectre, swift-snapshot-testing, regex, pathkit
Fetched https://github.com/sharplet/Regex.git from cache (11.37s)
[9002/19953] Fetching swiftcli, spectre, swift-snapshot-testing, pathkit
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (23.24s)
Fetched https://github.com/kylef/Spectre.git from cache (23.24s)
Fetched https://github.com/kylef/PathKit.git from cache (23.24s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (23.24s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (2.41s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.0 (0.57s)
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.57s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.0 (0.55s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.1 (0.57s)
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/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 6.0.1
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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.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
========================================
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": "svmprefs",
      "name": "SVMPrefs",
      "url": "https://github.com/ghv/SVMPrefs.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SVMPrefs",
      "dependencies": [
        {
          "identity": "swiftcli",
          "name": "SwiftCLI",
          "url": "https://github.com/jakeheis/SwiftCLI.git",
          "version": "6.0.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftCLI",
          "dependencies": [
          ]
        },
        {
          "identity": "pathkit",
          "name": "PathKit",
          "url": "https://github.com/kylef/PathKit.git",
          "version": "1.0.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PathKit",
          "dependencies": [
            {
              "identity": "spectre",
              "name": "Spectre",
              "url": "https://github.com/kylef/Spectre.git",
              "version": "0.10.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "regex",
          "name": "Regex",
          "url": "https://github.com/sharplet/Regex.git",
          "version": "2.1.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Regex",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-snapshot-testing",
          "name": "swift-snapshot-testing",
          "url": "https://github.com/pointfreeco/swift-snapshot-testing.git",
          "version": "1.17.6",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-snapshot-testing",
          "dependencies": [
            {
              "identity": "swift-syntax",
              "name": "swift-syntax",
              "url": "https://github.com/swiftlang/swift-syntax",
              "version": "600.0.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "stencil",
          "name": "Stencil",
          "url": "https://github.com/stencilproject/Stencil.git",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Stencil",
          "dependencies": [
            {
              "identity": "pathkit",
              "name": "PathKit",
              "url": "https://github.com/kylef/PathKit.git",
              "version": "1.0.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PathKit",
              "dependencies": [
                {
                  "identity": "spectre",
                  "name": "Spectre",
                  "url": "https://github.com/kylef/Spectre.git",
                  "version": "0.10.1",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
                  "dependencies": [
                  ]
                }
              ]
            },
            {
              "identity": "spectre",
              "name": "Spectre",
              "url": "https://github.com/kylef/Spectre.git",
              "version": "0.10.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/ghv/SVMPrefs.git
[1/153] Fetching svmprefs
Fetched https://github.com/ghv/SVMPrefs.git from cache (0.76s)
Fetching https://github.com/stencilproject/Stencil.git from cache
Fetched https://github.com/stencilproject/Stencil.git from cache (0.55s)
Fetching https://github.com/kylef/Spectre.git from cache
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git from cache
Fetching https://github.com/kylef/PathKit.git from cache
Fetching https://github.com/sharplet/Regex.git from cache
Fetching https://github.com/jakeheis/SwiftCLI.git from cache
Fetched https://github.com/sharplet/Regex.git from cache (0.48s)
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (0.48s)
Fetched https://github.com/kylef/Spectre.git from cache (0.56s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (0.57s)
Fetched https://github.com/kylef/PathKit.git from cache (0.56s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.57s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.57s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (0.02s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (0.02s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.17.6 (0.55s)
Fetching https://github.com/swiftlang/swift-syntax
[1/66683] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.76s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (0.58s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 6.0.3
Creating working copy for https://github.com/ghv/SVMPrefs.git
Working copy of https://github.com/ghv/SVMPrefs.git resolved at main (d53ddf0)
Creating working copy for https://github.com/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at master (1aeeced)
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.17.6
Creating working copy for https://github.com/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Found 5 product dependencies
  - SwiftCLI
  - PathKit
  - Regex
  - swift-snapshot-testing
  - Stencil
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ghv/SVMPrefs.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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/12] Write sources
[7/12] Write svmprefs-entitlement.plist
[8/12] Write swift-version--7754E27361AE5C74.txt
[10/42] Compiling SwiftCLI Option.swift
[11/42] Compiling SwiftCLI OptionGroup.swift
[12/44] Compiling SwiftCLI ValueBox.swift
[13/44] Compiling SwiftCLI VersionCommand.swift
[14/44] Compiling Regex String+ReplaceMatching.swift
[15/44] Compiling Regex ThreadLocal.swift
[16/44] Compiling Regex Regex.swift
[17/44] Compiling SwiftCLI Parser.swift
[18/44] Compiling SwiftCLI Path.swift
[19/44] Compiling SwiftCLI Term.swift
[20/44] Compiling SwiftCLI Validation.swift
[21/44] Compiling Regex Options.swift
[22/44] Compiling Regex Foundation+Ranges.swift
[23/44] Compiling Regex MatchResult.swift
[24/44] Emitting module Regex
[25/44] Emitting module SwiftCLI
[26/44] Compiling SwiftCLI Error.swift
[27/44] Compiling SwiftCLI HelpCommand.swift
[28/44] Compiling SwiftCLI HelpMessageGenerator.swift
[29/44] Compiling SwiftCLI Input.swift
[30/44] Compiling SwiftCLI OptionRegistry.swift
[31/44] Compiling SwiftCLI Parameter.swift
[32/44] Compiling SwiftCLI ArgumentList.swift
[33/44] Compiling SwiftCLI ArgumentListManipulator.swift
[34/44] Compiling SwiftCLI CLI.swift
[35/44] Emitting module PathKit
[36/44] Compiling PathKit PathKit.swift
[37/66] Compiling Stencil Filters.swift
[38/66] Compiling Stencil Loader.swift
[39/66] Compiling Stencil Environment.swift
[40/66] Compiling Stencil Errors.swift
[41/66] Compiling Stencil Include.swift
[42/66] Emitting module Stencil
[44/68] Compiling Stencil Inheritence.swift
[45/68] Compiling Stencil FilterTag.swift
[47/68] Compiling Stencil KeyPath.swift
[48/68] Compiling Stencil Lexer.swift
[49/68] Compiling Stencil Expression.swift
[50/68] Compiling Stencil Extension.swift
[52/68] Compiling Stencil Node.swift
[53/68] Compiling Stencil Template.swift
[54/68] Compiling Stencil Tokenizer.swift
[55/68] Compiling Stencil NowTag.swift
[56/68] Compiling Stencil Parser.swift
[57/68] Compiling Stencil ForTag.swift
[58/68] Compiling Stencil IfTag.swift
[59/68] Compiling Stencil Context.swift
[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 ParsingOptions.swift
[67/78] Compiling SVMPrefsKit Parser.swift
[68/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 |
[69/79] Compiling SVMPrefsKit SwiftCodeGenerator.swift
[70/79] Compiling SVMPrefsKit Processor.swift
[71/79] Compiling SVMPrefsKit Models.swift
[72/79] Compiling SVMPrefsKit Version.swift
[73/79] Compiling SVMPrefsKit ParserMetaData.swift
[74/79] Compiling SVMPrefsKit BaseCodeGenerator.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 Extensions.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! (24.97s)
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.