The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Sophon, reference main (fe795c), with Swift 6.2 for macOS (SPM) on 13 Oct 2026 08:07:14 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Luminoid/Sophon.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Luminoid/Sophon
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at fe795c9 feat: add the SophonLog core, split each provider catalog into a +Catalog model list with Claude 5.5, add a Gemini daily-quota error, pin CI tooling
Cloned https://github.com/Luminoid/Sophon.git
Revision (git rev-parse @):
fe795c9fb3b65a3c9a8dc7aaf6d6a4782192c011
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Luminoid/Sophon.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Luminoid/Sophon.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/27] Write sources
[3/27] Copying Localizable.strings
[3/27] Write sources
[3/27] Copying Localizable.strings
[3/27] Copying Info.plist
[7/27] Copying Localizable.strings
[12/27] Copying Info.plist
[12/27] Copying Localizable.strings
[12/27] Copying PrivacyInfo.xcprivacy
[12/27] Copying Localizable.strings
[21/27] Copying Info.plist
[22/27] Write sources
[23/27] Copying Localizable.strings
[24/27] Copying Info.plist
[26/27] Write swift-version--3CB7CFEC50E0D141.txt
[28/51] Compiling SophonCore LLMResponseMetadata.swift
[29/51] Compiling SophonCore LLMRequestVariant.swift
[30/53] Compiling SophonCore LLMClientSession.swift
[31/53] Compiling SophonCore LLMHTTP.swift
[32/53] Compiling SophonCore LLMRetryLoop.swift
[33/53] Compiling SophonCore LLMRetryPolicy.swift
[34/53] Compiling SophonCore LLMModelStore.swift
[35/53] Compiling SophonCore LLMProviderFreeAccess.swift
[36/53] Compiling SophonCore LLMCatalogAudit.swift
[37/53] Compiling SophonCore LLMModelInfo.swift
[38/53] Compiling SophonCore LLMModelPreset.swift
[39/53] Compiling SophonCore LLMErrorCopy.swift
[40/53] Compiling SophonCore LLMImageEncoder.swift
[41/53] Compiling SophonCore SophonKeychain.swift
[42/53] Emitting module SophonCore
[43/53] Compiling SophonCore LLMJSONExtractor.swift
[44/53] Compiling SophonCore LLMResponseDecoding.swift
[45/53] Compiling SophonCore LLMClientError.swift
[46/53] Compiling SophonCore LLMClient.swift
[47/53] Compiling SophonCore LLMProviderConfiguration.swift
[48/53] Compiling SophonCore LLMDecoding.swift
[49/53] Compiling SophonCore SophonLog+Categories.swift
[50/53] Compiling SophonCore SophonLog.swift
[51/53] Compiling SophonCore LLMMessage.swift
[52/53] Compiling SophonCore LLMSchema.swift
[53/53] Compiling SophonCore resource_bundle_accessor.swift
[54/113] Compiling SophonAnthropic SophonAnthropic.swift
[55/114] Compiling SophonGemini SophonGemini.swift
[56/115] Compiling SophonGemini GeminiModelStore.swift
[57/115] Compiling SophonGemini GeminiCompatibility.swift
[58/115] Compiling SophonGemini GeminiError.swift
[59/115] Compiling SophonGemini GeminiModel+Catalog.swift
[60/115] Compiling SophonGemini GeminiModel.swift
[61/115] Compiling SophonAnthropic resource_bundle_accessor.swift
[62/115] Compiling SophonGemini resource_bundle_accessor.swift
[63/115] Compiling SophonOpenAI OpenRouterModel+Catalog.swift
[64/115] Compiling SophonOpenAI OpenRouterModel.swift
[65/115] Compiling SophonOpenAI QwenModel+Catalog.swift
[66/118] Compiling SophonOpenAI GroqModel+Catalog.swift
[67/118] Compiling SophonOpenAI GroqModel.swift
[68/118] Compiling SophonOpenAI KimiModel+Catalog.swift
[69/118] Compiling SophonOpenAI DeepSeekModel+Catalog.swift
[70/118] Compiling SophonOpenAI DeepSeekModel.swift
[71/118] Compiling SophonOpenAI DoubaoModel+Catalog.swift
[72/118] Compiling SophonOpenAI DoubaoModel.swift
[73/118] Compiling SophonOpenAI GLMModel+Catalog.swift
[74/118] Compiling SophonOpenAI GLMModel.swift
[75/118] Compiling SophonAnthropic AnthropicModelStore.swift
[76/118] Compiling SophonAnthropic AnthropicModel.swift
[77/118] Compiling SophonAnthropic AnthropicResponse.swift
[78/118] Compiling SophonTestSupport LLMMockURLProtocol.swift
[79/118] Compiling SophonTestSupport LLMTestSupport.swift
[80/118] Emitting module SophonTestSupport
[81/118] Compiling SophonOpenAI OpenAIModel+Catalog.swift
[82/118] Compiling SophonOpenAI OpenAIModel.swift
[83/118] Compiling SophonOpenAI OpenRouterAPIClient+FreeModels.swift
[84/118] Compiling SophonOpenAI KimiModel.swift
[85/118] Compiling SophonOpenAI MistralModel+Catalog.swift
[86/118] Compiling SophonOpenAI MistralModel.swift
[87/118] Compiling SophonAnthropic AnthropicModel+Catalog.swift
[90/118] Compiling SophonAnthropic AnthropicRequestModels.swift
[91/118] Compiling SophonOpenAI QwenModel.swift
[92/118] Compiling SophonOpenAI SophonOpenAI.swift
[93/118] Compiling SophonOpenAI resource_bundle_accessor.swift
[94/118] Compiling SophonOpenAI OpenAIRequestPlan.swift
[95/118] Compiling SophonOpenAI OpenAIResponsesModels.swift
[96/118] Compiling SophonOpenAI OpenAICompatibleModel.swift
[97/118] Compiling SophonOpenAI OpenAIError.swift
[98/118] Compiling SophonOpenAI OpenAIErrorBody.swift
[99/118] Compiling SophonOpenAI OpenAIModelList.swift
[100/118] Compiling SophonOpenAI OpenAIRequestMapper.swift
[101/118] Compiling SophonOpenAI OpenAIChatCompletionsModels.swift
[102/118] Emitting module SophonAnthropic
[107/118] Emitting module SophonGemini
[110/118] Emitting module SophonOpenAI
[111/118] Compiling SophonOpenAI OpenAICompatibleClient.swift
[112/118] Compiling SophonOpenAI OpenAICompatibleConfiguration.swift
[113/118] Compiling SophonOpenAI OpenAIEndpoint.swift
[114/118] Compiling SophonOpenAI OpenAIImageEncoder.swift
Build complete! (7.85s)
Build complete.
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "Sophon",
  "name" : "Sophon",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "18.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "18.0"
    },
    {
      "name" : "macos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "SophonCore",
      "targets" : [
        "SophonCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SophonGemini",
      "targets" : [
        "SophonGemini"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SophonOpenAI",
      "targets" : [
        "SophonOpenAI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SophonAnthropic",
      "targets" : [
        "SophonAnthropic"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SophonTestSupport",
      "module_type" : "SwiftTarget",
      "name" : "SophonTestSupport",
      "path" : "Tests/SophonTestSupport",
      "sources" : [
        "LLMMockURLProtocol.swift",
        "LLMTestSupport.swift"
      ],
      "target_dependencies" : [
        "SophonCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SophonOpenAITests",
      "module_type" : "SwiftTarget",
      "name" : "SophonOpenAITests",
      "path" : "Tests/SophonOpenAITests",
      "sources" : [
        "OpenAICatalogTests.swift",
        "OpenAIEndpointKnobsTests.swift",
        "OpenAIErrorTests.swift",
        "OpenAIGenerateTests.swift",
        "OpenAIImageEncoderTests.swift",
        "OpenAIRequestTests.swift",
        "OpenAIResponseTests.swift",
        "OpenAIRetryTests.swift",
        "OpenAIStatusMappingTests.swift"
      ],
      "target_dependencies" : [
        "SophonOpenAI",
        "SophonTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SophonOpenAI",
      "module_type" : "SwiftTarget",
      "name" : "SophonOpenAI",
      "path" : "Sources/SophonOpenAI",
      "product_memberships" : [
        "SophonOpenAI"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SophonOpenAI/Resources/en.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "en"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SophonOpenAI/Resources/es.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "es"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SophonOpenAI/Resources/zh-Hans.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "zh-hans"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SophonOpenAI/Resources/zh-Hant.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "zh-hant"
            }
          }
        }
      ],
      "sources" : [
        "Client/OpenAICompatibleClient.swift",
        "Client/OpenAICompatibleConfiguration.swift",
        "Client/OpenAIEndpoint.swift",
        "Client/OpenAIImageEncoder.swift",
        "Client/OpenAIRequestMapper.swift",
        "DTO/OpenAIChatCompletionsModels.swift",
        "DTO/OpenAIErrorBody.swift",
        "DTO/OpenAIModelList.swift",
        "DTO/OpenAIRequestPlan.swift",
        "DTO/OpenAIResponsesModels.swift",
        "Model/OpenAICompatibleModel.swift",
        "OpenAIError.swift",
        "Providers/DeepSeek/DeepSeekModel+Catalog.swift",
        "Providers/DeepSeek/DeepSeekModel.swift",
        "Providers/Doubao/DoubaoModel+Catalog.swift",
        "Providers/Doubao/DoubaoModel.swift",
        "Providers/GLM/GLMModel+Catalog.swift",
        "Providers/GLM/GLMModel.swift",
        "Providers/Groq/GroqModel+Catalog.swift",
        "Providers/Groq/GroqModel.swift",
        "Providers/Kimi/KimiModel+Catalog.swift",
        "Providers/Kimi/KimiModel.swift",
        "Providers/Mistral/MistralModel+Catalog.swift",
        "Providers/Mistral/MistralModel.swift",
        "Providers/OpenAI/OpenAIModel+Catalog.swift",
        "Providers/OpenAI/OpenAIModel.swift",
        "Providers/OpenRouter/OpenRouterAPIClient+FreeModels.swift",
        "Providers/OpenRouter/OpenRouterModel+Catalog.swift",
        "Providers/OpenRouter/OpenRouterModel.swift",
        "Providers/Qwen/QwenModel+Catalog.swift",
        "Providers/Qwen/QwenModel.swift",
        "SophonOpenAI.swift"
      ],
      "target_dependencies" : [
        "SophonCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SophonGeminiTests",
      "module_type" : "SwiftTarget",
      "name" : "SophonGeminiTests",
      "path" : "Tests/SophonGeminiTests",
      "sources" : [
        "GeminiAPIClientRetryTests.swift",
        "GeminiAPIClientTests.swift",
        "GeminiCatalogTests.swift",
        "GeminiErrorTests.swift",
        "GeminiGenerateTests.swift",
        "GeminiImageEncoderTests.swift",
        "GeminiModelListingTests.swift",
        "GeminiModelTests.swift",
        "GeminiRequestURLTests.swift",
        "GeminiResponseTests.swift",
        "GeminiSchemaTests.swift",
        "GeminiSourceCompatibilityTests.swift",
        "GeminiTestSupport.swift",
        "GeminiWireEdgeTests.swift"
      ],
      "target_dependencies" : [
        "SophonGemini",
        "SophonTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SophonGemini",
      "module_type" : "SwiftTarget",
      "name" : "SophonGemini",
      "path" : "Sources/SophonGemini",
      "product_memberships" : [
        "SophonGemini"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SophonGemini/Resources/en.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "en"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SophonGemini/Resources/es.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "es"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SophonGemini/Resources/zh-Hans.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "zh-hans"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SophonGemini/Resources/zh-Hant.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "zh-hant"
            }
          }
        }
      ],
      "sources" : [
        "Client/GeminiAPIClient.swift",
        "Client/GeminiClientConfiguration.swift",
        "Client/GeminiImageEncoder.swift",
        "DTO/GeminiModelList.swift",
        "DTO/GeminiRequestModels.swift",
        "DTO/GeminiResponse.swift",
        "GeminiCompatibility.swift",
        "GeminiError.swift",
        "Model/GeminiModel+Catalog.swift",
        "Model/GeminiModel.swift",
        "Model/GeminiModelStore.swift",
        "SophonGemini.swift"
      ],
      "target_dependencies" : [
        "SophonCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SophonCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "SophonCoreTests",
      "path" : "Tests/SophonCoreTests",
      "sources" : [
        "LLMAPIKeyTests.swift",
        "LLMCatalogAuditTests.swift",
        "LLMDecodingTests.swift",
        "LLMErrorCopyTests.swift",
        "LLMHTTPTests.swift",
        "LLMJSONExtractorTests.swift",
        "LLMLocalizationParityTests.swift",
        "LLMMessageTests.swift",
        "LLMMockURLProtocolTests.swift",
        "LLMModelInfoTests.swift",
        "LLMModelStoreTests.swift",
        "LLMResponseDecodingTests.swift",
        "LLMRetryLoopTests.swift",
        "LLMRetryPolicyTests.swift",
        "LLMSchemaTests.swift",
        "LLMSendableTests.swift",
        "SophonKeychainTests.swift",
        "SophonLogTests.swift"
      ],
      "target_dependencies" : [
        "SophonCore",
        "SophonTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SophonCore",
      "module_type" : "SwiftTarget",
      "name" : "SophonCore",
      "path" : "Sources/SophonCore",
      "product_memberships" : [
        "SophonCore",
        "SophonGemini",
        "SophonOpenAI",
        "SophonAnthropic"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SophonCore/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SophonCore/Resources/en.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "en"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SophonCore/Resources/es.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "es"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SophonCore/Resources/zh-Hans.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "zh-hans"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SophonCore/Resources/zh-Hant.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "zh-hant"
            }
          }
        }
      ],
      "sources" : [
        "Client/LLMClient.swift",
        "Configuration/LLMProviderConfiguration.swift",
        "Decoding/LLMDecoding.swift",
        "Decoding/LLMJSONExtractor.swift",
        "Decoding/LLMResponseDecoding.swift",
        "Errors/LLMClientError.swift",
        "Errors/LLMErrorCopy.swift",
        "Images/LLMImageEncoder.swift",
        "Keychain/SophonKeychain.swift",
        "Logging/SophonLog+Categories.swift",
        "Logging/SophonLog.swift",
        "Messages/LLMMessage.swift",
        "Model/LLMCatalogAudit.swift",
        "Model/LLMModelInfo.swift",
        "Model/LLMModelPreset.swift",
        "Model/LLMModelStore.swift",
        "Model/LLMProviderFreeAccess.swift",
        "Networking/LLMClientSession.swift",
        "Networking/LLMHTTP.swift",
        "Networking/LLMResponseMetadata.swift",
        "Retry/LLMRequestVariant.swift",
        "Retry/LLMRetryLoop.swift",
        "Retry/LLMRetryPolicy.swift",
        "Schema/LLMSchema.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SophonAnthropicTests",
      "module_type" : "SwiftTarget",
      "name" : "SophonAnthropicTests",
      "path" : "Tests/SophonAnthropicTests",
      "sources" : [
        "AnthropicCatalogTests.swift",
        "AnthropicErrorTests.swift",
        "AnthropicGenerateTests.swift",
        "AnthropicImageEncoderTests.swift",
        "AnthropicRequestTests.swift",
        "AnthropicResponseTests.swift",
        "AnthropicRetryTests.swift",
        "AnthropicWireEdgeTests.swift"
      ],
      "target_dependencies" : [
        "SophonAnthropic",
        "SophonTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SophonAnthropic",
      "module_type" : "SwiftTarget",
      "name" : "SophonAnthropic",
      "path" : "Sources/SophonAnthropic",
      "product_memberships" : [
        "SophonAnthropic"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SophonAnthropic/Resources/en.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "en"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SophonAnthropic/Resources/es.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "es"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SophonAnthropic/Resources/zh-Hans.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "zh-hans"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SophonAnthropic/Resources/zh-Hant.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "zh-hant"
            }
          }
        }
      ],
      "sources" : [
        "AnthropicError.swift",
        "Client/AnthropicAPIClient.swift",
        "Client/AnthropicClientConfiguration.swift",
        "Client/AnthropicImageEncoder.swift",
        "DTO/AnthropicErrorBody.swift",
        "DTO/AnthropicModelList.swift",
        "DTO/AnthropicRequestModels.swift",
        "DTO/AnthropicResponse.swift",
        "Model/AnthropicModel+Catalog.swift",
        "Model/AnthropicModel.swift",
        "Model/AnthropicModelStore.swift",
        "SophonAnthropic.swift"
      ],
      "target_dependencies" : [
        "SophonCore"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.2"
}
Done.