The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Echo, reference swift5.9 (338244), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 11:29:47 UTC.

Swift 6 data race errors: 4

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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

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 /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/apple/swift-atomics.git
[1/1569] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (1.04s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 0.0.3 (0.54s)
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "echo",
      "name": "Echo",
      "url": "https://github.com/p-x9/Echo.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Echo",
      "dependencies": [
        {
          "identity": "swift-atomics",
          "name": "swift-atomics",
          "url": "https://github.com/apple/swift-atomics.git",
          "version": "0.0.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/p-x9/Echo.git
[1/975] Fetching echo
Fetched https://github.com/p-x9/Echo.git from cache (0.84s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.46s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 0.0.3 (0.02s)
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
Creating working copy for https://github.com/p-x9/Echo.git
Working copy of https://github.com/p-x9/Echo.git resolved at swift5.9 (3382440)
warning: '.resolve-product-dependencies': dependency 'echo' is not used by any target
Found 1 product dependencies
  - swift-atomics
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/p-x9/Echo.git
{
  "dependencies" : [
    {
      "identity" : "swift-atomics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-atomics.git"
    }
  ],
  "manifest_display_name" : "Echo",
  "name" : "Echo",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Echo",
      "targets" : [
        "Echo"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "EchoTests",
      "module_type" : "SwiftTarget",
      "name" : "EchoTests",
      "path" : "Tests/EchoTests",
      "sources" : [
        "Context Descriptor/AnonymousDescriptor.swift",
        "Context Descriptor/ClassDescriptor.swift",
        "Context Descriptor/EnumDescriptor.swift",
        "Context Descriptor/ExtensionDescriptor.swift",
        "Context Descriptor/FieldDescriptor.swift",
        "Context Descriptor/GenericContext.swift",
        "Context Descriptor/ModuleDescriptor.swift",
        "Context Descriptor/ProtocolDescriptor.swift",
        "Context Descriptor/StructDescriptor.swift",
        "EchoTests.swift",
        "Metadata/ClassMetadata.swift",
        "Metadata/EnumMetadata.swift",
        "Metadata/ExistentialMetadata.swift",
        "Metadata/ExistentialMetatypeMetadata.swift",
        "Metadata/FunctionMetadata.swift",
        "Metadata/MetadataAccessFunction.swift",
        "Metadata/MetatypeMetadata.swift",
        "Metadata/ObjCClassWrapperMetadata.swift",
        "Metadata/OpaqueMetadata.swift",
        "Metadata/StructMetadata.swift",
        "Metadata/TupleMetadata.swift",
        "Runtime/ConformanceDescriptor.swift",
        "Runtime/ExistentialContainer.swift",
        "Runtime/ImageInspection.swift",
        "Utils/Misc.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Echo"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Echo",
      "module_type" : "SwiftTarget",
      "name" : "Echo",
      "path" : "Sources/Echo",
      "product_dependencies" : [
        "Atomics"
      ],
      "product_memberships" : [
        "Echo"
      ],
      "sources" : [
        "ContextDescriptor/AnonymousDescriptor.swift",
        "ContextDescriptor/ClassDescriptor.swift",
        "ContextDescriptor/ContextDescriptor.swift",
        "ContextDescriptor/ContextDescriptorValues.swift",
        "ContextDescriptor/EnumDescriptor.swift",
        "ContextDescriptor/ExtensionDescriptor.swift",
        "ContextDescriptor/FieldDescriptor.swift",
        "ContextDescriptor/GenericContext.swift",
        "ContextDescriptor/ModuleDescriptor.swift",
        "ContextDescriptor/OpaqueDescriptor.swift",
        "ContextDescriptor/ProtocolDescriptor.swift",
        "ContextDescriptor/StructDescriptor.swift",
        "ContextDescriptor/TypeContextDescriptor.swift",
        "Echo.swift",
        "Metadata/ClassMetadata.swift",
        "Metadata/EnumMetadata.swift",
        "Metadata/EnumValueWitnessTable.swift",
        "Metadata/ExistentialMetadata.swift",
        "Metadata/ExistentialMetatypeMetadata.swift",
        "Metadata/ForeignClassMetadata.swift",
        "Metadata/FunctionMetadata.swift",
        "Metadata/HeapGenericLocalVariableMetadata.swift",
        "Metadata/HeapLocalVariableMetadata.swift",
        "Metadata/Metadata.swift",
        "Metadata/MetadataAccessFunction.swift",
        "Metadata/MetadataRequest.swift",
        "Metadata/MetadataValues.swift",
        "Metadata/MetatypeMetadata.swift",
        "Metadata/ObjCClassWrapperMetadata.swift",
        "Metadata/OpaqueMetadata.swift",
        "Metadata/StructMetadata.swift",
        "Metadata/TupleMetadata.swift",
        "Metadata/TypeMetadata.swift",
        "Metadata/ValueWitnessTable.swift",
        "Runtime/ConformanceDescriptor.swift",
        "Runtime/ExistentialContainer.swift",
        "Runtime/Functions.swift",
        "Runtime/HeapObject.swift",
        "Runtime/ImageInspection.swift",
        "Runtime/KeyPaths.swift",
        "Runtime/KnownMetadata.swift",
        "Runtime/RuntimeValues.swift",
        "Runtime/WitnessTable.swift",
        "Utils/FieldType.swift",
        "Utils/Misc.swift",
        "Utils/RelativeDirectPointer.swift",
        "Utils/RelativeIndirectPointer.swift",
        "Utils/RelativeIndirectablePointer.swift",
        "Utils/RelativeIndirectablePointerIntPair.swift",
        "Utils/RelativePointer.swift",
        "Utils/SignedPointer.swift"
      ],
      "target_dependencies" : [
        "CEcho"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CEcho",
      "module_type" : "ClangTarget",
      "name" : "CEcho",
      "path" : "Sources/CEcho",
      "product_memberships" : [
        "Echo"
      ],
      "sources" : [
        "CallAccessor.c",
        "Functions.c",
        "ImageInspectionELF.c",
        "ImageInspectionMachO.c",
        "KnownMetadata.c",
        "ValueWitnessTable.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/10] Write sources
[2/10] Write swift-version--7754E27361AE5C74.txt
[3/10] Compiling CEcho ValueWitnessTable.c
[3/10] Compiling CEcho ImageInspectionELF.c
[5/10] Compiling CEcho Functions.c
[6/10] Compiling CEcho KnownMetadata.c
[7/10] Compiling CEcho CallAccessor.c
[8/10] Compiling _AtomicsShims.c
[9/22] Compiling CEcho ImageInspectionMachO.c
[11/22] Compiling Atomics AtomicStrongReference.swift
[12/22] Compiling Atomics AtomicInteger.swift
[13/22] Compiling Atomics AtomicMemoryOrderings.swift
[14/23] Emitting module Atomics
[15/23] Compiling Atomics PointerConformances.swift
[16/23] Compiling Atomics AtomicLazyReference.swift
[17/23] Compiling Atomics AtomicBool.swift
[18/23] Compiling Atomics AtomicOptional.swift
[19/23] Compiling Atomics AtomicRawRepresentable.swift
[20/23] Compiling Atomics DoubleWord.swift
[21/23] Compiling Atomics AtomicValue.swift
[22/23] Compiling Atomics IntegerConformances.swift
[23/23] Compiling Atomics HighLevelTypes.swift
[24/70] Compiling Echo MetadataValues.swift
/Users/admin/builder/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")
[25/70] Compiling Echo MetatypeMetadata.swift
/Users/admin/builder/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")
[26/70] Compiling Echo ObjCClassWrapperMetadata.swift
/Users/admin/builder/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")
[27/70] Compiling Echo OpaqueMetadata.swift
/Users/admin/builder/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")
[28/70] Compiling Echo StructMetadata.swift
/Users/admin/builder/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")
[29/75] Compiling Echo RelativeIndirectPointer.swift
[30/75] Compiling Echo RelativeIndirectablePointer.swift
[31/75] Compiling Echo RelativeIndirectablePointerIntPair.swift
[32/75] Compiling Echo RelativePointer.swift
[33/75] Compiling Echo SignedPointer.swift
[34/75] Compiling Echo AnonymousDescriptor.swift
[35/75] Compiling Echo ClassDescriptor.swift
[36/75] Compiling Echo ContextDescriptor.swift
[37/75] Compiling Echo ContextDescriptorValues.swift
[38/75] Compiling Echo EnumDescriptor.swift
[39/75] Compiling Echo ExtensionDescriptor.swift
[40/75] Emitting module Echo
/Users/admin/builder/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 |
/Users/admin/builder/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")
/Users/admin/builder/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")
/Users/admin/builder/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")
[41/75] Compiling Echo FieldDescriptor.swift
[42/75] Compiling Echo GenericContext.swift
[43/75] Compiling Echo ModuleDescriptor.swift
[44/75] Compiling Echo OpaqueDescriptor.swift
[45/75] Compiling Echo ProtocolDescriptor.swift
[46/75] Compiling Echo EnumValueWitnessTable.swift
[47/75] Compiling Echo ExistentialMetadata.swift
[48/75] Compiling Echo ExistentialMetatypeMetadata.swift
[49/75] Compiling Echo ForeignClassMetadata.swift
[50/75] Compiling Echo FunctionMetadata.swift
[51/75] Compiling Echo HeapGenericLocalVariableMetadata.swift
[52/75] Compiling Echo HeapLocalVariableMetadata.swift
[53/75] Compiling Echo Metadata.swift
[54/75] Compiling Echo MetadataAccessFunction.swift
[55/75] Compiling Echo MetadataRequest.swift
[56/75] Compiling Echo Functions.swift
/Users/admin/builder/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")
/Users/admin/builder/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")
/Users/admin/builder/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")
[57/75] Compiling Echo HeapObject.swift
/Users/admin/builder/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")
/Users/admin/builder/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")
/Users/admin/builder/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")
[58/75] Compiling Echo ImageInspection.swift
/Users/admin/builder/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")
/Users/admin/builder/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")
/Users/admin/builder/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")
[59/75] Compiling Echo KeyPaths.swift
/Users/admin/builder/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")
/Users/admin/builder/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")
/Users/admin/builder/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")
[60/75] Compiling Echo KnownMetadata.swift
/Users/admin/builder/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")
/Users/admin/builder/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")
/Users/admin/builder/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")
[61/75] Compiling Echo StructDescriptor.swift
[62/75] Compiling Echo TypeContextDescriptor.swift
[63/75] Compiling Echo Echo.swift
[64/75] Compiling Echo ClassMetadata.swift
[65/75] Compiling Echo EnumMetadata.swift
[66/75] Compiling Echo RuntimeValues.swift
[67/75] Compiling Echo WitnessTable.swift
[68/75] Compiling Echo FieldType.swift
[69/75] Compiling Echo Misc.swift
[70/75] Compiling Echo RelativeDirectPointer.swift
[71/75] Compiling Echo TupleMetadata.swift
/Users/admin/builder/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 |
/Users/admin/builder/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")
[72/75] Compiling Echo TypeMetadata.swift
/Users/admin/builder/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 |
/Users/admin/builder/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")
[73/75] Compiling Echo ValueWitnessTable.swift
/Users/admin/builder/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 |
/Users/admin/builder/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")
[74/75] Compiling Echo ConformanceDescriptor.swift
/Users/admin/builder/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 |
/Users/admin/builder/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")
[75/75] Compiling Echo ExistentialContainer.swift
/Users/admin/builder/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 |
/Users/admin/builder/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")
Build complete! (14.28s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-atomics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-atomics.git"
    }
  ],
  "manifest_display_name" : "Echo",
  "name" : "Echo",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Echo",
      "targets" : [
        "Echo"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "EchoTests",
      "module_type" : "SwiftTarget",
      "name" : "EchoTests",
      "path" : "Tests/EchoTests",
      "sources" : [
        "Context Descriptor/AnonymousDescriptor.swift",
        "Context Descriptor/ClassDescriptor.swift",
        "Context Descriptor/EnumDescriptor.swift",
        "Context Descriptor/ExtensionDescriptor.swift",
        "Context Descriptor/FieldDescriptor.swift",
        "Context Descriptor/GenericContext.swift",
        "Context Descriptor/ModuleDescriptor.swift",
        "Context Descriptor/ProtocolDescriptor.swift",
        "Context Descriptor/StructDescriptor.swift",
        "EchoTests.swift",
        "Metadata/ClassMetadata.swift",
        "Metadata/EnumMetadata.swift",
        "Metadata/ExistentialMetadata.swift",
        "Metadata/ExistentialMetatypeMetadata.swift",
        "Metadata/FunctionMetadata.swift",
        "Metadata/MetadataAccessFunction.swift",
        "Metadata/MetatypeMetadata.swift",
        "Metadata/ObjCClassWrapperMetadata.swift",
        "Metadata/OpaqueMetadata.swift",
        "Metadata/StructMetadata.swift",
        "Metadata/TupleMetadata.swift",
        "Runtime/ConformanceDescriptor.swift",
        "Runtime/ExistentialContainer.swift",
        "Runtime/ImageInspection.swift",
        "Utils/Misc.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Echo"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Echo",
      "module_type" : "SwiftTarget",
      "name" : "Echo",
      "path" : "Sources/Echo",
      "product_dependencies" : [
        "Atomics"
      ],
      "product_memberships" : [
        "Echo"
      ],
      "sources" : [
        "ContextDescriptor/AnonymousDescriptor.swift",
        "ContextDescriptor/ClassDescriptor.swift",
        "ContextDescriptor/ContextDescriptor.swift",
        "ContextDescriptor/ContextDescriptorValues.swift",
        "ContextDescriptor/EnumDescriptor.swift",
        "ContextDescriptor/ExtensionDescriptor.swift",
        "ContextDescriptor/FieldDescriptor.swift",
        "ContextDescriptor/GenericContext.swift",
        "ContextDescriptor/ModuleDescriptor.swift",
        "ContextDescriptor/OpaqueDescriptor.swift",
        "ContextDescriptor/ProtocolDescriptor.swift",
        "ContextDescriptor/StructDescriptor.swift",
        "ContextDescriptor/TypeContextDescriptor.swift",
        "Echo.swift",
        "Metadata/ClassMetadata.swift",
        "Metadata/EnumMetadata.swift",
        "Metadata/EnumValueWitnessTable.swift",
        "Metadata/ExistentialMetadata.swift",
        "Metadata/ExistentialMetatypeMetadata.swift",
        "Metadata/ForeignClassMetadata.swift",
        "Metadata/FunctionMetadata.swift",
        "Metadata/HeapGenericLocalVariableMetadata.swift",
        "Metadata/HeapLocalVariableMetadata.swift",
        "Metadata/Metadata.swift",
        "Metadata/MetadataAccessFunction.swift",
        "Metadata/MetadataRequest.swift",
        "Metadata/MetadataValues.swift",
        "Metadata/MetatypeMetadata.swift",
        "Metadata/ObjCClassWrapperMetadata.swift",
        "Metadata/OpaqueMetadata.swift",
        "Metadata/StructMetadata.swift",
        "Metadata/TupleMetadata.swift",
        "Metadata/TypeMetadata.swift",
        "Metadata/ValueWitnessTable.swift",
        "Runtime/ConformanceDescriptor.swift",
        "Runtime/ExistentialContainer.swift",
        "Runtime/Functions.swift",
        "Runtime/HeapObject.swift",
        "Runtime/ImageInspection.swift",
        "Runtime/KeyPaths.swift",
        "Runtime/KnownMetadata.swift",
        "Runtime/RuntimeValues.swift",
        "Runtime/WitnessTable.swift",
        "Utils/FieldType.swift",
        "Utils/Misc.swift",
        "Utils/RelativeDirectPointer.swift",
        "Utils/RelativeIndirectPointer.swift",
        "Utils/RelativeIndirectablePointer.swift",
        "Utils/RelativeIndirectablePointerIntPair.swift",
        "Utils/RelativePointer.swift",
        "Utils/SignedPointer.swift"
      ],
      "target_dependencies" : [
        "CEcho"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CEcho",
      "module_type" : "ClangTarget",
      "name" : "CEcho",
      "path" : "Sources/CEcho",
      "product_memberships" : [
        "Echo"
      ],
      "sources" : [
        "CallAccessor.c",
        "Functions.c",
        "ImageInspectionELF.c",
        "ImageInspectionMachO.c",
        "KnownMetadata.c",
        "ValueWitnessTable.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.