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 GitCommitInfoPlugin, reference main (e852bf), with Swift 6.0 for Linux on 3 Nov 2024 18:11:38 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PGSSoft/GitCommitInfoPlugin.git
Reference: main
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/PGSSoft/GitCommitInfoPlugin
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e852bf2 Update README.md
Cloned https://github.com/PGSSoft/GitCommitInfoPlugin.git
Revision (git rev-parse @):
e852bf2173c937ec412b3ef47164465ff289fefb
SUCCESS checkout https://github.com/PGSSoft/GitCommitInfoPlugin.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/PGSSoft/GitCommitInfoPlugin.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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 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
warning: 'spi-builder-workspace': 'GitCommitInfoGenerator' was identified as an executable target given the presence of a 'main.swift' file. Starting with tools version 5.4.0 executable targets should be declared as 'executableTarget()'
[1/1] Compiling plugin GitCommitInfoPlugin
Building for debugging...
[1/6] Write sources
[2/6] Write swift-version-24593BA9C3E375BF.txt
[4/8] Compiling GitCommitInfoGenerator main.swift
/host/spi-builder-workspace/Sources/GitCommitInfoGenerator/main.swift:26:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
24 |         process.standardError = errorPipe
25 |         process.arguments = ["-c", command]
26 |         process.launchPath = "/bin/zsh"
   |                 |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
   |                 `- note: use 'executableURL' instead
27 |         process.launch()
28 |
/host/spi-builder-workspace/Sources/GitCommitInfoGenerator/main.swift:27:17: warning: 'launch()' is deprecated: renamed to 'run'
25 |         process.arguments = ["-c", command]
26 |         process.launchPath = "/bin/zsh"
27 |         process.launch()
   |                 |- warning: 'launch()' is deprecated: renamed to 'run'
   |                 `- note: use 'run' instead
28 |
29 |         let errorData = errorPipe.fileHandleForReading.readDataToEndOfFile()
[5/8] Emitting module GitCommitInfoGenerator
[6/9] Wrapping AST for GitCommitInfoGenerator for debugging
[7/9] Write Objects.LinkFileList
[8/9] Linking GitCommitInfoGenerator
Build complete! (12.80s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "GitCommitInfoPlugin",
  "name" : "GitCommitInfoPlugin",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "GitCommitInfoPlugin",
      "targets" : [
        "GitCommitInfoPlugin"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "GitCommitInfoGenerator",
      "targets" : [
        "GitCommitInfoGenerator"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GitCommitInfoPlugin",
      "module_type" : "PluginTarget",
      "name" : "GitCommitInfoPlugin",
      "path" : "Plugins",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "GitCommitInfoPlugin"
      ],
      "sources" : [
        "GitCommitInfoPlugin.swift"
      ],
      "target_dependencies" : [
        "GitCommitInfoGenerator"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "GitCommitInfoGenerator",
      "module_type" : "SwiftTarget",
      "name" : "GitCommitInfoGenerator",
      "path" : "Sources/GitCommitInfoGenerator",
      "product_memberships" : [
        "GitCommitInfoPlugin",
        "GitCommitInfoGenerator"
      ],
      "sources" : [
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.9"
}
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
warning: 'spi-builder-workspace': 'GitCommitInfoGenerator' was identified as an executable target given the presence of a 'main.swift' file. Starting with tools version 5.4.0 executable targets should be declared as 'executableTarget()'
Done.