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 RakuyoSwift, reference 1.4.0 (5d13a5), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 15:10:53 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RakuyoKit/swift.git
Reference: 1.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/RakuyoKit/swift
 * tag               1.4.0      -> FETCH_HEAD
HEAD is now at 5d13a5f feat: Release 1.4.0
Cloned https://github.com/RakuyoKit/swift.git
Revision (git rev-parse @):
5d13a5fb69e44b637b3eee0f7761077bed29d6ee
SUCCESS checkout https://github.com/RakuyoKit/swift.git at 1.4.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/RakuyoKit/swift.git
https://github.com/RakuyoKit/swift.git
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    }
  ],
  "manifest_display_name" : "RakuyoSwift",
  "name" : "RakuyoSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "FormatSwift",
      "targets" : [
        "FormatSwift"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "RakuyoSwiftFormatTool",
      "targets" : [
        "RakuyoSwiftFormatTool"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swiftformat",
      "module_type" : "BinaryTarget",
      "name" : "swiftformat",
      "path" : "remote/archive/SwiftFormat.artifactbundle.zip",
      "product_memberships" : [
        "FormatSwift"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "SwiftLintBinary",
      "module_type" : "BinaryTarget",
      "name" : "SwiftLintBinary",
      "path" : "remote/archive/SwiftLintBinary-macos.artifactbundle.zip",
      "product_memberships" : [
        "FormatSwift"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "RakuyoSwiftFormatToolTests",
      "module_type" : "SwiftTarget",
      "name" : "RakuyoSwiftFormatToolTests",
      "path" : "Tests/RakuyoSwiftFormatToolTests",
      "sources" : [
        "RakuyoSwiftFormatToolTests.swift"
      ],
      "target_dependencies" : [
        "RakuyoSwiftFormatTool"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RakuyoSwiftFormatTool",
      "module_type" : "SwiftTarget",
      "name" : "RakuyoSwiftFormatTool",
      "path" : "Sources/RakuyoSwiftFormatTool",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "FormatSwift",
        "RakuyoSwiftFormatTool"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/RakuyoSwiftFormatTool/rakuyo.swiftformat",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/RakuyoSwiftFormatTool/swiftlint.yml",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Command.swift",
        "RakuyoSwiftFormatTool.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "FormatSwift",
      "module_type" : "PluginTarget",
      "name" : "FormatSwift",
      "path" : "Plugins/FormatSwift",
      "plugin_capability" : {
        "intent" : {
          "description" : "Formats Swift source files according to the Rakuyo Swift Style Guide",
          "type" : "custom",
          "verb" : "format"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "Format Swift source files",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "FormatSwift"
      ],
      "sources" : [
        "CommandContext.swift",
        "Plugin.swift"
      ],
      "target_dependencies" : [
        "RakuyoSwiftFormatTool",
        "swiftformat",
        "SwiftLintBinary"
      ],
      "type" : "plugin"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
[1/1] Compiling plugin FormatSwift
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/21] Write sources
[2/21] Copying swiftlint.yml
[4/21] Write sources
[6/21] Write RakuyoSwiftFormatTool-entitlement.plist
[7/21] Write sources
[9/21] Copying rakuyo.swiftformat
[9/21] Write sources
[9/21] Copying rakuyo.swiftformat
[12/21] Write sources
[13/21] Write RakuyoSwiftFormatTool-tool-entitlement.plist
[14/21] Write swift-version-2F0A5646E1D333AE.txt
[16/25] Emitting module ArgumentParserToolInfo
[18/25] Compiling ArgumentParserToolInfo ToolInfo.swift
[20/103] Compiling ArgumentParser ParserError.swift
[21/103] Compiling ArgumentParser SplitArguments.swift
[22/103] Compiling ArgumentParser DumpHelpGenerator.swift
[23/103] Compiling ArgumentParser HelpCommand.swift
[24/107] Compiling ArgumentParser BashCompletionsGenerator.swift
[25/107] Compiling ArgumentParser CompletionsGenerator.swift
[26/107] Compiling ArgumentParser FishCompletionsGenerator.swift
[27/107] Compiling ArgumentParser ZshCompletionsGenerator.swift
[28/107] Compiling ArgumentParser ArgumentHelp.swift
[29/107] Compiling ArgumentParser NameSpecification.swift
[30/107] Compiling ArgumentParser Option.swift
[31/107] Compiling ArgumentParser OptionGroup.swift
[32/107] Compiling ArgumentParser AsyncParsableCommand.swift
[33/107] Emitting module ArgumentParser
[39/111] Compiling ArgumentParser ArgumentDecoder.swift
[40/111] Compiling ArgumentParser CommandConfiguration.swift
[41/111] Compiling ArgumentParser CommandGroup.swift
[42/111] Compiling ArgumentParser EnumerableFlag.swift
[43/111] Compiling ArgumentParser ExpressibleByArgument.swift
[44/111] Compiling ArgumentParser CollectionExtensions.swift
[45/111] Compiling ArgumentParser ParsableArguments.swift
[46/111] Compiling ArgumentParser ParsableArgumentsValidation.swift
[47/111] Compiling ArgumentParser ParsableCommand.swift
[48/111] Compiling ArgumentParser InputOrigin.swift
[49/111] Compiling ArgumentParser Name.swift
[50/111] Compiling ArgumentParser Parsed.swift
[51/111] Compiling ArgumentParser InputOrigin.swift
[52/111] Compiling ArgumentParser ArgumentDefinition.swift
[53/111] Compiling ArgumentParser ArgumentSet.swift
[54/111] Compiling ArgumentParser CommandParser.swift
[56/111] Compiling ArgumentParser ArgumentHelp.swift
[57/111] Compiling ArgumentParser ArgumentVisibility.swift
[58/111] Compiling ArgumentParser CompletionKind.swift
[59/111] Compiling ArgumentParser Errors.swift
[60/111] Compiling ArgumentParser Flag.swift
[61/111] Compiling ArgumentParser Platform.swift
[62/111] Compiling ArgumentParser SequenceExtensions.swift
[63/111] Compiling ArgumentParser StringExtensions.swift
[64/111] Compiling ArgumentParser Tree.swift
[93/111] Compiling ArgumentParser Argument.swift
[94/111] Compiling ArgumentParser HelpGenerator.swift
[95/111] Compiling ArgumentParser MessageInfo.swift
[96/111] Compiling ArgumentParser UsageGenerator.swift
[106/119] Compiling RakuyoSwiftFormatTool resource_bundle_accessor.swift
[108/119] Emitting module RakuyoSwiftFormatTool
/Users/admin/builder/spi-builder-workspace/Sources/RakuyoSwiftFormatTool/Command.swift:8:16: warning: static property 'runCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 6 | struct Command {
 7 |     /// This property can be overridden to provide a mock implementation in unit tests.
 8 |     static var runCommand: (Self) throws -> Int32 = { try $0.executeShellCommand() }
   |                |- warning: static property 'runCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'runCommand' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'runCommand' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |
10 |     let log: Bool
[109/119] Compiling RakuyoSwiftFormatTool Command.swift
/Users/admin/builder/spi-builder-workspace/Sources/RakuyoSwiftFormatTool/Command.swift:8:16: warning: static property 'runCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 6 | struct Command {
 7 |     /// This property can be overridden to provide a mock implementation in unit tests.
 8 |     static var runCommand: (Self) throws -> Int32 = { try $0.executeShellCommand() }
   |                |- warning: static property 'runCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'runCommand' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'runCommand' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |
10 |     let log: Bool
[110/119] Compiling RakuyoSwiftFormatTool RakuyoSwiftFormatTool.swift
[110/119] Write Objects.LinkFileList
[112/119] Compiling RakuyoSwiftFormatTool Command.swift
/Users/admin/builder/spi-builder-workspace/Sources/RakuyoSwiftFormatTool/Command.swift:8:16: warning: static property 'runCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 6 | struct Command {
 7 |     /// This property can be overridden to provide a mock implementation in unit tests.
 8 |     static var runCommand: (Self) throws -> Int32 = { try $0.executeShellCommand() }
   |                |- warning: static property 'runCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'runCommand' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'runCommand' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |
10 |     let log: Bool
[113/119] Emitting module RakuyoSwiftFormatTool
/Users/admin/builder/spi-builder-workspace/Sources/RakuyoSwiftFormatTool/Command.swift:8:16: warning: static property 'runCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 6 | struct Command {
 7 |     /// This property can be overridden to provide a mock implementation in unit tests.
 8 |     static var runCommand: (Self) throws -> Int32 = { try $0.executeShellCommand() }
   |                |- warning: static property 'runCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'runCommand' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'runCommand' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |
10 |     let log: Bool
[114/119] Compiling RakuyoSwiftFormatTool RakuyoSwiftFormatTool.swift
[114/119] Write Objects.LinkFileList
[115/119] Linking RakuyoSwiftFormatTool-tool
[116/119] Linking RakuyoSwiftFormatTool
[117/119] Applying RakuyoSwiftFormatTool-tool
[118/119] Applying RakuyoSwiftFormatTool
Build complete! (15.19s)
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.67s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (1.17s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Downloading binary artifact https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
[16375/28197168] Downloading https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip
[15652910/39231213] Downloading https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip, https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip (1.55s)
Downloaded https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip (2.19s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    }
  ],
  "manifest_display_name" : "RakuyoSwift",
  "name" : "RakuyoSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "FormatSwift",
      "targets" : [
        "FormatSwift"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "RakuyoSwiftFormatTool",
      "targets" : [
        "RakuyoSwiftFormatTool"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swiftformat",
      "module_type" : "BinaryTarget",
      "name" : "swiftformat",
      "path" : "remote/archive/SwiftFormat.artifactbundle.zip",
      "product_memberships" : [
        "FormatSwift"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "SwiftLintBinary",
      "module_type" : "BinaryTarget",
      "name" : "SwiftLintBinary",
      "path" : "remote/archive/SwiftLintBinary-macos.artifactbundle.zip",
      "product_memberships" : [
        "FormatSwift"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "RakuyoSwiftFormatToolTests",
      "module_type" : "SwiftTarget",
      "name" : "RakuyoSwiftFormatToolTests",
      "path" : "Tests/RakuyoSwiftFormatToolTests",
      "sources" : [
        "RakuyoSwiftFormatToolTests.swift"
      ],
      "target_dependencies" : [
        "RakuyoSwiftFormatTool"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RakuyoSwiftFormatTool",
      "module_type" : "SwiftTarget",
      "name" : "RakuyoSwiftFormatTool",
      "path" : "Sources/RakuyoSwiftFormatTool",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "FormatSwift",
        "RakuyoSwiftFormatTool"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/RakuyoSwiftFormatTool/rakuyo.swiftformat",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/RakuyoSwiftFormatTool/swiftlint.yml",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Command.swift",
        "RakuyoSwiftFormatTool.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "FormatSwift",
      "module_type" : "PluginTarget",
      "name" : "FormatSwift",
      "path" : "Plugins/FormatSwift",
      "plugin_capability" : {
        "intent" : {
          "description" : "Formats Swift source files according to the Rakuyo Swift Style Guide",
          "type" : "custom",
          "verb" : "format"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "Format Swift source files",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "FormatSwift"
      ],
      "sources" : [
        "CommandContext.swift",
        "Plugin.swift"
      ],
      "target_dependencies" : [
        "RakuyoSwiftFormatTool",
        "swiftformat",
        "SwiftLintBinary"
      ],
      "type" : "plugin"
    }
  ],
  "tools_version" : "5.8"
}
Done.