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 OutputUhooi, reference 0.2.0 (c49604), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 20:18:32 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/uhooi/swift-output-uhooi.git
Reference: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/uhooi/swift-output-uhooi
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at c496042 Merge pull request #16 from uhooi/release/0.2.0
Cloned https://github.com/uhooi/swift-output-uhooi.git
Revision (git rev-parse @):
c496042fa2abda87099af6b5996d870221ca76a6
SUCCESS checkout https://github.com/uhooi/swift-output-uhooi.git at 0.2.0
Fetching https://github.com/apple/swift-argument-parser
[1/12395] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.58s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.0.1 (0.55s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.0.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swift-output-uhooi",
      "name": "OutputUhooi",
      "url": "https://github.com/uhooi/swift-output-uhooi.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-output-uhooi",
      "dependencies": [
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser",
          "version": "1.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/uhooi/swift-output-uhooi.git
[1/285] Fetching swift-output-uhooi
Fetched https://github.com/uhooi/swift-output-uhooi.git from cache (0.77s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.58s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.45s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/uhooi/swift-output-uhooi.git
Working copy of https://github.com/uhooi/swift-output-uhooi.git resolved at 0.2.0 (c496042)
Found 1 product dependencies
  - swift-argument-parser
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/uhooi/swift-output-uhooi.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/9] Write sources
[2/9] Write uhooi-entitlement.plist
[3/9] Write sources
[5/9] Write swift-version--7754E27361AE5C74.txt
[7/13] Compiling OutputUhooiCore TextBuilder.swift
[8/13] Emitting module OutputUhooiCore
[9/13] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/13] Emitting module ArgumentParserToolInfo
[11/48] Compiling ArgumentParser Argument.swift
[12/48] Compiling ArgumentParser ArgumentHelp.swift
[13/48] Compiling ArgumentParser CompletionKind.swift
[14/48] Compiling ArgumentParser Errors.swift
[15/51] Compiling ArgumentParser BashCompletionsGenerator.swift
[16/51] Compiling ArgumentParser CompletionsGenerator.swift
[17/51] Compiling ArgumentParser FishCompletionsGenerator.swift
[18/51] Compiling ArgumentParser ZshCompletionsGenerator.swift
[19/51] Compiling ArgumentParser Flag.swift
[20/51] Compiling ArgumentParser NameSpecification.swift
[21/51] Compiling ArgumentParser Option.swift
[22/51] Compiling ArgumentParser OptionGroup.swift
[23/51] Compiling ArgumentParser Parsed.swift
[24/51] Compiling ArgumentParser ParsedValues.swift
[25/51] Compiling ArgumentParser ParserError.swift
[26/51] Compiling ArgumentParser SplitArguments.swift
[27/51] Emitting module ArgumentParser
[28/51] Compiling ArgumentParser ParsableArgumentsValidation.swift
[29/51] Compiling ArgumentParser ParsableCommand.swift
[30/51] Compiling ArgumentParser ArgumentDecoder.swift
[31/51] Compiling ArgumentParser ArgumentDefinition.swift
[32/51] Compiling ArgumentParser ArgumentSet.swift
[33/51] Compiling ArgumentParser CommandParser.swift
[34/51] Compiling ArgumentParser InputOrigin.swift
[35/51] Compiling ArgumentParser Name.swift
[36/51] Compiling ArgumentParser SequenceExtensions.swift
[37/51] Compiling ArgumentParser StringExtensions.swift
[38/51] Compiling ArgumentParser Tree.swift
[39/51] Compiling ArgumentParser MessageInfo.swift
[40/51] Compiling ArgumentParser UsageGenerator.swift
[41/51] Compiling ArgumentParser CollectionExtensions.swift
[42/51] Compiling ArgumentParser CommandConfiguration.swift
[43/51] Compiling ArgumentParser EnumerableFlag.swift
[44/51] Compiling ArgumentParser ExpressibleByArgument.swift
[45/51] Compiling ArgumentParser ParsableArguments.swift
[46/51] Compiling ArgumentParser DumpHelpGenerator.swift
[47/51] Compiling ArgumentParser HelpCommand.swift
[48/51] Compiling ArgumentParser HelpGenerator.swift
[49/53] Emitting module OutputUhooi
/Users/admin/builder/spi-builder-workspace/Sources/OutputUhooi/main.swift:6: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
 4 | struct Uhooi: ParsableCommand {
 5 |
 6 |     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
 7 |         abstract: "Uhooi speak the phrase.",
 8 |         version: "0.2.0"
[50/53] Compiling OutputUhooi main.swift
/Users/admin/builder/spi-builder-workspace/Sources/OutputUhooi/main.swift:6: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
 4 | struct Uhooi: ParsableCommand {
 5 |
 6 |     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
 7 |         abstract: "Uhooi speak the phrase.",
 8 |         version: "0.2.0"
[50/53] Write Objects.LinkFileList
[51/53] Linking uhooi
[52/53] Applying uhooi
Build complete! (9.52s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "OutputUhooi",
  "name" : "OutputUhooi",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "uhooi",
      "targets" : [
        "OutputUhooi"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OutputUhooiTests",
      "module_type" : "SwiftTarget",
      "name" : "OutputUhooiTests",
      "path" : "Tests/OutputUhooiTests",
      "sources" : [
        "OutputUhooiTests.swift"
      ],
      "target_dependencies" : [
        "OutputUhooi"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OutputUhooiCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "OutputUhooiCoreTests",
      "path" : "Tests/OutputUhooiCoreTests",
      "sources" : [
        "TextBuilderTests.swift"
      ],
      "target_dependencies" : [
        "OutputUhooiCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OutputUhooiCore",
      "module_type" : "SwiftTarget",
      "name" : "OutputUhooiCore",
      "path" : "Sources/OutputUhooiCore",
      "product_memberships" : [
        "uhooi"
      ],
      "sources" : [
        "TextBuilder.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "OutputUhooi",
      "module_type" : "SwiftTarget",
      "name" : "OutputUhooi",
      "path" : "Sources/OutputUhooi",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "uhooi"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "OutputUhooiCore"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.5"
}
Done.