Build Information
Successful build of Echo, reference 0.0.1 (8a536c
), with Swift 6.0 for Linux on 4 Nov 2024 03:57:37 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ole/Echo.git
Reference: 0.0.1
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/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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/ole/Echo.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/6] Write sources
[3/6] Compiling CEcho KnownMetadata.c
[4/6] Compiling CEcho Functions.c
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/46] Emitting module Echo
/host/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 RelativeDirectPointer.swift
[9/51] Compiling Echo RelativeIndirectPointer.swift
[10/51] Compiling Echo RelativeIndirectablePointer.swift
[11/51] Compiling Echo RelativeIndirectablePointerIntPair.swift
[12/51] Compiling Echo RelativePointer.swift
[13/51] Compiling Echo ForeignClassMetadata.swift
[14/51] Compiling Echo FunctionMetadata.swift
[15/51] Compiling Echo HeapGenericLocalVariableMetadata.swift
[16/51] Compiling Echo HeapLocalVariableMetadata.swift
[17/51] Compiling Echo Metadata.swift
[18/51] Compiling Echo MetadataAccessFunction.swift
[19/51] Compiling Echo MetadataRequest.swift
[20/51] Compiling Echo MetadataValues.swift
[21/51] Compiling Echo MetatypeMetadata.swift
[22/51] Compiling Echo ObjCClassWrapperMetadata.swift
[23/51] Compiling Echo OpaqueMetadata.swift
[24/51] Compiling Echo FieldDescriptor.swift
[25/51] Compiling Echo GenericContext.swift
[26/51] Compiling Echo ModuleDescriptor.swift
[27/51] Compiling Echo ProtocolDescriptor.swift
[28/51] Compiling Echo StructDescriptor.swift
[29/51] Compiling Echo TypeContextDescriptor.swift
[30/51] Compiling Echo Echo.swift
[31/51] Compiling Echo ClassMetadata.swift
[32/51] Compiling Echo EnumMetadata.swift
[33/51] Compiling Echo EnumValueWitnessTable.swift
[34/51] Compiling Echo ExistentialMetadata.swift
[35/51] Compiling Echo ExistentialMetatypeMetadata.swift
[36/51] Compiling Echo StructMetadata.swift
/host/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
[37/51] Compiling Echo TupleMetadata.swift
/host/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
[38/51] Compiling Echo TypeMetadata.swift
/host/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
[39/51] Compiling Echo ValueWitnessTable.swift
/host/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
[40/51] Compiling Echo ExistentialContainer.swift
/host/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
[41/51] Compiling Echo Functions.swift
/host/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
[42/51] Compiling Echo HeapObject.swift
/host/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
[43/51] Compiling Echo KnownMetadata.swift
/host/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
[44/51] Compiling Echo FieldType.swift
/host/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
[45/51] Compiling Echo Misc.swift
/host/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
[46/51] Compiling Echo AnonymousDescriptor.swift
[47/51] Compiling Echo ClassDescriptor.swift
[48/51] Compiling Echo ContextDescriptor.swift
[49/51] Compiling Echo ContextDescriptorValues.swift
[50/51] Compiling Echo EnumDescriptor.swift
[51/51] Compiling Echo ExtensionDescriptor.swift
[53/57] Compiling EchoStoredProperties StoredProperties.swift
[54/57] Emitting module EchoStoredProperties
[56/58] Compiling EchoMirror Mirror.swift
[57/58] Emitting module EchoMirror
[58/58] Compiling EchoMirror ReflectionMirror.swift
Build complete! (10.02s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Echo",
"name" : "Echo",
"path" : "/host/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"
}
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
Done.