The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build BTree with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/attaswift/BTree.git
Reference: master
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/attaswift/BTree
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 407fda7 Removed dynamic from library option in Package.swift to let client project determine whether to link dynamically or staticly
Cloned https://github.com/attaswift/BTree.git
Revision (git rev-parse @):
407fda73e18cc9df9130453ee36f73408c22408f
SUCCESS checkout https://github.com/attaswift/BTree.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/attaswift/BTree.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling BTree BTreeIndex.swift
[4/17] Compiling BTree BTreeIterator.swift
[5/19] Compiling BTree Map.swift
/host/spi-builder-workspace/Sources/SortedBag.swift:265:25: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
        return try tree.flatMap { try transform($0.0) }
                        ^
/host/spi-builder-workspace/Sources/SortedBag.swift:265:25: note: use 'compactMap(_:)' instead
        return try tree.flatMap { try transform($0.0) }
                        ^~~~~~~
                        compactMap
[6/19] Compiling BTree SortedBag.swift
/host/spi-builder-workspace/Sources/SortedBag.swift:265:25: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
        return try tree.flatMap { try transform($0.0) }
                        ^
/host/spi-builder-workspace/Sources/SortedBag.swift:265:25: note: use 'compactMap(_:)' instead
        return try tree.flatMap { try transform($0.0) }
                        ^~~~~~~
                        compactMap
