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 Rocket, reference 1.3.0 (32af35), with Swift 6.0 for Linux on 29 Nov 2024 09:37:19 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shibapm/rocket.git
Reference: 1.3.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/shibapm/rocket
 * tag               1.3.0      -> FETCH_HEAD
HEAD is now at 32af356 Version 1.3.0
Cloned https://github.com/shibapm/rocket.git
Revision (git rev-parse @):
32af356776108ee7289884874a0eb63ceacb9e5d
SUCCESS checkout https://github.com/shibapm/rocket.git at 1.3.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/shibapm/rocket.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/shibapm/Logger
Fetching https://github.com/kareman/SwiftShell
Fetching https://github.com/shibapm/PackageConfig.git
[1/4863] Fetching swiftshell
[147/4979] Fetching swiftshell, logger
[1333/5559] Fetching swiftshell, logger, packageconfig
Fetched https://github.com/shibapm/Logger from cache (0.19s)
[2039/5443] Fetching swiftshell, packageconfig
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.20s)
[1654/4863] Fetching swiftshell
[4864/14799] Fetching swiftshell, yams
Fetched https://github.com/kareman/SwiftShell from cache (0.33s)
[696/9936] Fetching yams
Fetched https://github.com/jpsim/Yams from cache (1.00s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.1.0 (0.47s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (1.98s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.45s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.1.3 (0.49s)
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 5.1.0
Creating working copy for https://github.com/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
Creating working copy for https://github.com/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.1.3
Building for debugging...
[0/23] Write sources
[6/23] Compiling reader.c
[7/23] Compiling parser.c
[8/23] Compiling api.c
[9/23] Compiling emitter.c
[10/23] Compiling scanner.c
[11/23] Compiling writer.c
[12/23] Write swift-version-24593BA9C3E375BF.txt
[14/57] Compiling Yams Node.Scalar.swift
[15/57] Compiling Yams Node.Sequence.swift
[16/57] Compiling Yams Mark.swift
[17/57] Compiling Yams Node.Mapping.swift
[18/58] Compiling PackageConfig Writer.swift
[19/58] Compiling PackageConfig Package.swift
[20/58] Compiling Yams YamlError.swift
[21/58] Compiling Yams String+Yams.swift
[22/58] Compiling Yams Tag.swift
[23/58] Compiling Yams Representer.swift
[24/58] Compiling Yams Resolver.swift
[25/58] Compiling Yams Node.swift
[26/58] Compiling Yams Parser.swift
[27/58] Compiling SwiftShell Array.swift
[28/58] Emitting module Logger
[29/58] Compiling Logger Logger.swift
[30/58] Emitting module SwiftShell
[31/58] Compiling SwiftShell Files.swift
[32/58] Compiling Yams Emitter.swift
[33/58] Compiling Yams Encoder.swift
[34/59] Compiling SwiftShell Lazy-split.swift
[35/59] Compiling SwiftShell Process.swift
[36/59] Compiling SwiftShell Stream.swift
[37/59] Compiling SwiftShell Context.swift
[38/60] Compiling PackageConfig PackageConfig.swift
[39/60] Compiling PackageConfig PackageConfiguration.swift
[40/60] Compiling Yams Constructor.swift
[41/60] Compiling Yams Decoder.swift
[42/60] Emitting module Yams
[47/61] Compiling SwiftShell String.swift
[48/62] Wrapping AST for Logger for debugging
[49/62] Wrapping AST for Yams for debugging
[50/62] Wrapping AST for SwiftShell for debugging
[52/97] Compiling RocketLib BranchExecutor.swift
[53/97] Compiling RocketLib CommitExecutor.swift
[54/97] Compiling RocketLib DefaultExecutor.swift
[55/97] Compiling RocketLib GitAddExecutor.swift
[56/97] Compiling RocketLib HideDevDependenciesExecutor.swift
[57/101] Emitting module RocketLib
/host/spi-builder-workspace/Sources/RocketLib/StepsParser.swift:11:24: warning: static property 'defaultSteps' is not concurrency-safe because non-'Sendable' type '[Any]' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |     }
10 |
11 |     private static let defaultSteps: [Any] = [
   |                        |- warning: static property 'defaultSteps' is not concurrency-safe because non-'Sendable' type '[Any]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: annotate 'defaultSteps' 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
12 |         Step.hideDependencies.rawValue,
13 |         Step.gitAdd.rawValue,
[58/101] Compiling RocketLib NoVerifyParameterInserter.swift
[59/101] Compiling RocketLib NoVerifyParameterInserterExecutor.swift
[60/101] Compiling RocketLib ScriptLauncherContainer.swift
[61/101] Compiling RocketLib NewVersionProvider.swift
[62/101] Compiling RocketLib BranchParameters.swift
[63/101] Compiling RocketLib PushExecutor.swift
[64/101] Compiling RocketLib ScriptExecutor.swift
[65/101] Compiling RocketLib ScriptLauncher.swift
[66/101] Compiling RocketLib ScriptLauncherExecutor.swift
[67/101] Compiling RocketLib StepDescriptionPrinter.swift
[68/101] Compiling RocketLib Checks.swift
[69/101] Compiling RocketLib Check.swift
[70/101] Compiling RocketLib CleanGitStatusCheck.swift
[71/101] Compiling RocketLib ChecksParser.swift
[72/101] Compiling RocketLib CurrentVersionProvider.swift
[73/101] Compiling RocketLib ScriptParameters.swift
[74/101] Compiling RocketLib StepParameter.swift
[75/101] Compiling RocketLib SwiftScriptParameters.swift
[76/101] Compiling RocketLib TagParameters.swift
[77/101] Compiling RocketLib CommitParameters.swift
[78/101] Compiling RocketLib Dictionary+CodingKeys.swift
[79/101] Compiling RocketLib GitAddParameters.swift
[80/101] Compiling RocketLib ModifyDevDependenciesParameters.swift
[81/101] Compiling RocketLib PushParameters.swift
[82/101] Compiling RocketLib StepExecutor.swift
/host/spi-builder-workspace/Sources/RocketLib/Executors/SwiftScriptExecutor.swift:26:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
24 |
25 |         let process = Process()
26 |         process.launchPath = swift
   |                 |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
   |                 `- note: use 'executableURL' instead
27 |         process.arguments = args
28 |
/host/spi-builder-workspace/Sources/RocketLib/Executors/SwiftScriptExecutor.swift:43:17: warning: 'launch()' is deprecated: renamed to 'run'
41 | struct ProcessLauncher: ProcessLaunching {
42 |     func launchProcess(process: Process) {
43 |         process.launch()
   |                 |- warning: 'launch()' is deprecated: renamed to 'run'
   |                 `- note: use 'run' instead
44 |         process.waitUntilExit()
45 |     }
[83/101] Compiling RocketLib SwiftScriptExecutor.swift
/host/spi-builder-workspace/Sources/RocketLib/Executors/SwiftScriptExecutor.swift:26:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
24 |
25 |         let process = Process()
26 |         process.launchPath = swift
   |                 |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
   |                 `- note: use 'executableURL' instead
27 |         process.arguments = args
28 |
/host/spi-builder-workspace/Sources/RocketLib/Executors/SwiftScriptExecutor.swift:43:17: warning: 'launch()' is deprecated: renamed to 'run'
41 | struct ProcessLauncher: ProcessLaunching {
42 |     func launchProcess(process: Process) {
43 |         process.launch()
   |                 |- warning: 'launch()' is deprecated: renamed to 'run'
   |                 `- note: use 'run' instead
