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 ShitLib, reference 5.0.0 (67fe2b), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 21:37:18 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/ShitLib/shitlib-swift.git
Reference: 5.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ShitLib/shitlib-swift
 * tag               5.0.0      -> FETCH_HEAD
HEAD is now at 67fe2be Update README.md
Cloned https://github.com/ShitLib/shitlib-swift.git
Revision (git rev-parse @):
67fe2be77db80bdec513137b643c475582514d1b
SUCCESS checkout https://github.com/ShitLib/shitlib-swift.git at 5.0.0
========================================
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": "shitlib-swift",
      "name": "ShitLib",
      "url": "https://github.com/ShitLib/shitlib-swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/shitlib-swift",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ShitLib/shitlib-swift.git
[1/452] Fetching shitlib-swift
Fetched https://github.com/ShitLib/shitlib-swift.git from cache (0.87s)
Creating working copy for https://github.com/ShitLib/shitlib-swift.git
Working copy of https://github.com/ShitLib/shitlib-swift.git resolved at 5.0.0 (67fe2be)
warning: '.resolve-product-dependencies': dependency 'shitlib-swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ShitLib/shitlib-swift.git
https://github.com/ShitLib/shitlib-swift.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ShitLib",
  "name" : "ShitLib",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ShitLib",
      "targets" : [
        "ShitLib"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ShitLibTests",
      "module_type" : "SwiftTarget",
      "name" : "ShitLibTests",
      "path" : "Tests/ShitLibTests",
      "sources" : [
        "ShitLibTests.swift"
      ],
      "target_dependencies" : [
        "ShitLib"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ShitLib",
      "module_type" : "SwiftTarget",
      "name" : "ShitLib",
      "path" : "Sources/ShitLib",
      "product_memberships" : [
        "ShitLib"
      ],
      "sources" : [
        "ShitLib.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/4] Emitting module ShitLib
/Users/admin/builder/spi-builder-workspace/Sources/ShitLib/ShitLib.swift:9:23: warning: static property 'osNull' is not concurrency-safe because non-'Sendable' type 'Any?' may have shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | public enum OhShit {
 9 |     public static let osNull: Any? = nil
   |                       |- warning: static property 'osNull' is not concurrency-safe because non-'Sendable' type 'Any?' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'osNull' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |     public static let osEmpty = ""
11 |
[4/4] Compiling ShitLib ShitLib.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShitLib/ShitLib.swift:9:23: warning: static property 'osNull' is not concurrency-safe because non-'Sendable' type 'Any?' may have shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | public enum OhShit {
 9 |     public static let osNull: Any? = nil
   |                       |- warning: static property 'osNull' is not concurrency-safe because non-'Sendable' type 'Any?' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'osNull' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |     public static let osEmpty = ""
11 |
Build complete! (0.71s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ShitLib",
  "name" : "ShitLib",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ShitLib",
      "targets" : [
        "ShitLib"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ShitLibTests",
      "module_type" : "SwiftTarget",
      "name" : "ShitLibTests",
      "path" : "Tests/ShitLibTests",
      "sources" : [
        "ShitLibTests.swift"
      ],
      "target_dependencies" : [
        "ShitLib"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ShitLib",
      "module_type" : "SwiftTarget",
      "name" : "ShitLib",
      "path" : "Sources/ShitLib",
      "product_memberships" : [
        "ShitLib"
      ],
      "sources" : [
        "ShitLib.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.