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 main (10ee51), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 11:11:10 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/polpielladev/chatty-cli.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/polpielladev/chatty-cli
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 10ee517 Changes workflow to manual
Cloned https://github.com/polpielladev/chatty-cli.git
Revision (git rev-parse @):
10ee517d263c86b81360504efacc6e4bae01289d
SUCCESS checkout https://github.com/polpielladev/chatty-cli.git at main
Fetching https://github.com/polpielladev/clack-swift
[1/94] Fetching clack-swift
Fetched https://github.com/polpielladev/clack-swift from cache (0.58s)
Fetching https://github.com/pakLebah/ANSITerminal.git
Fetching https://github.com/kishikawakatsumi/KeychainAccess
Fetching https://github.com/nate-parrott/openai-streaming-completions-swift.git
Fetching https://github.com/apple/swift-argument-parser.git from cache
[1/156] Fetching openai-streaming-completions-swift
[156/250] Fetching openai-streaming-completions-swift, ansiterminal
[176/4636] Fetching openai-streaming-completions-swift, ansiterminal, keychainaccess
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.72s)
Fetched https://github.com/kishikawakatsumi/KeychainAccess from cache (1.30s)
Fetched https://github.com/pakLebah/ANSITerminal.git from cache (1.30s)
Fetched https://github.com/nate-parrott/openai-streaming-completions-swift.git from cache (1.30s)
Computing version for https://github.com/pakLebah/ANSITerminal.git
Computed https://github.com/pakLebah/ANSITerminal.git at 0.0.3 (1.87s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (0.58s)
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.62s)
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.58s)
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/polpielladev/clack-swift
Working copy of https://github.com/polpielladev/clack-swift resolved at 0d95ad488a21047dc36a9c0ac7f54338ce0c88ca
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
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/pakLebah/ANSITerminal.git
Working copy of https://github.com/pakLebah/ANSITerminal.git resolved at 0.0.3
========================================
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": "chatty-cli",
      "name": "ChattyCLI",
      "url": "https://github.com/polpielladev/chatty-cli.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/chatty-cli",
      "dependencies": [
        {
          "identity": "openai-streaming-completions-swift",
          "name": "OpenAIStreamingCompletions",
          "url": "https://github.com/nate-parrott/openai-streaming-completions-swift.git",
          "version": "1.0.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/openai-streaming-completions-swift",
          "dependencies": [
          ]
        },
        {
          "identity": "ansiterminal",
          "name": "ANSITerminal",
          "url": "https://github.com/pakLebah/ANSITerminal.git",
          "version": "0.0.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ANSITerminal",
          "dependencies": [
          ]
        },
        {
          "identity": "clack-swift",
          "name": "Clack",
          "url": "https://github.com/polpielladev/clack-swift",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/clack-swift",
          "dependencies": [
            {
              "identity": "ansiterminal",
              "name": "ANSITerminal",
              "url": "https://github.com/pakLebah/ANSITerminal.git",
              "version": "0.0.3",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ANSITerminal",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser.git",
          "version": "1.2.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        },
        {
          "identity": "keychainaccess",
          "name": "KeychainAccess",
          "url": "https://github.com/kishikawakatsumi/KeychainAccess",
          "version": "4.2.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/KeychainAccess",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/polpielladev/chatty-cli.git
[1/113] Fetching chatty-cli
Fetched https://github.com/polpielladev/chatty-cli.git from cache (0.65s)
Fetching https://github.com/polpielladev/clack-swift from cache
Fetched https://github.com/polpielladev/clack-swift from cache (0.41s)
Fetching https://github.com/pakLebah/ANSITerminal.git from cache
Fetching https://github.com/kishikawakatsumi/KeychainAccess from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetching https://github.com/nate-parrott/openai-streaming-completions-swift.git from cache
Fetched https://github.com/kishikawakatsumi/KeychainAccess from cache (0.56s)
Fetched https://github.com/pakLebah/ANSITerminal.git from cache (0.56s)
Fetched https://github.com/nate-parrott/openai-streaming-completions-swift.git from cache (0.56s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.56s)
Computing version for https://github.com/pakLebah/ANSITerminal.git
Computed https://github.com/pakLebah/ANSITerminal.git at 0.0.3 (0.61s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (0.04s)
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.04s)
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.03s)
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/polpielladev/clack-swift
Working copy of https://github.com/polpielladev/clack-swift resolved at 0d95ad488a21047dc36a9c0ac7f54338ce0c88ca
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
Creating working copy for https://github.com/polpielladev/chatty-cli.git
Working copy of https://github.com/polpielladev/chatty-cli.git resolved at main (10ee517)
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
Found 5 product dependencies
  - OpenAIStreamingCompletions
  - ANSITerminal
  - Clack
  - swift-argument-parser
  - KeychainAccess
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/polpielladev/chatty-cli.git
https://github.com/polpielladev/chatty-cli.git
{
  "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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/13] Write sources
[2/13] Write chatty-entitlement.plist
[2/13] Write sources
[9/13] Write swift-version-2F0A5646E1D333AE.txt
[11/29] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/29] Emitting module ArgumentParserToolInfo
[13/67] Compiling ANSITerminal ansiKeyboard.swift
[14/67] Compiling ANSITerminal ansiAttribute.swift
[15/67] Compiling ANSITerminal ansiScreen.swift
[16/67] Emitting module ANSITerminal
[17/67] Compiling ANSITerminal ANSITerminal.swift
[18/74] Compiling Clack Outro.swift
[19/74] Compiling ArgumentParser AsyncParsableCommand.swift
[20/74] Compiling ArgumentParser CommandConfiguration.swift
[21/74] Compiling ArgumentParser EnumerableFlag.swift
[22/74] Compiling ArgumentParser ExpressibleByArgument.swift
[23/74] Compiling ArgumentParser InputOrigin.swift
[24/74] Compiling ArgumentParser Name.swift
[25/74] Compiling ArgumentParser Parsed.swift
[26/74] Compiling ArgumentParser ParsedValues.swift
[27/78] Emitting module ArgumentParser
[28/78] Compiling ArgumentParser ParsableArguments.swift
[29/78] Compiling ArgumentParser ParsableArgumentsValidation.swift
[30/78] Compiling ArgumentParser ParsableCommand.swift
[31/78] Compiling ArgumentParser ArgumentDecoder.swift
[32/78] Compiling ArgumentParser Platform.swift
[33/78] Compiling ArgumentParser SequenceExtensions.swift
[34/78] Compiling ArgumentParser StringExtensions.swift
[35/78] Compiling ArgumentParser Tree.swift
[36/78] Compiling ArgumentParser BashCompletionsGenerator.swift
[37/78] Compiling ArgumentParser CompletionsGenerator.swift
[38/78] Compiling ArgumentParser FishCompletionsGenerator.swift
[39/78] Compiling ArgumentParser ZshCompletionsGenerator.swift
[40/78] Compiling ArgumentParser Argument.swift
[41/78] Compiling ArgumentParser ArgumentDefinition.swift
[42/78] Compiling ArgumentParser ArgumentSet.swift
[43/78] Compiling ArgumentParser CommandParser.swift
[44/78] Compiling ArgumentParser InputKey.swift
[45/78] Compiling OpenAIStreamingCompletions OpenAI.swift
[46/78] Compiling Clack ANSIChar.swift
[47/78] Compiling Clack Clack.swift
[48/78] Compiling Clack Intro.swift
[49/78] Compiling Clack Text.swift
[50/78] Emitting module Clack
[51/78] Compiling Clack HeadlessUserInput.swift
[52/78] Compiling OpenAIStreamingCompletions OpenAI+TextCompletion.swift
[53/78] Emitting module OpenAIStreamingCompletions
[54/78] Compiling OpenAIStreamingCompletions EventSource.swift
[55/78] Compiling OpenAIStreamingCompletions EventStreamParser.swift
[56/78] Compiling OpenAIStreamingCompletions OpenAI+ChatCompletion.swift
[57/78] Compiling OpenAIStreamingCompletions Event.swift
[58/78] Compiling ArgumentParser ArgumentHelp.swift
[59/78] Compiling ArgumentParser ArgumentVisibility.swift
[60/78] Compiling ArgumentParser CompletionKind.swift
[61/78] Compiling ArgumentParser Errors.swift
[62/78] Compiling ArgumentParser ParserError.swift
[63/78] Compiling ArgumentParser SplitArguments.swift
[64/78] Compiling ArgumentParser DumpHelpGenerator.swift
[65/78] Compiling ArgumentParser HelpCommand.swift
[66/78] Compiling ArgumentParser Flag.swift
[67/78] Compiling ArgumentParser NameSpecification.swift
[68/78] Compiling ArgumentParser Option.swift
[69/78] Compiling ArgumentParser OptionGroup.swift
[70/78] Compiling ArgumentParser HelpGenerator.swift
[71/78] Compiling ArgumentParser MessageInfo.swift
[72/78] Compiling ArgumentParser UsageGenerator.swift
[73/78] Compiling ArgumentParser CollectionExtensions.swift
[74/78] Compiling KeychainAccess Keychain.swift
[75/78] Emitting module KeychainAccess
[76/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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |         commandName: "chatty",
 7 |         subcommands: [Auth.self, Chat.self],
[77/82] Compiling ChattyCLI Auth.swift
[78/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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                `- 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] Compiling ChattyCLI Chat.swift
[79/82] Write Objects.LinkFileList
[80/82] Linking chatty
[81/82] Applying chatty
Build complete! (8.56s)
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.