Build Information
Successful build of BTree, reference v4.1.0 (834353
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 09:23:51 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/attaswift/BTree.git
Reference: v4.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "btree",
"name": "BTree",
"url": "https://github.com/attaswift/BTree.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BTree",
"dependencies": [
]
}
]
}
Fetching https://github.com/attaswift/BTree.git
[1/3349] Fetching btree
Fetched https://github.com/attaswift/BTree.git from cache (1.17s)
Creating working copy for https://github.com/attaswift/BTree.git
Working copy of https://github.com/attaswift/BTree.git resolved at v4.1.0 (8343537)
warning: '.resolve-product-dependencies': dependency 'btree' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/attaswift/BTree.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[1/4] Write swift-version--7754E27361AE5C74.txt
[3/20] 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 |
[4/21] 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 |
[5/21] Compiling BTree Weak.swift
[6/21] 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 | }
[7/21] 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 | }
[8/21] 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 | }
[9/21] Compiling BTree Map.swift
[10/21] 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):
[11/21] 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):
[12/21] 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 | }
[13/21] 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 | }
[14/21] Compiling BTree BTreeIndex.swift
[15/21] Compiling BTree BTreeIterator.swift
[16/21] Compiling BTree BTreeComparisons.swift
[17/21] Compiling BTree BTreeCursor.swift
[18/21] Compiling BTree BTreePath.swift
[19/21] Compiling BTree BridgedList.swift
[19/21] Write Objects.LinkFileList
[20/21] Linking libBTree.dylib
Build complete! (13.19s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "BTree",
"name" : "BTree",
"path" : "/Users/admin/builder/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"
}
Done.