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.0 for macOS (SPM) on 19 Feb 2025 17:08:50 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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.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
========================================
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": "rearrange",
      "name": "Rearrange",
      "url": "https://github.com/ChimeHQ/Rearrange.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Rearrange",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ChimeHQ/Rearrange.git
[1/554] Fetching rearrange
Fetched https://github.com/ChimeHQ/Rearrange.git from cache (0.78s)
Creating working copy for https://github.com/ChimeHQ/Rearrange.git
Working copy of https://github.com/ChimeHQ/Rearrange.git resolved at main (eae3879)
warning: '.resolve-product-dependencies': dependency 'rearrange' 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/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.2.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-5BDAB9E9C0126B9D.txt
[3/14] Compiling Rearrange RangeMutation.swift
[4/15] 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) {
[5/15] Compiling Rearrange String+NSRange.swift
[6/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) {
[7/15] Compiling Rearrange UITextRange+Convenience.swift
[8/15] Compiling Rearrange NSTextRange+Bounded.swift
[9/15] Compiling Rearrange IndexSet+NSRange.swift
[10/15] Compiling Rearrange NSRange+ApplyMutation.swift
[11/15] Compiling Rearrange NSRange+Shift.swift
[12/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
[13/15] Compiling Rearrange NSTextRange+NSRange.swift
[14/15] Compiling Rearrange Bounded.swift
[15/15] Compiling Rearrange IndexSet+ApplyMutation.swift
Build complete! (15.17s)
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"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/chimehq/rearrange/main
Repository:               ChimeHQ/Rearrange
Swift version used:       6.0
Target:                   Rearrange
Extracting symbol information for 'Rearrange'...
Finished extracting symbol information for 'Rearrange'. (4.48s)
Building documentation for 'Rearrange'...
Finished building documentation for 'Rearrange' (0.38s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/chimehq/rearrange/main
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2050] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.16s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (2.52s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3309] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.19s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.57s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-5BDAB9E9C0126B9D.txt
[6/53] Compiling SymbolKit DeclarationFragments.swift
[7/53] Compiling SymbolKit Fragment.swift
[8/53] Compiling SymbolKit FragmentKind.swift
[9/53] Compiling SymbolKit FunctionParameter.swift
[10/53] Compiling SymbolKit FunctionSignature.swift
[11/57] Compiling SymbolKit Identifier.swift
[12/57] Compiling SymbolKit KindIdentifier.swift
[13/57] Compiling SymbolKit Location.swift
[14/57] Compiling SymbolKit Mutability.swift
[15/57] Compiling SymbolKit GenericConstraint.swift
[16/57] Compiling SymbolKit GenericParameter.swift
[17/57] Compiling SymbolKit Generics.swift
[18/57] Compiling SymbolKit Namespace.swift
[19/57] Compiling SymbolKit SemanticVersion.swift
[20/57] Compiling SymbolKit AccessControl.swift
[21/57] Compiling SymbolKit Availability.swift
[22/57] Compiling SymbolKit AvailabilityItem.swift
[23/57] Compiling SymbolKit Domain.swift
[24/57] Emitting module SymbolKit
[25/57] Compiling SymbolKit Names.swift
[26/57] Compiling SymbolKit SPI.swift
[27/57] Compiling SymbolKit Snippet.swift
[28/57] Compiling SymbolKit Extension.swift
[29/57] Compiling SymbolKit Relationship.swift
[30/57] Compiling SymbolKit RelationshipKind.swift
[31/57] Compiling SymbolKit SourceOrigin.swift
[32/57] Compiling SymbolKit GenericConstraints.swift
[33/57] Compiling SymbolKit Swift.swift
[34/57] Compiling SymbolKit SourceRange.swift
[35/57] Compiling SymbolKit Metadata.swift
[36/57] Compiling SymbolKit Module.swift
[37/57] Compiling SymbolKit OperatingSystem.swift
[38/57] Compiling SymbolKit Platform.swift
[39/57] Compiling SymbolKit Mixin+Equals.swift
[40/57] Compiling SymbolKit Mixin+Hash.swift
[41/57] Compiling SymbolKit Mixin.swift
[42/57] Compiling SymbolKit LineList.swift
[43/57] Compiling SymbolKit Position.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets Snippet.swift
[53/57] Compiling Snippets SnippetParser.swift
[54/57] Emitting module Snippets
[55/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[56/61] Compiling snippet_extract URL+Status.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.65s)
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
[2/13] Compiling Rearrange String+NSRange.swift
[3/13] Compiling Rearrange NSTextRange+Bounded.swift
[4/13] Compiling Rearrange RangeMutation.swift
[5/13] Compiling Rearrange NSTextRange+NSRange.swift
[6/13] 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
[7/13] Compiling Rearrange NSRange+Shift.swift
[8/13] Compiling Rearrange IndexSet+NSRange.swift
[9/13] Compiling Rearrange NSRange+ApplyMutation.swift
[10/13] Compiling Rearrange Bounded.swift
[11/13] Compiling Rearrange IndexSet+ApplyMutation.swift
[12/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'; 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/13] 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) {
[14/14] Compiling Rearrange UITextRange+Convenience.swift
Build of target: 'Rearrange' complete! (1.05s)
     256
3	/Users/admin/builder/spi-builder-workspace/.docs/chimehq/rearrange/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/chimehq/rearrange/main
File count: 256
Doc size:   3.0MB
Preparing doc bundle ...
Uploading prod-chimehq-rearrange-main-9c03ed71.zip to s3://spi-docs-inbox/prod-chimehq-rearrange-main-9c03ed71.zip
Copying... [12%]
Copying... [24%]
Copying... [36%]
Copying... [47%]
Copying... [59%]
Copying... [71%]
Copying... [83%]
Copying... [95%]
Copying... [100%]
Done.