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, reference master (d9c37e), with Swift 6.0 for macOS (SPM) on 30 Oct 2024 17:51:55 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tattn/randomizable.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tattn/randomizable
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
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": "randomizable",
      "name": "Randomizable",
      "url": "https://github.com/tattn/randomizable.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/randomizable",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/tattn/randomizable.git
[1/96] Fetching randomizable
Fetched https://github.com/tattn/randomizable.git from cache (0.65s)
Creating working copy for https://github.com/tattn/randomizable.git
Working copy of https://github.com/tattn/randomizable.git resolved at master (d9c37ef)
warning: '.resolve-product-dependencies': dependency 'randomizable' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/tattn/randomizable.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.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--7754E27361AE5C74.txt
[3/8] Compiling Randomizable DefaultRandomValue.swift
[4/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 |     }
[5/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 |     }
[6/8] Compiling Randomizable AnyCodingKey.swift
[7/8] Compiling Randomizable Configuration.swift
[8/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 |     }
Build complete! (7.64s)
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.