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 SwiftScanner, reference master (d942ef), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 22:08:19 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/malcommac/SwiftScanner.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/malcommac/SwiftScanner
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d942efe Fixed FlowKit link
Cloned https://github.com/malcommac/SwiftScanner.git
Revision (git rev-parse @):
d942efe72d0a9f0fee7b2b2c71b614475502f236
SUCCESS checkout https://github.com/malcommac/SwiftScanner.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": "swiftscanner",
      "name": "SwiftScanner",
      "url": "https://github.com/malcommac/SwiftScanner.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftScanner",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/malcommac/SwiftScanner.git
[1/566] Fetching swiftscanner
Fetched https://github.com/malcommac/SwiftScanner.git from cache (1.98s)
Creating working copy for https://github.com/malcommac/SwiftScanner.git
Working copy of https://github.com/malcommac/SwiftScanner.git resolved at master (d942efe)
warning: '.resolve-product-dependencies': dependency 'swiftscanner' 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/malcommac/SwiftScanner.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 SwiftScanner
[4/4] Compiling SwiftScanner StringScanner.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftScanner/StringScanner.swift:184:7: warning: initialization of immutable value 'prevConsumed' was never used; consider replacing with assignment to '_' or removing it
182 | 	/// - Throws: throw an exception .invalidFloat or .eof according to the error
183 | 	public func scanFloat() throws -> Float {
184 | 		let prevConsumed = self.consumed
    |       `- warning: initialization of immutable value 'prevConsumed' was never used; consider replacing with assignment to '_' or removing it
185 |
186 | 		func throwAndBackBy(length: Int) {
Build complete! (6.30s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftScanner",
  "name" : "SwiftScanner",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftScanner",
      "targets" : [
        "SwiftScanner"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftScanner",
      "module_type" : "SwiftTarget",
      "name" : "SwiftScanner",
      "path" : "Sources/SwiftScanner",
      "product_memberships" : [
        "SwiftScanner"
      ],
      "sources" : [
        "StringScanner.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.