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 SSpec, reference master (2e6842), with Swift 6.0 for Linux on 31 Oct 2024 06:43:55 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: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
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/1126] Fetching rainbow
[1037/1566] Fetching rainbow, progress.swift
Fetched https://github.com/jkandzi/Progress.swift from cache (0.21s)
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.41s)
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/jkandzi/Progress.swift
Working copy of https://github.com/jkandzi/Progress.swift resolved at 0.4.0
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/19] Compiling Rainbow StringGenerator.swift
[6/19] Compiling Rainbow Style.swift
[7/20] Compiling Rainbow String+Rainbow.swift
[8/20] Compiling Rainbow XcodeColorsSupport.swift
[9/20] Compiling Progress ProgressElements.swift
[10/20] Compiling Progress Progress.swift
[11/20] Compiling Progress Utilities.swift
[12/20] Emitting module Progress
[14/21] Emitting module Rainbow
[15/21] Compiling Rainbow ModesExtractor.swift
[16/21] Compiling Rainbow OutputTarget.swift
[17/21] Compiling Rainbow BackgroundColor.swift
[18/21] Compiling Rainbow CodesParser.swift
[19/21] Compiling Rainbow Color.swift
[20/21] Compiling Rainbow ControlCode.swift
[21/21] Compiling Rainbow Rainbow.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/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 |   }
[25/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 |   }
[26/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 |   }
[27/49] Compiling SSpec Generic.swift
[28/49] Compiling SSpec String.swift
[29/49] Compiling SSpec ToString.swift
[30/49] Compiling SSpec Change.swift
[31/49] Compiling SSpec Comparable.swift
[32/49] Compiling SSpec Equatable.swift
[33/49] 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 {
[34/49] 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 {
[35/49] 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 {
[36/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 |   }
[37/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 |   }
[38/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 |   }
[39/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 |   }
[40/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 |   }
[41/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 |   }
[42/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 |   }
[43/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 }
[44/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 }
[45/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 }
[46/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 }
[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