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

Failed to build ChattyCLI, reference main (894f92), with Swift 6.0 (beta) for iOS using Xcode 16.0 on 14 Sep 2024 06:21:29 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ChattyCLI -destination generic/platform=iOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -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: 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 894f922 Trigger push
Cloned https://github.com/polpielladev/chatty-cli.git
Revision (git rev-parse @):
894f9225691d7bf764e1a9bd30b4687baef49b17
SUCCESS checkout https://github.com/polpielladev/chatty-cli.git at main
========================================
Build
========================================
Selected platform:         iOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/polpielladev/chatty-cli.git
Command line invocation:
    /Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Fetching from https://github.com/polpielladev/clack-swift
Fetching from https://github.com/nate-parrott/openai-streaming-completions-swift.git
Fetching from https://github.com/kishikawakatsumi/KeychainAccess
Fetching from https://github.com/apple/swift-argument-parser.git
Fetching from https://github.com/pakLebah/ANSITerminal.git
Creating working copy of package ‘KeychainAccess’
Checking out 4.2.2 of package ‘KeychainAccess’
Creating working copy of package ‘swift-argument-parser’
Checking out 1.2.2 of package ‘swift-argument-parser’
Creating working copy of package ‘clack-swift’
Checking out 0d95ad488a21047dc36a9c0ac7f54338ce0c88ca of package ‘clack-swift’
Creating working copy of package ‘openai-streaming-completions-swift’
Checking out 1.0.1 of package ‘openai-streaming-completions-swift’
Creating working copy of package ‘ANSITerminal’
Checking out 0.0.3 of package ‘ANSITerminal’
Resolve Package Graph
Resolved source packages:
  KeychainAccess: https://github.com/kishikawakatsumi/KeychainAccess @ 4.2.2
  swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.2.2
  Clack: https://github.com/polpielladev/clack-swift @ 0d95ad4
  ANSITerminal: https://github.com/pakLebah/ANSITerminal.git @ 0.0.3
  ChattyCLI: /Users/admin/builder/spi-builder-workspace
  OpenAIStreamingCompletions: https://github.com/nate-parrott/openai-streaming-completions-swift.git @ 1.0.1
