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 EFFoundation, reference master (afb22d), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 09:32:09 UTC.

Swift 6 data race errors: 4

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/EFPrefix/EFFoundation.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/EFPrefix/EFFoundation
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at afb22de 1.7.1
Cloned https://github.com/EFPrefix/EFFoundation.git
Revision (git rev-parse @):
afb22ded5e2dfd8b375b9e4236ea9c20ecd5815f
SUCCESS checkout https://github.com/EFPrefix/EFFoundation.git at master
========================================
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": "effoundation",
      "name": "EFFoundation",
      "url": "https://github.com/EFPrefix/EFFoundation.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/EFFoundation",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/EFPrefix/EFFoundation.git
[1/1181] Fetching effoundation
Fetched https://github.com/EFPrefix/EFFoundation.git from cache (0.89s)
Creating working copy for https://github.com/EFPrefix/EFFoundation.git
Working copy of https://github.com/EFPrefix/EFFoundation.git resolved at master (afb22de)
warning: '.resolve-product-dependencies': dependency 'effoundation' 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/EFPrefix/EFFoundation.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/56] Emitting module EFFoundation
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/DataStructure/BitSet.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
156 | extension BitSet: Hashable {
157 |     /* Based on the hashing code from Java's BitSet. */
158 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
159 |         var h = Word(1234)
160 |         for i in stride(from: words.count, to: 0, by: -1) {
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/DataStructure/LinkedList.swift:5:33: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  1 | // https://github.com/raywenderlich/swift-algorithm-club
  2 | public final class LinkedList<T> {
    |                               `- note: 'T' previously declared here
  3 |
  4 |     /// Linked List's Node Class Declaration
  5 |     public class LinkedListNode<T> {
    |                                 `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  6 |         var value: T
  7 |         var next: LinkedListNode?
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/DataStructure/LinkedList.swift:333:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
327 | // MARK: - Collection Index
328 | /// Custom index type that contains a reference to the node at index 'tag'
329 | public struct LinkedListIndex<T>: Comparable {
    |                               `- note: 'T' previously declared here
330 |     fileprivate let node: LinkedList<T>.LinkedListNode<T>?
331 |     fileprivate let tag: Int
332 |
333 |     public static func==<T>(lhs: LinkedListIndex<T>, rhs: LinkedListIndex<T>) -> Bool {
    |                          `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
334 |         return (lhs.tag == rhs.tag)
335 |     }
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/DataStructure/LinkedList.swift:337:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
327 | // MARK: - Collection Index
328 | /// Custom index type that contains a reference to the node at index 'tag'
329 | public struct LinkedListIndex<T>: Comparable {
    |                               `- note: 'T' previously declared here
330 |     fileprivate let node: LinkedList<T>.LinkedListNode<T>?
331 |     fileprivate let tag: Int
    :
335 |     }
336 |
337 |     public static func< <T>(lhs: LinkedListIndex<T>, rhs: LinkedListIndex<T>) -> Bool {
    |                          `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
338 |         return (lhs.tag < rhs.tag)
339 |     }
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/Extension/DispatchQueue+.swift:11:24: warning: static property '_onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | public extension DispatchQueue {
11 |     private static var _onceTracker = [String]()
   |                        |- warning: static property '_onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_onceTracker' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate '_onceTracker' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     class func once(file: String = #file, function: String = #function, line: Int = #line, block:() -> Void) {
13 |         let token = file + ":" + function + ":" + String(line)
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/Extension/String+.swift:220:1: warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
218 |
219 | // throw errors using strings
220 | extension String: LocalizedError {
    | |- warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
221 |     public var errorDescription: String? { return self }
222 | }
[4/61] Compiling EFFoundation BitSet.swift
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/DataStructure/BitSet.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
156 | extension BitSet: Hashable {
157 |     /* Based on the hashing code from Java's BitSet. */
158 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
159 |         var h = Word(1234)
160 |         for i in stride(from: words.count, to: 0, by: -1) {
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/DataStructure/LinkedList.swift:5:33: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  1 | // https://github.com/raywenderlich/swift-algorithm-club
  2 | public final class LinkedList<T> {
    |                               `- note: 'T' previously declared here
  3 |
  4 |     /// Linked List's Node Class Declaration
  5 |     public class LinkedListNode<T> {
    |                                 `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  6 |         var value: T
  7 |         var next: LinkedListNode?
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/DataStructure/LinkedList.swift:333:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
327 | // MARK: - Collection Index
328 | /// Custom index type that contains a reference to the node at index 'tag'
329 | public struct LinkedListIndex<T>: Comparable {
    |                               `- note: 'T' previously declared here
330 |     fileprivate let node: LinkedList<T>.LinkedListNode<T>?
331 |     fileprivate let tag: Int
332 |
333 |     public static func==<T>(lhs: LinkedListIndex<T>, rhs: LinkedListIndex<T>) -> Bool {
    |                          `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
334 |         return (lhs.tag == rhs.tag)
335 |     }
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/DataStructure/LinkedList.swift:337:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
327 | // MARK: - Collection Index
328 | /// Custom index type that contains a reference to the node at index 'tag'
329 | public struct LinkedListIndex<T>: Comparable {
    |                               `- note: 'T' previously declared here
330 |     fileprivate let node: LinkedList<T>.LinkedListNode<T>?
331 |     fileprivate let tag: Int
    :
335 |     }
336 |
337 |     public static func< <T>(lhs: LinkedListIndex<T>, rhs: LinkedListIndex<T>) -> Bool {
    |                          `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
338 |         return (lhs.tag < rhs.tag)
339 |     }
[5/61] Compiling EFFoundation Deque.swift
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/DataStructure/BitSet.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
156 | extension BitSet: Hashable {
157 |     /* Based on the hashing code from Java's BitSet. */
158 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
159 |         var h = Word(1234)
160 |         for i in stride(from: words.count, to: 0, by: -1) {
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/DataStructure/LinkedList.swift:5:33: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  1 | // https://github.com/raywenderlich/swift-algorithm-club
  2 | public final class LinkedList<T> {
    |                               `- note: 'T' previously declared here
  3 |
  4 |     /// Linked List's Node Class Declaration
  5 |     public class LinkedListNode<T> {
    |                                 `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  6 |         var value: T
  7 |         var next: LinkedListNode?
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/DataStructure/LinkedList.swift:333:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
327 | // MARK: - Collection Index
328 | /// Custom index type that contains a reference to the node at index 'tag'
329 | public struct LinkedListIndex<T>: Comparable {
    |                               `- note: 'T' previously declared here
330 |     fileprivate let node: LinkedList<T>.LinkedListNode<T>?
331 |     fileprivate let tag: Int
332 |
333 |     public static func==<T>(lhs: LinkedListIndex<T>, rhs: LinkedListIndex<T>) -> Bool {
    |                          `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
334 |         return (lhs.tag == rhs.tag)
335 |     }
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/DataStructure/LinkedList.swift:337:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
327 | // MARK: - Collection Index
328 | /// Custom index type that contains a reference to the node at index 'tag'
329 | public struct LinkedListIndex<T>: Comparable {
    |                               `- note: 'T' previously declared here
330 |     fileprivate let node: LinkedList<T>.LinkedListNode<T>?
331 |     fileprivate let tag: Int
    :
335 |     }
336 |
337 |     public static func< <T>(lhs: LinkedListIndex<T>, rhs: LinkedListIndex<T>) -> Bool {
    |                          `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
338 |         return (lhs.tag < rhs.tag)
339 |     }
[6/61] Compiling EFFoundation LinkedList.swift
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/DataStructure/BitSet.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
156 | extension BitSet: Hashable {
157 |     /* Based on the hashing code from Java's BitSet. */
158 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
159 |         var h = Word(1234)
160 |         for i in stride(from: words.count, to: 0, by: -1) {
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/DataStructure/LinkedList.swift:5:33: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  1 | // https://github.com/raywenderlich/swift-algorithm-club
  2 | public final class LinkedList<T> {
    |                               `- note: 'T' previously declared here
  3 |
  4 |     /// Linked List's Node Class Declaration
  5 |     public class LinkedListNode<T> {
    |                                 `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  6 |         var value: T
  7 |         var next: LinkedListNode?
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/DataStructure/LinkedList.swift:333:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
327 | // MARK: - Collection Index
328 | /// Custom index type that contains a reference to the node at index 'tag'
329 | public struct LinkedListIndex<T>: Comparable {
    |                               `- note: 'T' previously declared here
330 |     fileprivate let node: LinkedList<T>.LinkedListNode<T>?
331 |     fileprivate let tag: Int
332 |
333 |     public static func==<T>(lhs: LinkedListIndex<T>, rhs: LinkedListIndex<T>) -> Bool {
    |                          `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
334 |         return (lhs.tag == rhs.tag)
335 |     }
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/DataStructure/LinkedList.swift:337:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
327 | // MARK: - Collection Index
328 | /// Custom index type that contains a reference to the node at index 'tag'
329 | public struct LinkedListIndex<T>: Comparable {
    |                               `- note: 'T' previously declared here
330 |     fileprivate let node: LinkedList<T>.LinkedListNode<T>?
331 |     fileprivate let tag: Int
    :
335 |     }
336 |
337 |     public static func< <T>(lhs: LinkedListIndex<T>, rhs: LinkedListIndex<T>) -> Bool {
    |                          `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
338 |         return (lhs.tag < rhs.tag)
339 |     }
[7/61] Compiling EFFoundation Queue.swift
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/DataStructure/BitSet.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
156 | extension BitSet: Hashable {
157 |     /* Based on the hashing code from Java's BitSet. */
158 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
159 |         var h = Word(1234)
160 |         for i in stride(from: words.count, to: 0, by: -1) {
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/DataStructure/LinkedList.swift:5:33: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  1 | // https://github.com/raywenderlich/swift-algorithm-club
  2 | public final class LinkedList<T> {
    |                               `- note: 'T' previously declared here
  3 |
  4 |     /// Linked List's Node Class Declaration
  5 |     public class LinkedListNode<T> {
    |                                 `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  6 |         var value: T
  7 |         var next: LinkedListNode?
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/DataStructure/LinkedList.swift:333:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
327 | // MARK: - Collection Index
328 | /// Custom index type that contains a reference to the node at index 'tag'
329 | public struct LinkedListIndex<T>: Comparable {
    |                               `- note: 'T' previously declared here
330 |     fileprivate let node: LinkedList<T>.LinkedListNode<T>?
331 |     fileprivate let tag: Int
332 |
333 |     public static func==<T>(lhs: LinkedListIndex<T>, rhs: LinkedListIndex<T>) -> Bool {
    |                          `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
334 |         return (lhs.tag == rhs.tag)
335 |     }
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/DataStructure/LinkedList.swift:337:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
327 | // MARK: - Collection Index
328 | /// Custom index type that contains a reference to the node at index 'tag'
329 | public struct LinkedListIndex<T>: Comparable {
    |                               `- note: 'T' previously declared here
330 |     fileprivate let node: LinkedList<T>.LinkedListNode<T>?
331 |     fileprivate let tag: Int
    :
335 |     }
336 |
337 |     public static func< <T>(lhs: LinkedListIndex<T>, rhs: LinkedListIndex<T>) -> Bool {
    |                          `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
338 |         return (lhs.tag < rhs.tag)
339 |     }
[8/61] Compiling EFFoundation Stack.swift
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/DataStructure/BitSet.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
156 | extension BitSet: Hashable {
157 |     /* Based on the hashing code from Java's BitSet. */
158 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
159 |         var h = Word(1234)
160 |         for i in stride(from: words.count, to: 0, by: -1) {
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/DataStructure/LinkedList.swift:5:33: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  1 | // https://github.com/raywenderlich/swift-algorithm-club
  2 | public final class LinkedList<T> {
    |                               `- note: 'T' previously declared here
  3 |
  4 |     /// Linked List's Node Class Declaration
  5 |     public class LinkedListNode<T> {
    |                                 `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  6 |         var value: T
  7 |         var next: LinkedListNode?
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/DataStructure/LinkedList.swift:333:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
327 | // MARK: - Collection Index
328 | /// Custom index type that contains a reference to the node at index 'tag'
329 | public struct LinkedListIndex<T>: Comparable {
    |                               `- note: 'T' previously declared here
330 |     fileprivate let node: LinkedList<T>.LinkedListNode<T>?
331 |     fileprivate let tag: Int
332 |
333 |     public static func==<T>(lhs: LinkedListIndex<T>, rhs: LinkedListIndex<T>) -> Bool {
    |                          `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
334 |         return (lhs.tag == rhs.tag)
335 |     }
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/DataStructure/LinkedList.swift:337:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
327 | // MARK: - Collection Index
328 | /// Custom index type that contains a reference to the node at index 'tag'
329 | public struct LinkedListIndex<T>: Comparable {
    |                               `- note: 'T' previously declared here
330 |     fileprivate let node: LinkedList<T>.LinkedListNode<T>?
331 |     fileprivate let tag: Int
    :
335 |     }
336 |
337 |     public static func< <T>(lhs: LinkedListIndex<T>, rhs: LinkedListIndex<T>) -> Bool {
    |                          `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
338 |         return (lhs.tag < rhs.tag)
339 |     }
[9/61] Compiling EFFoundation Tree.swift
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/DataStructure/BitSet.swift:158:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
156 | extension BitSet: Hashable {
157 |     /* Based on the hashing code from Java's BitSet. */
158 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BitSet' to 'Hashable' by implementing 'hash(into:)' instead
159 |         var h = Word(1234)
160 |         for i in stride(from: words.count, to: 0, by: -1) {
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/DataStructure/LinkedList.swift:5:33: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  1 | // https://github.com/raywenderlich/swift-algorithm-club
  2 | public final class LinkedList<T> {
    |                               `- note: 'T' previously declared here
  3 |
  4 |     /// Linked List's Node Class Declaration
  5 |     public class LinkedListNode<T> {
    |                                 `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  6 |         var value: T
  7 |         var next: LinkedListNode?
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/DataStructure/LinkedList.swift:333:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
327 | // MARK: - Collection Index
328 | /// Custom index type that contains a reference to the node at index 'tag'
329 | public struct LinkedListIndex<T>: Comparable {
    |                               `- note: 'T' previously declared here
330 |     fileprivate let node: LinkedList<T>.LinkedListNode<T>?
331 |     fileprivate let tag: Int
332 |
333 |     public static func==<T>(lhs: LinkedListIndex<T>, rhs: LinkedListIndex<T>) -> Bool {
    |                          `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
334 |         return (lhs.tag == rhs.tag)
335 |     }
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/DataStructure/LinkedList.swift:337:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
327 | // MARK: - Collection Index
328 | /// Custom index type that contains a reference to the node at index 'tag'
329 | public struct LinkedListIndex<T>: Comparable {
    |                               `- note: 'T' previously declared here
330 |     fileprivate let node: LinkedList<T>.LinkedListNode<T>?
331 |     fileprivate let tag: Int
    :
335 |     }
336 |
337 |     public static func< <T>(lhs: LinkedListIndex<T>, rhs: LinkedListIndex<T>) -> Bool {
    |                          `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
338 |         return (lhs.tag < rhs.tag)
339 |     }
[10/61] Compiling EFFoundation EFFoundation.swift
[11/61] Compiling EFFoundation Array+.swift
[12/61] Compiling EFFoundation ArraySlice+.swift
[13/61] Compiling EFFoundation BinaryFloatingPoint+.swift
[14/61] Compiling EFFoundation BinaryInteger+.swift
[15/61] Compiling EFFoundation Bool+.swift
[16/61] Compiling EFFoundation UInt16+.swift
[17/61] Compiling EFFoundation UInt32+.swift
[18/61] Compiling EFFoundation UInt64+.swift
[19/61] Compiling EFFoundation UInt8+.swift
[20/61] Compiling EFFoundation URL+.swift
[21/61] Compiling EFFoundation String+.swift
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/Extension/String+.swift:220:1: warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
218 |
219 | // throw errors using strings
220 | extension String: LocalizedError {
    | |- warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
221 |     public var errorDescription: String? { return self }
222 | }
[22/61] Compiling EFFoundation TimeInterval+.swift
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/Extension/String+.swift:220:1: warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
218 |
219 | // throw errors using strings
220 | extension String: LocalizedError {
    | |- warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
221 |     public var errorDescription: String? { return self }
222 | }
[23/61] Compiling EFFoundation UIApplication+.swift
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/Extension/String+.swift:220:1: warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
218 |
219 | // throw errors using strings
220 | extension String: LocalizedError {
    | |- warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
221 |     public var errorDescription: String? { return self }
222 | }
[24/61] Compiling EFFoundation UIButton+.swift
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/Extension/String+.swift:220:1: warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
218 |
219 | // throw errors using strings
220 | extension String: LocalizedError {
    | |- warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
221 |     public var errorDescription: String? { return self }
222 | }
[25/61] Compiling EFFoundation UICollectionView+.swift
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/Extension/String+.swift:220:1: warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
218 |
219 | // throw errors using strings
220 | extension String: LocalizedError {
    | |- warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
221 |     public var errorDescription: String? { return self }
222 | }
[26/61] Compiling EFFoundation UIColor+.swift
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/Extension/String+.swift:220:1: warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
218 |
219 | // throw errors using strings
220 | extension String: LocalizedError {
    | |- warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
221 |     public var errorDescription: String? { return self }
222 | }
[27/61] Compiling EFFoundation UINavigationController+.swift
[28/61] Compiling EFFoundation UIRectCorner+.swift
[29/61] Compiling EFFoundation UIView+.swift
[30/61] Compiling EFFoundation UIViewController+.swift
[31/61] Compiling EFFoundation UInt+.swift
[32/61] Compiling EFFoundation CATransaction+.swift
[33/61] Compiling EFFoundation CGColor+.swift
[34/61] Compiling EFFoundation CGFloat+.swift
[35/61] Compiling EFFoundation CGImage.swift
[36/61] Compiling EFFoundation CGRect+.swift
[37/61] Compiling EFFoundation CGSize+.swift
[38/61] Compiling EFFoundation UIControl+.swift
[39/61] Compiling EFFoundation UIEdgeInsets+.swift
[40/61] Compiling EFFoundation UIFont+.swift
[41/61] Compiling EFFoundation UIGestureRecognizer+.swift
[42/61] Compiling EFFoundation UIImage+.swift
[43/61] Compiling EFFoundation UIImageView+.swift
[44/61] Compiling EFFoundation Dictionary+.swift
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/Extension/DispatchQueue+.swift:11:24: warning: static property '_onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | public extension DispatchQueue {
11 |     private static var _onceTracker = [String]()
   |                        |- warning: static property '_onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_onceTracker' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate '_onceTracker' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     class func once(file: String = #file, function: String = #function, line: Int = #line, block:() -> Void) {
13 |         let token = file + ":" + function + ":" + String(line)
[45/61] Compiling EFFoundation DispatchQueue+.swift
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/Extension/DispatchQueue+.swift:11:24: warning: static property '_onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | public extension DispatchQueue {
11 |     private static var _onceTracker = [String]()
   |                        |- warning: static property '_onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_onceTracker' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate '_onceTracker' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     class func once(file: String = #file, function: String = #function, line: Int = #line, block:() -> Void) {
13 |         let token = file + ":" + function + ":" + String(line)
[46/61] Compiling EFFoundation Double+.swift
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/Extension/DispatchQueue+.swift:11:24: warning: static property '_onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | public extension DispatchQueue {
11 |     private static var _onceTracker = [String]()
   |                        |- warning: static property '_onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_onceTracker' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate '_onceTracker' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     class func once(file: String = #file, function: String = #function, line: Int = #line, block:() -> Void) {
13 |         let token = file + ":" + function + ":" + String(line)
[47/61] Compiling EFFoundation Float+.swift
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/Extension/DispatchQueue+.swift:11:24: warning: static property '_onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | public extension DispatchQueue {
11 |     private static var _onceTracker = [String]()
   |                        |- warning: static property '_onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_onceTracker' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate '_onceTracker' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     class func once(file: String = #file, function: String = #function, line: Int = #line, block:() -> Void) {
13 |         let token = file + ":" + function + ":" + String(line)
[48/61] Compiling EFFoundation Int+.swift
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/Extension/DispatchQueue+.swift:11:24: warning: static property '_onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | public extension DispatchQueue {
11 |     private static var _onceTracker = [String]()
   |                        |- warning: static property '_onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_onceTracker' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate '_onceTracker' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     class func once(file: String = #file, function: String = #function, line: Int = #line, block:() -> Void) {
13 |         let token = file + ":" + function + ":" + String(line)
[49/61] Compiling EFFoundation Int16+.swift
/Users/admin/builder/spi-builder-workspace/EFFoundation/Core/Extension/DispatchQueue+.swift:11:24: warning: static property '_onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | public extension DispatchQueue {
11 |     private static var _onceTracker = [String]()
   |                        |- warning: static property '_onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_onceTracker' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate '_onceTracker' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     class func once(file: String = #file, function: String = #function, line: Int = #line, block:() -> Void) {
13 |         let token = file + ":" + function + ":" + String(line)
[50/61] Compiling EFFoundation CIColor+.swift
[51/61] Compiling EFFoundation CIImage+.swift
[52/61] Compiling EFFoundation Character+.swift
[53/61] Compiling EFFoundation Comparable+.swift
[54/61] Compiling EFFoundation Data+.swift
[55/61] Compiling EFFoundation Date+.swift
[56/61] Compiling EFFoundation Int32+.swift
[57/61] Compiling EFFoundation Int64+.swift
[58/61] Compiling EFFoundation Int8+.swift
[59/61] Compiling EFFoundation NSColor+.swift
[60/61] Compiling EFFoundation NSImage+.swift
[61/61] Compiling EFFoundation NSString+.swift
Build complete! (17.65s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "EFFoundation",
  "name" : "EFFoundation",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "EFFoundation",
      "targets" : [
        "EFFoundation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "EFFoundation",
      "module_type" : "SwiftTarget",
      "name" : "EFFoundation",
      "path" : "EFFoundation/Core",
      "product_memberships" : [
        "EFFoundation"
      ],
      "sources" : [
        "DataStructure/BitSet.swift",
        "DataStructure/Deque.swift",
        "DataStructure/LinkedList.swift",
        "DataStructure/Queue.swift",
        "DataStructure/Stack.swift",
        "DataStructure/Tree.swift",
        "EFFoundation.swift",
        "Extension/Array+.swift",
        "Extension/ArraySlice+.swift",
        "Extension/BinaryFloatingPoint+.swift",
        "Extension/BinaryInteger+.swift",
        "Extension/Bool+.swift",
        "Extension/CATransaction+.swift",
        "Extension/CGColor+.swift",
        "Extension/CGFloat+.swift",
        "Extension/CGImage.swift",
        "Extension/CGRect+.swift",
        "Extension/CGSize+.swift",
        "Extension/CIColor+.swift",
        "Extension/CIImage+.swift",
        "Extension/Character+.swift",
        "Extension/Comparable+.swift",
        "Extension/Data+.swift",
        "Extension/Date+.swift",
        "Extension/Dictionary+.swift",
        "Extension/DispatchQueue+.swift",
        "Extension/Double+.swift",
        "Extension/Float+.swift",
        "Extension/Int+.swift",
        "Extension/Int16+.swift",
        "Extension/Int32+.swift",
        "Extension/Int64+.swift",
        "Extension/Int8+.swift",
        "Extension/NSColor+.swift",
        "Extension/NSImage+.swift",
        "Extension/NSString+.swift",
        "Extension/String+.swift",
        "Extension/TimeInterval+.swift",
        "Extension/UIApplication+.swift",
        "Extension/UIButton+.swift",
        "Extension/UICollectionView+.swift",
        "Extension/UIColor+.swift",
        "Extension/UIControl+.swift",
        "Extension/UIEdgeInsets+.swift",
        "Extension/UIFont+.swift",
        "Extension/UIGestureRecognizer+.swift",
        "Extension/UIImage+.swift",
        "Extension/UIImageView+.swift",
        "Extension/UINavigationController+.swift",
        "Extension/UIRectCorner+.swift",
        "Extension/UIView+.swift",
        "Extension/UIViewController+.swift",
        "Extension/UInt+.swift",
        "Extension/UInt16+.swift",
        "Extension/UInt32+.swift",
        "Extension/UInt64+.swift",
        "Extension/UInt8+.swift",
        "Extension/URL+.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.