44 |         process.waitUntilExit()
45 |     }
[84/101] Compiling RocketLib TagExecutor.swift
/host/spi-builder-workspace/Sources/RocketLib/Executors/SwiftScriptExecutor.swift:26:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
24 |
25 |         let process = Process()
26 |         process.launchPath = swift
   |                 |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
   |                 `- note: use 'executableURL' instead
27 |         process.arguments = args
28 |
/host/spi-builder-workspace/Sources/RocketLib/Executors/SwiftScriptExecutor.swift:43:17: warning: 'launch()' is deprecated: renamed to 'run'
41 | struct ProcessLauncher: ProcessLaunching {
42 |     func launchProcess(process: Process) {
43 |         process.launch()
   |                 |- warning: 'launch()' is deprecated: renamed to 'run'
   |                 `- note: use 'run' instead
44 |         process.waitUntilExit()
45 |     }
[85/101] Compiling RocketLib UnhideDevDependenciesExecutor.swift
/host/spi-builder-workspace/Sources/RocketLib/Executors/SwiftScriptExecutor.swift:26:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
24 |
25 |         let process = Process()
26 |         process.launchPath = swift
   |                 |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
   |                 `- note: use 'executableURL' instead
27 |         process.arguments = args
28 |
/host/spi-builder-workspace/Sources/RocketLib/Executors/SwiftScriptExecutor.swift:43:17: warning: 'launch()' is deprecated: renamed to 'run'
41 | struct ProcessLauncher: ProcessLaunching {
42 |     func launchProcess(process: Process) {
43 |         process.launch()
   |                 |- warning: 'launch()' is deprecated: renamed to 'run'
   |                 `- note: use 'run' instead
