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 1.1.0 (ac42ee), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 22:08:49 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: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/malcommac/SwiftScanner
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at ac42ee1 Merge branch 'release/1.1.0'
Cloned https://github.com/malcommac/SwiftScanner.git
Revision (git rev-parse @):
ac42ee117614b3f651e6cb93ad08101d5c7d78b3
SUCCESS checkout https://github.com/malcommac/SwiftScanner.git at 1.1.0
========================================
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 (2.00s)
Creating working copy for https://github.com/malcommac/SwiftScanner.git
Working copy of https://github.com/malcommac/SwiftScanner.git resolved at 1.1.0 (ac42ee1)
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.05s)
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.