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 swift-builder, reference main (a3320a), with Swift 6.0 for Linux on 16 Sep 2024 03:00:27 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pelagornis/swift-builder.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/pelagornis/swift-builder
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a3320a8 Update README.md
Cloned https://github.com/pelagornis/swift-builder.git
Revision (git rev-parse @):
a3320a8e2b476e6dcf110b69cd58c9eb0d349443
SUCCESS checkout https://github.com/pelagornis/swift-builder.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/pelagornis/swift-builder.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/apple/swift-syntax
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2038] Fetching swift-docc-plugin
[450/5113] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.36s)
Computing version for https://github.com/apple/swift-docc-plugin.git
[1/65063] Fetching swift-syntax
Computed https://github.com/apple/swift-docc-plugin.git at 1.3.0 (2.50s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (3.90s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Fetched https://github.com/apple/swift-syntax from cache (3.95s)
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.51s)
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/5] Write sources
[3/5] Copying PrivacyInfo.xcprivacy
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/10] Compiling Builder Macros.swift
/host/spi-builder-workspace/Sources/Builder/Macros.swift:18:14: warning: external macro implementation type 'BuilderMacros.BuilderMacro' could not be found for macro 'Builder()'; plugin for module 'BuilderMacros' not found
16 | ///
17 | @attached(extension, conformances: Buildable, names: named(requirement))
18 | public macro Builder() = #externalMacro(
   |              `- warning: external macro implementation type 'BuilderMacros.BuilderMacro' could not be found for macro 'Builder()'; plugin for module 'BuilderMacros' not found
19 |     module: "BuilderMacros",
20 |     type: "BuilderMacro"
[7/10] Compiling Builder resource_bundle_accessor.swift
[8/10] Emitting module Builder
/host/spi-builder-workspace/Sources/Builder/Macros.swift:18:14: warning: external macro implementation type 'BuilderMacros.BuilderMacro' could not be found for macro 'Builder()'; plugin for module 'BuilderMacros' not found
16 | ///
17 | @attached(extension, conformances: Buildable, names: named(requirement))
18 | public macro Builder() = #externalMacro(
   |              `- warning: external macro implementation type 'BuilderMacros.BuilderMacro' could not be found for macro 'Builder()'; plugin for module 'BuilderMacros' not found
19 |     module: "BuilderMacros",
20 |     type: "BuilderMacro"
[9/10] Compiling Builder Builder.swift
[10/10] Compiling Builder Buildable.swift
Build complete! (29.26s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin.git"
    }
  ],
  "manifest_display_name" : "swift-builder",
  "name" : "swift-builder",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Builder",
      "targets" : [
        "Builder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BuilderTests",
      "module_type" : "SwiftTarget",
      "name" : "BuilderTests",
      "path" : "Tests/BuilderTests",
      "sources" : [
        "BuilderTests.swift"
      ],
      "target_dependencies" : [
        "Builder"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Builder",
      "module_type" : "SwiftTarget",
      "name" : "Builder",
      "path" : "Sources/Builder",
      "product_memberships" : [
        "Builder"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Builder/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Buildable.swift",
        "Builder.swift",
        "Macros.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.