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 5.9 for macOS (SPM) on 19 Feb 2025 17:09:29 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.60.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:             5.9
Building package at path:  $PWD
https://github.com/ChimeHQ/Rearrange.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/12] Compiling Rearrange RangeMutation.swift
[2/13] Compiling Rearrange Bounded.swift
[3/13] Compiling Rearrange IndexSet+ApplyMutation.swift
[4/13] Compiling Rearrange String+NSRange.swift
[5/13] 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'
        public let range: Calculator.TextRange
                   ^
[6/13] Compiling Rearrange UITextRange+Convenience.swift
[7/13] Compiling Rearrange NSTextRange+Bounded.swift
[8/13] Compiling Rearrange NSRange+Shift.swift
[9/13] Compiling Rearrange IndexSet+NSRange.swift
[10/13] Compiling Rearrange NSRange+ApplyMutation.swift
[11/13] Emitting module Rearrange
/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'
        public let range: Calculator.TextRange
                   ^
[12/13] Compiling Rearrange NSTextRange+NSRange.swift
[13/13] Compiling Rearrange NSRange+Convenience.swift
Build complete! (7.37s)
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Tests/RearrangeTests/RearrangeTests.xcconfig
    /Users/admin/builder/spi-builder-workspace/Tests/RearrangeTests/Info.plist
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.