The Swift Package Index logo.Swift Package Index

Build Information

Successful build of GroqSwift, reference main (3e3e24), with Swift 6.2 for macOS (SPM) on 23 Jun 2025 04:27:13 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
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:             6.2
Building package at path:  $PWD
https://github.com/engali94/groq_swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
[1/1] Compiling plugin SwiftLintFix
[2/2] Compiling plugin SwiftLint
[3/3] Compiling plugin Swift-DocC Preview
[4/4] Compiling plugin Swift-DocC
Building for debugging...
[4/6] Write sources
[5/6] Write swift-version-1EA4D86E10B52AF.txt
[7/12] Compiling GroqSwift URLSession+Linux.swift
[8/12] Compiling GroqSwift Models.swift
[9/12] Compiling GroqSwift Errors.swift
[10/12] Emitting module GroqSwift
[11/12] 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
203 |
204 |                     if httpResponse.statusCode != 200 {
205 |                         if let data = try? await bytes.reduce(into: Data()) { data, byte in
    |                                                                             `- warning: trailing closure in this context is confusable with the body of the statement; pass as a parenthesized argument to silence this warning
206 |                             data.append(byte)
207 |                         },
[12/12] Compiling GroqSwift Message.swift
Build complete! (24.41s)
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/lukepistrol/SwiftLintPlugin
[1/358] Fetching swiftlintplugin
[195/2440] Fetching swiftlintplugin, swift-docc-plugin
Fetched https://github.com/lukepistrol/SwiftLintPlugin from cache (0.68s)
[105/2082] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.13s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (3.73s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3415] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.14s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.70s)
Computing version for https://github.com/lukepistrol/SwiftLintPlugin
Computed https://github.com/lukepistrol/SwiftLintPlugin at 0.59.1 (0.51s)
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.4
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/lukepistrol/SwiftLintPlugin
Working copy of https://github.com/lukepistrol/SwiftLintPlugin resolved at 0.59.1
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip
[16375/41085097] Downloading https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip (2.48s)
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.