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 show, reference 0.0.2 (c4012c), with Swift 6.0 for Linux on 8 Oct 2024 06:14:13 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/erica/show.git
Reference: 0.0.2
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/erica/show
 * tag               0.0.2      -> FETCH_HEAD
HEAD is now at c4012c6 Roll back tools to 5.1
Cloned https://github.com/erica/show.git
Revision (git rev-parse @):
c4012c64fa522b2277e535c114cdb605b6fca228
SUCCESS checkout https://github.com/erica/show.git at 0.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/erica/show.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:b1f5b321a5d74ef5eaf6f5f3afbfebaaa54c7954de6f859009c18a90e0e1c3b4
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-argument-parser
[1/12253] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.75s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.6 (0.50s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.0.6
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/35] Emitting module ArgumentParser
[5/38] Compiling ArgumentParser Parsed.swift
[6/38] Compiling ArgumentParser ParsedValues.swift
[7/38] Compiling ArgumentParser ParserError.swift
[8/38] Compiling ArgumentParser SplitArguments.swift
[9/38] Compiling ArgumentParser NameSpecification.swift
[10/38] Compiling ArgumentParser Option.swift
[11/38] Compiling ArgumentParser OptionGroup.swift
[12/38] Compiling ArgumentParser CommandConfiguration.swift
[13/38] Compiling ArgumentParser ArgumentSetSequence.swift
[14/38] Compiling ArgumentParser CommandParser.swift
[15/38] Compiling ArgumentParser InputOrigin.swift
[16/38] Compiling ArgumentParser Name.swift
[17/38] Compiling ArgumentParser Argument.swift
[18/38] Compiling ArgumentParser ArgumentHelp.swift
[19/38] Compiling ArgumentParser Errors.swift
[20/38] Compiling ArgumentParser Flag.swift
[21/38] Compiling ArgumentParser UsageGenerator.swift
[22/38] Compiling ArgumentParser StringExtensions.swift
[23/38] Compiling ArgumentParser Tree.swift
[24/38] Compiling ArgumentParser ParsableCommand.swift
[25/38] Compiling ArgumentParser ArgumentDecoder.swift
[26/38] Compiling ArgumentParser ArgumentDefinition.swift
[27/38] Compiling ArgumentParser ArgumentSet.swift
[28/38] Compiling ArgumentParser EnumerableFlag.swift
[29/38] Compiling ArgumentParser ExpressibleByArgument.swift
[30/38] Compiling ArgumentParser ParsableArguments.swift
[31/38] Compiling ArgumentParser ParsableArgumentsValidation.swift
[32/38] Compiling ArgumentParser HelpCommand.swift
[33/38] Compiling ArgumentParser HelpGenerator.swift
[34/38] Compiling ArgumentParser MessageInfo.swift
[35/39] Wrapping AST for ArgumentParser for debugging
[37/45] Compiling show StringUtility.swift
[38/45] Compiling show Utility.swift
[39/45] Compiling show main.swift
/host/spi-builder-workspace/show/main.swift:23:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | struct Show: ParsableCommand {
23 |     static var configuration = CommandConfiguration(
   |                |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'configuration' 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
24 |         abstract: "show/hide apps",
25 |         discussion: """
[40/45] Emitting module show
/host/spi-builder-workspace/show/main.swift:23:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | struct Show: ParsableCommand {
23 |     static var configuration = CommandConfiguration(
   |                |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'configuration' 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
24 |         abstract: "show/hide apps",
25 |         discussion: """
[41/45] Compiling show Execute.swift
[42/45] Compiling show RuntimeError.swift
[43/46] Wrapping AST for show for debugging
[44/46] Write Objects.LinkFileList
[45/46] Linking show
Build complete! (17.17s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "exact" : [
          "0.0.6"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "show",
  "name" : "show",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    }
  ],
  "products" : [
    {
      "name" : "show",
      "targets" : [
        "show"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "show",
      "module_type" : "SwiftTarget",
      "name" : "show",
      "path" : "show",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "show"
      ],
      "sources" : [
        "Execute.swift",
        "RuntimeError.swift",
        "StringUtility.swift",
        "Utility.swift",
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.1"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:b1f5b321a5d74ef5eaf6f5f3afbfebaaa54c7954de6f859009c18a90e0e1c3b4
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.