Build Information
Successful build of Echo, reference 0.0.1 (8a536c
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 04:02:35 UTC.
Swift 6 data race errors: 1
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
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ole/Echo.git
Reference: 0.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ole/Echo
* tag 0.0.1 -> FETCH_HEAD
HEAD is now at 8a536c3 Fix travis build #3
Cloned https://github.com/ole/Echo.git
Revision (git rev-parse @):
8a536c35b154ba090aa490029e8ee9e77dd9ea99
SUCCESS checkout https://github.com/ole/Echo.git at 0.0.1
========================================
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/ole/Echo.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Echo",
"dependencies": [
]
}
]
}
Fetching https://github.com/ole/Echo.git
[1/870] Fetching echo
Fetched https://github.com/ole/Echo.git from cache (0.88s)
Creating working copy for https://github.com/ole/Echo.git
Working copy of https://github.com/ole/Echo.git resolved at 0.0.1 (8a536c3)
warning: '.resolve-product-dependencies': dependency 'echo' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/ole/Echo.git
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
Building for debugging...
[0/6] Write sources
[3/6] Compiling CEcho Functions.c
[4/6] Write swift-version--7754E27361AE5C74.txt
[5/6] Compiling CEcho KnownMetadata.c
[7/47] Emitting module Echo
/Users/admin/builder/spi-builder-workspace/Sources/Echo/Utils/Misc.swift:75:5: warning: var 'mangledNameCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | }
74 |
75 | var mangledNameCache = [UnsafeRawPointer: [String: Any.Type?]]()
| |- warning: var 'mangledNameCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mangledNameCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mangledNameCache' 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 | // https://github.com/apple/swift/blob/master/stdlib/public/core/KeyPath.swift
[8/51] Compiling Echo AnonymousDescriptor.swift
[9/51] Compiling Echo ClassDescriptor.swift
[10/51] Compiling Echo ContextDescriptor.swift
[11/51] Compiling Echo ContextDescriptorValues.swift
[12/51] Compiling Echo EnumDescriptor.swift
[13/51] Compiling Echo StructDescriptor.swift
[14/51] Compiling Echo TypeContextDescriptor.swift
[15/51] Compiling Echo Echo.swift
[16/51] Compiling Echo ClassMetadata.swift
[17/51] Compiling Echo EnumMetadata.swift
[18/51] Compiling Echo KnownMetadata.swift
/Users/admin/builder/spi-builder-workspace/Sources/Echo/Utils/Misc.swift:75:5: warning: var 'mangledNameCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | }
74 |
75 | var mangledNameCache = [UnsafeRawPointer: [String: Any.Type?]]()
| |- warning: var 'mangledNameCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mangledNameCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mangledNameCache' 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 | // https://github.com/apple/swift/blob/master/stdlib/public/core/KeyPath.swift
[19/51] Compiling Echo FieldType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Echo/Utils/Misc.swift:75:5: warning: var 'mangledNameCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | }
74 |
75 | var mangledNameCache = [UnsafeRawPointer: [String: Any.Type?]]()
| |- warning: var 'mangledNameCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mangledNameCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mangledNameCache' 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 | // https://github.com/apple/swift/blob/master/stdlib/public/core/KeyPath.swift
[20/51] Compiling Echo Misc.swift
/Users/admin/builder/spi-builder-workspace/Sources/Echo/Utils/Misc.swift:75:5: warning: var 'mangledNameCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | }
74 |
75 | var mangledNameCache = [UnsafeRawPointer: [String: Any.Type?]]()
| |- warning: var 'mangledNameCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mangledNameCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mangledNameCache' 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 | // https://github.com/apple/swift/blob/master/stdlib/public/core/KeyPath.swift
[21/51] Compiling Echo RelativeDirectPointer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Echo/Utils/Misc.swift:75:5: warning: var 'mangledNameCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | }
74 |
75 | var mangledNameCache = [UnsafeRawPointer: [String: Any.Type?]]()
| |- warning: var 'mangledNameCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mangledNameCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mangledNameCache' 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 | // https://github.com/apple/swift/blob/master/stdlib/public/core/KeyPath.swift
[22/51] Compiling Echo EnumValueWitnessTable.swift
[23/51] Compiling Echo ExistentialMetadata.swift
[24/51] Compiling Echo ExistentialMetatypeMetadata.swift
[25/51] Compiling Echo ForeignClassMetadata.swift
[26/51] Compiling Echo FunctionMetadata.swift
[27/51] Compiling Echo OpaqueMetadata.swift
/Users/admin/builder/spi-builder-workspace/Sources/Echo/Utils/Misc.swift:75:5: warning: var 'mangledNameCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | }
74 |
75 | var mangledNameCache = [UnsafeRawPointer: [String: Any.Type?]]()
| |- warning: var 'mangledNameCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mangledNameCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mangledNameCache' 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 | // https://github.com/apple/swift/blob/master/stdlib/public/core/KeyPath.swift
[28/51] Compiling Echo StructMetadata.swift
/Users/admin/builder/spi-builder-workspace/Sources/Echo/Utils/Misc.swift:75:5: warning: var 'mangledNameCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | }
74 |
75 | var mangledNameCache = [UnsafeRawPointer: [String: Any.Type?]]()
| |- warning: var 'mangledNameCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mangledNameCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mangledNameCache' 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 | // https://github.com/apple/swift/blob/master/stdlib/public/core/KeyPath.swift
[29/51] Compiling Echo TupleMetadata.swift
/Users/admin/builder/spi-builder-workspace/Sources/Echo/Utils/Misc.swift:75:5: warning: var 'mangledNameCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | }
74 |
75 | var mangledNameCache = [UnsafeRawPointer: [String: Any.Type?]]()
| |- warning: var 'mangledNameCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mangledNameCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mangledNameCache' 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 | // https://github.com/apple/swift/blob/master/stdlib/public/core/KeyPath.swift
[30/51] Compiling Echo TypeMetadata.swift
/Users/admin/builder/spi-builder-workspace/Sources/Echo/Utils/Misc.swift:75:5: warning: var 'mangledNameCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | }
74 |
75 | var mangledNameCache = [UnsafeRawPointer: [String: Any.Type?]]()
| |- warning: var 'mangledNameCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mangledNameCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mangledNameCache' 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 | // https://github.com/apple/swift/blob/master/stdlib/public/core/KeyPath.swift
[31/51] Compiling Echo ExtensionDescriptor.swift
[32/51] Compiling Echo FieldDescriptor.swift
[33/51] Compiling Echo GenericContext.swift
[34/51] Compiling Echo ModuleDescriptor.swift
[35/51] Compiling Echo ProtocolDescriptor.swift
[36/51] Compiling Echo ValueWitnessTable.swift
[37/51] Compiling Echo ExistentialContainer.swift
[38/51] Compiling Echo Functions.swift
[39/51] Compiling Echo HeapObject.swift
[40/51] Compiling Echo HeapGenericLocalVariableMetadata.swift
[41/51] Compiling Echo HeapLocalVariableMetadata.swift
[42/51] Compiling Echo Metadata.swift
[43/51] Compiling Echo MetadataAccessFunction.swift
[44/51] Compiling Echo MetadataRequest.swift
[45/51] Compiling Echo MetadataValues.swift
[46/51] Compiling Echo MetatypeMetadata.swift
[47/51] Compiling Echo ObjCClassWrapperMetadata.swift
[48/51] Compiling Echo RelativeIndirectPointer.swift
[49/51] Compiling Echo RelativeIndirectablePointer.swift
[50/51] Compiling Echo RelativeIndirectablePointerIntPair.swift
[51/51] Compiling Echo RelativePointer.swift
[52/56] Compiling EchoMirror Mirror.swift
[53/56] Emitting module EchoStoredProperties
[54/56] Compiling EchoStoredProperties StoredProperties.swift
[55/56] Emitting module EchoMirror
[56/56] Compiling EchoMirror ReflectionMirror.swift
Build complete! (9.62s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Echo",
"name" : "Echo",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Echo",
"targets" : [
"Echo",
"EchoMirror",
"EchoStoredProperties"
],
"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",
"EchoTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Echo"
],
"type" : "test"
},
{
"c99name" : "EchoStoredProperties",
"module_type" : "SwiftTarget",
"name" : "EchoStoredProperties",
"path" : "Sources/EchoStoredProperties",
"product_memberships" : [
"Echo"
],
"sources" : [
"StoredProperties.swift"
],
"target_dependencies" : [
"Echo"
],
"type" : "library"
},
{
"c99name" : "EchoMirror",
"module_type" : "SwiftTarget",
"name" : "EchoMirror",
"path" : "Sources/EchoMirror",
"product_memberships" : [
"Echo"
],
"sources" : [
"Mirror.swift",
"ReflectionMirror.swift"
],
"target_dependencies" : [
"Echo"
],
"type" : "library"
},
{
"c99name" : "Echo",
"module_type" : "SwiftTarget",
"name" : "Echo",
"path" : "Sources/Echo",
"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/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/ExistentialContainer.swift",
"Runtime/Functions.swift",
"Runtime/HeapObject.swift",
"Runtime/KnownMetadata.swift",
"Utils/FieldType.swift",
"Utils/Misc.swift",
"Utils/RelativeDirectPointer.swift",
"Utils/RelativeIndirectPointer.swift",
"Utils/RelativeIndirectablePointer.swift",
"Utils/RelativeIndirectablePointerIntPair.swift",
"Utils/RelativePointer.swift"
],
"target_dependencies" : [
"CEcho"
],
"type" : "library"
},
{
"c99name" : "CEcho",
"module_type" : "ClangTarget",
"name" : "CEcho",
"path" : "Sources/CEcho",
"product_memberships" : [
"Echo"
],
"sources" : [
"Functions.c",
"KnownMetadata.c"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.