This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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

Successful build of BTree with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/attaswift/BTree.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/attaswift/BTree
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 407fda7 Removed dynamic from library option in Package.swift to let client project determine whether to link dynamically or staticly
Cloned https://github.com/attaswift/BTree.git
Revision (git rev-parse @):
407fda73e18cc9df9130453ee36f73408c22408f
SUCCESS checkout https://github.com/attaswift/BTree.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/attaswift/BTree.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/18] Compiling BTree SortedSet.swift
/Users/admin/builder/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 |
[4/19] Compiling BTree Weak.swift
[5/19] Compiling BTree BTreeMerger.swift
/Users/admin/builder/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 {
/Users/admin/builder/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):
[6/19] Compiling BTree BTreeNode.swift
/Users/admin/builder/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 {
/Users/admin/builder/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):
[7/19] Compiling BTree Map.swift
[8/19] Compiling BTree BTree.swift
/Users/admin/builder/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 |     }
/Users/admin/builder/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 |     }
/Users/admin/builder/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
/Users/admin/builder/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:
/Users/admin/builder/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 }
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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/19] Compiling BTree BTreeBuilder.swift
/Users/admin/builder/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 |     }
/Users/admin/builder/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 |     }
/Users/admin/builder/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
/Users/admin/builder/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:
/Users/admin/builder/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 }
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 |     }
[10/19] Compiling BTree BTreeComparisons.swift
[11/19] Compiling BTree BTreeCursor.swift
[12/19] Compiling BTree BTreeIndex.swift
[13/19] Compiling BTree BTreeIterator.swift
[14/19] Emitting module BTree
/Users/admin/builder/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 |     }
/Users/admin/builder/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 |     }
/Users/admin/builder/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
/Users/admin/builder/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:
/Users/admin/builder/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 }
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 |     }
/Users/admin/builder/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 {
/Users/admin/builder/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 |     }
/Users/admin/builder/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
/Users/admin/builder/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 |     }
/Users/admin/builder/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
/Users/admin/builder/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 |     }
/Users/admin/builder/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 |     }
/Users/admin/builder/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 |     }
[15/19] Compiling BTree BTreePath.swift
[16/19] Compiling BTree BridgedList.swift
[17/19] Compiling BTree Compatibility.swift
/Users/admin/builder/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 |     }
/Users/admin/builder/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
/Users/admin/builder/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 |     }
/Users/admin/builder/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
/Users/admin/builder/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 |     }
/Users/admin/builder/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 |     }
/Users/admin/builder/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 |     }
[18/19] Compiling BTree List.swift
/Users/admin/builder/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 |     }
/Users/admin/builder/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
/Users/admin/builder/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 |     }
/Users/admin/builder/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
/Users/admin/builder/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 |     }
/Users/admin/builder/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 |     }
/Users/admin/builder/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 |     }
[19/19] Compiling BTree SortedBag.swift
/Users/admin/builder/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 |
Build complete! (20.28s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BTree",
  "name" : "BTree",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "BTree",
      "targets" : [
        "BTree"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "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"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.