Build Information
Failed to build Rearrange, reference main (eae387
), with Swift 5.9 for Linux on 19 Feb 2025 17:09:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-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/Rearrange.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/Rearrange
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at eae3879 Default implementation for textRange with NSRange
Cloned https://github.com/ChimeHQ/Rearrange.git
Revision (git rev-parse @):
eae38792ce4cc4c8ba74632d63109b35163f5877
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChimeHQ/Rearrange.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/ChimeHQ/Rearrange.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/RearrangeTests/Info.plist
/host/spi-builder-workspace/Tests/RearrangeTests/RearrangeTests.xcconfig
Building for debugging...
[1/12] Compiling Rearrange NSTextRange+Bounded.swift
/host/spi-builder-workspace/Sources/Rearrange/NSTextRange+NSRange.swift:3:35: warning: unknown operating system for build configuration 'os'
#elseif os(iOS) || os(tvOS) || os(visionOS)
^
/host/spi-builder-workspace/Sources/Rearrange/NSTextRange+NSRange.swift:3:35: note: did you mean 'iOS'?
#elseif os(iOS) || os(tvOS) || os(visionOS)
^~~~~~~~
iOS
/host/spi-builder-workspace/Sources/Rearrange/NSTextRange+NSRange.swift:3:35: note: did you mean 'Windows'?
#elseif os(iOS) || os(tvOS) || os(visionOS)
^~~~~~~~
Windows
/host/spi-builder-workspace/Sources/Rearrange/NSTextRange+NSRange.swift:7:44: warning: unknown operating system for build configuration 'os'
#if os(macOS) || os(iOS) || os(tvOS) || os(visionOS)
^
/host/spi-builder-workspace/Sources/Rearrange/NSTextRange+NSRange.swift:7:44: note: did you mean 'iOS'?
#if os(macOS) || os(iOS) || os(tvOS) || os(visionOS)
^~~~~~~~
iOS
/host/spi-builder-workspace/Sources/Rearrange/NSTextRange+NSRange.swift:7:44: note: did you mean 'Windows'?
#if os(macOS) || os(iOS) || os(tvOS) || os(visionOS)
^~~~~~~~
Windows
/host/spi-builder-workspace/Sources/Rearrange/NSTextRange+Bounded.swift:8:11: error: cannot find type 'NSTextRange' in scope
extension NSTextRange : Bounded {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Rearrange/NSTextRange+Bounded.swift:9:25: error: cannot find type 'NSTextLocation' in scope
public var lowerBound: NSTextLocation { location }
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Rearrange/NSTextRange+Bounded.swift:10:25: error: cannot find type 'NSTextLocation' in scope
public var upperBound: NSTextLocation { endLocation }
^~~~~~~~~~~~~~
[2/12] Compiling Rearrange NSTextRange+NSRange.swift
/host/spi-builder-workspace/Sources/Rearrange/NSTextRange+NSRange.swift:3:35: warning: unknown operating system for build configuration 'os'
#elseif os(iOS) || os(tvOS) || os(visionOS)
^
/host/spi-builder-workspace/Sources/Rearrange/NSTextRange+NSRange.swift:3:35: note: did you mean 'iOS'?
#elseif os(iOS) || os(tvOS) || os(visionOS)
^~~~~~~~
iOS
/host/spi-builder-workspace/Sources/Rearrange/NSTextRange+NSRange.swift:3:35: note: did you mean 'Windows'?
#elseif os(iOS) || os(tvOS) || os(visionOS)
^~~~~~~~
Windows
/host/spi-builder-workspace/Sources/Rearrange/NSTextRange+NSRange.swift:7:44: warning: unknown operating system for build configuration 'os'
#if os(macOS) || os(iOS) || os(tvOS) || os(visionOS)
^
/host/spi-builder-workspace/Sources/Rearrange/NSTextRange+NSRange.swift:7:44: note: did you mean 'iOS'?
#if os(macOS) || os(iOS) || os(tvOS) || os(visionOS)
^~~~~~~~
iOS
/host/spi-builder-workspace/Sources/Rearrange/NSTextRange+NSRange.swift:7:44: note: did you mean 'Windows'?
#if os(macOS) || os(iOS) || os(tvOS) || os(visionOS)
^~~~~~~~
Windows
/host/spi-builder-workspace/Sources/Rearrange/NSTextRange+Bounded.swift:8:11: error: cannot find type 'NSTextRange' in scope
extension NSTextRange : Bounded {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Rearrange/NSTextRange+Bounded.swift:9:25: error: cannot find type 'NSTextLocation' in scope
public var lowerBound: NSTextLocation { location }
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Rearrange/NSTextRange+Bounded.swift:10:25: error: cannot find type 'NSTextLocation' in scope
public var upperBound: NSTextLocation { endLocation }
^~~~~~~~~~~~~~
[3/13] Compiling Rearrange UITextRange+Convenience.swift
/host/spi-builder-workspace/Sources/Rearrange/UITextRange+Convenience.swift:1:31: warning: unknown operating system for build configuration 'os'
#if os(iOS) || os(tvOS) || os(visionOS)
^
/host/spi-builder-workspace/Sources/Rearrange/UITextRange+Convenience.swift:1:31: note: did you mean 'iOS'?
#if os(iOS) || os(tvOS) || os(visionOS)
^~~~~~~~
iOS
/host/spi-builder-workspace/Sources/Rearrange/UITextRange+Convenience.swift:1:31: note: did you mean 'Windows'?
#if os(iOS) || os(tvOS) || os(visionOS)
^~~~~~~~
Windows
[4/13] Compiling Rearrange NSRange+Convenience.swift
[5/13] Compiling Rearrange NSRange+Shift.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/13] Compiling Rearrange Bounded.swift
[7/13] Compiling Rearrange IndexSet+ApplyMutation.swift
[8/13] Compiling Rearrange IndexSet+NSRange.swift
[9/13] Compiling Rearrange NSRange+ApplyMutation.swift
[10/13] Emitting module Rearrange
/host/spi-builder-workspace/Sources/Rearrange/NSTextRange+NSRange.swift:3:35: warning: unknown operating system for build configuration 'os'
#elseif os(iOS) || os(tvOS) || os(visionOS)
^
/host/spi-builder-workspace/Sources/Rearrange/NSTextRange+NSRange.swift:3:35: note: did you mean 'iOS'?
#elseif os(iOS) || os(tvOS) || os(visionOS)
^~~~~~~~
iOS
/host/spi-builder-workspace/Sources/Rearrange/NSTextRange+NSRange.swift:3:35: note: did you mean 'Windows'?
#elseif os(iOS) || os(tvOS) || os(visionOS)
^~~~~~~~
Windows
/host/spi-builder-workspace/Sources/Rearrange/NSTextRange+NSRange.swift:7:44: warning: unknown operating system for build configuration 'os'
#if os(macOS) || os(iOS) || os(tvOS) || os(visionOS)
^
/host/spi-builder-workspace/Sources/Rearrange/NSTextRange+NSRange.swift:7:44: note: did you mean 'iOS'?
#if os(macOS) || os(iOS) || os(tvOS) || os(visionOS)
^~~~~~~~
iOS
/host/spi-builder-workspace/Sources/Rearrange/NSTextRange+NSRange.swift:7:44: note: did you mean 'Windows'?
#if os(macOS) || os(iOS) || os(tvOS) || os(visionOS)
^~~~~~~~
Windows
/host/spi-builder-workspace/Sources/Rearrange/UITextRange+Convenience.swift:1:31: warning: unknown operating system for build configuration 'os'
#if os(iOS) || os(tvOS) || os(visionOS)
^
/host/spi-builder-workspace/Sources/Rearrange/UITextRange+Convenience.swift:1:31: note: did you mean 'iOS'?
#if os(iOS) || os(tvOS) || os(visionOS)
^~~~~~~~
iOS
/host/spi-builder-workspace/Sources/Rearrange/UITextRange+Convenience.swift:1:31: note: did you mean 'Windows'?
#if os(iOS) || os(tvOS) || os(visionOS)
^~~~~~~~
Windows
/host/spi-builder-workspace/Sources/Rearrange/NSTextRange+Bounded.swift:8:11: error: cannot find type 'NSTextRange' in scope
extension NSTextRange : Bounded {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Rearrange/RangeMutation.swift:13:16: warning: stored property 'range' of 'Sendable'-conforming struct 'RangeMutation' has non-sendable type 'NSRange' (aka '_NSRange')
public let range: NSRange
^
Foundation._NSRange:1:15: note: struct '_NSRange' does not conform to the 'Sendable' protocol
public struct _NSRange {
^
/host/spi-builder-workspace/Sources/Rearrange/RangeMutation.swift:9:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/Rearrange/TextRangeCalculating.swift:101:13: warning: stored property 'range' of 'Sendable'-conforming generic struct 'CalculatedRange' has non-sendable type 'Calculator.TextRange'
public let range: Calculator.TextRange
^
[11/13] Compiling Rearrange String+NSRange.swift
[12/13] Compiling Rearrange RangeMutation.swift
/host/spi-builder-workspace/Sources/Rearrange/RangeMutation.swift:13:16: warning: stored property 'range' of 'Sendable'-conforming struct 'RangeMutation' has non-sendable type 'NSRange' (aka '_NSRange')
public let range: NSRange
^
Foundation._NSRange:1:15: note: struct '_NSRange' does not conform to the 'Sendable' protocol
public struct _NSRange {
^
/host/spi-builder-workspace/Sources/Rearrange/RangeMutation.swift:9:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[13/13] Compiling Rearrange TextRangeCalculating.swift
/host/spi-builder-workspace/Sources/Rearrange/TextRangeCalculating.swift:101:13: warning: stored property 'range' of 'Sendable'-conforming generic struct 'CalculatedRange' has non-sendable type 'Calculator.TextRange'
public let range: Calculator.TextRange
^
error: fatalError
BUILD FAILURE 5.9 linux