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 Swollama, reference master (21b4bc), with Swift 6.2 (beta) for Wasm on 28 Jun 2025 01:41:06 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/marcusziade/Swollama.git
Reference: master
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/marcusziade/Swollama
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 21b4bc7 fix: Remove 'Release' prefix from GitHub release titles
Cloned https://github.com/marcusziade/Swollama.git
Revision (git rev-parse @):
21b4bc72d6dd0ce9e76fa7b91c68215c44f38328
SUCCESS checkout https://github.com/marcusziade/Swollama.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/marcusziade/Swollama.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/SwollamaCLI/README.md
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/35] Compiling Swollama OllamaClient+Generation.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
[5/35] Compiling Swollama OllamaClient+ModelManagement.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
[6/35] Compiling Swollama OllamaClient.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
[7/35] Compiling Swollama ToolDefinition.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
[8/35] Compiling Swollama VersionResponse.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
[9/35] Compiling Swollama NetworkingSupport+Streaming.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
[10/35] Compiling Swollama NetworkingSupport.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
[11/38] Compiling Swollama OllamaConfiguration.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
[12/38] Compiling Swollama OllamaError.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
[13/38] Compiling Swollama OllamaProtocol.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
[14/38] Compiling Swollama QuantizationLevel.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
[15/38] Compiling Swollama RunningModelsResponse.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
[16/38] Compiling Swollama ShowModelRequest.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
[17/38] Compiling Swollama ToolCall.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
[18/38] Compiling Swollama ChatResponse.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
[19/38] Compiling Swollama CreateModelRequest.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
[20/38] Compiling Swollama EmbeddingRequest.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
[21/38] Compiling Swollama EmbeddingResponse.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
[22/38] Compiling Swollama GenerateRequest.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
[23/38] Compiling Swollama GenerateResponse.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
[24/38] Compiling Swollama ModelFamily.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
[25/38] Compiling Swollama ModelFormat.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/38] Emitting module Swollama
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
[27/38] Compiling Swollama ChatOptions.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
[28/38] Compiling Swollama EmbeddingOptions.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
[29/38] Compiling Swollama GenerationOptions.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
[30/38] Compiling Swollama ChatRequest.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
[31/38] Compiling Swollama ModelInformation.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
[32/38] Compiling Swollama ModelsResponse.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
[33/38] Compiling Swollama OllamaModelName.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
[34/38] Compiling Swollama OperationProgress.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Options for chat completion
BUILD FAILURE 6.2 wasm