Build Information
Failed to build SSpec, reference 0.2.3 (2e6842
), with Swift 6.0 for Linux on 31 Oct 2024 06:45:45 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dimakura/sspec.git
Reference: 0.2.3
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/dimakura/sspec
* tag 0.2.3 -> FETCH_HEAD
HEAD is now at 2e68427 Extensibility fixes (#33)
Cloned https://github.com/dimakura/sspec.git
Revision (git rev-parse @):
2e6842709607cdbfd3013e7df0dbe32b60932656
SUCCESS checkout https://github.com/dimakura/sspec.git at 0.2.3
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/dimakura/sspec.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 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
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/jkandzi/Progress.swift
[1/440] Fetching progress.swift
[441/1566] Fetching progress.swift, rainbow
Fetched https://github.com/jkandzi/Progress.swift from cache (0.19s)
Fetched https://github.com/onevcat/Rainbow from cache (0.21s)
Computing version for https://github.com/jkandzi/Progress.swift
Computed https://github.com/jkandzi/Progress.swift at 0.4.0 (0.42s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.42s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Creating working copy for https://github.com/jkandzi/Progress.swift
Working copy of https://github.com/jkandzi/Progress.swift resolved at 0.4.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/19] Compiling Rainbow String+Rainbow.swift
[6/20] Compiling Rainbow XcodeColorsSupport.swift
[7/20] Compiling Rainbow StringGenerator.swift
[8/20] Compiling Rainbow Style.swift
[9/20] Compiling Rainbow BackgroundColor.swift
[10/20] Compiling Rainbow CodesParser.swift
[11/20] Compiling Progress ProgressElements.swift
[12/20] Compiling Progress Progress.swift
[13/20] Emitting module Progress
[14/20] Compiling Progress Utilities.swift
[16/21] Compiling Rainbow Rainbow.swift
[17/21] Emitting module Rainbow
[18/21] Compiling Rainbow Color.swift
[19/21] Compiling Rainbow ControlCode.swift
[20/21] Compiling Rainbow ModesExtractor.swift
[21/21] Compiling Rainbow OutputTarget.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/46] Emitting module SSpec
/host/spi-builder-workspace/Sources/SSpec/Expectations/Array.swift:18:32: error: use of protocol 'Equatable' as a type must be written 'any Equatable'
16 |
17 | /// Expectations for equatable arrays.
18 | extension SSExpect where T == [Equatable] {
| `- error: use of protocol 'Equatable' as a type must be written 'any Equatable'
19 | private func areEqual<X: Equatable>(_ a: T?, _ b: [X]) -> Bool {
20 | guard let A = a as? [X] else { return false }
/host/spi-builder-workspace/Sources/SSpec/SSpec.swift:15:22: warning: static property '_currentSession' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | private static var _currentSession: SSSession?
| |- warning: static property '_currentSession' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_currentSession' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_currentSession' 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
16 |
17 | /// Current session.
/host/spi-builder-workspace/Sources/SSpec/SSpec.swift:21:14: warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// Current reporter.
21 | static var reporter: Reporter = .Dot
| |- warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'reporter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'reporter' 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
22 |
23 | /// You use this method only once for running sessions.
/host/spi-builder-workspace/Sources/SSpec/Tree/Node.swift:52:7: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
50 | }
51 |
52 | var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
53 | return id
54 | }
/host/spi-builder-workspace/Sources/SSpec/Tree/IdGenerator.swift:3:22: warning: static property 'lastId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | /// Consequtive id generator.
2 | struct IdGenerator {
3 | private static var lastId: Int = 0
| |- warning: static property 'lastId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastId' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lastId' 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
4 |
5 | static var nextId: Int {
/host/spi-builder-workspace/Sources/SSpec/Tree/Node.swift:4:14: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | class Node: Equatable, Hashable {
3 | /// Current node: used for running examples.
4 | static var current: Node? = nil
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' 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
5 |
6 | /// Equatable implementation.
[24/46] Compiling SSpec Describe.swift
/host/spi-builder-workspace/Sources/SSpec/Tree/Node.swift:52:7: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
50 | }
51 |
52 | var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
53 | return id
54 | }
/host/spi-builder-workspace/Sources/SSpec/Tree/IdGenerator.swift:3:22: warning: static property 'lastId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | /// Consequtive id generator.
2 | struct IdGenerator {
3 | private static var lastId: Int = 0
| |- warning: static property 'lastId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastId' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lastId' 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
4 |
5 | static var nextId: Int {
[25/46] Compiling SSpec Example.swift
/host/spi-builder-workspace/Sources/SSpec/Tree/Node.swift:52:7: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
50 | }
51 |
52 | var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
53 | return id
54 | }
/host/spi-builder-workspace/Sources/SSpec/Tree/IdGenerator.swift:3:22: warning: static property 'lastId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | /// Consequtive id generator.
2 | struct IdGenerator {
3 | private static var lastId: Int = 0
| |- warning: static property 'lastId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastId' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lastId' 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
4 |
5 | static var nextId: Int {
[26/46] Compiling SSpec IdGenerator.swift
/host/spi-builder-workspace/Sources/SSpec/Tree/Node.swift:52:7: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
50 | }
51 |
52 | var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
53 | return id
54 | }
/host/spi-builder-workspace/Sources/SSpec/Tree/IdGenerator.swift:3:22: warning: static property 'lastId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | /// Consequtive id generator.
2 | struct IdGenerator {
3 | private static var lastId: Int = 0
| |- warning: static property 'lastId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastId' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lastId' 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
4 |
5 | static var nextId: Int {
[27/49] Compiling SSpec Change.swift
[28/49] Compiling SSpec Comparable.swift
[29/49] Compiling SSpec Equatable.swift
[30/49] Compiling SSpec Tree.swift
/host/spi-builder-workspace/Sources/SSpec/Tree/Node.swift:52:7: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
50 | }
51 |
52 | var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
53 | return id
54 | }
[31/49] Compiling SSpec After.swift
/host/spi-builder-workspace/Sources/SSpec/Tree/Node.swift:52:7: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
50 | }
51 |
52 | var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
53 | return id
54 | }
[32/49] Compiling SSpec Before.swift
/host/spi-builder-workspace/Sources/SSpec/Tree/Node.swift:52:7: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
50 | }
51 |
52 | var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
53 | return id
54 | }
[33/49] Compiling SSpec TimeTaken.swift
/host/spi-builder-workspace/Sources/SSpec/Expectations/Array.swift:18:32: error: use of protocol 'Equatable' as a type must be written 'any Equatable'
16 |
17 | /// Expectations for equatable arrays.
18 | extension SSExpect where T == [Equatable] {
| `- error: use of protocol 'Equatable' as a type must be written 'any Equatable'
19 | private func areEqual<X: Equatable>(_ a: T?, _ b: [X]) -> Bool {
20 | guard let A = a as? [X] else { return false }
[34/49] Compiling SSpec Welcomer.swift
/host/spi-builder-workspace/Sources/SSpec/Expectations/Array.swift:18:32: error: use of protocol 'Equatable' as a type must be written 'any Equatable'
16 |
17 | /// Expectations for equatable arrays.
18 | extension SSExpect where T == [Equatable] {
| `- error: use of protocol 'Equatable' as a type must be written 'any Equatable'
19 | private func areEqual<X: Equatable>(_ a: T?, _ b: [X]) -> Bool {
20 | guard let A = a as? [X] else { return false }
[35/49] Compiling SSpec Array.swift
/host/spi-builder-workspace/Sources/SSpec/Expectations/Array.swift:18:32: error: use of protocol 'Equatable' as a type must be written 'any Equatable'
16 |
17 | /// Expectations for equatable arrays.
18 | extension SSExpect where T == [Equatable] {
| `- error: use of protocol 'Equatable' as a type must be written 'any Equatable'
19 | private func areEqual<X: Equatable>(_ a: T?, _ b: [X]) -> Bool {
20 | guard let A = a as? [X] else { return false }
[36/49] Compiling SSpec Bool.swift
/host/spi-builder-workspace/Sources/SSpec/Expectations/Array.swift:18:32: error: use of protocol 'Equatable' as a type must be written 'any Equatable'
16 |
17 | /// Expectations for equatable arrays.
18 | extension SSExpect where T == [Equatable] {
| `- error: use of protocol 'Equatable' as a type must be written 'any Equatable'
19 | private func areEqual<X: Equatable>(_ a: T?, _ b: [X]) -> Bool {
20 | guard let A = a as? [X] else { return false }
[37/49] Compiling SSpec SSpec.swift
/host/spi-builder-workspace/Sources/SSpec/SSpec.swift:15:22: warning: static property '_currentSession' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | private static var _currentSession: SSSession?
| |- warning: static property '_currentSession' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_currentSession' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_currentSession' 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
16 |
17 | /// Current session.
/host/spi-builder-workspace/Sources/SSpec/SSpec.swift:21:14: warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// Current reporter.
21 | static var reporter: Reporter = .Dot
| |- warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'reporter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'reporter' 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
22 |
23 | /// You use this method only once for running sessions.
/host/spi-builder-workspace/Sources/SSpec/Tree/Node.swift:52:7: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
50 | }
51 |
52 | var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
53 | return id
54 | }
[38/49] Compiling SSpec Events.swift
/host/spi-builder-workspace/Sources/SSpec/SSpec.swift:15:22: warning: static property '_currentSession' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | private static var _currentSession: SSSession?
| |- warning: static property '_currentSession' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_currentSession' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_currentSession' 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
16 |
17 | /// Current session.
/host/spi-builder-workspace/Sources/SSpec/SSpec.swift:21:14: warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// Current reporter.
21 | static var reporter: Reporter = .Dot
| |- warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'reporter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'reporter' 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
22 |
23 | /// You use this method only once for running sessions.
/host/spi-builder-workspace/Sources/SSpec/Tree/Node.swift:52:7: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
50 | }
51 |
52 | var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
53 | return id
54 | }
[39/49] Compiling SSpec Session.swift
/host/spi-builder-workspace/Sources/SSpec/SSpec.swift:15:22: warning: static property '_currentSession' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | private static var _currentSession: SSSession?
| |- warning: static property '_currentSession' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_currentSession' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_currentSession' 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
16 |
17 | /// Current session.
/host/spi-builder-workspace/Sources/SSpec/SSpec.swift:21:14: warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// Current reporter.
21 | static var reporter: Reporter = .Dot
| |- warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'reporter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'reporter' 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
22 |
23 | /// You use this method only once for running sessions.
/host/spi-builder-workspace/Sources/SSpec/Tree/Node.swift:52:7: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
50 | }
51 |
52 | var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
53 | return id
54 | }
[40/49] Compiling SSpec Generic.swift
[41/49] Compiling SSpec String.swift
[42/49] Compiling SSpec ToString.swift
[43/49] Compiling SSpec DotReporter.swift
/host/spi-builder-workspace/Sources/SSpec/SSpec.swift:21:14: warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// Current reporter.
21 | static var reporter: Reporter = .Dot
| |- warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'reporter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'reporter' 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
22 |
23 | /// You use this method only once for running sessions.
/host/spi-builder-workspace/Sources/SSpec/Tree/Node.swift:52:7: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
50 | }
51 |
52 | var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
53 | return id
54 | }
[44/49] Compiling SSpec ProgressReporter.swift
/host/spi-builder-workspace/Sources/SSpec/SSpec.swift:21:14: warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// Current reporter.
21 | static var reporter: Reporter = .Dot
| |- warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'reporter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'reporter' 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
22 |
23 | /// You use this method only once for running sessions.
/host/spi-builder-workspace/Sources/SSpec/Tree/Node.swift:52:7: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
50 | }
51 |
52 | var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
53 | return id
54 | }
[45/49] Compiling SSpec Reporter.swift
/host/spi-builder-workspace/Sources/SSpec/SSpec.swift:21:14: warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// Current reporter.
21 | static var reporter: Reporter = .Dot
| |- warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'reporter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'reporter' 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
22 |
23 | /// You use this method only once for running sessions.
/host/spi-builder-workspace/Sources/SSpec/Tree/Node.swift:52:7: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
50 | }
51 |
52 | var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
53 | return id
54 | }
[46/49] Compiling SSpec SpecReporter.swift
/host/spi-builder-workspace/Sources/SSpec/SSpec.swift:21:14: warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// Current reporter.
21 | static var reporter: Reporter = .Dot
| |- warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'reporter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'reporter' 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
22 |
23 | /// You use this method only once for running sessions.
/host/spi-builder-workspace/Sources/SSpec/Tree/Node.swift:52:7: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
50 | }
51 |
52 | var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
53 | return id
54 | }
[47/49] Compiling SSpec Node.swift
/host/spi-builder-workspace/Sources/SSpec/Tree/Node.swift:52:7: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
50 | }
51 |
52 | var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
53 | return id
54 | }
/host/spi-builder-workspace/Sources/SSpec/Tree/Node.swift:4:14: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | class Node: Equatable, Hashable {
3 | /// Current node: used for running examples.
4 | static var current: Node? = nil
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' 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
5 |
6 | /// Equatable implementation.
[48/49] Compiling SSpec Root.swift
/host/spi-builder-workspace/Sources/SSpec/Tree/Node.swift:52:7: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
50 | }
51 |
52 | var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
53 | return id
54 | }
/host/spi-builder-workspace/Sources/SSpec/Tree/Node.swift:4:14: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | class Node: Equatable, Hashable {
3 | /// Current node: used for running examples.
4 | static var current: Node? = nil
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' 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
5 |
6 | /// Equatable implementation.
[49/49] Compiling SSpec Version.swift
/host/spi-builder-workspace/Sources/SSpec/Tree/Node.swift:52:7: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
50 | }
51 |
52 | var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Node' to 'Hashable' by implementing 'hash(into:)' instead
53 | return id
54 | }
/host/spi-builder-workspace/Sources/SSpec/Tree/Node.swift:4:14: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | class Node: Equatable, Hashable {
3 | /// Current node: used for running examples.
4 | static var current: Node? = nil
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' 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
5 |
6 | /// Equatable implementation.
BUILD FAILURE 6.0 linux