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 GroqSwift, reference main (3e3e24), with Swift 5.9 for macOS (SPM) on 12 Mar 2025 06:34:21 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.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/engali94/groq_swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/engali94/groq_swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3e3e24a Refactor Dockerfile and update Linux URLSession extension
Cloned https://github.com/engali94/groq_swift.git
Revision (git rev-parse @):
3e3e24aadc0a89834f6511208517948d568966a5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/engali94/groq_swift.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/engali94/groq_swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin SwiftLint
[4/4] Compiling plugin SwiftLintFix
Building for debugging...
[5/10] Compiling GroqSwift URLSession+Linux.swift
[6/10] Compiling GroqSwift GroqClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/GroqSwift/GroqClient.swift:205:77: warning: trailing closure in this context is confusable with the body of the statement; pass as a parenthesized argument to silence this warning
                        if let data = try? await bytes.reduce(into: Data()) { data, byte in
                                                                          ~~^
                                                                          ,
[7/10] Compiling GroqSwift Models.swift
[8/10] Compiling GroqSwift Errors.swift
[9/10] Compiling GroqSwift Message.swift
[10/10] Emitting module GroqSwift
Build complete! (25.21s)
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/lukepistrol/SwiftLintPlugin
[1/352] Fetching swiftlintplugin
[195/2402] Fetching swiftlintplugin, swift-docc-plugin
Fetched https://github.com/lukepistrol/SwiftLintPlugin (1.72s)
Fetched https://github.com/apple/swift-docc-plugin (1.72s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (2.81s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3336] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (1.21s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.50s)
Computing version for https://github.com/lukepistrol/SwiftLintPlugin
Computed https://github.com/lukepistrol/SwiftLintPlugin at 0.58.2 (0.45s)
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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/lukepistrol/SwiftLintPlugin
Working copy of https://github.com/lukepistrol/SwiftLintPlugin resolved at 0.58.2
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.58.2/SwiftLintBinary.artifactbundle.zip
[16375/40913916] Downloading https://github.com/realm/SwiftLint/releases/download/0.58.2/SwiftLintBinary.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.58.2/SwiftLintBinary.artifactbundle.zip (2.78s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    },
    {
      "identity" : "swiftlintplugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/lukepistrol/SwiftLintPlugin"
    }
  ],
  "manifest_display_name" : "GroqSwift",
  "name" : "GroqSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "GroqSwift",
      "targets" : [
        "GroqSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GroqSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "GroqSwiftTests",
      "path" : "Tests/GroqSwiftTests",
      "sources" : [
        "ChatCompletionTests.swift",
        "ModelsTests.swift",
        "StreamingTests.swift",
        "TestUtils.swift"
      ],
      "target_dependencies" : [
        "GroqSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GroqSwift",
      "module_type" : "SwiftTarget",
      "name" : "GroqSwift",
      "path" : "Sources/GroqSwift",
      "product_dependencies" : [
        "SwiftLint"
      ],
      "product_memberships" : [
        "GroqSwift"
      ],
      "sources" : [
        "Errors.swift",
        "GroqClient.swift",
        "Message.swift",
        "Models.swift",
        "URLSession+Linux.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.