The Swift Package Index logo.Swift Package Index

Build Information

Successful build of RakuyoSwift, reference 1.4.0 (5d13a5), with Swift 6.1 for Android on 30 May 2025 09:31:07 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RakuyoKit/swift.git
Reference: 1.4.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/RakuyoKit/swift.git
https://github.com/RakuyoKit/swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/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" : "/host/spi-builder-workspace/Sources/RakuyoSwiftFormatTool/rakuyo.swiftformat",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-argument-parser.git
[1/15386] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.91s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (1.57s)
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.1
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
Downloading binary artifact https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip
[1397/11034045] Downloading https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
[18223/39231213] Downloading https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip, https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip (1.78s)
Downloaded https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip (3.15s)
/host/spi-builder-workspace/Plugins/FormatSwift/Plugin.swift:49:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
 47 |
 48 |         let process = Process()
 49 |         process.launchPath = launchPath
    |                 |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
    |                 `- note: use 'executableURL' instead
 50 |         process.arguments = arguments
 51 |         try process.run()
[1/1] Compiling plugin FormatSwift
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/23] Write sources
[2/23] Copying rakuyo.swiftformat
[9/23] Copying swiftlint.yml
[11/23] Copying rakuyo.swiftformat
[12/23] Write swift-version-24593BA9C3E375BF.txt
[14/27] Emitting module ArgumentParserToolInfo
[15/27] Compiling ArgumentParserToolInfo ToolInfo.swift
[16/28] Emitting module ArgumentParserToolInfo
[17/28] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/29] Wrapping AST for ArgumentParserToolInfo for debugging
[22/105] Emitting module ArgumentParser
[23/105] Compiling ArgumentParser ArgumentVisibility.swift
[24/105] Compiling ArgumentParser CompletionKind.swift
[25/105] Compiling ArgumentParser Errors.swift
[26/105] Compiling ArgumentParser Flag.swift
[27/105] Compiling ArgumentParser NameSpecification.swift
[28/105] Compiling ArgumentParser Option.swift
[29/110] Compiling ArgumentParser OptionGroup.swift
[30/110] Compiling ArgumentParser AsyncParsableCommand.swift
[31/110] Compiling ArgumentParser CommandConfiguration.swift
[32/110] Compiling ArgumentParser CommandGroup.swift
[33/110] Compiling ArgumentParser EnumerableFlag.swift
[34/115] Compiling ArgumentParser ArgumentHelp.swift
[40/115] Compiling ArgumentParser ExpressibleByArgument.swift
[41/115] Compiling ArgumentParser ParsableArguments.swift
[42/115] Compiling ArgumentParser ParsableArgumentsValidation.swift
[43/115] Compiling ArgumentParser ParsableCommand.swift
[44/115] Compiling ArgumentParser BashCompletionsGenerator.swift
[45/115] Compiling ArgumentParser CompletionsGenerator.swift
[46/115] Compiling ArgumentParser FishCompletionsGenerator.swift
[47/115] Compiling ArgumentParser ZshCompletionsGenerator.swift
[48/115] Compiling ArgumentParser Argument.swift
[49/115] Compiling ArgumentParser ArgumentDecoder.swift
[50/115] Compiling ArgumentParser ArgumentDefinition.swift
[51/115] Compiling ArgumentParser ArgumentSet.swift
[52/115] Compiling ArgumentParser CommandParser.swift
[53/115] Compiling ArgumentParser InputKey.swift
[54/115] Compiling ArgumentParser InputOrigin.swift
[61/115] Emitting module ArgumentParser
[73/115] Compiling ArgumentParser CollectionExtensions.swift
[74/115] Compiling ArgumentParser Platform.swift
[75/115] Compiling ArgumentParser SequenceExtensions.swift
[76/115] Compiling ArgumentParser StringExtensions.swift
[77/115] Compiling ArgumentParser Tree.swift
[83/115] Compiling ArgumentParser Name.swift
[84/115] Compiling ArgumentParser Parsed.swift
[85/115] Compiling ArgumentParser ParsedValues.swift
[86/115] Compiling ArgumentParser ParserError.swift
[87/115] Compiling ArgumentParser SplitArguments.swift
[88/115] Compiling ArgumentParser DumpHelpGenerator.swift
[89/115] Compiling ArgumentParser HelpCommand.swift
[90/115] Compiling ArgumentParser HelpGenerator.swift
[91/115] Compiling ArgumentParser MessageInfo.swift
[92/115] Compiling ArgumentParser UsageGenerator.swift
[93/116] Wrapping AST for ArgumentParser for debugging
[95/120] Compiling RakuyoSwiftFormatTool resource_bundle_accessor.swift
[96/120] Emitting module RakuyoSwiftFormatTool
/host/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
[97/120] Compiling RakuyoSwiftFormatTool Command.swift
/host/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
/host/spi-builder-workspace/Sources/RakuyoSwiftFormatTool/Command.swift:27:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
25 |     private func executeShellCommand() throws -> Int32 {
26 |         let process = Process()
27 |         process.launchPath = launchPath
   |                 |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
   |                 `- note: use 'executableURL' instead
