The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Resolver, reference master (d49d02), with Swift 6.1 for Linux on 15 Jul 2026 04:37:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: e8bafa5c5d5b3cc8a20258ddf060ad6c89f46bf9
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hmlongco/Resolver.git
Reference: master
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/hmlongco/Resolver
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d49d02c Update docs to clear warnings
Cloned https://github.com/hmlongco/Resolver.git
Revision (git rev-parse @):
d49d02cf6df2793885b4040242ec53990c563c76
SUCCESS checkout https://github.com/hmlongco/Resolver.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/hmlongco/Resolver.git
https://github.com/hmlongco/Resolver.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.1-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.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:0f094b998e61bb35b7a666f42e392cfb12929ea8fa9160622b1badd8b73d5c87
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2325] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.46s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (1.44s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3753] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.49s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.77s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
warning: 'spi-builder-workspace': Invalid Resource 'PrivacyInfo.xcprivacy': File not found.
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/11] Emitting module Resolver
/host/spi-builder-workspace/Sources/Resolver/Resolver.swift:61:23: warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     /// Default registry used by the static Registration functions.
 61 |     public static var main: Resolver = Resolver()
    |                       |- warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'main' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 62 |     /// Default registry used by the static Resolution functions and by the Resolving protocol.
 63 |     public static var root: Resolver = main
/host/spi-builder-workspace/Sources/Resolver/Resolver.swift:63:23: warning: static property 'root' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 61 |     public static var main: Resolver = Resolver()
 62 |     /// Default registry used by the static Resolution functions and by the Resolving protocol.
 63 |     public static var root: Resolver = main
    |                       |- warning: static property 'root' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'root' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'root' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 64 |     /// Default scope applied when registering new objects.
 65 |     public static var defaultScope: ResolverScope = .graph
/host/spi-builder-workspace/Sources/Resolver/Resolver.swift:65:23: warning: static property 'defaultScope' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 63 |     public static var root: Resolver = main
 64 |     /// Default scope applied when registering new objects.
 65 |     public static var defaultScope: ResolverScope = .graph
    |                       |- warning: static property 'defaultScope' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultScope' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultScope' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |     /// Internal scope cache used for .scope(.container)
 67 |     public lazy var cache: ResolverScope = ResolverScopeCache()
/host/spi-builder-workspace/Sources/Resolver/Resolver.swift:69:23: warning: static property 'decorate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 67 |     public lazy var cache: ResolverScope = ResolverScopeCache()
 68 |     /// Decorator applied to all resolved objects
 69 |     public static var decorate: ((_ service: Any) -> Void)?
    |                       |- warning: static property 'decorate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'decorate' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'decorate' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 70 |
 71 |     // MARK: - Lifecycle
