Build Information
Successful build of Swollama, reference master (1ae1e1
), with Swift 5.9 for macOS (SPM) on 29 Oct 2024 10:06:29 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.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.9
Building package at path: $PWD
https://github.com/marcusziade/Swollama.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/25] 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
[2/27] Compiling Swollama OllamaError.swift
[3/27] Compiling Swollama OllamaProtocol.swift
[4/27] 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
[5/27] 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
[6/27] Compiling Swollama ChatOptions.swift
[7/27] Compiling Swollama EmbeddingOptions.swift
[8/27] Compiling Swollama GenerationOptions.swift
[9/27] Compiling Swollama ModelFamily.swift
[10/27] Compiling Swollama ModelFormat.swift
[11/27] Compiling Swollama ModelInformation.swift
[12/27] 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
[13/27] 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
[14/27] 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
[15/27] Compiling Swollama QuantizationLevel.swift
[16/27] Compiling Swollama RunningModelsResponse.swift
[17/27] Compiling Swollama ToolCall.swift
[18/27] Compiling Swollama ToolDefinition.swift
[19/27] Compiling Swollama OllamaClient+Generation.swift
[20/27] Compiling Swollama OllamaClient+ModelManagement.swift
[21/27] 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
[22/27] 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
[23/27] 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
[24/27] Compiling Swollama ModelsResponse.swift
[25/27] Compiling Swollama OllamaModelName.swift
[26/27] Compiling Swollama OperationProgress.swift
[27/42] Compiling SwollamaCLI SpeedCalculator.swift
[28/42] Compiling SwollamaCLI CLIError.swift
[29/43] Compiling SwollamaCLI ProgressTracker.swift
[30/43] Compiling SwollamaCLI ModelFormatter.swift
[31/43] Compiling SwollamaCLI ShowModelCommand.swift
[32/43] Compiling SwollamaCLI SwollamaCLI.swift
[33/43] Compiling SwollamaCLI CopyModelCommand.swift
[34/43] Compiling SwollamaCLI DeleteModelCommand.swift
[35/43] Compiling SwollamaCLI ListRunningModelsCommand.swift
[36/43] Compiling SwollamaCLI PullModelCommand.swift
[37/43] Compiling SwollamaCLI GenerateCommand.swift
[38/43] Compiling SwollamaCLI ListModelsCommand.swift
[39/43] Emitting module SwollamaCLI
[40/43] Compiling SwollamaCLI ChatCommand.swift
[41/43] Compiling SwollamaCLI CommandProtocol.swift
[42/43] Compiling SwollamaCLI TerminalHelper.swift
[42/43] Linking SwollamaCLI
Build complete! (8.88s)
Build complete.
Done.