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 master (b075cb), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 23:48:32 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/funzin/Rimuru
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b075cb1 Merge pull request #1 from funzin/add-workflow
Cloned https://github.com/funzin/Rimuru.git
Revision (git rev-parse @):
b075cb1dce72a186360166df1963e477b24805b3
SUCCESS checkout https://github.com/funzin/Rimuru.git at master
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/realm/SwiftLint
[1/929] Fetching swiftytexttable
[94/3749] Fetching swiftytexttable, swxmlhash
[460/13651] Fetching swiftytexttable, swxmlhash, yams
[1088/28374] Fetching swiftytexttable, swxmlhash, yams, quick
[1772/44390] Fetching swiftytexttable, swxmlhash, yams, quick, sourcekitten
[1773/56722] Fetching swiftytexttable, swxmlhash, yams, quick, sourcekitten, swift-argument-parser
[44507/197910] Fetching swiftytexttable, swxmlhash, yams, quick, sourcekitten, swift-argument-parser, swiftlint
Fetched https://github.com/Quick/Quick.git from cache (6.32s)
Fetched https://github.com/apple/swift-argument-parser from cache (6.32s)
Fetched https://github.com/jpsim/Yams.git from cache (6.32s)
Fetching https://github.com/Carthage/Commandant.git
Fetching https://github.com/Quick/Nimble.git
[21553/160953] Fetching swiftytexttable, swxmlhash, sourcekitten, swiftlint
[22029/163276] Fetching swiftytexttable, swxmlhash, sourcekitten, swiftlint, commandant
[22471/182494] Fetching swiftytexttable, swxmlhash, sourcekitten, swiftlint, commandant, nimble
Fetched https://github.com/Quick/Nimble.git from cache (3.06s)
Fetched https://github.com/Carthage/Commandant.git from cache (3.06s)
[23432/160953] Fetching swiftytexttable, swxmlhash, sourcekitten, swiftlint
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (239.33s)
Fetched https://github.com/realm/SwiftLint from cache (239.33s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (239.33s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (239.33s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.39.2 (0.96s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.2.0 (0.66s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (2.62s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (0.69s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.29.0 (0.69s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.17.0 (0.71s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 5.0.1 (0.69s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.1 (0.71s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (0.71s)
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/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.29.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/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.1
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/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
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/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.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.65s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.58s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.70s)
Creating working copy for https://github.com/funzin/Rimuru.git
Working copy of https://github.com/funzin/Rimuru.git resolved at master (b075cb1)
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 Name.swift
[8/45] Compiling ArgumentParser Parsed.swift
[9/45] Compiling ArgumentParser ParsedValues.swift
[10/45] Compiling ArgumentParser ParserError.swift
[11/45] Compiling ArgumentParser SplitArguments.swift
[12/45] Compiling ArgumentParser HelpCommand.swift
[13/45] Compiling ArgumentParser ArgumentSetSequence.swift
[14/45] Compiling ArgumentParser CommandParser.swift
[15/45] Compiling ArgumentParser InputOrigin.swift
[16/45] Compiling ArgumentParser CommandConfiguration.swift
[17/45] Compiling ArgumentParser EnumerableFlag.swift
[18/45] Compiling ArgumentParser ExpressibleByArgument.swift
[19/45] Compiling ArgumentParser ArgumentDecoder.swift
[20/45] Compiling ArgumentParser ArgumentDefinition.swift
[21/45] Compiling ArgumentParser ArgumentSet.swift
[22/45] Compiling ArgumentParser Argument.swift
[23/45] Compiling ArgumentParser ArgumentHelp.swift
[24/45] Compiling ArgumentParser Errors.swift
[25/45] Compiling ArgumentParser Flag.swift
[26/45] Compiling ArgumentParser ParsableArguments.swift
[27/45] Compiling ArgumentParser ParsableArgumentsValidation.swift
[28/45] Compiling ArgumentParser ParsableCommand.swift
[29/45] Compiling ArgumentParser SequenceExtensions.swift
[30/45] Compiling ArgumentParser StringExtensions.swift
[31/45] Compiling ArgumentParser Tree.swift
[32/45] Compiling RimuruCore SplitMeans.swift
[33/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,
[34/45] Compiling RimuruCore NamingConvention.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 InputTextError.swift
[37/45] Compiling ArgumentParser NameSpecification.swift
[38/45] Compiling ArgumentParser Option.swift
[39/45] Compiling ArgumentParser OptionGroup.swift
[40/45] Compiling ArgumentParser HelpGenerator.swift
[41/45] Compiling ArgumentParser MessageInfo.swift
[42/45] Compiling ArgumentParser UsageGenerator.swift
[43/49] Compiling Rimuru main.swift
[44/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",
[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 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! (19.75s)
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.