44 |         process.waitUntilExit()
45 |     }
[86/101] Compiling RocketLib DevDependenciesModifier.swift
/host/spi-builder-workspace/Sources/RocketLib/Executors/SwiftScriptExecutor.swift:26:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
24 |
25 |         let process = Process()
26 |         process.launchPath = swift
   |                 |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
   |                 `- note: use 'executableURL' instead
27 |         process.arguments = args
28 |
/host/spi-builder-workspace/Sources/RocketLib/Executors/SwiftScriptExecutor.swift:43:17: warning: 'launch()' is deprecated: renamed to 'run'
41 | struct ProcessLauncher: ProcessLaunching {
42 |     func launchProcess(process: Process) {
43 |         process.launch()
   |                 |- warning: 'launch()' is deprecated: renamed to 'run'
   |                 `- note: use 'run' instead
44 |         process.waitUntilExit()
45 |     }
[87/101] Compiling RocketLib RocketFileFinder.swift
/host/spi-builder-workspace/Sources/RocketLib/StepsParser.swift:11:24: warning: static property 'defaultSteps' is not concurrency-safe because non-'Sendable' type '[Any]' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |     }
10 |
11 |     private static let defaultSteps: [Any] = [
   |                        |- warning: static property 'defaultSteps' is not concurrency-safe because non-'Sendable' type '[Any]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: annotate 'defaultSteps' 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
12 |         Step.hideDependencies.rawValue,
13 |         Step.gitAdd.rawValue,
[88/101] Compiling RocketLib Step.swift
/host/spi-builder-workspace/Sources/RocketLib/StepsParser.swift:11:24: warning: static property 'defaultSteps' is not concurrency-safe because non-'Sendable' type '[Any]' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |     }
10 |
11 |     private static let defaultSteps: [Any] = [
   |                        |- warning: static property 'defaultSteps' is not concurrency-safe because non-'Sendable' type '[Any]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: annotate 'defaultSteps' 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
12 |         Step.hideDependencies.rawValue,
13 |         Step.gitAdd.rawValue,
[89/101] Compiling RocketLib StepsParser.swift
/host/spi-builder-workspace/Sources/RocketLib/StepsParser.swift:11:24: warning: static property 'defaultSteps' is not concurrency-safe because non-'Sendable' type '[Any]' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |     }
10 |
11 |     private static let defaultSteps: [Any] = [
   |                        |- warning: static property 'defaultSteps' is not concurrency-safe because non-'Sendable' type '[Any]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: annotate 'defaultSteps' 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
12 |         Step.hideDependencies.rawValue,
13 |         Step.gitAdd.rawValue,
[90/101] Compiling RocketLib VersionBumpOption.swift
/host/spi-builder-workspace/Sources/RocketLib/StepsParser.swift:11:24: warning: static property 'defaultSteps' is not concurrency-safe because non-'Sendable' type '[Any]' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |     }
10 |
11 |     private static let defaultSteps: [Any] = [
   |                        |- warning: static property 'defaultSteps' is not concurrency-safe because non-'Sendable' type '[Any]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: annotate 'defaultSteps' 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
12 |         Step.hideDependencies.rawValue,
13 |         Step.gitAdd.rawValue,
[91/102] Wrapping AST for RocketLib for debugging
[93/102] Compiling PackageConfig DynamicLibraries.swift
[94/102] Emitting module PackageConfig
[95/102] Compiling PackageConfig Loader.swift
[96/102] Compiling PackageConfig Error.swift
[97/103] Wrapping AST for PackageConfig for debugging
[98/103] Write Objects.LinkFileList
[99/103] Linking libPackageConfig.so
[101/105] Compiling Rocket main.swift
[102/105] Emitting module Rocket
[103/106] Wrapping AST for Rocket for debugging
[104/106] Write Objects.LinkFileList
[105/106] Linking rocket
Build complete! (39.86s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams"
    },
    {
      "identity" : "logger",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/shibapm/Logger"
    },
    {
      "identity" : "swiftshell",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.1.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kareman/SwiftShell"
    },
    {
      "identity" : "packageconfig",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/shibapm/PackageConfig.git"
    }
  ],
  "manifest_display_name" : "Rocket",
  "name" : "Rocket",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "rocket",
      "targets" : [
        "Rocket"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RocketLib",
      "module_type" : "SwiftTarget",
      "name" : "RocketLib",
      "path" : "Sources/RocketLib",
      "product_dependencies" : [
        "Logger",
        "SwiftShell"
      ],
      "product_memberships" : [
        "rocket"
      ],
      "sources" : [
        "Checks.swift",
        "Checks/Check.swift",
        "Checks/CleanGitStatusCheck.swift",
        "ChecksParser.swift",
        "CurrentVersionProvider.swift",
        "Executors/BranchExecutor.swift",
        "Executors/CommitExecutor.swift",
        "Executors/DefaultExecutor.swift",
        "Executors/GitAddExecutor.swift",
        "Executors/HideDevDependenciesExecutor.swift",
        "Executors/PushExecutor.swift",
        "Executors/ScriptExecutor.swift",
        "Executors/ScriptLauncher.swift",
        "Executors/ScriptLauncherExecutor.swift",
        "Executors/StepDescriptionPrinter.swift",
        "Executors/StepExecutor.swift",
        "Executors/SwiftScriptExecutor.swift",
        "Executors/TagExecutor.swift",
        "Executors/UnhideDevDependenciesExecutor.swift",
        "Executors/Utils/DevDependenciesModifier.swift",
        "Executors/Utils/NoVerifyParameterInserter.swift",
        "Executors/Utils/NoVerifyParameterInserterExecutor.swift",
        "Executors/Utils/ScriptLauncherContainer.swift",
        "NewVersionProvider.swift",
        "Parameters/BranchParameters.swift",
        "Parameters/CommitParameters.swift",
        "Parameters/Dictionary+CodingKeys.swift",
        "Parameters/GitAddParameters.swift",
        "Parameters/ModifyDevDependenciesParameters.swift",
        "Parameters/PushParameters.swift",
        "Parameters/ScriptParameters.swift",
        "Parameters/StepParameter.swift",
        "Parameters/SwiftScriptParameters.swift",
        "Parameters/TagParameters.swift",
        "RocketFileFinder.swift",
        "Step.swift",
        "StepsParser.swift",
        "VersionBumpOption.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Rocket",
      "module_type" : "SwiftTarget",
      "name" : "Rocket",
      "path" : "Sources/Rocket",
      "product_dependencies" : [
        "Yams",
        "Logger",
        "PackageConfig"
      ],
      "product_memberships" : [
        "rocket"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "RocketLib"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.4"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.