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

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Beta.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.42.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tattn/randomizable.git
Reference: 1.0.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
warning: templates not found in /usr/share/git-core/templates
From https://github.com/tattn/randomizable
 * tag               1.0.4      -> FETCH_HEAD
HEAD is now at d9c37ef Fix typo
Cloned https://github.com/tattn/randomizable.git
Revision (git rev-parse @):
d9c37efd232b58f708c00f170635edc97e7d43ba
SUCCESS checkout https://github.com/tattn/randomizable.git at 1.0.4
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/tattn/randomizable.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Beta.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-6A63A117629E05AE.txt
[3/8] Compiling Randomizable Randomizable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Randomizable.swift:16:5: warning: 'public' modifier is redundant for static method declared in a public extension
14 |
15 | public extension Randomizable where Self: Decodable {
16 |     public static func randomValue(with configuration: RandomizableConfiguration = .init()) -> Self {
   |     `- warning: 'public' modifier is redundant for static method declared in a public extension
17 |         let randomDecoder = RandomDecoder(configuration: configuration)
18 |         return try! randomDecoder.decode(Self.self)
/Users/admin/builder/spi-builder-workspace/Sources/Randomizable.swift:23:5: warning: 'public' modifier is redundant for static method declared in a public extension
21 |
22 | public extension Randomizable where Self: Decodable, Self: CaseIterable {
23 |     public static func randomValue(with configuration: RandomizableConfiguration = .init()) -> Self {
   |     `- warning: 'public' modifier is redundant for static method declared in a public extension
24 |         return allCases.randomElement()!
25 |     }
[4/8] Compiling Randomizable DefaultRandomValue.swift
[5/8] Compiling Randomizable Configuration.swift
[6/8] Compiling Randomizable RandomDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/RandomDecoder.swift:44:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 42 |
 43 | extension RandomDecoder {
 44 |     open func decode<T : Decodable>(_ type: T.Type) throws -> T {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 45 |         return try T(from: self)
 46 |     }
[7/8] Emitting module Randomizable
/Users/admin/builder/spi-builder-workspace/Sources/RandomDecoder.swift:44:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 42 |
 43 | extension RandomDecoder {
 44 |     open func decode<T : Decodable>(_ type: T.Type) throws -> T {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 45 |         return try T(from: self)
 46 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Randomizable.swift:16:5: warning: 'public' modifier is redundant for static method declared in a public extension
14 |
15 | public extension Randomizable where Self: Decodable {
16 |     public static func randomValue(with configuration: RandomizableConfiguration = .init()) -> Self {
   |     `- warning: 'public' modifier is redundant for static method declared in a public extension
17 |         let randomDecoder = RandomDecoder(configuration: configuration)
18 |         return try! randomDecoder.decode(Self.self)
/Users/admin/builder/spi-builder-workspace/Sources/Randomizable.swift:23:5: warning: 'public' modifier is redundant for static method declared in a public extension
21 |
22 | public extension Randomizable where Self: Decodable, Self: CaseIterable {
23 |     public static func randomValue(with configuration: RandomizableConfiguration = .init()) -> Self {
   |     `- warning: 'public' modifier is redundant for static method declared in a public extension
24 |         return allCases.randomElement()!
25 |     }
[8/8] Compiling Randomizable AnyCodingKey.swift
Build complete! (6.96s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Randomizable",
  "name" : "Randomizable",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Randomizable",
      "targets" : [
        "Randomizable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4"
  ],
  "targets" : [
    {
      "c99name" : "Randomizable",
      "module_type" : "SwiftTarget",
      "name" : "Randomizable",
      "path" : "Sources",
      "product_memberships" : [
        "Randomizable"
      ],
      "sources" : [
        "AnyCodingKey.swift",
        "Configuration.swift",
        "DefaultRandomValue.swift",
        "RandomDecoder.swift",
        "Randomizable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.