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 PineconeSwift, reference main (c13d1e), with Swift 6.0 for macOS (SPM) on 14 Sep 2024 10:51:09 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.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.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ArchieGoodwin/PineconeSwift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ArchieGoodwin/PineconeSwift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c13d1e1 Create LICENSE
Cloned https://github.com/ArchieGoodwin/PineconeSwift.git
Revision (git rev-parse @):
c13d1e1a0aa81d23f166dfbef3999b162c1557dd
SUCCESS checkout https://github.com/ArchieGoodwin/PineconeSwift.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ArchieGoodwin/PineconeSwift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-117DEE11B69C53C9.txt
[3/6] Compiling PineconeSwift PineconeModels.swift
[4/6] Compiling PineconeSwift EmbedModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/PineconeSwift/EmbedModel.swift:58:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
56 |
57 | public struct EmbedResult: Codable {
58 |     public let id: String? = UUID().uuidString
   |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
   |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'id' case to silence this warning
   |                `- note: make the property mutable instead
59 |     public let index: Int
60 |     public let embedding: [Double]
[5/6] Compiling PineconeSwift PineconeSwift.swift
[6/6] Emitting module PineconeSwift
Build complete! (7.82s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PineconeSwift",
  "name" : "PineconeSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "PineconeSwift",
      "targets" : [
        "PineconeSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PineconeSwift",
      "module_type" : "SwiftTarget",
      "name" : "PineconeSwift",
      "path" : "Sources/PineconeSwift",
      "product_memberships" : [
        "PineconeSwift"
      ],
      "sources" : [
        "EmbedModel.swift",
        "PineconeModels.swift",
        "PineconeSwift.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.