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 Rimuru, reference 1.0.0 (7ed142), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 10:25:58 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/funzin/Rimuru.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/funzin/Rimuru
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 7ed1427 Initial Commit
Cloned https://github.com/funzin/Rimuru.git
Revision (git rev-parse @):
7ed1427ecf8c947ca637a47ca25c649868866008
SUCCESS checkout https://github.com/funzin/Rimuru.git at 1.0.0
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Carthage/Commandant.git
Fetching https://github.com/realm/SwiftLint
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/jpsim/SourceKitten.git
[1/2323] Fetching commandant
[2/3252] Fetching commandant, swiftytexttable
[100/6072] Fetching commandant, swiftytexttable, swxmlhash
[2418/16008] Fetching commandant, swiftytexttable, swxmlhash, yams
Fetched https://github.com/Carthage/Commandant.git from cache (0.96s)
[1615/29701] Fetching swiftytexttable, swxmlhash, yams, sourcekitten
Fetching https://github.com/Quick/Quick.git
[11289/48976] Fetching swiftytexttable, swxmlhash, yams, sourcekitten, nimble
[21751/191326] Fetching swiftytexttable, swxmlhash, yams, sourcekitten, nimble, swiftlint
[35619/206066] Fetching swiftytexttable, swxmlhash, yams, sourcekitten, nimble, swiftlint, quick
Fetched https://github.com/Quick/Quick.git from cache (1.68s)
Fetched https://github.com/Quick/Nimble.git from cache (2.67s)
Fetching https://github.com/apple/swift-argument-parser
[45360/172051] Fetching swiftytexttable, swxmlhash, yams, sourcekitten, swiftlint
[45361/184446] Fetching swiftytexttable, swxmlhash, yams, sourcekitten, swiftlint, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.89s)
[47364/172051] Fetching swiftytexttable, swxmlhash, yams, sourcekitten, swiftlint
Fetched https://github.com/jpsim/SourceKitten.git from cache (112.86s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (112.86s)
Fetched https://github.com/realm/SwiftLint from cache (112.86s)
Computing version for https://github.com/realm/SwiftLint
Fetched https://github.com/jpsim/Yams.git from cache (112.86s)
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (112.86s)
Computed https://github.com/realm/SwiftLint at 0.39.2 (0.86s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.2.0 (0.56s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (2.35s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (0.56s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.29.0 (0.55s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.17.0 (0.55s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 5.0.1 (0.55s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.1 (0.57s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (0.58s)
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.1
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.1
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.17.0
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 5.0.1
Creating working copy for https://github.com/realm/SwiftLint
Working copy of https://github.com/realm/SwiftLint resolved at 0.39.2
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 2.0.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.2.0
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.29.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": "rimuru",
      "name": "Rimuru",
      "url": "https://github.com/funzin/Rimuru.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Rimuru",
      "dependencies": [
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser",
          "version": "0.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/funzin/Rimuru.git
[1/43] Fetching rimuru
Fetched https://github.com/funzin/Rimuru.git from cache (0.67s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.55s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.59s)
Creating working copy for https://github.com/funzin/Rimuru.git
Working copy of https://github.com/funzin/Rimuru.git resolved at 1.0.0 (7ed1427)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Found 1 product dependencies
  - swift-argument-parser
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/funzin/Rimuru.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/8] Write sources
[3/8] Write rimuru-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/42] Compiling ArgumentParser NameSpecification.swift
[7/42] Compiling ArgumentParser Option.swift
[8/42] Compiling ArgumentParser OptionGroup.swift
[9/45] Compiling ArgumentParser Name.swift
[10/45] Compiling ArgumentParser Parsed.swift
[11/45] Compiling ArgumentParser ParsedValues.swift
[12/45] Compiling ArgumentParser ArgumentSetSequence.swift
[13/45] Compiling ArgumentParser CommandParser.swift
[14/45] Compiling ArgumentParser InputOrigin.swift
[15/45] Emitting module ArgumentParser
[16/45] Compiling ArgumentParser Argument.swift
[17/45] Compiling ArgumentParser ArgumentHelp.swift
[18/45] Compiling ArgumentParser Errors.swift
[19/45] Compiling ArgumentParser Flag.swift
[20/45] Compiling ArgumentParser ParsableArguments.swift
[21/45] Compiling ArgumentParser ParsableArgumentsValidation.swift
[22/45] Compiling ArgumentParser ParsableCommand.swift
[23/45] Compiling ArgumentParser SequenceExtensions.swift
[24/45] Compiling ArgumentParser StringExtensions.swift
[25/45] Compiling ArgumentParser Tree.swift
[26/45] Compiling ArgumentParser ParserError.swift
[27/45] Compiling ArgumentParser SplitArguments.swift
[28/45] Compiling ArgumentParser HelpCommand.swift
[29/45] Compiling RimuruCore SplitMeans.swift
[30/45] Compiling RimuruCore NamingConvention.swift
[31/45] Compiling RimuruCore InputTextError.swift
[32/45] Emitting module RimuruCore
/Users/admin/builder/spi-builder-workspace/Sources/RimuruCore/NamingConventionConverter.swift:12:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NamingConventionConverter' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import Foundation
10 |
11 | public final class NamingConventionConverter {
   |                    `- note: class 'NamingConventionConverter' does not conform to the 'Sendable' protocol
12 |     public static let shared = NamingConventionConverter()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NamingConventionConverter' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'shared' 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
13 |
14 |     public func convert(text: String,
[33/45] Compiling RimuruCore NamingConventionConverter.swift
/Users/admin/builder/spi-builder-workspace/Sources/RimuruCore/NamingConventionConverter.swift:12:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NamingConventionConverter' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import Foundation
10 |
11 | public final class NamingConventionConverter {
   |                    `- note: class 'NamingConventionConverter' does not conform to the 'Sendable' protocol
12 |     public static let shared = NamingConventionConverter()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NamingConventionConverter' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'shared' 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
13 |
14 |     public func convert(text: String,
[34/45] Compiling ArgumentParser CommandConfiguration.swift
[35/45] Compiling ArgumentParser EnumerableFlag.swift
[36/45] Compiling ArgumentParser ExpressibleByArgument.swift
[37/45] Compiling ArgumentParser ArgumentDecoder.swift
[38/45] Compiling ArgumentParser ArgumentDefinition.swift
[39/45] Compiling ArgumentParser ArgumentSet.swift
[40/45] Compiling ArgumentParser HelpGenerator.swift
[41/45] Compiling ArgumentParser MessageInfo.swift
[42/45] Compiling ArgumentParser UsageGenerator.swift
[43/49] Compiling Rimuru NamingConventionExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Rimuru/Extension/NamingConventionExtension.swift:11:1: warning: extension declares a conformance of imported type 'NamingConvention' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'RimuruCore' introduce this conformance in the future
 9 | import RimuruCore
10 |
11 | extension NamingConvention: ExpressibleByArgument {}
   | |- warning: extension declares a conformance of imported type 'NamingConvention' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'RimuruCore' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
12 |
[44/49] Compiling Rimuru main.swift
[45/49] Emitting module Rimuru
/Users/admin/builder/spi-builder-workspace/Sources/Rimuru/Command/RimuruCommand.swift:12:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | struct RimuruCommand: ParsableCommand {
12 |     static var configuration = CommandConfiguration(commandName: "rimuru",
   |                |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'configuration' 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
13 |                                                     abstract: "A tool for converting the input text to different naming convention",
14 |                                                     discussion: "e.g Rimuru --from lower --to upper exampleTestCase",
/Users/admin/builder/spi-builder-workspace/Sources/Rimuru/Extension/NamingConventionExtension.swift:11:1: warning: extension declares a conformance of imported type 'NamingConvention' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'RimuruCore' introduce this conformance in the future
 9 | import RimuruCore
10 |
11 | extension NamingConvention: ExpressibleByArgument {}
   | |- warning: extension declares a conformance of imported type 'NamingConvention' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'RimuruCore' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
12 |
[46/49] Compiling Rimuru RimuruCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/Rimuru/Command/RimuruCommand.swift:12:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | struct RimuruCommand: ParsableCommand {
12 |     static var configuration = CommandConfiguration(commandName: "rimuru",
   |                |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'configuration' 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
13 |                                                     abstract: "A tool for converting the input text to different naming convention",
14 |                                                     discussion: "e.g Rimuru --from lower --to upper exampleTestCase",
[46/49] Write Objects.LinkFileList
[47/49] Linking rimuru
[48/49] Applying rimuru
Build complete! (17.26s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swiftlint",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.39.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/realm/SwiftLint"
    }
  ],
  "manifest_display_name" : "Rimuru",
  "name" : "Rimuru",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "rimuru",
      "targets" : [
        "Rimuru"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "RimuruCore",
      "targets" : [
        "RimuruCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RimuruCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "RimuruCoreTests",
      "path" : "Tests/RimuruCoreTests",
      "sources" : [
        "Common/TestCase.swift",
        "NamingConventionConverterTests.swift"
      ],
      "target_dependencies" : [
        "RimuruCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RimuruCore",
      "module_type" : "SwiftTarget",
      "name" : "RimuruCore",
      "path" : "Sources/RimuruCore",
      "product_memberships" : [
        "rimuru",
        "RimuruCore"
      ],
      "sources" : [
        "InputTextError.swift",
        "NamingConvention.swift",
        "NamingConventionConverter.swift",
        "SplitMeans.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Rimuru",
      "module_type" : "SwiftTarget",
      "name" : "Rimuru",
      "path" : "Sources/Rimuru",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "rimuru"
      ],
      "sources" : [
        "Command/RimuruCommand.swift",
        "Extension/NamingConventionExtension.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "RimuruCore"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.2"
}
Done.