[7/19] Compiling BTree BTree.swift
/host/spi-builder-workspace/Sources/BTree.swift:292:5: warning: 'public' modifier is redundant for property declared in a public extension
    public var first: Element? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:299:5: warning: 'public' modifier is redundant for property declared in a public extension
    public var last: Element? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:307:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func element(atOffset offset: Int) -> Element {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:327:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func value(of key: Key, choosing selector: BTreeKeySelector = .any) -> Value? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:365:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func index(forKey key: Key, choosing selector: BTreeKeySelector = .any) -> Index? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:377:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func index(forInserting key: Key, at selector: BTreeKeySelector = .any) -> Index {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:386:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func offset(forKey key: Key, choosing selector: BTreeKeySelector = .any) -> Int? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:413:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func offset(of index: Index) -> Int {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:422:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func index(ofOffset offset: Int) -> Index {
    ^~~~~~~

[8/19] Compiling BTree BTreeBuilder.swift
/host/spi-builder-workspace/Sources/BTree.swift:292:5: warning: 'public' modifier is redundant for property declared in a public extension
    public var first: Element? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:299:5: warning: 'public' modifier is redundant for property declared in a public extension
    public var last: Element? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:307:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func element(atOffset offset: Int) -> Element {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:327:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func value(of key: Key, choosing selector: BTreeKeySelector = .any) -> Value? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:365:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func index(forKey key: Key, choosing selector: BTreeKeySelector = .any) -> Index? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:377:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func index(forInserting key: Key, at selector: BTreeKeySelector = .any) -> Index {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:386:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func offset(forKey key: Key, choosing selector: BTreeKeySelector = .any) -> Int? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:413:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func offset(of index: Index) -> Int {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:422:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func index(ofOffset offset: Int) -> Index {
    ^~~~~~~

error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/19] Emitting module BTree
/host/spi-builder-workspace/Sources/BTree.swift:292:5: warning: 'public' modifier is redundant for property declared in a public extension
    public var first: Element? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:299:5: warning: 'public' modifier is redundant for property declared in a public extension
    public var last: Element? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:307:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func element(atOffset offset: Int) -> Element {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:327:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func value(of key: Key, choosing selector: BTreeKeySelector = .any) -> Value? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:365:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func index(forKey key: Key, choosing selector: BTreeKeySelector = .any) -> Index? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:377:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func index(forInserting key: Key, at selector: BTreeKeySelector = .any) -> Index {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:386:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func offset(forKey key: Key, choosing selector: BTreeKeySelector = .any) -> Int? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:413:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func offset(of index: Index) -> Int {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:422:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func index(ofOffset offset: Int) -> Index {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTreeMerger.swift:690:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
    internal mutating func skipForward(_ n: Int) {
    ^~~~~~~~~

/host/spi-builder-workspace/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
    public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
                                                                             ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
    public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
                                                                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/BridgedList.swift:57:26: error: method does not override any method from its superclass
    public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
           ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/List.swift:300:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func elementsEqual(_ other: List<Element>, by isEquivalent: (Element, Element) throws -> Bool) rethrows -> Bool {
    ^~~~~~~

/host/spi-builder-workspace/Sources/List.swift:308:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func index(where predicate: (Element) throws -> Bool) rethrows -> Index? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/List.swift:332:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func elementsEqual(_ other: List<Element>) -> Bool {
    ^~~~~~~

/host/spi-builder-workspace/Sources/List.swift:339:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func index(of element: Element) -> Index? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/List.swift:352:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func contains(_ element: Element) -> Bool {
    ^~~~~~~

/host/spi-builder-workspace/Sources/List.swift:362:5: warning: 'public' modifier is redundant for operator function declared in a public extension
    public static func ==(a: List, b: List) -> Bool {
    ^~~~~~~

/host/spi-builder-workspace/Sources/List.swift:367:5: warning: 'public' modifier is redundant for operator function declared in a public extension
    public static func !=(a: List, b: List) -> Bool {
    ^~~~~~~

[10/19] Compiling BTree BTreeComparisons.swift
[11/19] Compiling BTree BTreeCursor.swift
[12/19] Compiling BTree Compatibility.swift
/host/spi-builder-workspace/Sources/List.swift:300:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func elementsEqual(_ other: List<Element>, by isEquivalent: (Element, Element) throws -> Bool) rethrows -> Bool {
    ^~~~~~~

/host/spi-builder-workspace/Sources/List.swift:308:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func index(where predicate: (Element) throws -> Bool) rethrows -> Index? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/List.swift:332:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func elementsEqual(_ other: List<Element>) -> Bool {
    ^~~~~~~

/host/spi-builder-workspace/Sources/List.swift:339:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func index(of element: Element) -> Index? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/List.swift:352:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func contains(_ element: Element) -> Bool {
    ^~~~~~~

/host/spi-builder-workspace/Sources/List.swift:362:5: warning: 'public' modifier is redundant for operator function declared in a public extension
    public static func ==(a: List, b: List) -> Bool {
    ^~~~~~~

/host/spi-builder-workspace/Sources/List.swift:367:5: warning: 'public' modifier is redundant for operator function declared in a public extension
    public static func !=(a: List, b: List) -> Bool {
    ^~~~~~~

[13/19] Compiling BTree List.swift
/host/spi-builder-workspace/Sources/List.swift:300:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func elementsEqual(_ other: List<Element>, by isEquivalent: (Element, Element) throws -> Bool) rethrows -> Bool {
    ^~~~~~~

/host/spi-builder-workspace/Sources/List.swift:308:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func index(where predicate: (Element) throws -> Bool) rethrows -> Index? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/List.swift:332:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func elementsEqual(_ other: List<Element>) -> Bool {
    ^~~~~~~

/host/spi-builder-workspace/Sources/List.swift:339:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func index(of element: Element) -> Index? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/List.swift:352:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func contains(_ element: Element) -> Bool {
    ^~~~~~~

/host/spi-builder-workspace/Sources/List.swift:362:5: warning: 'public' modifier is redundant for operator function declared in a public extension
    public static func ==(a: List, b: List) -> Bool {
    ^~~~~~~

/host/spi-builder-workspace/Sources/List.swift:367:5: warning: 'public' modifier is redundant for operator function declared in a public extension
    public static func !=(a: List, b: List) -> Bool {
    ^~~~~~~

[14/19] Compiling BTree SortedSet.swift
/host/spi-builder-workspace/Sources/SortedSet.swift:254:25: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
        return try tree.flatMap { try transform($0.0) }
                        ^
/host/spi-builder-workspace/Sources/SortedSet.swift:254:25: note: use 'compactMap(_:)' instead
        return try tree.flatMap { try transform($0.0) }
                        ^~~~~~~
                        compactMap
[15/19] Compiling BTree Weak.swift
/host/spi-builder-workspace/Sources/SortedSet.swift:254:25: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
        return try tree.flatMap { try transform($0.0) }
                        ^
/host/spi-builder-workspace/Sources/SortedSet.swift:254:25: note: use 'compactMap(_:)' instead
        return try tree.flatMap { try transform($0.0) }
                        ^~~~~~~
                        compactMap
[16/19] Compiling BTree BTreeMerger.swift
/host/spi-builder-workspace/Sources/BTreeMerger.swift:690:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
    internal mutating func skipForward(_ n: Int) {
    ^~~~~~~~~

/host/spi-builder-workspace/Sources/BTreeMerger.swift:644:22: warning: enum case 'element' has one associated value that is a tuple of 2 elements
        case .element(_, _):
                     ^
                     (     )
/host/spi-builder-workspace/Sources/BTreeMerger.swift:636:10: note: 'element' declared here
    case element((Key, Value))
         ^
[17/19] Compiling BTree BTreeNode.swift
/host/spi-builder-workspace/Sources/BTreeMerger.swift:690:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
    internal mutating func skipForward(_ n: Int) {
    ^~~~~~~~~

/host/spi-builder-workspace/Sources/BTreeMerger.swift:644:22: warning: enum case 'element' has one associated value that is a tuple of 2 elements
        case .element(_, _):
                     ^
                     (     )
/host/spi-builder-workspace/Sources/BTreeMerger.swift:636:10: note: 'element' declared here
    case element((Key, Value))
         ^
[18/19] Compiling BTree BTreePath.swift
/host/spi-builder-workspace/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
    public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
                                                                             ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
    public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
                                                                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/BridgedList.swift:57:26: error: method does not override any method from its superclass
    public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
           ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/BridgedList.swift:73:30: error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
                s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/BridgedList.swift:73:76: error: generic parameter 'Pointee' could not be inferred
                s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
                                                                           ^
/host/spi-builder-workspace/Sources/BridgedList.swift:73:76: note: explicitly specify the generic arguments to fix this issue
                s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
                                                                           ^
                                                                                               <Any>
[19/19] Compiling BTree BridgedList.swift
/host/spi-builder-workspace/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
    public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
                                                                             ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
    public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
                                                                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/BridgedList.swift:57:26: error: method does not override any method from its superclass
    public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
           ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/BridgedList.swift:73:30: error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
                s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/BridgedList.swift:73:76: error: generic parameter 'Pointee' could not be inferred
                s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
                                                                           ^
/host/spi-builder-workspace/Sources/BridgedList.swift:73:76: note: explicitly specify the generic arguments to fix this issue
                s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
                                                                           ^
                                                                                               <Any>
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/4] Compiling BTree BridgedList.swift
/host/spi-builder-workspace/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
    public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
                                                                             ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
    public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
                                                                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/BridgedList.swift:57:26: error: method does not override any method from its superclass
    public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
           ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/BridgedList.swift:73:30: error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
                s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/BridgedList.swift:73:76: error: generic parameter 'Pointee' could not be inferred
                s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
                                                                           ^
/host/spi-builder-workspace/Sources/BridgedList.swift:73:76: note: explicitly specify the generic arguments to fix this issue
                s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
                                                                           ^
                                                                                               <Any>
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Compiling BTree BTreePath.swift
[4/4] Emitting module BTree
/host/spi-builder-workspace/Sources/BTree.swift:292:5: warning: 'public' modifier is redundant for property declared in a public extension
    public var first: Element? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:299:5: warning: 'public' modifier is redundant for property declared in a public extension
    public var last: Element? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:307:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func element(atOffset offset: Int) -> Element {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:327:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func value(of key: Key, choosing selector: BTreeKeySelector = .any) -> Value? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:365:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func index(forKey key: Key, choosing selector: BTreeKeySelector = .any) -> Index? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:377:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func index(forInserting key: Key, at selector: BTreeKeySelector = .any) -> Index {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:386:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func offset(forKey key: Key, choosing selector: BTreeKeySelector = .any) -> Int? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:413:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func offset(of index: Index) -> Int {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:422:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func index(ofOffset offset: Int) -> Index {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTreeMerger.swift:690:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
    internal mutating func skipForward(_ n: Int) {
    ^~~~~~~~~

/host/spi-builder-workspace/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
    public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
                                                                             ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
    public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
                                                                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/BridgedList.swift:57:26: error: method does not override any method from its superclass
    public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
           ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/List.swift:300:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func elementsEqual(_ other: List<Element>, by isEquivalent: (Element, Element) throws -> Bool) rethrows -> Bool {
    ^~~~~~~

/host/spi-builder-workspace/Sources/List.swift:308:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func index(where predicate: (Element) throws -> Bool) rethrows -> Index? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/List.swift:332:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func elementsEqual(_ other: List<Element>) -> Bool {
    ^~~~~~~

/host/spi-builder-workspace/Sources/List.swift:339:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func index(of element: Element) -> Index? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/List.swift:352:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func contains(_ element: Element) -> Bool {
    ^~~~~~~

/host/spi-builder-workspace/Sources/List.swift:362:5: warning: 'public' modifier is redundant for operator function declared in a public extension
    public static func ==(a: List, b: List) -> Bool {
    ^~~~~~~

/host/spi-builder-workspace/Sources/List.swift:367:5: warning: 'public' modifier is redundant for operator function declared in a public extension
    public static func !=(a: List, b: List) -> Bool {
    ^~~~~~~

[5/14] Compiling BTree SortedBag.swift
/host/spi-builder-workspace/Sources/SortedBag.swift:265:25: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
        return try tree.flatMap { try transform($0.0) }
                        ^
/host/spi-builder-workspace/Sources/SortedBag.swift:265:25: note: use 'compactMap(_:)' instead
        return try tree.flatMap { try transform($0.0) }
                        ^~~~~~~
                        compactMap
[6/14] Compiling BTree SortedSet.swift
/host/spi-builder-workspace/Sources/SortedSet.swift:254:25: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
        return try tree.flatMap { try transform($0.0) }
                        ^
/host/spi-builder-workspace/Sources/SortedSet.swift:254:25: note: use 'compactMap(_:)' instead
        return try tree.flatMap { try transform($0.0) }
                        ^~~~~~~
                        compactMap
[7/14] Compiling BTree BTreeNode.swift
[8/14] Compiling BTree BTreeMerger.swift
/host/spi-builder-workspace/Sources/BTreeMerger.swift:690:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
    internal mutating func skipForward(_ n: Int) {
    ^~~~~~~~~

/host/spi-builder-workspace/Sources/BTreeMerger.swift:644:22: warning: enum case 'element' has one associated value that is a tuple of 2 elements
        case .element(_, _):
                     ^
                     (     )
/host/spi-builder-workspace/Sources/BTreeMerger.swift:636:10: note: 'element' declared here
    case element((Key, Value))
         ^
[9/14] Compiling BTree BTreeIndex.swift
[10/14] Compiling BTree BTreeIterator.swift
[11/14] Compiling BTree BTreeComparisons.swift
[12/14] Compiling BTree BTreeCursor.swift
[13/14] Compiling BTree BTree.swift
/host/spi-builder-workspace/Sources/BTree.swift:292:5: warning: 'public' modifier is redundant for property declared in a public extension
    public var first: Element? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:299:5: warning: 'public' modifier is redundant for property declared in a public extension
    public var last: Element? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:307:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func element(atOffset offset: Int) -> Element {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:327:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func value(of key: Key, choosing selector: BTreeKeySelector = .any) -> Value? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:365:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func index(forKey key: Key, choosing selector: BTreeKeySelector = .any) -> Index? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:377:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func index(forInserting key: Key, at selector: BTreeKeySelector = .any) -> Index {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:386:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func offset(forKey key: Key, choosing selector: BTreeKeySelector = .any) -> Int? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:413:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func offset(of index: Index) -> Int {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:422:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func index(ofOffset offset: Int) -> Index {
    ^~~~~~~

[14/14] Compiling BTree BTreeBuilder.swift
/host/spi-builder-workspace/Sources/BTree.swift:292:5: warning: 'public' modifier is redundant for property declared in a public extension
    public var first: Element? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:299:5: warning: 'public' modifier is redundant for property declared in a public extension
    public var last: Element? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:307:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func element(atOffset offset: Int) -> Element {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:327:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func value(of key: Key, choosing selector: BTreeKeySelector = .any) -> Value? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:365:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func index(forKey key: Key, choosing selector: BTreeKeySelector = .any) -> Index? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:377:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func index(forInserting key: Key, at selector: BTreeKeySelector = .any) -> Index {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:386:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func offset(forKey key: Key, choosing selector: BTreeKeySelector = .any) -> Int? {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:413:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func offset(of index: Index) -> Int {
    ^~~~~~~

/host/spi-builder-workspace/Sources/BTree.swift:422:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func index(ofOffset offset: Int) -> Index {
    ^~~~~~~

error: fatalError
BUILD FAILURE 5.10 linux