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 JustSugar, reference main (b73736), with Swift 6.0 for macOS (SPM) on 16 Sep 2024 16:00:26 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.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.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mesqueeb/JustSugar.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mesqueeb/JustSugar
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b73736f chore: bump
Cloned https://github.com/mesqueeb/JustSugar.git
Revision (git rev-parse @):
b73736f6df0ac1a2c5b4c8f51d33916f71c22268
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mesqueeb/JustSugar.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/mesqueeb/JustSugar.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.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-117DEE11B69C53C9.txt
[3/5] Compiling JustSugar Arrays.swift
/Users/admin/builder/spi-builder-workspace/Sources/Arrays.swift:167:9: warning: initialization of immutable value 'removedElements' was never used; consider replacing with assignment to '_' or removing it
165 |     var newArr = self
166 |     let end = if let deleteCount { start + deleteCount } else { count }
167 |     let removedElements = newArr.slice(start, end)
    |         `- warning: initialization of immutable value 'removedElements' was never used; consider replacing with assignment to '_' or removing it
168 |     newArr.replaceSubrange(start ..< end, with: elements)
169 |     return newArr
[4/5] Compiling JustSugar Strings.swift
[5/5] Emitting module JustSugar
/Users/admin/builder/spi-builder-workspace/Sources/Arrays.swift:167:9: warning: initialization of immutable value 'removedElements' was never used; consider replacing with assignment to '_' or removing it
165 |     var newArr = self
166 |     let end = if let deleteCount { start + deleteCount } else { count }
167 |     let removedElements = newArr.slice(start, end)
    |         `- warning: initialization of immutable value 'removedElements' was never used; consider replacing with assignment to '_' or removing it
168 |     newArr.replaceSubrange(start ..< end, with: elements)
169 |     return newArr
Build complete! (7.51s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "JustSugar",
  "name" : "JustSugar",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "JustSugar",
      "targets" : [
        "JustSugar"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JustSugarTests",
      "module_type" : "SwiftTarget",
      "name" : "JustSugarTests",
      "path" : "Tests",
      "sources" : [
        "Arrays.swift",
        "Strings.swift"
      ],
      "target_dependencies" : [
        "JustSugar"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JustSugar",
      "module_type" : "SwiftTarget",
      "name" : "JustSugar",
      "path" : "Sources",
      "product_memberships" : [
        "JustSugar"
      ],
      "sources" : [
        "Arrays.swift",
        "Strings.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.