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 StORM, reference 3.3.0 (6b29b6), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 05:25:14 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftORM/Storm.git
Reference: 3.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftORM/Storm
 * tag               3.3.0      -> FETCH_HEAD
HEAD is now at 6b29b65 Switched back moment repo
Cloned https://github.com/SwiftORM/Storm.git
Revision (git rev-parse @):
6b29b65bae2b15c7c32c151141f9b3345ec7c881
SUCCESS checkout https://github.com/SwiftORM/Storm.git at 3.3.0
Fetching https://github.com/iamjono/SwiftMoment.git
Fetching https://github.com/PerfectlySoft/PerfectLib.git
[1/877] Fetching swiftmoment
[273/11661] Fetching swiftmoment, perfectlib
Fetched https://github.com/iamjono/SwiftMoment.git from cache (3.07s)
Fetched https://github.com/PerfectlySoft/PerfectLib.git from cache (3.07s)
Computing version for https://github.com/iamjono/SwiftMoment.git
Computed https://github.com/iamjono/SwiftMoment.git at 1.3.0 (0.66s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 3.1.4 (2.66s)
Creating working copy for https://github.com/iamjono/SwiftMoment.git
Working copy of https://github.com/iamjono/SwiftMoment.git resolved at 1.3.0
Creating working copy for https://github.com/PerfectlySoft/PerfectLib.git
Working copy of https://github.com/PerfectlySoft/PerfectLib.git resolved at 3.1.4
========================================
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": "storm",
      "name": "StORM",
      "url": "https://github.com/SwiftORM/Storm.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Storm",
      "dependencies": [
        {
          "identity": "perfectlib",
          "name": "PerfectLib",
          "url": "https://github.com/PerfectlySoft/PerfectLib.git",
          "version": "3.1.4",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PerfectLib",
          "dependencies": [
          ]
        },
        {
          "identity": "swiftmoment",
          "name": "SwiftMoment",
          "url": "https://github.com/iamjono/SwiftMoment.git",
          "version": "1.3.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftMoment",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/SwiftORM/Storm.git
[1/702] Fetching storm
Fetched https://github.com/SwiftORM/Storm.git from cache (0.74s)
Fetching https://github.com/iamjono/SwiftMoment.git from cache
Fetching https://github.com/PerfectlySoft/PerfectLib.git from cache
Fetched https://github.com/iamjono/SwiftMoment.git from cache (0.47s)
Fetched https://github.com/PerfectlySoft/PerfectLib.git from cache (0.47s)
Computing version for https://github.com/iamjono/SwiftMoment.git
Computed https://github.com/iamjono/SwiftMoment.git at 1.3.0 (0.03s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 3.1.4 (0.03s)
Creating working copy for https://github.com/iamjono/SwiftMoment.git
Working copy of https://github.com/iamjono/SwiftMoment.git resolved at 1.3.0
Creating working copy for https://github.com/PerfectlySoft/PerfectLib.git
Working copy of https://github.com/PerfectlySoft/PerfectLib.git resolved at 3.1.4
Creating working copy for https://github.com/SwiftORM/Storm.git
Working copy of https://github.com/SwiftORM/Storm.git resolved at 3.3.0 (6b29b65)
warning: '.resolve-product-dependencies': dependency 'storm' is not used by any target
Found 2 product dependencies
  - PerfectLib
  - SwiftMoment
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/SwiftORM/Storm.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/21] Compiling SwiftMoment TimeUnit.swift
[6/21] Compiling SwiftMoment Operators.swift
[7/21] Compiling PerfectLib PerfectError.swift
[8/21] Compiling PerfectLib PerfectServer.swift
[9/21] Compiling PerfectLib Log.swift
[10/21] Emitting module PerfectLib
[11/21] Compiling PerfectLib Dir.swift
[12/21] Compiling PerfectLib Bytes.swift
[13/21] Compiling PerfectLib File.swift
[14/21] Compiling PerfectLib JSONConvertible.swift
[15/21] Compiling SwiftMoment MomentFromNow.swift
[16/21] Compiling PerfectLib SysProcess.swift
[17/21] Compiling PerfectLib Utilities.swift
[18/21] Compiling SwiftMoment Extensions.swift
[19/21] Emitting module SwiftMoment
[20/21] Compiling SwiftMoment Moment.swift
[21/21] Compiling SwiftMoment Duration.swift
[22/33] Compiling StORM StORMError.swift
[23/33] Compiling StORM StORMJoins.swift
[24/33] Compiling StORM StORMDataSourceOptions.swift
[25/33] Compiling StORM StORMDataSource.swift
[26/34] Compiling StORM StORMConnect.swift
[27/34] Compiling StORM StORMCursor.swift
[28/34] Compiling StORM StORMDataSourceCredentials.swift
[29/34] Compiling StORM StORMProtocol.swift
[30/34] Compiling StORM StORMRow.swift
/Users/admin/builder/spi-builder-workspace/Sources/StORM/StORMRow.swift:24:14: warning: 'UUID' is deprecated: Use Foundation.UUID
22 |
23 | 	/// The idUUID is the container for a UUID ID value.
24 | 	var idUUID: UUID		= UUID()
   |              `- warning: 'UUID' is deprecated: Use Foundation.UUID
25 |
26 | 	/// The idString is the container for a textual ID value.
/Users/admin/builder/spi-builder-workspace/Sources/StORM/StORMRow.swift:24:22: warning: 'UUID' is deprecated: Use Foundation.UUID
22 |
23 | 	/// The idUUID is the container for a UUID ID value.
24 | 	var idUUID: UUID		= UUID()
   |                      `- warning: 'UUID' is deprecated: Use Foundation.UUID
25 |
26 | 	/// The idString is the container for a textual ID value.
/Users/admin/builder/spi-builder-workspace/Sources/StORM/StORMRow.swift:44:24: warning: 'UUID' is deprecated: Use Foundation.UUID
42 |
43 | 	/// Used to set the id value of the row if a UUID
44 | 	public func id(_ val: UUID) {
   |                        `- warning: 'UUID' is deprecated: Use Foundation.UUID
45 | 		idType		= .UUID
46 | 		idUUID		= val
[31/34] Compiling StORM StORMtResultSet.swift
[32/34] Emitting module StORM
/Users/admin/builder/spi-builder-workspace/Sources/StORM/StORM.swift:12:12: warning: var 'StORMdebug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 10 | /// Variable defining the global debug state for all classes inheriting from the StORM superclass.
 11 | /// When true, certain methods will generate a debug message under certain conditions.
 12 | public var StORMdebug = false
    |            |- warning: var 'StORMdebug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'StORMdebug' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: annotate 'StORMdebug' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/StORM/StORMRow.swift:24:14: warning: 'UUID' is deprecated: Use Foundation.UUID
22 |
23 | 	/// The idUUID is the container for a UUID ID value.
24 | 	var idUUID: UUID		= UUID()
   |              `- warning: 'UUID' is deprecated: Use Foundation.UUID
25 |
26 | 	/// The idString is the container for a textual ID value.
/Users/admin/builder/spi-builder-workspace/Sources/StORM/StORMRow.swift:24:22: warning: 'UUID' is deprecated: Use Foundation.UUID
22 |
23 | 	/// The idUUID is the container for a UUID ID value.
24 | 	var idUUID: UUID		= UUID()
   |                      `- warning: 'UUID' is deprecated: Use Foundation.UUID
25 |
26 | 	/// The idString is the container for a textual ID value.
/Users/admin/builder/spi-builder-workspace/Sources/StORM/StORMRow.swift:44:24: warning: 'UUID' is deprecated: Use Foundation.UUID
42 |
43 | 	/// Used to set the id value of the row if a UUID
44 | 	public func id(_ val: UUID) {
   |                        `- warning: 'UUID' is deprecated: Use Foundation.UUID
45 | 		idType		= .UUID
46 | 		idUUID		= val
[33/34] Compiling StORM Extract.swift
/Users/admin/builder/spi-builder-workspace/Sources/StORM/StORM.swift:12:12: warning: var 'StORMdebug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 10 | /// Variable defining the global debug state for all classes inheriting from the StORM superclass.
 11 | /// When true, certain methods will generate a debug message under certain conditions.
 12 | public var StORMdebug = false
    |            |- warning: var 'StORMdebug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'StORMdebug' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: annotate 'StORMdebug' 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 |
[34/34] Compiling StORM StORM.swift
/Users/admin/builder/spi-builder-workspace/Sources/StORM/StORM.swift:12:12: warning: var 'StORMdebug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 10 | /// Variable defining the global debug state for all classes inheriting from the StORM superclass.
 11 | /// When true, certain methods will generate a debug message under certain conditions.
 12 | public var StORMdebug = false
    |            |- warning: var 'StORMdebug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'StORMdebug' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: annotate 'StORMdebug' 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 |
Build complete! (18.56s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "perfectlib",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/PerfectlySoft/PerfectLib.git"
    },
    {
      "identity" : "swiftmoment",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/iamjono/SwiftMoment.git"
    }
  ],
  "manifest_display_name" : "StORM",
  "name" : "StORM",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "StORM",
      "targets" : [
        "StORM"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "StORM",
      "module_type" : "SwiftTarget",
      "name" : "StORM",
      "path" : "Sources/StORM",
      "product_dependencies" : [
        "SwiftMoment",
        "PerfectLib"
      ],
      "product_memberships" : [
        "StORM"
      ],
      "sources" : [
        "Extract.swift",
        "StORM.swift",
        "StORMConnect.swift",
        "StORMCursor.swift",
        "StORMDataSource.swift",
        "StORMDataSourceCredentials.swift",
        "StORMDataSourceOptions.swift",
        "StORMError.swift",
        "StORMJoins.swift",
        "StORMProtocol.swift",
        "StORMRow.swift",
        "StORMtResultSet.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Done.