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 SwiftBeanCountCompassCardMapper, reference v0.1.1 (c1af5f), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 21:16:29 UTC.

Swift 6 data race errors: 2

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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Nef10/SwiftBeanCountCompassCardMapper.git
Reference: v0.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Nef10/SwiftBeanCountCompassCardMapper
 * tag               v0.1.1     -> FETCH_HEAD
HEAD is now at c1af5fc Fix webloads have second transaction after taping
Cloned https://github.com/Nef10/SwiftBeanCountCompassCardMapper.git
Revision (git rev-parse @):
c1af5fc33aa9062ce635f77bacc722a085a90d2b
SUCCESS checkout https://github.com/Nef10/SwiftBeanCountCompassCardMapper.git at v0.1.1
Fetching https://github.com/Nef10/SwiftBeanCountModel.git
Fetching https://github.com/Nef10/SwiftBeanCountParserUtils.git
Fetching https://github.com/yaslab/CSV.swift.git
[1/837] Fetching swiftbeancountparserutils
[10/2664] Fetching swiftbeancountparserutils, csv.swift
[529/5931] Fetching swiftbeancountparserutils, csv.swift, swiftbeancountmodel
Fetched https://github.com/yaslab/CSV.swift.git from cache (1.25s)
Fetched https://github.com/Nef10/SwiftBeanCountModel.git from cache (1.25s)
Fetched https://github.com/Nef10/SwiftBeanCountParserUtils.git from cache (1.25s)
Computing version for https://github.com/yaslab/CSV.swift.git
Computed https://github.com/yaslab/CSV.swift.git at 2.5.0 (0.57s)
Computing version for https://github.com/Nef10/SwiftBeanCountModel.git
Computed https://github.com/Nef10/SwiftBeanCountModel.git at 0.1.6 (0.56s)
Computing version for https://github.com/Nef10/SwiftBeanCountParserUtils.git
Computed https://github.com/Nef10/SwiftBeanCountParserUtils.git at 1.0.0 (0.56s)
Creating working copy for https://github.com/yaslab/CSV.swift.git
Working copy of https://github.com/yaslab/CSV.swift.git resolved at 2.5.0
Creating working copy for https://github.com/Nef10/SwiftBeanCountModel.git
Working copy of https://github.com/Nef10/SwiftBeanCountModel.git resolved at 0.1.6
Creating working copy for https://github.com/Nef10/SwiftBeanCountParserUtils.git
Working copy of https://github.com/Nef10/SwiftBeanCountParserUtils.git resolved at 1.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": "swiftbeancountcompasscardmapper",
      "name": "SwiftBeanCountCompassCardMapper",
      "url": "https://github.com/Nef10/SwiftBeanCountCompassCardMapper.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftBeanCountCompassCardMapper",
      "dependencies": [
        {
          "identity": "swiftbeancountparserutils",
          "name": "SwiftBeanCountParserUtils",
          "url": "https://github.com/Nef10/SwiftBeanCountParserUtils.git",
          "version": "1.0.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftBeanCountParserUtils",
          "dependencies": [
          ]
        },
        {
          "identity": "swiftbeancountmodel",
          "name": "SwiftBeanCountModel",
          "url": "https://github.com/Nef10/SwiftBeanCountModel.git",
          "version": "0.1.6",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftBeanCountModel",
          "dependencies": [
          ]
        },
        {
          "identity": "csv.swift",
          "name": "CSV.swift",
          "url": "https://github.com/yaslab/CSV.swift.git",
          "version": "2.5.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CSV.swift",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Nef10/SwiftBeanCountCompassCardMapper.git
[1/459] Fetching swiftbeancountcompasscardmapper
Fetched https://github.com/Nef10/SwiftBeanCountCompassCardMapper.git from cache (0.94s)
Fetching https://github.com/Nef10/SwiftBeanCountParserUtils.git from cache
Fetching https://github.com/yaslab/CSV.swift.git from cache
Fetching https://github.com/Nef10/SwiftBeanCountModel.git from cache
Fetched https://github.com/Nef10/SwiftBeanCountParserUtils.git from cache (0.53s)
Fetched https://github.com/yaslab/CSV.swift.git from cache (0.53s)
Fetched https://github.com/Nef10/SwiftBeanCountModel.git from cache (0.53s)
Computing version for https://github.com/Nef10/SwiftBeanCountModel.git
Computed https://github.com/Nef10/SwiftBeanCountModel.git at 0.1.6 (0.02s)
Computing version for https://github.com/Nef10/SwiftBeanCountParserUtils.git
Computed https://github.com/Nef10/SwiftBeanCountParserUtils.git at 1.0.0 (0.02s)
Computing version for https://github.com/yaslab/CSV.swift.git
Computed https://github.com/yaslab/CSV.swift.git at 2.5.2 (0.02s)
Creating working copy for https://github.com/Nef10/SwiftBeanCountParserUtils.git
Working copy of https://github.com/Nef10/SwiftBeanCountParserUtils.git resolved at 1.0.0
Creating working copy for https://github.com/Nef10/SwiftBeanCountModel.git
Working copy of https://github.com/Nef10/SwiftBeanCountModel.git resolved at 0.1.6
Creating working copy for https://github.com/yaslab/CSV.swift.git
Working copy of https://github.com/yaslab/CSV.swift.git resolved at 2.5.2
Creating working copy for https://github.com/Nef10/SwiftBeanCountCompassCardMapper.git
Working copy of https://github.com/Nef10/SwiftBeanCountCompassCardMapper.git resolved at v0.1.1 (c1af5fc)
warning: '.resolve-product-dependencies': dependency 'swiftbeancountcompasscardmapper' is not used by any target
Found 3 product dependencies
  - SwiftBeanCountParserUtils
  - SwiftBeanCountModel
  - CSV.swift
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Nef10/SwiftBeanCountCompassCardMapper.git
{
  "dependencies" : [
    {
      "identity" : "swiftbeancountparserutils",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Nef10/SwiftBeanCountParserUtils.git"
    },
    {
      "identity" : "swiftbeancountmodel",
      "requirement" : {
        "exact" : [
          "0.1.6"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Nef10/SwiftBeanCountModel.git"
    },
    {
      "identity" : "csv.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.4.3",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/yaslab/CSV.swift.git"
    }
  ],
  "manifest_display_name" : "SwiftBeanCountCompassCardMapper",
  "name" : "SwiftBeanCountCompassCardMapper",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftBeanCountCompassCardMapper",
      "targets" : [
        "SwiftBeanCountCompassCardMapper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftBeanCountCompassCardMapperTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBeanCountCompassCardMapperTests",
      "path" : "Tests/SwiftBeanCountCompassCardMapperTests",
      "sources" : [
        "SwiftBeanCountCompassCardMapperErrorTests.swift",
        "SwiftBeanCountCompassCardMapperTests.swift"
      ],
      "target_dependencies" : [
        "SwiftBeanCountCompassCardMapper"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftBeanCountCompassCardMapper",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBeanCountCompassCardMapper",
      "path" : "Sources/SwiftBeanCountCompassCardMapper",
      "product_dependencies" : [
        "SwiftBeanCountParserUtils",
        "SwiftBeanCountModel",
        "CSV"
      ],
      "product_memberships" : [
        "SwiftBeanCountCompassCardMapper"
      ],
      "sources" : [
        "SwiftBeanCountCompassCardMapper.swift",
        "SwiftBeanCountCompassCardMapperError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
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/5] Write sources
[4/5] Write swift-version--7754E27361AE5C74.txt
[6/35] Compiling CSV Legacy.swift
[7/35] Compiling SwiftBeanCountParserUtils String.swift
[8/35] Emitting module SwiftBeanCountParserUtils
[9/35] Compiling SwiftBeanCountModel Ledger.swift
[10/35] Compiling SwiftBeanCountModel MultiCurrencyAmount.swift
[11/35] Compiling SwiftBeanCountModel Flag.swift
[12/35] Compiling SwiftBeanCountModel Inventory.swift
[13/36] Compiling CSV UnicodeIterator.swift
[14/36] Compiling CSV Endian.swift
[15/36] Compiling CSV CSVWriter.swift
[16/36] Compiling SwiftBeanCountModel TransactionMetaData.swift
[17/36] Compiling SwiftBeanCountModel TransactionPosting.swift
[18/36] Compiling CSV CSVReader.swift
[19/36] Compiling CSV CSVError.swift
[20/36] Emitting module CSV
[21/36] Compiling CSV BinaryReader.swift
[22/36] Compiling CSV CSVRowDecoder.swift
[23/36] Compiling SwiftBeanCountModel Custom.swift
[24/36] Compiling SwiftBeanCountModel Event.swift
[25/36] Compiling SwiftBeanCountModel Commodity.swift
[26/36] Compiling SwiftBeanCountModel Cost.swift
[27/36] Compiling SwiftBeanCountModel Option.swift
[28/36] Compiling SwiftBeanCountModel Price.swift
[29/36] Emitting module SwiftBeanCountModel
[30/36] Compiling SwiftBeanCountModel Amount.swift
[31/36] Compiling SwiftBeanCountModel Balance.swift
[32/36] Compiling SwiftBeanCountModel Tag.swift
[33/36] Compiling SwiftBeanCountModel Transaction.swift
[34/36] Compiling SwiftBeanCountModel Account.swift
[35/36] Compiling SwiftBeanCountModel AccountName.swift
[36/36] Compiling SwiftBeanCountModel ValidationResult.swift
[37/39] Compiling SwiftBeanCountCompassCardMapper SwiftBeanCountCompassCardMapperError.swift
[38/39] Emitting module SwiftBeanCountCompassCardMapper
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountCompassCardMapper/SwiftBeanCountCompassCardMapper.swift:34:24: warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private static var dateFormatter: DateFormatter = {
    |                        |- warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'dateFormatter' 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
 35 |         var dateFormatter = DateFormatter()
 36 |         dateFormatter.dateFormat = "MMM-dd-yyyy hh:mm a"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountCompassCardMapper/SwiftBeanCountCompassCardMapper.swift:41:24: warning: static property 'dateFormatterLoadId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 39 |     }()
 40 |
 41 |     private static var dateFormatterLoadId: DateFormatter = {
    |                        |- warning: static property 'dateFormatterLoadId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'dateFormatterLoadId' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'dateFormatterLoadId' 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
 42 |         var dateFormatter = DateFormatter()
 43 |         dateFormatter.dateFormat = "yyyy-MM-dd-HH-mm"
[39/39] Compiling SwiftBeanCountCompassCardMapper SwiftBeanCountCompassCardMapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountCompassCardMapper/SwiftBeanCountCompassCardMapper.swift:34:24: warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 32 |     }
 33 |
 34 |     private static var dateFormatter: DateFormatter = {
    |                        |- warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'dateFormatter' 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
 35 |         var dateFormatter = DateFormatter()
 36 |         dateFormatter.dateFormat = "MMM-dd-yyyy hh:mm a"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountCompassCardMapper/SwiftBeanCountCompassCardMapper.swift:41:24: warning: static property 'dateFormatterLoadId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 39 |     }()
 40 |
 41 |     private static var dateFormatterLoadId: DateFormatter = {
    |                        |- warning: static property 'dateFormatterLoadId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'dateFormatterLoadId' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'dateFormatterLoadId' 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
 42 |         var dateFormatter = DateFormatter()
 43 |         dateFormatter.dateFormat = "yyyy-MM-dd-HH-mm"
Build complete! (29.92s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftbeancountparserutils",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Nef10/SwiftBeanCountParserUtils.git"
    },
    {
      "identity" : "swiftbeancountmodel",
      "requirement" : {
        "exact" : [
          "0.1.6"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Nef10/SwiftBeanCountModel.git"
    },
    {
      "identity" : "csv.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.4.3",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/yaslab/CSV.swift.git"
    }
  ],
  "manifest_display_name" : "SwiftBeanCountCompassCardMapper",
  "name" : "SwiftBeanCountCompassCardMapper",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftBeanCountCompassCardMapper",
      "targets" : [
        "SwiftBeanCountCompassCardMapper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftBeanCountCompassCardMapperTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBeanCountCompassCardMapperTests",
      "path" : "Tests/SwiftBeanCountCompassCardMapperTests",
      "sources" : [
        "SwiftBeanCountCompassCardMapperErrorTests.swift",
        "SwiftBeanCountCompassCardMapperTests.swift"
      ],
      "target_dependencies" : [
        "SwiftBeanCountCompassCardMapper"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftBeanCountCompassCardMapper",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBeanCountCompassCardMapper",
      "path" : "Sources/SwiftBeanCountCompassCardMapper",
      "product_dependencies" : [
        "SwiftBeanCountParserUtils",
        "SwiftBeanCountModel",
        "CSV"
      ],
      "product_memberships" : [
        "SwiftBeanCountCompassCardMapper"
      ],
      "sources" : [
        "SwiftBeanCountCompassCardMapper.swift",
        "SwiftBeanCountCompassCardMapperError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.