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

Failed to build BTree with Swift 6.0 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/attaswift/BTree.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/attaswift/BTree
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 407fda7 Removed dynamic from library option in Package.swift to let client project determine whether to link dynamically or staticly
Cloned https://github.com/attaswift/BTree.git
Revision (git rev-parse @):
407fda73e18cc9df9130453ee36f73408c22408f
SUCCESS checkout https://github.com/attaswift/BTree.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/attaswift/BTree.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling BTree BTreeIndex.swift
[4/17] Compiling BTree BTreeIterator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/19] Compiling BTree BTree.swift
/host/spi-builder-workspace/Sources/BTree.swift:292:5: warning: 'public' modifier is redundant for property declared in a public extension
 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 |     }
[6/19] Compiling BTree BTreeBuilder.swift
/host/spi-builder-workspace/Sources/BTree.swift:292:5: warning: 'public' modifier is redundant for property declared in a public extension
 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 |     }
[7/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/BridgedList.swift:57:26: error: method does not override any method from its superclass
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                          `- error: method does not override any method from its superclass
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/Sources/List.swift:300:5: warning: 'public' modifier is redundant for instance method declared in a public extension
298 |     ///
299 |     /// [equivalence relation]: https://en.wikipedia.org/wiki/Equivalence_relation
300 |     public func elementsEqual(_ other: List<Element>, by isEquivalent: (Element, Element) throws -> Bool) rethrows -> Bool {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
301 |         return try self.tree.elementsEqual(other.tree, by: { try isEquivalent($0.1, $1.1) })
302 |     }
/host/spi-builder-workspace/Sources/List.swift:308:5: warning: 'public' modifier is redundant for instance method declared in a public extension
306 |     ///
307 |     /// - Complexity: O(`count`)
308 |     public func index(where predicate: (Element) throws -> Bool) rethrows -> Index? {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
309 |         var i = 0
310 |         try self.tree.forEach { element -> Bool in
/host/spi-builder-workspace/Sources/List.swift:332:5: warning: 'public' modifier is redundant for instance method declared in a public extension
330 |     ///
331 |     /// [equivalence relation]: https://en.wikipedia.org/wiki/Equivalence_relation
332 |     public func elementsEqual(_ other: List<Element>) -> Bool {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
333 |         return self.tree.elementsEqual(other.tree, by: { $0.1 == $1.1 })
334 |     }
/host/spi-builder-workspace/Sources/List.swift:339:5: warning: 'public' modifier is redundant for instance method declared in a public extension
337 |     ///
338 |     /// - Complexity: O(`count`)
339 |     public func index(of element: Element) -> Index? {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
340 |         var i = 0
341 |         self.tree.forEach { e -> Bool in
/host/spi-builder-workspace/Sources/List.swift:352:5: warning: 'public' modifier is redundant for instance method declared in a public extension
350 |
351 |     /// Return true iff `element` is in `self`.
352 |     public func contains(_ element: Element) -> Bool {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
353 |         return index(of: element) != nil
354 |     }
/host/spi-builder-workspace/Sources/List.swift:362:5: warning: 'public' modifier is redundant for operator function declared in a public extension
360 |     ///
361 |     /// - Complexity: O(`count`)
362 |     public static func ==(a: List, b: List) -> Bool {
    |     `- warning: 'public' modifier is redundant for operator function declared in a public extension
363 |         return a.elementsEqual(b)
364 |     }
/host/spi-builder-workspace/Sources/List.swift:367:5: warning: 'public' modifier is redundant for operator function declared in a public extension
365 |
366 |     /// Returns false iff the two lists do not have the same elements in the same order.
367 |     public static func !=(a: List, b: List) -> Bool {
    |     `- warning: 'public' modifier is redundant for operator function declared in a public extension
368 |         return !(a == b)
369 |     }
[8/19] Compiling BTree Compatibility.swift
/host/spi-builder-workspace/Sources/List.swift:300:5: warning: 'public' modifier is redundant for instance method declared in a public extension
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 |     }
[9/19] Compiling BTree List.swift
/host/spi-builder-workspace/Sources/List.swift:300:5: warning: 'public' modifier is redundant for instance method declared in a public extension
298 |     ///
299 |     /// [equivalence relation]: https://en.wikipedia.org/wiki/Equivalence_relation
300 |     public func elementsEqual(_ other: List<Element>, by isEquivalent: (Element, Element) throws -> Bool) rethrows -> Bool {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
301 |         return try self.tree.elementsEqual(other.tree, by: { try isEquivalent($0.1, $1.1) })
302 |     }
/host/spi-builder-workspace/Sources/List.swift:308:5: warning: 'public' modifier is redundant for instance method declared in a public extension
306 |     ///
307 |     /// - Complexity: O(`count`)
308 |     public func index(where predicate: (Element) throws -> Bool) rethrows -> Index? {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
309 |         var i = 0
310 |         try self.tree.forEach { element -> Bool in
/host/spi-builder-workspace/Sources/List.swift:332:5: warning: 'public' modifier is redundant for instance method declared in a public extension
330 |     ///
331 |     /// [equivalence relation]: https://en.wikipedia.org/wiki/Equivalence_relation
332 |     public func elementsEqual(_ other: List<Element>) -> Bool {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
333 |         return self.tree.elementsEqual(other.tree, by: { $0.1 == $1.1 })
334 |     }
/host/spi-builder-workspace/Sources/List.swift:339:5: warning: 'public' modifier is redundant for instance method declared in a public extension
337 |     ///
338 |     /// - Complexity: O(`count`)
339 |     public func index(of element: Element) -> Index? {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
340 |         var i = 0
341 |         self.tree.forEach { e -> Bool in
/host/spi-builder-workspace/Sources/List.swift:352:5: warning: 'public' modifier is redundant for instance method declared in a public extension
350 |
351 |     /// Return true iff `element` is in `self`.
352 |     public func contains(_ element: Element) -> Bool {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
353 |         return index(of: element) != nil
354 |     }
/host/spi-builder-workspace/Sources/List.swift:362:5: warning: 'public' modifier is redundant for operator function declared in a public extension
360 |     ///
361 |     /// - Complexity: O(`count`)
362 |     public static func ==(a: List, b: List) -> Bool {
    |     `- warning: 'public' modifier is redundant for operator function declared in a public extension
363 |         return a.elementsEqual(b)
364 |     }
/host/spi-builder-workspace/Sources/List.swift:367:5: warning: 'public' modifier is redundant for operator function declared in a public extension
365 |
366 |     /// Returns false iff the two lists do not have the same elements in the same order.
367 |     public static func !=(a: List, b: List) -> Bool {
    |     `- warning: 'public' modifier is redundant for operator function declared in a public extension
368 |         return !(a == b)
369 |     }
[10/19] Compiling BTree Map.swift
/host/spi-builder-workspace/Sources/SortedBag.swift:265:25: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
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 |
[11/19] Compiling BTree SortedBag.swift
/host/spi-builder-workspace/Sources/SortedBag.swift:265:25: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
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 |
[12/19] Compiling BTree SortedSet.swift
/host/spi-builder-workspace/Sources/SortedSet.swift:254:25: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
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 |
[13/19] Compiling BTree Weak.swift
/host/spi-builder-workspace/Sources/SortedSet.swift:254:25: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
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 |
[14/19] Compiling BTree BTreeComparisons.swift
[15/19] Compiling BTree BTreeCursor.swift
[16/19] Compiling BTree BTreeMerger.swift
/host/spi-builder-workspace/Sources/BTreeMerger.swift:690:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
688 |
689 |     /// Move sideways `n` slots to the right, skipping over subtrees along the way.
690 |     internal mutating func skipForward(_ n: Int) {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
691 |         if !node.isLeaf {
692 |             for i in 0 ..< n {
/host/spi-builder-workspace/Sources/BTreeMerger.swift:644:22: warning: enum case 'element' has one associated value that is a tuple of 2 elements
634 |
635 | internal enum BTreePart<Key: Comparable, Value> {
636 |     case element((Key, Value))
    |          `- note: 'element' declared here
637 |     case node(BTreeNode<Key, Value>)
638 |     case nodeRange(BTreeNode<Key, Value>, CountableRange<Int>)
    :
642 |     var count: Int {
643 |         switch self {
644 |         case .element(_, _):
    |                      `- warning: enum case 'element' has one associated value that is a tuple of 2 elements
645 |             return 1
646 |         case .node(let node):
[17/19] Compiling BTree BTreeNode.swift
/host/spi-builder-workspace/Sources/BTreeMerger.swift:690:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
688 |
689 |     /// Move sideways `n` slots to the right, skipping over subtrees along the way.
690 |     internal mutating func skipForward(_ n: Int) {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
691 |         if !node.isLeaf {
692 |             for i in 0 ..< n {
/host/spi-builder-workspace/Sources/BTreeMerger.swift:644:22: warning: enum case 'element' has one associated value that is a tuple of 2 elements
634 |
635 | internal enum BTreePart<Key: Comparable, Value> {
636 |     case element((Key, Value))
    |          `- note: 'element' declared here
637 |     case node(BTreeNode<Key, Value>)
638 |     case nodeRange(BTreeNode<Key, Value>, CountableRange<Int>)
    :
642 |     var count: Int {
643 |         switch self {
644 |         case .element(_, _):
    |                      `- warning: enum case 'element' has one associated value that is a tuple of 2 elements
645 |             return 1
646 |         case .node(let node):
[18/19] Compiling BTree BTreePath.swift
/host/spi-builder-workspace/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                              `- error: cannot find type 'NSFastEnumerationState' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                                                                       `- error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/Sources/BridgedList.swift:57:26: error: method does not override any method from its superclass
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                          `- error: method does not override any method from its superclass
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/Sources/BridgedList.swift:73:30: error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
71 |             let c = node.elements.count - slot
72 |             node.elements.withUnsafeBufferPointer { p in
73 |                 s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
   |                              `- error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
74 |                 s.state += UInt(c)
75 |             }
/host/spi-builder-workspace/Sources/BridgedList.swift:73:76: error: generic parameter 'Pointee' could not be inferred
71 |             let c = node.elements.count - slot
72 |             node.elements.withUnsafeBufferPointer { p in
73 |                 s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
   |                                                                            |- error: generic parameter 'Pointee' could not be inferred
   |                                                                            `- note: explicitly specify the generic arguments to fix this issue
74 |                 s.state += UInt(c)
75 |             }
[19/19] Compiling BTree BridgedList.swift
/host/spi-builder-workspace/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                              `- error: cannot find type 'NSFastEnumerationState' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                                                                       `- error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/Sources/BridgedList.swift:57:26: error: method does not override any method from its superclass
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                          `- error: method does not override any method from its superclass
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/Sources/BridgedList.swift:73:30: error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
71 |             let c = node.elements.count - slot
72 |             node.elements.withUnsafeBufferPointer { p in
73 |                 s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
   |                              `- error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
74 |                 s.state += UInt(c)
75 |             }
/host/spi-builder-workspace/Sources/BridgedList.swift:73:76: error: generic parameter 'Pointee' could not be inferred
71 |             let c = node.elements.count - slot
72 |             node.elements.withUnsafeBufferPointer { p in
73 |                 s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
   |                                                                            |- error: generic parameter 'Pointee' could not be inferred
   |                                                                            `- note: explicitly specify the generic arguments to fix this issue
74 |                 s.state += UInt(c)
75 |             }
BUILD FAILURE 6.0 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.