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 master (1ae1e1), with Swift 5.10 for macOS (SPM) on 29 Oct 2024 10:06:19 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/marcusziade/Swollama
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
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 ChatOptions.swift
[9/33] Compiling Swollama EmbeddingOptions.swift
[10/33] Compiling Swollama GenerationOptions.swift
[11/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
[12/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
[13/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
[14/33] Compiling Swollama ModelFamily.swift
[15/33] Compiling Swollama ModelFormat.swift
[16/33] Compiling Swollama ModelInformation.swift
[17/33] Compiling Swollama ModelsResponse.swift
[18/33] Compiling Swollama OllamaModelName.swift
[19/33] Compiling Swollama OperationProgress.swift
[20/33] Compiling Swollama QuantizationLevel.swift
[21/33] Compiling Swollama RunningModelsResponse.swift
[22/33] Compiling Swollama ToolCall.swift
[23/33] Compiling Swollama ToolDefinition.swift
[24/33] Compiling Swollama OllamaClient+Generation.swift
[25/33] Compiling Swollama OllamaClient+ModelManagement.swift
[26/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
[27/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
[28/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
[29/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
[30/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
[31/48] Compiling SwollamaCLI CLIError.swift
[32/48] Compiling SwollamaCLI ModelFormatter.swift
[33/48] Compiling SwollamaCLI SpeedCalculator.swift
[34/49] Compiling SwollamaCLI ShowModelCommand.swift
[35/49] Compiling SwollamaCLI SwollamaCLI.swift
[36/49] Compiling SwollamaCLI ListRunningModelsCommand.swift
[37/49] Compiling SwollamaCLI PullModelCommand.swift
[38/49] Compiling SwollamaCLI ProgressTracker.swift
[39/49] Compiling SwollamaCLI CopyModelCommand.swift
[40/49] Compiling SwollamaCLI DeleteModelCommand.swift
[41/49] Compiling SwollamaCLI ChatCommand.swift
[42/49] Compiling SwollamaCLI CommandProtocol.swift
[43/49] Compiling SwollamaCLI GenerateCommand.swift
[44/49] Compiling SwollamaCLI ListModelsCommand.swift
[45/49] Emitting module SwollamaCLI
[46/49] Compiling SwollamaCLI TerminalHelper.swift
[46/49] Write Objects.LinkFileList
[47/49] Linking SwollamaCLI
[48/49] Applying SwollamaCLI
Build complete! (7.83s)
Build complete.
Done.