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 llmfarm_core, reference main (a0c1bc), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 07:43:31 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/buhe/llmfarm_core.swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/buhe/llmfarm_core.swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a0c1bc8 Update swift.yml
Cloned https://github.com/buhe/llmfarm_core.swift.git
Revision (git rev-parse @):
a0c1bc8b584e6c24442d48a82dd5383fa0f18740
SUCCESS checkout https://github.com/buhe/llmfarm_core.swift.git at main
========================================
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": "llmfarm_core.swift",
      "name": "llmfarm_core",
      "url": "https://github.com/buhe/llmfarm_core.swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/llmfarm_core.swift",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/buhe/llmfarm_core.swift.git
[1/1197] Fetching llmfarm_core.swift
Fetched https://github.com/buhe/llmfarm_core.swift.git from cache (1.29s)
Creating working copy for https://github.com/buhe/llmfarm_core.swift.git
Working copy of https://github.com/buhe/llmfarm_core.swift.git resolved at main (a0c1bc8)
warning: '.resolve-product-dependencies': dependency 'llmfarm_core.swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/buhe/llmfarm_core.swift.git
https://github.com/buhe/llmfarm_core.swift.git
{
  "cxx_language_standard" : "c++20",
  "dependencies" : [
  ],
  "manifest_display_name" : "llmfarm_core",
  "name" : "llmfarm_core",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "llmfarm_core",
      "targets" : [
        "llmfarm_core"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "llmfarm_core_cpp",
      "module_type" : "ClangTarget",
      "name" : "llmfarm_core_cpp",
      "path" : "Sources/llmfarm_core_cpp",
      "product_memberships" : [
        "llmfarm_core"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/llmfarm_core_cpp/metal",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/llmfarm_core_cpp/tokenizers",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "exception_helper.mm",
        "exception_helper_objc.mm",
        "finetune/export-lora.mm",
        "finetune/finetune.mm",
        "ggml/common.mm",
        "ggml/ggml-alloc.m",
        "ggml/ggml-alloc_dadbed9.m",
        "ggml/ggml-backend.m",
        "ggml/ggml-metal.m",
        "ggml/ggml-metal_dadbed9.m",
        "ggml/ggml-quants.m",
        "ggml/ggml.m",
        "ggml/ggml_d925ed-alloc.m",
        "ggml/ggml_d925ed-metal.m",
        "ggml/ggml_d925ed.m",
        "ggml/ggml_dadbed9.m",
        "ggml/k_quants_dadbed9.m",
        "ggml/train.mm",
        "gpt2/gpt2.mm",
        "gpt_helpers.mm",
        "gpt_spm.mm",
        "gptneox/gptneox.mm",
        "grammar-parser.mm",
        "llama/llama.mm",
        "llama/llama_dadbed9.mm",
        "package_helper.m",
        "replit/replit.mm",
        "rwkv/rwkv.mm",
        "starcoder/starcoder.mm"
      ],
      "type" : "library"
    },
    {
      "c99name" : "llmfarm_core",
      "module_type" : "SwiftTarget",
      "name" : "llmfarm_core",
      "path" : "Sources/llmfarm_core",
      "product_memberships" : [
        "llmfarm_core"
      ],
      "sources" : [
        "AI.swift",
        "ArrayExt.swift",
        "ByteEncoder.swift",
        "Extensions.swift",
        "FineTune.swift",
        "GPT2.swift",
        "GPTNeox.swift",
        "LLMBase.swift",
        "LLaMA_FineTune.swift",
        "LLaMa.swift",
        "LLaMa_dadbed9.swift",
        "Math/ComputeGraph.swift",
        "Math/Math.swift",
        "Math/Utils.swift",
        "RWKV.swift",
        "Replit.swift",
        "Starcoder.swift",
        "Tasker.swift",
        "TokenizeUtils.swift",
        "Tokenizer.swift",
        "TokenizerConfig.swift"
      ],
      "target_dependencies" : [
        "llmfarm_core_cpp"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
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
Building for debugging...
[0/34] Write sources
[1/34] Copying metal
[2/34] Copying tokenizers
clang: error: unsupported option '-mfma' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mfma' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mavx' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mavx2' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mf16c' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-msse3' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mssse3' for target 'arm64-apple-macosx11.0'
[3/34] Compiling gptneox.mm
clang: error: unsupported option '-mfma' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mfma' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mavx' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mavx2' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mf16c' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-msse3' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mssse3' for target 'arm64-apple-macosx11.0'
[3/34] Compiling replit.mm
clang: error: unsupported option '-mfma' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mfma' for target 'arm64-apple-macosx11.0'
clang: error: [3/34] Compiling llama_dadbed9.mm
clang: error: unsupported option '-mfma' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mfma' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mavx' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mavx2' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mf16c' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-msse3' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mssse3' for target 'arm64-apple-macosx11.0'
[3/34] Compiling rwkv.mm
clang: error: unsupported option '-mfma' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mfma' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mavx' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mavx2' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mf16c' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-msse3' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mssse3' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mfma' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mfma' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mavx' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mavx2' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mf16c' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-msse3' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mssse3' for target 'arm64-apple-macosx11.0'
[3/34] Compiling starcoder.mm
clang: error: unsupported option '-mfma' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mfma' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mavx' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mavx2' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mf16c' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-msse3' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mssse3' for target 'arm64-apple-macosx11.0'
[3/34] Compiling llama.mm
[3/34] Compiling llmfarm_core_cpp grammar-parser.mm
clang: error: unsupported option '-mfma' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mfma' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mavx' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mavx2' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mf16c' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-msse3' for target 'arm64-apple-macosx11.0'
clang: error: [3/34] Compiling llmfarm_core_cpp package_helper.m
clang: error: unsupported option '-mfma' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mfma' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mavx' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mavx2' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mf16c' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-msse3' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mssse3' for target 'arm64-apple-macosx11.0'[3/34] Compiling llmfarm_core_cpp resource_bundle_accessor.m
[3/34] Write swift-version-2F0A5646E1D333AE.txt
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
clang: error: unsupported option '-mfma' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mfma' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mavx' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mavx2' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mf16c' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-msse3' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mssse3' for target 'arm64-apple-macosx11.0'
[0/31] Compiling llmfarm_core_cpp resource_bundle_accessor.m
[0/31] Compiling llama_dadbed9.mm
[0/31] Compiling llmfarm_core_cpp package_helper.m
[0/31] Compiling replit.mm
clang: error: unsupported option '-mfma' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mfma' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mavx' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mavx2' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mf16c' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-msse3' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mssse3' for target 'arm64-apple-macosx11.0'
[0/31] Compiling gptneox.mm
[0/31] Compiling starcoder.mm
clang: [0/31] Compiling llama.mm
[0/31] Compiling llmfarm_core_cpp grammar-parser.mm
clang: error: unsupported option '-mfma' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mfma' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mavx' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mavx2' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mf16c' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-msse3' for target 'arm64-apple-macosx11.0'
clang: error: unsupported option '-mssse3' for target 'arm64-apple-macosx11.0'
[0/31] Compiling rwkv.mm
[0/31] Write swift-version-2F0A5646E1D333AE.txt
BUILD FAILURE 6.1 macosSpm