Build Information
Failed to build Rearrange, reference main (eae387
), with Swift 5.10 for Linux on 19 Feb 2025 17:07:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-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.10
Building package at path: $PWD
https://github.com/ChimeHQ/Rearrange.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-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...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/14] 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 }
^~~~~~~~~~~~~~
[4/14] 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 }
^~~~~~~~~~~~~~
[5/15] 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
[6/15] Compiling Rearrange IndexSet+NSRange.swift
[7/15] Compiling Rearrange NSRange+ApplyMutation.swift
[8/15] Compiling Rearrange NSRange+Convenience.swift
/host/spi-builder-workspace/Sources/Rearrange/NSRange+Convenience.swift:12:23: warning: static property 'zero' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let zero = NSRange(location: 0, length: 0)
^
/host/spi-builder-workspace/Sources/Rearrange/NSRange+Convenience.swift:13:23: warning: static property 'notFound' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let notFound = NSRange(location: NSNotFound, length: 0)
^
[9/15] Compiling Rearrange NSRange+Shift.swift
/host/spi-builder-workspace/Sources/Rearrange/NSRange+Convenience.swift:12:23: warning: static property 'zero' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let zero = NSRange(location: 0, length: 0)
^
/host/spi-builder-workspace/Sources/Rearrange/NSRange+Convenience.swift:13:23: warning: static property 'notFound' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let notFound = NSRange(location: NSNotFound, length: 0)
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/15] Compiling Rearrange Bounded.swift
[11/15] Compiling Rearrange IndexSet+ApplyMutation.swift
[12/15] 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/NSRange+Convenience.swift:12:23: warning: static property 'zero' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let zero = NSRange(location: 0, length: 0)
^
/host/spi-builder-workspace/Sources/Rearrange/NSRange+Convenience.swift:13:23: warning: static property 'notFound' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let notFound = NSRange(location: NSNotFound, length: 0)
^
/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
^
[13/15] 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
^
[14/15] 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
/host/spi-builder-workspace/Sources/Rearrange/NSRange+Convenience.swift:12:23: warning: static property 'zero' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let zero = NSRange(location: 0, length: 0)
^
[15/15] Compiling Rearrange String+NSRange.swift
error: fatalError
BUILD FAILURE 5.10 linux