The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftUIFormattedText, reference master (49bc32), with Swift 6.2 for macOS (SPM) on 18 Jun 2025 12:29:44 UTC.

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/lukasmoellerch/SwiftUIFormattedText.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/lukasmoellerch/SwiftUIFormattedText
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 49bc321 Update README.md
Cloned https://github.com/lukasmoellerch/SwiftUIFormattedText.git
Revision (git rev-parse @):
49bc3219430299dce8d4fd3bb6a2090ddbe94f57
SUCCESS checkout https://github.com/lukasmoellerch/SwiftUIFormattedText.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/lukasmoellerch/SwiftUIFormattedText.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/4] Emitting module SwiftUIFormattedText
[4/4] Compiling SwiftUIFormattedText SwiftUIFormattedText.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIFormattedText/SwiftUIFormattedText.swift:93:29: error: value of type 'Text' has no member 'color'
 91 |             }
 92 |             if let color = style.color {
 93 |                 node = node.color(color)
    |                             `- error: value of type 'Text' has no member 'color'
 94 |             }
 95 |             return node
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIFormattedText/SwiftUIFormattedText.swift:344:54: error: cannot find 'Length' in scope
342 |                     let sizeString = attributes["size"],
343 |                     let size = NumberFormatter().number(from: sizeString)?.floatValue {
344 |                     font = Font.custom(family, size: Length(size))
    |                                                      `- error: cannot find 'Length' in scope
345 |                 }
346 |                 let style = AttributedStringStyle(font: font, color: color)
BUILD FAILURE 6.2 macosSpm