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 SwiftBeanCountWealthsimpleMapper, reference v1.6.2 (49a0d3), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 11:52:09 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/Nef10/SwiftBeanCountWealthsimpleMapper.git
Reference: v1.6.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Nef10/SwiftBeanCountWealthsimpleMapper
 * tag               v1.6.2     -> FETCH_HEAD
HEAD is now at 49a0d32 Allow dynamic specification of account for more transaction types (#258)
Cloned https://github.com/Nef10/SwiftBeanCountWealthsimpleMapper.git
Revision (git rev-parse @):
49a0d32f6fecd8cab5003f54fdf161784bab245b
SUCCESS checkout https://github.com/Nef10/SwiftBeanCountWealthsimpleMapper.git at v1.6.2
Fetching https://github.com/Nef10/WealthsimpleDownloader.git
Fetching https://github.com/Nef10/SwiftBeanCountModel.git
Fetching https://github.com/Nef10/SwiftBeanCountParserUtils.git
[1/1855] Fetching wealthsimpledownloader
[57/2692] Fetching wealthsimpledownloader, swiftbeancountparserutils
[1402/5959] Fetching wealthsimpledownloader, swiftbeancountparserutils, swiftbeancountmodel
Fetched https://github.com/Nef10/WealthsimpleDownloader.git from cache (1.12s)
[2144/4104] Fetching swiftbeancountparserutils, swiftbeancountmodel
Fetched https://github.com/Nef10/SwiftBeanCountParserUtils.git from cache (1.31s)
Fetched https://github.com/Nef10/SwiftBeanCountModel.git from cache (1.31s)
Computing version for https://github.com/Nef10/WealthsimpleDownloader.git
Computed https://github.com/Nef10/WealthsimpleDownloader.git at 2.0.2 (0.68s)
Computing version for https://github.com/Nef10/SwiftBeanCountParserUtils.git
Computed https://github.com/Nef10/SwiftBeanCountParserUtils.git at 1.0.0 (0.65s)
Computing version for https://github.com/Nef10/SwiftBeanCountModel.git
Computed https://github.com/Nef10/SwiftBeanCountModel.git at 0.1.6 (0.65s)
Creating working copy for https://github.com/Nef10/WealthsimpleDownloader.git
Working copy of https://github.com/Nef10/WealthsimpleDownloader.git resolved at 2.0.2
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
========================================
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": "swiftbeancountwealthsimplemapper",
      "name": "SwiftBeanCountWealthsimpleMapper",
      "url": "https://github.com/Nef10/SwiftBeanCountWealthsimpleMapper.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftBeanCountWealthsimpleMapper",
      "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": "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": "wealthsimpledownloader",
          "name": "WealthsimpleDownloader",
          "url": "https://github.com/Nef10/WealthsimpleDownloader.git",
          "version": "2.0.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WealthsimpleDownloader",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Nef10/SwiftBeanCountWealthsimpleMapper.git
[1/1883] Fetching swiftbeancountwealthsimplemapper
Fetched https://github.com/Nef10/SwiftBeanCountWealthsimpleMapper.git from cache (1.16s)
Fetching https://github.com/Nef10/SwiftBeanCountModel.git from cache
Fetching https://github.com/Nef10/SwiftBeanCountParserUtils.git from cache
Fetching https://github.com/Nef10/WealthsimpleDownloader.git from cache
Fetched https://github.com/Nef10/WealthsimpleDownloader.git from cache (0.55s)
Fetched https://github.com/Nef10/SwiftBeanCountModel.git from cache (0.55s)
Fetched https://github.com/Nef10/SwiftBeanCountParserUtils.git from cache (0.55s)
Computing version for https://github.com/Nef10/WealthsimpleDownloader.git
Computed https://github.com/Nef10/WealthsimpleDownloader.git at 2.0.2 (0.03s)
Computing version for https://github.com/Nef10/SwiftBeanCountParserUtils.git
Computed https://github.com/Nef10/SwiftBeanCountParserUtils.git at 1.0.0 (0.03s)
Computing version for https://github.com/Nef10/SwiftBeanCountModel.git
Computed https://github.com/Nef10/SwiftBeanCountModel.git at 0.1.6 (0.02s)
Creating working copy for https://github.com/Nef10/SwiftBeanCountWealthsimpleMapper.git
Working copy of https://github.com/Nef10/SwiftBeanCountWealthsimpleMapper.git resolved at v1.6.2 (49a0d32)
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
Creating working copy for https://github.com/Nef10/WealthsimpleDownloader.git
Working copy of https://github.com/Nef10/WealthsimpleDownloader.git resolved at 2.0.2
warning: '.resolve-product-dependencies': dependency 'swiftbeancountwealthsimplemapper' is not used by any target
Found 3 product dependencies
  - SwiftBeanCountModel
  - SwiftBeanCountParserUtils
  - WealthsimpleDownloader
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Nef10/SwiftBeanCountWealthsimpleMapper.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/5] Write sources
[4/5] Write swift-version--7754E27361AE5C74.txt
[6/35] Compiling SwiftBeanCountParserUtils String.swift
[7/35] Emitting module SwiftBeanCountParserUtils
[8/35] Emitting module Wealthsimple
[9/35] Compiling Wealthsimple WealthsimpleTransaction.swift
[10/35] Compiling Wealthsimple WealthsimpleAccount.swift
[11/35] Compiling Wealthsimple WealthsimplePosition.swift
[12/35] Compiling Wealthsimple TransactionError.swift
[13/35] Compiling Wealthsimple WealthsimpleAsset.swift
[14/35] Compiling Wealthsimple Token.swift
[15/35] Compiling Wealthsimple String+CamelCase.swift
[16/35] Compiling Wealthsimple WealthsimpleDownloader.swift
[17/35] Compiling SwiftBeanCountModel Tag.swift
[18/35] Compiling SwiftBeanCountModel Transaction.swift
[19/36] Compiling SwiftBeanCountModel Custom.swift
[20/36] Compiling SwiftBeanCountModel Event.swift
[21/36] Compiling SwiftBeanCountModel Amount.swift
[22/36] Compiling SwiftBeanCountModel Balance.swift
[23/36] Compiling SwiftBeanCountModel Commodity.swift
[24/36] Compiling SwiftBeanCountModel Cost.swift
[25/36] Compiling SwiftBeanCountModel TransactionMetaData.swift
[26/36] Compiling SwiftBeanCountModel TransactionPosting.swift
[27/36] Emitting module SwiftBeanCountModel
[28/36] Compiling SwiftBeanCountModel Account.swift
[29/36] Compiling SwiftBeanCountModel AccountName.swift
[30/36] Compiling SwiftBeanCountModel Ledger.swift
[31/36] Compiling SwiftBeanCountModel MultiCurrencyAmount.swift
[32/36] Compiling SwiftBeanCountModel Flag.swift
[33/36] Compiling SwiftBeanCountModel Inventory.swift
[34/36] Compiling SwiftBeanCountModel Option.swift
[35/36] Compiling SwiftBeanCountModel Price.swift
[36/36] Compiling SwiftBeanCountModel ValidationResult.swift
[37/44] Compiling SwiftBeanCountWealthsimpleMapper Amount+init.swift
[38/44] Compiling SwiftBeanCountWealthsimpleMapper String+KebabCase.swift
[39/44] Emitting module SwiftBeanCountWealthsimpleMapper
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountWealthsimpleMapper/WealthsimpleLedgerMapper.swift:23:23: warning: static property 'fallbackExpenseAccountName' is not concurrency-safe because non-'Sendable' type 'AccountName' may have shared mutable state; this is an error in the Swift 6 language mode
 21 |     ///
 22 |     /// Only used for certain transaction types
 23 |     public static let fallbackExpenseAccountName = try! AccountName("Expenses:TODO") // swiftlint:disable:this force_try
    |                       `- warning: static property 'fallbackExpenseAccountName' is not concurrency-safe because non-'Sendable' type 'AccountName' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 |     /// Payee used for fee transactions
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftBeanCountModel/Sources/SwiftBeanCountModel/AccountName.swift:18:15: note: struct 'AccountName' does not conform to the 'Sendable' protocol
 16 |
 17 | /// Struct with represents just the name of an Account
 18 | public struct AccountName: AccountItem {
    |               `- note: struct 'AccountName' does not conform to the 'Sendable' protocol
 19 |
 20 |     /// Full quilified name of the account, e.g. Assets:Cash:CAD
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountWealthsimpleMapper/WealthsimpleLedgerMapper.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftBeanCountModel'
  7 |
  8 | import Foundation
  9 | import SwiftBeanCountModel
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftBeanCountModel'
 10 | import SwiftBeanCountParserUtils
 11 | import Wealthsimple
    :
 21 |     ///
 22 |     /// Only used for certain transaction types
 23 |     public static let fallbackExpenseAccountName = try! AccountName("Expenses:TODO") // swiftlint:disable:this force_try
    |                       |- note: annotate 'fallbackExpenseAccountName' 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
 24 |
 25 |     /// Payee used for fee transactions
