The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build NexaSwift, reference main (c9405f), with Swift 6.1 for Wasm on 30 May 2025 12:16:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NexaAI/nexa-sdk.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/NexaAI/nexa-sdk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c9405f6 Merge pull request #412 from NexaAI/yifei/update-workflow
Submodule path 'dependency/bark.cpp': checked out 'af42cadd6efafb5eba477d9a3439678a1cfec89e'
Submodule path 'dependency/bark.cpp/encodec.cpp': checked out '05513e7f03d8d349734a2b7a47b2e9921f0adeb0'
Submodule path 'dependency/bark.cpp/encodec.cpp/ggml': checked out 'aa00e1676417d8007dbaa47d2ee1a6e06c60d546'
Submodule path 'dependency/llama.cpp': checked out '3cbe01d1330108c80114bd95b8b3cc7bed849cf2'
Submodule path 'dependency/stable-diffusion.cpp': checked out '82173d18608862c47497225b24d53be5f7409743'
Submodule path 'dependency/stable-diffusion.cpp/ggml': checked out '6fcbd60bc72ac3f7ad43f78c87e535f2e6206f58'
Submodule path 'dependency/stable-diffusion.cpp/ggml/src/ggml-kompute/kompute': checked out '4565194ed7c32d1d2efa32ceab4d3c6cae006306'
Submodule path 'nexa/eval/benchmark_tasks': checked out 'e5a770c9617123af1845d04779a774828b5336e7'
Submodule 'dependency/bark.cpp' (https://github.com/NexaAI/bark.cpp.git) registered for path 'dependency/bark.cpp'
Submodule 'dependency/llama.cpp' (https://github.com/NexaAI/llama.cpp.git) registered for path 'dependency/llama.cpp'
Submodule 'dependency/stable-diffusion.cpp' (https://github.com/NexaAI/stable-diffusion.cpp) registered for path 'dependency/stable-diffusion.cpp'
Submodule 'nexa/eval/benchmark_tasks' (https://github.com/NexaAI/benchmark-tasks.git) registered for path 'nexa/eval/benchmark_tasks'
Cloning into '/host/spi-builder-workspace/dependency/bark.cpp'...
Cloning into '/host/spi-builder-workspace/dependency/llama.cpp'...
Cloning into '/host/spi-builder-workspace/dependency/stable-diffusion.cpp'...
Cloning into '/host/spi-builder-workspace/nexa/eval/benchmark_tasks'...
Submodule 'encodec.cpp' (https://github.com/PABannier/encodec.cpp) registered for path 'dependency/bark.cpp/encodec.cpp'
Cloning into '/host/spi-builder-workspace/dependency/bark.cpp/encodec.cpp'...
Submodule 'ggml' (https://github.com/ggerganov/ggml.git) registered for path 'dependency/bark.cpp/encodec.cpp/ggml'
Cloning into '/host/spi-builder-workspace/dependency/bark.cpp/encodec.cpp/ggml'...
From https://github.com/ggerganov/ggml
 * branch              aa00e1676417d8007dbaa47d2ee1a6e06c60d546 -> FETCH_HEAD
Submodule 'ggml' (https://github.com/ggerganov/ggml.git) registered for path 'dependency/stable-diffusion.cpp/ggml'
Cloning into '/host/spi-builder-workspace/dependency/stable-diffusion.cpp/ggml'...
Submodule 'kompute' (https://github.com/nomic-ai/kompute.git) registered for path 'dependency/stable-diffusion.cpp/ggml/src/ggml-kompute/kompute'
Cloning into '/host/spi-builder-workspace/dependency/stable-diffusion.cpp/ggml/src/ggml-kompute/kompute'...
Cloned https://github.com/NexaAI/nexa-sdk.git
Revision (git rev-parse @):
c9405f6bd1f15fddc5da0b4a1aee358276e77f11
SUCCESS checkout https://github.com/NexaAI/nexa-sdk.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/NexaAI/nexa-sdk.git
https://github.com/NexaAI/nexa-sdk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "llama.cpp",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ggerganov/llama.cpp.git"
    }
  ],
  "manifest_display_name" : "NexaSwift",
  "name" : "NexaSwift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "18.0"
    },
    {
      "name" : "watchos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "18.0"
    },
    {
      "name" : "visionos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "NexaSwift",
      "targets" : [
        "NexaSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NexaSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "NexaSwiftTests",
      "path" : "swift/Tests/NexaSwiftTests",
      "sources" : [
        "NexaSwiftTests.swift"
      ],
      "target_dependencies" : [
        "NexaSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NexaSwift",
      "module_type" : "SwiftTarget",
      "name" : "NexaSwift",
      "path" : "swift/Sources/NexaSwift",
      "product_dependencies" : [
        "llama"
      ],
      "product_memberships" : [
        "NexaSwift"
      ],
      "sources" : [
        "LlamaModel.swift",
        "Models/Batch.swift",
        "Models/ChatCompletionMessage.swift",
        "Models/ChatCompletionResponse.swift",
        "Models/Common.swift",
        "Models/CompletionResponse.swift",
        "Models/Configuration.swift",
        "Models/SwiftLlamaError.swift",
        "Models/TypeAlias.swift",
        "NexaSwiftActor.swift",
        "NexaTextInference.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/ggerganov/llama.cpp.git
[1/184100] Fetching llama.cpp
Fetched https://github.com/ggerganov/llama.cpp.git from cache (40.22s)
error: the package manifest at '/Package.swift' cannot be accessed (/Package.swift doesn't exist in file system) in https://github.com/ggerganov/llama.cpp.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Updating https://github.com/ggerganov/llama.cpp.git
Updated https://github.com/ggerganov/llama.cpp.git (1.05s)
error: the package manifest at '/Package.swift' cannot be accessed (/Package.swift doesn't exist in file system) in https://github.com/ggerganov/llama.cpp.git
BUILD FAILURE 6.1 wasm