resolved source packages: KeychainAccess, swift-argument-parser, Clack, ANSITerminal, ChattyCLI, OpenAIStreamingCompletions
{
  "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"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "ChattyCLI"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ChattyCLI -destination generic/platform=iOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Command line invocation:
    /Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme ChattyCLI -destination generic/platform=iOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
    OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.2.2
  KeychainAccess: https://github.com/kishikawakatsumi/KeychainAccess @ 4.2.2
  ChattyCLI: /Users/admin/builder/spi-builder-workspace
  ANSITerminal: https://github.com/pakLebah/ANSITerminal.git @ 0.0.3
  OpenAIStreamingCompletions: https://github.com/nate-parrott/openai-streaming-completions-swift.git @ 1.0.1
  Clack: https://github.com/polpielladev/clack-swift @ 0d95ad4
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (12 targets)
    Target 'chatty' in project 'ChattyCLI'
        ➜ Explicit dependency on target 'OpenAIStreamingCompletions' in project 'OpenAIStreamingCompletions'
        ➜ Explicit dependency on target 'ANSITerminal' in project 'ANSITerminal'
        ➜ Explicit dependency on target 'Clack' in project 'Clack'
        ➜ Explicit dependency on target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'KeychainAccess' in project 'KeychainAccess'
    Target 'KeychainAccess' in project 'KeychainAccess'
        ➜ Explicit dependency on target 'KeychainAccess' in project 'KeychainAccess'
    Target 'KeychainAccess' in project 'KeychainAccess' (no dependencies)
    Target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'ArgumentParserToolInfo' in project 'swift-argument-parser'
    Target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'ArgumentParserToolInfo' in project 'swift-argument-parser'
    Target 'ArgumentParserToolInfo' in project 'swift-argument-parser' (no dependencies)
    Target 'Clack' in project 'Clack'
        ➜ Explicit dependency on target 'Clack' in project 'Clack'
        ➜ Explicit dependency on target 'ANSITerminal' in project 'ANSITerminal'
    Target 'Clack' in project 'Clack'
        ➜ Explicit dependency on target 'ANSITerminal' in project 'ANSITerminal'
    Target 'ANSITerminal' in project 'ANSITerminal'
        ➜ Explicit dependency on target 'ANSITerminal' in project 'ANSITerminal'
    Target 'ANSITerminal' in project 'ANSITerminal' (no dependencies)
    Target 'OpenAIStreamingCompletions' in project 'OpenAIStreamingCompletions'
        ➜ Explicit dependency on target 'OpenAIStreamingCompletions' in project 'OpenAIStreamingCompletions'
    Target 'OpenAIStreamingCompletions' in project 'OpenAIStreamingCompletions' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ReadFileContents /Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
Build description signature: a565e47f909746f4e2f193f2fb3dd848
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/a565e47f909746f4e2f193f2fb3dd848.xcbuilddata
error: The package product 'OpenAIStreamingCompletions' requires minimum platform version 13.0 for the iOS platform, but this target supports 12.0 (in target 'chatty' from project 'ChattyCLI')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme ChattyCLI
(1 failure)
Command line invocation:
    /Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme ChattyCLI -destination generic/platform=iOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
    OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
Resolve Package Graph
Resolved source packages:
  Clack: https://github.com/polpielladev/clack-swift @ 0d95ad4
  KeychainAccess: https://github.com/kishikawakatsumi/KeychainAccess @ 4.2.2
  ChattyCLI: /Users/admin/builder/spi-builder-workspace
  swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.2.2
  OpenAIStreamingCompletions: https://github.com/nate-parrott/openai-streaming-completions-swift.git @ 1.0.1
  ANSITerminal: https://github.com/pakLebah/ANSITerminal.git @ 0.0.3
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (12 targets)
    Target 'chatty' in project 'ChattyCLI'
        ➜ Explicit dependency on target 'OpenAIStreamingCompletions' in project 'OpenAIStreamingCompletions'
        ➜ Explicit dependency on target 'ANSITerminal' in project 'ANSITerminal'
        ➜ Explicit dependency on target 'Clack' in project 'Clack'
        ➜ Explicit dependency on target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'KeychainAccess' in project 'KeychainAccess'
    Target 'KeychainAccess' in project 'KeychainAccess'
        ➜ Explicit dependency on target 'KeychainAccess' in project 'KeychainAccess'
    Target 'KeychainAccess' in project 'KeychainAccess' (no dependencies)
    Target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'ArgumentParserToolInfo' in project 'swift-argument-parser'
    Target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'ArgumentParserToolInfo' in project 'swift-argument-parser'
    Target 'ArgumentParserToolInfo' in project 'swift-argument-parser' (no dependencies)
    Target 'Clack' in project 'Clack'
        ➜ Explicit dependency on target 'Clack' in project 'Clack'
        ➜ Explicit dependency on target 'ANSITerminal' in project 'ANSITerminal'
    Target 'Clack' in project 'Clack'
        ➜ Explicit dependency on target 'ANSITerminal' in project 'ANSITerminal'
    Target 'ANSITerminal' in project 'ANSITerminal'
        ➜ Explicit dependency on target 'ANSITerminal' in project 'ANSITerminal'
    Target 'ANSITerminal' in project 'ANSITerminal' (no dependencies)
    Target 'OpenAIStreamingCompletions' in project 'OpenAIStreamingCompletions'
        ➜ Explicit dependency on target 'OpenAIStreamingCompletions' in project 'OpenAIStreamingCompletions'
    Target 'OpenAIStreamingCompletions' in project 'OpenAIStreamingCompletions' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
error: The package product 'OpenAIStreamingCompletions' requires minimum platform version 13.0 for the iOS platform, but this target supports 12.0 (in target 'chatty' from project 'ChattyCLI')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme ChattyCLI
(1 failure)
BUILD FAILURE 6.0 iOS