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

Failed to build TextStory, reference main (0e9110), with Swift 5.9 for macOS (SPM) on 13 Jul 2024 21:20:40 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.46.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/TextStory.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ChimeHQ/TextStory
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0e9110d Update Package.swift (#5)
Cloned https://github.com/ChimeHQ/TextStory.git
Revision (git rev-parse @):
0e9110d717ecd1b29fc8029f971862893fa42776
SUCCESS checkout https://github.com/ChimeHQ/TextStory.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $workDir
https://github.com/ChimeHQ/TextStory.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/11] Compiling Internal TSYTextStorage.m
[2/11] Compiling Rearrange String+NSRange.swift
[3/12] Compiling Rearrange NSRange+ApplyMutation.swift
[4/12] Compiling Rearrange IndexSet+NSRange.swift
[5/12] Emitting module Rearrange
[6/12] Compiling Rearrange RangeMutation.swift
[7/12] Compiling Rearrange UITextRange+Convenience.swift
[8/12] Compiling Rearrange IndexSet+ApplyMutation.swift
[9/12] Compiling Rearrange NSRange+Convenience.swift
[10/12] Compiling Rearrange NSTextLocation+Comparable.swift
[11/12] Compiling Rearrange NSRange+Shift.swift
[12/12] Compiling Rearrange NSTextRange+NSRange.swift
[13/23] Compiling TextStory NSTextStorage+TextStoring.swift
[14/24] Compiling TextStory TextMutation.swift
[15/24] Compiling TextStory TextMutationEventRouter.swift
[16/24] Compiling TextStory TextStoringMonitor.swift
[17/24] Compiling TextStory TextStoring+Ranges.swift
[18/24] Compiling TextStory TextStoring.swift
[19/24] Compiling TextStory TextView+TextStoring.swift
/Users/admin/builder/spi-builder-workspace/Sources/TextStory/TextView+TextStoring.swift:8:13: error: 'assumeIsolated(_:file:line:)' is only available in macOS 14.0 or newer
                MainActor.assumeIsolated {
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/TextStory/TextView+TextStoring.swift:8:13: note: add 'if #available' version check
                MainActor.assumeIsolated {
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/TextStory/TextView+TextStoring.swift:7:28: note: add @available attribute to enclosing property
    public nonisolated var length: Int {
                           ^
/Users/admin/builder/spi-builder-workspace/Sources/TextStory/TextView+TextStoring.swift:6:1: note: add @available attribute to enclosing extension
extension NSTextView: TextStoring {
^
/Users/admin/builder/spi-builder-workspace/Sources/TextStory/TextView+TextStoring.swift:14:13: error: 'assumeIsolated(_:file:line:)' is only available in macOS 14.0 or newer
                MainActor.assumeIsolated {
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/TextStory/TextView+TextStoring.swift:14:13: note: add 'if #available' version check
                MainActor.assumeIsolated {
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/TextStory/TextView+TextStoring.swift:13:29: note: add @available attribute to enclosing instance method
    public nonisolated func substring(from range: NSRange) -> String? {
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/TextStory/TextView+TextStoring.swift:6:1: note: add @available attribute to enclosing extension
extension NSTextView: TextStoring {
^
/Users/admin/builder/spi-builder-workspace/Sources/TextStory/TextView+TextStoring.swift:20:13: error: 'assumeIsolated(_:file:line:)' is only available in macOS 14.0 or newer
                MainActor.assumeIsolated {
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/TextStory/TextView+TextStoring.swift:20:13: note: add 'if #available' version check
                MainActor.assumeIsolated {
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/TextStory/TextView+TextStoring.swift:19:29: note: add @available attribute to enclosing instance method
    public nonisolated func applyMutation(_ mutation: TextMutation) {
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/TextStory/TextView+TextStoring.swift:6:1: note: add @available attribute to enclosing extension
extension NSTextView: TextStoring {
^
[20/24] Compiling TextStory NSTextContentStorage+TextStoring.swift
[21/24] Compiling TextStory LazyTextStoringMonitor.swift
[22/24] Emitting module TextStory
[23/24] Compiling TextStory BufferingTextStorage.swift
[24/24] Compiling TextStory CompositeTextStoringMonitor.swift
error: fatalError
Fetching https://github.com/ChimeHQ/Rearrange
[1/516] Fetching rearrange
Fetched https://github.com/ChimeHQ/Rearrange (1.41s)
Computing version for https://github.com/ChimeHQ/Rearrange
Computed https://github.com/ChimeHQ/Rearrange at 1.8.1 (2.99s)
Creating working copy for https://github.com/ChimeHQ/Rearrange
Working copy of https://github.com/ChimeHQ/Rearrange resolved at 1.8.1
BUILD FAILURE 5.9 macosSpm