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 LLamaSwift, reference 0.1.3 (887a13), with Swift 5.10 for watchOS using Xcode 15.4 on 15 Oct 2024 17:31:29 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/srgtuszy/llama-cpp-swift.git
Reference: 0.1.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/srgtuszy/llama-cpp-swift
 * tag               0.1.3      -> FETCH_HEAD
HEAD is now at 887a132 Removed custom derived data path from `xcodebuild` invocations
Cloned https://github.com/srgtuszy/llama-cpp-swift.git
Revision (git rev-parse @):
887a132c8746ae650e0c547d4a8efab0b5a3e010
SUCCESS checkout https://github.com/srgtuszy/llama-cpp-swift.git at 0.1.3
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             5.10
Building package at path:  $PWD
https://github.com/srgtuszy/llama-cpp-swift.git
Command line invocation:
    /Applications/Xcode-15.4.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/ggerganov/llama.cpp
Fetching from https://github.com/apple/swift-log.git
Creating working copy of package ‘cpp’
Checking out master (a89f75e) of package ‘cpp’
Creating working copy of package ‘swift-log’
Checking out 1.6.1 of package ‘swift-log’
Resolved source packages:
  LLamaSwift: /Users/admin/builder/spi-builder-workspace
  llama: https://github.com/ggerganov/llama.cpp @ master (a89f75e)
  swift-log: https://github.com/apple/swift-log.git @ 1.6.1
resolved source packages: LLamaSwift, llama, swift-log
{
  "dependencies" : [
    {
      "identity" : "llama.cpp",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ggerganov/llama.cpp"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "LLamaSwift",
  "name" : "LLamaSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "LLamaSwift",
      "targets" : [
        "LLamaSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "llama_cpp_swiftTests",
      "module_type" : "SwiftTarget",
      "name" : "llama-cpp-swiftTests",
      "path" : "Tests/llama-cpp-swiftTests",
      "sources" : [
        "llama_cpp_swiftTests.swift"
      ],
      "target_dependencies" : [
        "LLamaSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LLamaSwift",
      "module_type" : "SwiftTarget",
      "name" : "LLamaSwift",
      "path" : "Sources",
      "product_dependencies" : [
        "llama",
        "Logging"
      ],
      "product_memberships" : [
        "LLamaSwift"
      ],
      "sources" : [
        "llama-cpp-swift/InferError.swift",
        "llama-cpp-swift/InitializationError.swift",
        "llama-cpp-swift/LLama.swift",
        "llama-cpp-swift/Logger+LLama.swift",
        "llama-cpp-swift/Model.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "LLamaSwift"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme LLamaSwift -destination generic/platform=watchOS
Command line invocation:
    /Applications/Xcode-15.4.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 LLamaSwift -destination generic/platform=watchOS
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:
  LLamaSwift: /Users/admin/builder/spi-builder-workspace
  swift-log: https://github.com/apple/swift-log.git @ 1.6.1
  llama: https://github.com/ggerganov/llama.cpp @ master (a89f75e)
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (7 targets)
    Target 'LLamaSwift' in project 'LLamaSwift'
        ➜ Explicit dependency on target 'LLamaSwift' in project 'LLamaSwift'
        ➜ Explicit dependency on target 'llama' in project 'llama'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
    Target 'LLamaSwift' in project 'LLamaSwift'
        ➜ Explicit dependency on target 'llama' in project 'llama'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
    Target 'Logging' in project 'swift-log'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
    Target 'Logging' in project 'swift-log' (no dependencies)
    Target 'llama' in project 'llama'
        ➜ Explicit dependency on target 'llama' in project 'llama'
        ➜ Explicit dependency on target 'llama_llama' in project 'llama'
    Target 'llama' in project 'llama'
        ➜ Explicit dependency on target 'llama_llama' in project 'llama'
    Target 'llama_llama' in project 'llama' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -v
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x objective-c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x c++ -c /dev/null
ExecuteExternalTool /bin/cat /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x objective-c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x c++ -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x objective-c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x c++ -c /dev/null
Build description signature: eacb5f2d164789489a7cd6b6e1ff3155
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/eacb5f2d164789489a7cd6b6e1ff3155.xcbuilddata
error: The package product 'Logging' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'LLamaSwift' from project 'LLamaSwift')
** BUILD FAILED **
Command line invocation:
    /Applications/Xcode-15.4.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 LLamaSwift -destination generic/platform=watchOS
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:
  swift-log: https://github.com/apple/swift-log.git @ 1.6.1
  llama: https://github.com/ggerganov/llama.cpp @ master (a89f75e)
  LLamaSwift: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (7 targets)
    Target 'LLamaSwift' in project 'LLamaSwift'
        ➜ Explicit dependency on target 'LLamaSwift' in project 'LLamaSwift'
        ➜ Explicit dependency on target 'llama' in project 'llama'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
    Target 'LLamaSwift' in project 'LLamaSwift'
        ➜ Explicit dependency on target 'llama' in project 'llama'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
    Target 'Logging' in project 'swift-log'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
    Target 'Logging' in project 'swift-log' (no dependencies)
    Target 'llama' in project 'llama'
        ➜ Explicit dependency on target 'llama' in project 'llama'
        ➜ Explicit dependency on target 'llama_llama' in project 'llama'
    Target 'llama' in project 'llama'
        ➜ Explicit dependency on target 'llama_llama' in project 'llama'
    Target 'llama_llama' in project 'llama' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x objective-c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -v
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x c -c /dev/null
ExecuteExternalTool /bin/cat /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x c++ -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x objective-c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x c++ -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x objective-c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x c++ -c /dev/null
Build description signature: eacb5f2d164789489a7cd6b6e1ff3155
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/eacb5f2d164789489a7cd6b6e1ff3155.xcbuilddata
error: The package product 'Logging' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'LLamaSwift' from project 'LLamaSwift')
** BUILD FAILED **
BUILD FAILURE 5.10 watchOS