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

Failed to build GeneralAgentsKit, reference main (71f29b), with Swift 6.0 for macOS (SPM) on 3 Apr 2025 08:27:32 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/m1guelpf/GeneralAgentsKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/m1guelpf/GeneralAgentsKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 71f29b5 init
Cloned https://github.com/m1guelpf/GeneralAgentsKit.git
Revision (git rev-parse @):
71f29b5b84ae2adafd2c0a20088ae18a46e6c19c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/m1guelpf/GeneralAgentsKit.git at main
========================================
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": "generalagentskit",
      "name": "GeneralAgentsKit",
      "url": "https://github.com/m1guelpf/GeneralAgentsKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GeneralAgentsKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/m1guelpf/GeneralAgentsKit.git
[1/19] Fetching generalagentskit
Fetched https://github.com/m1guelpf/GeneralAgentsKit.git from cache (0.61s)
Creating working copy for https://github.com/m1guelpf/GeneralAgentsKit.git
Working copy of https://github.com/m1guelpf/GeneralAgentsKit.git resolved at main (71f29b5)
warning: '.resolve-product-dependencies': dependency 'generalagentskit' 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/m1guelpf/GeneralAgentsKit.git
https://github.com/m1guelpf/GeneralAgentsKit.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "GeneralAgentsKit",
  "name" : "GeneralAgentsKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "GeneralAgentsKit",
      "targets" : [
        "GeneralAgentsKit"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GeneralAgentsKit",
      "module_type" : "SwiftTarget",
      "name" : "GeneralAgentsKit",
      "path" : "src",
      "product_memberships" : [
        "GeneralAgentsKit"
      ],
      "sources" : [
        "Agent.swift",
        "Computer.swift",
        "Extensions/CGImage+toPng.swift",
        "Models/Action.swift",
        "Models/Coordinate.swift",
        "Models/KeyboardKey.swift",
        "Models/Model.swift",
        "Models/PredictRequest.swift",
        "Models/PredictResponse.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/4] Write sources
[1/4] Write swift-version-5BDAB9E9C0126B9D.txt
[3/14] Compiling GeneralAgentsKit PredictResponse.swift
[4/14] Compiling GeneralAgentsKit PredictRequest.swift
[5/14] Compiling GeneralAgentsKit Model.swift
[6/14] Compiling GeneralAgentsKit KeyboardKey.swift
[7/14] Compiling GeneralAgentsKit Action.swift
[8/14] Compiling GeneralAgentsKit CGImage+toPng.swift
[9/14] Compiling GeneralAgentsKit Coordinate.swift
[10/14] Emitting module GeneralAgentsKit
[11/14] Compiling GeneralAgentsKit Computer.swift
[12/14] Compiling GeneralAgentsKit Agent.swift
/Users/admin/builder/spi-builder-workspace/src/Agent.swift:66:4: error: unexpected ',' separator
 64 | 				temperature: temperature,
 65 | 				allowedActionKinds: allowedActions,
 66 | 			))
    |    `- error: unexpected ',' separator
 67 |
 68 | 			let (data, res) = try await URLSession.shared.data(for: request)
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/3] Write swift-version-5BDAB9E9C0126B9D.txt
[2/13] Compiling GeneralAgentsKit PredictRequest.swift
[3/13] Compiling GeneralAgentsKit Model.swift
[4/13] Compiling GeneralAgentsKit Coordinate.swift
[5/13] Compiling GeneralAgentsKit PredictResponse.swift
[6/13] Compiling GeneralAgentsKit CGImage+toPng.swift
[7/13] Compiling GeneralAgentsKit Action.swift
[8/13] Compiling GeneralAgentsKit KeyboardKey.swift
[9/13] Emitting module GeneralAgentsKit
[10/13] Compiling GeneralAgentsKit Computer.swift
[11/13] Compiling GeneralAgentsKit Agent.swift
/Users/admin/builder/spi-builder-workspace/src/Agent.swift:66:4: error: unexpected ',' separator
 64 | 				temperature: temperature,
 65 | 				allowedActionKinds: allowedActions,
 66 | 			))
    |    `- error: unexpected ',' separator
 67 |
 68 | 			let (data, res) = try await URLSession.shared.data(for: request)
BUILD FAILURE 6.0 macosSpm