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 Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/intitni/Whatever.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/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:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/intitni/Whatever.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/5] Emitting module Whatever
/host/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 |
/host/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
/host/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 |
/host/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 |
[7/8] Emitting module Example
/host/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() {
/host/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)
/host/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() {
/host/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 |
[8/8] Compiling Example Examples.swift
/host/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() {
/host/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)
/host/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() {
/host/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 |
/host/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()
/host/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
/host/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)
/host/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())
/host/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]
/host/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
/host/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"]
/host/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: "")]
/host/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 |
/host/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 {
/host/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 |     }
/host/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 |     }
/host/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 |
/host/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 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.