This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 AttributedText with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gonzalezreal/AttributedText.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/gonzalezreal/AttributedText
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 039206e Update README.md
Cloned https://github.com/gonzalezreal/AttributedText.git
Revision (git rev-parse @):
039206ea7a698d349b3bd73d78023e0c0fd52841
SUCCESS checkout https://github.com/gonzalezreal/AttributedText.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/gonzalezreal/AttributedText.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/10] Compiling AttributedText AttributedTextImpl+tvOS.swift
[4/10] Compiling AttributedText AttributedTextImpl.swift
[5/10] Compiling AttributedText TextSizeViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/AttributedText/TextSizeViewModel.swift:7:25: warning: main actor-isolated property 'intrinsicContentSize' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 4 |   @Published var textSize: CGSize?
 5 |
 6 |   func didUpdateTextView(_ textView: AttributedTextImpl.TextView) {
   |        `- note: add '@MainActor' to make instance method 'didUpdateTextView' part of global actor 'MainActor'
 7 |     textSize = textView.intrinsicContentSize
   |                         `- warning: main actor-isolated property 'intrinsicContentSize' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 8 |   }
 9 | }
/Users/admin/builder/spi-builder-workspace/Sources/AttributedText/AttributedTextImpl+macOS.swift:48:20: note: property declared here
46 |       }
47 |
48 |       override var intrinsicContentSize: NSSize {
   |                    `- note: property declared here
49 |         guard maxLayoutWidth > 0,
50 |           let textContainer = self.textContainer,
[6/10] Compiling AttributedText NSLineBreakMode+TruncationMode.swift
[7/10] Compiling AttributedText AttributedTextImpl+iOS.swift
[8/10] Emitting module AttributedText
[9/10] Compiling AttributedText AttributedText.swift
[10/10] Compiling AttributedText AttributedTextImpl+macOS.swift
Build complete! (38.76s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/11249] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.84s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.9.0 (0.65s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.9.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-snapshot-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.9.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-snapshot-testing"
    }
  ],
  "manifest_display_name" : "AttributedText",
  "name" : "AttributedText",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "AttributedText",
      "targets" : [
        "AttributedText"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AttributedTextTests",
      "module_type" : "SwiftTarget",
      "name" : "AttributedTextTests",
      "path" : "Tests/AttributedTextTests",
      "product_dependencies" : [
        "SnapshotTesting"
      ],
      "sources" : [
        "AttributedTextTests.swift"
      ],
      "target_dependencies" : [
        "AttributedText"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AttributedText",
      "module_type" : "SwiftTarget",
      "name" : "AttributedText",
      "path" : "Sources/AttributedText",
      "product_memberships" : [
        "AttributedText"
      ],
      "sources" : [
        "AttributedText.swift",
        "AttributedTextImpl+iOS.swift",
        "AttributedTextImpl+macOS.swift",
        "AttributedTextImpl+tvOS.swift",
        "AttributedTextImpl.swift",
        "NSLineBreakMode+TruncationMode.swift",
        "TextSizeViewModel.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.