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 SwiftExtensionsPack, reference 1.27.2 (590d6c), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 14:10:44 UTC.

Swift 6 data race errors: 2

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/nerzh/swift-extensions-pack.git
Reference: 1.27.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nerzh/swift-extensions-pack
 * tag               1.27.2     -> FETCH_HEAD
HEAD is now at 590d6cd text error refactoring
Cloned https://github.com/nerzh/swift-extensions-pack.git
Revision (git rev-parse @):
590d6cd79f3e176c25d6caaeaef760b93eb07cef
SUCCESS checkout https://github.com/nerzh/swift-extensions-pack.git at 1.27.2
Fetching https://github.com/apple/swift-log
Fetching https://github.com/nerzh/swift-regular-expression
Fetching https://github.com/bytehubio/ed25519
Fetching https://github.com/apple/swift-crypto
[1/61] Fetching swift-regular-expression
[62/240] Fetching swift-regular-expression, ed25519
[241/3900] Fetching swift-regular-expression, ed25519, swift-log
[754/14316] Fetching swift-regular-expression, ed25519, swift-log, swift-crypto
Fetched https://github.com/apple/swift-crypto from cache (2.16s)
Fetched https://github.com/bytehubio/ed25519 from cache (2.17s)
Fetched https://github.com/nerzh/swift-regular-expression from cache (2.17s)
Fetched https://github.com/apple/swift-log from cache (2.17s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.1 (0.49s)
Computing version for https://github.com/bytehubio/ed25519
Computed https://github.com/bytehubio/ed25519 at 1.0.0 (0.49s)
Computing version for https://github.com/nerzh/swift-regular-expression
Computed https://github.com/nerzh/swift-regular-expression at 0.2.4 (3.26s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 2.6.0 (0.65s)
Creating working copy for https://github.com/bytehubio/ed25519
Working copy of https://github.com/bytehubio/ed25519 resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.1
Creating working copy for https://github.com/nerzh/swift-regular-expression
Working copy of https://github.com/nerzh/swift-regular-expression resolved at 0.2.4
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 2.6.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": "swift-extensions-pack",
      "name": "SwiftExtensionsPack",
      "url": "https://github.com/nerzh/swift-extensions-pack.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-extensions-pack",
      "dependencies": [
        {
          "identity": "swift-regular-expression",
          "name": "SwiftRegularExpression",
          "url": "https://github.com/nerzh/swift-regular-expression",
          "version": "0.2.4",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-regular-expression",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-crypto",
          "name": "swift-crypto",
          "url": "https://github.com/apple/swift-crypto",
          "version": "2.6.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-crypto",
          "dependencies": [
          ]
        },
        {
          "identity": "ed25519",
          "name": "Ed25519",
          "url": "https://github.com/bytehubio/ed25519",
          "version": "1.0.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ed25519",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-log",
          "name": "swift-log",
          "url": "https://github.com/apple/swift-log",
          "version": "1.6.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/nerzh/swift-extensions-pack.git
[1/1059] Fetching swift-extensions-pack
Fetched https://github.com/nerzh/swift-extensions-pack.git from cache (0.86s)
Fetching https://github.com/nerzh/swift-regular-expression from cache
Fetching https://github.com/apple/swift-crypto from cache
Fetching https://github.com/bytehubio/ed25519 from cache
Fetching https://github.com/apple/swift-log from cache
Fetched https://github.com/bytehubio/ed25519 from cache (0.54s)
Fetched https://github.com/apple/swift-log from cache (0.54s)
Fetched https://github.com/nerzh/swift-regular-expression from cache (0.60s)
Fetched https://github.com/apple/swift-crypto from cache (0.60s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.1 (0.02s)
Computing version for https://github.com/bytehubio/ed25519
Computed https://github.com/bytehubio/ed25519 at 1.0.0 (0.02s)
Computing version for https://github.com/nerzh/swift-regular-expression
Computed https://github.com/nerzh/swift-regular-expression at 0.2.4 (0.02s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 2.6.0 (0.03s)
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 2.6.0
Creating working copy for https://github.com/bytehubio/ed25519
Working copy of https://github.com/bytehubio/ed25519 resolved at 1.0.0
Creating working copy for https://github.com/nerzh/swift-regular-expression
Working copy of https://github.com/nerzh/swift-regular-expression resolved at 0.2.4
Creating working copy for https://github.com/nerzh/swift-extensions-pack.git
Working copy of https://github.com/nerzh/swift-extensions-pack.git resolved at 1.27.2 (590d6cd)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.1
warning: '.resolve-product-dependencies': dependency 'swift-extensions-pack' is not used by any target
Found 4 product dependencies
  - SwiftRegularExpression
  - swift-crypto
  - Ed25519
  - swift-log
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/nerzh/swift-extensions-pack.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/15] Write sources
[4/15] Write swift-version--7754E27361AE5C74.txt
[5/15] Compiling CEd25519 add_scalar.c
[6/15] Compiling CEd25519 verify.c
[6/15] Compiling CEd25519 keypair.c
[8/15] Compiling CEd25519 key_exchange.c
[9/15] Compiling CEd25519 ge.c
[10/15] Compiling CEd25519 sha512.c
[11/15] Compiling CEd25519 sc.c
[12/15] Compiling CEd25519 fe.c
[13/15] Compiling CEd25519 sign.c
[14/15] Compiling CEd25519 seed.c
[16/28] Compiling Ed25519 Seed.swift
[17/28] Compiling Ed25519 PublicKey.swift
[18/28] Compiling Ed25519 Error.swift
[19/28] Compiling Ed25519 KeyPair.swift
[20/28] Compiling Ed25519 PrivateKey.swift
[21/28] Emitting module Ed25519
[22/28] Compiling Logging LogHandler.swift
[23/28] Compiling Logging MetadataProvider.swift
[24/28] Compiling Logging Locks.swift
[25/28] Emitting module Logging
[26/28] Compiling Logging Logging.swift
[27/28] Emitting module SwiftRegularExpression
[28/28] Compiling SwiftRegularExpression String+Regexp.swift
[29/61] Compiling SwiftExtensionsPack ObjectIdentifier.swift
[30/61] Compiling SwiftExtensionsPack Protocols.swift
[31/61] Compiling SwiftExtensionsPack Runtime.swift
[32/61] Compiling SwiftExtensionsPack SafeValue.swift
[33/64] Emitting module SwiftExtensionsPack
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Common/CommonClasses.swift:13:24: warning: static property 'defaultDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |     /// threadSafe common DateFormatter
13 |     @Atomic static var defaultDateFormatter: DateFormatter = {
   |                        |- warning: static property 'defaultDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'defaultDateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'defaultDateFormatter' 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
14 |         let dateFormatter: DateFormatter = .init()
15 |         dateFormatter.dateFormat = "dd-MM-yyyy HH:mm:ss"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Net/HTTP.swift:148:23: warning: static property 'sharedSession' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
146 |     }()
147 |
148 |     public static var sharedSession = URLSession(configuration: sessionConfiguration)
    |                       |- warning: static property 'sharedSession' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'sharedSession' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'sharedSession' 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
149 |
150 |     public enum NetErrors : Error {
[34/64] Compiling SwiftExtensionsPack Atomic.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Common/CommonClasses.swift:13:24: warning: static property 'defaultDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |     /// threadSafe common DateFormatter
13 |     @Atomic static var defaultDateFormatter: DateFormatter = {
   |                        |- warning: static property 'defaultDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'defaultDateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'defaultDateFormatter' 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
14 |         let dateFormatter: DateFormatter = .init()
15 |         dateFormatter.dateFormat = "dd-MM-yyyy HH:mm:ss"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Common/ErrorCommon.swift:83:58: warning: 'is' test is always true
 81 |         }
 82 |
 83 |         let isCustomStringConvertibleError: Bool = error is CustomStringConvertible
    |                                                          `- warning: 'is' test is always true
 84 |         let isCustomDebugStringConvertibleError: Bool = error is CustomDebugStringConvertible
 85 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Common/ErrorCommon.swift:84:63: warning: 'is' test is always true
 82 |
 83 |         let isCustomStringConvertibleError: Bool = error is CustomStringConvertible
 84 |         let isCustomDebugStringConvertibleError: Bool = error is CustomDebugStringConvertible
    |                                                               `- warning: 'is' test is always true
 85 |
 86 |         if isCustomStringConvertibleError && isCustomDebugStringConvertibleError {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Common/ErrorCommon.swift:89:31: warning: forced cast from 'any Error' to 'any CustomStringConvertible' always succeeds; did you mean to use 'as'?
 87 |             switch errorLevel {
 88 |             case .release:
 89 |                 return (error as! CustomStringConvertible).description
    |                               `- warning: forced cast from 'any Error' to 'any CustomStringConvertible' always succeeds; did you mean to use 'as'?
 90 |             case .debug:
 91 |                 return (error as! CustomDebugStringConvertible).debugDescription
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Common/ErrorCommon.swift:91:31: warning: forced cast from 'any Error' to 'any CustomDebugStringConvertible' always succeeds; did you mean to use 'as'?
 89 |                 return (error as! CustomStringConvertible).description
 90 |             case .debug:
 91 |                 return (error as! CustomDebugStringConvertible).debugDescription
    |                               `- warning: forced cast from 'any Error' to 'any CustomDebugStringConvertible' always succeeds; did you mean to use 'as'?
 92 |             }
 93 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Common/ErrorCommon.swift:96:27: warning: forced cast from 'any Error' to 'any CustomStringConvertible' always succeeds; did you mean to use 'as'?
 94 |
 95 |         if isCustomStringConvertibleError {
 96 |             return (error as! CustomStringConvertible).description
    |                           `- warning: forced cast from 'any Error' to 'any CustomStringConvertible' always succeeds; did you mean to use 'as'?
 97 |         }
 98 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Common/ErrorCommon.swift:100:27: warning: forced cast from 'any Error' to 'any CustomDebugStringConvertible' always succeeds; did you mean to use 'as'?
 98 |
 99 |         if isCustomDebugStringConvertibleError {
100 |             return (error as! CustomDebugStringConvertible).debugDescription
    |                           `- warning: forced cast from 'any Error' to 'any CustomDebugStringConvertible' always succeeds; did you mean to use 'as'?
101 |         }
102 |
[35/64] Compiling SwiftExtensionsPack CommonClasses.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Common/CommonClasses.swift:13:24: warning: static property 'defaultDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |     /// threadSafe common DateFormatter
13 |     @Atomic static var defaultDateFormatter: DateFormatter = {
   |                        |- warning: static property 'defaultDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'defaultDateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'defaultDateFormatter' 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
14 |         let dateFormatter: DateFormatter = .init()
15 |         dateFormatter.dateFormat = "dd-MM-yyyy HH:mm:ss"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Common/ErrorCommon.swift:83:58: warning: 'is' test is always true
 81 |         }
 82 |
 83 |         let isCustomStringConvertibleError: Bool = error is CustomStringConvertible
    |                                                          `- warning: 'is' test is always true
 84 |         let isCustomDebugStringConvertibleError: Bool = error is CustomDebugStringConvertible
 85 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Common/ErrorCommon.swift:84:63: warning: 'is' test is always true
 82 |
 83 |         let isCustomStringConvertibleError: Bool = error is CustomStringConvertible
 84 |         let isCustomDebugStringConvertibleError: Bool = error is CustomDebugStringConvertible
    |                                                               `- warning: 'is' test is always true
 85 |
 86 |         if isCustomStringConvertibleError && isCustomDebugStringConvertibleError {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Common/ErrorCommon.swift:89:31: warning: forced cast from 'any Error' to 'any CustomStringConvertible' always succeeds; did you mean to use 'as'?
 87 |             switch errorLevel {
 88 |             case .release:
 89 |                 return (error as! CustomStringConvertible).description
    |                               `- warning: forced cast from 'any Error' to 'any CustomStringConvertible' always succeeds; did you mean to use 'as'?
 90 |             case .debug:
 91 |                 return (error as! CustomDebugStringConvertible).debugDescription
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Common/ErrorCommon.swift:91:31: warning: forced cast from 'any Error' to 'any CustomDebugStringConvertible' always succeeds; did you mean to use 'as'?
 89 |                 return (error as! CustomStringConvertible).description
 90 |             case .debug:
 91 |                 return (error as! CustomDebugStringConvertible).debugDescription
    |                               `- warning: forced cast from 'any Error' to 'any CustomDebugStringConvertible' always succeeds; did you mean to use 'as'?
 92 |             }
 93 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Common/ErrorCommon.swift:96:27: warning: forced cast from 'any Error' to 'any CustomStringConvertible' always succeeds; did you mean to use 'as'?
 94 |
 95 |         if isCustomStringConvertibleError {
 96 |             return (error as! CustomStringConvertible).description
    |                           `- warning: forced cast from 'any Error' to 'any CustomStringConvertible' always succeeds; did you mean to use 'as'?
 97 |         }
 98 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Common/ErrorCommon.swift:100:27: warning: forced cast from 'any Error' to 'any CustomDebugStringConvertible' always succeeds; did you mean to use 'as'?
 98 |
 99 |         if isCustomDebugStringConvertibleError {
100 |             return (error as! CustomDebugStringConvertible).debugDescription
    |                           `- warning: forced cast from 'any Error' to 'any CustomDebugStringConvertible' always succeeds; did you mean to use 'as'?
101 |         }
102 |
[36/64] Compiling SwiftExtensionsPack CommonMethods.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Common/CommonClasses.swift:13:24: warning: static property 'defaultDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |     /// threadSafe common DateFormatter
13 |     @Atomic static var defaultDateFormatter: DateFormatter = {
   |                        |- warning: static property 'defaultDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'defaultDateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'defaultDateFormatter' 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
14 |         let dateFormatter: DateFormatter = .init()
15 |         dateFormatter.dateFormat = "dd-MM-yyyy HH:mm:ss"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Common/ErrorCommon.swift:83:58: warning: 'is' test is always true
 81 |         }
 82 |
 83 |         let isCustomStringConvertibleError: Bool = error is CustomStringConvertible
    |                                                          `- warning: 'is' test is always true
 84 |         let isCustomDebugStringConvertibleError: Bool = error is CustomDebugStringConvertible
 85 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Common/ErrorCommon.swift:84:63: warning: 'is' test is always true
 82 |
 83 |         let isCustomStringConvertibleError: Bool = error is CustomStringConvertible
 84 |         let isCustomDebugStringConvertibleError: Bool = error is CustomDebugStringConvertible
    |                                                               `- warning: 'is' test is always true
 85 |
 86 |         if isCustomStringConvertibleError && isCustomDebugStringConvertibleError {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Common/ErrorCommon.swift:89:31: warning: forced cast from 'any Error' to 'any CustomStringConvertible' always succeeds; did you mean to use 'as'?
 87 |             switch errorLevel {
 88 |             case .release:
 89 |                 return (error as! CustomStringConvertible).description
    |                               `- warning: forced cast from 'any Error' to 'any CustomStringConvertible' always succeeds; did you mean to use 'as'?
 90 |             case .debug:
 91 |                 return (error as! CustomDebugStringConvertible).debugDescription
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Common/ErrorCommon.swift:91:31: warning: forced cast from 'any Error' to 'any CustomDebugStringConvertible' always succeeds; did you mean to use 'as'?
 89 |                 return (error as! CustomStringConvertible).description
 90 |             case .debug:
 91 |                 return (error as! CustomDebugStringConvertible).debugDescription
    |                               `- warning: forced cast from 'any Error' to 'any CustomDebugStringConvertible' always succeeds; did you mean to use 'as'?
 92 |             }
 93 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Common/ErrorCommon.swift:96:27: warning: forced cast from 'any Error' to 'any CustomStringConvertible' always succeeds; did you mean to use 'as'?
 94 |
 95 |         if isCustomStringConvertibleError {
 96 |             return (error as! CustomStringConvertible).description
    |                           `- warning: forced cast from 'any Error' to 'any CustomStringConvertible' always succeeds; did you mean to use 'as'?
 97 |         }
 98 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Common/ErrorCommon.swift:100:27: warning: forced cast from 'any Error' to 'any CustomDebugStringConvertible' always succeeds; did you mean to use 'as'?
 98 |
 99 |         if isCustomDebugStringConvertibleError {
100 |             return (error as! CustomDebugStringConvertible).debugDescription
    |                           `- warning: forced cast from 'any Error' to 'any CustomDebugStringConvertible' always succeeds; did you mean to use 'as'?
101 |         }
102 |
[37/64] Compiling SwiftExtensionsPack ErrorCommon.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Common/CommonClasses.swift:13:24: warning: static property 'defaultDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |     /// threadSafe common DateFormatter
13 |     @Atomic static var defaultDateFormatter: DateFormatter = {
   |                        |- warning: static property 'defaultDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'defaultDateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'defaultDateFormatter' 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
14 |         let dateFormatter: DateFormatter = .init()
15 |         dateFormatter.dateFormat = "dd-MM-yyyy HH:mm:ss"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Common/ErrorCommon.swift:83:58: warning: 'is' test is always true
 81 |         }
 82 |
 83 |         let isCustomStringConvertibleError: Bool = error is CustomStringConvertible
    |                                                          `- warning: 'is' test is always true
 84 |         let isCustomDebugStringConvertibleError: Bool = error is CustomDebugStringConvertible
 85 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Common/ErrorCommon.swift:84:63: warning: 'is' test is always true
 82 |
 83 |         let isCustomStringConvertibleError: Bool = error is CustomStringConvertible
 84 |         let isCustomDebugStringConvertibleError: Bool = error is CustomDebugStringConvertible
    |                                                               `- warning: 'is' test is always true
 85 |
 86 |         if isCustomStringConvertibleError && isCustomDebugStringConvertibleError {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Common/ErrorCommon.swift:89:31: warning: forced cast from 'any Error' to 'any CustomStringConvertible' always succeeds; did you mean to use 'as'?
 87 |             switch errorLevel {
 88 |             case .release:
 89 |                 return (error as! CustomStringConvertible).description
    |                               `- warning: forced cast from 'any Error' to 'any CustomStringConvertible' always succeeds; did you mean to use 'as'?
 90 |             case .debug:
 91 |                 return (error as! CustomDebugStringConvertible).debugDescription
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Common/ErrorCommon.swift:91:31: warning: forced cast from 'any Error' to 'any CustomDebugStringConvertible' always succeeds; did you mean to use 'as'?
 89 |                 return (error as! CustomStringConvertible).description
 90 |             case .debug:
 91 |                 return (error as! CustomDebugStringConvertible).debugDescription
    |                               `- warning: forced cast from 'any Error' to 'any CustomDebugStringConvertible' always succeeds; did you mean to use 'as'?
 92 |             }
 93 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Common/ErrorCommon.swift:96:27: warning: forced cast from 'any Error' to 'any CustomStringConvertible' always succeeds; did you mean to use 'as'?
 94 |
 95 |         if isCustomStringConvertibleError {
 96 |             return (error as! CustomStringConvertible).description
    |                           `- warning: forced cast from 'any Error' to 'any CustomStringConvertible' always succeeds; did you mean to use 'as'?
 97 |         }
 98 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Common/ErrorCommon.swift:100:27: warning: forced cast from 'any Error' to 'any CustomDebugStringConvertible' always succeeds; did you mean to use 'as'?
 98 |
 99 |         if isCustomDebugStringConvertibleError {
100 |             return (error as! CustomDebugStringConvertible).debugDescription
    |                           `- warning: forced cast from 'any Error' to 'any CustomDebugStringConvertible' always succeeds; did you mean to use 'as'?
101 |         }
102 |
[38/64] Compiling SwiftExtensionsPack Dictionary+JSON.swift
[39/64] Compiling SwiftExtensionsPack DictionaryCommon.swift
[40/64] Compiling SwiftExtensionsPack SafeDictionary.swift
[41/64] Compiling SwiftExtensionsPack StringCommon.swift
[42/64] Compiling SwiftExtensionsPack String+Crypto.swift
[43/64] Compiling SwiftExtensionsPack String+Height.swift
[44/64] Compiling SwiftExtensionsPack String+Chunks.swift
[45/64] Compiling SwiftExtensionsPack String+Date.swift
[46/64] Compiling SwiftExtensionsPack String+JSON.swift
[47/64] Compiling SwiftExtensionsPack SafeArray.swift
[48/64] Compiling SwiftExtensionsPack Sequence+Extensions.swift
[49/64] Compiling SwiftExtensionsPack Codable+Extensions.swift
[50/64] Compiling SwiftExtensionsPack AnyValue.swift
[51/64] Compiling SwiftExtensionsPack HexaDecimal.swift
[52/64] Compiling SwiftExtensionsPack Hmac.swift
[53/64] Compiling SwiftExtensionsPack RandomBytes.swift
[54/64] Compiling SwiftExtensionsPack SHA.swift
[55/64] Compiling SwiftExtensionsPack String+Extension.swift
[56/64] Compiling SwiftExtensionsPack Date+String.swift
[57/64] Compiling SwiftExtensionsPack DateCommon.swift
[58/64] Compiling SwiftExtensionsPack Double.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Net/HTTP.swift:148:23: warning: static property 'sharedSession' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
146 |     }()
147 |
148 |     public static var sharedSession = URLSession(configuration: sessionConfiguration)
    |                       |- warning: static property 'sharedSession' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'sharedSession' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'sharedSession' 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
149 |
150 |     public enum NetErrors : Error {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Net/HTTP.swift:171:21: warning: capture of 'handler' with non-sendable type '(Data?, URLResponse?, (any Error)?) throws -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
169 |         let dataTask = (session ?? sharedSession).dataTask(with: request, completionHandler: { (data, response, error) -> Void in
170 |             do {
171 |                 try handler(data, response, error)
    |                     |- warning: capture of 'handler' with non-sendable type '(Data?, URLResponse?, (any Error)?) throws -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
172 |             } catch {
173 |                 try? handler(nil, nil, error)
[59/64] Compiling SwiftExtensionsPack Float.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Net/HTTP.swift:148:23: warning: static property 'sharedSession' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
146 |     }()
147 |
148 |     public static var sharedSession = URLSession(configuration: sessionConfiguration)
    |                       |- warning: static property 'sharedSession' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'sharedSession' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'sharedSession' 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
149 |
150 |     public enum NetErrors : Error {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Net/HTTP.swift:171:21: warning: capture of 'handler' with non-sendable type '(Data?, URLResponse?, (any Error)?) throws -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
169 |         let dataTask = (session ?? sharedSession).dataTask(with: request, completionHandler: { (data, response, error) -> Void in
170 |             do {
171 |                 try handler(data, response, error)
    |                     |- warning: capture of 'handler' with non-sendable type '(Data?, URLResponse?, (any Error)?) throws -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
172 |             } catch {
173 |                 try? handler(nil, nil, error)
[60/64] Compiling SwiftExtensionsPack HTTP.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Net/HTTP.swift:148:23: warning: static property 'sharedSession' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
146 |     }()
147 |
148 |     public static var sharedSession = URLSession(configuration: sessionConfiguration)
    |                       |- warning: static property 'sharedSession' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'sharedSession' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'sharedSession' 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
149 |
150 |     public enum NetErrors : Error {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtensionsPack/Net/HTTP.swift:171:21: warning: capture of 'handler' with non-sendable type '(Data?, URLResponse?, (any Error)?) throws -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
169 |         let dataTask = (session ?? sharedSession).dataTask(with: request, completionHandler: { (data, response, error) -> Void in
170 |             do {
171 |                 try handler(data, response, error)
    |                     |- warning: capture of 'handler' with non-sendable type '(Data?, URLResponse?, (any Error)?) throws -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
172 |             } catch {
173 |                 try? handler(nil, nil, error)
[61/64] Compiling SwiftExtensionsPack AES.swift
[62/64] Compiling SwiftExtensionsPack ByteArray+Bits.swift
[63/64] Compiling SwiftExtensionsPack Data+Extension.swift
[64/64] Compiling SwiftExtensionsPack Ed25519.swift
Build complete! (14.10s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-regular-expression",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.4",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nerzh/swift-regular-expression"
    },
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto"
    },
    {
      "identity" : "ed25519",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/bytehubio/ed25519"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log"
    }
  ],
  "manifest_display_name" : "SwiftExtensionsPack",
  "name" : "SwiftExtensionsPack",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SwiftExtensionsPack",
      "targets" : [
        "SwiftExtensionsPack"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftExtensionsPackTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftExtensionsPackTests",
      "path" : "Tests/SwiftExtensionsPackTests",
      "sources" : [
        "SwiftExtensionsPackTests.swift"
      ],
      "target_dependencies" : [
        "SwiftExtensionsPack"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftExtensionsPack",
      "module_type" : "SwiftTarget",
      "name" : "SwiftExtensionsPack",
      "path" : "Sources/SwiftExtensionsPack",
      "product_dependencies" : [
        "SwiftRegularExpression",
        "Crypto",
        "Ed25519",
        "Logging"
      ],
      "product_memberships" : [
        "SwiftExtensionsPack"
      ],
      "sources" : [
        "Array/SafeArray.swift",
        "Array/Sequence+Extensions.swift",
        "Codable/Codable+Extensions.swift",
        "Common/AnyValue.swift",
        "Common/Atomic.swift",
        "Common/CommonClasses.swift",
        "Common/CommonMethods.swift",
        "Common/ErrorCommon.swift",
        "Common/ObjectIdentifier.swift",
        "Common/Protocols.swift",
        "Common/Runtime.swift",
        "Common/SafeValue.swift",
        "Crypto/AES.swift",
        "Crypto/ByteArray+Bits.swift",
        "Crypto/Data+Extension.swift",
        "Crypto/Ed25519.swift",
        "Crypto/HexaDecimal.swift",
        "Crypto/Hmac.swift",
        "Crypto/RandomBytes.swift",
        "Crypto/SHA.swift",
        "Crypto/String+Extension.swift",
        "Date/Date+String.swift",
        "Date/DateCommon.swift",
        "Dictionary/Dictionary+JSON.swift",
        "Dictionary/DictionaryCommon.swift",
        "Dictionary/SafeDictionary.swift",
        "Double/Double.swift",
        "Float/Float.swift",
        "Net/HTTP.swift",
        "String/String+Chunks.swift",
        "String/String+Date.swift",
        "String/String+JSON.swift",
        "String/StringCommon.swift",
        "iOS/String/String+Crypto.swift",
        "iOS/String/String+Height.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.