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 Version, reference master (2961bd), with Swift 6.0 for macOS (SPM) on 30 Oct 2024 19:27:10 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/mono0926/version.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mono0926/version
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2961bd0 Update README
Cloned https://github.com/mono0926/version.git
Revision (git rev-parse @):
2961bd0413469b0dd60105c7b26cb67bab94ff3f
SUCCESS checkout https://github.com/mono0926/version.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": "version",
      "name": "Version",
      "url": "https://github.com/mono0926/version.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/version",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/mono0926/version.git
[1/28] Fetching version
Fetched https://github.com/mono0926/version.git from cache (0.64s)
Creating working copy for https://github.com/mono0926/version.git
Working copy of https://github.com/mono0926/version.git resolved at master (2961bd0)
warning: '.resolve-product-dependencies': dependency 'version' 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/mono0926/version.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/4] Emitting module Version
/Users/admin/builder/spi-builder-workspace/Sources/Version/Version.swift:56:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Version' to 'Hashable' by implementing 'hash(into:)' instead
 54 |     }
 55 |
 56 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Version' to 'Hashable' by implementing 'hash(into:)' instead
 57 |         // FIXME: We need Swift hashing utilities; this is based on CityHash
 58 |         // inspired code inside the Swift stdlib.
[4/4] Compiling Version Version.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version/Version.swift:56:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Version' to 'Hashable' by implementing 'hash(into:)' instead
 54 |     }
 55 |
 56 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Version' to 'Hashable' by implementing 'hash(into:)' instead
 57 |         // FIXME: We need Swift hashing utilities; this is based on CityHash
 58 |         // inspired code inside the Swift stdlib.
/Users/admin/builder/spi-builder-workspace/Sources/Version/Version.swift:142:31: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
140 |         let requiredComponents = requiredCharacters
141 |             .split(separator: ".", maxSplits: 2, omittingEmptySubsequences: false)
142 |             .map(String.init).flatMap({ Int($0) }).filter({ $0 >= 0 })
    |                               |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |                               `- note: use 'compactMap(_:)' instead
143 |
144 |         guard requiredComponents.count == 3 else { return nil }
Build complete! (2.79s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Version",
  "name" : "Version",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Version",
      "targets" : [
        "Version"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "VersionTests",
      "module_type" : "SwiftTarget",
      "name" : "VersionTests",
      "path" : "Tests/VersionTests",
      "sources" : [
        "VersionTests.swift"
      ],
      "target_dependencies" : [
        "Version"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Version",
      "module_type" : "SwiftTarget",
      "name" : "Version",
      "path" : "Sources/Version",
      "product_memberships" : [
        "Version"
      ],
      "sources" : [
        "Version.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.