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 Ligature, reference main (c94079), with Swift 6.1 for Linux on 30 Apr 2025 17:10:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/Ligature.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/ChimeHQ/Ligature
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c940798 move position(...) def into extension
Cloned https://github.com/ChimeHQ/Ligature.git
Revision (git rev-parse @):
c9407984c5e9185098cfef6b2bc8dd03a4bbd5bb
SUCCESS checkout https://github.com/ChimeHQ/Ligature.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ChimeHQ/Ligature.git
https://github.com/ChimeHQ/Ligature.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "glyph",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ChimeHQ/Glyph"
    },
    {
      "identity" : "rearrange",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ChimeHQ/Rearrange"
    }
  ],
  "manifest_display_name" : "Ligature",
  "name" : "Ligature",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Ligature",
      "targets" : [
        "Ligature"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LigatureTests",
      "module_type" : "SwiftTarget",
      "name" : "LigatureTests",
      "path" : "Tests/LigatureTests",
      "sources" : [
        "PlatformTests.swift",
        "TextTokenizerTests.swift"
      ],
      "target_dependencies" : [
        "Ligature"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Ligature",
      "module_type" : "SwiftTarget",
      "name" : "Ligature",
      "path" : "Sources/Ligature",
      "product_dependencies" : [
        "Glyph",
        "Rearrange"
      ],
      "product_memberships" : [
        "Ligature"
      ],
      "sources" : [
        "MockTextTokenizer.swift",
        "NSTextSelection+Extensions.swift",
        "Platform.swift",
        "SourceTokenizer.swift",
        "TextDirection+Extensions.swift",
        "TextInputStringTokenizer.swift",
        "TextRange+Bounded.swift",
        "TextTokenizer.swift",
        "TextView+TextRangeCalculating.swift",
        "UTF16CodePointTextViewTextTokenizer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/ChimeHQ/Glyph
[1/213] Fetching glyph
Fetched https://github.com/ChimeHQ/Glyph from cache (0.46s)
Fetching https://github.com/ChimeHQ/Rearrange
[1/554] Fetching rearrange
Fetched https://github.com/ChimeHQ/Rearrange from cache (0.36s)
Creating working copy for https://github.com/ChimeHQ/Rearrange
Working copy of https://github.com/ChimeHQ/Rearrange resolved at main (eae3879)
Creating working copy for https://github.com/ChimeHQ/Glyph
Working copy of https://github.com/ChimeHQ/Glyph resolved at main (639ec58)
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/23] Emitting module Rearrange
/host/spi-builder-workspace/.build/checkouts/Rearrange/Sources/Rearrange/NSTextRange+Bounded.swift:8:11: error: cannot find type 'NSTextRange' in scope
 6 |
 7 | @available(iOS 15.0, macOS 12.0, tvOS 15.0, macCatalyst 15.0, *)
 8 | extension NSTextRange : Bounded {
   |           `- error: cannot find type 'NSTextRange' in scope
 9 | 	public var lowerBound: NSTextLocation { location }
10 | 	public var upperBound: NSTextLocation { endLocation }
[6/24] Compiling Glyph NSTextView+Additions.swift
[7/24] Emitting module Glyph
[8/24] Compiling Rearrange UITextRange+Convenience.swift
[9/24] Compiling Glyph NSTextRange+NSRange.swift
[10/24] Compiling Glyph NSTextLayoutFragment+Additions.swift
[11/24] Compiling Glyph NSTextLayoutManager+Additions.swift
[12/24] Compiling Glyph NSLayoutManager+Additions.swift
[13/24] Compiling Glyph NSTextContainer+Additions.swift
[15/25] Compiling Rearrange String+NSRange.swift
[16/25] Compiling Rearrange TextRangeCalculating.swift
[17/25] Compiling Rearrange NSRange+Convenience.swift
[18/25] Compiling Rearrange NSRange+Shift.swift
[19/25] Compiling Rearrange NSTextRange+Bounded.swift
/host/spi-builder-workspace/.build/checkouts/Rearrange/Sources/Rearrange/NSTextRange+Bounded.swift:8:11: error: cannot find type 'NSTextRange' in scope
 6 |
 7 | @available(iOS 15.0, macOS 12.0, tvOS 15.0, macCatalyst 15.0, *)
 8 | extension NSTextRange : Bounded {
   |           `- error: cannot find type 'NSTextRange' in scope
 9 | 	public var lowerBound: NSTextLocation { location }
10 | 	public var upperBound: NSTextLocation { endLocation }
/host/spi-builder-workspace/.build/checkouts/Rearrange/Sources/Rearrange/NSTextRange+Bounded.swift:9:25: error: cannot find type 'NSTextLocation' in scope
 7 | @available(iOS 15.0, macOS 12.0, tvOS 15.0, macCatalyst 15.0, *)
 8 | extension NSTextRange : Bounded {
 9 | 	public var lowerBound: NSTextLocation { location }
   |                         `- error: cannot find type 'NSTextLocation' in scope
10 | 	public var upperBound: NSTextLocation { endLocation }
11 | }
/host/spi-builder-workspace/.build/checkouts/Rearrange/Sources/Rearrange/NSTextRange+Bounded.swift:10:25: error: cannot find type 'NSTextLocation' in scope
 8 | extension NSTextRange : Bounded {
 9 | 	public var lowerBound: NSTextLocation { location }
10 | 	public var upperBound: NSTextLocation { endLocation }
   |                         `- error: cannot find type 'NSTextLocation' in scope
11 | }
12 |
[20/25] Compiling Rearrange NSTextRange+NSRange.swift
/host/spi-builder-workspace/.build/checkouts/Rearrange/Sources/Rearrange/NSTextRange+Bounded.swift:8:11: error: cannot find type 'NSTextRange' in scope
 6 |
 7 | @available(iOS 15.0, macOS 12.0, tvOS 15.0, macCatalyst 15.0, *)
 8 | extension NSTextRange : Bounded {
   |           `- error: cannot find type 'NSTextRange' in scope
 9 | 	public var lowerBound: NSTextLocation { location }
10 | 	public var upperBound: NSTextLocation { endLocation }
/host/spi-builder-workspace/.build/checkouts/Rearrange/Sources/Rearrange/NSTextRange+Bounded.swift:9:25: error: cannot find type 'NSTextLocation' in scope
 7 | @available(iOS 15.0, macOS 12.0, tvOS 15.0, macCatalyst 15.0, *)
 8 | extension NSTextRange : Bounded {
 9 | 	public var lowerBound: NSTextLocation { location }
   |                         `- error: cannot find type 'NSTextLocation' in scope
10 | 	public var upperBound: NSTextLocation { endLocation }
11 | }
/host/spi-builder-workspace/.build/checkouts/Rearrange/Sources/Rearrange/NSTextRange+Bounded.swift:10:25: error: cannot find type 'NSTextLocation' in scope
 8 | extension NSTextRange : Bounded {
 9 | 	public var lowerBound: NSTextLocation { location }
10 | 	public var upperBound: NSTextLocation { endLocation }
   |                         `- error: cannot find type 'NSTextLocation' in scope
11 | }
12 |
[21/25] Compiling Rearrange RangeMutation.swift
[22/25] Compiling Rearrange IndexSet+NSRange.swift
[23/25] Compiling Rearrange NSRange+ApplyMutation.swift
[24/25] Compiling Rearrange Bounded.swift
[25/25] Compiling Rearrange IndexSet+ApplyMutation.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/20] Compiling Glyph NSTextRange+NSRange.swift
[3/20] Compiling Glyph NSTextLayoutFragment+Additions.swift
[4/20] Compiling Glyph NSTextLayoutManager+Additions.swift
[5/20] Emitting module Glyph
[6/20] Compiling Glyph NSTextContainer+Additions.swift
[7/20] Compiling Glyph NSTextView+Additions.swift
[8/20] Compiling Glyph NSLayoutManager+Additions.swift
[10/21] Compiling Rearrange String+NSRange.swift
[11/22] Compiling Rearrange NSRange+Convenience.swift
[12/22] Compiling Rearrange NSRange+Shift.swift
[13/22] Compiling Rearrange Bounded.swift
[14/22] Compiling Rearrange IndexSet+ApplyMutation.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/22] Compiling Rearrange IndexSet+NSRange.swift
[16/22] Compiling Rearrange NSRange+ApplyMutation.swift
[17/22] Emitting module Rearrange
/host/spi-builder-workspace/.build/checkouts/Rearrange/Sources/Rearrange/NSTextRange+Bounded.swift:8:11: error: cannot find type 'NSTextRange' in scope
 6 |
 7 | @available(iOS 15.0, macOS 12.0, tvOS 15.0, macCatalyst 15.0, *)
 8 | extension NSTextRange : Bounded {
   |           `- error: cannot find type 'NSTextRange' in scope
 9 | 	public var lowerBound: NSTextLocation { location }
10 | 	public var upperBound: NSTextLocation { endLocation }
[18/22] Compiling Rearrange UITextRange+Convenience.swift
[19/22] Compiling Rearrange TextRangeCalculating.swift
[20/22] Compiling Rearrange NSTextRange+Bounded.swift
/host/spi-builder-workspace/.build/checkouts/Rearrange/Sources/Rearrange/NSTextRange+Bounded.swift:8:11: error: cannot find type 'NSTextRange' in scope
 6 |
 7 | @available(iOS 15.0, macOS 12.0, tvOS 15.0, macCatalyst 15.0, *)
 8 | extension NSTextRange : Bounded {
   |           `- error: cannot find type 'NSTextRange' in scope
 9 | 	public var lowerBound: NSTextLocation { location }
10 | 	public var upperBound: NSTextLocation { endLocation }
/host/spi-builder-workspace/.build/checkouts/Rearrange/Sources/Rearrange/NSTextRange+Bounded.swift:9:25: error: cannot find type 'NSTextLocation' in scope
 7 | @available(iOS 15.0, macOS 12.0, tvOS 15.0, macCatalyst 15.0, *)
 8 | extension NSTextRange : Bounded {
 9 | 	public var lowerBound: NSTextLocation { location }
   |                         `- error: cannot find type 'NSTextLocation' in scope
10 | 	public var upperBound: NSTextLocation { endLocation }
11 | }
/host/spi-builder-workspace/.build/checkouts/Rearrange/Sources/Rearrange/NSTextRange+Bounded.swift:10:25: error: cannot find type 'NSTextLocation' in scope
 8 | extension NSTextRange : Bounded {
 9 | 	public var lowerBound: NSTextLocation { location }
10 | 	public var upperBound: NSTextLocation { endLocation }
   |                         `- error: cannot find type 'NSTextLocation' in scope
11 | }
12 |
[21/22] Compiling Rearrange NSTextRange+NSRange.swift
/host/spi-builder-workspace/.build/checkouts/Rearrange/Sources/Rearrange/NSTextRange+Bounded.swift:8:11: error: cannot find type 'NSTextRange' in scope
 6 |
 7 | @available(iOS 15.0, macOS 12.0, tvOS 15.0, macCatalyst 15.0, *)
 8 | extension NSTextRange : Bounded {
   |           `- error: cannot find type 'NSTextRange' in scope
 9 | 	public var lowerBound: NSTextLocation { location }
10 | 	public var upperBound: NSTextLocation { endLocation }
/host/spi-builder-workspace/.build/checkouts/Rearrange/Sources/Rearrange/NSTextRange+Bounded.swift:9:25: error: cannot find type 'NSTextLocation' in scope
 7 | @available(iOS 15.0, macOS 12.0, tvOS 15.0, macCatalyst 15.0, *)
 8 | extension NSTextRange : Bounded {
 9 | 	public var lowerBound: NSTextLocation { location }
   |                         `- error: cannot find type 'NSTextLocation' in scope
10 | 	public var upperBound: NSTextLocation { endLocation }
11 | }
/host/spi-builder-workspace/.build/checkouts/Rearrange/Sources/Rearrange/NSTextRange+Bounded.swift:10:25: error: cannot find type 'NSTextLocation' in scope
 8 | extension NSTextRange : Bounded {
 9 | 	public var lowerBound: NSTextLocation { location }
10 | 	public var upperBound: NSTextLocation { endLocation }
   |                         `- error: cannot find type 'NSTextLocation' in scope
11 | }
12 |
[22/22] Compiling Rearrange RangeMutation.swift
BUILD FAILURE 6.1 linux