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 5.9 for tvOS using Xcode 15.2 on 8 Sep 2024 19:44:38 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ChattyCLI -destination generic/platform=tvOS

Build Log

========================================
RunAll
========================================
Builder version: 4.52.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:         tvOS
Swift version:             5.9
Building package at path:  $PWD
https://github.com/polpielladev/chatty-cli.git
Command line invocation:
    /Applications/Xcode-15.2.0.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/apple/swift-argument-parser.git
Fetching from https://github.com/pakLebah/ANSITerminal.git
Fetching from https://github.com/kishikawakatsumi/KeychainAccess
Fetching from https://github.com/nate-parrott/openai-streaming-completions-swift.git
Creating working copy of package ‘ANSITerminal’
Checking out 0.0.3 of package ‘ANSITerminal’
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 ‘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’
Resolve Package Graph
Resolved source packages:
  swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.2.2
  ChattyCLI: /Users/admin/builder/spi-builder-workspace
  OpenAIStreamingCompletions: https://github.com/nate-parrott/openai-streaming-completions-swift.git @ 1.0.1
  Clack: https://github.com/polpielladev/clack-swift @ 0d95ad4
  KeychainAccess: https://github.com/kishikawakatsumi/KeychainAccess @ 4.2.2
  ANSITerminal: https://github.com/pakLebah/ANSITerminal.git @ 0.0.3
resolved source packages: swift-argument-parser, ChattyCLI, OpenAIStreamingCompletions, Clack, KeychainAccess, ANSITerminal
{
  "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-15.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ChattyCLI -destination generic/platform=tvOS
Command line invocation:
    /Applications/Xcode-15.2.0.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=tvOS
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.2.2
  ANSITerminal: https://github.com/pakLebah/ANSITerminal.git @ 0.0.3
  KeychainAccess: https://github.com/kishikawakatsumi/KeychainAccess @ 4.2.2
  Clack: https://github.com/polpielladev/clack-swift @ 0d95ad4
  ChattyCLI: /Users/admin/builder/spi-builder-workspace
  OpenAIStreamingCompletions: https://github.com/nate-parrott/openai-streaming-completions-swift.git @ 1.0.1
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
Build description signature: 242ef32f52b91e192d27f662a5880c8f
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/242ef32f52b91e192d27f662a5880c8f.xcbuilddata
error: The package product 'OpenAIStreamingCompletions' requires minimum platform version 13.0 for the tvOS platform, but this target supports 12.0 (in target 'chatty' from project 'ChattyCLI')
Resolve Package Graph
** BUILD FAILED **
Command line invocation:
    /Applications/Xcode-15.2.0.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=tvOS
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
  ANSITerminal: https://github.com/pakLebah/ANSITerminal.git @ 0.0.3
  KeychainAccess: https://github.com/kishikawakatsumi/KeychainAccess @ 4.2.2
  swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.2.2
  ChattyCLI: /Users/admin/builder/spi-builder-workspace
  Clack: https://github.com/polpielladev/clack-swift @ 0d95ad4
  OpenAIStreamingCompletions: https://github.com/nate-parrott/openai-streaming-completions-swift.git @ 1.0.1
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
Build description signature: 242ef32f52b91e192d27f662a5880c8f
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/242ef32f52b91e192d27f662a5880c8f.xcbuilddata
error: The package product 'OpenAIStreamingCompletions' requires minimum platform version 13.0 for the tvOS platform, but this target supports 12.0 (in target 'chatty' from project 'ChattyCLI')
** BUILD FAILED **
BUILD FAILURE 5.9 tvOS