[40/44] Compiling SwiftBeanCountWealthsimpleMapper WealthsimpleConversionError.swift
[41/44] Compiling SwiftBeanCountWealthsimpleMapper Wealthsimple.Transaction+Helper.swift
[42/44] Compiling SwiftBeanCountWealthsimpleMapper LedgerLookup.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountWealthsimpleMapper/WealthsimpleLedgerMapper.swift:23:23: warning: static property 'fallbackExpenseAccountName' is not concurrency-safe because non-'Sendable' type 'AccountName' may have shared mutable state; this is an error in the Swift 6 language mode
 21 |     ///
 22 |     /// Only used for certain transaction types
 23 |     public static let fallbackExpenseAccountName = try! AccountName("Expenses:TODO") // swiftlint:disable:this force_try
    |                       `- warning: static property 'fallbackExpenseAccountName' is not concurrency-safe because non-'Sendable' type 'AccountName' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 |     /// Payee used for fee transactions
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftBeanCountModel/Sources/SwiftBeanCountModel/AccountName.swift:18:15: note: struct 'AccountName' does not conform to the 'Sendable' protocol
 16 |
 17 | /// Struct with represents just the name of an Account
 18 | public struct AccountName: AccountItem {
    |               `- note: struct 'AccountName' does not conform to the 'Sendable' protocol
 19 |
 20 |     /// Full quilified name of the account, e.g. Assets:Cash:CAD
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountWealthsimpleMapper/WealthsimpleLedgerMapper.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftBeanCountModel'
  7 |
  8 | import Foundation
  9 | import SwiftBeanCountModel
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftBeanCountModel'
 10 | import SwiftBeanCountParserUtils
 11 | import Wealthsimple
    :
 21 |     ///
 22 |     /// Only used for certain transaction types
 23 |     public static let fallbackExpenseAccountName = try! AccountName("Expenses:TODO") // swiftlint:disable:this force_try
    |                       |- note: annotate 'fallbackExpenseAccountName' 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
 24 |
 25 |     /// Payee used for fee transactions
