Build Information
Failed to build SwiftInspector, reference 0.16.0 (29a0bb
), with Swift 6.0 for Linux on 2 Nov 2024 16:51:35 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/fdiaz/SwiftInspector.git
Reference: 0.16.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/fdiaz/SwiftInspector
* tag 0.16.0 -> FETCH_HEAD
HEAD is now at 29a0bb2 Use DeclarationModifierVisitor in more places & consolidate on the Modifiers OptionSet (#130)
Cloned https://github.com/fdiaz/SwiftInspector.git
Revision (git rev-parse @):
29a0bb2fa3a52752a509fbe0ad6afb76343f5b40
SUCCESS checkout https://github.com/fdiaz/SwiftInspector.git at 0.16.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/fdiaz/SwiftInspector.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/apple/swift-argument-parser
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/Quick/Nimble.git
[1/14723] Fetching quick
[14724/27076] Fetching quick, swift-argument-parser
[27077/93475] Fetching quick, swift-argument-parser, swift-syntax
Fetched https://github.com/Quick/Quick.git from cache (0.68s)
[13017/78752] Fetching swift-argument-parser, swift-syntax
[19658/97970] Fetching swift-argument-parser, swift-syntax, nimble
Fetched https://github.com/Quick/Nimble.git from cache (1.70s)
[78089/78752] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (3.57s)
Fetched https://github.com/apple/swift-syntax.git from cache (3.61s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (0.42s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50600.1 (0.66s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (0.43s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.33s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.42s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.17s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.41s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.40s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.2.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 4.0.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50600.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/26] Write sources
[10/26] Compiling atomic-counter.c
[10/26] Write swift-version-24593BA9C3E375BF.txt
[13/61] Emitting module ArgumentParserToolInfo
[14/61] Compiling ArgumentParserToolInfo ToolInfo.swift
[16/62] Compiling SwiftSyntax SyntaxClassifier.swift
[17/62] Compiling SwiftSyntax SyntaxData.swift
[18/62] Compiling SwiftSyntax SyntaxOtherNodes.swift
[19/62] Compiling SwiftSyntax SyntaxVerifier.swift
[20/62] Compiling SwiftSyntax Utils.swift
[21/66] Compiling SwiftSyntax SourceLength.swift
[22/66] Compiling SwiftSyntax SourceLocation.swift
[23/66] Compiling SwiftSyntax SourcePresence.swift
[24/66] Compiling SwiftSyntax Syntax.swift
[25/66] Compiling SwiftSyntax SyntaxChildren.swift
[25/66] Wrapping AST for ArgumentParserToolInfo for debugging
[27/104] Emitting module ArgumentParser
[28/109] Compiling ArgumentParser OptionGroup.swift
[29/109] Compiling ArgumentParser AsyncParsableCommand.swift
[30/109] Compiling ArgumentParser CommandConfiguration.swift
[31/109] Compiling ArgumentParser CommandGroup.swift
[32/109] Compiling ArgumentParser EnumerableFlag.swift
[33/109] Compiling ArgumentParser ExpressibleByArgument.swift
[34/109] Compiling ArgumentParser ParsableArguments.swift
[35/109] Compiling ArgumentParser ParsableArgumentsValidation.swift
[36/109] Compiling ArgumentParser ParsableCommand.swift
[37/109] Compiling ArgumentParser ArgumentDecoder.swift
[38/109] Compiling ArgumentParser BashCompletionsGenerator.swift
[39/109] Compiling ArgumentParser CompletionsGenerator.swift
[40/109] Compiling ArgumentParser FishCompletionsGenerator.swift
[41/109] Compiling ArgumentParser ZshCompletionsGenerator.swift
[42/109] Compiling ArgumentParser Argument.swift
[43/109] Compiling ArgumentParser ArgumentHelp.swift
[44/109] Compiling ArgumentParser CollectionExtensions.swift
[45/109] Compiling ArgumentParser Platform.swift
[46/109] Compiling ArgumentParser SequenceExtensions.swift
[47/109] Compiling ArgumentParser StringExtensions.swift
[48/109] Compiling ArgumentParser Tree.swift
[49/109] Compiling ArgumentParser Name.swift
[50/109] Compiling ArgumentParser Parsed.swift
[51/109] Compiling ArgumentParser ParsedValues.swift
[52/109] Compiling ArgumentParser ParserError.swift
[53/109] Compiling ArgumentParser SplitArguments.swift
[54/109] Compiling ArgumentParser ArgumentDefinition.swift
[55/109] Compiling ArgumentParser ArgumentSet.swift
[56/109] Compiling ArgumentParser CommandParser.swift
[57/109] Compiling ArgumentParser InputKey.swift
[58/109] Compiling ArgumentParser InputOrigin.swift
[59/109] Compiling ArgumentParser ArgumentVisibility.swift
[60/109] Compiling ArgumentParser CompletionKind.swift
[61/109] Compiling ArgumentParser Errors.swift
[62/109] Compiling ArgumentParser Flag.swift
[63/109] Compiling ArgumentParser NameSpecification.swift
[64/109] Compiling ArgumentParser Option.swift
[65/109] Compiling ArgumentParser DumpHelpGenerator.swift
[66/109] Compiling ArgumentParser HelpCommand.swift
[67/109] Compiling ArgumentParser HelpGenerator.swift
[68/109] Compiling ArgumentParser MessageInfo.swift
[69/109] Compiling ArgumentParser UsageGenerator.swift
[70/110] Wrapping AST for ArgumentParser for debugging
[72/110] Emitting module SwiftSyntax
[99/111] Wrapping AST for SwiftSyntax for debugging
[100/111] Write Objects.LinkFileList
[101/135] Archiving libSwiftSyntax.a
[103/135] Compiling SwiftSyntaxParser CNodes.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxParser/CNodes.swift:13:29: error: no such module '_InternalSwiftSyntaxParser'
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import _InternalSwiftSyntaxParser
| `- error: no such module '_InternalSwiftSyntaxParser'
14 |
15 | typealias CSyntaxNode = swiftparse_syntax_node_t
error: emit-module command failed with exit code 1 (use -v to see invocation)
[104/135] Emitting module SwiftSyntaxParser
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxParser/CNodes.swift:13:29: error: no such module '_InternalSwiftSyntaxParser'
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import _InternalSwiftSyntaxParser
| `- error: no such module '_InternalSwiftSyntaxParser'
14 |
15 | typealias CSyntaxNode = swiftparse_syntax_node_t
[105/135] Compiling SwiftSyntaxParser NodeDeclarationHash.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxParser/CNodes.swift:13:29: error: no such module '_InternalSwiftSyntaxParser'
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import _InternalSwiftSyntaxParser
| `- error: no such module '_InternalSwiftSyntaxParser'
14 |
15 | typealias CSyntaxNode = swiftparse_syntax_node_t
[106/135] Compiling SwiftSyntaxParser Diagnostic.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxParser/CNodes.swift:13:29: error: no such module '_InternalSwiftSyntaxParser'
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import _InternalSwiftSyntaxParser
| `- error: no such module '_InternalSwiftSyntaxParser'
14 |
15 | typealias CSyntaxNode = swiftparse_syntax_node_t
[107/135] Compiling SwiftSyntaxParser SyntaxParser.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxParser/CNodes.swift:13:29: error: no such module '_InternalSwiftSyntaxParser'
11 | //===----------------------------------------------------------------------===//
12 |
13 | @_implementationOnly import _InternalSwiftSyntaxParser
| `- error: no such module '_InternalSwiftSyntaxParser'
14 |
15 | typealias CSyntaxNode = swiftparse_syntax_node_t
/host/spi-builder-workspace/Sources/SwiftInspectorVisitors/AssertionFailure.swift:40:21: warning: static property 'notification' is not concurrency-safe because non-'Sendable' type 'Notification' may have shared mutable state; this is an error in the Swift 6 language mode
38 | public enum AssertionFailure {
39 | /// The notification that is posted when `assertionFailureOrPostNotification` is called and `postNotification` is `true`.
40 | public static let notification = Notification(name: Notification.Name(rawValue: "SwiftInspector.AssertionFailure"))
| |- warning: static property 'notification' is not concurrency-safe because non-'Sendable' type 'Notification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notification' 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
41 | /// Set to `true` to post notifications in `assertionFailureOrPostNotification` rather than calling through to `Swift.assertionFailure`.
42 | public static var postNotification = false
Foundation.Notification:1:15: note: struct 'Notification' does not conform to the 'Sendable' protocol
1 | public struct Notification : ReferenceConvertible, Equatable, Hashable {
| `- note: struct 'Notification' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSNotification
3 | public var name: Notification.Name
/host/spi-builder-workspace/Sources/SwiftInspectorVisitors/AssertionFailure.swift:42:21: warning: static property 'postNotification' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | public static let notification = Notification(name: Notification.Name(rawValue: "SwiftInspector.AssertionFailure"))
41 | /// Set to `true` to post notifications in `assertionFailureOrPostNotification` rather than calling through to `Swift.assertionFailure`.
42 | public static var postNotification = false
| |- warning: static property 'postNotification' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'postNotification' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'postNotification' 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
43 | }
44 |
/host/spi-builder-workspace/Sources/SwiftInspectorVisitors/Modifiers.swift:29:21: warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Modifiers' may have shared mutable state; this is an error in the Swift 6 language mode
23 | // MARK: - Modifiers
24 |
25 | public struct Modifiers: Codable, Hashable, OptionSet {
| `- note: consider making struct 'Modifiers' conform to the 'Sendable' protocol
26 | public let rawValue: Int
27 |
28 | // general accessors
29 | public static let `open` = Self(rawValue: 1 << 0)
| |- warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Modifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'open' 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
30 | public static let `internal` = Self(rawValue: 1 << 1)
31 | public static let `public` = Self(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/SwiftInspectorVisitors/Modifiers.swift:30:21: warning: static property 'internal' is not concurrency-safe because non-'Sendable' type 'Modifiers' may have shared mutable state; this is an error in the Swift 6 language mode
23 | // MARK: - Modifiers
24 |
25 | public struct Modifiers: Codable, Hashable, OptionSet {
| `- note: consider making struct 'Modifiers' conform to the 'Sendable' protocol
26 | public let rawValue: Int
27 |
28 | // general accessors
29 | public static let `open` = Self(rawValue: 1 << 0)
30 | public static let `internal` = Self(rawValue: 1 << 1)
| |- warning: static property 'internal' is not concurrency-safe because non-'Sendable' type 'Modifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'internal' 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
31 | public static let `public` = Self(rawValue: 1 << 2)
32 | public static let `private` = Self(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/SwiftInspectorVisitors/Modifiers.swift:31:21: warning: static property 'public' is not concurrency-safe because non-'Sendable' type 'Modifiers' may have shared mutable state; this is an error in the Swift 6 language mode
23 | // MARK: - Modifiers
24 |
25 | public struct Modifiers: Codable, Hashable, OptionSet {
| `- note: consider making struct 'Modifiers' conform to the 'Sendable' protocol
26 | public let rawValue: Int
27 |
:
29 | public static let `open` = Self(rawValue: 1 << 0)
30 | public static let `internal` = Self(rawValue: 1 << 1)
31 | public static let `public` = Self(rawValue: 1 << 2)
| |- warning: static property 'public' is not concurrency-safe because non-'Sendable' type 'Modifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'public' 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
32 | public static let `private` = Self(rawValue: 1 << 3)
33 | public static let `fileprivate` = Self(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/SwiftInspectorVisitors/Modifiers.swift:32:21: warning: static property 'private' is not concurrency-safe because non-'Sendable' type 'Modifiers' may have shared mutable state; this is an error in the Swift 6 language mode
23 | // MARK: - Modifiers
24 |
25 | public struct Modifiers: Codable, Hashable, OptionSet {
| `- note: consider making struct 'Modifiers' conform to the 'Sendable' protocol
26 | public let rawValue: Int
27 |
:
30 | public static let `internal` = Self(rawValue: 1 << 1)
31 | public static let `public` = Self(rawValue: 1 << 2)
32 | public static let `private` = Self(rawValue: 1 << 3)
| |- warning: static property 'private' is not concurrency-safe because non-'Sendable' type 'Modifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'private' 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
33 | public static let `fileprivate` = Self(rawValue: 1 << 4)
34 | // set accessors
/host/spi-builder-workspace/Sources/SwiftInspectorVisitors/Modifiers.swift:33:21: warning: static property 'fileprivate' is not concurrency-safe because non-'Sendable' type 'Modifiers' may have shared mutable state; this is an error in the Swift 6 language mode
23 | // MARK: - Modifiers
24 |
25 | public struct Modifiers: Codable, Hashable, OptionSet {
| `- note: consider making struct 'Modifiers' conform to the 'Sendable' protocol
26 | public let rawValue: Int
27 |
:
31 | public static let `public` = Self(rawValue: 1 << 2)
32 | public static let `private` = Self(rawValue: 1 << 3)
33 | public static let `fileprivate` = Self(rawValue: 1 << 4)
| |- warning: static property 'fileprivate' is not concurrency-safe because non-'Sendable' type 'Modifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fileprivate' 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
34 | // set accessors
35 | public static let privateSet = Self(rawValue: 1 << 5)
/host/spi-builder-workspace/Sources/SwiftInspectorVisitors/Modifiers.swift:35:21: warning: static property 'privateSet' is not concurrency-safe because non-'Sendable' type 'Modifiers' may have shared mutable state; this is an error in the Swift 6 language mode
23 | // MARK: - Modifiers
24 |
25 | public struct Modifiers: Codable, Hashable, OptionSet {
| `- note: consider making struct 'Modifiers' conform to the 'Sendable' protocol
26 | public let rawValue: Int
27 |
:
33 | public static let `fileprivate` = Self(rawValue: 1 << 4)
34 | // set accessors
35 | public static let privateSet = Self(rawValue: 1 << 5)
| |- warning: static property 'privateSet' is not concurrency-safe because non-'Sendable' type 'Modifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'privateSet' 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
36 | public static let internalSet = Self(rawValue: 1 << 6)
37 | public static let publicSet = Self(rawValue: 1 << 7)
/host/spi-builder-workspace/Sources/SwiftInspectorVisitors/Modifiers.swift:36:21: warning: static property 'internalSet' is not concurrency-safe because non-'Sendable' type 'Modifiers' may have shared mutable state; this is an error in the Swift 6 language mode
23 | // MARK: - Modifiers
24 |
25 | public struct Modifiers: Codable, Hashable, OptionSet {
| `- note: consider making struct 'Modifiers' conform to the 'Sendable' protocol
26 | public let rawValue: Int
27 |
:
34 | // set accessors
35 | public static let privateSet = Self(rawValue: 1 << 5)
36 | public static let internalSet = Self(rawValue: 1 << 6)
| |- warning: static property 'internalSet' is not concurrency-safe because non-'Sendable' type 'Modifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'internalSet' 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
37 | public static let publicSet = Self(rawValue: 1 << 7)
38 | // access control
/host/spi-builder-workspace/Sources/SwiftInspectorVisitors/Modifiers.swift:37:21: warning: static property 'publicSet' is not concurrency-safe because non-'Sendable' type 'Modifiers' may have shared mutable state; this is an error in the Swift 6 language mode
23 | // MARK: - Modifiers
24 |
25 | public struct Modifiers: Codable, Hashable, OptionSet {
| `- note: consider making struct 'Modifiers' conform to the 'Sendable' protocol
26 | public let rawValue: Int
27 |
:
35 | public static let privateSet = Self(rawValue: 1 << 5)
36 | public static let internalSet = Self(rawValue: 1 << 6)
37 | public static let publicSet = Self(rawValue: 1 << 7)
| |- warning: static property 'publicSet' is not concurrency-safe because non-'Sendable' type 'Modifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'publicSet' 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
38 | // access control
39 | public static let `instance` = Self(rawValue: 1 << 8)
/host/spi-builder-workspace/Sources/SwiftInspectorVisitors/Modifiers.swift:39:21: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Modifiers' may have shared mutable state; this is an error in the Swift 6 language mode
23 | // MARK: - Modifiers
24 |
25 | public struct Modifiers: Codable, Hashable, OptionSet {
| `- note: consider making struct 'Modifiers' conform to the 'Sendable' protocol
26 | public let rawValue: Int
27 |
:
37 | public static let publicSet = Self(rawValue: 1 << 7)
38 | // access control
39 | public static let `instance` = Self(rawValue: 1 << 8)
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Modifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' 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
40 | public static let `static` = Self(rawValue: 1 << 9)
41 | // function modifiers
/host/spi-builder-workspace/Sources/SwiftInspectorVisitors/Modifiers.swift:40:21: warning: static property 'static' is not concurrency-safe because non-'Sendable' type 'Modifiers' may have shared mutable state; this is an error in the Swift 6 language mode
23 | // MARK: - Modifiers
24 |
25 | public struct Modifiers: Codable, Hashable, OptionSet {
| `- note: consider making struct 'Modifiers' conform to the 'Sendable' protocol
26 | public let rawValue: Int
27 |
:
38 | // access control
39 | public static let `instance` = Self(rawValue: 1 << 8)
40 | public static let `static` = Self(rawValue: 1 << 9)
| |- warning: static property 'static' is not concurrency-safe because non-'Sendable' type 'Modifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'static' 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
41 | // function modifiers
42 | public static let designated = Self(rawValue: 1 << 10)
/host/spi-builder-workspace/Sources/SwiftInspectorVisitors/Modifiers.swift:42:21: warning: static property 'designated' is not concurrency-safe because non-'Sendable' type 'Modifiers' may have shared mutable state; this is an error in the Swift 6 language mode
23 | // MARK: - Modifiers
24 |
25 | public struct Modifiers: Codable, Hashable, OptionSet {
| `- note: consider making struct 'Modifiers' conform to the 'Sendable' protocol
26 | public let rawValue: Int
27 |
:
40 | public static let `static` = Self(rawValue: 1 << 9)
41 | // function modifiers
42 | public static let designated = Self(rawValue: 1 << 10)
| |- warning: static property 'designated' is not concurrency-safe because non-'Sendable' type 'Modifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'designated' 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
43 | public static let convenience = Self(rawValue: 1 << 11)
44 | public static let override = Self(rawValue: 1 << 12)
/host/spi-builder-workspace/Sources/SwiftInspectorVisitors/Modifiers.swift:43:21: warning: static property 'convenience' is not concurrency-safe because non-'Sendable' type 'Modifiers' may have shared mutable state; this is an error in the Swift 6 language mode
23 | // MARK: - Modifiers
24 |
25 | public struct Modifiers: Codable, Hashable, OptionSet {
| `- note: consider making struct 'Modifiers' conform to the 'Sendable' protocol
26 | public let rawValue: Int
27 |
:
41 | // function modifiers
42 | public static let designated = Self(rawValue: 1 << 10)
43 | public static let convenience = Self(rawValue: 1 << 11)
| |- warning: static property 'convenience' is not concurrency-safe because non-'Sendable' type 'Modifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'convenience' 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
44 | public static let override = Self(rawValue: 1 << 12)
45 | public static let required = Self(rawValue: 1 << 13)
/host/spi-builder-workspace/Sources/SwiftInspectorVisitors/Modifiers.swift:44:21: warning: static property 'override' is not concurrency-safe because non-'Sendable' type 'Modifiers' may have shared mutable state; this is an error in the Swift 6 language mode
23 | // MARK: - Modifiers
24 |
25 | public struct Modifiers: Codable, Hashable, OptionSet {
| `- note: consider making struct 'Modifiers' conform to the 'Sendable' protocol
26 | public let rawValue: Int
27 |
:
42 | public static let designated = Self(rawValue: 1 << 10)
43 | public static let convenience = Self(rawValue: 1 << 11)
44 | public static let override = Self(rawValue: 1 << 12)
| |- warning: static property 'override' is not concurrency-safe because non-'Sendable' type 'Modifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'override' 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
45 | public static let required = Self(rawValue: 1 << 13)
46 |
BUILD FAILURE 6.0 linux