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 superagent-swift, reference v1.0.0-beta (16372c), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 09:31:11 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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/simonweniger/agentkit-sdk.git
Reference: v1.0.0-beta
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/simonweniger/agentkit-sdk
 * tag               v1.0.0-beta -> FETCH_HEAD
HEAD is now at 16372c1 Merge pull request #1 from aiden-technologies/manual-setup
Cloned https://github.com/simonweniger/agentkit-sdk.git
Revision (git rev-parse @):
16372c1a73214965e864183ba70ca9945cd68927
SUCCESS checkout https://github.com/simonweniger/agentkit-sdk.git at v1.0.0-beta
========================================
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": "agentkit-sdk",
      "name": "superagent-swift",
      "url": "https://github.com/simonweniger/agentkit-sdk.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/agentkit-sdk",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/simonweniger/agentkit-sdk.git
[1/420] Fetching agentkit-sdk
Fetched https://github.com/simonweniger/agentkit-sdk.git from cache (0.93s)
Creating working copy for https://github.com/simonweniger/agentkit-sdk.git
Working copy of https://github.com/simonweniger/agentkit-sdk.git resolved at v1.0.0-beta (16372c1)
warning: '.resolve-product-dependencies': dependency 'agentkit-sdk' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/simonweniger/agentkit-sdk.git
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
Building for debugging...
[0/6] Write sources
[1/6] Write superagent-swift-entitlement.plist
[2/6] Write swift-version--7754E27361AE5C74.txt
[4/14] Compiling superagent_swift main.swift
/Users/admin/builder/spi-builder-workspace/Sources/main.swift:370:7: warning: variable 'payload' was never mutated; consider changing to 'let' constant
368 | 	///Create a new LLM
369 | 	public func createLLM(provider: String, apiKey: String, options: [String: Any]?) async throws -> [String: Any] {
370 | 		var payload: [String: Any] = ["provider": provider, "apiKey": apiKey, "options": options as Any]
    |       `- warning: variable 'payload' was never mutated; consider changing to 'let' constant
371 |
372 | 		let data = try await request(method: .post, endpoint: "/llms", data: payload)
/Users/admin/builder/spi-builder-workspace/Sources/main.swift:503:7: warning: variable 'payload' was never mutated; consider changing to 'let' constant
501 | 	///Create a new datasource
502 | 	public func createDatasource(datasource: Datasource) async throws -> [String: Any] {
503 | 		var payload: [String: Any] = ["name": datasource.name,
    |       `- warning: variable 'payload' was never mutated; consider changing to 'let' constant
504 | 									  "description": datasource.description,
505 | 									  "type": datasource.type,
/Users/admin/builder/spi-builder-workspace/Sources/main.swift:607:7: warning: variable 'payload' was never mutated; consider changing to 'let' constant
605 | 	///Create a new tool
606 | 	public func createTool(tool: Tool) async throws -> [String: Any] {
607 | 		var payload: [String: Any] = ["name": tool.name,
    |       `- warning: variable 'payload' was never mutated; consider changing to 'let' constant
608 | 									  "description": tool.description,
609 | 									  "type": tool.type,
/Users/admin/builder/spi-builder-workspace/Sources/main.swift:647:7: warning: variable 'payload' was never mutated; consider changing to 'let' constant
645 | 	///Update a specific tool
646 | 	public func updateTool(toolId: String , newTool: Tool) async throws -> [String: Any] {
647 | 		var payload: [String: Any] = ["name": newTool.name,
    |       `- warning: variable 'payload' was never mutated; consider changing to 'let' constant
648 | 									  "description": newTool.description,
649 | 									  "type": newTool.type,
/Users/admin/builder/spi-builder-workspace/Sources/main.swift:810:7: warning: variable 'payload' was never mutated; consider changing to 'let' constant
808 | 	///Create a new workflow step
809 | 	public func addWorkflowStep(workflowId: String ,workflowStep: WorkflowStep) async throws -> [String: Any] {
810 | 		var payload: [String: Any] = ["order": workflowStep.order,
    |       `- warning: variable 'payload' was never mutated; consider changing to 'let' constant
811 | 									  "agentId": workflowStep.agentId,
812 | 									  "input": workflowStep.input,
[5/14] Compiling superagent_swift WorkflowStep.swift
[6/14] Compiling superagent_swift Request.swift
[7/14] Compiling superagent_swift LLM.swift
[8/14] Compiling superagent_swift Agent.swift
[9/14] Compiling superagent_swift Tool.swift
[10/14] Compiling superagent_swift Datasource.swift
[11/14] Emitting module superagent_swift
[11/14] Write Objects.LinkFileList
[12/14] Linking superagent-swift
[13/14] Applying superagent-swift
Build complete! (12.96s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "superagent-swift",
  "name" : "superagent-swift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "superagent-swift",
      "targets" : [
        "superagent-swift"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "superagent_swift",
      "module_type" : "SwiftTarget",
      "name" : "superagent-swift",
      "path" : "Sources",
      "product_memberships" : [
        "superagent-swift"
      ],
      "sources" : [
        "Models/Agent.swift",
        "Models/Datasource.swift",
        "Models/LLM.swift",
        "Models/Request.swift",
        "Models/Tool.swift",
        "Models/WorkflowStep.swift",
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.8"
}
Done.