[43/44] Compiling SwiftBeanCountWealthsimpleMapper WealthsimpleLedgerMapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountWealthsimpleMapper/WealthsimpleLedgerMapper.swift:23:23: warning: static property 'fallbackExpenseAccountName' is not concurrency-safe because non-'Sendable' type 'AccountName' may have shared mutable state; this is an error in the Swift 6 language mode
 21 |     ///
 22 |     /// Only used for certain transaction types
 23 |     public static let fallbackExpenseAccountName = try! AccountName("Expenses:TODO") // swiftlint:disable:this force_try
    |                       `- warning: static property 'fallbackExpenseAccountName' is not concurrency-safe because non-'Sendable' type 'AccountName' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 |     /// Payee used for fee transactions
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftBeanCountModel/Sources/SwiftBeanCountModel/AccountName.swift:18:15: note: struct 'AccountName' does not conform to the 'Sendable' protocol
 16 |
 17 | /// Struct with represents just the name of an Account
 18 | public struct AccountName: AccountItem {
    |               `- note: struct 'AccountName' does not conform to the 'Sendable' protocol
 19 |
 20 |     /// Full quilified name of the account, e.g. Assets:Cash:CAD
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountWealthsimpleMapper/WealthsimpleLedgerMapper.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftBeanCountModel'
  7 |
  8 | import Foundation
  9 | import SwiftBeanCountModel
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftBeanCountModel'
 10 | import SwiftBeanCountParserUtils
 11 | import Wealthsimple
    :
 21 |     ///
 22 |     /// Only used for certain transaction types
 23 |     public static let fallbackExpenseAccountName = try! AccountName("Expenses:TODO") // swiftlint:disable:this force_try
    |                       |- note: annotate 'fallbackExpenseAccountName' 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
 24 |
 25 |     /// Payee used for fee transactions
[44/44] Compiling SwiftBeanCountWealthsimpleMapper MetaDataKeys.swift
Build complete! (32.83s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftbeancountmodel",
      "requirement" : {
        "exact" : [
          "0.1.6"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Nef10/SwiftBeanCountModel.git"
    },
    {
      "identity" : "swiftbeancountparserutils",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Nef10/SwiftBeanCountParserUtils.git"
    },
    {
      "identity" : "wealthsimpledownloader",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.2",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Nef10/WealthsimpleDownloader.git"
    }
  ],
  "manifest_display_name" : "SwiftBeanCountWealthsimpleMapper",
  "name" : "SwiftBeanCountWealthsimpleMapper",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftBeanCountWealthsimpleMapper",
      "targets" : [
        "SwiftBeanCountWealthsimpleMapper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftBeanCountWealthsimpleMapperTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBeanCountWealthsimpleMapperTests",
      "path" : "Tests/SwiftBeanCountWealthsimpleMapperTests",
      "sources" : [
        "Extensions/AmountInitTests.swift",
        "Extensions/StringKebabCaseTests.swift",
        "Extensions/TransactionHelperTests.swift",
        "Extensions/XCTestCase.swift",
        "LedgerLookupTests.swift",
        "TestTransaction.swift",
        "WealthsimpleConversionErrorTests.swift",
        "WealthsimpleLedgerMapperTests.swift"
      ],
      "target_dependencies" : [
        "SwiftBeanCountWealthsimpleMapper"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftBeanCountWealthsimpleMapper",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBeanCountWealthsimpleMapper",
      "path" : "Sources/SwiftBeanCountWealthsimpleMapper",
      "product_dependencies" : [
        "SwiftBeanCountModel",
        "SwiftBeanCountParserUtils",
        "Wealthsimple"
      ],
      "product_memberships" : [
        "SwiftBeanCountWealthsimpleMapper"
      ],
      "sources" : [
        "Extensions/Amount+init.swift",
        "Extensions/String+KebabCase.swift",
        "Extensions/Wealthsimple.Transaction+Helper.swift",
        "LedgerLookup.swift",
        "MetaDataKeys.swift",
        "WealthsimpleConversionError.swift",
        "WealthsimpleLedgerMapper.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.