Build Information
Successful build of GroqSwift, reference 0.1.1 (8a08b6
), with Swift 6.0 for macOS (SPM) on 25 Feb 2025 22:01:40 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/engali94/groq_swift.git
Reference: 0.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/engali94/groq_swift
* tag 0.1.1 -> FETCH_HEAD
HEAD is now at 8a08b68 Disable SwiftLint plugin on Linux platforms
Cloned https://github.com/engali94/groq_swift.git
Revision (git rev-parse @):
8a08b68e10e221d446842d953aa1e21f3fa3763a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/engali94/groq_swift.git at 0.1.1
Fetching https://github.com/lukepistrol/SwiftLintPlugin
Fetching https://github.com/apple/swift-docc-plugin
[1/2050] Fetching swift-docc-plugin
[83/2402] Fetching swift-docc-plugin, swiftlintplugin
Fetched https://github.com/lukepistrol/SwiftLintPlugin from cache (1.25s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.25s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (3.12s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3314] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.30s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.58s)
Computing version for https://github.com/lukepistrol/SwiftLintPlugin
Computed https://github.com/lukepistrol/SwiftLintPlugin at 0.58.2 (0.54s)
Creating working copy for https://github.com/lukepistrol/SwiftLintPlugin
Working copy of https://github.com/lukepistrol/SwiftLintPlugin resolved at 0.58.2
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/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[16375/40913916] Downloading https://github.com/realm/SwiftLint/releases/download/0.58.2/SwiftLintBinary.artifactbundle.zip
Downloading binary artifact 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.89s)
========================================
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": "groq_swift",
"name": "GroqSwift",
"url": "https://github.com/engali94/groq_swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/groq_swift",
"dependencies": [
{
"identity": "swiftlintplugin",
"name": "SwiftLintPlugin",
"url": "https://github.com/lukepistrol/SwiftLintPlugin",
"version": "0.58.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftLintPlugin",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/engali94/groq_swift.git
[1/175] Fetching groq_swift
Fetched https://github.com/engali94/groq_swift.git from cache (3.28s)
Fetching https://github.com/lukepistrol/SwiftLintPlugin from cache
Fetched https://github.com/lukepistrol/SwiftLintPlugin from cache (0.45s)
Computing version for https://github.com/lukepistrol/SwiftLintPlugin
Computed https://github.com/lukepistrol/SwiftLintPlugin at 0.58.2 (0.02s)
Creating working copy for https://github.com/lukepistrol/SwiftLintPlugin
Working copy of https://github.com/lukepistrol/SwiftLintPlugin resolved at 0.58.2
Creating working copy for https://github.com/engali94/groq_swift.git
Working copy of https://github.com/engali94/groq_swift.git resolved at 0.1.1 (8a08b68)
Fetching binary artifact https://github.com/realm/SwiftLint/releases/download/0.58.2/SwiftLintBinary.artifactbundle.zip from cache
Fetched https://github.com/realm/SwiftLint/releases/download/0.58.2/SwiftLintBinary.artifactbundle.zip from cache (1.63s)
warning: '.resolve-product-dependencies': dependency 'groq_swift' is not used by any target
Found 1 product dependencies
- SwiftLintPlugin
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/engali94/groq_swift.git
https://github.com/engali94/groq_swift.git
{
"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"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
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 -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
[3/3] Compiling plugin SwiftLint
[4/4] Compiling plugin SwiftLintFix
Building for debugging...
[4/6] Write sources
[5/6] Write swift-version-5BDAB9E9C0126B9D.txt
[7/11] Compiling GroqSwift Models.swift
[8/11] Compiling GroqSwift GroqClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/GroqSwift/GroqClient.swift:123:77: warning: trailing closure in this context is confusable with the body of the statement; pass as a parenthesized argument to silence this warning
121 |
122 | if httpResponse.statusCode != 200 {
123 | 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
124 | data.append(byte)
125 | },
/Users/admin/builder/spi-builder-workspace/Sources/GroqSwift/GroqClient.swift:123:56: warning: sending main actor-isolated value of type '(inout Data, URLSession.AsyncBytes.Element) async -> Void' (aka '(inout Data, UInt8) async -> ()') with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
121 |
122 | if httpResponse.statusCode != 200 {
123 | if let data = try? await bytes.reduce(into: Data()) { data, byte in
| `- warning: sending main actor-isolated value of type '(inout Data, URLSession.AsyncBytes.Element) async -> Void' (aka '(inout Data, UInt8) async -> ()') with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
124 | data.append(byte)
125 | },
/Users/admin/builder/spi-builder-workspace/Sources/GroqSwift/GroqClient.swift:156:50: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
154 | if let response = try? decoder.decode(ChatCompletionChunkResponse.self, from: data) {
155 | print("Successfully decoded response")
156 | continuation.yield(response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| |- note: 'response' used after being passed as a 'sending' parameter; Later uses could race
| `- note: access can happen concurrently
157 | } else {
158 | print("Failed to decode response")
[9/11] Emitting module GroqSwift
[10/11] Compiling GroqSwift Errors.swift
[11/11] Compiling GroqSwift Message.swift
Build complete! (25.47s)
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"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.