This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 SMLib with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tosbaha/SMLib.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tosbaha/SMLib
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a0f18e7 Merge pull request #2 from orospakr/swift-pm-4
Cloned https://github.com/tosbaha/SMLib.git
Revision (git rev-parse @):
a0f18e7b7ad6afee07fd6388740139e2df8d93f0
SUCCESS checkout https://github.com/tosbaha/SMLib.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/tosbaha/SMLib.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[3/6] Compiling SMLib SMEngineProtocol.swift
[4/6] Compiling SMLib SM2Engine.swift
/Users/admin/builder/spi-builder-workspace/Source/Flashcard.swift:21:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Flashcard' to 'Hashable' by implementing 'hash(into:)' instead
19 |     public var previousDate = Date().timeIntervalSince1970
20 |     public var nextDate = Date().timeIntervalSince1970
21 |     public var hashValue: Int {
   |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Flashcard' to 'Hashable' by implementing 'hash(into:)' instead
22 |         return uuid.hashValue
23 |     }
[5/6] Emitting module SMLib
/Users/admin/builder/spi-builder-workspace/Source/Flashcard.swift:21:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Flashcard' to 'Hashable' by implementing 'hash(into:)' instead
19 |     public var previousDate = Date().timeIntervalSince1970
20 |     public var nextDate = Date().timeIntervalSince1970
21 |     public var hashValue: Int {
   |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Flashcard' to 'Hashable' by implementing 'hash(into:)' instead
22 |         return uuid.hashValue
23 |     }
[6/6] Compiling SMLib Flashcard.swift
/Users/admin/builder/spi-builder-workspace/Source/Flashcard.swift:21:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Flashcard' to 'Hashable' by implementing 'hash(into:)' instead
19 |     public var previousDate = Date().timeIntervalSince1970
20 |     public var nextDate = Date().timeIntervalSince1970
21 |     public var hashValue: Int {
   |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Flashcard' to 'Hashable' by implementing 'hash(into:)' instead
22 |         return uuid.hashValue
23 |     }
Build complete! (15.87s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SMLib",
  "name" : "SMLib",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SMLib",
      "targets" : [
        "SMLib"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SMLib",
      "module_type" : "SwiftTarget",
      "name" : "SMLib",
      "path" : ".",
      "product_memberships" : [
        "SMLib"
      ],
      "sources" : [
        "Source/Flashcard.swift",
        "Source/SM2Engine.swift",
        "Source/SMEngineProtocol.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.