Build Information
Failed to build TextDiffing, reference main (bc803d
), with Swift 6.1 for macOS (SPM) on 4 Jun 2025 10:36:52 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/simonbs/TextDiffing.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/simonbs/TextDiffing
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at bc803dd Update README.md
Cloned https://github.com/simonbs/TextDiffing.git
Revision (git rev-parse @):
bc803dd8af5a52af4fcfcd672573ae4376c16aca
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/simonbs/TextDiffing.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": "textdiffing",
"name": "TextDiffing",
"url": "https://github.com/simonbs/TextDiffing.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TextDiffing",
"dependencies": [
]
}
]
}
Fetching https://github.com/simonbs/TextDiffing.git
[1/196] Fetching textdiffing
Fetched https://github.com/simonbs/TextDiffing.git from cache (0.90s)
Creating working copy for https://github.com/simonbs/TextDiffing.git
Working copy of https://github.com/simonbs/TextDiffing.git resolved at main (bc803dd)
warning: '.resolve-product-dependencies': dependency 'textdiffing' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/simonbs/TextDiffing.git
https://github.com/simonbs/TextDiffing.git
{
"dependencies" : [
],
"manifest_display_name" : "TextDiffing",
"name" : "TextDiffing",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "TextDiffing",
"targets" : [
"TextDiffing"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TextDiffingTests",
"module_type" : "SwiftTarget",
"name" : "TextDiffingTests",
"path" : "Tests/TextDiffingTests",
"sources" : [
"CharacterStringTokenizerTests.swift",
"WordStringTokenizerTests.swift"
],
"target_dependencies" : [
"TextDiffing"
],
"type" : "test"
},
{
"c99name" : "TextDiffing",
"module_type" : "SwiftTarget",
"name" : "TextDiffing",
"path" : "Sources/TextDiffing",
"product_memberships" : [
"TextDiffing"
],
"sources" : [
"AttributedString+Helpers.swift",
"Internal/CharacterStringTokenizer.swift",
"Internal/DiffSegment.swift",
"Internal/StringTokenizer.swift",
"Internal/WordStringTokenizer.swift",
"NSAttributedString+Helpers.swift",
"TextDiffOptions.swift",
"TextDiffResult.swift",
"TextDiffStyle.swift",
"TextDiffer.swift"
],
"type" : "library"
}
],
"tools_version" : "6.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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-2F0A5646E1D333AE.txt
[3/12] Compiling TextDiffing WordStringTokenizer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[4/12] Emitting module TextDiffing
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[5/12] Compiling TextDiffing AttributedString+Helpers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[6/12] Compiling TextDiffing CharacterStringTokenizer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[7/13] Compiling TextDiffing TextDiffer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[8/13] Compiling TextDiffing TextDiffOptions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[9/13] Compiling TextDiffing NSAttributedString+Helpers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[10/13] Compiling TextDiffing DiffSegment.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[11/13] Compiling TextDiffing TextDiffResult.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[12/13] Compiling TextDiffing StringTokenizer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[13/13] Compiling TextDiffing TextDiffStyle.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/TextDiffing/TextDiffStyle.swift:45:36: error: type 'NSColor' has no member 'diffBackgroundInsert'
43 | /// Creates a default style.
44 | public init() {
45 | self.insertedBackground = .diffBackgroundInsert
| `- error: type 'NSColor' has no member 'diffBackgroundInsert'
46 | self.removedBackground = .diffBackgroundRemove
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/TextDiffing/TextDiffStyle.swift:46:35: error: type 'NSColor' has no member 'diffBackgroundRemove'
44 | public init() {
45 | self.insertedBackground = .diffBackgroundInsert
46 | self.removedBackground = .diffBackgroundRemove
| `- error: type 'NSColor' has no member 'diffBackgroundRemove'
47 | }
48 | }
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/TextDiffing/Assets.xcassets
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/11] Compiling TextDiffing TextDiffStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/TextDiffing/TextDiffStyle.swift:45:36: error: type 'NSColor' has no member 'diffBackgroundInsert'
43 | /// Creates a default style.
44 | public init() {
45 | self.insertedBackground = .diffBackgroundInsert
| `- error: type 'NSColor' has no member 'diffBackgroundInsert'
46 | self.removedBackground = .diffBackgroundRemove
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/TextDiffing/TextDiffStyle.swift:46:35: error: type 'NSColor' has no member 'diffBackgroundRemove'
44 | public init() {
45 | self.insertedBackground = .diffBackgroundInsert
46 | self.removedBackground = .diffBackgroundRemove
| `- error: type 'NSColor' has no member 'diffBackgroundRemove'
47 | }
48 | }
[3/12] Compiling TextDiffing TextDiffOptions.swift
[4/12] Compiling TextDiffing TextDiffResult.swift
[5/12] Compiling TextDiffing NSAttributedString+Helpers.swift
[6/12] Compiling TextDiffing WordStringTokenizer.swift
[7/12] Compiling TextDiffing AttributedString+Helpers.swift
[8/12] Emitting module TextDiffing
[9/12] Compiling TextDiffing StringTokenizer.swift
[10/12] Compiling TextDiffing DiffSegment.swift
[11/12] Compiling TextDiffing CharacterStringTokenizer.swift
[12/12] Compiling TextDiffing TextDiffer.swift
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/TextDiffing/Assets.xcassets
BUILD FAILURE 6.1 macosSpm