28 |         process.arguments = arguments
29 |
/host/spi-builder-workspace/Sources/RakuyoSwiftFormatTool/Command.swift:38:39: warning: 'launchPath' is deprecated: renamed to 'executableURL'
36 |
37 |         if log {
38 |             let commandName = process.launchPath?.components(separatedBy: "/").last ?? "unknown"
   |                                       |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
   |                                       `- note: use 'executableURL' instead
39 |             log("\(commandName) command completed with exit code \(process.terminationStatus)")
40 |         }
[98/120] Compiling RakuyoSwiftFormatTool RakuyoSwiftFormatTool.swift
/host/spi-builder-workspace/Sources/RakuyoSwiftFormatTool/RakuyoSwiftFormatTool.swift:160:26: warning: 'launchPath' is deprecated: renamed to 'executableURL'
158 | extension Process {
159 |     var shellCommand: String {
160 |         let launchPath = launchPath ?? ""
    |                          |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
    |                          `- note: use 'executableURL' instead
161 |         let arguments = arguments ?? []
162 |         return "\(launchPath) \(arguments.joined(separator: " "))"
[104/121] Wrapping AST for RakuyoSwiftFormatTool for debugging
[105/121] Write Objects.LinkFileList
[116/121] Linking RakuyoSwiftFormatTool-tool
[118/122] Wrapping AST for ArgumentParser for debugging
[120/126] Compiling RakuyoSwiftFormatTool resource_bundle_accessor.swift
[121/126] Compiling RakuyoSwiftFormatTool Command.swift
/host/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
/host/spi-builder-workspace/Sources/RakuyoSwiftFormatTool/Command.swift:27:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
25 |     private func executeShellCommand() throws -> Int32 {
26 |         let process = Process()
27 |         process.launchPath = launchPath
   |                 |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
   |                 `- note: use 'executableURL' instead
28 |         process.arguments = arguments
29 |
/host/spi-builder-workspace/Sources/RakuyoSwiftFormatTool/Command.swift:38:39: warning: 'launchPath' is deprecated: renamed to 'executableURL'
36 |
37 |         if log {
38 |             let commandName = process.launchPath?.components(separatedBy: "/").last ?? "unknown"
   |                                       |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
   |                                       `- note: use 'executableURL' instead
39 |             log("\(commandName) command completed with exit code \(process.terminationStatus)")
40 |         }
[122/126] Compiling RakuyoSwiftFormatTool RakuyoSwiftFormatTool.swift
/host/spi-builder-workspace/Sources/RakuyoSwiftFormatTool/RakuyoSwiftFormatTool.swift:160:26: warning: 'launchPath' is deprecated: renamed to 'executableURL'
158 | extension Process {
159 |     var shellCommand: String {
160 |         let launchPath = launchPath ?? ""
    |                          |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
    |                          `- note: use 'executableURL' instead
161 |         let arguments = arguments ?? []
162 |         return "\(launchPath) \(arguments.joined(separator: " "))"
[123/126] Emitting module RakuyoSwiftFormatTool
/host/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
[124/127] Wrapping AST for RakuyoSwiftFormatTool for debugging
[125/127] Write Objects.LinkFileList
[126/127] Linking RakuyoSwiftFormatTool
Build complete! (43.09s)
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" : "/host/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" : "/host/spi-builder-workspace/Sources/RakuyoSwiftFormatTool/rakuyo.swiftformat",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/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"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.