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 LLMChatAnthropic, reference main (3cd8e5), with Swift 6.0 for macOS (SPM) on 2 Dec 2024 14:36:22 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kevinhermawan/swift-llm-chat-anthropic.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kevinhermawan/swift-llm-chat-anthropic
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3cd8e5d release: 1.3.1
Cloned https://github.com/kevinhermawan/swift-llm-chat-anthropic.git
Revision (git rev-parse @):
3cd8e5d9bb10f03e9d673dbb7ef40cebd02a29c5
SUCCESS checkout https://github.com/kevinhermawan/swift-llm-chat-anthropic.git at main
Fetching https://github.com/kevinhermawan/swift-json-schema.git
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/2044] Fetching swift-docc-plugin
[42/2174] Fetching swift-docc-plugin, swift-json-schema
[356/5362] Fetching swift-docc-plugin, swift-json-schema, swift-docc-symbolkit
Fetched https://github.com/kevinhermawan/swift-json-schema.git from cache (1.27s)
Fetched https://github.com/apple/swift-docc-plugin.git from cache (1.27s)
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.27s)
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.4.3
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/kevinhermawan/swift-json-schema.git
Working copy of https://github.com/kevinhermawan/swift-json-schema.git resolved at 2.0.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swift-llm-chat-anthropic",
      "name": "LLMChatAnthropic",
      "url": "https://github.com/kevinhermawan/swift-llm-chat-anthropic.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-llm-chat-anthropic",
      "dependencies": [
        {
          "identity": "swift-json-schema",
          "name": "JSONSchema",
          "url": "https://github.com/kevinhermawan/swift-json-schema.git",
          "version": "2.0.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-json-schema",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/kevinhermawan/swift-llm-chat-anthropic.git
[3/221] Fetching swift-llm-chat-anthropic
Fetched https://github.com/kevinhermawan/swift-llm-chat-anthropic.git from cache (0.73s)
Fetching https://github.com/kevinhermawan/swift-json-schema.git from cache
Fetched https://github.com/kevinhermawan/swift-json-schema.git from cache (0.46s)
Computing version for https://github.com/kevinhermawan/swift-json-schema.git
Computed https://github.com/kevinhermawan/swift-json-schema.git at 2.0.1 (0.43s)
Creating working copy for https://github.com/kevinhermawan/swift-json-schema.git
Working copy of https://github.com/kevinhermawan/swift-json-schema.git resolved at 2.0.1
Creating working copy for https://github.com/kevinhermawan/swift-llm-chat-anthropic.git
Working copy of https://github.com/kevinhermawan/swift-llm-chat-anthropic.git resolved at main (3cd8e5d)
warning: '.resolve-product-dependencies': dependency 'swift-llm-chat-anthropic' is not used by any target
Found 1 product dependencies
  - JSONSchema
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/kevinhermawan/swift-llm-chat-anthropic.git
{
  "dependencies" : [
    {
      "identity" : "swift-json-schema",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kevinhermawan/swift-json-schema.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" : "LLMChatAnthropic",
  "name" : "LLMChatAnthropic",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "LLMChatAnthropic",
      "targets" : [
        "LLMChatAnthropic"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LLMChatAnthropicTests",
      "module_type" : "SwiftTarget",
      "name" : "LLMChatAnthropicTests",
      "path" : "Tests/LLMChatAnthropicTests",
      "sources" : [
        "ChatCompletionTests.swift",
        "ToolUseTests.swift",
        "Utils/URLProtocolMock.swift",
        "VisionTests.swift"
      ],
      "target_dependencies" : [
        "LLMChatAnthropic"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LLMChatAnthropic",
      "module_type" : "SwiftTarget",
      "name" : "LLMChatAnthropic",
      "path" : "Sources/LLMChatAnthropic",
      "product_dependencies" : [
        "JSONSchema"
      ],
      "product_memberships" : [
        "LLMChatAnthropic"
      ],
      "sources" : [
        "ChatCompletion.swift",
        "ChatCompletionChunk.swift",
        "ChatMessage.swift",
        "ChatOptions.swift",
        "LLMChatAnthropic+Typealias.swift",
        "LLMChatAnthropic.swift",
        "LLMChatAnthropicError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/5] Write sources
[4/5] Write swift-version--7754E27361AE5C74.txt
[6/15] Compiling JSONSchema JSONSchema+String.swift
[7/15] Compiling JSONSchema JSONSchema+Object.swift
[8/15] Compiling JSONSchema JSONSchema+Null.swift
[9/15] Compiling JSONSchema JSONSchema+Integer.swift
[10/15] Compiling JSONSchema JSONSchema+Boolean.swift
[11/15] Emitting module JSONSchema
[12/15] Compiling JSONSchema JSONSchema+Array.swift
[13/15] Compiling JSONSchema JSONSchema+Number.swift
[14/15] Compiling JSONSchema JSONSchema.swift
[15/15] Compiling JSONSchema JSONSchema+Enum.swift
[16/23] Compiling LLMChatAnthropic ChatOptions.swift
[17/23] Compiling LLMChatAnthropic LLMChatAnthropicError.swift
[18/23] Compiling LLMChatAnthropic LLMChatAnthropic+Typealias.swift
[19/23] Compiling LLMChatAnthropic ChatCompletionChunk.swift
[20/23] Emitting module LLMChatAnthropic
[21/23] Compiling LLMChatAnthropic ChatCompletion.swift
[22/23] Compiling LLMChatAnthropic ChatMessage.swift
[23/23] Compiling LLMChatAnthropic LLMChatAnthropic.swift
Build complete! (29.54s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-json-schema",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kevinhermawan/swift-json-schema.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" : "LLMChatAnthropic",
  "name" : "LLMChatAnthropic",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "LLMChatAnthropic",
      "targets" : [
        "LLMChatAnthropic"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LLMChatAnthropicTests",
      "module_type" : "SwiftTarget",
      "name" : "LLMChatAnthropicTests",
      "path" : "Tests/LLMChatAnthropicTests",
      "sources" : [
        "ChatCompletionTests.swift",
        "ToolUseTests.swift",
        "Utils/URLProtocolMock.swift",
        "VisionTests.swift"
      ],
      "target_dependencies" : [
        "LLMChatAnthropic"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LLMChatAnthropic",
      "module_type" : "SwiftTarget",
      "name" : "LLMChatAnthropic",
      "path" : "Sources/LLMChatAnthropic",
      "product_dependencies" : [
        "JSONSchema"
      ],
      "product_memberships" : [
        "LLMChatAnthropic"
      ],
      "sources" : [
        "ChatCompletion.swift",
        "ChatCompletionChunk.swift",
        "ChatMessage.swift",
        "ChatOptions.swift",
        "LLMChatAnthropic+Typealias.swift",
        "LLMChatAnthropic.swift",
        "LLMChatAnthropicError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.