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 ChattyCLI, reference v1.0.5 (8d54f9), with Swift 6.0 (beta) for macOS (SPM) on 14 Sep 2024 06:21:03 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/polpielladev/chatty-cli.git
Reference: v1.0.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/polpielladev/chatty-cli
 * tag               v1.0.5     -> FETCH_HEAD
HEAD is now at 8d54f97 Adds `MIT` license
Cloned https://github.com/polpielladev/chatty-cli.git
Revision (git rev-parse @):
8d54f975c430e2129481c99f2ff876837f6d688d
SUCCESS checkout https://github.com/polpielladev/chatty-cli.git at v1.0.5
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/polpielladev/chatty-cli.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/13] Write sources
[6/13] Write chatty-entitlement.plist
[6/13] Write sources
[9/13] Write swift-version-117DEE11B69C53C9.txt
[11/29] Emitting module ArgumentParserToolInfo
[12/29] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/67] Compiling ArgumentParser Flag.swift
[14/67] Compiling ArgumentParser NameSpecification.swift
[15/67] Compiling ArgumentParser Option.swift
[16/67] Compiling ArgumentParser OptionGroup.swift
[17/71] Compiling ArgumentParser BashCompletionsGenerator.swift
[18/71] Compiling ArgumentParser CompletionsGenerator.swift
[19/71] Compiling ArgumentParser FishCompletionsGenerator.swift
[20/71] Compiling ArgumentParser ZshCompletionsGenerator.swift
[21/71] Compiling ArgumentParser Argument.swift
[22/71] Compiling ANSITerminal ANSITerminal.swift
[23/71] Compiling ANSITerminal ansiKeyboard.swift
[24/71] Compiling ANSITerminal ansiScreen.swift
[25/71] Emitting module ArgumentParser
[26/71] Compiling ArgumentParser Platform.swift
[27/71] Compiling ArgumentParser SequenceExtensions.swift
[28/71] Compiling ArgumentParser StringExtensions.swift
[29/71] Compiling ArgumentParser Tree.swift
[30/71] Emitting module ANSITerminal
[31/71] Compiling ANSITerminal ansiAttribute.swift
[32/71] Compiling ArgumentParser ParsableArguments.swift
[33/71] Compiling ArgumentParser ParsableArgumentsValidation.swift
[34/71] Compiling ArgumentParser ParsableCommand.swift
[35/71] Compiling ArgumentParser ArgumentDecoder.swift
[36/71] Compiling ArgumentParser ArgumentHelp.swift
[37/71] Compiling ArgumentParser ArgumentVisibility.swift
[38/71] Compiling ArgumentParser CompletionKind.swift
[39/71] Compiling ArgumentParser Errors.swift
[40/71] Compiling ArgumentParser InputOrigin.swift
[41/71] Compiling ArgumentParser Name.swift
[42/71] Compiling ArgumentParser Parsed.swift
[43/71] Compiling ArgumentParser ParsedValues.swift
[44/71] Compiling ArgumentParser ArgumentDefinition.swift
[45/71] Compiling ArgumentParser ArgumentSet.swift
[46/71] Compiling ArgumentParser CommandParser.swift
[47/71] Compiling ArgumentParser InputKey.swift
[48/78] Compiling Clack ANSIChar.swift
[49/78] Compiling Clack Text.swift
[50/78] Compiling OpenAIStreamingCompletions OpenAI.swift
[51/78] Compiling OpenAIStreamingCompletions OpenAI+ChatCompletion.swift
[52/78] Compiling OpenAIStreamingCompletions Event.swift
[53/78] Compiling OpenAIStreamingCompletions EventSource.swift
[54/78] Compiling OpenAIStreamingCompletions EventStreamParser.swift
[55/78] Compiling OpenAIStreamingCompletions OpenAI+TextCompletion.swift
[56/78] Emitting module OpenAIStreamingCompletions
[57/78] Compiling ArgumentParser AsyncParsableCommand.swift
[58/78] Compiling ArgumentParser CommandConfiguration.swift
[59/78] Compiling ArgumentParser EnumerableFlag.swift
[60/78] Compiling ArgumentParser ExpressibleByArgument.swift
[61/78] Compiling ArgumentParser ParserError.swift
[62/78] Compiling ArgumentParser SplitArguments.swift
[63/78] Compiling ArgumentParser DumpHelpGenerator.swift
[64/78] Compiling ArgumentParser HelpCommand.swift
[65/78] Compiling ArgumentParser HelpGenerator.swift
[66/78] Compiling ArgumentParser MessageInfo.swift
[67/78] Compiling ArgumentParser UsageGenerator.swift
[68/78] Compiling ArgumentParser CollectionExtensions.swift
[69/78] Compiling Clack Clack.swift
[70/78] Compiling Clack Intro.swift
[71/78] Compiling Clack Outro.swift
[72/78] Emitting module Clack
[73/78] Compiling Clack HeadlessUserInput.swift
[74/78] Compiling KeychainAccess Keychain.swift
[75/78] Emitting module KeychainAccess
[76/82] Compiling ChattyCLI Auth.swift
[77/82] Compiling ChattyCLI ChattyCLI.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChattyCLI/ChattyCLI.swift:5: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
 3 | @main
 4 | struct ChattyCLI: AsyncParsableCommand {
 5 |     static var configuration: CommandConfiguration = 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
 6 |         commandName: "chatty",
 7 |         subcommands: [Auth.self, Chat.self],
[78/82] Compiling ChattyCLI Chat.swift
[79/82] Emitting module ChattyCLI
/Users/admin/builder/spi-builder-workspace/Sources/ChattyCLI/ChattyCLI.swift:5: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
 3 | @main
 4 | struct ChattyCLI: AsyncParsableCommand {
 5 |     static var configuration: CommandConfiguration = 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
 6 |         commandName: "chatty",
 7 |         subcommands: [Auth.self, Chat.self],
[79/82] Write Objects.LinkFileList
[80/82] Linking chatty
[81/82] Applying chatty
Build complete! (24.27s)
Fetching https://github.com/polpielladev/clack-swift
[1/94] Fetching clack-swift
Fetched https://github.com/polpielladev/clack-swift from cache (0.67s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/kishikawakatsumi/KeychainAccess
Fetching https://github.com/nate-parrott/openai-streaming-completions-swift.git
Fetching https://github.com/pakLebah/ANSITerminal.git
[1/90] Fetching ansiterminal
[22/246] Fetching ansiterminal, openai-streaming-completions-swift
[180/4636] Fetching ansiterminal, openai-streaming-completions-swift, keychainaccess
[771/16794] Fetching ansiterminal, openai-streaming-completions-swift, keychainaccess, swift-argument-parser
Fetched https://github.com/pakLebah/ANSITerminal.git from cache (1.62s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.62s)
Fetched https://github.com/kishikawakatsumi/KeychainAccess from cache (1.62s)
Fetched https://github.com/nate-parrott/openai-streaming-completions-swift.git from cache (1.62s)
Computing version for https://github.com/pakLebah/ANSITerminal.git
Computed https://github.com/pakLebah/ANSITerminal.git at 0.0.3 (0.65s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (0.67s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.2 (0.69s)
Computing version for https://github.com/nate-parrott/openai-streaming-completions-swift.git
Computed https://github.com/nate-parrott/openai-streaming-completions-swift.git at 1.0.1 (0.65s)
Creating working copy for https://github.com/polpielladev/clack-swift
Working copy of https://github.com/polpielladev/clack-swift resolved at 0d95ad488a21047dc36a9c0ac7f54338ce0c88ca
Creating working copy for https://github.com/pakLebah/ANSITerminal.git
Working copy of https://github.com/pakLebah/ANSITerminal.git resolved at 0.0.3
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess
Working copy of https://github.com/kishikawakatsumi/KeychainAccess resolved at 4.2.2
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.2.2
Creating working copy for https://github.com/nate-parrott/openai-streaming-completions-swift.git
Working copy of https://github.com/nate-parrott/openai-streaming-completions-swift.git resolved at 1.0.1
Build complete.
{
  "dependencies" : [
    {
      "identity" : "openai-streaming-completions-swift",
      "requirement" : {
        "exact" : [
          "1.0.1"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nate-parrott/openai-streaming-completions-swift.git"
    },
    {
      "identity" : "ansiterminal",
      "requirement" : {
        "exact" : [
          "0.0.3"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pakLebah/ANSITerminal.git"
    },
    {
      "identity" : "clack-swift",
      "requirement" : {
        "revision" : [
          "0d95ad488a21047dc36a9c0ac7f54338ce0c88ca"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/polpielladev/clack-swift"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "exact" : [
          "1.2.2"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "keychainaccess",
      "requirement" : {
        "exact" : [
          "4.2.2"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kishikawakatsumi/KeychainAccess"
    }
  ],
  "manifest_display_name" : "ChattyCLI",
  "name" : "ChattyCLI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "chatty",
      "targets" : [
        "ChattyCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ChattyCLI",
      "module_type" : "SwiftTarget",
      "name" : "ChattyCLI",
      "path" : "Sources/ChattyCLI",
      "product_dependencies" : [
        "OpenAIStreamingCompletions",
        "ANSITerminal",
        "Clack",
        "ArgumentParser",
        "KeychainAccess"
      ],
      "product_memberships" : [
        "chatty"
      ],
      "sources" : [
        "ChattyCLI.swift",
        "Commands/Auth.swift",
        "Commands/Chat.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.7"
}
Done.