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 RichText, reference main (0bd1f7), with Swift 6.2 for macOS (SPM) on 14 Dec 2025 17:42:57 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LiYanan2004/RichText.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/LiYanan2004/RichText
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0bd1f77 Fix a view embedding issue that causes state reset
Cloned https://github.com/LiYanan2004/RichText.git
Revision (git rev-parse @):
0bd1f7726fcbbeadb67162f73fd7723d39b2bc11
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/LiYanan2004/RichText.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "richtext",
      "name": "RichText",
      "url": "https://github.com/LiYanan2004/RichText.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RichText",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/LiYanan2004/RichText.git
[1/590] Fetching richtext
Fetched https://github.com/LiYanan2004/RichText.git from cache (1.86s)
Creating working copy for https://github.com/LiYanan2004/RichText.git
Working copy of https://github.com/LiYanan2004/RichText.git resolved at main (0bd1f77)
warning: '.resolve-product-dependencies': dependency 'richtext' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/LiYanan2004/RichText.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-49B95AFC49DCD68C.txt
[4/10] Compiling Introspection ViewIdentity.swift
[5/10] Compiling Introspection TextStorage.swift
[6/10] Compiling Introspection _FormatParser.swift
[7/10] Compiling Introspection _InterpolationValue.swift
[8/10] Emitting module Introspection
[9/10] Compiling Introspection FormatStyle++.swift
[10/10] Compiling Introspection ResolvedLocalizedStringKey.swift
[11/28] Compiling RichText Tab.swift
[12/28] Compiling RichText InlineView.swift
[13/28] Compiling RichText TextContentProviding.swift
[14/28] Compiling RichText TextContent.swift
[15/28] Compiling RichText Paragraph.swift
[16/28] Compiling RichText Space.swift
[17/28] Compiling RichText _TextView_UIKit.swift
[18/28] Compiling RichText LineBreak.swift
[19/28] Compiling RichText TextContentBuilder.swift
[20/29] Compiling RichText TextAttributeConverter.swift
[21/29] Compiling RichText _TextView_AppKit.swift
[22/29] Compiling RichText PlatformFontViewModifier.swift
[23/29] Compiling RichText PlatformTypes.swift
[24/29] Emitting module RichText
[25/29] Compiling RichText InlineHostingAttachmentAttribute.swift
[26/29] Compiling RichText InlineHostingAttachment.swift
[27/29] Compiling RichText RichTextAttributes.swift
[28/29] Compiling RichText InlineAttachmentTextView.swift
[29/29] Compiling RichText TextView.swift
Build complete! (9.21s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "RichText",
  "name" : "RichText",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "RichText",
      "targets" : [
        "RichText"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RichText",
      "module_type" : "SwiftTarget",
      "name" : "RichText",
      "path" : "Sources/RichText",
      "product_memberships" : [
        "RichText"
      ],
      "sources" : [
        "Attributes & Attachments/Attributes/InlineHostingAttachmentAttribute.swift",
        "Attributes & Attachments/InlineHostingAttachment.swift",
        "Attributes & Attachments/RichTextAttributes.swift",
        "Platform Specific/InlineAttachmentTextView.swift",
        "Platform Specific/PlatformFontViewModifier.swift",
        "Platform Specific/PlatformTypes.swift",
        "Platform Specific/Text View/TextAttributeConverter.swift",
        "Platform Specific/Text View/_TextView_AppKit.swift",
        "Platform Specific/Text View/_TextView_UIKit.swift",
        "Text Content & Fragments/Fragment Containers/Text/LineBreak.swift",
        "Text Content & Fragments/Fragment Containers/Text/Paragraph.swift",
        "Text Content & Fragments/Fragment Containers/Text/Space.swift",
        "Text Content & Fragments/Fragment Containers/Text/Tab.swift",
        "Text Content & Fragments/Fragment Containers/View/InlineView.swift",
        "Text Content & Fragments/Protocols/TextContentProviding.swift",
        "Text Content & Fragments/TextContent.swift",
        "Text Content & Fragments/TextContentBuilder.swift",
        "TextView.swift"
      ],
      "target_dependencies" : [
        "Introspection"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Introspection",
      "module_type" : "SwiftTarget",
      "name" : "Introspection",
      "path" : "Sources/Introspection",
      "product_memberships" : [
        "RichText"
      ],
      "sources" : [
        "SwiftUI/Text/Helpers/FormatStyle++.swift",
        "SwiftUI/Text/Helpers/_FormatParser.swift",
        "SwiftUI/Text/Helpers/_InterpolationValue.swift",
        "SwiftUI/Text/ResolvedLocalizedStringKey.swift",
        "SwiftUI/Text/TextStorage.swift",
        "SwiftUI/ViewIdentity.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/liyanan2004/richtext/main
Repository:               LiYanan2004/RichText
Swift version used:       6.2
Target:                   RichText
Extracting symbol information for 'RichText'...
Finished extracting symbol information for 'RichText'. (3.69s)
Building documentation for 'RichText'...
warning: Parameter 'replacement' not found in initializer declaration
   --> ../Text Content & Fragments/Fragment Containers/View/InlineView.swift:109:9-109:124
107 |     /// Creates an instance with the given string.
108 |     ///
109 +     /// - parameter replacement: An `String` serves as the replacement, or `nil` if you don't want to create a replacement.
    |         ╰─suggestion: Remove 'replacement' parameter documentation
110 |     /// - parameter content: A view builder that builds the content of the view.
111 |     public init(
warning: Parameter 'string' is missing documentation
   --> ../Text Content & Fragments/Fragment Containers/View/InlineView.swift:110:81-110:81
108 |     ///
109 |     /// - parameter replacement: An `String` serves as the replacement, or `nil` if you don't want to create a replacement.
110 +     /// - parameter content: A view builder that builds the content of the view.
    |         ╰─suggestion: Document 'string' parameter
111 |     public init(
112 |         string: String? = nil,
Finished building documentation for 'RichText' (0.67s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/liyanan2004/richtext/main
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2158] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.92s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (4.13s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3596] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.99s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.68s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
Building for debugging...
[0/8] Write sources
[2/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-49B95AFC49DCD68C.txt
[6/53] Compiling Snippets Snippet.swift
[7/53] Compiling Snippets SnippetParser.swift
[8/53] Emitting module Snippets
[9/53] Compiling SymbolKit SemanticVersion.swift
[10/53] Compiling SymbolKit AccessControl.swift
[11/53] Compiling SymbolKit Availability.swift
[12/53] Compiling SymbolKit AvailabilityItem.swift
[13/53] Compiling SymbolKit Domain.swift
[14/57] Compiling SymbolKit Names.swift
[15/57] Compiling SymbolKit SPI.swift
[16/57] Compiling SymbolKit Snippet.swift
[17/57] Compiling SymbolKit Extension.swift
[18/57] Emitting module SymbolKit
[19/57] Compiling SymbolKit GenericConstraint.swift
[20/57] Compiling SymbolKit GenericParameter.swift
[21/57] Compiling SymbolKit Generics.swift
[22/57] Compiling SymbolKit Namespace.swift
[23/57] Compiling SymbolKit Mixin+Equals.swift
[24/57] Compiling SymbolKit Mixin+Hash.swift
[25/57] Compiling SymbolKit Mixin.swift
[26/57] Compiling SymbolKit LineList.swift
[27/57] Compiling SymbolKit Position.swift
[28/57] Compiling SymbolKit DeclarationFragments.swift
[29/57] Compiling SymbolKit Fragment.swift
[30/57] Compiling SymbolKit FragmentKind.swift
[31/57] Compiling SymbolKit FunctionParameter.swift
[32/57] Compiling SymbolKit FunctionSignature.swift
[33/57] Compiling SymbolKit Relationship.swift
[34/57] Compiling SymbolKit RelationshipKind.swift
[35/57] Compiling SymbolKit SourceOrigin.swift
[36/57] Compiling SymbolKit GenericConstraints.swift
[37/57] Compiling SymbolKit Swift.swift
[38/57] Compiling SymbolKit Symbol.swift
[39/57] Compiling SymbolKit SymbolKind.swift
[40/57] Compiling SymbolKit SymbolGraph.swift
[41/57] Compiling SymbolKit GraphCollector.swift
[42/57] Compiling SymbolKit Identifier.swift
[43/57] Compiling SymbolKit KindIdentifier.swift
[44/57] Compiling SymbolKit Location.swift
[45/57] Compiling SymbolKit Mutability.swift
[46/57] Compiling SymbolKit SourceRange.swift
[47/57] Compiling SymbolKit Metadata.swift
[48/57] Compiling SymbolKit Module.swift
[49/57] Compiling SymbolKit OperatingSystem.swift
[50/57] Compiling SymbolKit Platform.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (3.36s)
Building for debugging...
[0/1] Write swift-version-49B95AFC49DCD68C.txt
Build of target: 'RichText' complete! (0.19s)
    1852
14	/Users/admin/builder/spi-builder-workspace/.docs/liyanan2004/richtext/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/liyanan2004/richtext/main
File count: 1852
Doc size:   14.0MB
Preparing doc bundle ...
Uploading prod-liyanan2004-richtext-main-5ed7efcb.zip to s3://spi-docs-inbox/prod-liyanan2004-richtext-main-5ed7efcb.zip
Copying... [11%]
Copying... [21%]
Copying... [32%]
Copying... [41%]
Copying... [51%]
Copying... [62%]
Copying... [71%]
Copying... [80%]
Copying... [92%]
Copying... [100%]
Done.