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.0 for Linux on 24 Feb 2025 23:19:45 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
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.0
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-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/ChimeHQ/Glyph
[1/200] Fetching glyph
Fetched https://github.com/ChimeHQ/Glyph from cache (0.18s)
Fetching https://github.com/ChimeHQ/Rearrange
[1/554] Fetching rearrange
Fetched https://github.com/ChimeHQ/Rearrange from cache (0.19s)
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 (25ffb29)
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 NSTextLayoutFragment+Additions.swift
[7/24] 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 |
[8/24] 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 |
[9/24] Emitting module Glyph
[10/24] Compiling Glyph NSTextRange+NSRange.swift
[11/24] Compiling Glyph NSTextView+Additions.swift
[12/24] Compiling Glyph NSLayoutManager+Additions.swift
[13/24] Compiling Glyph NSTextContainer+Additions.swift
[14/24] Compiling Rearrange UITextRange+Convenience.swift
[15/24] Compiling Glyph NSTextLayoutManager+Additions.swift
[17/25] Compiling Rearrange Bounded.swift
[18/25] Compiling Rearrange IndexSet+ApplyMutation.swift
[19/25] Compiling Rearrange NSRange+Convenience.swift
[20/25] Compiling Rearrange NSRange+Shift.swift
[21/25] Compiling Rearrange IndexSet+NSRange.swift
[22/25] Compiling Rearrange NSRange+ApplyMutation.swift
[23/25] Compiling Rearrange RangeMutation.swift
[24/25] Compiling Rearrange String+NSRange.swift
[25/25] Compiling Rearrange TextRangeCalculating.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/19] Compiling Glyph NSTextLayoutManager+Additions.swift
[3/20] Compiling Glyph NSTextLayoutFragment+Additions.swift
[4/20] Compiling Glyph NSTextView+Additions.swift
[5/20] Compiling Glyph NSTextContainer+Additions.swift
[6/20] Compiling Glyph NSTextRange+NSRange.swift
[7/20] Compiling Glyph NSLayoutManager+Additions.swift
[8/20] Emitting module Glyph
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/21] 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 }
[11/22] Compiling Rearrange Bounded.swift
[12/22] Compiling Rearrange IndexSet+ApplyMutation.swift
[13/22] Compiling Rearrange UITextRange+Convenience.swift
[14/22] Compiling Rearrange IndexSet+NSRange.swift
[15/22] Compiling Rearrange NSRange+ApplyMutation.swift
[16/22] Compiling Rearrange NSRange+Convenience.swift
[17/22] Compiling Rearrange NSRange+Shift.swift
[18/22] Compiling Rearrange RangeMutation.swift
[19/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 |
[20/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 |
[21/22] Compiling Rearrange String+NSRange.swift
[22/22] Compiling Rearrange TextRangeCalculating.swift
BUILD FAILURE 6.0 linux