The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SwiftRichString, reference 3.7.2 (9bf4b5), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 09:54:26 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/malcommac/SwiftRichString.git
Reference: 3.7.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/malcommac/SwiftRichString
 * tag               3.7.2      -> FETCH_HEAD
HEAD is now at 9bf4b5a Merge branch 'release/3.7.2'
Cloned https://github.com/malcommac/SwiftRichString.git
Revision (git rev-parse @):
9bf4b5af6bb4386865636fc504d6c588c2b65040
SUCCESS checkout https://github.com/malcommac/SwiftRichString.git at 3.7.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/malcommac/SwiftRichString.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/28] Emitting module SwiftRichString
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Extensions/AttributedString+FunctionBuilder.swift:33:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
31 | import Foundation
32 |
33 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
34 | public class AttributedStringBuilder {
35 |     public static func buildBlock(_ components: AttributedString...) -> AttributedString {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/FontInfoAttribute.swift:49:40: warning: cannot use struct 'FeatureKey' here; 'AppKit' was not imported by this file
 47 | public extension FontInfoAttribute {
 48 |
 49 | 	func attributes() -> [[FontDescriptor.FeatureKey: Any]] {
    |                                        `- warning: cannot use struct 'FeatureKey' here; 'AppKit' was not imported by this file
 50 | 		let featureSettings = self.featureSettings()
 51 | 		return featureSettings.map {
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSFontDescriptor.h:54:20: note: struct declared here
 52 | typedef NSString * NSFontDescriptorTraitKey NS_TYPED_ENUM;
 53 | typedef NSString * NSFontDescriptorVariationKey NS_TYPED_ENUM;
 54 | typedef NSString * NSFontDescriptorFeatureKey NS_TYPED_EXTENSIBLE_ENUM;
    |                    `- note: struct declared here
 55 | typedef CGFloat NSFontWeight NS_TYPED_EXTENSIBLE_ENUM;
 56 | typedef CGFloat NSFontWidth NS_TYPED_EXTENSIBLE_ENUM;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Style/StyleProtocol.swift:35:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 33 | public typealias AttributedString = NSMutableAttributedString
 34 |
 35 | public protocol StyleProtocol: class {
    |                                `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 36 |
 37 | 	/// Return the attributes of the style in form of dictionary `NSAttributedStringKey`/`Any`.
[4/30] Compiling SwiftRichString String+Subscript.swift
[5/30] Compiling SwiftRichString SystemFonts.swift
[6/30] Compiling SwiftRichString UIKit+Extras.swift
[7/30] Compiling SwiftRichString XMLDynamicAttributesResolver.swift
[8/30] Compiling SwiftRichString XMLStringBuilder.swift
[9/30] Compiling SwiftRichString TextTransform.swift
[10/30] Compiling SwiftRichString URLRepresentable.swift
[11/30] Compiling SwiftRichString AttributedString+Attachments.swift
[12/30] Compiling SwiftRichString AttributedString+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Extensions/AttributedString+FunctionBuilder.swift:33:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
31 | import Foundation
32 |
33 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
34 | public class AttributedStringBuilder {
35 |     public static func buildBlock(_ components: AttributedString...) -> AttributedString {
[13/30] Compiling SwiftRichString AttributedString+FunctionBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Extensions/AttributedString+FunctionBuilder.swift:33:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
31 | import Foundation
32 |
33 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
34 | public class AttributedStringBuilder {
35 |     public static func buildBlock(_ components: AttributedString...) -> AttributedString {
[14/30] Compiling SwiftRichString String+Ext.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Extensions/AttributedString+FunctionBuilder.swift:33:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
31 | import Foundation
32 |
33 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
34 | public class AttributedStringBuilder {
35 |     public static func buildBlock(_ components: AttributedString...) -> AttributedString {
[15/30] Compiling SwiftRichString ColorConvertible.swift
[16/30] Compiling SwiftRichString CommonsAttributes.swift
[17/30] Compiling SwiftRichString DynamicText.swift
[18/30] Compiling SwiftRichString Extensions.swift
[19/30] Compiling SwiftRichString OrderedDictionary.swift
[20/30] Compiling SwiftRichString AsyncTextAttachment.swift
[21/30] Compiling SwiftRichString Compatibility.swift
[22/30] Compiling SwiftRichString StyleRegEx.swift
[23/30] Compiling SwiftRichString StylesManager.swift
[24/30] Compiling SwiftRichString AssociatedValues.swift
[25/30] Compiling SwiftRichString Style.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Style/StyleProtocol.swift:35:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 33 | public typealias AttributedString = NSMutableAttributedString
 34 |
 35 | public protocol StyleProtocol: class {
    |                                `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 36 |
 37 | 	/// Return the attributes of the style in form of dictionary `NSAttributedStringKey`/`Any`.
[26/30] Compiling SwiftRichString StyleGroup.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Style/StyleProtocol.swift:35:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 33 | public typealias AttributedString = NSMutableAttributedString
 34 |
 35 | public protocol StyleProtocol: class {
    |                                `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 36 |
 37 | 	/// Return the attributes of the style in form of dictionary `NSAttributedStringKey`/`Any`.
[27/30] Compiling SwiftRichString StyleProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Style/StyleProtocol.swift:35:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 33 | public typealias AttributedString = NSMutableAttributedString
 34 |
 35 | public protocol StyleProtocol: class {
    |                                `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 36 |
 37 | 	/// Return the attributes of the style in form of dictionary `NSAttributedStringKey`/`Any`.
[28/30] Compiling SwiftRichString FontConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/FontInfoAttribute.swift:49:40: warning: cannot use struct 'FeatureKey' here; 'AppKit' was not imported by this file
 47 | public extension FontInfoAttribute {
 48 |
 49 | 	func attributes() -> [[FontDescriptor.FeatureKey: Any]] {
    |                                        `- warning: cannot use struct 'FeatureKey' here; 'AppKit' was not imported by this file
 50 | 		let featureSettings = self.featureSettings()
 51 | 		return featureSettings.map {
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSFontDescriptor.h:54:20: note: struct declared here
 52 | typedef NSString * NSFontDescriptorTraitKey NS_TYPED_ENUM;
 53 | typedef NSString * NSFontDescriptorVariationKey NS_TYPED_ENUM;
 54 | typedef NSString * NSFontDescriptorFeatureKey NS_TYPED_EXTENSIBLE_ENUM;
    |                    `- note: struct declared here
 55 | typedef CGFloat NSFontWeight NS_TYPED_EXTENSIBLE_ENUM;
 56 | typedef CGFloat NSFontWidth NS_TYPED_EXTENSIBLE_ENUM;
[29/30] Compiling SwiftRichString FontData.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/FontInfoAttribute.swift:49:40: warning: cannot use struct 'FeatureKey' here; 'AppKit' was not imported by this file
 47 | public extension FontInfoAttribute {
 48 |
 49 | 	func attributes() -> [[FontDescriptor.FeatureKey: Any]] {
    |                                        `- warning: cannot use struct 'FeatureKey' here; 'AppKit' was not imported by this file
 50 | 		let featureSettings = self.featureSettings()
 51 | 		return featureSettings.map {
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSFontDescriptor.h:54:20: note: struct declared here
 52 | typedef NSString * NSFontDescriptorTraitKey NS_TYPED_ENUM;
 53 | typedef NSString * NSFontDescriptorVariationKey NS_TYPED_ENUM;
 54 | typedef NSString * NSFontDescriptorFeatureKey NS_TYPED_EXTENSIBLE_ENUM;
    |                    `- note: struct declared here
 55 | typedef CGFloat NSFontWeight NS_TYPED_EXTENSIBLE_ENUM;
 56 | typedef CGFloat NSFontWidth NS_TYPED_EXTENSIBLE_ENUM;
[30/30] Compiling SwiftRichString FontInfoAttribute.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/FontInfoAttribute.swift:49:40: warning: cannot use struct 'FeatureKey' here; 'AppKit' was not imported by this file
 47 | public extension FontInfoAttribute {
 48 |
 49 | 	func attributes() -> [[FontDescriptor.FeatureKey: Any]] {
    |                                        `- warning: cannot use struct 'FeatureKey' here; 'AppKit' was not imported by this file
 50 | 		let featureSettings = self.featureSettings()
 51 | 		return featureSettings.map {
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSFontDescriptor.h:54:20: note: struct declared here
 52 | typedef NSString * NSFontDescriptorTraitKey NS_TYPED_ENUM;
 53 | typedef NSString * NSFontDescriptorVariationKey NS_TYPED_ENUM;
 54 | typedef NSString * NSFontDescriptorFeatureKey NS_TYPED_EXTENSIBLE_ENUM;
    |                    `- note: struct declared here
 55 | typedef CGFloat NSFontWeight NS_TYPED_EXTENSIBLE_ENUM;
 56 | typedef CGFloat NSFontWidth NS_TYPED_EXTENSIBLE_ENUM;
Build complete! (8.32s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftRichString",
  "name" : "SwiftRichString",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftRichString",
      "targets" : [
        "SwiftRichString"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftRichStringTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftRichStringTests",
      "path" : "Tests/SwiftRichStringTests",
      "sources" : [
        "SwiftRichStringTests.swift"
      ],
      "target_dependencies" : [
        "SwiftRichString"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftRichString",
      "module_type" : "SwiftTarget",
      "name" : "SwiftRichString",
      "path" : "Sources/SwiftRichString",
      "product_memberships" : [
        "SwiftRichString"
      ],
      "sources" : [
        "Attributes/ColorConvertible.swift",
        "Attributes/CommonsAttributes.swift",
        "Attributes/DynamicText.swift",
        "Attributes/FontConvertible.swift",
        "Attributes/FontData.swift",
        "Attributes/FontInfoAttribute.swift",
        "Attributes/TextTransform.swift",
        "Attributes/URLRepresentable.swift",
        "Extensions/AttributedString+Attachments.swift",
        "Extensions/AttributedString+Extension.swift",
        "Extensions/AttributedString+FunctionBuilder.swift",
        "Extensions/String+Ext.swift",
        "Extensions/String+Subscript.swift",
        "Extensions/SystemFonts.swift",
        "Extensions/UIKit+Extras.swift",
        "Style/Style.swift",
        "Style/StyleGroup.swift",
        "Style/StyleProtocol.swift",
        "Style/StyleRegEx.swift",
        "Style/StylesManager.swift",
        "Support/AssociatedValues.swift",
        "Support/AsyncTextAttachment.swift",
        "Support/Compatibility.swift",
        "Support/Extensions.swift",
        "Support/OrderedDictionary.swift",
        "Support/XMLDynamicAttributesResolver.swift",
        "Support/XMLStringBuilder.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.