The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftRichString, reference master (e0b72d), with Swift 6.4 for macOS (SPM) on 16 Sep 2026 22:35:22 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/malcommac/SwiftRichString.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/malcommac/SwiftRichString
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e0b72d5 Updated logo
Cloned https://github.com/malcommac/SwiftRichString.git
Revision (git rev-parse @):
e0b72d5c96968d7802856d2be096202c9798e8d1
SUCCESS checkout https://github.com/malcommac/SwiftRichString.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/malcommac/SwiftRichString.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] SwiftRichString
[30 / 102]
[33 / 102]
[41 / 102]
[43 / 102]
[44 / 102]
[49 / 102]
[51 / 102]
[53 / 102]
[56 / 102]
[60 / 102]
[63 / 102]
[65 / 102]
[66 / 102]
[75 / 102]
[77 / 102]
[78 / 102]
[80 / 102]
[82 / 102]
[93 / 102] SwiftRichString
[94 / 102] SwiftRichString
[99 / 102] SwiftRichString
Build complete! (11.06 sec)
warning: /Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Extensions/AttributedString+FunctionBuilder.swift:33:2 '@_functionBuilder' has been renamed to '@resultBuilder': FixIt(sourceRange: XCBuild.SwiftBuildMessage.DiagnosticInfo.SourceRange(path: "/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Extensions/AttributedString+FunctionBuilder.swift", startLine: 33, startColumn: 2, endLine: 33, endColumn: 18), textToInsert: "resultBuilder")
/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-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSFontDescriptor.h:57:20: note: struct declared here
 55 | typedef NSString * NSFontDescriptorTraitKey NS_TYPED_ENUM;
 56 | typedef NSString * NSFontDescriptorVariationKey NS_TYPED_ENUM;
 57 | typedef NSString * NSFontDescriptorFeatureKey NS_TYPED_EXTENSIBLE_ENUM;
    |                    `- note: struct declared here
 58 | typedef CGFloat NSFontWeight NS_TYPED_EXTENSIBLE_ENUM;
 59 | 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`.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/ColorConvertible.swift:66:12: warning: 'scanLocation' was deprecated in macOS 10.15 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 64 |
 65 | 		if hexString.hasPrefix("#") {
 66 | 			scanner.scanLocation = 1
    |            `- warning: 'scanLocation' was deprecated in macOS 10.15 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 67 | 		}
 68 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/ColorConvertible.swift:71:14: warning: 'scanHexInt32' was deprecated in macOS 10.15 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 69 | 		var color: UInt32 = 0
 70 |
 71 | 		if scanner.scanHexInt32(&color) {
    |              `- warning: 'scanHexInt32' was deprecated in macOS 10.15 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 72 | 			self.init(hex: color, useAlpha: hexString.count > 7)
 73 | 		} else {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/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-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSFontDescriptor.h:57:20: note: struct declared here
 55 | typedef NSString * NSFontDescriptorTraitKey NS_TYPED_ENUM;
 56 | typedef NSString * NSFontDescriptorVariationKey NS_TYPED_ENUM;
 57 | typedef NSString * NSFontDescriptorFeatureKey NS_TYPED_EXTENSIBLE_ENUM;
    |                    `- note: struct declared here
 58 | typedef CGFloat NSFontWeight NS_TYPED_EXTENSIBLE_ENUM;
 59 | typedef CGFloat NSFontWidth NS_TYPED_EXTENSIBLE_ENUM;
/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/Support/Extensions.swift:138:22: warning: 'init(focusedViewRect:)' was deprecated in macOS 10.14: Use -[NSView cacheDisplayInRect:toBitmapImageRep:] to snapshot a view. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
136 |     func pngData() -> Data? {
137 |         self.lockFocus()
138 |         let bitmap = NSBitmapImageRep(focusedViewRect: NSRect(x: 0, y: 0, width: size.width, height: size.height))
    |                      `- warning: 'init(focusedViewRect:)' was deprecated in macOS 10.14: Use -[NSView cacheDisplayInRect:toBitmapImageRep:] to snapshot a view. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
139 |         let pngData = bitmap!.representation(using: .png, properties: [:])
140 |         self.unlockFocus()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/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`.
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.