Build Information
Failed to build SwiftIndexStore, reference master (7fc1b1), with Swift 6.1 for Wasm on 29 May 2025 02:27:29 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ileitch/swift-indexstore.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/ileitch/swift-indexstore
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 7fc1b1e Update IndexStoreSymbol
Cloned https://github.com/ileitch/swift-indexstore.git
Revision (git rev-parse @):
7fc1b1e59955b070e28bb32c29e8774625bab5a1
SUCCESS checkout https://github.com/ileitch/swift-indexstore.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/ileitch/swift-indexstore.git
https://github.com/ileitch/swift-indexstore.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
}
],
"manifest_display_name" : "SwiftIndexStore",
"name" : "SwiftIndexStore",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SwiftIndexStore",
"targets" : [
"SwiftIndexStore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "index-dump-tool",
"targets" : [
"IndexDumpTool"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "_CIndexStore",
"module_type" : "ClangTarget",
"name" : "_CIndexStore",
"path" : "Sources/_CIndexStore",
"product_memberships" : [
"SwiftIndexStore",
"index-dump-tool"
],
"sources" : [
"dummy.c"
],
"type" : "library"
},
{
"c99name" : "SwiftIndexStoreTests",
"module_type" : "SwiftTarget",
"name" : "SwiftIndexStoreTests",
"path" : "Tests/SwiftIndexStoreTests",
"sources" : [
"IndexSpace.swift",
"SwiftIndexStoreTests.swift",
"Toolchain.swift"
],
"target_dependencies" : [
"SwiftIndexStore"
],
"type" : "test"
},
{
"c99name" : "SwiftIndexStore",
"module_type" : "SwiftTarget",
"name" : "SwiftIndexStore",
"path" : "Sources/SwiftIndexStore",
"product_memberships" : [
"SwiftIndexStore",
"index-dump-tool"
],
"sources" : [
"IndexStoreError.swift",
"IndexStoreOccurrence.swift",
"IndexStoreRelation.swift",
"IndexStoreSymbol.swift",
"IndexStoreUnit.swift",
"LibIndexStore.swift",
"OptionSetDisplayable.swift",
"Process+Extension.swift",
"SwiftIndexStore.swift",
"UnfairLock.swift"
],
"target_dependencies" : [
"_CIndexStore"
],
"type" : "library"
},
{
"c99name" : "IndexDumpTool",
"module_type" : "SwiftTarget",
"name" : "IndexDumpTool",
"path" : "Sources/IndexDumpTool",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"index-dump-tool"
],
"sources" : [
"IndexDumpTool.swift",
"main.swift"
],
"target_dependencies" : [
"SwiftIndexStore"
],
"type" : "executable"
}
],
"tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
[1/15351] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.86s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (1.39s)
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/13] Write sources
[5/13] Compiling _CIndexStore dummy.c
[6/13] Write swift-version-24593BA9C3E375BF.txt
[8/25] Emitting module ArgumentParserToolInfo
[9/25] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/26] Wrapping AST for ArgumentParserToolInfo for debugging
[12/64] Compiling ArgumentParser OptionGroup.swift
[13/64] Compiling ArgumentParser AsyncParsableCommand.swift
[14/64] Compiling ArgumentParser CommandConfiguration.swift
[15/64] Compiling ArgumentParser CommandGroup.swift
[16/64] Compiling ArgumentParser EnumerableFlag.swift
[17/64] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:68:27: warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
68 | public static let generic = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_GENERIC)
| |- warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'generic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static let templatePartialSpecialization = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_TEMPLATE_PARTIAL_SPECIALIZATION)
70 | public static let templateSpecialization = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_TEMPLATE_SPECIALIZATION)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:69:27: warning: static property 'templatePartialSpecialization' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
68 | public static let generic = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_GENERIC)
69 | public static let templatePartialSpecialization = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_TEMPLATE_PARTIAL_SPECIALIZATION)
| |- warning: static property 'templatePartialSpecialization' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'templatePartialSpecialization' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public static let templateSpecialization = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_TEMPLATE_SPECIALIZATION)
71 | public static let unittest = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_UNITTEST)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:70:27: warning: static property 'templateSpecialization' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
68 | public static let generic = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_GENERIC)
69 | public static let templatePartialSpecialization = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_TEMPLATE_PARTIAL_SPECIALIZATION)
70 | public static let templateSpecialization = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_TEMPLATE_SPECIALIZATION)
| |- warning: static property 'templateSpecialization' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'templateSpecialization' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | public static let unittest = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_UNITTEST)
72 | public static let ibAnnotated = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_IBANNOTATED)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:71:27: warning: static property 'unittest' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
:
69 | public static let templatePartialSpecialization = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_TEMPLATE_PARTIAL_SPECIALIZATION)
70 | public static let templateSpecialization = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_TEMPLATE_SPECIALIZATION)
71 | public static let unittest = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_UNITTEST)
| |- warning: static property 'unittest' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unittest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | public static let ibAnnotated = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_IBANNOTATED)
73 | public static let ibOutletCollection = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_IBOUTLETCOLLECTION)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:72:27: warning: static property 'ibAnnotated' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
:
70 | public static let templateSpecialization = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_TEMPLATE_SPECIALIZATION)
71 | public static let unittest = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_UNITTEST)
72 | public static let ibAnnotated = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_IBANNOTATED)
| |- warning: static property 'ibAnnotated' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ibAnnotated' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | public static let ibOutletCollection = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_IBOUTLETCOLLECTION)
74 | public static let gkinspectable = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_GKINSPECTABLE)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:73:27: warning: static property 'ibOutletCollection' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
:
71 | public static let unittest = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_UNITTEST)
72 | public static let ibAnnotated = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_IBANNOTATED)
73 | public static let ibOutletCollection = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_IBOUTLETCOLLECTION)
| |- warning: static property 'ibOutletCollection' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ibOutletCollection' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | public static let gkinspectable = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_GKINSPECTABLE)
75 | public static let local = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_LOCAL)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:74:27: warning: static property 'gkinspectable' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
:
72 | public static let ibAnnotated = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_IBANNOTATED)
73 | public static let ibOutletCollection = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_IBOUTLETCOLLECTION)
74 | public static let gkinspectable = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_GKINSPECTABLE)
| |- warning: static property 'gkinspectable' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gkinspectable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | public static let local = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_LOCAL)
76 | public static let protocolInterface = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_PROTOCOL_INTERFACE)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:75:27: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
:
73 | public static let ibOutletCollection = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_IBOUTLETCOLLECTION)
74 | public static let gkinspectable = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_GKINSPECTABLE)
75 | public static let local = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'local' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | public static let protocolInterface = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_PROTOCOL_INTERFACE)
77 | public static let swiftAsync = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_SWIFT_ASYNC)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:76:27: warning: static property 'protocolInterface' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
:
74 | public static let gkinspectable = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_GKINSPECTABLE)
75 | public static let local = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_LOCAL)
76 | public static let protocolInterface = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_PROTOCOL_INTERFACE)
| |- warning: static property 'protocolInterface' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'protocolInterface' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static let swiftAsync = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_SWIFT_ASYNC)
78 |
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:77:27: warning: static property 'swiftAsync' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
:
75 | public static let local = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_LOCAL)
76 | public static let protocolInterface = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_PROTOCOL_INTERFACE)
77 | public static let swiftAsync = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_SWIFT_ASYNC)
| |- warning: static property 'swiftAsync' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'swiftAsync' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | public init(rawValue: UInt32) {
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:87:20: warning: static property 'debugDescriptors' is not concurrency-safe because non-'Sendable' type '[(option: IndexStoreSymbol.Property, name: String)]' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
:
85 | }
86 |
87 | static let debugDescriptors: [(option: IndexStoreSymbol.Property, name: String)] = [
| |- warning: static property 'debugDescriptors' is not concurrency-safe because non-'Sendable' type '[(option: IndexStoreSymbol.Property, name: String)]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'debugDescriptors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | (.generic, "generic"),
89 | (.templatePartialSpecialization, "templatePartialSpecialization"),
[18/64] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:68:27: warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
68 | public static let generic = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_GENERIC)
| |- warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'generic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static let templatePartialSpecialization = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_TEMPLATE_PARTIAL_SPECIALIZATION)
70 | public static let templateSpecialization = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_TEMPLATE_SPECIALIZATION)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:69:27: warning: static property 'templatePartialSpecialization' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
68 | public static let generic = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_GENERIC)
69 | public static let templatePartialSpecialization = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_TEMPLATE_PARTIAL_SPECIALIZATION)
| |- warning: static property 'templatePartialSpecialization' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'templatePartialSpecialization' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public static let templateSpecialization = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_TEMPLATE_SPECIALIZATION)
71 | public static let unittest = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_UNITTEST)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:70:27: warning: static property 'templateSpecialization' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
68 | public static let generic = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_GENERIC)
69 | public static let templatePartialSpecialization = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_TEMPLATE_PARTIAL_SPECIALIZATION)
70 | public static let templateSpecialization = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_TEMPLATE_SPECIALIZATION)
| |- warning: static property 'templateSpecialization' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'templateSpecialization' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | public static let unittest = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_UNITTEST)
72 | public static let ibAnnotated = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_IBANNOTATED)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:71:27: warning: static property 'unittest' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
:
69 | public static let templatePartialSpecialization = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_TEMPLATE_PARTIAL_SPECIALIZATION)
70 | public static let templateSpecialization = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_TEMPLATE_SPECIALIZATION)
71 | public static let unittest = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_UNITTEST)
| |- warning: static property 'unittest' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unittest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | public static let ibAnnotated = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_IBANNOTATED)
73 | public static let ibOutletCollection = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_IBOUTLETCOLLECTION)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:72:27: warning: static property 'ibAnnotated' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
:
70 | public static let templateSpecialization = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_TEMPLATE_SPECIALIZATION)
71 | public static let unittest = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_UNITTEST)
72 | public static let ibAnnotated = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_IBANNOTATED)
| |- warning: static property 'ibAnnotated' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ibAnnotated' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | public static let ibOutletCollection = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_IBOUTLETCOLLECTION)
74 | public static let gkinspectable = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_GKINSPECTABLE)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:73:27: warning: static property 'ibOutletCollection' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
:
71 | public static let unittest = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_UNITTEST)
72 | public static let ibAnnotated = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_IBANNOTATED)
73 | public static let ibOutletCollection = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_IBOUTLETCOLLECTION)
| |- warning: static property 'ibOutletCollection' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ibOutletCollection' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | public static let gkinspectable = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_GKINSPECTABLE)
75 | public static let local = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_LOCAL)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:74:27: warning: static property 'gkinspectable' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
:
72 | public static let ibAnnotated = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_IBANNOTATED)
73 | public static let ibOutletCollection = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_IBOUTLETCOLLECTION)
74 | public static let gkinspectable = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_GKINSPECTABLE)
| |- warning: static property 'gkinspectable' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gkinspectable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | public static let local = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_LOCAL)
76 | public static let protocolInterface = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_PROTOCOL_INTERFACE)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:75:27: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
:
73 | public static let ibOutletCollection = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_IBOUTLETCOLLECTION)
74 | public static let gkinspectable = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_GKINSPECTABLE)
75 | public static let local = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'local' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | public static let protocolInterface = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_PROTOCOL_INTERFACE)
77 | public static let swiftAsync = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_SWIFT_ASYNC)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:76:27: warning: static property 'protocolInterface' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
:
74 | public static let gkinspectable = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_GKINSPECTABLE)
75 | public static let local = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_LOCAL)
76 | public static let protocolInterface = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_PROTOCOL_INTERFACE)
| |- warning: static property 'protocolInterface' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'protocolInterface' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static let swiftAsync = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_SWIFT_ASYNC)
78 |
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:77:27: warning: static property 'swiftAsync' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
:
75 | public static let local = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_LOCAL)
76 | public static let protocolInterface = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_PROTOCOL_INTERFACE)
77 | public static let swiftAsync = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_SWIFT_ASYNC)
| |- warning: static property 'swiftAsync' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'swiftAsync' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | public init(rawValue: UInt32) {
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:87:20: warning: static property 'debugDescriptors' is not concurrency-safe because non-'Sendable' type '[(option: IndexStoreSymbol.Property, name: String)]' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
:
85 | }
86 |
87 | static let debugDescriptors: [(option: IndexStoreSymbol.Property, name: String)] = [
| |- warning: static property 'debugDescriptors' is not concurrency-safe because non-'Sendable' type '[(option: IndexStoreSymbol.Property, name: String)]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'debugDescriptors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | (.generic, "generic"),
89 | (.templatePartialSpecialization, "templatePartialSpecialization"),
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/70] Emitting module SwiftIndexStore
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:8:27: warning: static property 'declaration' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
7 |
8 | public static let declaration = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DECLARATION)
| |- warning: static property 'declaration' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'declaration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | public static let definition = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DEFINITION)
10 | public static let reference = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REFERENCE)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:9:27: warning: static property 'definition' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
7 |
8 | public static let declaration = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DECLARATION)
9 | public static let definition = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DEFINITION)
| |- warning: static property 'definition' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'definition' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static let reference = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REFERENCE)
11 | public static let read = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_READ)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:10:27: warning: static property 'reference' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
8 | public static let declaration = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DECLARATION)
9 | public static let definition = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DEFINITION)
10 | public static let reference = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REFERENCE)
| |- warning: static property 'reference' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'reference' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static let read = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_READ)
12 | public static let write = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_WRITE)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:11:27: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
9 | public static let definition = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DEFINITION)
10 | public static let reference = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REFERENCE)
11 | public static let read = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_READ)
| |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'read' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | public static let write = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_WRITE)
13 | public static let call = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_CALL)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:12:27: warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
10 | public static let reference = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REFERENCE)
11 | public static let read = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_READ)
12 | public static let write = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_WRITE)
| |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'write' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let call = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_CALL)
14 | public static let `dynamic` = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DYNAMIC)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:13:27: warning: static property 'call' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
11 | public static let read = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_READ)
12 | public static let write = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_WRITE)
13 | public static let call = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_CALL)
| |- warning: static property 'call' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'call' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let `dynamic` = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DYNAMIC)
15 | public static let addressOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_ADDRESSOF)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:14:27: warning: static property 'dynamic' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
12 | public static let write = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_WRITE)
13 | public static let call = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_CALL)
14 | public static let `dynamic` = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DYNAMIC)
| |- warning: static property 'dynamic' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dynamic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let addressOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_ADDRESSOF)
16 | public static let implicit = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_IMPLICIT)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:15:27: warning: static property 'addressOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
13 | public static let call = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_CALL)
14 | public static let `dynamic` = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DYNAMIC)
15 | public static let addressOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_ADDRESSOF)
| |- warning: static property 'addressOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'addressOf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let implicit = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_IMPLICIT)
17 |
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:16:27: warning: static property 'implicit' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
14 | public static let `dynamic` = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DYNAMIC)
15 | public static let addressOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_ADDRESSOF)
16 | public static let implicit = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_IMPLICIT)
| |- warning: static property 'implicit' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'implicit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | public static let childOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CHILDOF)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:18:27: warning: static property 'childOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
16 | public static let implicit = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_IMPLICIT)
17 |
18 | public static let childOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CHILDOF)
| |- warning: static property 'childOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'childOf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let baseOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_BASEOF)
20 | public static let overrideOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_OVERRIDEOF)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:19:27: warning: static property 'baseOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
17 |
18 | public static let childOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CHILDOF)
19 | public static let baseOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_BASEOF)
| |- warning: static property 'baseOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'baseOf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let overrideOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_OVERRIDEOF)
21 | public static let receivedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_RECEIVEDBY)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:20:27: warning: static property 'overrideOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
18 | public static let childOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CHILDOF)
19 | public static let baseOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_BASEOF)
20 | public static let overrideOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_OVERRIDEOF)
| |- warning: static property 'overrideOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'overrideOf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let receivedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_RECEIVEDBY)
22 | public static let calledBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CALLEDBY)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:21:27: warning: static property 'receivedBy' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
19 | public static let baseOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_BASEOF)
20 | public static let overrideOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_OVERRIDEOF)
21 | public static let receivedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_RECEIVEDBY)
| |- warning: static property 'receivedBy' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'receivedBy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let calledBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CALLEDBY)
23 | public static let extendedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_EXTENDEDBY)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:22:27: warning: static property 'calledBy' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
20 | public static let overrideOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_OVERRIDEOF)
21 | public static let receivedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_RECEIVEDBY)
22 | public static let calledBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CALLEDBY)
| |- warning: static property 'calledBy' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'calledBy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let extendedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_EXTENDEDBY)
24 | public static let accessorOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_ACCESSOROF)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:23:27: warning: static property 'extendedBy' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
21 | public static let receivedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_RECEIVEDBY)
22 | public static let calledBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CALLEDBY)
23 | public static let extendedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_EXTENDEDBY)
| |- warning: static property 'extendedBy' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'extendedBy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let accessorOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_ACCESSOROF)
25 | public static let containedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CONTAINEDBY)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:24:27: warning: static property 'accessorOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
22 | public static let calledBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CALLEDBY)
23 | public static let extendedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_EXTENDEDBY)
24 | public static let accessorOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_ACCESSOROF)
| |- warning: static property 'accessorOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessorOf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let containedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CONTAINEDBY)
26 | public static let ibTypeOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_IBTYPEOF)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:25:27: warning: static property 'containedBy' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
23 | public static let extendedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_EXTENDEDBY)
24 | public static let accessorOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_ACCESSOROF)
25 | public static let containedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CONTAINEDBY)
| |- warning: static property 'containedBy' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'containedBy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let ibTypeOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_IBTYPEOF)
27 | public static let specializationOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_SPECIALIZATIONOF)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:26:27: warning: static property 'ibTypeOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
24 | public static let accessorOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_ACCESSOROF)
25 | public static let containedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CONTAINEDBY)
26 | public static let ibTypeOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_IBTYPEOF)
| |- warning: static property 'ibTypeOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ibTypeOf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let specializationOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_SPECIALIZATIONOF)
28 |
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:27:27: warning: static property 'specializationOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
25 | public static let containedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CONTAINEDBY)
26 | public static let ibTypeOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_IBTYPEOF)
27 | public static let specializationOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_SPECIALIZATIONOF)
| |- warning: static property 'specializationOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'specializationOf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public static let canonical = Role(rawValue: 1 << 63)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:29:27: warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
27 | public static let specializationOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_SPECIALIZATIONOF)
28 |
29 | public static let canonical = Role(rawValue: 1 << 63)
| |- warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'canonical' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | public static let all = Role(rawValue: ~0)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:31:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
29 | public static let canonical = Role(rawValue: 1 << 63)
30 |
31 | public static let all = Role(rawValue: ~0)
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | public init(rawValue: UInt64) {
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:41:20: warning: static property 'debugDescriptors' is not concurrency-safe because non-'Sendable' type '[(option: IndexStoreOccurrence.Role, name: String)]' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
39 | }
40 |
41 | static let debugDescriptors: [(option: Role, name: String)] = [
| |- warning: static property 'debugDescriptors' is not concurrency-safe because non-'Sendable' type '[(option: IndexStoreOccurrence.Role, name: String)]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'debugDescriptors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | (.declaration, "declaration"),
43 | (.definition, "definition"),
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:68:27: warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
68 | public static let generic = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_GENERIC)
| |- warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'generic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static let templatePartialSpecialization = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_TEMPLATE_PARTIAL_SPECIALIZATION)
70 | public static let templateSpecialization = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_TEMPLATE_SPECIALIZATION)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:69:27: warning: static property 'templatePartialSpecialization' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
68 | public static let generic = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_GENERIC)
69 | public static let templatePartialSpecialization = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_TEMPLATE_PARTIAL_SPECIALIZATION)
| |- warning: static property 'templatePartialSpecialization' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'templatePartialSpecialization' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public static let templateSpecialization = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_TEMPLATE_SPECIALIZATION)
71 | public static let unittest = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_UNITTEST)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:70:27: warning: static property 'templateSpecialization' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
68 | public static let generic = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_GENERIC)
69 | public static let templatePartialSpecialization = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_TEMPLATE_PARTIAL_SPECIALIZATION)
70 | public static let templateSpecialization = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_TEMPLATE_SPECIALIZATION)
| |- warning: static property 'templateSpecialization' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'templateSpecialization' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | public static let unittest = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_UNITTEST)
72 | public static let ibAnnotated = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_IBANNOTATED)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:71:27: warning: static property 'unittest' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
:
69 | public static let templatePartialSpecialization = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_TEMPLATE_PARTIAL_SPECIALIZATION)
70 | public static let templateSpecialization = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_TEMPLATE_SPECIALIZATION)
71 | public static let unittest = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_UNITTEST)
| |- warning: static property 'unittest' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unittest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | public static let ibAnnotated = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_IBANNOTATED)
73 | public static let ibOutletCollection = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_IBOUTLETCOLLECTION)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:72:27: warning: static property 'ibAnnotated' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
:
70 | public static let templateSpecialization = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_TEMPLATE_SPECIALIZATION)
71 | public static let unittest = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_UNITTEST)
72 | public static let ibAnnotated = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_IBANNOTATED)
| |- warning: static property 'ibAnnotated' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ibAnnotated' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | public static let ibOutletCollection = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_IBOUTLETCOLLECTION)
74 | public static let gkinspectable = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_GKINSPECTABLE)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:73:27: warning: static property 'ibOutletCollection' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
:
71 | public static let unittest = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_UNITTEST)
72 | public static let ibAnnotated = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_IBANNOTATED)
73 | public static let ibOutletCollection = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_IBOUTLETCOLLECTION)
| |- warning: static property 'ibOutletCollection' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ibOutletCollection' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | public static let gkinspectable = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_GKINSPECTABLE)
75 | public static let local = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_LOCAL)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:74:27: warning: static property 'gkinspectable' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
:
72 | public static let ibAnnotated = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_IBANNOTATED)
73 | public static let ibOutletCollection = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_IBOUTLETCOLLECTION)
74 | public static let gkinspectable = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_GKINSPECTABLE)
| |- warning: static property 'gkinspectable' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gkinspectable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | public static let local = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_LOCAL)
76 | public static let protocolInterface = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_PROTOCOL_INTERFACE)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:75:27: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
:
73 | public static let ibOutletCollection = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_IBOUTLETCOLLECTION)
74 | public static let gkinspectable = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_GKINSPECTABLE)
75 | public static let local = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'local' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | public static let protocolInterface = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_PROTOCOL_INTERFACE)
77 | public static let swiftAsync = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_SWIFT_ASYNC)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:76:27: warning: static property 'protocolInterface' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
:
74 | public static let gkinspectable = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_GKINSPECTABLE)
75 | public static let local = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_LOCAL)
76 | public static let protocolInterface = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_PROTOCOL_INTERFACE)
| |- warning: static property 'protocolInterface' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'protocolInterface' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static let swiftAsync = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_SWIFT_ASYNC)
78 |
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:77:27: warning: static property 'swiftAsync' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
:
75 | public static let local = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_LOCAL)
76 | public static let protocolInterface = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_PROTOCOL_INTERFACE)
77 | public static let swiftAsync = Property(rawValue: INDEXSTORE_SYMBOL_PROPERTY_SWIFT_ASYNC)
| |- warning: static property 'swiftAsync' is not concurrency-safe because non-'Sendable' type 'IndexStoreSymbol.Property' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'swiftAsync' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | public init(rawValue: UInt32) {
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreSymbol.swift:87:20: warning: static property 'debugDescriptors' is not concurrency-safe because non-'Sendable' type '[(option: IndexStoreSymbol.Property, name: String)]' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct Property: OptionSet, Hashable, OptionSetDisplayable, CustomStringConvertible {
| `- note: consider making struct 'Property' conform to the 'Sendable' protocol
66 | public let rawValue: UInt32
67 |
:
85 | }
86 |
87 | static let debugDescriptors: [(option: IndexStoreSymbol.Property, name: String)] = [
| |- warning: static property 'debugDescriptors' is not concurrency-safe because non-'Sendable' type '[(option: IndexStoreSymbol.Property, name: String)]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'debugDescriptors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | (.generic, "generic"),
89 | (.templatePartialSpecialization, "templatePartialSpecialization"),
/host/spi-builder-workspace/Sources/SwiftIndexStore/LibIndexStore.swift:24:21: error: cannot find 'RTLD_LAZY' in scope
22 | typealias Dylib = UnsafeMutableRawPointer
23 |
24 | var flags = RTLD_LAZY | RTLD_LOCAL
| `- error: cannot find 'RTLD_LAZY' in scope
25 |
26 | #if os(macOS)
/host/spi-builder-workspace/Sources/SwiftIndexStore/LibIndexStore.swift:24:33: error: cannot find 'RTLD_LOCAL' in scope
22 | typealias Dylib = UnsafeMutableRawPointer
23 |
24 | var flags = RTLD_LAZY | RTLD_LOCAL
| `- error: cannot find 'RTLD_LOCAL' in scope
25 |
26 | #if os(macOS)
/host/spi-builder-workspace/Sources/SwiftIndexStore/LibIndexStore.swift:30:21: error: cannot find 'dlopen' in scope
28 | #endif
29 |
30 | let dylib = dlopen(url.path, flags)!
| `- error: cannot find 'dlopen' in scope
31 | var api = indexstore_functions_t()
32 | func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
/host/spi-builder-workspace/Sources/SwiftIndexStore/Process+Extension.swift:3:11: error: cannot find type 'Process' in scope
1 | import Foundation
2 |
3 | extension Process {
| `- error: cannot find type 'Process' in scope
4 | enum ProcessError: Error {
5 | case nonZeroExit(
[20/70] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:8:27: warning: static property 'declaration' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
7 |
8 | public static let declaration = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DECLARATION)
| |- warning: static property 'declaration' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'declaration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | public static let definition = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DEFINITION)
10 | public static let reference = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REFERENCE)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:9:27: warning: static property 'definition' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
7 |
8 | public static let declaration = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DECLARATION)
9 | public static let definition = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DEFINITION)
| |- warning: static property 'definition' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'definition' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static let reference = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REFERENCE)
11 | public static let read = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_READ)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:10:27: warning: static property 'reference' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
8 | public static let declaration = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DECLARATION)
9 | public static let definition = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DEFINITION)
10 | public static let reference = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REFERENCE)
| |- warning: static property 'reference' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'reference' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static let read = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_READ)
12 | public static let write = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_WRITE)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:11:27: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
9 | public static let definition = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DEFINITION)
10 | public static let reference = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REFERENCE)
11 | public static let read = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_READ)
| |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'read' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | public static let write = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_WRITE)
13 | public static let call = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_CALL)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:12:27: warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
10 | public static let reference = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REFERENCE)
11 | public static let read = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_READ)
12 | public static let write = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_WRITE)
| |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'write' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let call = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_CALL)
14 | public static let `dynamic` = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DYNAMIC)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:13:27: warning: static property 'call' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
11 | public static let read = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_READ)
12 | public static let write = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_WRITE)
13 | public static let call = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_CALL)
| |- warning: static property 'call' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'call' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let `dynamic` = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DYNAMIC)
15 | public static let addressOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_ADDRESSOF)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:14:27: warning: static property 'dynamic' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
12 | public static let write = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_WRITE)
13 | public static let call = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_CALL)
14 | public static let `dynamic` = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DYNAMIC)
| |- warning: static property 'dynamic' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dynamic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let addressOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_ADDRESSOF)
16 | public static let implicit = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_IMPLICIT)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:15:27: warning: static property 'addressOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
13 | public static let call = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_CALL)
14 | public static let `dynamic` = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DYNAMIC)
15 | public static let addressOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_ADDRESSOF)
| |- warning: static property 'addressOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'addressOf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let implicit = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_IMPLICIT)
17 |
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:16:27: warning: static property 'implicit' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
14 | public static let `dynamic` = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DYNAMIC)
15 | public static let addressOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_ADDRESSOF)
16 | public static let implicit = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_IMPLICIT)
| |- warning: static property 'implicit' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'implicit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | public static let childOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CHILDOF)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:18:27: warning: static property 'childOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
16 | public static let implicit = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_IMPLICIT)
17 |
18 | public static let childOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CHILDOF)
| |- warning: static property 'childOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'childOf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let baseOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_BASEOF)
20 | public static let overrideOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_OVERRIDEOF)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:19:27: warning: static property 'baseOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
17 |
18 | public static let childOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CHILDOF)
19 | public static let baseOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_BASEOF)
| |- warning: static property 'baseOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'baseOf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let overrideOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_OVERRIDEOF)
21 | public static let receivedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_RECEIVEDBY)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:20:27: warning: static property 'overrideOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
18 | public static let childOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CHILDOF)
19 | public static let baseOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_BASEOF)
20 | public static let overrideOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_OVERRIDEOF)
| |- warning: static property 'overrideOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'overrideOf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let receivedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_RECEIVEDBY)
22 | public static let calledBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CALLEDBY)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:21:27: warning: static property 'receivedBy' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
19 | public static let baseOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_BASEOF)
20 | public static let overrideOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_OVERRIDEOF)
21 | public static let receivedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_RECEIVEDBY)
| |- warning: static property 'receivedBy' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'receivedBy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let calledBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CALLEDBY)
23 | public static let extendedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_EXTENDEDBY)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:22:27: warning: static property 'calledBy' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
20 | public static let overrideOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_OVERRIDEOF)
21 | public static let receivedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_RECEIVEDBY)
22 | public static let calledBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CALLEDBY)
| |- warning: static property 'calledBy' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'calledBy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let extendedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_EXTENDEDBY)
24 | public static let accessorOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_ACCESSOROF)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:23:27: warning: static property 'extendedBy' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
21 | public static let receivedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_RECEIVEDBY)
22 | public static let calledBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CALLEDBY)
23 | public static let extendedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_EXTENDEDBY)
| |- warning: static property 'extendedBy' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'extendedBy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let accessorOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_ACCESSOROF)
25 | public static let containedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CONTAINEDBY)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:24:27: warning: static property 'accessorOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
22 | public static let calledBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CALLEDBY)
23 | public static let extendedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_EXTENDEDBY)
24 | public static let accessorOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_ACCESSOROF)
| |- warning: static property 'accessorOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessorOf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let containedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CONTAINEDBY)
26 | public static let ibTypeOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_IBTYPEOF)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:25:27: warning: static property 'containedBy' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
23 | public static let extendedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_EXTENDEDBY)
24 | public static let accessorOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_ACCESSOROF)
25 | public static let containedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CONTAINEDBY)
| |- warning: static property 'containedBy' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'containedBy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let ibTypeOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_IBTYPEOF)
27 | public static let specializationOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_SPECIALIZATIONOF)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:26:27: warning: static property 'ibTypeOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
24 | public static let accessorOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_ACCESSOROF)
25 | public static let containedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CONTAINEDBY)
26 | public static let ibTypeOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_IBTYPEOF)
| |- warning: static property 'ibTypeOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ibTypeOf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let specializationOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_SPECIALIZATIONOF)
28 |
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:27:27: warning: static property 'specializationOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
25 | public static let containedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CONTAINEDBY)
26 | public static let ibTypeOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_IBTYPEOF)
27 | public static let specializationOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_SPECIALIZATIONOF)
| |- warning: static property 'specializationOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'specializationOf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public static let canonical = Role(rawValue: 1 << 63)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:29:27: warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
27 | public static let specializationOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_SPECIALIZATIONOF)
28 |
29 | public static let canonical = Role(rawValue: 1 << 63)
| |- warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'canonical' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | public static let all = Role(rawValue: ~0)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:31:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
29 | public static let canonical = Role(rawValue: 1 << 63)
30 |
31 | public static let all = Role(rawValue: ~0)
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | public init(rawValue: UInt64) {
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:41:20: warning: static property 'debugDescriptors' is not concurrency-safe because non-'Sendable' type '[(option: IndexStoreOccurrence.Role, name: String)]' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
39 | }
40 |
41 | static let debugDescriptors: [(option: Role, name: String)] = [
| |- warning: static property 'debugDescriptors' is not concurrency-safe because non-'Sendable' type '[(option: IndexStoreOccurrence.Role, name: String)]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'debugDescriptors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | (.declaration, "declaration"),
43 | (.definition, "definition"),
[21/70] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:8:27: warning: static property 'declaration' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
7 |
8 | public static let declaration = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DECLARATION)
| |- warning: static property 'declaration' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'declaration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | public static let definition = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DEFINITION)
10 | public static let reference = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REFERENCE)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:9:27: warning: static property 'definition' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
7 |
8 | public static let declaration = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DECLARATION)
9 | public static let definition = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DEFINITION)
| |- warning: static property 'definition' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'definition' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static let reference = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REFERENCE)
11 | public static let read = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_READ)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:10:27: warning: static property 'reference' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
8 | public static let declaration = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DECLARATION)
9 | public static let definition = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DEFINITION)
10 | public static let reference = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REFERENCE)
| |- warning: static property 'reference' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'reference' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static let read = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_READ)
12 | public static let write = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_WRITE)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:11:27: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
9 | public static let definition = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DEFINITION)
10 | public static let reference = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REFERENCE)
11 | public static let read = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_READ)
| |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'read' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | public static let write = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_WRITE)
13 | public static let call = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_CALL)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:12:27: warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
10 | public static let reference = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REFERENCE)
11 | public static let read = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_READ)
12 | public static let write = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_WRITE)
| |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'write' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let call = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_CALL)
14 | public static let `dynamic` = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DYNAMIC)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:13:27: warning: static property 'call' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
11 | public static let read = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_READ)
12 | public static let write = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_WRITE)
13 | public static let call = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_CALL)
| |- warning: static property 'call' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'call' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let `dynamic` = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DYNAMIC)
15 | public static let addressOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_ADDRESSOF)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:14:27: warning: static property 'dynamic' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
12 | public static let write = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_WRITE)
13 | public static let call = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_CALL)
14 | public static let `dynamic` = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DYNAMIC)
| |- warning: static property 'dynamic' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dynamic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let addressOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_ADDRESSOF)
16 | public static let implicit = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_IMPLICIT)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:15:27: warning: static property 'addressOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
13 | public static let call = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_CALL)
14 | public static let `dynamic` = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DYNAMIC)
15 | public static let addressOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_ADDRESSOF)
| |- warning: static property 'addressOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'addressOf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let implicit = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_IMPLICIT)
17 |
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:16:27: warning: static property 'implicit' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
14 | public static let `dynamic` = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_DYNAMIC)
15 | public static let addressOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_ADDRESSOF)
16 | public static let implicit = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_IMPLICIT)
| |- warning: static property 'implicit' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'implicit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | public static let childOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CHILDOF)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:18:27: warning: static property 'childOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
16 | public static let implicit = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_IMPLICIT)
17 |
18 | public static let childOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CHILDOF)
| |- warning: static property 'childOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'childOf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let baseOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_BASEOF)
20 | public static let overrideOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_OVERRIDEOF)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:19:27: warning: static property 'baseOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
17 |
18 | public static let childOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CHILDOF)
19 | public static let baseOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_BASEOF)
| |- warning: static property 'baseOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'baseOf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let overrideOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_OVERRIDEOF)
21 | public static let receivedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_RECEIVEDBY)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:20:27: warning: static property 'overrideOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
18 | public static let childOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CHILDOF)
19 | public static let baseOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_BASEOF)
20 | public static let overrideOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_OVERRIDEOF)
| |- warning: static property 'overrideOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'overrideOf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let receivedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_RECEIVEDBY)
22 | public static let calledBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CALLEDBY)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:21:27: warning: static property 'receivedBy' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
19 | public static let baseOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_BASEOF)
20 | public static let overrideOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_OVERRIDEOF)
21 | public static let receivedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_RECEIVEDBY)
| |- warning: static property 'receivedBy' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'receivedBy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let calledBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CALLEDBY)
23 | public static let extendedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_EXTENDEDBY)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:22:27: warning: static property 'calledBy' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
20 | public static let overrideOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_OVERRIDEOF)
21 | public static let receivedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_RECEIVEDBY)
22 | public static let calledBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CALLEDBY)
| |- warning: static property 'calledBy' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'calledBy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let extendedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_EXTENDEDBY)
24 | public static let accessorOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_ACCESSOROF)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:23:27: warning: static property 'extendedBy' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
21 | public static let receivedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_RECEIVEDBY)
22 | public static let calledBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CALLEDBY)
23 | public static let extendedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_EXTENDEDBY)
| |- warning: static property 'extendedBy' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'extendedBy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let accessorOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_ACCESSOROF)
25 | public static let containedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CONTAINEDBY)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:24:27: warning: static property 'accessorOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
22 | public static let calledBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CALLEDBY)
23 | public static let extendedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_EXTENDEDBY)
24 | public static let accessorOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_ACCESSOROF)
| |- warning: static property 'accessorOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessorOf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let containedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CONTAINEDBY)
26 | public static let ibTypeOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_IBTYPEOF)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:25:27: warning: static property 'containedBy' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
23 | public static let extendedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_EXTENDEDBY)
24 | public static let accessorOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_ACCESSOROF)
25 | public static let containedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CONTAINEDBY)
| |- warning: static property 'containedBy' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'containedBy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let ibTypeOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_IBTYPEOF)
27 | public static let specializationOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_SPECIALIZATIONOF)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:26:27: warning: static property 'ibTypeOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
24 | public static let accessorOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_ACCESSOROF)
25 | public static let containedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CONTAINEDBY)
26 | public static let ibTypeOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_IBTYPEOF)
| |- warning: static property 'ibTypeOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ibTypeOf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let specializationOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_SPECIALIZATIONOF)
28 |
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:27:27: warning: static property 'specializationOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
25 | public static let containedBy = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_CONTAINEDBY)
26 | public static let ibTypeOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_IBTYPEOF)
27 | public static let specializationOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_SPECIALIZATIONOF)
| |- warning: static property 'specializationOf' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'specializationOf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public static let canonical = Role(rawValue: 1 << 63)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:29:27: warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
27 | public static let specializationOf = Role(rawValue: INDEXSTORE_SYMBOL_ROLE_REL_SPECIALIZATIONOF)
28 |
29 | public static let canonical = Role(rawValue: 1 << 63)
| |- warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'canonical' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | public static let all = Role(rawValue: ~0)
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:31:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
29 | public static let canonical = Role(rawValue: 1 << 63)
30 |
31 | public static let all = Role(rawValue: ~0)
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'IndexStoreOccurrence.Role' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | public init(rawValue: UInt64) {
/host/spi-builder-workspace/Sources/SwiftIndexStore/IndexStoreOccurrence.swift:41:20: warning: static property 'debugDescriptors' is not concurrency-safe because non-'Sendable' type '[(option: IndexStoreOccurrence.Role, name: String)]' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IndexStoreOccurrence {
4 | public struct Role: OptionSet, Hashable, CustomStringConvertible, OptionSetDisplayable {
| `- note: consider making struct 'Role' conform to the 'Sendable' protocol
5 |
6 | public let rawValue: UInt64
:
39 | }
40 |
41 | static let debugDescriptors: [(option: Role, name: String)] = [
| |- warning: static property 'debugDescriptors' is not concurrency-safe because non-'Sendable' type '[(option: IndexStoreOccurrence.Role, name: String)]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'debugDescriptors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | (.declaration, "declaration"),
43 | (.definition, "definition"),
[22/70] Compiling SwiftIndexStore UnfairLock.swift
[23/70] Compiling SwiftIndexStore LibIndexStore.swift
/host/spi-builder-workspace/Sources/SwiftIndexStore/LibIndexStore.swift:24:21: error: cannot find 'RTLD_LAZY' in scope
22 | typealias Dylib = UnsafeMutableRawPointer
23 |
24 | var flags = RTLD_LAZY | RTLD_LOCAL
| `- error: cannot find 'RTLD_LAZY' in scope
25 |
26 | #if os(macOS)
/host/spi-builder-workspace/Sources/SwiftIndexStore/LibIndexStore.swift:24:33: error: cannot find 'RTLD_LOCAL' in scope
22 | typealias Dylib = UnsafeMutableRawPointer
23 |
24 | var flags = RTLD_LAZY | RTLD_LOCAL
| `- error: cannot find 'RTLD_LOCAL' in scope
25 |
26 | #if os(macOS)
/host/spi-builder-workspace/Sources/SwiftIndexStore/LibIndexStore.swift:30:21: error: cannot find 'dlopen' in scope
28 | #endif
29 |
30 | let dylib = dlopen(url.path, flags)!
| `- error: cannot find 'dlopen' in scope
31 | var api = indexstore_functions_t()
32 | func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
/host/spi-builder-workspace/Sources/SwiftIndexStore/LibIndexStore.swift:33:29: error: cannot find 'dlsym' in scope
31 | var api = indexstore_functions_t()
32 | func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
33 | guard let sym = dlsym(dylib, symbol) else {
| `- error: cannot find 'dlsym' in scope
34 | throw IndexStoreError.missingSymbol(symbol)
35 | }
/host/spi-builder-workspace/Sources/SwiftIndexStore/LibIndexStore.swift:91:32: error: cannot find 'Process' in scope
89 |
90 | public static func linuxSwiftDir() throws -> URL {
91 | let (binPath, _) = try Process.exec(bin: "/usr/bin/which", arguments: ["swift"])
| `- error: cannot find 'Process' in scope
92 | return URL(
93 | fileURLWithPath: binPath
/host/spi-builder-workspace/Sources/SwiftIndexStore/LibIndexStore.swift:100:38: error: cannot find 'Process' in scope
98 |
99 | private static func macOSDeveloperDir() throws -> URL {
100 | var (stdoutContent, _) = try Process.exec(
| `- error: cannot find 'Process' in scope
101 | bin: "/usr/bin/xcode-select",
102 | arguments: ["--print-path"]
[24/70] Compiling SwiftIndexStore IndexStoreUnit.swift
[25/70] Compiling SwiftIndexStore OptionSetDisplayable.swift
[26/70] Compiling SwiftIndexStore Process+Extension.swift
/host/spi-builder-workspace/Sources/SwiftIndexStore/Process+Extension.swift:3:11: error: cannot find type 'Process' in scope
1 | import Foundation
2 |
3 | extension Process {
| `- error: cannot find type 'Process' in scope
4 | enum ProcessError: Error {
5 | case nonZeroExit(
/host/spi-builder-workspace/Sources/SwiftIndexStore/Process+Extension.swift:6:13: error: cannot find type 'TerminationReason' in scope
4 | enum ProcessError: Error {
5 | case nonZeroExit(
6 | TerminationReason, Int32, command: String,
| `- error: cannot find type 'TerminationReason' in scope
7 | stdout: String, stderr: String
8 | )
[27/70] Compiling SwiftIndexStore SwiftIndexStore.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/8] Write swift-version-24593BA9C3E375BF.txt
[3/20] Compiling SwiftIndexStore LibIndexStore.swift
/host/spi-builder-workspace/Sources/SwiftIndexStore/LibIndexStore.swift:24:21: error: cannot find 'RTLD_LAZY' in scope
22 | typealias Dylib = UnsafeMutableRawPointer
23 |
24 | var flags = RTLD_LAZY | RTLD_LOCAL
| `- error: cannot find 'RTLD_LAZY' in scope
25 |
26 | #if os(macOS)
/host/spi-builder-workspace/Sources/SwiftIndexStore/LibIndexStore.swift:24:33: error: cannot find 'RTLD_LOCAL' in scope
22 | typealias Dylib = UnsafeMutableRawPointer
23 |
24 | var flags = RTLD_LAZY | RTLD_LOCAL
| `- error: cannot find 'RTLD_LOCAL' in scope
25 |
26 | #if os(macOS)
/host/spi-builder-workspace/Sources/SwiftIndexStore/LibIndexStore.swift:30:21: error: cannot find 'dlopen' in scope
28 | #endif
29 |
30 | let dylib = dlopen(url.path, flags)!
| `- error: cannot find 'dlopen' in scope
31 | var api = indexstore_functions_t()
32 | func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
/host/spi-builder-workspace/Sources/SwiftIndexStore/LibIndexStore.swift:33:29: error: cannot find 'dlsym' in scope
31 | var api = indexstore_functions_t()
32 | func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
33 | guard let sym = dlsym(dylib, symbol) else {
| `- error: cannot find 'dlsym' in scope
34 | throw IndexStoreError.missingSymbol(symbol)
35 | }
/host/spi-builder-workspace/Sources/SwiftIndexStore/LibIndexStore.swift:91:32: error: cannot find 'Process' in scope
89 |
90 | public static func linuxSwiftDir() throws -> URL {
91 | let (binPath, _) = try Process.exec(bin: "/usr/bin/which", arguments: ["swift"])
| `- error: cannot find 'Process' in scope
92 | return URL(
93 | fileURLWithPath: binPath
/host/spi-builder-workspace/Sources/SwiftIndexStore/LibIndexStore.swift:100:38: error: cannot find 'Process' in scope
98 |
99 | private static func macOSDeveloperDir() throws -> URL {
100 | var (stdoutContent, _) = try Process.exec(
| `- error: cannot find 'Process' in scope
101 | bin: "/usr/bin/xcode-select",
102 | arguments: ["--print-path"]
[4/21] Compiling SwiftIndexStore IndexStoreRelation.swift
[5/21] Compiling SwiftIndexStore IndexStoreSymbol.swift
[6/21] Compiling SwiftIndexStore IndexStoreUnit.swift
[7/21] Compiling SwiftIndexStore UnfairLock.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/21] Compiling SwiftIndexStore IndexStoreError.swift
[9/21] Compiling SwiftIndexStore IndexStoreOccurrence.swift
[10/21] Emitting module SwiftIndexStore
/host/spi-builder-workspace/Sources/SwiftIndexStore/LibIndexStore.swift:24:21: error: cannot find 'RTLD_LAZY' in scope
22 | typealias Dylib = UnsafeMutableRawPointer
23 |
24 | var flags = RTLD_LAZY | RTLD_LOCAL
| `- error: cannot find 'RTLD_LAZY' in scope
25 |
26 | #if os(macOS)
/host/spi-builder-workspace/Sources/SwiftIndexStore/LibIndexStore.swift:24:33: error: cannot find 'RTLD_LOCAL' in scope
22 | typealias Dylib = UnsafeMutableRawPointer
23 |
24 | var flags = RTLD_LAZY | RTLD_LOCAL
| `- error: cannot find 'RTLD_LOCAL' in scope
25 |
26 | #if os(macOS)
/host/spi-builder-workspace/Sources/SwiftIndexStore/LibIndexStore.swift:30:21: error: cannot find 'dlopen' in scope
28 | #endif
29 |
30 | let dylib = dlopen(url.path, flags)!
| `- error: cannot find 'dlopen' in scope
31 | var api = indexstore_functions_t()
32 | func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
/host/spi-builder-workspace/Sources/SwiftIndexStore/Process+Extension.swift:3:11: error: cannot find type 'Process' in scope
1 | import Foundation
2 |
3 | extension Process {
| `- error: cannot find type 'Process' in scope
4 | enum ProcessError: Error {
5 | case nonZeroExit(
[11/21] Compiling SwiftIndexStore Process+Extension.swift
/host/spi-builder-workspace/Sources/SwiftIndexStore/Process+Extension.swift:3:11: error: cannot find type 'Process' in scope
1 | import Foundation
2 |
3 | extension Process {
| `- error: cannot find type 'Process' in scope
4 | enum ProcessError: Error {
5 | case nonZeroExit(
/host/spi-builder-workspace/Sources/SwiftIndexStore/Process+Extension.swift:6:13: error: cannot find type 'TerminationReason' in scope
4 | enum ProcessError: Error {
5 | case nonZeroExit(
6 | TerminationReason, Int32, command: String,
| `- error: cannot find type 'TerminationReason' in scope
7 | stdout: String, stderr: String
8 | )
[12/21] Compiling SwiftIndexStore OptionSetDisplayable.swift
[13/21] Compiling SwiftIndexStore SwiftIndexStore.swift
BUILD FAILURE 6.1 wasm