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 TextStory, reference 0.9.0 (8dc914), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 10:21:30 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/ChimeHQ/TextStory.git
Reference: 0.9.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ChimeHQ/TextStory
 * tag               0.9.0      -> FETCH_HEAD
HEAD is now at 8dc9148 Expand/Moderize CI, support catalyst
Cloned https://github.com/ChimeHQ/TextStory.git
Revision (git rev-parse @):
8dc9148b46fcf93b08ea9d4ef9bdb5e4f700e008
SUCCESS checkout https://github.com/ChimeHQ/TextStory.git at 0.9.0
Fetching https://github.com/ChimeHQ/Rearrange
[6/532] Fetching rearrange
Fetched https://github.com/ChimeHQ/Rearrange from cache (0.86s)
Computing version for https://github.com/ChimeHQ/Rearrange
Computed https://github.com/ChimeHQ/Rearrange at 1.5.0 (3.58s)
Creating working copy for https://github.com/ChimeHQ/Rearrange
Working copy of https://github.com/ChimeHQ/Rearrange resolved at 1.5.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": "textstory",
      "name": "TextStory",
      "url": "https://github.com/ChimeHQ/TextStory.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TextStory",
      "dependencies": [
        {
          "identity": "rearrange",
          "name": "Rearrange",
          "url": "https://github.com/ChimeHQ/Rearrange",
          "version": "1.8.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Rearrange",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/ChimeHQ/TextStory.git
[5/485] Fetching textstory
Fetched https://github.com/ChimeHQ/TextStory.git from cache (0.76s)
Fetching https://github.com/ChimeHQ/Rearrange from cache
Fetched https://github.com/ChimeHQ/Rearrange from cache (0.53s)
Computing version for https://github.com/ChimeHQ/Rearrange
Computed https://github.com/ChimeHQ/Rearrange at 1.8.1 (0.62s)
Creating working copy for https://github.com/ChimeHQ/Rearrange
Working copy of https://github.com/ChimeHQ/Rearrange resolved at 1.8.1
Creating working copy for https://github.com/ChimeHQ/TextStory.git
Working copy of https://github.com/ChimeHQ/TextStory.git resolved at 0.9.0 (8dc9148)
warning: '.resolve-product-dependencies': dependency 'textstory' is not used by any target
Found 1 product dependencies
  - Rearrange
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ChimeHQ/TextStory.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/5] Write sources
[3/5] Write swift-version--7754E27361AE5C74.txt
[4/12] Compiling Internal TSYTextStorage.m
[6/12] Compiling Rearrange RangeMutation.swift
[7/12] Compiling Rearrange NSRange+Shift.swift
[8/12] Compiling Rearrange NSRange+ApplyMutation.swift
[9/12] Emitting module Rearrange
[10/12] Compiling Rearrange NSTextRange+NSRange.swift
[11/12] Compiling Rearrange NSRange+Convenience.swift
[12/12] Compiling Rearrange IndexSet+NSRange.swift
[13/23] Compiling TextStory NSTextContentStorage+TextStoring.swift
[14/23] Compiling TextStory NSTextStorage+TextStoring.swift
[15/24] Compiling TextStory TextStoring+Ranges.swift
[16/24] Compiling TextStory TextStoringMonitor.swift
[17/24] Compiling TextStory TextStoring.swift
[18/24] Compiling TextStory TextMutation.swift
[19/24] Compiling TextStory TextMutationEventRouter.swift
[20/24] Compiling TextStory TextView+TextStoring.swift
/Users/admin/builder/spi-builder-workspace/Sources/TextStory/TextView+TextStoring.swift:13:25: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 8 | 	/// This was copied from the MainOffender library
 9 | 	@_unavailableFromAsync
10 | 	static func runUnsafely<T>(_ body: @MainActor () throws -> T) rethrows -> T {
   |                          `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
11 | #if swift(>=5.9)
12 | 		if #available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *) {
13 | 			return try MainActor.assumeIsolated(body)
   |                         `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
14 | 		}
15 | #endif
[21/24] Emitting module TextStory
[22/24] Compiling TextStory BufferingTextStorage.swift
[23/24] Compiling TextStory CompositeTextStoringMonitor.swift
[24/24] Compiling TextStory LazyTextStoringMonitor.swift
[25/27] Emitting module TextStoryTesting
[26/27] Compiling TextStoryTesting UndoSettingTextView.swift
[27/27] Compiling TextStoryTesting MockTextStoringMonitor.swift
Build complete! (17.13s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "rearrange",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ChimeHQ/Rearrange"
    }
  ],
  "manifest_display_name" : "TextStory",
  "name" : "TextStory",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "TextStory",
      "targets" : [
        "TextStory"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "TextStoryTesting",
      "targets" : [
        "TextStoryTesting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TextStoryTests",
      "module_type" : "SwiftTarget",
      "name" : "TextStoryTests",
      "path" : "Tests/TextStoryTests",
      "sources" : [
        "BufferingTextStorageTests.swift",
        "LazyTextStoringMonitorTests.swift",
        "TextEventMutationRouterTests.swift",
        "TextStoringRangeTests.swift",
        "TextStoringTests.swift",
        "TextViewTests.swift"
      ],
      "target_dependencies" : [
        "TextStory",
        "TextStoryTesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TextStoryTesting",
      "module_type" : "SwiftTarget",
      "name" : "TextStoryTesting",
      "path" : "Sources/TextStoryTesting",
      "product_memberships" : [
        "TextStoryTesting"
      ],
      "sources" : [
        "MockTextStoringMonitor.swift",
        "UndoSettingTextView.swift"
      ],
      "target_dependencies" : [
        "TextStory"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TextStory",
      "module_type" : "SwiftTarget",
      "name" : "TextStory",
      "path" : "Sources/TextStory",
      "product_dependencies" : [
        "Rearrange"
      ],
      "product_memberships" : [
        "TextStory",
        "TextStoryTesting"
      ],
      "sources" : [
        "BufferingTextStorage.swift",
        "CompositeTextStoringMonitor.swift",
        "LazyTextStoringMonitor.swift",
        "NSTextContentStorage+TextStoring.swift",
        "NSTextStorage+TextStoring.swift",
        "TextMutation.swift",
        "TextMutationEventRouter.swift",
        "TextStoring+Ranges.swift",
        "TextStoring.swift",
        "TextStoringMonitor.swift",
        "TextView+TextStoring.swift"
      ],
      "target_dependencies" : [
        "Internal"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Internal",
      "module_type" : "ClangTarget",
      "name" : "Internal",
      "path" : "Sources/Internal",
      "product_memberships" : [
        "TextStory",
        "TextStoryTesting"
      ],
      "sources" : [
        "TSYTextStorage.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.