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

Successful build of Swollama, reference v1.0.2 (1ae1e1), with Swift 5.10 for macOS (SPM) on 29 Oct 2024 10:05:41 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.55.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/marcusziade/Swollama.git
Reference: v1.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/marcusziade/Swollama
 * tag               v1.0.2     -> FETCH_HEAD
HEAD is now at 1ae1e15 remove redundant license.md file
Cloned https://github.com/marcusziade/Swollama.git
Revision (git rev-parse @):
1ae1e15b0730e034f9b0d34bf4872cf342acdb31
SUCCESS checkout https://github.com/marcusziade/Swollama.git at v1.0.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/marcusziade/Swollama.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write sources
[2/7] Write SwollamaCLI-entitlement.plist
[3/7] Write swift-version-33747A42983211AE.txt
[5/31] Emitting module Swollama
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/ChatRequest.swift:22:16: warning: stored property 'format' of 'Sendable'-conforming struct 'ChatRequest' has non-sendable type 'ResponseFormat?'
    public let format: ResponseFormat?
               ^
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/GenerateRequest.swift:66:13: note: consider making enum 'ResponseFormat' conform to the 'Sendable' protocol
public enum ResponseFormat: String, Codable {
            ^
                                           , Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/ChatRequest.swift:52:16: warning: stored property 'role' of 'Sendable'-conforming struct 'ChatMessage' has non-sendable type 'MessageRole'
    public let role: MessageRole
               ^
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/ChatRequest.swift:71:13: note: consider making enum 'MessageRole' conform to the 'Sendable' protocol
public enum MessageRole: String, Codable {
            ^
                                        , Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/GenerateRequest.swift:14:16: warning: stored property 'format' of 'Sendable'-conforming struct 'GenerateRequest' has non-sendable type 'ResponseFormat?'
    public let format: ResponseFormat?
               ^
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/GenerateRequest.swift:66:13: note: consider making enum 'ResponseFormat' conform to the 'Sendable' protocol
public enum ResponseFormat: String, Codable {
            ^
                                           , Sendable
[6/33] Compiling Swollama OllamaError.swift
[7/33] Compiling Swollama OllamaProtocol.swift
[8/33] Compiling Swollama QuantizationLevel.swift
[9/33] Compiling Swollama RunningModelsResponse.swift
[10/33] Compiling Swollama ToolCall.swift
[11/33] Compiling Swollama ToolDefinition.swift
[12/33] Compiling Swollama ChatOptions.swift
[13/33] Compiling Swollama EmbeddingOptions.swift
[14/33] Compiling Swollama GenerationOptions.swift
[15/33] Compiling Swollama ModelFamily.swift
[16/33] Compiling Swollama ModelFormat.swift
[17/33] Compiling Swollama ModelInformation.swift
[18/33] Compiling Swollama OllamaClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:47:16: warning: value 'body' was defined but never used; consider replacing with boolean test
        if let body = body {
           ~~~~^~~~~~~
                           != nil
[19/33] Compiling Swollama OllamaConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:47:16: warning: value 'body' was defined but never used; consider replacing with boolean test
        if let body = body {
           ~~~~^~~~~~~
                           != nil
[20/33] Compiling Swollama EmbeddingResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/GenerateRequest.swift:14:16: warning: stored property 'format' of 'Sendable'-conforming struct 'GenerateRequest' has non-sendable type 'ResponseFormat?'
    public let format: ResponseFormat?
               ^
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/GenerateRequest.swift:66:13: note: consider making enum 'ResponseFormat' conform to the 'Sendable' protocol
public enum ResponseFormat: String, Codable {
            ^
                                           , Sendable
[21/33] Compiling Swollama GenerateRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/GenerateRequest.swift:14:16: warning: stored property 'format' of 'Sendable'-conforming struct 'GenerateRequest' has non-sendable type 'ResponseFormat?'
    public let format: ResponseFormat?
               ^
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/GenerateRequest.swift:66:13: note: consider making enum 'ResponseFormat' conform to the 'Sendable' protocol
public enum ResponseFormat: String, Codable {
            ^
                                           , Sendable
[22/33] Compiling Swollama GenerateResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/GenerateRequest.swift:14:16: warning: stored property 'format' of 'Sendable'-conforming struct 'GenerateRequest' has non-sendable type 'ResponseFormat?'
    public let format: ResponseFormat?
               ^
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/GenerateRequest.swift:66:13: note: consider making enum 'ResponseFormat' conform to the 'Sendable' protocol
public enum ResponseFormat: String, Codable {
            ^
                                           , Sendable
[23/33] Compiling Swollama ModelsResponse.swift
[24/33] Compiling Swollama OllamaModelName.swift
[25/33] Compiling Swollama OperationProgress.swift
[26/33] Compiling Swollama OllamaClient+Generation.swift
[27/33] Compiling Swollama OllamaClient+ModelManagement.swift
[28/33] Compiling Swollama ChatRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/ChatRequest.swift:22:16: warning: stored property 'format' of 'Sendable'-conforming struct 'ChatRequest' has non-sendable type 'ResponseFormat?'
    public let format: ResponseFormat?
               ^
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/GenerateRequest.swift:66:13: note: consider making enum 'ResponseFormat' conform to the 'Sendable' protocol
public enum ResponseFormat: String, Codable {
            ^
                                           , Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/ChatRequest.swift:52:16: warning: stored property 'role' of 'Sendable'-conforming struct 'ChatMessage' has non-sendable type 'MessageRole'
    public let role: MessageRole
               ^
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/ChatRequest.swift:71:13: note: consider making enum 'MessageRole' conform to the 'Sendable' protocol
public enum MessageRole: String, Codable {
            ^
                                        , Sendable
[29/33] Compiling Swollama ChatResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/ChatRequest.swift:22:16: warning: stored property 'format' of 'Sendable'-conforming struct 'ChatRequest' has non-sendable type 'ResponseFormat?'
    public let format: ResponseFormat?
               ^
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/GenerateRequest.swift:66:13: note: consider making enum 'ResponseFormat' conform to the 'Sendable' protocol
public enum ResponseFormat: String, Codable {
            ^
                                           , Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/ChatRequest.swift:52:16: warning: stored property 'role' of 'Sendable'-conforming struct 'ChatMessage' has non-sendable type 'MessageRole'
    public let role: MessageRole
               ^
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/ChatRequest.swift:71:13: note: consider making enum 'MessageRole' conform to the 'Sendable' protocol
public enum MessageRole: String, Codable {
            ^
                                        , Sendable
[30/33] Compiling Swollama EmbeddingRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/ChatRequest.swift:22:16: warning: stored property 'format' of 'Sendable'-conforming struct 'ChatRequest' has non-sendable type 'ResponseFormat?'
    public let format: ResponseFormat?
               ^
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/GenerateRequest.swift:66:13: note: consider making enum 'ResponseFormat' conform to the 'Sendable' protocol
public enum ResponseFormat: String, Codable {
            ^
                                           , Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/ChatRequest.swift:52:16: warning: stored property 'role' of 'Sendable'-conforming struct 'ChatMessage' has non-sendable type 'MessageRole'
    public let role: MessageRole
               ^
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/ChatRequest.swift:71:13: note: consider making enum 'MessageRole' conform to the 'Sendable' protocol
public enum MessageRole: String, Codable {
            ^
                                        , Sendable
[31/48] Compiling SwollamaCLI ModelFormatter.swift
[32/49] Compiling SwollamaCLI SpeedCalculator.swift
[33/49] Compiling SwollamaCLI ShowModelCommand.swift
[34/49] Compiling SwollamaCLI SwollamaCLI.swift
[35/49] Compiling SwollamaCLI CLIError.swift
[36/49] Compiling SwollamaCLI ListRunningModelsCommand.swift
[37/49] Compiling SwollamaCLI PullModelCommand.swift
[38/49] Compiling SwollamaCLI ProgressTracker.swift
[39/49] Compiling SwollamaCLI ChatCommand.swift
[40/49] Compiling SwollamaCLI CommandProtocol.swift
[41/49] Compiling SwollamaCLI CopyModelCommand.swift
[42/49] Compiling SwollamaCLI DeleteModelCommand.swift
[43/49] Emitting module SwollamaCLI
[44/49] Compiling SwollamaCLI GenerateCommand.swift
[45/49] Compiling SwollamaCLI ListModelsCommand.swift
[46/49] Compiling SwollamaCLI TerminalHelper.swift
[46/49] Write Objects.LinkFileList
[47/49] Linking SwollamaCLI
[48/49] Applying SwollamaCLI
Build complete! (8.66s)
Build complete.
Done.