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 31 Oct 2024 23:50:24 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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.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/Carthage/Commandant.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
[1/2323] Fetching commandant
[187/5143] Fetching commandant, swxmlhash
[385/6072] Fetching commandant, swxmlhash, swiftytexttable
[1882/15974] Fetching commandant, swxmlhash, swiftytexttable, yams
[3320/31990] Fetching commandant, swxmlhash, swiftytexttable, yams, sourcekitten
[3772/46713] Fetching commandant, swxmlhash, swiftytexttable, yams, sourcekitten, quick
[38428/65931] Fetching commandant, swxmlhash, swiftytexttable, yams, sourcekitten, quick, nimble
Fetched https://github.com/jpsim/SourceKitten.git from cache (2.14s)
[29055/49915] Fetching commandant, swxmlhash, swiftytexttable, yams, quick, nimble
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/Carthage/Commandant.git from cache (2.64s)
Fetched https://github.com/jpsim/Yams.git from cache (2.64s)
Fetching https://github.com/realm/SwiftLint
[37690/37690] Fetching swxmlhash, swiftytexttable, quick, nimble
Fetched https://github.com/Quick/Nimble.git from cache (2.93s)
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (2.93s)
Fetched https://github.com/Quick/Quick.git from cache (2.93s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (2.93s)
[1/12332] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.52s)
[1/141188] Fetching swiftlint
Fetched https://github.com/realm/SwiftLint from cache (89.27s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.39.2 (0.99s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.2.0 (0.65s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (2.69s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (0.64s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.29.0 (0.63s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.17.0 (0.70s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 5.0.1 (0.63s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.1 (0.65s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (0.67s)
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/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
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
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/realm/SwiftLint
Working copy of https://github.com/realm/SwiftLint resolved at 0.39.2
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
========================================
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.70s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.54s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.65s)
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
Building for debugging...
[0/8] Write sources
[3/8] Write rimuru-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/42] Emitting module ArgumentParser
[7/45] Compiling ArgumentParser CommandConfiguration.swift
[8/45] Compiling ArgumentParser EnumerableFlag.swift
[9/45] Compiling ArgumentParser ExpressibleByArgument.swift
[10/45] Compiling ArgumentParser Name.swift
[11/45] Compiling ArgumentParser Parsed.swift
[12/45] Compiling ArgumentParser ParsedValues.swift
[13/45] Compiling ArgumentParser ArgumentSetSequence.swift
[14/45] Compiling ArgumentParser CommandParser.swift
[15/45] Compiling ArgumentParser InputOrigin.swift
[16/45] Compiling ArgumentParser NameSpecification.swift
[17/45] Compiling ArgumentParser Option.swift
[18/45] Compiling ArgumentParser OptionGroup.swift
[19/45] Compiling ArgumentParser Argument.swift
[20/45] Compiling ArgumentParser ArgumentHelp.swift
[21/45] Compiling ArgumentParser Errors.swift
[22/45] Compiling ArgumentParser Flag.swift
[23/45] Compiling ArgumentParser ArgumentDecoder.swift
[24/45] Compiling ArgumentParser ArgumentDefinition.swift
[25/45] Compiling ArgumentParser ArgumentSet.swift
[26/45] Compiling ArgumentParser ParserError.swift
[27/45] Compiling ArgumentParser SplitArguments.swift
[28/45] Compiling ArgumentParser HelpCommand.swift
[29/45] Compiling ArgumentParser ParsableArguments.swift
[30/45] Compiling ArgumentParser ParsableArgumentsValidation.swift
[31/45] Compiling ArgumentParser ParsableCommand.swift
[32/45] Compiling ArgumentParser SequenceExtensions.swift
[33/45] Compiling ArgumentParser StringExtensions.swift
[34/45] Compiling ArgumentParser Tree.swift
[35/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,
[36/45] Compiling RimuruCore NamingConvention.swift
[37/45] Compiling RimuruCore SplitMeans.swift
[38/45] Compiling ArgumentParser HelpGenerator.swift
[39/45] Compiling ArgumentParser MessageInfo.swift
[40/45] Compiling ArgumentParser UsageGenerator.swift
[41/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,
[42/45] Compiling RimuruCore InputTextError.swift
[43/49] Compiling Rimuru main.swift
[44/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 |
[45/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] 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 |
[46/49] Write Objects.LinkFileList
[47/49] Linking rimuru
[48/49] Applying rimuru
Build complete! (18.91s)
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.