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 Skribent, reference master (e70f01), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 11:24:58 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/merkle-open/swift-skribent.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/merkle-open/swift-skribent
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e70f014 Pump version
Cloned https://github.com/merkle-open/swift-skribent.git
Revision (git rev-parse @):
e70f0144dc00b1301eb1267790c9478e672e8302
SUCCESS checkout https://github.com/merkle-open/swift-skribent.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swift-skribent",
      "name": "Skribent",
      "url": "https://github.com/merkle-open/swift-skribent.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-skribent",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/merkle-open/swift-skribent.git
[1/141] Fetching swift-skribent
Fetched https://github.com/merkle-open/swift-skribent.git from cache (0.56s)
Creating working copy for https://github.com/merkle-open/swift-skribent.git
Working copy of https://github.com/merkle-open/swift-skribent.git resolved at master (e70f014)
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/merkle-open/swift-skribent.git
https://github.com/merkle-open/swift-skribent.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Skribent",
  "name" : "Skribent",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Skribent",
      "targets" : [
        "Skribent"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Example",
      "targets" : [
        "Example"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SkribentTests",
      "module_type" : "SwiftTarget",
      "name" : "SkribentTests",
      "path" : "Tests/SkribentTests",
      "sources" : [
        "SkribentTests.swift"
      ],
      "target_dependencies" : [
        "Skribent"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Skribent",
      "module_type" : "SwiftTarget",
      "name" : "Skribent",
      "path" : "Sources/Skribent",
      "product_memberships" : [
        "Skribent",
        "Example"
      ],
      "sources" : [
        "Extensions/Skribent+StaticProxy.swift",
        "Extensions/String+lastPathComponent.swift",
        "LogLevel.swift",
        "Loggable.swift",
        "Plugin.swift",
        "Skribent.swift",
        "Tag.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Example",
      "module_type" : "SwiftTarget",
      "name" : "Example",
      "path" : "Sources/Example",
      "product_memberships" : [
        "Example"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Skribent"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "4.2"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/7] Write sources
[2/7] Write Example-entitlement.plist
[3/7] Write swift-version-2F0A5646E1D333AE.txt
[5/15] Compiling Skribent Plugin.swift
[6/15] Compiling Skribent LogLevel.swift
[7/15] Compiling Skribent Tag.swift
[8/15] Compiling Skribent Skribent+StaticProxy.swift
[9/15] Compiling Skribent Loggable.swift
[10/15] Compiling Skribent Skribent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Skribent/Skribent.swift:7:36: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 5 |     private var plugins = [Plugin]()
 6 |     private var ignoredTags = Set<Tag>()
 7 |     private(set) public static var shared = Skribent()
   |                                    |- warning: static property 'shared' is not concurrency-safe because it is nonisolated 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: 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
 8 |     var productionMode = false
 9 |
[11/15] Compiling Skribent String+lastPathComponent.swift
[12/15] Emitting module Skribent
/Users/admin/builder/spi-builder-workspace/Sources/Skribent/Skribent.swift:7:36: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 5 |     private var plugins = [Plugin]()
 6 |     private var ignoredTags = Set<Tag>()
 7 |     private(set) public static var shared = Skribent()
   |                                    |- warning: static property 'shared' is not concurrency-safe because it is nonisolated 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: 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
 8 |     var productionMode = false
 9 |
[13/17] Emitting module Example
[14/17] Compiling Example main.swift
[14/17] Write Objects.LinkFileList
[15/17] Linking Example
[16/17] Applying Example
Build complete! (5.34s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Skribent",
  "name" : "Skribent",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Skribent",
      "targets" : [
        "Skribent"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Example",
      "targets" : [
        "Example"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SkribentTests",
      "module_type" : "SwiftTarget",
      "name" : "SkribentTests",
      "path" : "Tests/SkribentTests",
      "sources" : [
        "SkribentTests.swift"
      ],
      "target_dependencies" : [
        "Skribent"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Skribent",
      "module_type" : "SwiftTarget",
      "name" : "Skribent",
      "path" : "Sources/Skribent",
      "product_memberships" : [
        "Skribent",
        "Example"
      ],
      "sources" : [
        "Extensions/Skribent+StaticProxy.swift",
        "Extensions/String+lastPathComponent.swift",
        "LogLevel.swift",
        "Loggable.swift",
        "Plugin.swift",
        "Skribent.swift",
        "Tag.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Example",
      "module_type" : "SwiftTarget",
      "name" : "Example",
      "path" : "Sources/Example",
      "product_memberships" : [
        "Example"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Skribent"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "4.2"
}
Done.