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 Whatever with Swift 6.0 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/intitni/Whatever.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/intitni/Whatever
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7e121c8 Update shields in README.md
Cloned https://github.com/intitni/Whatever.git
Revision (git rev-parse @):
7e121c8f7c03e93b1639312d462d351810557092
SUCCESS checkout https://github.com/intitni/Whatever.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/intitni/Whatever.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/5] Emitting module Whatever
/Users/admin/builder/spi-builder-workspace/Sources/Whatever/Whatever.swift:52:23: warning: static property 'WHATEVER' is not concurrency-safe because non-'Sendable' type 'Whatever' may have shared mutable state; this is an error in the Swift 6 language mode
23 | @dynamicMemberLookup
24 | @dynamicCallable
25 | public struct Whatever {
   |               `- note: consider making struct 'Whatever' conform to the 'Sendable' protocol
26 |     public func dynamicallyCall<T>(withKeywordArguments args: KeyValuePairs<String, Any>) -> T {
27 |         fatalError(dontuse)
   :
50 |     }
51 |
52 |     public static let WHATEVER = Whatever()
   |                       |- warning: static property 'WHATEVER' is not concurrency-safe because non-'Sendable' type 'Whatever' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'WHATEVER' 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
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/Whatever/Whatever.swift:56:12: warning: let 'WHATEVER' is not concurrency-safe because non-'Sendable' type 'Whatever' may have shared mutable state; this is an error in the Swift 6 language mode
23 | @dynamicMemberLookup
24 | @dynamicCallable
25 | public struct Whatever {
   |               `- note: consider making struct 'Whatever' conform to the 'Sendable' protocol
26 |     public func dynamicallyCall<T>(withKeywordArguments args: KeyValuePairs<String, Any>) -> T {
27 |         fatalError(dontuse)
   :
54 |
55 | @available(*, deprecated, message: "Replace WHATEVER.")
56 | public let WHATEVER = Whatever()
   |            |- warning: let 'WHATEVER' is not concurrency-safe because non-'Sendable' type 'Whatever' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: annotate 'WHATEVER' 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
57 |
[5/5] Compiling Whatever Whatever.swift
/Users/admin/builder/spi-builder-workspace/Sources/Whatever/Whatever.swift:52:23: warning: static property 'WHATEVER' is not concurrency-safe because non-'Sendable' type 'Whatever' may have shared mutable state; this is an error in the Swift 6 language mode
23 | @dynamicMemberLookup
24 | @dynamicCallable
25 | public struct Whatever {
   |               `- note: consider making struct 'Whatever' conform to the 'Sendable' protocol
26 |     public func dynamicallyCall<T>(withKeywordArguments args: KeyValuePairs<String, Any>) -> T {
27 |         fatalError(dontuse)
   :
50 |     }
51 |
52 |     public static let WHATEVER = Whatever()
   |                       |- warning: static property 'WHATEVER' is not concurrency-safe because non-'Sendable' type 'Whatever' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'WHATEVER' 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
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/Whatever/Whatever.swift:56:12: warning: let 'WHATEVER' is not concurrency-safe because non-'Sendable' type 'Whatever' may have shared mutable state; this is an error in the Swift 6 language mode
23 | @dynamicMemberLookup
24 | @dynamicCallable
25 | public struct Whatever {
   |               `- note: consider making struct 'Whatever' conform to the 'Sendable' protocol
26 |     public func dynamicallyCall<T>(withKeywordArguments args: KeyValuePairs<String, Any>) -> T {
27 |         fatalError(dontuse)
   :
54 |
55 | @available(*, deprecated, message: "Replace WHATEVER.")
56 | public let WHATEVER = Whatever()
   |            |- warning: let 'WHATEVER' is not concurrency-safe because non-'Sendable' type 'Whatever' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: annotate 'WHATEVER' 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
57 |
[6/7] Emitting module Example
/Users/admin/builder/spi-builder-workspace/Sources/Example/Examples.swift:5:5: warning: let 'WHATEVER' is not concurrency-safe because non-'Sendable' type 'Whatever' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | @available(*, deprecated, message: "Replace WHATEVER.")
 5 | let WHATEVER = Whatever.WHATEVER
   |     `- warning: let 'WHATEVER' is not concurrency-safe because non-'Sendable' type 'Whatever' may have shared mutable state; this is an error in the Swift 6 language mode
 6 |
 7 | func examples() {
/Users/admin/builder/spi-builder-workspace/Sources/Whatever/Whatever.swift:25:15: note: struct 'Whatever' does not conform to the 'Sendable' protocol
23 | @dynamicMemberLookup
24 | @dynamicCallable
25 | public struct Whatever {
   |               `- note: struct 'Whatever' does not conform to the 'Sendable' protocol
26 |     public func dynamicallyCall<T>(withKeywordArguments args: KeyValuePairs<String, Any>) -> T {
27 |         fatalError(dontuse)
/Users/admin/builder/spi-builder-workspace/Sources/Example/Examples.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Whatever'
 1 | import Foundation
 2 | import Whatever
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Whatever'
 3 |
 4 | @available(*, deprecated, message: "Replace WHATEVER.")
 5 | let WHATEVER = Whatever.WHATEVER
   |     |- note: annotate 'WHATEVER' 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
 6 |
 7 | func examples() {
/Users/admin/builder/spi-builder-workspace/Sources/Whatever/Whatever.swift:52:23: warning: static property 'WHATEVER' is not concurrency-safe because non-'Sendable' type 'Whatever' may have shared mutable state; this is an error in the Swift 6 language mode
23 | @dynamicMemberLookup
24 | @dynamicCallable
25 | public struct Whatever {
   |               `- note: consider making struct 'Whatever' conform to the 'Sendable' protocol
26 |     public func dynamicallyCall<T>(withKeywordArguments args: KeyValuePairs<String, Any>) -> T {
27 |         fatalError(dontuse)
   :
50 |     }
51 |
52 |     public static let WHATEVER = Whatever()
   |                       |- warning: static property 'WHATEVER' is not concurrency-safe because non-'Sendable' type 'Whatever' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'WHATEVER' 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
53 | }
54 |
[7/7] Compiling Example Examples.swift
/Users/admin/builder/spi-builder-workspace/Sources/Example/Examples.swift:5:5: warning: let 'WHATEVER' is not concurrency-safe because non-'Sendable' type 'Whatever' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | @available(*, deprecated, message: "Replace WHATEVER.")
 5 | let WHATEVER = Whatever.WHATEVER
   |     `- warning: let 'WHATEVER' is not concurrency-safe because non-'Sendable' type 'Whatever' may have shared mutable state; this is an error in the Swift 6 language mode
 6 |
 7 | func examples() {
/Users/admin/builder/spi-builder-workspace/Sources/Whatever/Whatever.swift:25:15: note: struct 'Whatever' does not conform to the 'Sendable' protocol
23 | @dynamicMemberLookup
24 | @dynamicCallable
25 | public struct Whatever {
   |               `- note: struct 'Whatever' does not conform to the 'Sendable' protocol
26 |     public func dynamicallyCall<T>(withKeywordArguments args: KeyValuePairs<String, Any>) -> T {
27 |         fatalError(dontuse)
/Users/admin/builder/spi-builder-workspace/Sources/Example/Examples.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Whatever'
 1 | import Foundation
 2 | import Whatever
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Whatever'
 3 |
 4 | @available(*, deprecated, message: "Replace WHATEVER.")
 5 | let WHATEVER = Whatever.WHATEVER
   |     |- note: annotate 'WHATEVER' 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
 6 |
 7 | func examples() {
/Users/admin/builder/spi-builder-workspace/Sources/Whatever/Whatever.swift:52:23: warning: static property 'WHATEVER' is not concurrency-safe because non-'Sendable' type 'Whatever' may have shared mutable state; this is an error in the Swift 6 language mode
23 | @dynamicMemberLookup
24 | @dynamicCallable
25 | public struct Whatever {
   |               `- note: consider making struct 'Whatever' conform to the 'Sendable' protocol
26 |     public func dynamicallyCall<T>(withKeywordArguments args: KeyValuePairs<String, Any>) -> T {
27 |         fatalError(dontuse)
   :
50 |     }
51 |
52 |     public static let WHATEVER = Whatever()
   |                       |- warning: static property 'WHATEVER' is not concurrency-safe because non-'Sendable' type 'Whatever' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'WHATEVER' 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
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/Example/Examples.swift:8:5: warning: 'WHATEVER' is deprecated: Replace WHATEVER.
 6 |
 7 | func examples() {
 8 |     WHATEVER.viewDidLoad(true)
   |     `- warning: 'WHATEVER' is deprecated: Replace WHATEVER.
 9 |     _ = WHATEVER.IS(URL.self)
10 |     let _: String = WHATEVER.IS()
/Users/admin/builder/spi-builder-workspace/Sources/Example/Examples.swift:9:9: warning: 'WHATEVER' is deprecated: Replace WHATEVER.
 7 | func examples() {
 8 |     WHATEVER.viewDidLoad(true)
 9 |     _ = WHATEVER.IS(URL.self)
   |         `- warning: 'WHATEVER' is deprecated: Replace WHATEVER.
10 |     let _: String = WHATEVER.IS()
11 |     let _: String = WHATEVER.L10n.TaskList.title
/Users/admin/builder/spi-builder-workspace/Sources/Example/Examples.swift:10:21: warning: 'WHATEVER' is deprecated: Replace WHATEVER.
 8 |     WHATEVER.viewDidLoad(true)
 9 |     _ = WHATEVER.IS(URL.self)
10 |     let _: String = WHATEVER.IS()
   |                     `- warning: 'WHATEVER' is deprecated: Replace WHATEVER.
11 |     let _: String = WHATEVER.L10n.TaskList.title
12 |     let _: Bool = WHATEVER(params: false)
/Users/admin/builder/spi-builder-workspace/Sources/Example/Examples.swift:11:21: warning: 'WHATEVER' is deprecated: Replace WHATEVER.
 9 |     _ = WHATEVER.IS(URL.self)
10 |     let _: String = WHATEVER.IS()
11 |     let _: String = WHATEVER.L10n.TaskList.title
   |                     `- warning: 'WHATEVER' is deprecated: Replace WHATEVER.
12 |     let _: Bool = WHATEVER(params: false)
13 |     let _: [Int] = try! [0, 1, 2, 3].map(WHATEVER.IS())
/Users/admin/builder/spi-builder-workspace/Sources/Example/Examples.swift:12:19: warning: 'WHATEVER' is deprecated: Replace WHATEVER.
10 |     let _: String = WHATEVER.IS()
11 |     let _: String = WHATEVER.L10n.TaskList.title
12 |     let _: Bool = WHATEVER(params: false)
   |                   `- warning: 'WHATEVER' is deprecated: Replace WHATEVER.
13 |     let _: [Int] = try! [0, 1, 2, 3].map(WHATEVER.IS())
14 |     let _: Int = WHATEVER[0]
/Users/admin/builder/spi-builder-workspace/Sources/Example/Examples.swift:13:38: error: generic parameter 'E' could not be inferred
11 |     let _: String = WHATEVER.L10n.TaskList.title
12 |     let _: Bool = WHATEVER(params: false)
13 |     let _: [Int] = try! [0, 1, 2, 3].map(WHATEVER.IS())
   |                                      `- error: generic parameter 'E' could not be inferred
14 |     let _: Int = WHATEVER[0]
15 |     let _: Int = WHATEVER["What"]
Swift.Collection:2:28: note: in call to function 'map'
 1 | extension Collection {
 2 |     @inlinable public func map<T, E>(_ transform: (Self.Element) throws(E) -> T) throws(E) -> [T] where E : Error
   |                            `- note: in call to function 'map'
 3 |     @inlinable public __consuming func dropFirst(_ k: Int = 1) -> Self.SubSequence
 4 |     @inlinable public __consuming func dropLast(_ k: Int = 1) -> Self.SubSequence
/Users/admin/builder/spi-builder-workspace/Sources/Example/Examples.swift:13:51: error: converting non-escaping value to 'T' may allow it to escape
11 |     let _: String = WHATEVER.L10n.TaskList.title
12 |     let _: Bool = WHATEVER(params: false)
13 |     let _: [Int] = try! [0, 1, 2, 3].map(WHATEVER.IS())
   |                                                   `- error: converting non-escaping value to 'T' may allow it to escape
14 |     let _: Int = WHATEVER[0]
15 |     let _: Int = WHATEVER["What"]
/Users/admin/builder/spi-builder-workspace/Sources/Example/Examples.swift:14:18: warning: 'WHATEVER' is deprecated: Replace WHATEVER.
12 |     let _: Bool = WHATEVER(params: false)
13 |     let _: [Int] = try! [0, 1, 2, 3].map(WHATEVER.IS())
14 |     let _: Int = WHATEVER[0]
   |                  `- warning: 'WHATEVER' is deprecated: Replace WHATEVER.
15 |     let _: Int = WHATEVER["What"]
16 |     let _: Character = WHATEVER[URL(string: "")]
/Users/admin/builder/spi-builder-workspace/Sources/Example/Examples.swift:15:18: warning: 'WHATEVER' is deprecated: Replace WHATEVER.
13 |     let _: [Int] = try! [0, 1, 2, 3].map(WHATEVER.IS())
14 |     let _: Int = WHATEVER[0]
15 |     let _: Int = WHATEVER["What"]
   |                  `- warning: 'WHATEVER' is deprecated: Replace WHATEVER.
16 |     let _: Character = WHATEVER[URL(string: "")]
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Example/Examples.swift:16:24: warning: 'WHATEVER' is deprecated: Replace WHATEVER.
14 |     let _: Int = WHATEVER[0]
15 |     let _: Int = WHATEVER["What"]
16 |     let _: Character = WHATEVER[URL(string: "")]
   |                        `- warning: 'WHATEVER' is deprecated: Replace WHATEVER.
17 |
18 |     func accept(whatever: Whatever) -> Whatever {
/Users/admin/builder/spi-builder-workspace/Sources/Example/Examples.swift:18:27: warning: 'Whatever' is deprecated: Replace Whatever.
16 |     let _: Character = WHATEVER[URL(string: "")]
17 |
18 |     func accept(whatever: Whatever) -> Whatever {
   |                           `- warning: 'Whatever' is deprecated: Replace Whatever.
19 |         return WHATEVER
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Example/Examples.swift:18:40: warning: 'Whatever' is deprecated: Replace Whatever.
16 |     let _: Character = WHATEVER[URL(string: "")]
17 |
18 |     func accept(whatever: Whatever) -> Whatever {
   |                                        `- warning: 'Whatever' is deprecated: Replace Whatever.
19 |         return WHATEVER
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Example/Examples.swift:19:16: warning: 'WHATEVER' is deprecated: Replace WHATEVER.
17 |
18 |     func accept(whatever: Whatever) -> Whatever {
19 |         return WHATEVER
   |                `- warning: 'WHATEVER' is deprecated: Replace WHATEVER.
20 |     }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/Example/Examples.swift:22:5: warning: 'WHATEVER' is deprecated: Replace WHATEVER.
20 |     }
21 |
22 |     WHATEVER.METHOD.dependency.service.doSomthing(param: true)
   |     `- warning: 'WHATEVER' is deprecated: Replace WHATEVER.
23 |         .RETURNS(Promise<Void>.self)
24 |         .then { _ in }
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.