The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TextDiffing, reference 1.0.3 (1d5a2f), with Swift 6.1 for macOS (SPM) on 31 Jan 2026 20:29:52 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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/simonbs/TextDiffing.git
Reference: 1.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/simonbs/TextDiffing
 * tag               1.0.3      -> FETCH_HEAD
HEAD is now at 1d5a2f2 iOS 16 compatibility (#3)
Cloned https://github.com/simonbs/TextDiffing.git
Revision (git rev-parse @):
1d5a2f200983591c635e9ca069a44a2dcf493d1f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/simonbs/TextDiffing.git at 1.0.3
========================================
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" : "16.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",
        "TextDiffTests.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 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
[4/12] 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
[5/12] 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
[6/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
[7/12] 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
[8/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
[9/12] 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/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
[11/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
[12/12] 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 | }
[13/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
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 StringTokenizer.swift
[5/12] Compiling TextDiffing NSAttributedString+Helpers.swift
[6/12] Compiling TextDiffing TextDiffResult.swift
[7/12] Compiling TextDiffing CharacterStringTokenizer.swift
[8/12] Compiling TextDiffing DiffSegment.swift
[9/12] Compiling TextDiffing AttributedString+Helpers.swift
[10/12] Compiling TextDiffing WordStringTokenizer.swift
[11/12] Emitting module TextDiffing
[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