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, reference v4.1.0 (834353), with Swift 6.0 for Linux on 31 Oct 2024 09:17:14 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 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/attaswift/BTree.git
Reference: v4.1.0
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
 * tag               v4.1.0     -> FETCH_HEAD
HEAD is now at 8343537 Update CHANGELOG.
Cloned https://github.com/attaswift/BTree.git
Revision (git rev-parse @):
83435371ef3c6d98107f5b562a5870a3dfca6243
SUCCESS checkout https://github.com/attaswift/BTree.git at v4.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/attaswift/BTree.git
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 -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
[3/20] 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
298 |     ///
299 |     /// [equivalence relation]: https://en.wikipedia.org/wiki/Equivalence_relation
300 |     public func elementsEqual(_ other: List<Element>, by isEquivalent: (Element, Element) throws -> Bool) rethrows -> Bool {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
301 |         return try self.tree.elementsEqual(other.tree, by: { try isEquivalent($0.1, $1.1) })
302 |     }
/host/spi-builder-workspace/Sources/List.swift:308:5: warning: 'public' modifier is redundant for instance method declared in a public extension
306 |     ///
307 |     /// - Complexity: O(`count`)
308 |     public func index(where predicate: (Element) throws -> Bool) rethrows -> Index? {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
309 |         var i = 0
310 |         try self.tree.forEach { element -> Bool in
/host/spi-builder-workspace/Sources/List.swift:332:5: warning: 'public' modifier is redundant for instance method declared in a public extension
330 |     ///
331 |     /// [equivalence relation]: https://en.wikipedia.org/wiki/Equivalence_relation
332 |     public func elementsEqual(_ other: List<Element>) -> Bool {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
333 |         return self.tree.elementsEqual(other.tree, by: { $0.1 == $1.1 })
334 |     }
/host/spi-builder-workspace/Sources/List.swift:339:5: warning: 'public' modifier is redundant for instance method declared in a public extension
337 |     ///
338 |     /// - Complexity: O(`count`)
339 |     public func index(of element: Element) -> Index? {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
340 |         var i = 0
341 |         self.tree.forEach { e -> Bool in
/host/spi-builder-workspace/Sources/List.swift:352:5: warning: 'public' modifier is redundant for instance method declared in a public extension
350 |
351 |     /// Return true iff `element` is in `self`.
352 |     public func contains(_ element: Element) -> Bool {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
353 |         return index(of: element) != nil
354 |     }
/host/spi-builder-workspace/Sources/List.swift:362:5: warning: 'public' modifier is redundant for operator function declared in a public extension
360 |     ///
361 |     /// - Complexity: O(`count`)
362 |     public static func ==(a: List, b: List) -> Bool {
    |     `- warning: 'public' modifier is redundant for operator function declared in a public extension
363 |         return a.elementsEqual(b)
364 |     }
/host/spi-builder-workspace/Sources/List.swift:367:5: warning: 'public' modifier is redundant for operator function declared in a public extension
365 |
366 |     /// Returns false iff the two lists do not have the same elements in the same order.
367 |     public static func !=(a: List, b: List) -> Bool {
    |     `- warning: 'public' modifier is redundant for operator function declared in a public extension
368 |         return !(a == b)
369 |     }
[4/20] 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
298 |     ///
299 |     /// [equivalence relation]: https://en.wikipedia.org/wiki/Equivalence_relation
300 |     public func elementsEqual(_ other: List<Element>, by isEquivalent: (Element, Element) throws -> Bool) rethrows -> Bool {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
301 |         return try self.tree.elementsEqual(other.tree, by: { try isEquivalent($0.1, $1.1) })
302 |     }
/host/spi-builder-workspace/Sources/List.swift:308:5: warning: 'public' modifier is redundant for instance method declared in a public extension
306 |     ///
307 |     /// - Complexity: O(`count`)
308 |     public func index(where predicate: (Element) throws -> Bool) rethrows -> Index? {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
309 |         var i = 0
310 |         try self.tree.forEach { element -> Bool in
/host/spi-builder-workspace/Sources/List.swift:332:5: warning: 'public' modifier is redundant for instance method declared in a public extension
330 |     ///
331 |     /// [equivalence relation]: https://en.wikipedia.org/wiki/Equivalence_relation
332 |     public func elementsEqual(_ other: List<Element>) -> Bool {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
333 |         return self.tree.elementsEqual(other.tree, by: { $0.1 == $1.1 })
334 |     }
/host/spi-builder-workspace/Sources/List.swift:339:5: warning: 'public' modifier is redundant for instance method declared in a public extension
337 |     ///
338 |     /// - Complexity: O(`count`)
339 |     public func index(of element: Element) -> Index? {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
340 |         var i = 0
341 |         self.tree.forEach { e -> Bool in
/host/spi-builder-workspace/Sources/List.swift:352:5: warning: 'public' modifier is redundant for instance method declared in a public extension
350 |
351 |     /// Return true iff `element` is in `self`.
352 |     public func contains(_ element: Element) -> Bool {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
353 |         return index(of: element) != nil
354 |     }
/host/spi-builder-workspace/Sources/List.swift:362:5: warning: 'public' modifier is redundant for operator function declared in a public extension
360 |     ///
361 |     /// - Complexity: O(`count`)
362 |     public static func ==(a: List, b: List) -> Bool {
    |     `- warning: 'public' modifier is redundant for operator function declared in a public extension
363 |         return a.elementsEqual(b)
364 |     }
/host/spi-builder-workspace/Sources/List.swift:367:5: warning: 'public' modifier is redundant for operator function declared in a public extension
365 |
366 |     /// Returns false iff the two lists do not have the same elements in the same order.
367 |     public static func !=(a: List, b: List) -> Bool {
    |     `- warning: 'public' modifier is redundant for operator function declared in a public extension
368 |         return !(a == b)
369 |     }
[5/20] 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
263 |     /// Return an `Array` containing the non-`nil` results of mapping `transform` over `self`.
264 |     public func flatMap<T>(_ transform: (Element) throws -> T?) rethrows -> [T] {
265 |         return try tree.flatMap { try transform($0.0) }
    |                         |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |                         `- note: use 'compactMap(_:)' instead
266 |     }
267 |
[6/20] 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
263 |     /// Return an `Array` containing the non-`nil` results of mapping `transform` over `self`.
264 |     public func flatMap<T>(_ transform: (Element) throws -> T?) rethrows -> [T] {
265 |         return try tree.flatMap { try transform($0.0) }
    |                         |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |                         `- note: use 'compactMap(_:)' instead
266 |     }
267 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/22] 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
 290 |     ///
 291 |     /// - Complexity: O(log(`count`))
 292 |     public var first: Element? {
     |     `- warning: 'public' modifier is redundant for property declared in a public extension
 293 |         return root.first
 294 |     }
/host/spi-builder-workspace/Sources/BTree.swift:299:5: warning: 'public' modifier is redundant for property declared in a public extension
 297 |     ///
 298 |     /// - Complexity: O(log(`count`))
 299 |     public var last: Element? {
     |     `- warning: 'public' modifier is redundant for property declared in a public extension
 300 |         return root.last
 301 |     }
/host/spi-builder-workspace/Sources/BTree.swift:307:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 305 |     /// - Requires: `offset >= 0 && offset < count`
 306 |     /// - Complexity: O(log(`count`))
 307 |     public func element(atOffset offset: Int) -> Element {
     |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 308 |         precondition(offset >= 0 && offset < count)
 309 |         var offset = offset
/host/spi-builder-workspace/Sources/BTree.swift:327:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 325 |     ///
 326 |     /// - Complexity: O(log(`count`))
 327 |     public func value(of key: Key, choosing selector: BTreeKeySelector = .any) -> Value? {
     |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 328 |         switch selector {
 329 |         case .any:
/host/spi-builder-workspace/Sources/BTree.swift:365:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 363 |     ///
 364 |     /// - Complexity: O(log(`count`))
 365 |     public func index(forKey key: Key, choosing selector: BTreeKeySelector = .any) -> Index? {
     |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 366 |         let path = BTreeWeakPath(root: root, key: key, choosing: selector)
 367 |         guard !path.isAtEnd && (selector == .after || path.key == key) else { return nil }
/host/spi-builder-workspace/Sources/BTree.swift:377:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 375 |     ///
 376 |     /// - Complexity: O(log(`count`))
 377 |     public func index(forInserting key: Key, at selector: BTreeKeySelector = .any) -> Index {
     |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 378 |         let path = BTreeWeakPath(root: root, key: key, choosing: selector == .last ? .after : selector)
 379 |         return Index(path)
/host/spi-builder-workspace/Sources/BTree.swift:386:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 384 |     ///
 385 |     /// - Complexity: O(log(`count`))
 386 |     public func offset(forKey key: Key, choosing selector: BTreeKeySelector = .any) -> Int? {
     |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 387 |         var node = root
 388 |         var offset = 0
/host/spi-builder-workspace/Sources/BTree.swift:413:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 411 |     ///
 412 |     /// - Complexity: O(1)
 413 |     public func offset(of index: Index) -> Int {
     |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 414 |         index.state.expectRoot(root)
 415 |         return index.state.offset
/host/spi-builder-workspace/Sources/BTree.swift:422:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 420 |     /// - Requires: `offset >= 0 && offset <= count`
 421 |     /// - Complexity: O(log(`count`))
 422 |     public func index(ofOffset offset: Int) -> Index {
     |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 423 |         return Index(BTreeWeakPath(root: root, offset: offset))
 424 |     }
[8/22] 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
 290 |     ///
 291 |     /// - Complexity: O(log(`count`))
 292 |     public var first: Element? {
     |     `- warning: 'public' modifier is redundant for property declared in a public extension
 293 |         return root.first
 294 |     }
/host/spi-builder-workspace/Sources/BTree.swift:299:5: warning: 'public' modifier is redundant for property declared in a public extension
 297 |     ///
 298 |     /// - Complexity: O(log(`count`))
 299 |     public var last: Element? {
     |     `- warning: 'public' modifier is redundant for property declared in a public extension
 300 |         return root.last
 301 |     }
/host/spi-builder-workspace/Sources/BTree.swift:307:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 305 |     /// - Requires: `offset >= 0 && offset < count`
 306 |     /// - Complexity: O(log(`count`))
 307 |     public func element(atOffset offset: Int) -> Element {
     |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 308 |         precondition(offset >= 0 && offset < count)
 309 |         var offset = offset
/host/spi-builder-workspace/Sources/BTree.swift:327:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 325 |     ///
 326 |     /// - Complexity: O(log(`count`))
 327 |     public func value(of key: Key, choosing selector: BTreeKeySelector = .any) -> Value? {
     |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 328 |         switch selector {
 329 |         case .any:
/host/spi-builder-workspace/Sources/BTree.swift:365:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 363 |     ///
 364 |     /// - Complexity: O(log(`count`))
 365 |     public func index(forKey key: Key, choosing selector: BTreeKeySelector = .any) -> Index? {
     |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 366 |         let path = BTreeWeakPath(root: root, key: key, choosing: selector)
 367 |         guard !path.isAtEnd && (selector == .after || path.key == key) else { return nil }
/host/spi-builder-workspace/Sources/BTree.swift:377:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 375 |     ///
 376 |     /// - Complexity: O(log(`count`))
 377 |     public func index(forInserting key: Key, at selector: BTreeKeySelector = .any) -> Index {
     |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 378 |         let path = BTreeWeakPath(root: root, key: key, choosing: selector == .last ? .after : selector)
 379 |         return Index(path)
/host/spi-builder-workspace/Sources/BTree.swift:386:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 384 |     ///
 385 |     /// - Complexity: O(log(`count`))
 386 |     public func offset(forKey key: Key, choosing selector: BTreeKeySelector = .any) -> Int? {
     |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 387 |         var node = root
 388 |         var offset = 0
/host/spi-builder-workspace/Sources/BTree.swift:413:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 411 |     ///
 412 |     /// - Complexity: O(1)
 413 |     public func offset(of index: Index) -> Int {
     |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 414 |         index.state.expectRoot(root)
 415 |         return index.state.offset
/host/spi-builder-workspace/Sources/BTree.swift:422:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 420 |     /// - Requires: `offset >= 0 && offset <= count`
 421 |     /// - Complexity: O(log(`count`))
 422 |     public func index(ofOffset offset: Int) -> Index {
     |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 423 |         return Index(BTreeWeakPath(root: root, offset: offset))
 424 |     }
[9/22] Emitting module BTree
/host/spi-builder-workspace/Sources/BTree.swift:292:5: warning: 'public' modifier is redundant for property declared in a public extension
 290 |     ///
 291 |     /// - Complexity: O(log(`count`))
 292 |     public var first: Element? {
     |     `- warning: 'public' modifier is redundant for property declared in a public extension
 293 |         return root.first
 294 |     }
/host/spi-builder-workspace/Sources/BTree.swift:299:5: warning: 'public' modifier is redundant for property declared in a public extension
 297 |     ///
 298 |     /// - Complexity: O(log(`count`))
 299 |     public var last: Element? {
     |     `- warning: 'public' modifier is redundant for property declared in a public extension
 300 |         return root.last
 301 |     }
/host/spi-builder-workspace/Sources/BTree.swift:307:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 305 |     /// - Requires: `offset >= 0 && offset < count`
 306 |     /// - Complexity: O(log(`count`))
 307 |     public func element(atOffset offset: Int) -> Element {
     |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 308 |         precondition(offset >= 0 && offset < count)
 309 |         var offset = offset
/host/spi-builder-workspace/Sources/BTree.swift:327:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 325 |     ///
 326 |     /// - Complexity: O(log(`count`))
 327 |     public func value(of key: Key, choosing selector: BTreeKeySelector = .any) -> Value? {
     |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 328 |         switch selector {
 329 |         case .any:
/host/spi-builder-workspace/Sources/BTree.swift:365:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 363 |     ///
 364 |     /// - Complexity: O(log(`count`))
 365 |     public func index(forKey key: Key, choosing selector: BTreeKeySelector = .any) -> Index? {
     |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 366 |         let path = BTreeWeakPath(root: root, key: key, choosing: selector)
 367 |         guard !path.isAtEnd && (selector == .after || path.key == key) else { return nil }
/host/spi-builder-workspace/Sources/BTree.swift:377:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 375 |     ///
 376 |     /// - Complexity: O(log(`count`))
 377 |     public func index(forInserting key: Key, at selector: BTreeKeySelector = .any) -> Index {
     |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 378 |         let path = BTreeWeakPath(root: root, key: key, choosing: selector == .last ? .after : selector)
 379 |         return Index(path)
/host/spi-builder-workspace/Sources/BTree.swift:386:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 384 |     ///
 385 |     /// - Complexity: O(log(`count`))
 386 |     public func offset(forKey key: Key, choosing selector: BTreeKeySelector = .any) -> Int? {
     |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 387 |         var node = root
 388 |         var offset = 0
/host/spi-builder-workspace/Sources/BTree.swift:413:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 411 |     ///
 412 |     /// - Complexity: O(1)
 413 |     public func offset(of index: Index) -> Int {
     |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 414 |         index.state.expectRoot(root)
 415 |         return index.state.offset
/host/spi-builder-workspace/Sources/BTree.swift:422:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 420 |     /// - Requires: `offset >= 0 && offset <= count`
 421 |     /// - Complexity: O(log(`count`))
 422 |     public func index(ofOffset offset: Int) -> Index {
     |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 423 |         return Index(BTreeWeakPath(root: root, offset: offset))
 424 |     }
/host/spi-builder-workspace/Sources/BTreeMerger.swift:690:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
688 |
689 |     /// Move sideways `n` slots to the right, skipping over subtrees along the way.
690 |     internal mutating func skipForward(_ n: Int) {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
691 |         if !node.isLeaf {
692 |             for i in 0 ..< n {
/host/spi-builder-workspace/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                              `- error: cannot find type 'NSFastEnumerationState' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                                                                       `- error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/Sources/BridgedList.swift:57:26: error: method does not override any method from its superclass
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                          `- error: method does not override any method from its superclass
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/Sources/List.swift:300:5: warning: 'public' modifier is redundant for instance method declared in a public extension
298 |     ///
299 |     /// [equivalence relation]: https://en.wikipedia.org/wiki/Equivalence_relation
300 |     public func elementsEqual(_ other: List<Element>, by isEquivalent: (Element, Element) throws -> Bool) rethrows -> Bool {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
301 |         return try self.tree.elementsEqual(other.tree, by: { try isEquivalent($0.1, $1.1) })
302 |     }
/host/spi-builder-workspace/Sources/List.swift:308:5: warning: 'public' modifier is redundant for instance method declared in a public extension
306 |     ///
307 |     /// - Complexity: O(`count`)
308 |     public func index(where predicate: (Element) throws -> Bool) rethrows -> Index? {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
309 |         var i = 0
310 |         try self.tree.forEach { element -> Bool in
/host/spi-builder-workspace/Sources/List.swift:332:5: warning: 'public' modifier is redundant for instance method declared in a public extension
330 |     ///
331 |     /// [equivalence relation]: https://en.wikipedia.org/wiki/Equivalence_relation
332 |     public func elementsEqual(_ other: List<Element>) -> Bool {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
333 |         return self.tree.elementsEqual(other.tree, by: { $0.1 == $1.1 })
334 |     }
/host/spi-builder-workspace/Sources/List.swift:339:5: warning: 'public' modifier is redundant for instance method declared in a public extension
337 |     ///
338 |     /// - Complexity: O(`count`)
339 |     public func index(of element: Element) -> Index? {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
340 |         var i = 0
341 |         self.tree.forEach { e -> Bool in
/host/spi-builder-workspace/Sources/List.swift:352:5: warning: 'public' modifier is redundant for instance method declared in a public extension
350 |
351 |     /// Return true iff `element` is in `self`.
352 |     public func contains(_ element: Element) -> Bool {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
353 |         return index(of: element) != nil
354 |     }
/host/spi-builder-workspace/Sources/List.swift:362:5: warning: 'public' modifier is redundant for operator function declared in a public extension
360 |     ///
361 |     /// - Complexity: O(`count`)
362 |     public static func ==(a: List, b: List) -> Bool {
    |     `- warning: 'public' modifier is redundant for operator function declared in a public extension
363 |         return a.elementsEqual(b)
364 |     }
/host/spi-builder-workspace/Sources/List.swift:367:5: warning: 'public' modifier is redundant for operator function declared in a public extension
365 |
366 |     /// Returns false iff the two lists do not have the same elements in the same order.
367 |     public static func !=(a: List, b: List) -> Bool {
    |     `- warning: 'public' modifier is redundant for operator function declared in a public extension
368 |         return !(a == b)
369 |     }
[10/22] Compiling BTree BTreeComparisons.swift
[11/22] Compiling BTree BTreeCursor.swift
[12/22] Compiling BTree BTreeIndex.swift
[13/22] Compiling BTree BTreeIterator.swift
[14/22] 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
252 |     /// Return an `Array` containing the non-`nil` results of mapping `transform` over `self`.
253 |     public func flatMap<T>(_ transform: (Element) throws -> T?) rethrows -> [T] {
254 |         return try tree.flatMap { try transform($0.0) }
    |                         |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |                         `- note: use 'compactMap(_:)' instead
255 |     }
256 |
[15/22] 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
252 |     /// Return an `Array` containing the non-`nil` results of mapping `transform` over `self`.
253 |     public func flatMap<T>(_ transform: (Element) throws -> T?) rethrows -> [T] {
254 |         return try tree.flatMap { try transform($0.0) }
    |                         |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |                         `- note: use 'compactMap(_:)' instead
255 |     }
256 |
[16/22] 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
688 |
689 |     /// Move sideways `n` slots to the right, skipping over subtrees along the way.
690 |     internal mutating func skipForward(_ n: Int) {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
691 |         if !node.isLeaf {
692 |             for i in 0 ..< n {
/host/spi-builder-workspace/Sources/BTreeMerger.swift:644:22: warning: enum case 'element' has one associated value that is a tuple of 2 elements
634 |
635 | internal enum BTreePart<Key: Comparable, Value> {
636 |     case element((Key, Value))
    |          `- note: 'element' declared here
637 |     case node(BTreeNode<Key, Value>)
638 |     case nodeRange(BTreeNode<Key, Value>, CountableRange<Int>)
    :
642 |     var count: Int {
643 |         switch self {
644 |         case .element(_, _):
    |                      `- warning: enum case 'element' has one associated value that is a tuple of 2 elements
645 |             return 1
646 |         case .node(let node):
[17/22] 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
688 |
689 |     /// Move sideways `n` slots to the right, skipping over subtrees along the way.
690 |     internal mutating func skipForward(_ n: Int) {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
691 |         if !node.isLeaf {
692 |             for i in 0 ..< n {
/host/spi-builder-workspace/Sources/BTreeMerger.swift:644:22: warning: enum case 'element' has one associated value that is a tuple of 2 elements
634 |
635 | internal enum BTreePart<Key: Comparable, Value> {
636 |     case element((Key, Value))
    |          `- note: 'element' declared here
637 |     case node(BTreeNode<Key, Value>)
638 |     case nodeRange(BTreeNode<Key, Value>, CountableRange<Int>)
    :
642 |     var count: Int {
643 |         switch self {
644 |         case .element(_, _):
    |                      `- warning: enum case 'element' has one associated value that is a tuple of 2 elements
645 |             return 1
646 |         case .node(let node):
[18/22] Compiling BTree BTreePath.swift
/host/spi-builder-workspace/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                              `- error: cannot find type 'NSFastEnumerationState' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                                                                       `- error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/Sources/BridgedList.swift:57:26: error: method does not override any method from its superclass
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                          `- error: method does not override any method from its superclass
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/Sources/BridgedList.swift:73:30: error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
71 |             let c = node.elements.count - slot
72 |             node.elements.withUnsafeBufferPointer { p in
73 |                 s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
   |                              `- error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
74 |                 s.state += UInt(c)
75 |             }
/host/spi-builder-workspace/Sources/BridgedList.swift:73:76: error: generic parameter 'Pointee' could not be inferred
71 |             let c = node.elements.count - slot
72 |             node.elements.withUnsafeBufferPointer { p in
73 |                 s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
   |                                                                            |- error: generic parameter 'Pointee' could not be inferred
   |                                                                            `- note: explicitly specify the generic arguments to fix this issue
74 |                 s.state += UInt(c)
75 |             }
[19/22] Compiling BTree BridgedList.swift
/host/spi-builder-workspace/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                              `- error: cannot find type 'NSFastEnumerationState' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                                                                       `- error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/Sources/BridgedList.swift:57:26: error: method does not override any method from its superclass
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                          `- error: method does not override any method from its superclass
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/Sources/BridgedList.swift:73:30: error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
71 |             let c = node.elements.count - slot
72 |             node.elements.withUnsafeBufferPointer { p in
73 |                 s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
   |                              `- error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
74 |                 s.state += UInt(c)
75 |             }
/host/spi-builder-workspace/Sources/BridgedList.swift:73:76: error: generic parameter 'Pointee' could not be inferred
71 |             let c = node.elements.count - slot
72 |             node.elements.withUnsafeBufferPointer { p in
73 |                 s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
   |                                                                            |- error: generic parameter 'Pointee' could not be inferred
   |                                                                            `- note: explicitly specify the generic arguments to fix this issue
74 |                 s.state += UInt(c)
75 |             }
BUILD FAILURE 6.0 linux