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

Failed to build TextDiffing, reference 1.0.2 (8ab049), with Swift 6.1 for macOS (SPM) on 3 Jun 2025 12:24:20 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: 1.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/simonbs/TextDiffing
 * tag               1.0.2      -> FETCH_HEAD
HEAD is now at 8ab049b WordStringTokenizer uses NSLinguisticTagger (#2)
Cloned https://github.com/simonbs/TextDiffing.git
Revision (git rev-parse @):
8ab049bcb7995e5d4bd63777bd51b832a7e3f81c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/simonbs/TextDiffing.git at 1.0.2
========================================
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.94s)
Creating working copy for https://github.com/simonbs/TextDiffing.git
Working copy of https://github.com/simonbs/TextDiffing.git resolved at 1.0.2 (8ab049b)
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 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
[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/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
[6/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 | }
[7/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
[8/13] 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
[9/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
[10/13] 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
[11/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
[12/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
[13/13] 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
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 TextDiffResult.swift
[3/11] Compiling TextDiffing TextDiffOptions.swift
[4/11] Compiling TextDiffing WordStringTokenizer.swift
[5/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 | }
[6/12] Compiling TextDiffing NSAttributedString+Helpers.swift
[7/12] Compiling TextDiffing AttributedString+Helpers.swift
[8/12] Emitting module TextDiffing
[9/12] Compiling TextDiffing CharacterStringTokenizer.swift
[10/12] Compiling TextDiffing DiffSegment.swift
[11/12] Compiling TextDiffing StringTokenizer.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