The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Arbiter, reference v0.2.0 (dcf1e7), with Swift 6.4 for macOS (SPM) on 27 Sep 2026 20:03:03 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sabby3861/Arbiter.git
Reference: v0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sabby3861/Arbiter
 * tag               v0.2.0     -> FETCH_HEAD
HEAD is now at dcf1e76 Merge pull request #12 from sabby3861/release/phase-a-tail
Cloned https://github.com/sabby3861/Arbiter.git
Revision (git rev-parse @):
dcf1e7652e3194824d49c9fa074275e32f188aa5
SUCCESS checkout https://github.com/sabby3861/Arbiter.git at v0.2.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/sabby3861/Arbiter.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 717]
[Planning deferred tasks]
[158 / 488] mlx-swift_Cmlx
[159 / 488]
[162 / 488] mlx-swift_Cmlx
[162 / 488]
[172 / 490] InternalCollectionsUtilities
[172 / 490] RealModule
[176 / 517]
[178 / 517]
[180 / 517] InternalCollectionsUtilities
[181 / 517] RealModule
[190 / 517] Cmlx
[192 / 517] Cmlx
[195 / 517] InternalCollectionsUtilities
[197 / 517] InternalCollectionsUtilities
[207 / 517] Cmlx
[208 / 517] Cmlx
[212 / 517] Cmlx
[220 / 517] Cmlx
[223 / 517] Cmlx
[224 / 517] Cmlx
[225 / 517] Cmlx
[229 / 517] Cmlx
[232 / 517] Cmlx
[235 / 517] Cmlx
[236 / 517] Cmlx
[238 / 517] Cmlx
[239 / 517] Cmlx
[241 / 517] Cmlx
[244 / 517] Cmlx
[247 / 517] Cmlx
[248 / 517] Cmlx
[250 / 517] Cmlx
[252 / 517] Cmlx
[254 / 517] Cmlx
[257 / 517] Cmlx
[258 / 517] Cmlx
[259 / 517] Cmlx
[261 / 517] Cmlx
[263 / 517] Cmlx
[265 / 517] Cmlx
[266 / 517] Cmlx
[267 / 517] Cmlx
[270 / 517] Cmlx
[273 / 517] Cmlx
[274 / 517] Cmlx
[277 / 517] Cmlx
[280 / 517] Cmlx
[282 / 517] Cmlx
[284 / 517] Cmlx
[288 / 517] Cmlx
[291 / 517] Cmlx
[293 / 517] Cmlx
[295 / 517] Cmlx
[297 / 517] Cmlx
[298 / 517] Cmlx
[301 / 517] Cmlx
[302 / 517] Cmlx
[303 / 517] Cmlx
[304 / 517] Cmlx
[305 / 517] Cmlx
[307 / 517] Cmlx
[308 / 517] Cmlx
[310 / 517] Cmlx
[311 / 517] Cmlx
[313 / 517] Cmlx
[316 / 517] Cmlx
[318 / 517] Cmlx
[319 / 517] Cmlx
[320 / 517] Cmlx
[322 / 517] Cmlx
[323 / 517] Cmlx
[324 / 517] Cmlx
[328 / 517] Cmlx
[329 / 517] Cmlx
[330 / 517] Cmlx
[331 / 517] Cmlx
[334 / 517] Cmlx
[335 / 517] Cmlx
[337 / 517] Cmlx
[341 / 517] Cmlx
[345 / 517] Cmlx
[347 / 517] Cmlx
[348 / 517] Cmlx
[349 / 517] mlx-swift_Cmlx
[350 / 517] _NumericsShims
[352 / 517] _NumericsShims
[355 / 517] _NumericsShims
[360 / 517] RealModule
[366 / 517] RealModule
[372 / 517] RealModule
[379 / 519]
[386 / 541] OrderedCollections
[394 / 541] OrderedCollections
[395 / 541] ComplexModule
[407 / 541] ComplexModule
[409 / 541] ComplexModule
[412 / 544] OrderedCollections
[420 / 545] ComplexModule
[423 / 545] OrderedCollections
[432 / 546] MLX
[447 / 636]
[452 / 636]
[461 / 636]
[466 / 636]
[468 / 636]
[475 / 636]
[479 / 636]
[484 / 636]
[489 / 636]
[492 / 636]
[495 / 636]
[496 / 636]
[498 / 636]
[509 / 636]
[512 / 636] Jinja
[520 / 637] MLX
[521 / 637] MLX
[522 / 650]
[524 / 650]
[537 / 650]
[540 / 650] MLX-product
[542 / 650] MLX
[549 / 650] Hub
[557 / 650] Hub
[558 / 651]
[559 / 652]
[560 / 653]
[561 / 654] Tokenizers
[569 / 667] Tokenizers
[570 / 669] Tokenizers
[582 / 672] MLXLinalg
[596 / 672] MLXFast
[609 / 674] MLXLinalg
[613 / 674] MLXFast
[613 / 674] Hub
[617 / 674] MLXNN
[628 / 695]
[630 / 695]
[632 / 695] MLXNN
[640 / 696]
[645 / 696] MLXNN
[656 / 699] Generation
[662 / 699] Generation
[670 / 703] MLXOptimizers
[670 / 703] Models
[677 / 704] Models
[679 / 704] MLXLMCommon
[689 / 733]
[691 / 733]
[693 / 733]
[694 / 733]
[696 / 733]
[697 / 733]
[708 / 733] MLXLMCommon
[715 / 734] MLXLMCommon
[725 / 745] MLXLLM
[726 / 745] MLXLMCommon
[728 / 745] MLXLLM
[735 / 746] MLXLLM
[745 / 802]
[756 / 802]
[763 / 802]
[767 / 802] MLXLLM
[769 / 802]
[773 / 802]
[777 / 802]
[778 / 802]
[780 / 802]
[781 / 802]
[793 / 802] Arbiter
[799 / 802] Arbiter
[802 / 802] Arbiter-product
Build complete! (40.85 sec)
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/ml-explore/mlx-swift.git
Fetching https://github.com/ml-explore/mlx-swift-examples.git
[1/2345] Fetching swift-docc-plugin
[236/19301] Fetching swift-docc-plugin, mlx-swift
[237/27167] Fetching swift-docc-plugin, mlx-swift, mlx-swift-examples
Fetched https://github.com/ml-explore/mlx-swift-examples.git (2.29s)
Fetched https://github.com/apple/swift-docc-plugin.git (2.29s)
Fetched https://github.com/ml-explore/mlx-swift.git (2.29s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.5.0 (5.19s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3831] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (1.37s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.13s)
Computing version for https://github.com/ml-explore/mlx-swift-examples.git
Computed https://github.com/ml-explore/mlx-swift-examples.git at 2.29.1 (0.66s)
Fetching https://github.com/1024jp/GzipSwift
Fetching https://github.com/huggingface/swift-transformers
[1/1762] Fetching gzipswift
[477/8789] Fetching gzipswift, swift-transformers
Fetched https://github.com/1024jp/GzipSwift (1.71s)
Fetched https://github.com/huggingface/swift-transformers (1.71s)
Computing version for https://github.com/ml-explore/mlx-swift.git
Computed https://github.com/ml-explore/mlx-swift.git at 0.29.1 (2.37s)
Fetching https://github.com/apple/swift-numerics
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics (1.28s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 6.0.1 (1.99s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.0.0 (0.59s)
Fetching https://github.com/huggingface/swift-jinja.git
[1/1376] Fetching swift-jinja
Fetched https://github.com/huggingface/swift-jinja.git (1.14s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (1.78s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.5.1 (0.59s)
Fetching https://github.com/apple/swift-collections.git
[1/27779] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (3.00s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (3.73s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.1
Creating working copy for https://github.com/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.0.0
Creating working copy for https://github.com/ml-explore/mlx-swift.git
Working copy of https://github.com/ml-explore/mlx-swift.git resolved at 0.29.1
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.5.0
Creating working copy for https://github.com/1024jp/GzipSwift
Working copy of https://github.com/1024jp/GzipSwift resolved at 6.0.1
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.5.1
Creating working copy for https://github.com/ml-explore/mlx-swift-examples.git
Working copy of https://github.com/ml-explore/mlx-swift-examples.git resolved at 2.29.1
warning: missing creator for mutated node: ('/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/mlx-swift_Cmlx.bundle/Contents/MacOS')
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/steel_attention.metal:7:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/kernels/steel_attention.h:359:16: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
            if constexpr (is_bool) {
               ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/kernels/steel_attention.h:429:14: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
          if constexpr (BD == 128) {
             ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/kernels/steel_attention.h:439:14: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
          if constexpr (BD == 128) {
             ^
3 warnings generated.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/include/mlx/c/array.h:325:1: note: built-in type 'Complex' not supported
323 |  * Array must be evaluated, otherwise returns NULL.
324 |  */
325 | const float _Complex* mlx_array_data_complex64(const mlx_array arr);
    | `- note: built-in type 'Complex' not supported
326 |
327 | #ifdef HAS_FLOAT16
/Users/admin/builder/spi-builder-workspace/Sources/Arbiter/Providers/AppleFoundation/FMBridge.swift:98:9: warning: 'init(sampling:temperature:maximumResponseTokens:)' is deprecated: replaced by 'init(samplingMode:temperature:maximumResponseTokens:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 96 |
 97 |     static func generationOptions(from settings: FMGenerationSettings) -> GenerationOptions {
 98 |         GenerationOptions(
    |         |- warning: 'init(sampling:temperature:maximumResponseTokens:)' is deprecated: replaced by 'init(samplingMode:temperature:maximumResponseTokens:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |         `- note: use 'init(samplingMode:temperature:maximumResponseTokens:)' instead
 99 |             sampling: settings.sampling.map(samplingMode(from:)),
100 |             temperature: settings.temperature,
/Users/admin/builder/spi-builder-workspace/Sources/Arbiter/Providers/AppleFoundation/FMBridge.swift:280:9: warning: switch must be exhaustive
278 |
279 |     private static func entry(from source: Transcript.Entry) -> FMTranscriptEntry {
280 |         switch source {
    |         |- warning: switch must be exhaustive
    |         `- note: add missing case: '.reasoning(_)'
281 |         case .instructions(let instructions):
282 |             .instructions(
/Users/admin/builder/spi-builder-workspace/Sources/Arbiter/Providers/AppleFoundation/FMBridge.swift:308:9: warning: switch must be exhaustive
306 |
307 |     private static func segment(from source: Transcript.Segment) -> FMSegment {
308 |         switch source {
    |         |- warning: switch must be exhaustive
    |         `- note: add missing case: '.attachment(_)'
309 |         case .text(let text):
310 |             .text(text.content)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete.
{
  "dependencies" : [
    {
      "identity" : "mlx-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.21.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ml-explore/mlx-swift.git"
    },
    {
      "identity" : "mlx-swift-examples",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.21.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ml-explore/mlx-swift-examples.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin.git"
    }
  ],
  "manifest_display_name" : "Arbiter",
  "name" : "Arbiter",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Arbiter",
      "targets" : [
        "Arbiter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ArbiterTests",
      "module_type" : "SwiftTarget",
      "name" : "ArbiterTests",
      "path" : "Tests/ArbiterTests",
      "sources" : [
        "AIRequestTests.swift",
        "AnthropicAdvancedTests.swift",
        "AnthropicMapperTests.swift",
        "AnthropicStructuredOutputTests.swift",
        "AppleFMSupportTests.swift",
        "AppleFoundationProviderTests.swift",
        "ArbiterErrorTests.swift",
        "ArbiterTests.swift",
        "CapabilityMatcherTests.swift",
        "ConversationSessionTests.swift",
        "CostEstimateTests.swift",
        "CostTrackerTests.swift",
        "DeviceAssessorTests.swift",
        "ExecutionPolicyTests.swift",
        "FMBridgeTests.swift",
        "FMSchemaConverterTests.swift",
        "FMTranscriptBuilderTests.swift",
        "FallbackChainTests.swift",
        "GeminiAdvancedTests.swift",
        "GeminiMapperTests.swift",
        "IntegrationTests.swift",
        "JSONValueTests.swift",
        "MLXProviderTests.swift",
        "MessageTests.swift",
        "MiddlewareTests.swift",
        "MockFMSession.swift",
        "MockProvider.swift",
        "OllamaAdvancedTests.swift",
        "OllamaMapperTests.swift",
        "OpenAIAdvancedTests.swift",
        "OpenAIMapperTests.swift",
        "ParallelToolCallMapperTests.swift",
        "PrivacyDetectionCorpusTests.swift",
        "PrivacyGuardTests.swift",
        "PrivacyHardeningTests.swift",
        "ProviderErrorTests.swift",
        "ProviderPerformanceTrackerTests.swift",
        "RequestAnalyserCorpusTests.swift",
        "RequestAnalyserTests.swift",
        "ResponseCacheTests.swift",
        "ResponseValidatorTests.swift",
        "RetryEngineTests.swift",
        "ScriptedProvider.swift",
        "SecureKeyStorageTests.swift",
        "SmartRouterTests.swift",
        "SpendingGuardTests.swift",
        "StructuredOutputPathTests.swift",
        "StructuredOutputTests.swift",
        "ThinkingReplayTests.swift",
        "ThreeTierRoutingTests.swift",
        "TokenBudgetPlannerTests.swift",
        "TokenEstimatorTests.swift",
        "ToolLoopTests.swift",
        "UnifiedResponseTests.swift",
        "UsageAnalyticsTests.swift",
        "ViewCompilationTests.swift"
      ],
      "target_dependencies" : [
        "Arbiter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Arbiter",
      "module_type" : "SwiftTarget",
      "name" : "Arbiter",
      "path" : "Sources/Arbiter",
      "product_dependencies" : [
        "MLX",
        "MLXLLM"
      ],
      "product_memberships" : [
        "Arbiter"
      ],
      "sources" : [
        "Arbiter.swift",
        "Core/AIProvider.swift",
        "Core/AIRequest.swift",
        "Core/AIResponse.swift",
        "Core/AIStreamChunk.swift",
        "Core/ArbiterError.swift",
        "Core/EmbeddingProvider.swift",
        "Core/JSONSchemaBuilder.swift",
        "Core/JSONSchemaNormalizer.swift",
        "Core/JSONValue.swift",
        "Core/Message.swift",
        "Core/ProviderCapabilities.swift",
        "Core/ProviderID.swift",
        "Core/RequestTag.swift",
        "Core/SchemaProbe.swift",
        "Core/StructuredOutput.swift",
        "Core/TokenBudgetPlanner.swift",
        "Middleware/AIMiddleware.swift",
        "Middleware/LoggingMiddleware.swift",
        "Middleware/RequestSanitiserMiddleware.swift",
        "ProviderFactory.swift",
        "Providers/Anthropic/AnthropicImageResolver.swift",
        "Providers/Anthropic/AnthropicMapper.swift",
        "Providers/Anthropic/AnthropicModels.swift",
        "Providers/Anthropic/AnthropicOptions.swift",
        "Providers/Anthropic/AnthropicProvider.swift",
        "Providers/AppleFoundation/AppleFMAvailability.swift",
        "Providers/AppleFoundation/AppleFMFeedback.swift",
        "Providers/AppleFoundation/AppleFMOptions.swift",
        "Providers/AppleFoundation/AppleFMSessionStore.swift",
        "Providers/AppleFoundation/AppleFoundationProvider.swift",
        "Providers/AppleFoundation/AvailabilityChecker.swift",
        "Providers/AppleFoundation/FMBridge.swift",
        "Providers/AppleFoundation/FMErrorKind.swift",
        "Providers/AppleFoundation/FMSchema.swift",
        "Providers/AppleFoundation/FMSessionRunning.swift",
        "Providers/AppleFoundation/FMToolAdapter.swift",
        "Providers/AppleFoundation/FMTranscript.swift",
        "Providers/AppleFoundation/FMTranscriptBuilder.swift",
        "Providers/AppleFoundation/LiveFMSession.swift",
        "Providers/Gemini/GeminiMapper.swift",
        "Providers/Gemini/GeminiModels.swift",
        "Providers/Gemini/GeminiOptions.swift",
        "Providers/Gemini/GeminiProvider.swift",
        "Providers/MLX/MLXChatText.swift",
        "Providers/MLX/MLXModelRegistry.swift",
        "Providers/MLX/MLXProvider.swift",
        "Providers/Ollama/OllamaMapper.swift",
        "Providers/Ollama/OllamaOptions.swift",
        "Providers/Ollama/OllamaProvider.swift",
        "Providers/OpenAI/OpenAIMapper.swift",
        "Providers/OpenAI/OpenAIModels.swift",
        "Providers/OpenAI/OpenAIOptions.swift",
        "Providers/OpenAI/OpenAIProvider.swift",
        "Providers/OpenAI/OpenAIResponsesMapper.swift",
        "Router/CapabilityMatcher.swift",
        "Router/ConnectivityMonitor.swift",
        "Router/CostTracker.swift",
        "Router/DeviceAssessor.swift",
        "Router/LexicalSignals.swift",
        "Router/PIIDetector.swift",
        "Router/PrivacyGuard.swift",
        "Router/PrivacyReport.swift",
        "Router/ProviderHealthMonitor.swift",
        "Router/ProviderPerformanceTracker.swift",
        "Router/RequestAnalyser.swift",
        "Router/RoutingDecision.swift",
        "Router/RoutingPolicy.swift",
        "Router/SmartRouter.swift",
        "Runtime/ArbiterRun.swift",
        "Runtime/ArbiterTool.swift",
        "Runtime/ExecutionPolicy.swift",
        "Runtime/FallbackChain.swift",
        "Runtime/LifecycleManager.swift",
        "Runtime/ResponseCache.swift",
        "Runtime/ResponseValidator.swift",
        "Runtime/RetryEngine.swift",
        "Runtime/ToolApproval.swift",
        "Runtime/ToolLoop.swift",
        "Runtime/UsageAnalytics.swift",
        "Security/SecureKeyStorage.swift",
        "Security/SpendingGuard.swift",
        "Session/ConversationSession.swift",
        "UI/ArbiterChatView.swift",
        "UI/ArbiterLifecycleModifier.swift",
        "UI/ProviderPicker.swift",
        "UI/RoutingDebugView.swift",
        "UI/UsageDashboard.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Done.