/host/spi-builder-workspace/Sources/Resolver/Resolver.swift:105:23: warning: static property 'registerServices' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
103 |     /// Call function to force one-time initialization of the Resolver registries. Usually not needed as functionality
104 |     /// occurs automatically the first time a resolution function is called.
105 |     public static var registerServices: (() -> Void)? = {
    |                       |- warning: static property 'registerServices' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'registerServices' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'registerServices' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 |         lock.lock()
107 |         defer { lock.unlock() }
/host/spi-builder-workspace/Sources/Resolver/Resolver.swift:372:28: warning: static property 'lock' is not concurrency-safe because non-'Sendable' type 'ResolverRecursiveLock' may have shared mutable state; this is an error in the Swift 6 language mode
351 |
352 | /// Resolving an instance of a service is a recursive process (service A needs a B which needs a C).
353 | private final class ResolverRecursiveLock {
    |                     `- note: class 'ResolverRecursiveLock' does not conform to the 'Sendable' protocol
354 |     init() {
355 |         pthread_mutexattr_init(&recursiveMutexAttr)
    :
370 |
371 | extension Resolver {
372 |     fileprivate static let lock = ResolverRecursiveLock()
    |                            |- warning: static property 'lock' is not concurrency-safe because non-'Sendable' type 'ResolverRecursiveLock' may have shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: add '@MainActor' to make static property 'lock' part of global actor 'MainActor'
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
373 | }
374 |
/host/spi-builder-workspace/Sources/Resolver/Resolver.swift:453:13: warning: var 'registrationNeeded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
451 | // Registration Internals
452 |
453 | private var registrationNeeded: Bool = true
    |             |- warning: var 'registrationNeeded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'registrationNeeded' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'registrationNeeded' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
454 |
455 | @inline(__always)
/host/spi-builder-workspace/Sources/Resolver/Resolver.swift:601:23: warning: static property 'application' is not concurrency-safe because non-'Sendable' type 'ResolverScopeCache' may have shared mutable state; this is an error in the Swift 6 language mode
599 |
600 |     /// All application scoped services exist for lifetime of the app. (e.g Singletons)
601 |     public static let application = ResolverScopeCache()
    |                       |- warning: static property 'application' is not concurrency-safe because non-'Sendable' type 'ResolverScopeCache' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'application' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
602 |     /// Proxy to container's scope. Cache type depends on type supplied to container (default .cache)
603 |     public static let container = ResolverScopeContainer()
    :
624 |
625 | /// Cached services exist for lifetime of the app or until their cache is reset.
626 | public class ResolverScopeCache: ResolverScope {
    |              `- note: class 'ResolverScopeCache' does not conform to the 'Sendable' protocol
627 |
628 |     public override init() {}
/host/spi-builder-workspace/Sources/Resolver/Resolver.swift:603:23: warning: static property 'container' is not concurrency-safe because non-'Sendable' type 'ResolverScopeContainer' may have shared mutable state; this is an error in the Swift 6 language mode
601 |     public static let application = ResolverScopeCache()
602 |     /// Proxy to container's scope. Cache type depends on type supplied to container (default .cache)
603 |     public static let container = ResolverScopeContainer()
    |                       |- warning: static property 'container' is not concurrency-safe because non-'Sendable' type 'ResolverScopeContainer' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'container' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
604 |     /// Cached services exist for lifetime of the app or until their cache is reset.
605 |     public static let cached = ResolverScopeCache()
    :
703 |
704 | /// Proxy to container's scope. Cache type depends on type supplied to container (default .cache)
705 | public final class ResolverScopeContainer: ResolverScope {
    |                    `- note: class 'ResolverScopeContainer' does not conform to the 'Sendable' protocol
706 |
707 |     public override init() {}
/host/spi-builder-workspace/Sources/Resolver/Resolver.swift:605:23: warning: static property 'cached' is not concurrency-safe because non-'Sendable' type 'ResolverScopeCache' may have shared mutable state; this is an error in the Swift 6 language mode
603 |     public static let container = ResolverScopeContainer()
604 |     /// Cached services exist for lifetime of the app or until their cache is reset.
605 |     public static let cached = ResolverScopeCache()
    |                       |- warning: static property 'cached' is not concurrency-safe because non-'Sendable' type 'ResolverScopeCache' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'cached' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
606 |     /// Graph services are initialized once and only once during a given resolution cycle. This is the default scope.
607 |     public static let graph = ResolverScopeGraph()
    :
624 |
625 | /// Cached services exist for lifetime of the app or until their cache is reset.
626 | public class ResolverScopeCache: ResolverScope {
    |              `- note: class 'ResolverScopeCache' does not conform to the 'Sendable' protocol
627 |
628 |     public override init() {}
/host/spi-builder-workspace/Sources/Resolver/Resolver.swift:607:23: warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'ResolverScopeGraph' may have shared mutable state; this is an error in the Swift 6 language mode
605 |     public static let cached = ResolverScopeCache()
606 |     /// Graph services are initialized once and only once during a given resolution cycle. This is the default scope.
607 |     public static let graph = ResolverScopeGraph()
    |                       |- warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'ResolverScopeGraph' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'graph' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
608 |     /// Shared services persist while strong references to them exist. They're then deallocated until the next resolve.
609 |     public static let shared = ResolverScopeShare()
    :
647 |
648 | /// Graph services are initialized once and only once during a given resolution cycle. This is the default scope.
649 | public final class ResolverScopeGraph: ResolverScope {
    |                    `- note: class 'ResolverScopeGraph' does not conform to the 'Sendable' protocol
650 |
651 |     public override init() {}
/host/spi-builder-workspace/Sources/Resolver/Resolver.swift:609:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ResolverScopeShare' may have shared mutable state; this is an error in the Swift 6 language mode
607 |     public static let graph = ResolverScopeGraph()
608 |     /// Shared services persist while strong references to them exist. They're then deallocated until the next resolve.
609 |     public static let shared = ResolverScopeShare()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ResolverScopeShare' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
610 |     /// Unique services are created and initialized each and every time they're resolved.
611 |     public static let unique = ResolverScope()
    :
673 |
674 | /// Shared services persist while strong references to them exist. They're then deallocated until the next resolve.
675 | public final class ResolverScopeShare: ResolverScope {
    |                    `- note: class 'ResolverScopeShare' does not conform to the 'Sendable' protocol
676 |
677 |     public override init() {}
/host/spi-builder-workspace/Sources/Resolver/Resolver.swift:611:23: warning: static property 'unique' is not concurrency-safe because non-'Sendable' type 'ResolverScope' may have shared mutable state; this is an error in the Swift 6 language mode
594 | }
595 |
596 | public class ResolverScope: ResolverScopeType {
    |              `- note: class 'ResolverScope' does not conform to the 'Sendable' protocol
597 |
598 |     // Moved definitions to ResolverScope to allow for dot notation access
    :
609 |     public static let shared = ResolverScopeShare()
610 |     /// Unique services are created and initialized each and every time they're resolved.
611 |     public static let unique = ResolverScope()
    |                       |- warning: static property 'unique' is not concurrency-safe because non-'Sendable' type 'ResolverScope' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'unique' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
612 |
613 |     public init() {}
[6/11] Compiling Resolver Resolver.swift
/host/spi-builder-workspace/Sources/Resolver/Resolver.swift:61:23: warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     /// Default registry used by the static Registration functions.
 61 |     public static var main: Resolver = Resolver()
    |                       |- warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'main' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 62 |     /// Default registry used by the static Resolution functions and by the Resolving protocol.
 63 |     public static var root: Resolver = main
/host/spi-builder-workspace/Sources/Resolver/Resolver.swift:63:23: warning: static property 'root' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 61 |     public static var main: Resolver = Resolver()
 62 |     /// Default registry used by the static Resolution functions and by the Resolving protocol.
 63 |     public static var root: Resolver = main
    |                       |- warning: static property 'root' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'root' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'root' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 64 |     /// Default scope applied when registering new objects.
 65 |     public static var defaultScope: ResolverScope = .graph
/host/spi-builder-workspace/Sources/Resolver/Resolver.swift:65:23: warning: static property 'defaultScope' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 63 |     public static var root: Resolver = main
 64 |     /// Default scope applied when registering new objects.
 65 |     public static var defaultScope: ResolverScope = .graph
    |                       |- warning: static property 'defaultScope' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultScope' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultScope' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |     /// Internal scope cache used for .scope(.container)
 67 |     public lazy var cache: ResolverScope = ResolverScopeCache()
/host/spi-builder-workspace/Sources/Resolver/Resolver.swift:69:23: warning: static property 'decorate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 67 |     public lazy var cache: ResolverScope = ResolverScopeCache()
 68 |     /// Decorator applied to all resolved objects
 69 |     public static var decorate: ((_ service: Any) -> Void)?
    |                       |- warning: static property 'decorate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'decorate' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'decorate' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 70 |
 71 |     // MARK: - Lifecycle
/host/spi-builder-workspace/Sources/Resolver/Resolver.swift:105:23: warning: static property 'registerServices' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
103 |     /// Call function to force one-time initialization of the Resolver registries. Usually not needed as functionality
104 |     /// occurs automatically the first time a resolution function is called.
105 |     public static var registerServices: (() -> Void)? = {
    |                       |- warning: static property 'registerServices' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'registerServices' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'registerServices' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 |         lock.lock()
107 |         defer { lock.unlock() }
/host/spi-builder-workspace/Sources/Resolver/Resolver.swift:372:28: warning: static property 'lock' is not concurrency-safe because non-'Sendable' type 'ResolverRecursiveLock' may have shared mutable state; this is an error in the Swift 6 language mode
351 |
352 | /// Resolving an instance of a service is a recursive process (service A needs a B which needs a C).
353 | private final class ResolverRecursiveLock {
    |                     `- note: class 'ResolverRecursiveLock' does not conform to the 'Sendable' protocol
354 |     init() {
355 |         pthread_mutexattr_init(&recursiveMutexAttr)
    :
370 |
371 | extension Resolver {
372 |     fileprivate static let lock = ResolverRecursiveLock()
    |                            |- warning: static property 'lock' is not concurrency-safe because non-'Sendable' type 'ResolverRecursiveLock' may have shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: add '@MainActor' to make static property 'lock' part of global actor 'MainActor'
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
373 | }
374 |
/host/spi-builder-workspace/Sources/Resolver/Resolver.swift:453:13: warning: var 'registrationNeeded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
451 | // Registration Internals
452 |
453 | private var registrationNeeded: Bool = true
    |             |- warning: var 'registrationNeeded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'registrationNeeded' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'registrationNeeded' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
454 |
455 | @inline(__always)
/host/spi-builder-workspace/Sources/Resolver/Resolver.swift:601:23: warning: static property 'application' is not concurrency-safe because non-'Sendable' type 'ResolverScopeCache' may have shared mutable state; this is an error in the Swift 6 language mode
599 |
600 |     /// All application scoped services exist for lifetime of the app. (e.g Singletons)
601 |     public static let application = ResolverScopeCache()
    |                       |- warning: static property 'application' is not concurrency-safe because non-'Sendable' type 'ResolverScopeCache' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'application' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
602 |     /// Proxy to container's scope. Cache type depends on type supplied to container (default .cache)
603 |     public static let container = ResolverScopeContainer()
    :
624 |
625 | /// Cached services exist for lifetime of the app or until their cache is reset.
626 | public class ResolverScopeCache: ResolverScope {
    |              `- note: class 'ResolverScopeCache' does not conform to the 'Sendable' protocol
627 |
628 |     public override init() {}
/host/spi-builder-workspace/Sources/Resolver/Resolver.swift:603:23: warning: static property 'container' is not concurrency-safe because non-'Sendable' type 'ResolverScopeContainer' may have shared mutable state; this is an error in the Swift 6 language mode
601 |     public static let application = ResolverScopeCache()
602 |     /// Proxy to container's scope. Cache type depends on type supplied to container (default .cache)
603 |     public static let container = ResolverScopeContainer()
    |                       |- warning: static property 'container' is not concurrency-safe because non-'Sendable' type 'ResolverScopeContainer' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'container' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
604 |     /// Cached services exist for lifetime of the app or until their cache is reset.
605 |     public static let cached = ResolverScopeCache()
    :
703 |
704 | /// Proxy to container's scope. Cache type depends on type supplied to container (default .cache)
705 | public final class ResolverScopeContainer: ResolverScope {
    |                    `- note: class 'ResolverScopeContainer' does not conform to the 'Sendable' protocol
706 |
707 |     public override init() {}
/host/spi-builder-workspace/Sources/Resolver/Resolver.swift:605:23: warning: static property 'cached' is not concurrency-safe because non-'Sendable' type 'ResolverScopeCache' may have shared mutable state; this is an error in the Swift 6 language mode
603 |     public static let container = ResolverScopeContainer()
604 |     /// Cached services exist for lifetime of the app or until their cache is reset.
605 |     public static let cached = ResolverScopeCache()
    |                       |- warning: static property 'cached' is not concurrency-safe because non-'Sendable' type 'ResolverScopeCache' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'cached' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
606 |     /// Graph services are initialized once and only once during a given resolution cycle. This is the default scope.
607 |     public static let graph = ResolverScopeGraph()
    :
624 |
625 | /// Cached services exist for lifetime of the app or until their cache is reset.
626 | public class ResolverScopeCache: ResolverScope {
    |              `- note: class 'ResolverScopeCache' does not conform to the 'Sendable' protocol
627 |
628 |     public override init() {}
/host/spi-builder-workspace/Sources/Resolver/Resolver.swift:607:23: warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'ResolverScopeGraph' may have shared mutable state; this is an error in the Swift 6 language mode
605 |     public static let cached = ResolverScopeCache()
606 |     /// Graph services are initialized once and only once during a given resolution cycle. This is the default scope.
607 |     public static let graph = ResolverScopeGraph()
    |                       |- warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'ResolverScopeGraph' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'graph' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
608 |     /// Shared services persist while strong references to them exist. They're then deallocated until the next resolve.
609 |     public static let shared = ResolverScopeShare()
    :
647 |
648 | /// Graph services are initialized once and only once during a given resolution cycle. This is the default scope.
649 | public final class ResolverScopeGraph: ResolverScope {
    |                    `- note: class 'ResolverScopeGraph' does not conform to the 'Sendable' protocol
650 |
651 |     public override init() {}
/host/spi-builder-workspace/Sources/Resolver/Resolver.swift:609:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ResolverScopeShare' may have shared mutable state; this is an error in the Swift 6 language mode
607 |     public static let graph = ResolverScopeGraph()
608 |     /// Shared services persist while strong references to them exist. They're then deallocated until the next resolve.
609 |     public static let shared = ResolverScopeShare()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ResolverScopeShare' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
610 |     /// Unique services are created and initialized each and every time they're resolved.
611 |     public static let unique = ResolverScope()
    :
673 |
674 | /// Shared services persist while strong references to them exist. They're then deallocated until the next resolve.
675 | public final class ResolverScopeShare: ResolverScope {
    |                    `- note: class 'ResolverScopeShare' does not conform to the 'Sendable' protocol
676 |
677 |     public override init() {}
/host/spi-builder-workspace/Sources/Resolver/Resolver.swift:611:23: warning: static property 'unique' is not concurrency-safe because non-'Sendable' type 'ResolverScope' may have shared mutable state; this is an error in the Swift 6 language mode
594 | }
595 |
596 | public class ResolverScope: ResolverScopeType {
    |              `- note: class 'ResolverScope' does not conform to the 'Sendable' protocol
597 |
598 |     // Moved definitions to ResolverScope to allow for dot notation access
    :
609 |     public static let shared = ResolverScopeShare()
610 |     /// Unique services are created and initialized each and every time they're resolved.
611 |     public static let unique = ResolverScope()
    |                       |- warning: static property 'unique' is not concurrency-safe because non-'Sendable' type 'ResolverScope' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'unique' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
612 |
613 |     public init() {}
/host/spi-builder-workspace/Sources/Resolver/Resolver.swift:356:56: error: cannot convert value of type 'Int' to expected argument type 'Int32'
354 |     init() {
355 |         pthread_mutexattr_init(&recursiveMutexAttr)
356 |         pthread_mutexattr_settype(&recursiveMutexAttr, PTHREAD_MUTEX_RECURSIVE)
    |                                                        `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
357 |         pthread_mutex_init(&recursiveMutex, &recursiveMutexAttr)
358 |     }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:0f094b998e61bb35b7a666f42e392cfb12929ea8fa9160622b1badd8b73d5c87
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
warning: 'spi-builder-workspace': Invalid Resource 'PrivacyInfo.xcprivacy': File not found.
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/8] Write swift-version-24593BA9C3E375BF.txt
[4/10] Emitting module Resolver
[5/10] Compiling Resolver Resolver.swift
/host/spi-builder-workspace/Sources/Resolver/Resolver.swift:356:56: error: cannot convert value of type 'Int' to expected argument type 'Int32'
354 |     init() {
355 |         pthread_mutexattr_init(&recursiveMutexAttr)
356 |         pthread_mutexattr_settype(&recursiveMutexAttr, PTHREAD_MUTEX_RECURSIVE)
    |                                                        `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
357 |         pthread_mutex_init(&recursiveMutex, &recursiveMutexAttr)
358 |     }
BUILD FAILURE 6.1 linux