Build Information
Successful build of SwiftRichString, reference 4.0.0-alpha-6 (a9f74e
), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 09:54:30 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: 4.0.0-alpha-6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/malcommac/SwiftRichString
* tag 4.0.0-alpha-6 -> FETCH_HEAD
HEAD is now at a9f74e9 fix applying base style to xml string
Cloned https://github.com/malcommac/SwiftRichString.git
Revision (git rev-parse @):
a9f74e9728a51f9caf12f85d252dba2759fde6c5
SUCCESS checkout https://github.com/malcommac/SwiftRichString.git at 4.0.0-alpha-6
========================================
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/3] Write sources
[1/3] Write swift-version-1EA4D86E10B52AF.txt
[2/3] Compiling CHTMLSAXParser CHTMLSAXParser.c
[4/32] Emitting module SwiftRichString
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Extensions/AttributedString+FunctionBuilder.swift:27:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
25 | import Foundation
26 |
27 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
28 | public class AttributedStringBuilder {
29 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/FontInfoAttribute.swift:42:40: warning: cannot use struct 'FeatureKey' here; 'AppKit' was not imported by this file
40 | public extension FontInfoAttribute {
41 |
42 | func attributes() -> [[FontDescriptor.FeatureKey: Any]] {
| `- warning: cannot use struct 'FeatureKey' here; 'AppKit' was not imported by this file
43 | let featureSettings = self.featureSettings()
44 | 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;
[5/35] Compiling SwiftRichString SystemFonts.swift
[6/35] Compiling SwiftRichString UIKit+Extras.swift
[7/35] Compiling SwiftRichString StyleDecorator.swift
[8/35] Compiling SwiftRichString EscapeSpecialCharacters.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/EscapeSpecialCharacters.swift:53:21: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
51 | _ loop: inout Bool,
52 | _ bufferGrowthFactor: Double) -> Data? {
53 | return self.withUnsafeBytes { (inputBytes: UnsafePointer<UInt8>) -> Data? in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
54 | let outputBufferCapacity = outputLength
55 | let outputBuffer = UnsafeMutablePointer<UInt8>.allocate(capacity: outputBufferCapacity)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:38:18: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
36 | charEncoding = convert(from: encoding)
37 | } else {
38 | data.withUnsafeBytes { (dataBytes: UnsafePointer<UInt8>) -> Void in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
39 | charEncoding = xmlDetectCharEncoding(dataBytes, Int32(dataLength))
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:47:18: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
45 | }
46 |
47 | try data.withUnsafeBytes { (dataBytes: UnsafePointer<Int8>) -> Void in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
48 | let handlerContext = HandlerContext(handler: handler)
49 | let handlerContextPtr = Unmanaged<HandlerContext>.passUnretained(handlerContext).toOpaque()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[9/35] Compiling SwiftRichString HTMLSAXParser+libxml2.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/EscapeSpecialCharacters.swift:53:21: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
51 | _ loop: inout Bool,
52 | _ bufferGrowthFactor: Double) -> Data? {
53 | return self.withUnsafeBytes { (inputBytes: UnsafePointer<UInt8>) -> Data? in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
54 | let outputBufferCapacity = outputLength
55 | let outputBuffer = UnsafeMutablePointer<UInt8>.allocate(capacity: outputBufferCapacity)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:38:18: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
36 | charEncoding = convert(from: encoding)
37 | } else {
38 | data.withUnsafeBytes { (dataBytes: UnsafePointer<UInt8>) -> Void in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
39 | charEncoding = xmlDetectCharEncoding(dataBytes, Int32(dataLength))
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:47:18: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
45 | }
46 |
47 | try data.withUnsafeBytes { (dataBytes: UnsafePointer<Int8>) -> Void in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
48 | let handlerContext = HandlerContext(handler: handler)
49 | let handlerContextPtr = Unmanaged<HandlerContext>.passUnretained(handlerContext).toOpaque()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[10/35] Compiling SwiftRichString HTMLSAXParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/EscapeSpecialCharacters.swift:53:21: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
51 | _ loop: inout Bool,
52 | _ bufferGrowthFactor: Double) -> Data? {
53 | return self.withUnsafeBytes { (inputBytes: UnsafePointer<UInt8>) -> Data? in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
54 | let outputBufferCapacity = outputLength
55 | let outputBuffer = UnsafeMutablePointer<UInt8>.allocate(capacity: outputBufferCapacity)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:38:18: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
36 | charEncoding = convert(from: encoding)
37 | } else {
38 | data.withUnsafeBytes { (dataBytes: UnsafePointer<UInt8>) -> Void in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
39 | charEncoding = xmlDetectCharEncoding(dataBytes, Int32(dataLength))
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:47:18: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
45 | }
46 |
47 | try data.withUnsafeBytes { (dataBytes: UnsafePointer<Int8>) -> Void in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
48 | let handlerContext = HandlerContext(handler: handler)
49 | let handlerContextPtr = Unmanaged<HandlerContext>.passUnretained(handlerContext).toOpaque()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[11/35] Compiling SwiftRichString OrderedDictionary.swift
[12/35] Compiling SwiftRichString XMLDynamicAttributesResolver.swift
[13/35] Compiling SwiftRichString XMLStringBuilder.swift
[14/35] Compiling SwiftRichString Style.swift
[15/35] Compiling SwiftRichString StyleProtocol.swift
[16/35] Compiling SwiftRichString StyleRegEx.swift
[17/35] Compiling SwiftRichString AttributedString+FunctionBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Extensions/AttributedString+FunctionBuilder.swift:27:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
25 | import Foundation
26 |
27 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
28 | public class AttributedStringBuilder {
29 |
[18/35] Compiling SwiftRichString String+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Extensions/AttributedString+FunctionBuilder.swift:27:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
25 | import Foundation
26 |
27 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
28 | public class AttributedStringBuilder {
29 |
[19/35] Compiling SwiftRichString String+Subscript.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Extensions/AttributedString+FunctionBuilder.swift:27:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
25 | import Foundation
26 |
27 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
28 | public class AttributedStringBuilder {
29 |
[20/35] Compiling SwiftRichString AsyncTextAttachment.swift
[21/35] Compiling SwiftRichString Compatibility.swift
[22/35] Compiling SwiftRichString Extensions.swift
[23/35] Compiling SwiftRichString FontInfoAttribute.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/FontInfoAttribute.swift:42:40: warning: cannot use struct 'FeatureKey' here; 'AppKit' was not imported by this file
40 | public extension FontInfoAttribute {
41 |
42 | func attributes() -> [[FontDescriptor.FeatureKey: Any]] {
| `- warning: cannot use struct 'FeatureKey' here; 'AppKit' was not imported by this file
43 | let featureSettings = self.featureSettings()
44 | 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;
[24/35] Compiling SwiftRichString FontStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/FontInfoAttribute.swift:42:40: warning: cannot use struct 'FeatureKey' here; 'AppKit' was not imported by this file
40 | public extension FontInfoAttribute {
41 |
42 | func attributes() -> [[FontDescriptor.FeatureKey: Any]] {
| `- warning: cannot use struct 'FeatureKey' here; 'AppKit' was not imported by this file
43 | let featureSettings = self.featureSettings()
44 | 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;
[25/35] Compiling SwiftRichString TextTransform.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/FontInfoAttribute.swift:42:40: warning: cannot use struct 'FeatureKey' here; 'AppKit' was not imported by this file
40 | public extension FontInfoAttribute {
41 |
42 | func attributes() -> [[FontDescriptor.FeatureKey: Any]] {
| `- warning: cannot use struct 'FeatureKey' here; 'AppKit' was not imported by this file
43 | let featureSettings = self.featureSettings()
44 | 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;
[26/35] Compiling SwiftRichString URLRepresentable.swift
[27/35] Compiling SwiftRichString AttributedString+Attachments.swift
[28/35] Compiling SwiftRichString AttributedString+Extension.swift
[29/35] Compiling SwiftRichString StyleXML.swift
[30/35] Compiling SwiftRichString StylesManager.swift
[31/35] Compiling SwiftRichString AssociatedValues.swift
[32/35] Compiling SwiftRichString ColorConvertible.swift
[33/35] Compiling SwiftRichString CommonsAttributes.swift
[34/35] Compiling SwiftRichString DynamicText.swift
[35/35] Compiling SwiftRichString FontConvertible.swift
Build complete! (7.98s)
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",
"XCTestManifests.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/FontInfoAttribute.swift",
"Attributes/FontStyle.swift",
"Attributes/TextTransform.swift",
"Attributes/URLRepresentable.swift",
"Extensions/AttributedString+Attachments.swift",
"Extensions/AttributedString+Extension.swift",
"Extensions/AttributedString+FunctionBuilder.swift",
"Extensions/String+Extension.swift",
"Extensions/String+Subscript.swift",
"Extensions/SystemFonts.swift",
"Extensions/UIKit+Extras.swift",
"Style/StyleDecorator.swift",
"Style/Styles/Style.swift",
"Style/Styles/StyleProtocol.swift",
"Style/Styles/StyleRegEx.swift",
"Style/Styles/StyleXML.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",
"XMLParser/HTMLSAXParser/EscapeSpecialCharacters.swift",
"XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift",
"XMLParser/HTMLSAXParser/HTMLSAXParser.swift"
],
"target_dependencies" : [
"CHTMLSAXParser"
],
"type" : "library"
},
{
"c99name" : "CHTMLSAXParser",
"module_type" : "ClangTarget",
"name" : "CHTMLSAXParser",
"path" : "Sources/CHTMLSAXParser",
"product_memberships" : [
"SwiftRichString"
],
"sources" : [
"CHTMLSAXParser.c"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.