Build Information
Failed to build Echo, reference swift5.9 (338244
), with Swift 6.0 for Linux on 30 Nov 2024 11:23:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/p-x9/Echo.git
Reference: swift5.9
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/p-x9/Echo
* branch swift5.9 -> FETCH_HEAD
* [new branch] swift5.9 -> origin/swift5.9
HEAD is now at 3382440 fix linker error on release build
Cloned https://github.com/p-x9/Echo.git
Revision (git rev-parse @):
3382440406686a077a5bb876a19fc87877e4f7d4
SUCCESS checkout https://github.com/p-x9/Echo.git at swift5.9
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/p-x9/Echo.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-atomics.git
[1/1569] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.35s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 0.0.3 (0.48s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 0.0.3
Building for debugging...
[0/10] Write sources
[1/10] Compiling CEcho ValueWitnessTable.c
[2/10] Write sources
[3/10] Compiling CEcho Functions.c
[4/10] Compiling CEcho KnownMetadata.c
[5/10] Compiling CEcho CallAccessor.c
[6/10] Compiling CEcho ImageInspectionELF.c
[7/10] Compiling _AtomicsShims.c
[8/10] Write swift-version-24593BA9C3E375BF.txt
[8/10] Compiling CEcho ImageInspectionMachO.c
[11/22] Compiling Atomics HighLevelTypes.swift
[12/22] Compiling Atomics AtomicOptional.swift
[13/22] Compiling Atomics AtomicRawRepresentable.swift
[14/22] Compiling Atomics AtomicStrongReference.swift
[15/22] Compiling Atomics AtomicValue.swift
[16/22] Compiling Atomics AtomicInteger.swift
[17/22] Compiling Atomics AtomicMemoryOrderings.swift
[18/22] Emitting module Atomics
[19/23] Compiling Atomics AtomicLazyReference.swift
[20/23] Compiling Atomics DoubleWord.swift
[21/23] Compiling Atomics AtomicBool.swift
[22/23] Compiling Atomics IntegerConformances.swift
[23/23] Compiling Atomics PointerConformances.swift
[25/70] Compiling Echo GenericContext.swift
[26/70] Compiling Echo ModuleDescriptor.swift
[27/70] Compiling Echo OpaqueDescriptor.swift
[28/70] Compiling Echo ProtocolDescriptor.swift
[29/70] Compiling Echo StructDescriptor.swift
[30/70] Compiling Echo TypeContextDescriptor.swift
[31/70] Compiling Echo Echo.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[32/76] Emitting module Echo
/host/spi-builder-workspace/Sources/Echo/ContextDescriptor/ClassDescriptor.swift:496:38: error: ambiguous type name 'AtomicRepresentation' in 'Int'
494 |
495 | struct _StoredClassMetadataBounds {
496 | var _immediateMembersOffset: Int.AtomicRepresentation
| `- error: ambiguous type name 'AtomicRepresentation' in 'Int'
497 | var _bounds: MetadataBounds
498 | }
/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/Atomics/autogenerated/IntegerConformances.swift:23:17: note: found candidate with type 'Int.AtomicRepresentation'
21 |
22 | extension Int: AtomicValue {
23 | public struct AtomicRepresentation {
| `- note: found candidate with type 'Int.AtomicRepresentation'
24 | public typealias Value = Int
25 |
Synchronization.Int:4:22: note: found candidate with type 'Int.AtomicRepresentation' (aka '_Atomic64BitStorage')
2 | extension Int : AtomicRepresentable {
3 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
4 | public typealias AtomicRepresentation = _Atomic64BitStorage
| `- note: found candidate with type 'Int.AtomicRepresentation' (aka '_Atomic64BitStorage')
5 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
6 | public static func encodeAtomicRepresentation(_ value: borrowing Int) -> Int.AtomicRepresentation
/host/spi-builder-workspace/Sources/Echo/Metadata/TypeMetadata.swift:164:5: warning: var 'mangledNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
162 |
163 | let mangledNameLock = NSLock()
164 | var mangledNames = [UnsafeRawPointer: Any.Type?]()
| |- warning: var 'mangledNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mangledNames' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mangledNames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:56:5: warning: var '_protocols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | let protocolLock = NSLock()
56 | var _protocols = Set<UnsafeRawPointer>()
| |- warning: var '_protocols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_protocols' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_protocols' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | @_cdecl("registerProtocols")
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:75:5: warning: var 'conformances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | let conformanceLock = NSLock()
75 | var conformances = [UnsafeRawPointer: [ConformanceDescriptor]]()
| |- warning: var 'conformances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'conformances' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'conformances' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | @_cdecl("registerProtocolConformances")
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:137:5: warning: var '_types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
135 |
136 | let typeLock = NSLock()
137 | var _types = Set<UnsafeRawPointer>()
| |- warning: var '_types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_types' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_types' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |
139 | @_cdecl("registerTypeMetadata")
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:199:9: warning: var 'sharedObjects' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
197 |
198 | let sharedObjectLock = NSLock()
199 | var sharedObjects = Set<String>()
| |- warning: var 'sharedObjects' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedObjects' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sharedObjects' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 |
201 | @_cdecl("cacheSharedObject")
[33/76] Compiling Echo RelativeDirectPointer.swift
[34/76] Compiling Echo RelativeIndirectPointer.swift
[35/76] Compiling Echo RelativeIndirectablePointer.swift
[36/76] Compiling Echo RelativeIndirectablePointerIntPair.swift
[37/76] Compiling Echo RelativePointer.swift
[38/76] Compiling Echo SignedPointer.swift
[39/76] Compiling Echo HeapGenericLocalVariableMetadata.swift
[40/76] Compiling Echo HeapLocalVariableMetadata.swift
[41/76] Compiling Echo Metadata.swift
[42/76] Compiling Echo MetadataAccessFunction.swift
[43/76] Compiling Echo MetadataRequest.swift
[44/76] Compiling Echo MetadataValues.swift
[45/76] Compiling Echo AnonymousDescriptor.swift
/host/spi-builder-workspace/Sources/Echo/ContextDescriptor/ClassDescriptor.swift:496:38: error: ambiguous type name 'AtomicRepresentation' in 'Int'
494 |
495 | struct _StoredClassMetadataBounds {
496 | var _immediateMembersOffset: Int.AtomicRepresentation
| `- error: ambiguous type name 'AtomicRepresentation' in 'Int'
497 | var _bounds: MetadataBounds
498 | }
/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/Atomics/autogenerated/IntegerConformances.swift:23:17: note: found candidate with type 'Int.AtomicRepresentation'
21 |
22 | extension Int: AtomicValue {
23 | public struct AtomicRepresentation {
| `- note: found candidate with type 'Int.AtomicRepresentation'
24 | public typealias Value = Int
25 |
Synchronization.Int:4:22: note: found candidate with type 'Int.AtomicRepresentation' (aka '_Atomic64BitStorage')
2 | extension Int : AtomicRepresentable {
3 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
4 | public typealias AtomicRepresentation = _Atomic64BitStorage
| `- note: found candidate with type 'Int.AtomicRepresentation' (aka '_Atomic64BitStorage')
5 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
6 | public static func encodeAtomicRepresentation(_ value: borrowing Int) -> Int.AtomicRepresentation
/host/spi-builder-workspace/Sources/Echo/ContextDescriptor/ClassDescriptor.swift:86:56: error: conflicting arguments to generic parameter 'T' ('Int.AtomicRepresentation' vs. 'Int.AtomicRepresentation')
84 | // just unbind a type from memory without deinitializing it as well (which
85 | // we don't want to do).
86 | let atomicIntPtr = resilientBounds.ptr.mutable.bindMemory(
| `- error: conflicting arguments to generic parameter 'T' ('Int.AtomicRepresentation' vs. 'Int.AtomicRepresentation')
87 | to: Int.AtomicRepresentation.self,
88 | capacity: 1
[46/76] Compiling Echo ClassDescriptor.swift
/host/spi-builder-workspace/Sources/Echo/ContextDescriptor/ClassDescriptor.swift:496:38: error: ambiguous type name 'AtomicRepresentation' in 'Int'
494 |
495 | struct _StoredClassMetadataBounds {
496 | var _immediateMembersOffset: Int.AtomicRepresentation
| `- error: ambiguous type name 'AtomicRepresentation' in 'Int'
497 | var _bounds: MetadataBounds
498 | }
/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/Atomics/autogenerated/IntegerConformances.swift:23:17: note: found candidate with type 'Int.AtomicRepresentation'
21 |
22 | extension Int: AtomicValue {
23 | public struct AtomicRepresentation {
| `- note: found candidate with type 'Int.AtomicRepresentation'
24 | public typealias Value = Int
25 |
Synchronization.Int:4:22: note: found candidate with type 'Int.AtomicRepresentation' (aka '_Atomic64BitStorage')
2 | extension Int : AtomicRepresentable {
3 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
4 | public typealias AtomicRepresentation = _Atomic64BitStorage
| `- note: found candidate with type 'Int.AtomicRepresentation' (aka '_Atomic64BitStorage')
5 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
6 | public static func encodeAtomicRepresentation(_ value: borrowing Int) -> Int.AtomicRepresentation
/host/spi-builder-workspace/Sources/Echo/ContextDescriptor/ClassDescriptor.swift:86:56: error: conflicting arguments to generic parameter 'T' ('Int.AtomicRepresentation' vs. 'Int.AtomicRepresentation')
84 | // just unbind a type from memory without deinitializing it as well (which
85 | // we don't want to do).
86 | let atomicIntPtr = resilientBounds.ptr.mutable.bindMemory(
| `- error: conflicting arguments to generic parameter 'T' ('Int.AtomicRepresentation' vs. 'Int.AtomicRepresentation')
87 | to: Int.AtomicRepresentation.self,
88 | capacity: 1
[47/76] Compiling Echo ContextDescriptor.swift
/host/spi-builder-workspace/Sources/Echo/ContextDescriptor/ClassDescriptor.swift:496:38: error: ambiguous type name 'AtomicRepresentation' in 'Int'
494 |
495 | struct _StoredClassMetadataBounds {
496 | var _immediateMembersOffset: Int.AtomicRepresentation
| `- error: ambiguous type name 'AtomicRepresentation' in 'Int'
497 | var _bounds: MetadataBounds
498 | }
/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/Atomics/autogenerated/IntegerConformances.swift:23:17: note: found candidate with type 'Int.AtomicRepresentation'
21 |
22 | extension Int: AtomicValue {
23 | public struct AtomicRepresentation {
| `- note: found candidate with type 'Int.AtomicRepresentation'
24 | public typealias Value = Int
25 |
Synchronization.Int:4:22: note: found candidate with type 'Int.AtomicRepresentation' (aka '_Atomic64BitStorage')
2 | extension Int : AtomicRepresentable {
3 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
4 | public typealias AtomicRepresentation = _Atomic64BitStorage
| `- note: found candidate with type 'Int.AtomicRepresentation' (aka '_Atomic64BitStorage')
5 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
6 | public static func encodeAtomicRepresentation(_ value: borrowing Int) -> Int.AtomicRepresentation
/host/spi-builder-workspace/Sources/Echo/ContextDescriptor/ClassDescriptor.swift:86:56: error: conflicting arguments to generic parameter 'T' ('Int.AtomicRepresentation' vs. 'Int.AtomicRepresentation')
84 | // just unbind a type from memory without deinitializing it as well (which
85 | // we don't want to do).
86 | let atomicIntPtr = resilientBounds.ptr.mutable.bindMemory(
| `- error: conflicting arguments to generic parameter 'T' ('Int.AtomicRepresentation' vs. 'Int.AtomicRepresentation')
87 | to: Int.AtomicRepresentation.self,
88 | capacity: 1
[48/76] Compiling Echo ContextDescriptorValues.swift
/host/spi-builder-workspace/Sources/Echo/ContextDescriptor/ClassDescriptor.swift:496:38: error: ambiguous type name 'AtomicRepresentation' in 'Int'
494 |
495 | struct _StoredClassMetadataBounds {
496 | var _immediateMembersOffset: Int.AtomicRepresentation
| `- error: ambiguous type name 'AtomicRepresentation' in 'Int'
497 | var _bounds: MetadataBounds
498 | }
/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/Atomics/autogenerated/IntegerConformances.swift:23:17: note: found candidate with type 'Int.AtomicRepresentation'
21 |
22 | extension Int: AtomicValue {
23 | public struct AtomicRepresentation {
| `- note: found candidate with type 'Int.AtomicRepresentation'
24 | public typealias Value = Int
25 |
Synchronization.Int:4:22: note: found candidate with type 'Int.AtomicRepresentation' (aka '_Atomic64BitStorage')
2 | extension Int : AtomicRepresentable {
3 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
4 | public typealias AtomicRepresentation = _Atomic64BitStorage
| `- note: found candidate with type 'Int.AtomicRepresentation' (aka '_Atomic64BitStorage')
5 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
6 | public static func encodeAtomicRepresentation(_ value: borrowing Int) -> Int.AtomicRepresentation
/host/spi-builder-workspace/Sources/Echo/ContextDescriptor/ClassDescriptor.swift:86:56: error: conflicting arguments to generic parameter 'T' ('Int.AtomicRepresentation' vs. 'Int.AtomicRepresentation')
84 | // just unbind a type from memory without deinitializing it as well (which
85 | // we don't want to do).
86 | let atomicIntPtr = resilientBounds.ptr.mutable.bindMemory(
| `- error: conflicting arguments to generic parameter 'T' ('Int.AtomicRepresentation' vs. 'Int.AtomicRepresentation')
87 | to: Int.AtomicRepresentation.self,
88 | capacity: 1
[49/76] Compiling Echo EnumDescriptor.swift
/host/spi-builder-workspace/Sources/Echo/ContextDescriptor/ClassDescriptor.swift:496:38: error: ambiguous type name 'AtomicRepresentation' in 'Int'
494 |
495 | struct _StoredClassMetadataBounds {
496 | var _immediateMembersOffset: Int.AtomicRepresentation
| `- error: ambiguous type name 'AtomicRepresentation' in 'Int'
497 | var _bounds: MetadataBounds
498 | }
/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/Atomics/autogenerated/IntegerConformances.swift:23:17: note: found candidate with type 'Int.AtomicRepresentation'
21 |
22 | extension Int: AtomicValue {
23 | public struct AtomicRepresentation {
| `- note: found candidate with type 'Int.AtomicRepresentation'
24 | public typealias Value = Int
25 |
Synchronization.Int:4:22: note: found candidate with type 'Int.AtomicRepresentation' (aka '_Atomic64BitStorage')
2 | extension Int : AtomicRepresentable {
3 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
4 | public typealias AtomicRepresentation = _Atomic64BitStorage
| `- note: found candidate with type 'Int.AtomicRepresentation' (aka '_Atomic64BitStorage')
5 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
6 | public static func encodeAtomicRepresentation(_ value: borrowing Int) -> Int.AtomicRepresentation
/host/spi-builder-workspace/Sources/Echo/ContextDescriptor/ClassDescriptor.swift:86:56: error: conflicting arguments to generic parameter 'T' ('Int.AtomicRepresentation' vs. 'Int.AtomicRepresentation')
84 | // just unbind a type from memory without deinitializing it as well (which
85 | // we don't want to do).
86 | let atomicIntPtr = resilientBounds.ptr.mutable.bindMemory(
| `- error: conflicting arguments to generic parameter 'T' ('Int.AtomicRepresentation' vs. 'Int.AtomicRepresentation')
87 | to: Int.AtomicRepresentation.self,
88 | capacity: 1
[50/76] Compiling Echo ExtensionDescriptor.swift
/host/spi-builder-workspace/Sources/Echo/ContextDescriptor/ClassDescriptor.swift:496:38: error: ambiguous type name 'AtomicRepresentation' in 'Int'
494 |
495 | struct _StoredClassMetadataBounds {
496 | var _immediateMembersOffset: Int.AtomicRepresentation
| `- error: ambiguous type name 'AtomicRepresentation' in 'Int'
497 | var _bounds: MetadataBounds
498 | }
/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/Atomics/autogenerated/IntegerConformances.swift:23:17: note: found candidate with type 'Int.AtomicRepresentation'
21 |
22 | extension Int: AtomicValue {
23 | public struct AtomicRepresentation {
| `- note: found candidate with type 'Int.AtomicRepresentation'
24 | public typealias Value = Int
25 |
Synchronization.Int:4:22: note: found candidate with type 'Int.AtomicRepresentation' (aka '_Atomic64BitStorage')
2 | extension Int : AtomicRepresentable {
3 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
4 | public typealias AtomicRepresentation = _Atomic64BitStorage
| `- note: found candidate with type 'Int.AtomicRepresentation' (aka '_Atomic64BitStorage')
5 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
6 | public static func encodeAtomicRepresentation(_ value: borrowing Int) -> Int.AtomicRepresentation
/host/spi-builder-workspace/Sources/Echo/ContextDescriptor/ClassDescriptor.swift:86:56: error: conflicting arguments to generic parameter 'T' ('Int.AtomicRepresentation' vs. 'Int.AtomicRepresentation')
84 | // just unbind a type from memory without deinitializing it as well (which
85 | // we don't want to do).
86 | let atomicIntPtr = resilientBounds.ptr.mutable.bindMemory(
| `- error: conflicting arguments to generic parameter 'T' ('Int.AtomicRepresentation' vs. 'Int.AtomicRepresentation')
87 | to: Int.AtomicRepresentation.self,
88 | capacity: 1
[51/76] Compiling Echo FieldDescriptor.swift
/host/spi-builder-workspace/Sources/Echo/ContextDescriptor/ClassDescriptor.swift:496:38: error: ambiguous type name 'AtomicRepresentation' in 'Int'
494 |
495 | struct _StoredClassMetadataBounds {
496 | var _immediateMembersOffset: Int.AtomicRepresentation
| `- error: ambiguous type name 'AtomicRepresentation' in 'Int'
497 | var _bounds: MetadataBounds
498 | }
/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/Atomics/autogenerated/IntegerConformances.swift:23:17: note: found candidate with type 'Int.AtomicRepresentation'
21 |
22 | extension Int: AtomicValue {
23 | public struct AtomicRepresentation {
| `- note: found candidate with type 'Int.AtomicRepresentation'
24 | public typealias Value = Int
25 |
Synchronization.Int:4:22: note: found candidate with type 'Int.AtomicRepresentation' (aka '_Atomic64BitStorage')
2 | extension Int : AtomicRepresentable {
3 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
4 | public typealias AtomicRepresentation = _Atomic64BitStorage
| `- note: found candidate with type 'Int.AtomicRepresentation' (aka '_Atomic64BitStorage')
5 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
6 | public static func encodeAtomicRepresentation(_ value: borrowing Int) -> Int.AtomicRepresentation
/host/spi-builder-workspace/Sources/Echo/ContextDescriptor/ClassDescriptor.swift:86:56: error: conflicting arguments to generic parameter 'T' ('Int.AtomicRepresentation' vs. 'Int.AtomicRepresentation')
84 | // just unbind a type from memory without deinitializing it as well (which
85 | // we don't want to do).
86 | let atomicIntPtr = resilientBounds.ptr.mutable.bindMemory(
| `- error: conflicting arguments to generic parameter 'T' ('Int.AtomicRepresentation' vs. 'Int.AtomicRepresentation')
87 | to: Int.AtomicRepresentation.self,
88 | capacity: 1
[52/76] Compiling Echo MetatypeMetadata.swift
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:75:5: warning: var 'conformances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | let conformanceLock = NSLock()
75 | var conformances = [UnsafeRawPointer: [ConformanceDescriptor]]()
| |- warning: var 'conformances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'conformances' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'conformances' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | @_cdecl("registerProtocolConformances")
/host/spi-builder-workspace/Sources/Echo/Metadata/TypeMetadata.swift:164:5: warning: var 'mangledNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
162 |
163 | let mangledNameLock = NSLock()
164 | var mangledNames = [UnsafeRawPointer: Any.Type?]()
| |- warning: var 'mangledNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mangledNames' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mangledNames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |
[53/76] Compiling Echo ObjCClassWrapperMetadata.swift
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:75:5: warning: var 'conformances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | let conformanceLock = NSLock()
75 | var conformances = [UnsafeRawPointer: [ConformanceDescriptor]]()
| |- warning: var 'conformances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'conformances' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'conformances' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | @_cdecl("registerProtocolConformances")
/host/spi-builder-workspace/Sources/Echo/Metadata/TypeMetadata.swift:164:5: warning: var 'mangledNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
162 |
163 | let mangledNameLock = NSLock()
164 | var mangledNames = [UnsafeRawPointer: Any.Type?]()
| |- warning: var 'mangledNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mangledNames' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mangledNames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |
[54/76] Compiling Echo OpaqueMetadata.swift
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:75:5: warning: var 'conformances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | let conformanceLock = NSLock()
75 | var conformances = [UnsafeRawPointer: [ConformanceDescriptor]]()
| |- warning: var 'conformances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'conformances' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'conformances' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | @_cdecl("registerProtocolConformances")
/host/spi-builder-workspace/Sources/Echo/Metadata/TypeMetadata.swift:164:5: warning: var 'mangledNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
162 |
163 | let mangledNameLock = NSLock()
164 | var mangledNames = [UnsafeRawPointer: Any.Type?]()
| |- warning: var 'mangledNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mangledNames' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mangledNames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |
[55/76] Compiling Echo StructMetadata.swift
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:75:5: warning: var 'conformances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | let conformanceLock = NSLock()
75 | var conformances = [UnsafeRawPointer: [ConformanceDescriptor]]()
| |- warning: var 'conformances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'conformances' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'conformances' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | @_cdecl("registerProtocolConformances")
/host/spi-builder-workspace/Sources/Echo/Metadata/TypeMetadata.swift:164:5: warning: var 'mangledNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
162 |
163 | let mangledNameLock = NSLock()
164 | var mangledNames = [UnsafeRawPointer: Any.Type?]()
| |- warning: var 'mangledNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mangledNames' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mangledNames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |
[56/76] Compiling Echo TupleMetadata.swift
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:75:5: warning: var 'conformances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | let conformanceLock = NSLock()
75 | var conformances = [UnsafeRawPointer: [ConformanceDescriptor]]()
| |- warning: var 'conformances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'conformances' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'conformances' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | @_cdecl("registerProtocolConformances")
/host/spi-builder-workspace/Sources/Echo/Metadata/TypeMetadata.swift:164:5: warning: var 'mangledNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
162 |
163 | let mangledNameLock = NSLock()
164 | var mangledNames = [UnsafeRawPointer: Any.Type?]()
| |- warning: var 'mangledNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mangledNames' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mangledNames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |
[57/76] Compiling Echo TypeMetadata.swift
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:75:5: warning: var 'conformances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | let conformanceLock = NSLock()
75 | var conformances = [UnsafeRawPointer: [ConformanceDescriptor]]()
| |- warning: var 'conformances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'conformances' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'conformances' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | @_cdecl("registerProtocolConformances")
/host/spi-builder-workspace/Sources/Echo/Metadata/TypeMetadata.swift:164:5: warning: var 'mangledNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
162 |
163 | let mangledNameLock = NSLock()
164 | var mangledNames = [UnsafeRawPointer: Any.Type?]()
| |- warning: var 'mangledNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mangledNames' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mangledNames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |
[58/76] Compiling Echo ClassMetadata.swift
[59/76] Compiling Echo EnumMetadata.swift
[60/76] Compiling Echo EnumValueWitnessTable.swift
[61/76] Compiling Echo ExistentialMetadata.swift
[62/76] Compiling Echo ExistentialMetatypeMetadata.swift
[63/76] Compiling Echo ForeignClassMetadata.swift
[64/76] Compiling Echo FunctionMetadata.swift
[65/76] Compiling Echo KeyPaths.swift
[66/76] Compiling Echo KnownMetadata.swift
[67/76] Compiling Echo RuntimeValues.swift
[68/76] Compiling Echo WitnessTable.swift
[69/76] Compiling Echo FieldType.swift
[70/76] Compiling Echo Misc.swift
[71/76] Compiling Echo ValueWitnessTable.swift
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:56:5: warning: var '_protocols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | let protocolLock = NSLock()
56 | var _protocols = Set<UnsafeRawPointer>()
| |- warning: var '_protocols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_protocols' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_protocols' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | @_cdecl("registerProtocols")
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:75:5: warning: var 'conformances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | let conformanceLock = NSLock()
75 | var conformances = [UnsafeRawPointer: [ConformanceDescriptor]]()
| |- warning: var 'conformances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'conformances' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'conformances' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | @_cdecl("registerProtocolConformances")
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:137:5: warning: var '_types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
135 |
136 | let typeLock = NSLock()
137 | var _types = Set<UnsafeRawPointer>()
| |- warning: var '_types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_types' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_types' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |
139 | @_cdecl("registerTypeMetadata")
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:199:9: warning: var 'sharedObjects' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
197 |
198 | let sharedObjectLock = NSLock()
199 | var sharedObjects = Set<String>()
| |- warning: var 'sharedObjects' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedObjects' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sharedObjects' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 |
201 | @_cdecl("cacheSharedObject")
[72/76] Compiling Echo ConformanceDescriptor.swift
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:56:5: warning: var '_protocols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | let protocolLock = NSLock()
56 | var _protocols = Set<UnsafeRawPointer>()
| |- warning: var '_protocols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_protocols' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_protocols' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | @_cdecl("registerProtocols")
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:75:5: warning: var 'conformances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | let conformanceLock = NSLock()
75 | var conformances = [UnsafeRawPointer: [ConformanceDescriptor]]()
| |- warning: var 'conformances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'conformances' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'conformances' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | @_cdecl("registerProtocolConformances")
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:137:5: warning: var '_types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
135 |
136 | let typeLock = NSLock()
137 | var _types = Set<UnsafeRawPointer>()
| |- warning: var '_types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_types' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_types' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |
139 | @_cdecl("registerTypeMetadata")
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:199:9: warning: var 'sharedObjects' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
197 |
198 | let sharedObjectLock = NSLock()
199 | var sharedObjects = Set<String>()
| |- warning: var 'sharedObjects' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedObjects' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sharedObjects' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 |
201 | @_cdecl("cacheSharedObject")
[73/76] Compiling Echo ExistentialContainer.swift
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:56:5: warning: var '_protocols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | let protocolLock = NSLock()
56 | var _protocols = Set<UnsafeRawPointer>()
| |- warning: var '_protocols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_protocols' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_protocols' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | @_cdecl("registerProtocols")
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:75:5: warning: var 'conformances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | let conformanceLock = NSLock()
75 | var conformances = [UnsafeRawPointer: [ConformanceDescriptor]]()
| |- warning: var 'conformances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'conformances' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'conformances' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | @_cdecl("registerProtocolConformances")
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:137:5: warning: var '_types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
135 |
136 | let typeLock = NSLock()
137 | var _types = Set<UnsafeRawPointer>()
| |- warning: var '_types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_types' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_types' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |
139 | @_cdecl("registerTypeMetadata")
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:199:9: warning: var 'sharedObjects' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
197 |
198 | let sharedObjectLock = NSLock()
199 | var sharedObjects = Set<String>()
| |- warning: var 'sharedObjects' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedObjects' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sharedObjects' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 |
201 | @_cdecl("cacheSharedObject")
[74/76] Compiling Echo Functions.swift
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:56:5: warning: var '_protocols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | let protocolLock = NSLock()
56 | var _protocols = Set<UnsafeRawPointer>()
| |- warning: var '_protocols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_protocols' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_protocols' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | @_cdecl("registerProtocols")
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:75:5: warning: var 'conformances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | let conformanceLock = NSLock()
75 | var conformances = [UnsafeRawPointer: [ConformanceDescriptor]]()
| |- warning: var 'conformances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'conformances' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'conformances' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | @_cdecl("registerProtocolConformances")
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:137:5: warning: var '_types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
135 |
136 | let typeLock = NSLock()
137 | var _types = Set<UnsafeRawPointer>()
| |- warning: var '_types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_types' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_types' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |
139 | @_cdecl("registerTypeMetadata")
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:199:9: warning: var 'sharedObjects' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
197 |
198 | let sharedObjectLock = NSLock()
199 | var sharedObjects = Set<String>()
| |- warning: var 'sharedObjects' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedObjects' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sharedObjects' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 |
201 | @_cdecl("cacheSharedObject")
[75/76] Compiling Echo HeapObject.swift
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:56:5: warning: var '_protocols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | let protocolLock = NSLock()
56 | var _protocols = Set<UnsafeRawPointer>()
| |- warning: var '_protocols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_protocols' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_protocols' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | @_cdecl("registerProtocols")
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:75:5: warning: var 'conformances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | let conformanceLock = NSLock()
75 | var conformances = [UnsafeRawPointer: [ConformanceDescriptor]]()
| |- warning: var 'conformances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'conformances' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'conformances' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | @_cdecl("registerProtocolConformances")
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:137:5: warning: var '_types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
135 |
136 | let typeLock = NSLock()
137 | var _types = Set<UnsafeRawPointer>()
| |- warning: var '_types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_types' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_types' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |
139 | @_cdecl("registerTypeMetadata")
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:199:9: warning: var 'sharedObjects' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
197 |
198 | let sharedObjectLock = NSLock()
199 | var sharedObjects = Set<String>()
| |- warning: var 'sharedObjects' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedObjects' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sharedObjects' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 |
201 | @_cdecl("cacheSharedObject")
[76/76] Compiling Echo ImageInspection.swift
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:56:5: warning: var '_protocols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | let protocolLock = NSLock()
56 | var _protocols = Set<UnsafeRawPointer>()
| |- warning: var '_protocols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_protocols' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_protocols' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | @_cdecl("registerProtocols")
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:75:5: warning: var 'conformances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | let conformanceLock = NSLock()
75 | var conformances = [UnsafeRawPointer: [ConformanceDescriptor]]()
| |- warning: var 'conformances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'conformances' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'conformances' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | @_cdecl("registerProtocolConformances")
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:137:5: warning: var '_types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
135 |
136 | let typeLock = NSLock()
137 | var _types = Set<UnsafeRawPointer>()
| |- warning: var '_types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_types' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_types' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |
139 | @_cdecl("registerTypeMetadata")
/host/spi-builder-workspace/Sources/Echo/Runtime/ImageInspection.swift:199:9: warning: var 'sharedObjects' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
197 |
198 | let sharedObjectLock = NSLock()
199 | var sharedObjects = Set<String>()
| |- warning: var 'sharedObjects' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedObjects' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sharedObjects' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 |
201 | @_cdecl("cacheSharedObject")
BUILD FAILURE 6.0 linux