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 ggml, reference master (7b08f4), with Swift 5.9 for iOS using Xcode 15.2 on 7 Mar 2025 23:25:28 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ggml-org/ggml.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ggml-org/ggml
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7b08f4c sync : llama.cpp
Submodule path 'src/ggml-kompute/kompute': checked out '4565194ed7c32d1d2efa32ceab4d3c6cae006306'
Submodule 'kompute' (https://github.com/nomic-ai/kompute.git) registered for path 'src/ggml-kompute/kompute'
Cloning into '/Users/admin/builder/spi-builder-workspace/src/ggml-kompute/kompute'...
Cloned https://github.com/ggml-org/ggml.git
Revision (git rev-parse @):
7b08f4cd9e32781e769a52cf0dcaeb2c556632c3
SUCCESS checkout https://github.com/ggml-org/ggml.git at master
========================================
Build
========================================
Selected platform:         iOS
Swift version:             5.9
Building package at path:  $PWD
https://github.com/ggml-org/ggml.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
Invalid Source '/Users/admin/builder/spi-builder-workspace/src/ggml-metal.m': File not found.Invalid Resource 'src/ggml-metal.metal': File not found.
Resolve Package Graph
Invalid Source '/Users/admin/builder/spi-builder-workspace/src/ggml-metal.m': File not found.Invalid Resource 'src/ggml-metal.metal': File not found.
Resolved source packages:
  ggml: /Users/admin/builder/spi-builder-workspace
resolved source packages: ggml
2025-03-07 18:25:17.284 xcodebuild[466:2521] [MT] DVTAssertions: Warning in IDEFrameworks/IDEFoundation/Execution/RunContextManager/IDERunContextManager.m:848
Details:  Error deleting scheme: Cannot modify data because the process disallows saving.
Object:   <IDERunContextManager: 0x60000293aeb0>
Method:   -deleteRunContexts:completionQueue:completionBlock:
Thread:   <_NSMainThread: 0x600000e14200>{number = 1, name = main}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
2025-03-07 18:25:17.285 xcodebuild[466:2521] could not delete old scheme: Error Domain=DVTCustomDataStoringErrors Code=0 "Cannot modify data because the process disallows saving." UserInfo={NSLocalizedDescription=Cannot modify data because the process disallows saving.}
{
  "cxx_language_standard" : "c++11",
  "dependencies" : [
  ],
  "manifest_display_name" : "ggml",
  "name" : "ggml",
  "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"
    }
  ],
  "products" : [
    {
      "name" : "ggml",
      "targets" : [
        "ggml"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ggml",
      "module_type" : "ClangTarget",
      "name" : "ggml",
      "path" : ".",
      "product_memberships" : [
        "ggml"
      ],
      "sources" : [
        "src/ggml-alloc.c",
        "src/ggml-backend.cpp",
        "src/ggml-quants.c",
        "src/ggml.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
warning: 'spi-builder-workspace': Invalid Source '/Users/admin/builder/spi-builder-workspace/src/ggml-metal.m': File not found.
warning: 'spi-builder-workspace': Invalid Resource 'src/ggml-metal.metal': File not found.
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "ggml"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ggml -destination generic/platform=iOS
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 ggml -destination generic/platform=iOS
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
Invalid Source '/Users/admin/builder/spi-builder-workspace/src/ggml-metal.m': File not found.Invalid Resource 'src/ggml-metal.metal': File not found.
Resolved source packages:
  ggml: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (3 targets)
    Target 'ggml' in project 'ggml'
        ➜ Explicit dependency on target 'ggml' in project 'ggml'
        ➜ Explicit dependency on target 'ggml_ggml' in project 'ggml'
    Target 'ggml' in project 'ggml'
        ➜ Explicit dependency on target 'ggml_ggml' in project 'ggml'
    Target 'ggml_ggml' in project 'ggml' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
Build description signature: 7198b9adf40fff75a7586c04af2ceb93
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/7198b9adf40fff75a7586c04af2ceb93.xcbuilddata
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
ClangStatCache /Applications/Xcode-15.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.2.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos17.2-21C52-d4853233c81beb1da90379997a312ef0.sdkstatcache
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    /Applications/Xcode-15.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.2.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos17.2-21C52-d4853233c81beb1da90379997a312ef0.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/PackageFrameworks
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/PackageFrameworks
MkDir /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/ggml_ggml.bundle (in target 'ggml_ggml' from project 'ggml')
    cd /Users/admin/builder/spi-builder-workspace
    /bin/mkdir -p /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/ggml_ggml.bundle
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ggml.build/Debug-iphoneos/ggml_ggml.build/empty-ggml_ggml.plist (in target 'ggml_ggml' from project 'ggml')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ggml.build/Debug-iphoneos/ggml_ggml.build/empty-ggml_ggml.plist
CompileMetalFile /Users/admin/builder/spi-builder-workspace/src/ggml-metal/ggml-metal.metal (in target 'ggml_ggml' from project 'ggml')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-15.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/metal -c -target air64-apple-ios14.0 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -isysroot /Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.2.sdk -ffast-math -serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ggml.build/Debug-iphoneos/ggml_ggml.build/Metal/ggml-metal.dia -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ggml.build/Debug-iphoneos/ggml_ggml.build/Metal/ggml-metal.air -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ggml.build/Debug-iphoneos/ggml_ggml.build/Metal/ggml-metal.dat /Users/admin/builder/spi-builder-workspace/src/ggml-metal/ggml-metal.metal
/Users/admin/builder/spi-builder-workspace/src/ggml-metal/ggml-metal.metal:6:10: fatal error: 'ggml-common.h' file not found
#include "ggml-common.h"
         ^~~~~~~~~~~~~~~
1 error generated.
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ggml.build/Debug-iphoneos/ggml.build/DerivedSources/resource_bundle_accessor.m (in target 'ggml' from project 'ggml')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ggml.build/Debug-iphoneos/ggml.build/DerivedSources/resource_bundle_accessor.m
ProcessInfoPlistFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/ggml_ggml.bundle/Info.plist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ggml.build/Debug-iphoneos/ggml_ggml.build/empty-ggml_ggml.plist (in target 'ggml_ggml' from project 'ggml')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-infoPlistUtility /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ggml.build/Debug-iphoneos/ggml_ggml.build/empty-ggml_ggml.plist -producttype com.apple.product-type.bundle -expandbuildsettings -format binary -platform iphoneos -requiredArchitecture arm64 -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/ggml_ggml.bundle/Info.plist
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ggml.build/Debug-iphoneos/ggml.build/DerivedSources/resource_bundle_accessor.h (in target 'ggml' from project 'ggml')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ggml.build/Debug-iphoneos/ggml.build/DerivedSources/resource_bundle_accessor.h
** BUILD FAILED **
The following build commands failed:
	CompileMetalFile /Users/admin/builder/spi-builder-workspace/src/ggml-metal/ggml-metal.metal (in target 'ggml_ggml' from project 'ggml')
(1 failure)
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
Invalid Source '/Users/admin/builder/spi-builder-workspace/src/ggml-metal.m': File not found.Invalid Resource 'src/ggml-metal.metal': File not found.
Resolved source packages:
  ggml: /Users/admin/builder/spi-builder-workspace
resolved source packages: ggml
{
  "cxx_language_standard" : "c++11",
  "dependencies" : [
  ],
  "manifest_display_name" : "ggml",
  "name" : "ggml",
  "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"
    }
  ],
  "products" : [
    {
      "name" : "ggml",
      "targets" : [
        "ggml"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ggml",
      "module_type" : "ClangTarget",
      "name" : "ggml",
      "path" : ".",
      "product_memberships" : [
        "ggml"
      ],
      "sources" : [
        "src/ggml-alloc.c",
        "src/ggml-backend.cpp",
        "src/ggml-quants.c",
        "src/ggml.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
warning: 'spi-builder-workspace': Invalid Source '/Users/admin/builder/spi-builder-workspace/src/ggml-metal.m': File not found.
warning: 'spi-builder-workspace': Invalid Resource 'src/ggml-metal.metal': File not found.
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "ggml"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ggml -destination generic/platform=iOS
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 ggml -destination generic/platform=iOS
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
Invalid Source '/Users/admin/builder/spi-builder-workspace/src/ggml-metal.m': File not found.Invalid Resource 'src/ggml-metal.metal': File not found.
Resolved source packages:
  ggml: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (3 targets)
    Target 'ggml' in project 'ggml'
        ➜ Explicit dependency on target 'ggml' in project 'ggml'
        ➜ Explicit dependency on target 'ggml_ggml' in project 'ggml'
    Target 'ggml' in project 'ggml'
        ➜ Explicit dependency on target 'ggml_ggml' in project 'ggml'
    Target 'ggml_ggml' in project 'ggml' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-15.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.2.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos17.2-21C52-d4853233c81beb1da90379997a312ef0.sdkstatcache
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    /Applications/Xcode-15.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.2.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos17.2-21C52-d4853233c81beb1da90379997a312ef0.sdkstatcache
CompileMetalFile /Users/admin/builder/spi-builder-workspace/src/ggml-metal/ggml-metal.metal (in target 'ggml_ggml' from project 'ggml')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-15.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/metal -c -target air64-apple-ios14.0 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -isysroot /Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.2.sdk -ffast-math -serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ggml.build/Debug-iphoneos/ggml_ggml.build/Metal/ggml-metal.dia -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ggml.build/Debug-iphoneos/ggml_ggml.build/Metal/ggml-metal.air -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ggml.build/Debug-iphoneos/ggml_ggml.build/Metal/ggml-metal.dat /Users/admin/builder/spi-builder-workspace/src/ggml-metal/ggml-metal.metal
/Users/admin/builder/spi-builder-workspace/src/ggml-metal/ggml-metal.metal:6:10: fatal error: 'ggml-common.h' file not found
#include "ggml-common.h"
         ^~~~~~~~~~~~~~~
1 error generated.
** BUILD FAILED **
The following build commands failed:
	CompileMetalFile /Users/admin/builder/spi-builder-workspace/src/ggml-metal/ggml-metal.metal (in target 'ggml_ggml' from project 'ggml')
(1 failure)
BUILD FAILURE 5.9 iOS