Build Information
Successful build of AttributedText, reference 1.0.1 (0e811c
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 05:35:01 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gonzalezreal/AttributedText.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/gonzalezreal/AttributedText
* tag 1.0.1 -> FETCH_HEAD
HEAD is now at 0e811cb Fix Publishing changes from within view updates is not allowed, this will cause undefined behavior. (#25)
Cloned https://github.com/gonzalezreal/AttributedText.git
Revision (git rev-parse @):
0e811cb14de367bbd58a94d12259687e5ee08bea
SUCCESS checkout https://github.com/gonzalezreal/AttributedText.git at 1.0.1
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/12447] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.21s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.9.0 (0.61s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.9.0
========================================
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": "attributedtext",
"name": "AttributedText",
"url": "https://github.com/gonzalezreal/AttributedText.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AttributedText",
"dependencies": [
]
}
]
}
Fetching https://github.com/gonzalezreal/AttributedText.git
[1/400] Fetching attributedtext
Fetched https://github.com/gonzalezreal/AttributedText.git from cache (0.88s)
Creating working copy for https://github.com/gonzalezreal/AttributedText.git
Working copy of https://github.com/gonzalezreal/AttributedText.git resolved at 1.0.1 (0e811cb)
warning: '.resolve-product-dependencies': dependency 'attributedtext' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/gonzalezreal/AttributedText.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/10] Compiling AttributedText AttributedTextImpl.swift
[4/10] Compiling AttributedText NSLineBreakMode+TruncationMode.swift
[5/10] Compiling AttributedText AttributedText.swift
[6/10] Compiling AttributedText AttributedTextImpl+iOS.swift
[7/10] Compiling AttributedText AttributedTextImpl+tvOS.swift
[8/10] Compiling AttributedText TextSizeViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/AttributedText/TextSizeViewModel.swift:7:25: warning: main actor-isolated property 'intrinsicContentSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
4 | @Published var textSize: CGSize?
5 |
6 | func didUpdateTextView(_ textView: AttributedTextImpl.TextView) {
| `- note: add '@MainActor' to make instance method 'didUpdateTextView' part of global actor 'MainActor'
7 | textSize = textView.intrinsicContentSize
| `- warning: main actor-isolated property 'intrinsicContentSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
8 | }
9 | }
/Users/admin/builder/spi-builder-workspace/Sources/AttributedText/AttributedTextImpl+macOS.swift:48:20: note: property declared here
46 | }
47 |
48 | override var intrinsicContentSize: NSSize {
| `- note: property declared here
49 | guard maxLayoutWidth > 0,
50 | let textContainer = self.textContainer,
[9/10] Compiling AttributedText AttributedTextImpl+macOS.swift
[10/10] Emitting module AttributedText
Build complete! (17.79s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.9.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing"
}
],
"manifest_display_name" : "AttributedText",
"name" : "AttributedText",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "tvos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "AttributedText",
"targets" : [
"AttributedText"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AttributedTextTests",
"module_type" : "SwiftTarget",
"name" : "AttributedTextTests",
"path" : "Tests/AttributedTextTests",
"product_dependencies" : [
"SnapshotTesting"
],
"sources" : [
"AttributedTextTests.swift"
],
"target_dependencies" : [
"AttributedText"
],
"type" : "test"
},
{
"c99name" : "AttributedText",
"module_type" : "SwiftTarget",
"name" : "AttributedText",
"path" : "Sources/AttributedText",
"product_memberships" : [
"AttributedText"
],
"sources" : [
"AttributedText.swift",
"AttributedTextImpl+iOS.swift",
"AttributedTextImpl+macOS.swift",
"AttributedTextImpl+tvOS.swift",
"AttributedTextImpl.swift",
"NSLineBreakMode+TruncationMode.swift",
"TextSizeViewModel.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.