Build Information
Successful build of NeedleFoundation, reference v0.25.1 (69f7a8
), with Swift 6.0 for Linux on 28 Jan 2025 06:33:03 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 -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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/uber/needle.git
Reference: v0.25.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/uber/needle
* tag v0.25.1 -> FETCH_HEAD
HEAD is now at 69f7a88 Update generator binary and version file for v0.25.1
Cloned https://github.com/uber/needle.git
Revision (git rev-parse @):
69f7a889d2736f2621c6083ac29e0a75d158f249
SUCCESS checkout https://github.com/uber/needle.git at v0.25.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/uber/needle.git
https://github.com/uber/needle.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "NeedleFoundation",
"name" : "NeedleFoundation",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "NeedleFoundation",
"targets" : [
"NeedleFoundation"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "NeedleFoundationTest",
"targets" : [
"NeedleFoundationTest"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "NeedleFoundationTests",
"module_type" : "SwiftTarget",
"name" : "NeedleFoundationTests",
"path" : "Tests/NeedleFoundationTests",
"sources" : [
"ComponentTests.swift",
"DependencyProviderRegistryTests.swift",
"Pluginized/PluginizedComponentTests.swift"
],
"target_dependencies" : [
"NeedleFoundation"
],
"type" : "test"
},
{
"c99name" : "NeedleFoundationTestTests",
"module_type" : "SwiftTarget",
"name" : "NeedleFoundationTestTests",
"path" : "Tests/NeedleFoundationTestTests",
"sources" : [
"MockComponentPathBuilderTests.swift"
],
"target_dependencies" : [
"NeedleFoundationTest"
],
"type" : "test"
},
{
"c99name" : "NeedleFoundationTest",
"module_type" : "SwiftTarget",
"name" : "NeedleFoundationTest",
"path" : "Sources/NeedleFoundationTest",
"product_memberships" : [
"NeedleFoundationTest"
],
"sources" : [
"MockComponentPathBuilder.swift"
],
"target_dependencies" : [
"NeedleFoundation"
],
"type" : "library"
},
{
"c99name" : "NeedleFoundation",
"module_type" : "SwiftTarget",
"name" : "NeedleFoundation",
"path" : "Sources/NeedleFoundation",
"product_memberships" : [
"NeedleFoundation",
"NeedleFoundationTest"
],
"sources" : [
"Bootstrap.swift",
"Component.swift",
"Internal/DependencyProviderRegistry.swift",
"Pluginized/Internal/PluginExtensionProviderRegistry.swift",
"Pluginized/NonCoreComponent.swift",
"Pluginized/PluginizedComponent.swift",
"Pluginized/PluginizedScopeLifecycle.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 -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:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/11] Emitting module NeedleFoundation
/host/spi-builder-workspace/Sources/NeedleFoundation/Internal/DependencyProviderRegistry.swift:32:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type '__DependencyProviderRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
27 | // component subclasses that override the method to instantiate the
28 | // dependency providers.
29 | public class __DependencyProviderRegistry {
| `- note: class '__DependencyProviderRegistry' does not conform to the 'Sendable' protocol
30 |
31 | /// The singleton instance.
32 | public static let instance = __DependencyProviderRegistry()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type '__DependencyProviderRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' 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
33 |
34 | /// Register the given factory closure with given key.
/host/spi-builder-workspace/Sources/NeedleFoundation/Pluginized/Internal/PluginExtensionProviderRegistry.swift:31:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type '__PluginExtensionProviderRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
26 | // all the pluginized component subclasses that override the method to
27 | // instantiate the dependency providers.
28 | public class __PluginExtensionProviderRegistry {
| `- note: class '__PluginExtensionProviderRegistry' does not conform to the 'Sendable' protocol
29 |
30 | /// The singleton instance.
31 | public static let instance = __PluginExtensionProviderRegistry()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type '__PluginExtensionProviderRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' 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
32 |
33 | /// Register the given factory closure with given key.
[5/11] Compiling NeedleFoundation Bootstrap.swift
[6/11] Compiling NeedleFoundation PluginExtensionProviderRegistry.swift
/host/spi-builder-workspace/Sources/NeedleFoundation/Pluginized/Internal/PluginExtensionProviderRegistry.swift:31:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type '__PluginExtensionProviderRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
26 | // all the pluginized component subclasses that override the method to
27 | // instantiate the dependency providers.
28 | public class __PluginExtensionProviderRegistry {
| `- note: class '__PluginExtensionProviderRegistry' does not conform to the 'Sendable' protocol
29 |
30 | /// The singleton instance.
31 | public static let instance = __PluginExtensionProviderRegistry()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type '__PluginExtensionProviderRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' 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
32 |
33 | /// Register the given factory closure with given key.
[7/11] Compiling NeedleFoundation Component.swift
/host/spi-builder-workspace/Sources/NeedleFoundation/Internal/DependencyProviderRegistry.swift:32:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type '__DependencyProviderRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
27 | // component subclasses that override the method to instantiate the
28 | // dependency providers.
29 | public class __DependencyProviderRegistry {
| `- note: class '__DependencyProviderRegistry' does not conform to the 'Sendable' protocol
30 |
31 | /// The singleton instance.
32 | public static let instance = __DependencyProviderRegistry()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type '__DependencyProviderRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' 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
33 |
34 | /// Register the given factory closure with given key.
[8/11] Compiling NeedleFoundation PluginizedComponent.swift
/host/spi-builder-workspace/Sources/NeedleFoundation/Pluginized/Internal/PluginExtensionProviderRegistry.swift:31:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type '__PluginExtensionProviderRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
26 | // all the pluginized component subclasses that override the method to
27 | // instantiate the dependency providers.
28 | public class __PluginExtensionProviderRegistry {
| `- note: class '__PluginExtensionProviderRegistry' does not conform to the 'Sendable' protocol
29 |
30 | /// The singleton instance.
31 | public static let instance = __PluginExtensionProviderRegistry()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type '__PluginExtensionProviderRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' 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
32 |
33 | /// Register the given factory closure with given key.
[9/11] Compiling NeedleFoundation PluginizedScopeLifecycle.swift
[10/11] Compiling NeedleFoundation DependencyProviderRegistry.swift
/host/spi-builder-workspace/Sources/NeedleFoundation/Internal/DependencyProviderRegistry.swift:32:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type '__DependencyProviderRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
27 | // component subclasses that override the method to instantiate the
28 | // dependency providers.
29 | public class __DependencyProviderRegistry {
| `- note: class '__DependencyProviderRegistry' does not conform to the 'Sendable' protocol
30 |
31 | /// The singleton instance.
32 | public static let instance = __DependencyProviderRegistry()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type '__DependencyProviderRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' 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
33 |
34 | /// Register the given factory closure with given key.
[11/11] Compiling NeedleFoundation NonCoreComponent.swift
[13/14] Emitting module NeedleFoundationTest
[14/14] Compiling NeedleFoundationTest MockComponentPathBuilder.swift
Build complete! (13.21s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "NeedleFoundation",
"name" : "NeedleFoundation",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "NeedleFoundation",
"targets" : [
"NeedleFoundation"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "NeedleFoundationTest",
"targets" : [
"NeedleFoundationTest"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "NeedleFoundationTests",
"module_type" : "SwiftTarget",
"name" : "NeedleFoundationTests",
"path" : "Tests/NeedleFoundationTests",
"sources" : [
"ComponentTests.swift",
"DependencyProviderRegistryTests.swift",
"Pluginized/PluginizedComponentTests.swift"
],
"target_dependencies" : [
"NeedleFoundation"
],
"type" : "test"
},
{
"c99name" : "NeedleFoundationTestTests",
"module_type" : "SwiftTarget",
"name" : "NeedleFoundationTestTests",
"path" : "Tests/NeedleFoundationTestTests",
"sources" : [
"MockComponentPathBuilderTests.swift"
],
"target_dependencies" : [
"NeedleFoundationTest"
],
"type" : "test"
},
{
"c99name" : "NeedleFoundationTest",
"module_type" : "SwiftTarget",
"name" : "NeedleFoundationTest",
"path" : "Sources/NeedleFoundationTest",
"product_memberships" : [
"NeedleFoundationTest"
],
"sources" : [
"MockComponentPathBuilder.swift"
],
"target_dependencies" : [
"NeedleFoundation"
],
"type" : "library"
},
{
"c99name" : "NeedleFoundation",
"module_type" : "SwiftTarget",
"name" : "NeedleFoundation",
"path" : "Sources/NeedleFoundation",
"product_memberships" : [
"NeedleFoundation",
"NeedleFoundationTest"
],
"sources" : [
"Bootstrap.swift",
"Component.swift",
"Internal/DependencyProviderRegistry.swift",
"Pluginized/Internal/PluginExtensionProviderRegistry.swift",
"Pluginized/NonCoreComponent.swift",
"Pluginized/PluginizedComponent.swift",
"Pluginized/PluginizedScopeLifecycle.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.