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 package-frostflake, reference main (e756b3), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 14:51:56 UTC.

Swift 6 data race errors: 2

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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ordo-one/package-frostflake.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ordo-one/package-frostflake
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e756b3d ci: 🔄 synced local '.github/workflows/' with remote 'workflows/swift'
Cloned https://github.com/ordo-one/package-frostflake.git
Revision (git rev-parse @):
e756b3d6c5651aebdb142ba3b288126b31ff4153
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ordo-one/package-frostflake.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ordo-one/package-frostflake.git
https://github.com/ordo-one/package-frostflake.git
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system"
    }
  ],
  "manifest_display_name" : "package-frostflake",
  "name" : "package-frostflake",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "Frostflake",
      "targets" : [
        "Frostflake"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "flake",
      "targets" : [
        "FrostflakeUtility"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FrostflakeUtility",
      "module_type" : "SwiftTarget",
      "name" : "FrostflakeUtility",
      "path" : "Sources/FrostflakeUtility",
      "product_dependencies" : [
        "ArgumentParser",
        "SystemPackage"
      ],
      "product_memberships" : [
        "flake"
      ],
      "sources" : [
        "FrostflakeUtility.swift"
      ],
      "target_dependencies" : [
        "Frostflake"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "FrostflakeTests",
      "module_type" : "SwiftTarget",
      "name" : "FrostflakeTests",
      "path" : "Tests/FrostflakeTests",
      "sources" : [
        "EpochDateTime.swift",
        "FrostflakeTests.swift"
      ],
      "target_dependencies" : [
        "FrostflakeUtility",
        "Frostflake"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Frostflake",
      "module_type" : "SwiftTarget",
      "name" : "Frostflake",
      "path" : "Sources/Frostflake",
      "product_memberships" : [
        "Frostflake",
        "flake"
      ],
      "sources" : [
        "Frostflake.swift",
        "FrostflakeDefinitions.swift",
        "FrostflakeHelpers.swift",
        "FrostflakeIdentifier+Base58.swift",
        "FrostflakeIdentifier.swift",
        "Lock.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
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
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
Building for debugging...
[3/14] Write sources
[7/14] Write flake-entitlement.plist
[8/14] Write sources
[9/14] Compiling CSystem shims.c
[10/14] Write swift-version-2F0A5646E1D333AE.txt
[12/51] Emitting module ArgumentParserToolInfo
[13/51] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/90] Compiling ArgumentParser ParserError.swift
[15/90] Compiling ArgumentParser SplitArguments.swift
[16/90] Compiling ArgumentParser DumpHelpGenerator.swift
[17/93] Compiling Frostflake FrostflakeIdentifier.swift
[18/93] Compiling Frostflake FrostflakeIdentifier+Base58.swift
[19/93] Compiling Frostflake FrostflakeHelpers.swift
[20/93] Compiling Frostflake Frostflake.swift
/Users/admin/builder/spi-builder-workspace/Sources/Frostflake/Frostflake.swift:18:24: warning: static property 'privateSharedGenerator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 |
 17 |     // Class variables and functions
 18 |     private static var privateSharedGenerator: Frostflake?
    |                        |- warning: static property 'privateSharedGenerator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'privateSharedGenerator' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'privateSharedGenerator' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |
 20 |     /// Convenience static variable when using the same generator in many places
[21/93] Emitting module Frostflake
/Users/admin/builder/spi-builder-workspace/Sources/Frostflake/Frostflake.swift:18:24: warning: static property 'privateSharedGenerator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 |
 17 |     // Class variables and functions
 18 |     private static var privateSharedGenerator: Frostflake?
    |                        |- warning: static property 'privateSharedGenerator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'privateSharedGenerator' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'privateSharedGenerator' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |
 20 |     /// Convenience static variable when using the same generator in many places
/Users/admin/builder/spi-builder-workspace/Sources/Frostflake/Lock.swift:23:25: warning: stored property 'mutex' of 'Sendable'-conforming class 'Lock' has non-sendable type 'UnsafeMutablePointer<os_unfair_lock>' (aka 'UnsafeMutablePointer<os_unfair_lock_s>'); this is an error in the Swift 6 language mode
 21 | final class Lock {
 22 |     #if os(macOS)
 23 |         fileprivate let mutex = UnsafeMutablePointer<os_unfair_lock>.allocate(capacity: 1)
    |                         `- warning: stored property 'mutex' of 'Sendable'-conforming class 'Lock' has non-sendable type 'UnsafeMutablePointer<os_unfair_lock>' (aka 'UnsafeMutablePointer<os_unfair_lock_s>'); this is an error in the Swift 6 language mode
 24 |     #else
 25 |         fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
[22/93] Compiling Frostflake Lock.swift
/Users/admin/builder/spi-builder-workspace/Sources/Frostflake/Lock.swift:23:25: warning: stored property 'mutex' of 'Sendable'-conforming class 'Lock' has non-sendable type 'UnsafeMutablePointer<os_unfair_lock>' (aka 'UnsafeMutablePointer<os_unfair_lock_s>'); this is an error in the Swift 6 language mode
 21 | final class Lock {
 22 |     #if os(macOS)
 23 |         fileprivate let mutex = UnsafeMutablePointer<os_unfair_lock>.allocate(capacity: 1)
    |                         `- warning: stored property 'mutex' of 'Sendable'-conforming class 'Lock' has non-sendable type 'UnsafeMutablePointer<os_unfair_lock>' (aka 'UnsafeMutablePointer<os_unfair_lock_s>'); this is an error in the Swift 6 language mode
 24 |     #else
 25 |         fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
[23/93] Compiling Frostflake FrostflakeDefinitions.swift
[24/93] Compiling ArgumentParser UsageGenerator.swift
[25/93] Compiling ArgumentParser CollectionExtensions.swift
[26/93] Compiling ArgumentParser ArgumentDefinition.swift
[27/93] Emitting module SystemPackage
[28/93] Compiling ArgumentParser ExpressibleByArgument.swift
[29/93] Compiling ArgumentParser ArgumentHelp.swift
[30/93] Compiling ArgumentParser ArgumentVisibility.swift
[31/93] Compiling ArgumentParser CompletionKind.swift
[32/93] Compiling ArgumentParser Errors.swift
[33/93] Compiling ArgumentParser Flag.swift
[34/93] Compiling SystemPackage Util+StringArray.swift
[35/93] Compiling SystemPackage Util.swift
[36/93] Compiling SystemPackage UtilConsumers.swift
[37/93] Compiling ArgumentParser ArgumentSet.swift
[38/93] Compiling ArgumentParser CommandParser.swift
[39/93] Compiling ArgumentParser InputKey.swift
[40/93] Compiling ArgumentParser ArgumentDecoder.swift
[41/93] Compiling ArgumentParser NameSpecification.swift
[42/93] Compiling ArgumentParser Option.swift
[43/93] Compiling ArgumentParser ParsableArguments.swift
[44/93] Compiling ArgumentParser ParsableArgumentsValidation.swift
[45/93] Compiling ArgumentParser ParsableCommand.swift
[46/93] Compiling ArgumentParser HelpCommand.swift
[47/93] Compiling ArgumentParser HelpGenerator.swift
[48/93] Compiling ArgumentParser MessageInfo.swift
[49/93] Compiling ArgumentParser CommandConfiguration.swift
[50/93] Compiling ArgumentParser CommandGroup.swift
[51/93] Compiling ArgumentParser EnumerableFlag.swift
[52/93] Emitting module ArgumentParser
[62/97] Compiling ArgumentParser InputOrigin.swift
[63/97] Compiling ArgumentParser Name.swift
[64/97] Compiling ArgumentParser Parsed.swift
[65/97] Compiling ArgumentParser ParsedValues.swift
[67/97] Compiling ArgumentParser CompletionsGenerator.swift
[68/97] Compiling ArgumentParser FishCompletionsGenerator.swift
[69/97] Compiling ArgumentParser ZshCompletionsGenerator.swift
[70/97] Compiling ArgumentParser Argument.swift
[83/97] Compiling ArgumentParser Platform.swift
[84/97] Compiling ArgumentParser SequenceExtensions.swift
[85/97] Compiling ArgumentParser StringExtensions.swift
[86/97] Compiling ArgumentParser Tree.swift
[95/99] Emitting module FrostflakeUtility
/Users/admin/builder/spi-builder-workspace/Sources/FrostflakeUtility/FrostflakeUtility.swift:12:1: warning: extension declares a conformance of imported type 'FrostflakeIdentifier' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Frostflake' introduce this conformance in the future
10 | import Frostflake
11 |
12 | extension FrostflakeIdentifier: ExpressibleByArgument {
   | |- warning: extension declares a conformance of imported type 'FrostflakeIdentifier' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Frostflake' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
13 |     public init?(argument: String) {
14 |         if let frostflakeIdentifier = FrostflakeIdentifier(base58: argument) {
[96/99] Compiling FrostflakeUtility FrostflakeUtility.swift
/Users/admin/builder/spi-builder-workspace/Sources/FrostflakeUtility/FrostflakeUtility.swift:12:1: warning: extension declares a conformance of imported type 'FrostflakeIdentifier' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Frostflake' introduce this conformance in the future
10 | import Frostflake
11 |
12 | extension FrostflakeIdentifier: ExpressibleByArgument {
   | |- warning: extension declares a conformance of imported type 'FrostflakeIdentifier' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Frostflake' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
13 |     public init?(argument: String) {
14 |         if let frostflakeIdentifier = FrostflakeIdentifier(base58: argument) {
[96/99] Write Objects.LinkFileList
[97/99] Linking flake
[98/99] Applying flake
Build complete! (22.63s)
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-system from cache
Fetching https://github.com/apple/swift-argument-parser from cache
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-argument-parser from cache (0.64s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.13s)
Fetched https://github.com/apple/swift-system from cache (1.14s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (1.76s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.88s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.52s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.4.2 (0.48s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.48s)
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-system
Working copy of https://github.com/apple/swift-system resolved at 1.4.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.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.4.3
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "package-frostflake",
  "name" : "package-frostflake",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "Frostflake",
      "targets" : [
        "Frostflake"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "flake",
      "targets" : [
        "FrostflakeUtility"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FrostflakeUtility",
      "module_type" : "SwiftTarget",
      "name" : "FrostflakeUtility",
      "path" : "Sources/FrostflakeUtility",
      "product_dependencies" : [
        "ArgumentParser",
        "SystemPackage"
      ],
      "product_memberships" : [
        "flake"
      ],
      "sources" : [
        "FrostflakeUtility.swift"
      ],
      "target_dependencies" : [
        "Frostflake"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "FrostflakeTests",
      "module_type" : "SwiftTarget",
      "name" : "FrostflakeTests",
      "path" : "Tests/FrostflakeTests",
      "sources" : [
        "EpochDateTime.swift",
        "FrostflakeTests.swift"
      ],
      "target_dependencies" : [
        "FrostflakeUtility",
        "Frostflake"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Frostflake",
      "module_type" : "SwiftTarget",
      "name" : "Frostflake",
      "path" : "Sources/Frostflake",
      "product_memberships" : [
        "Frostflake",
        "flake"
      ],
      "sources" : [
        "Frostflake.swift",
        "FrostflakeDefinitions.swift",
        "FrostflakeHelpers.swift",
        "FrostflakeIdentifier+Base58.swift",
        "FrostflakeIdentifier.swift",
        "Lock.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.