Build Information
Failed to build Whatever, reference 1.3.0 (a5cd0f
), with Swift 6.0 for Linux on 28 Nov 2024 01:21:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/intitni/Whatever.git
Reference: 1.3.0
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
* tag 1.3.0 -> FETCH_HEAD
HEAD is now at a5cd0f9 Remove build flag
Cloned https://github.com/intitni/Whatever.git
Revision (git rev-parse @):
a5cd0f90afc506c3f57a3f21d808933c45561422
SUCCESS checkout https://github.com/intitni/Whatever.git at 1.3.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/intitni/Whatever.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
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() {
[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/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