This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of AppDependency with Swift 6.0 for Linux.

Swift 6 data race errors: 3

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" 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.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xLeif/AppDependency.git
Reference: main
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/0xLeif/AppDependency
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d973ca2 Change logger for linux and windows to var (#7)
Cloned https://github.com/0xLeif/AppDependency.git
Revision (git rev-parse @):
d973ca2e26a7f4aaa205c41a2551c51f492fec50
SUCCESS checkout https://github.com/0xLeif/AppDependency.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/0xLeif/AppDependency.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" 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
Fetching https://github.com/0xLeif/Cache
[1/389] Fetching cache
Fetched https://github.com/0xLeif/Cache from cache (0.21s)
Computing version for https://github.com/0xLeif/Cache
Computed https://github.com/0xLeif/Cache at 2.1.0 (1.34s)
Creating working copy for https://github.com/0xLeif/Cache
Working copy of https://github.com/0xLeif/Cache resolved at 2.1.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/27] Emitting module Cache
[5/30] Compiling Cache Logging.swift
[6/30] Compiling Cache OptionallyCached.swift
[7/30] Compiling Cache Resolved.swift
[8/30] Compiling Cache RequiredKeysCache+subscript.swift
[9/30] Compiling Cache RequiredKeysCache.swift
[10/30] Compiling Cache CacheInitializable.swift
[11/30] Compiling Cache Global+images.swift
[12/30] Compiling Cache Global+loggers.swift
[13/30] Compiling Cache Global.swift
[14/30] Compiling Cache JSON+subscript.swift
[15/30] Compiling Cache JSON.swift
[16/30] Compiling Cache Cached.swift
[17/30] Compiling Cache MissingRequiredKeysError.swift
[18/30] Compiling Cache Global+cache.swift
[19/30] Compiling Cache Global+dependencies.swift
[20/30] Compiling Cache AnyCacheable.swift
[21/30] Compiling Cache Cache+subscript.swift
[22/30] Compiling Cache Cache.swift
[23/30] Compiling Cache ComposableCache.swift
[24/30] Compiling Cache Cacheable.swift
[25/30] Compiling Cache Dictionary+Cacheable.swift
[26/30] Compiling Cache InvalidTypeError.swift
[27/30] Compiling Cache ExpiringCache+subscript.swift
[28/30] Compiling Cache ExpiringCache.swift
[29/30] Compiling Cache LRUCache.swift
[30/30] Compiling Cache PersistableCache.swift
[32/43] Compiling AppDependency Application+ApplicationPreview.swift
[33/43] Compiling AppDependency Application+Scope.swift
[34/44] Compiling AppDependency Application.swift
/host/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:12:16: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 | open class Application: NSObject {
11 |     /// Singleton shared instance of `Application`
12 |     static var shared: Application = Application()
   |                |- warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'shared' 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
13 |
14 |     #if !os(Linux) && !os(Windows)
/host/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:19:23: warning: static property 'logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
17 |     #else
18 |     /// Logger specifically for AppDependency
19 |     public static var logger: ApplicationLogger = ApplicationLogger()
   |                       |- warning: static property 'logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'logger' 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
20 |     #endif
21 |
/host/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:22:16: warning: static property 'isLoggingEnabled' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
20 |     #endif
21 |
22 |     static var isLoggingEnabled: Bool = false
   |                |- warning: static property 'isLoggingEnabled' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'isLoggingEnabled' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'isLoggingEnabled' 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
23 |
24 |     let lock: NSRecursiveLock
[35/44] Compiling AppDependency ApplicationLogger.swift
/host/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:12:16: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 | open class Application: NSObject {
11 |     /// Singleton shared instance of `Application`
12 |     static var shared: Application = Application()
   |                |- warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'shared' 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
13 |
14 |     #if !os(Linux) && !os(Windows)
/host/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:19:23: warning: static property 'logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
17 |     #else
18 |     /// Logger specifically for AppDependency
19 |     public static var logger: ApplicationLogger = ApplicationLogger()
   |                       |- warning: static property 'logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'logger' 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
20 |     #endif
21 |
/host/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:22:16: warning: static property 'isLoggingEnabled' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
20 |     #endif
21 |
22 |     static var isLoggingEnabled: Bool = false
   |                |- warning: static property 'isLoggingEnabled' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'isLoggingEnabled' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'isLoggingEnabled' 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
23 |
24 |     let lock: NSRecursiveLock
[36/44] Compiling AppDependency Application+Dependency.swift
/host/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:12:16: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 | open class Application: NSObject {
11 |     /// Singleton shared instance of `Application`
12 |     static var shared: Application = Application()
   |                |- warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'shared' 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
13 |
14 |     #if !os(Linux) && !os(Windows)
[37/44] Compiling AppDependency Application+DependencySlice.swift
/host/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:12:16: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 | open class Application: NSObject {
11 |     /// Singleton shared instance of `Application`
12 |     static var shared: Application = Application()
   |                |- warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'shared' 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
13 |
14 |     #if !os(Linux) && !os(Windows)
[38/44] Compiling AppDependency ObservedDependency.swift
[39/44] Compiling AppDependency AppDependency.swift
[40/44] Compiling AppDependency DependencyConstant.swift
[41/44] Compiling AppDependency DependencySlice.swift
/host/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:12:16: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 | open class Application: NSObject {
11 |     /// Singleton shared instance of `Application`
12 |     static var shared: Application = Application()
   |                |- warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'shared' 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
13 |
14 |     #if !os(Linux) && !os(Windows)
[42/44] Emitting module AppDependency
/host/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:12:16: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 | open class Application: NSObject {
11 |     /// Singleton shared instance of `Application`
12 |     static var shared: Application = Application()
   |                |- warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'shared' 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
13 |
14 |     #if !os(Linux) && !os(Windows)
/host/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:19:23: warning: static property 'logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
17 |     #else
18 |     /// Logger specifically for AppDependency
19 |     public static var logger: ApplicationLogger = ApplicationLogger()
   |                       |- warning: static property 'logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'logger' 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
20 |     #endif
21 |
/host/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:22:16: warning: static property 'isLoggingEnabled' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
20 |     #endif
21 |
22 |     static var isLoggingEnabled: Bool = false
   |                |- warning: static property 'isLoggingEnabled' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'isLoggingEnabled' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'isLoggingEnabled' 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
23 |
24 |     let lock: NSRecursiveLock
[43/44] Compiling AppDependency Application+internal.swift
/host/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:12:16: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 | open class Application: NSObject {
11 |     /// Singleton shared instance of `Application`
12 |     static var shared: Application = Application()
   |                |- warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'shared' 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
13 |
14 |     #if !os(Linux) && !os(Windows)
/host/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:22:16: warning: static property 'isLoggingEnabled' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
20 |     #endif
21 |
22 |     static var isLoggingEnabled: Bool = false
   |                |- warning: static property 'isLoggingEnabled' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'isLoggingEnabled' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'isLoggingEnabled' 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
23 |
24 |     let lock: NSRecursiveLock
/host/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:19:23: warning: static property 'logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
17 |     #else
18 |     /// Logger specifically for AppDependency
19 |     public static var logger: ApplicationLogger = ApplicationLogger()
   |                       |- warning: static property 'logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'logger' 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
20 |     #endif
21 |
[44/44] Compiling AppDependency Application+public.swift
/host/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:12:16: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 | open class Application: NSObject {
11 |     /// Singleton shared instance of `Application`
12 |     static var shared: Application = Application()
   |                |- warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'shared' 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
13 |
14 |     #if !os(Linux) && !os(Windows)
/host/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:22:16: warning: static property 'isLoggingEnabled' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
20 |     #endif
21 |
22 |     static var isLoggingEnabled: Bool = false
   |                |- warning: static property 'isLoggingEnabled' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'isLoggingEnabled' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'isLoggingEnabled' 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
23 |
24 |     let lock: NSRecursiveLock
/host/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:19:23: warning: static property 'logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
17 |     #else
18 |     /// Logger specifically for AppDependency
19 |     public static var logger: ApplicationLogger = ApplicationLogger()
   |                       |- warning: static property 'logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'logger' 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
20 |     #endif
21 |
Build complete! (16.02s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "cache",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/0xLeif/Cache"
    }
  ],
  "manifest_display_name" : "AppDependency",
  "name" : "AppDependency",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "AppDependency",
      "targets" : [
        "AppDependency"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AppDependencyTests",
      "module_type" : "SwiftTarget",
      "name" : "AppDependencyTests",
      "path" : "Tests/AppDependencyTests",
      "sources" : [
        "AppDependencyTests.swift",
        "DependencySliceTests.swift",
        "ObservedDependencyTests.swift"
      ],
      "target_dependencies" : [
        "AppDependency"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AppDependency",
      "module_type" : "SwiftTarget",
      "name" : "AppDependency",
      "path" : "Sources/AppDependency",
      "product_dependencies" : [
        "Cache"
      ],
      "product_memberships" : [
        "AppDependency"
      ],
      "sources" : [
        "Application/Application+internal.swift",
        "Application/Application+public.swift",
        "Application/Application.swift",
        "Application/Helper/ApplicationLogger.swift",
        "Application/Types/Dependency/Application+Dependency.swift",
        "Application/Types/Dependency/Slice/Application+DependencySlice.swift",
        "Application/Types/Helper/Application+ApplicationPreview.swift",
        "Application/Types/Helper/Application+Scope.swift",
        "PropertyWrappers/AppDependency.swift",
        "PropertyWrappers/ObservedDependency.swift",
        "PropertyWrappers/Slice/DependencyConstant.swift",
        "PropertyWrappers/Slice/DependencySlice.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.