The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BTree, reference v4.1.0 (834353), with Swift 6.1 for Android on 27 May 2025 11:34:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/attaswift/BTree.git
https://github.com/attaswift/BTree.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BTree",
  "name" : "BTree",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "BTree",
      "targets" : [
        "BTree"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4"
  ],
  "targets" : [
    {
      "c99name" : "BTreeTests",
      "module_type" : "SwiftTarget",
      "name" : "BTreeTests",
      "path" : "Tests/BTreeTests",
      "sources" : [
        "BTreeBuilderTests.swift",
        "BTreeComparisonTests.swift",
        "BTreeCursorTests.swift",
        "BTreeMergeTests.swift",
        "BTreeNodeTests.swift",
        "BTreePathTests.swift",
        "BTreeTestSupport.swift",
        "BTreeTests.swift",
        "BridgedListTests.swift",
        "ListTests.swift",
        "MapTests.swift",
        "PermutationTests.swift",
        "Permutations.swift",
        "Random.swift",
        "SortedBagTests.swift",
        "SortedSetTests.swift",
        "String Manipulation.swift",
        "XCTest extensions.swift"
      ],
      "target_dependencies" : [
        "BTree"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BTree",
      "module_type" : "SwiftTarget",
      "name" : "BTree",
      "path" : "Sources",
      "product_memberships" : [
        "BTree"
      ],
      "sources" : [
        "BTree.swift",
        "BTreeBuilder.swift",
        "BTreeComparisons.swift",
        "BTreeCursor.swift",
        "BTreeIndex.swift",
        "BTreeIterator.swift",
        "BTreeMerger.swift",
        "BTreeNode.swift",
        "BTreePath.swift",
        "BridgedList.swift",
        "Compatibility.swift",
        "List.swift",
        "Map.swift",
        "SortedBag.swift",
        "SortedSet.swift",
        "Weak.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-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 |
[7/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 |
[8/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 |
[9/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):
[10/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):
[11/22] Compiling BTree BTreeIndex.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/22] Compiling BTree BTreeIterator.swift
[13/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/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 |     }
[14/22] Compiling BTree BTreeComparisons.swift
[15/22] Compiling BTree BTreeCursor.swift
[16/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 |     }
[17/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 |     }
[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: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: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 |             }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/19] Compiling BTree BTreeComparisons.swift
[3/19] Compiling BTree BTreeCursor.swift
[4/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
 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/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/21] 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 |     }
[6/21] 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 |     }
[7/21] 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):
[8/21] 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):
[9/21] Compiling BTree BTreeIndex.swift
[10/21] Compiling BTree BTreeIterator.swift
[11/21] 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: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 |             }
[12/21] 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: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 |             }
[13/21] 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 |     }
[14/21] 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 |     }
[15/21] 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 |
[16/21] 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 |
[17/21] 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 |
[18/21] 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 |
BUILD FAILURE 6.1 android