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 SwiftKueryORM, reference 1.0.1 (bce5e0), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 15:12:35 UTC.

Swift 6 data race errors: 3

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 -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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/Swift-Kuery-ORM.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Kitura/Swift-Kuery-ORM
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at bce5e01 Adding a public typealias for Database (#132)
Cloned https://github.com/Kitura/Swift-Kuery-ORM.git
Revision (git rev-parse @):
bce5e015494d714d0974d2dc4336c1c58fd58411
SUCCESS checkout https://github.com/Kitura/Swift-Kuery-ORM.git at 1.0.1
Fetching https://github.com/Kitura/Swift-Kuery.git
Fetching https://github.com/Kitura/TypeDecoder.git
Fetching https://github.com/Kitura/KituraContracts.git
[1/5661] Fetching swift-kuery
[58/6120] Fetching swift-kuery, typedecoder
[150/8666] Fetching swift-kuery, typedecoder, kituracontracts
Fetched https://github.com/Kitura/TypeDecoder.git from cache (3.82s)
Fetched https://github.com/Kitura/KituraContracts.git from cache (3.82s)
Fetched https://github.com/Kitura/Swift-Kuery.git from cache (3.82s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 2.0.0 (0.53s)
Computing version for https://github.com/Kitura/Swift-Kuery.git
Computed https://github.com/Kitura/Swift-Kuery.git at 4.0.0 (0.53s)
Fetching https://github.com/Kitura/LoggerAPI.git
[1/771] Fetching loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git from cache (1.06s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.55s)
Fetching https://github.com/apple/swift-log.git
[1/3709] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.22s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 2.0.0 (0.55s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.42s)
Creating working copy for https://github.com/Kitura/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 2.0.0
Creating working copy for https://github.com/Kitura/TypeDecoder.git
Working copy of https://github.com/Kitura/TypeDecoder.git resolved at 2.0.0
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.200
Creating working copy for https://github.com/Kitura/Swift-Kuery.git
Working copy of https://github.com/Kitura/Swift-Kuery.git resolved at 4.0.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.2
========================================
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-kuery-orm",
      "name": "SwiftKueryORM",
      "url": "https://github.com/Kitura/Swift-Kuery-ORM.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Swift-Kuery-ORM",
      "dependencies": [
        {
          "identity": "swift-kuery",
          "name": "SwiftKuery",
          "url": "https://github.com/Kitura/Swift-Kuery.git",
          "version": "4.0.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Swift-Kuery",
          "dependencies": [
            {
              "identity": "loggerapi",
              "name": "LoggerAPI",
              "url": "https://github.com/Kitura/LoggerAPI.git",
              "version": "1.9.200",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LoggerAPI",
              "dependencies": [
                {
                  "identity": "swift-log",
                  "name": "swift-log",
                  "url": "https://github.com/apple/swift-log.git",
                  "version": "1.6.2",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
                  "dependencies": [
                  ]
                }
              ]
            }
          ]
        },
        {
          "identity": "kituracontracts",
          "name": "KituraContracts",
          "url": "https://github.com/Kitura/KituraContracts.git",
          "version": "2.0.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/KituraContracts",
          "dependencies": [
            {
              "identity": "loggerapi",
              "name": "LoggerAPI",
              "url": "https://github.com/Kitura/LoggerAPI.git",
              "version": "1.9.200",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LoggerAPI",
              "dependencies": [
                {
                  "identity": "swift-log",
                  "name": "swift-log",
                  "url": "https://github.com/apple/swift-log.git",
                  "version": "1.6.2",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
                  "dependencies": [
                  ]
                }
              ]
            }
          ]
        },
        {
          "identity": "typedecoder",
          "name": "TypeDecoder",
          "url": "https://github.com/Kitura/TypeDecoder.git",
          "version": "2.0.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TypeDecoder",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Kitura/Swift-Kuery-ORM.git
[1/1494] Fetching swift-kuery-orm
Fetched https://github.com/Kitura/Swift-Kuery-ORM.git from cache (1.27s)
Fetching https://github.com/Kitura/KituraContracts.git from cache
Fetching https://github.com/Kitura/Swift-Kuery.git from cache
Fetching https://github.com/Kitura/TypeDecoder.git from cache
Fetched https://github.com/Kitura/TypeDecoder.git from cache (0.76s)
Fetched https://github.com/Kitura/Swift-Kuery.git from cache (0.76s)
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.76s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 2.0.0 (0.02s)
Computing version for https://github.com/Kitura/Swift-Kuery.git
Computed https://github.com/Kitura/Swift-Kuery.git at 4.0.0 (0.02s)
Fetching https://github.com/Kitura/LoggerAPI.git from cache
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.45s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.03s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.45s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 2.0.0 (0.02s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.02s)
Creating working copy for https://github.com/Kitura/TypeDecoder.git
Working copy of https://github.com/Kitura/TypeDecoder.git resolved at 2.0.0
Creating working copy for https://github.com/Kitura/Swift-Kuery.git
Working copy of https://github.com/Kitura/Swift-Kuery.git resolved at 4.0.0
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.200
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.2
Creating working copy for https://github.com/Kitura/Swift-Kuery-ORM.git
Working copy of https://github.com/Kitura/Swift-Kuery-ORM.git resolved at 1.0.1 (bce5e01)
Creating working copy for https://github.com/Kitura/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 2.0.0
warning: '.resolve-product-dependencies': dependency 'swift-kuery-orm' is not used by any target
Found 3 product dependencies
  - SwiftKuery
  - KituraContracts
  - TypeDecoder
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Kitura/Swift-Kuery-ORM.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 -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
[6/7] Write swift-version--7754E27361AE5C74.txt
[8/15] Compiling Logging MetadataProvider.swift
[9/15] Compiling Logging LogHandler.swift
[10/15] Compiling Logging Locks.swift
[11/15] Emitting module Logging
[12/15] Compiling Logging Logging.swift
[13/17] Compiling TypeDecoder OrderedDictionary.swift
[14/17] Compiling LoggerAPI Logger.swift
[15/17] Emitting module LoggerAPI
[16/17] Compiling TypeDecoder TypeDecoder.swift
[17/17] Emitting module TypeDecoder
[18/73] Compiling SwiftKuery RawField.swift
[19/73] Compiling SwiftKuery ResultFetcher.swift
[20/73] Compiling SwiftKuery ResultSet.swift
[21/73] Compiling SwiftKuery SQLDataType.swift
[22/73] Compiling SwiftKuery ScalarColumnExpression.swift
[23/77] Emitting module KituraContracts
[24/77] Compiling KituraContracts BodyEncoder.swift
[25/77] Compiling SwiftKuery ConnectionPoolConnection.swift
[26/77] Compiling SwiftKuery ConnectionPoolOptions.swift
[27/77] Compiling SwiftKuery Delete.swift
[28/77] Compiling SwiftKuery Field.swift
[29/77] Compiling SwiftKuery Filter.swift
[30/77] Compiling SwiftKuery AggregateColumnExpression.swift
[31/77] Compiling SwiftKuery AuxiliaryTable.swift
[32/77] Compiling SwiftKuery Buildable.swift
[33/77] Compiling SwiftKuery Column.swift
[34/77] Compiling SwiftKuery ColumnAndExpressions_Extensions.swift
[35/77] Compiling SwiftKuery Union.swift
[36/77] Compiling SwiftKuery Update.swift
[37/77] Compiling SwiftKuery Utils.swift
[38/77] Compiling SwiftKuery With.swift
[39/77] Emitting module SwiftKuery
[40/77] Compiling KituraContracts QueryDecoder.swift
[41/77] Compiling KituraContracts Extensions.swift
[42/77] Compiling KituraContracts QueryEncoder.swift
[43/77] Compiling KituraContracts Coder.swift
[44/77] Compiling KituraContracts ClosureAliases.swift
[45/77] Compiling KituraContracts BodyDecoder.swift
[46/77] Compiling KituraContracts BodyFormat.swift
[47/77] Compiling KituraContracts Contracts.swift
[48/77] Compiling SwiftKuery FilterAndHaving_Extensions.swift
[49/77] Compiling SwiftKuery FilterAndHaving_GlobalFunctions.swift
[50/77] Compiling SwiftKuery ForeignKey.swift
[51/77] Compiling SwiftKuery Having.swift
[52/77] Compiling SwiftKuery Index.swift
[53/77] Compiling SwiftKuery IndexColumn.swift
[54/77] Compiling SwiftKuery IndexColumnOrdered.swift
[55/77] Compiling SwiftKuery Insert.swift
[56/77] Compiling SwiftKuery Join.swift
[57/77] Compiling SwiftKuery Migration.swift
[58/77] Compiling SwiftKuery QueryBuilder.swift
[59/77] Compiling SwiftKuery QueryError.swift
[60/77] Compiling SwiftKuery QueryResult.swift
[61/77] Compiling SwiftKuery QuerySuffixProtocol.swift
[62/77] Compiling SwiftKuery Raw.swift
[63/77] Compiling SwiftKuery ColumnCreator.swift
[64/77] Compiling SwiftKuery Condition.swift
[65/77] Compiling SwiftKuery ConditionalClause.swift
[66/77] Compiling SwiftKuery Connection.swift
[67/77] Compiling SwiftKuery ConnectionPool.swift
[68/77] Compiling SwiftKuery OrderBy.swift
[69/77] Compiling SwiftKuery Parameter.swift
[70/77] Compiling SwiftKuery Predicate.swift
[71/77] Compiling SwiftKuery PreparedStatement.swift
[72/77] Compiling SwiftKuery Query.swift
[73/77] Compiling SwiftKuery Select.swift
[74/77] Compiling SwiftKuery SpecialOperators_Extensions.swift
[75/77] Compiling SwiftKuery String+Buildable.swift
[76/77] Compiling SwiftKuery Subqueries_GlobalFunctionsAndExtensions.swift
[77/77] Compiling SwiftKuery Table.swift
[78/84] Compiling SwiftKueryORM TypeAliases.swift
[79/84] Compiling SwiftKueryORM DatabaseEncoder.swift
[80/84] Compiling SwiftKueryORM TableInfo.swift
[81/84] Compiling SwiftKueryORM DatabaseDecoder.swift
[82/84] Emitting module SwiftKueryORM
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKueryORM/Database.swift:42:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 |     /// Global default Database for the application
 42 |     public static var `default`: Database?
    |                       |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'default' 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
 43 |
 44 |     /// Instance of TableInfo containing cached tables
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKueryORM/Database.swift:45:23: warning: static property 'tableInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 43 |
 44 |     /// Instance of TableInfo containing cached tables
 45 |     public static var tableInfo = TableInfo()
    |                       |- warning: static property 'tableInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'tableInfo' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'tableInfo' 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
 46 |
 47 |     /// Enum defining the connection strategy: a connection pool or custom
[83/84] Compiling SwiftKueryORM Database.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKueryORM/Database.swift:42:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 |     /// Global default Database for the application
 42 |     public static var `default`: Database?
    |                       |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'default' 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
 43 |
 44 |     /// Instance of TableInfo containing cached tables
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKueryORM/Database.swift:45:23: warning: static property 'tableInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 43 |
 44 |     /// Instance of TableInfo containing cached tables
 45 |     public static var tableInfo = TableInfo()
    |                       |- warning: static property 'tableInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'tableInfo' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'tableInfo' 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
 46 |
 47 |     /// Enum defining the connection strategy: a connection pool or custom
[84/84] Compiling SwiftKueryORM Model.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKueryORM/Database.swift:42:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 |     /// Global default Database for the application
 42 |     public static var `default`: Database?
    |                       |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'default' 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
 43 |
 44 |     /// Instance of TableInfo containing cached tables
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKueryORM/Database.swift:45:23: warning: static property 'tableInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 43 |
 44 |     /// Instance of TableInfo containing cached tables
 45 |     public static var tableInfo = TableInfo()
    |                       |- warning: static property 'tableInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'tableInfo' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'tableInfo' 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
 46 |
 47 |     /// Enum defining the connection strategy: a connection pool or custom
Build complete! (13.36s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-kuery",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kitura/Swift-Kuery.git"
    },
    {
      "identity" : "kituracontracts",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kitura/KituraContracts.git"
    },
    {
      "identity" : "typedecoder",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kitura/TypeDecoder.git"
    }
  ],
  "manifest_display_name" : "SwiftKueryORM",
  "name" : "SwiftKueryORM",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftKueryORM",
      "targets" : [
        "SwiftKueryORM"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftKueryORMTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftKueryORMTests",
      "path" : "Tests/SwiftKueryORMTests",
      "product_dependencies" : [
        "KituraContracts"
      ],
      "sources" : [
        "CommonUtils.swift",
        "Test.swift",
        "TestDelete.swift",
        "TestFind.swift",
        "TestId.swift",
        "TestSave.swift",
        "TestTable.swift",
        "TestUpdate.swift"
      ],
      "target_dependencies" : [
        "SwiftKueryORM"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftKueryORM",
      "module_type" : "SwiftTarget",
      "name" : "SwiftKueryORM",
      "path" : "Sources/SwiftKueryORM",
      "product_dependencies" : [
        "SwiftKuery",
        "KituraContracts",
        "TypeDecoder"
      ],
      "product_memberships" : [
        "SwiftKueryORM"
      ],
      "sources" : [
        "Database.swift",
        "DatabaseDecoder.swift",
        "DatabaseEncoder.swift",
        "Model.swift",
        "TableInfo.swift",
        "TypeAliases.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.