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 Rearrange, reference main (eae387), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 19:40:02 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/Rearrange.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ChimeHQ/Rearrange
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at eae3879 Default implementation for textRange with NSRange
Cloned https://github.com/ChimeHQ/Rearrange.git
Revision (git rev-parse @):
eae38792ce4cc4c8ba74632d63109b35163f5877
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChimeHQ/Rearrange.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ChimeHQ/Rearrange.git
https://github.com/ChimeHQ/Rearrange.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Rearrange",
  "name" : "Rearrange",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Rearrange",
      "targets" : [
        "Rearrange"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RearrangeTests",
      "module_type" : "SwiftTarget",
      "name" : "RearrangeTests",
      "path" : "Tests/RearrangeTests",
      "sources" : [
        "IndexSetExtenstionTests.swift",
        "NSRangeApplyMutationTests.swift",
        "NSRangeShiftTests.swift",
        "NSRangeTests.swift",
        "NSTextRangeTests.swift",
        "RangeMutationTests.swift",
        "UITextRangeTests.swift"
      ],
      "target_dependencies" : [
        "Rearrange"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Rearrange",
      "module_type" : "SwiftTarget",
      "name" : "Rearrange",
      "path" : "Sources/Rearrange",
      "product_memberships" : [
        "Rearrange"
      ],
      "sources" : [
        "Bounded.swift",
        "IndexSet+ApplyMutation.swift",
        "IndexSet+NSRange.swift",
        "NSRange+ApplyMutation.swift",
        "NSRange+Convenience.swift",
        "NSRange+Shift.swift",
        "NSTextRange+Bounded.swift",
        "NSTextRange+NSRange.swift",
        "RangeMutation.swift",
        "String+NSRange.swift",
        "TextRangeCalculating.swift",
        "UITextRange+Convenience.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/14] Compiling Rearrange TextRangeCalculating.swift
/Users/admin/builder/spi-builder-workspace/Sources/Rearrange/TextRangeCalculating.swift:101:13: warning: stored property 'range' of 'Sendable'-conforming generic struct 'CalculatedRange' has non-sendable type 'Calculator.TextRange'; this is an error in the Swift 6 language mode
 99 |
100 | 	public let calculator: Calculator
101 | 	public let range: Calculator.TextRange
    |             `- warning: stored property 'range' of 'Sendable'-conforming generic struct 'CalculatedRange' has non-sendable type 'Calculator.TextRange'; this is an error in the Swift 6 language mode
102 |
103 | 	public init(_ range: Calculator.TextRange, calculator: Calculator) {
[4/14] Compiling Rearrange String+NSRange.swift
[5/14] Compiling Rearrange RangeMutation.swift
[6/15] Compiling Rearrange UITextRange+Convenience.swift
[7/15] Compiling Rearrange NSRange+Shift.swift
[8/15] Compiling Rearrange NSTextRange+Bounded.swift
[9/15] Compiling Rearrange NSRange+Convenience.swift
/Users/admin/builder/spi-builder-workspace/Sources/Rearrange/NSRange+Convenience.swift:22:1: warning: extension declares a conformance of imported type '_NSRange' to imported protocol 'Sequence'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
20 | }
21 |
22 | extension NSRange: Sequence {
   | |- warning: extension declares a conformance of imported type '_NSRange' to imported protocol 'Sequence'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
23 |     public typealias Element = Range<Int>.Element
24 |     public typealias Iterator = Range<Int>.Iterator
[10/15] Compiling Rearrange IndexSet+NSRange.swift
[11/15] Compiling Rearrange NSRange+ApplyMutation.swift
[12/15] Emitting module Rearrange
/Users/admin/builder/spi-builder-workspace/Sources/Rearrange/NSRange+Convenience.swift:22:1: warning: extension declares a conformance of imported type '_NSRange' to imported protocol 'Sequence'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
20 | }
21 |
22 | extension NSRange: Sequence {
   | |- warning: extension declares a conformance of imported type '_NSRange' to imported protocol 'Sequence'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
23 |     public typealias Element = Range<Int>.Element
24 |     public typealias Iterator = Range<Int>.Iterator
/Users/admin/builder/spi-builder-workspace/Sources/Rearrange/TextRangeCalculating.swift:101:13: warning: stored property 'range' of 'Sendable'-conforming generic struct 'CalculatedRange' has non-sendable type 'Calculator.TextRange'; this is an error in the Swift 6 language mode
 99 |
100 | 	public let calculator: Calculator
101 | 	public let range: Calculator.TextRange
    |             `- warning: stored property 'range' of 'Sendable'-conforming generic struct 'CalculatedRange' has non-sendable type 'Calculator.TextRange'; this is an error in the Swift 6 language mode
102 |
103 | 	public init(_ range: Calculator.TextRange, calculator: Calculator) {
[13/15] Compiling Rearrange NSTextRange+NSRange.swift
[14/15] Compiling Rearrange Bounded.swift
[15/15] Compiling Rearrange IndexSet+ApplyMutation.swift
Build complete! (8.36s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Rearrange",
  "name" : "Rearrange",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Rearrange",
      "targets" : [
        "Rearrange"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RearrangeTests",
      "module_type" : "SwiftTarget",
      "name" : "RearrangeTests",
      "path" : "Tests/RearrangeTests",
      "sources" : [
        "IndexSetExtenstionTests.swift",
        "NSRangeApplyMutationTests.swift",
        "NSRangeShiftTests.swift",
        "NSRangeTests.swift",
        "NSTextRangeTests.swift",
        "RangeMutationTests.swift",
        "UITextRangeTests.swift"
      ],
      "target_dependencies" : [
        "Rearrange"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Rearrange",
      "module_type" : "SwiftTarget",
      "name" : "Rearrange",
      "path" : "Sources/Rearrange",
      "product_memberships" : [
        "Rearrange"
      ],
      "sources" : [
        "Bounded.swift",
        "IndexSet+ApplyMutation.swift",
        "IndexSet+NSRange.swift",
        "NSRange+ApplyMutation.swift",
        "NSRange+Convenience.swift",
        "NSRange+Shift.swift",
        "NSTextRange+Bounded.swift",
        "NSTextRange+NSRange.swift",
        "RangeMutation.swift",
        "String+NSRange.swift",
        "TextRangeCalculating.swift",
        "UITextRange+Convenience.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.