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 SwiftBeanCountSheetSync, reference v1.1.0 (279fb6), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 03:00:45 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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Nef10/SwiftBeanCountSheetSync.git
Reference: v1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Nef10/SwiftBeanCountSheetSync
 * tag               v1.1.0     -> FETCH_HEAD
HEAD is now at 279fb68 Allow creating syncer with already parsed Ledger
Cloned https://github.com/Nef10/SwiftBeanCountSheetSync.git
Revision (git rev-parse @):
279fb68904bad4932d012ea20b42c0b950090675
SUCCESS checkout https://github.com/Nef10/SwiftBeanCountSheetSync.git at v1.1.0
Fetching https://github.com/Nef10/GoogleAuthentication.git
Fetching https://github.com/nvzqz/FileKit.git
Fetching https://github.com/httpswift/swifter.git
Fetching https://github.com/Thomvis/BrightFutures.git
Fetching https://github.com/phimage/Erik.git
Fetching https://github.com/kishikawakatsumi/KeychainAccess.git
Fetching https://github.com/OAuthSwift/OAuthSwift.git
[1/4067] Fetching brightfutures
[42/5042] Fetching brightfutures, googleauthentication
[296/5684] Fetching brightfutures, googleauthentication, erik
[418/8807] Fetching brightfutures, googleauthentication, erik, filekit
[891/14839] Fetching brightfutures, googleauthentication, erik, filekit, swifter
[1140/19966] Fetching brightfutures, googleauthentication, erik, filekit, swifter, oauthswift
[1550/24355] Fetching brightfutures, googleauthentication, erik, filekit, swifter, oauthswift, keychainaccess
Fetched https://github.com/Nef10/GoogleAuthentication.git from cache (0.95s)
[6433/23380] Fetching brightfutures, erik, filekit, swifter, oauthswift, keychainaccess
Fetching https://github.com/Nef10/SwiftBeanCountParser.git
[21398/25494] Fetching brightfutures, erik, filekit, swifter, oauthswift, keychainaccess, swiftbeancountparser
Fetched https://github.com/OAuthSwift/OAuthSwift.git from cache (1.84s)
Fetching https://github.com/tid-kijyun/Kanna.git
[18702/20367] Fetching brightfutures, erik, filekit, swifter, keychainaccess, swiftbeancountparser
Fetched https://github.com/Nef10/SwiftBeanCountParser.git from cache (1.14s)
Fetching https://github.com/Nef10/SwiftBeanCountModel.git
Fetched https://github.com/phimage/Erik.git from cache (2.14s)
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git from cache (2.14s)
Fetched https://github.com/httpswift/swifter.git from cache (2.14s)
Fetched https://github.com/nvzqz/FileKit.git from cache (2.14s)
Fetched https://github.com/Thomvis/BrightFutures.git from cache (2.14s)
[1/2281] Fetching kanna
Fetched https://github.com/tid-kijyun/Kanna.git from cache (0.98s)
[1/3267] Fetching swiftbeancountmodel
Fetched https://github.com/Nef10/SwiftBeanCountModel.git from cache (1.23s)
Computing version for https://github.com/Nef10/GoogleAuthentication.git
Computed https://github.com/Nef10/GoogleAuthentication.git at 1.0.3 (0.54s)
Computing version for https://github.com/Nef10/SwiftBeanCountParser.git
Computed https://github.com/Nef10/SwiftBeanCountParser.git at 0.1.8 (0.53s)
Computing version for https://github.com/Nef10/SwiftBeanCountModel.git
Computed https://github.com/Nef10/SwiftBeanCountModel.git at 0.1.6 (0.54s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess.git
Computed https://github.com/kishikawakatsumi/KeychainAccess.git at 4.2.2 (0.55s)
Computing version for https://github.com/OAuthSwift/OAuthSwift.git
Computed https://github.com/OAuthSwift/OAuthSwift.git at 2.2.0 (0.55s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.5.0 (0.55s)
Computing version for https://github.com/tid-kijyun/Kanna.git
Computed https://github.com/tid-kijyun/Kanna.git at 5.2.7 (0.55s)
Computing version for https://github.com/phimage/Erik.git
Computed https://github.com/phimage/Erik.git at 5.1.0 (0.56s)
Computing version for https://github.com/nvzqz/FileKit.git
Computed https://github.com/nvzqz/FileKit.git at 6.0.0 (0.56s)
Computing version for https://github.com/Thomvis/BrightFutures.git
Computed https://github.com/Thomvis/BrightFutures.git at 8.2.0 (0.56s)
Creating working copy for https://github.com/Thomvis/BrightFutures.git
Working copy of https://github.com/Thomvis/BrightFutures.git resolved at 8.2.0
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess.git
Working copy of https://github.com/kishikawakatsumi/KeychainAccess.git resolved at 4.2.2
Creating working copy for https://github.com/nvzqz/FileKit.git
Working copy of https://github.com/nvzqz/FileKit.git resolved at 6.0.0
Creating working copy for https://github.com/Nef10/SwiftBeanCountParser.git
Working copy of https://github.com/Nef10/SwiftBeanCountParser.git resolved at 0.1.8
Creating working copy for https://github.com/tid-kijyun/Kanna.git
Working copy of https://github.com/tid-kijyun/Kanna.git resolved at 5.2.7
Creating working copy for https://github.com/OAuthSwift/OAuthSwift.git
Working copy of https://github.com/OAuthSwift/OAuthSwift.git resolved at 2.2.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/httpswift/swifter.git
Working copy of https://github.com/httpswift/swifter.git resolved at 1.5.0
Creating working copy for https://github.com/Nef10/GoogleAuthentication.git
Working copy of https://github.com/Nef10/GoogleAuthentication.git resolved at 1.0.3
Creating working copy for https://github.com/phimage/Erik.git
Working copy of https://github.com/phimage/Erik.git resolved at 5.1.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": "swiftbeancountsheetsync",
      "name": "SwiftBeanCountSheetSync",
      "url": "https://github.com/Nef10/SwiftBeanCountSheetSync.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftBeanCountSheetSync",
      "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": "swiftbeancountparser",
          "name": "SwiftBeanCountParser",
          "url": "https://github.com/Nef10/SwiftBeanCountParser.git",
          "version": "0.1.8",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftBeanCountParser",
          "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": "googleauthentication",
          "name": "GoogleAuthentication",
          "url": "https://github.com/Nef10/GoogleAuthentication.git",
          "version": "1.0.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GoogleAuthentication",
          "dependencies": [
            {
              "identity": "oauthswift",
              "name": "OAuthSwift",
              "url": "https://github.com/OAuthSwift/OAuthSwift.git",
              "version": "2.2.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/OAuthSwift",
              "dependencies": [
                {
                  "identity": "erik",
                  "name": "Erik",
                  "url": "https://github.com/phimage/Erik.git",
                  "version": "5.1.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Erik",
                  "dependencies": [
                    {
                      "identity": "kanna",
                      "name": "Kanna",
                      "url": "https://github.com/tid-kijyun/Kanna.git",
                      "version": "5.3.0",
                      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Kanna",
                      "dependencies": [
                      ]
                    },
                    {
                      "identity": "brightfutures",
                      "name": "BrightFutures",
                      "url": "https://github.com/Thomvis/BrightFutures.git",
                      "version": "8.2.0",
                      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BrightFutures",
                      "dependencies": [
                      ]
                    },
                    {
                      "identity": "filekit",
                      "name": "FileKit",
                      "url": "https://github.com/nvzqz/FileKit.git",
                      "version": "6.1.0",
                      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FileKit",
                      "dependencies": [
                      ]
                    }
                  ]
                },
                {
                  "identity": "kanna",
                  "name": "Kanna",
                  "url": "https://github.com/tid-kijyun/Kanna.git",
                  "version": "5.3.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Kanna",
                  "dependencies": [
                  ]
                },
                {
                  "identity": "swifter",
                  "name": "Swifter",
                  "url": "https://github.com/httpswift/swifter.git",
                  "version": "1.5.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swifter",
                  "dependencies": [
                  ]
                }
              ]
            },
            {
              "identity": "keychainaccess",
              "name": "KeychainAccess",
              "url": "https://github.com/kishikawakatsumi/KeychainAccess.git",
              "version": "4.2.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/KeychainAccess",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Nef10/SwiftBeanCountSheetSync.git
[1/1077] Fetching swiftbeancountsheetsync
Fetched https://github.com/Nef10/SwiftBeanCountSheetSync.git from cache (0.97s)
Fetching https://github.com/Nef10/SwiftBeanCountParser.git from cache
Fetching https://github.com/Nef10/SwiftBeanCountModel.git from cache
Fetching https://github.com/Nef10/GoogleAuthentication.git from cache
Fetched https://github.com/Nef10/GoogleAuthentication.git from cache (0.55s)
Fetched https://github.com/Nef10/SwiftBeanCountModel.git from cache (0.55s)
Fetched https://github.com/Nef10/SwiftBeanCountParser.git from cache (0.55s)
Computing version for https://github.com/Nef10/GoogleAuthentication.git
Computed https://github.com/Nef10/GoogleAuthentication.git at 1.0.3 (0.02s)
Fetching https://github.com/kishikawakatsumi/KeychainAccess.git from cache
Fetching https://github.com/OAuthSwift/OAuthSwift.git from cache
Fetched https://github.com/OAuthSwift/OAuthSwift.git from cache (0.58s)
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git from cache (0.58s)
Computing version for https://github.com/Nef10/SwiftBeanCountParser.git
Computed https://github.com/Nef10/SwiftBeanCountParser.git at 0.1.8 (0.02s)
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/OAuthSwift/OAuthSwift.git
Computed https://github.com/OAuthSwift/OAuthSwift.git at 2.2.0 (0.02s)
Fetching https://github.com/httpswift/swifter.git from cache
Fetching https://github.com/tid-kijyun/Kanna.git from cache
Fetching https://github.com/phimage/Erik.git from cache
Fetched https://github.com/tid-kijyun/Kanna.git from cache (0.54s)
Fetched https://github.com/phimage/Erik.git from cache (0.54s)
Fetched https://github.com/httpswift/swifter.git from cache (0.54s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.5.0 (0.02s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess.git
Computed https://github.com/kishikawakatsumi/KeychainAccess.git at 4.2.2 (0.03s)
Computing version for https://github.com/phimage/Erik.git
Computed https://github.com/phimage/Erik.git at 5.1.0 (0.02s)
Fetching https://github.com/Thomvis/BrightFutures.git from cache
Fetching https://github.com/nvzqz/FileKit.git from cache
Fetched https://github.com/Thomvis/BrightFutures.git from cache (0.47s)
Fetched https://github.com/nvzqz/FileKit.git from cache (0.47s)
Computing version for https://github.com/nvzqz/FileKit.git
Computed https://github.com/nvzqz/FileKit.git at 6.1.0 (0.02s)
Computing version for https://github.com/Thomvis/BrightFutures.git
Computed https://github.com/Thomvis/BrightFutures.git at 8.2.0 (0.02s)
Computing version for https://github.com/tid-kijyun/Kanna.git
Computed https://github.com/tid-kijyun/Kanna.git at 5.3.0 (0.55s)
Creating working copy for https://github.com/nvzqz/FileKit.git
Working copy of https://github.com/nvzqz/FileKit.git resolved at 6.1.0
Creating working copy for https://github.com/Nef10/GoogleAuthentication.git
Working copy of https://github.com/Nef10/GoogleAuthentication.git resolved at 1.0.3
Creating working copy for https://github.com/httpswift/swifter.git
Working copy of https://github.com/httpswift/swifter.git resolved at 1.5.0
Creating working copy for https://github.com/Nef10/SwiftBeanCountSheetSync.git
Working copy of https://github.com/Nef10/SwiftBeanCountSheetSync.git resolved at v1.1.0 (279fb68)
Creating working copy for https://github.com/phimage/Erik.git
Working copy of https://github.com/phimage/Erik.git resolved at 5.1.0
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess.git
Working copy of https://github.com/kishikawakatsumi/KeychainAccess.git resolved at 4.2.2
Creating working copy for https://github.com/OAuthSwift/OAuthSwift.git
Working copy of https://github.com/OAuthSwift/OAuthSwift.git resolved at 2.2.0
Creating working copy for https://github.com/Nef10/SwiftBeanCountParser.git
Working copy of https://github.com/Nef10/SwiftBeanCountParser.git resolved at 0.1.8
Creating working copy for https://github.com/Thomvis/BrightFutures.git
Working copy of https://github.com/Thomvis/BrightFutures.git resolved at 8.2.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/tid-kijyun/Kanna.git
Working copy of https://github.com/tid-kijyun/Kanna.git resolved at 5.3.0
warning: '.resolve-product-dependencies': dependency 'swiftbeancountsheetsync' is not used by any target
Found 3 product dependencies
  - SwiftBeanCountModel
  - SwiftBeanCountParser
  - GoogleAuthentication
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Nef10/SwiftBeanCountSheetSync.git
{
  "dependencies" : [
    {
      "identity" : "swiftbeancountmodel",
      "requirement" : {
        "exact" : [
          "0.1.6"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Nef10/SwiftBeanCountModel.git"
    },
    {
      "identity" : "swiftbeancountparser",
      "requirement" : {
        "exact" : [
          "0.1.8"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Nef10/SwiftBeanCountParser.git"
    },
    {
      "identity" : "googleauthentication",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Nef10/GoogleAuthentication.git"
    }
  ],
  "manifest_display_name" : "SwiftBeanCountSheetSync",
  "name" : "SwiftBeanCountSheetSync",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SwiftBeanCountSheetSync",
      "targets" : [
        "SwiftBeanCountSheetSync"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftBeanCountSheetSyncTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBeanCountSheetSyncTests",
      "path" : "Tests/SwiftBeanCountSheetSyncTests",
      "sources" : [
        "SwiftBeanCountSheetSyncTests.swift"
      ],
      "target_dependencies" : [
        "SwiftBeanCountSheetSync"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftBeanCountSheetSync",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBeanCountSheetSync",
      "path" : "Sources/SwiftBeanCountSheetSync",
      "product_dependencies" : [
        "SwiftBeanCountModel",
        "SwiftBeanCountParser",
        "GoogleAuthentication"
      ],
      "product_memberships" : [
        "SwiftBeanCountSheetSync"
      ],
      "sources" : [
        "Downloader.swift",
        "LedgerReader.swift",
        "LedgerSettings.swift",
        "SheetDownloader.swift",
        "SheetParser.swift",
        "Syncer.swift",
        "TransactionMapper.swift",
        "Uploader.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/7] Write sources
[6/7] Write swift-version--7754E27361AE5C74.txt
[8/57] Emitting module OAuthSwift
[9/60] Compiling OAuthSwift OAuth1Swift.swift
[10/60] Compiling OAuthSwift OAuth2Swift.swift
[11/61] Compiling OAuthSwift OAuthSwiftCredential.swift
[12/61] Compiling OAuthSwift OAuthSwiftError.swift
[13/61] Compiling OAuthSwift SafariURLHandler.swift
[14/61] Compiling OAuthSwift Int+OAuthSwift.swift
[15/61] Compiling OAuthSwift OAuthSwiftURLHandlerType.swift
[16/61] Compiling OAuthSwift OAuthSwiftURLHandlerProxy.swift
[17/61] Compiling OAuthSwift OAuthWebViewController.swift
[18/61] Compiling OAuthSwift SFAuthenticationURLHandler.swift
[19/61] Compiling OAuthSwift Dictionary+OAuthSwift.swift
[20/61] Compiling OAuthSwift HMAC.swift
[21/61] Compiling OAuthSwift OAuthSwiftMultipartData.swift
[22/61] Compiling OAuthSwift OAuthSwiftResponse.swift
[23/61] Compiling OAuthSwift Collection+OAuthSwift.swift
[24/61] Compiling OAuthSwift Data+OAuthSwift.swift
[25/61] Emitting module SwiftBeanCountModel
[26/61] Compiling OAuthSwift NSError+OAuthSwift.swift
[27/61] Compiling OAuthSwift NotificationCenter+OAuthSwift.swift
[28/61] Compiling OAuthSwift SHA1.swift
[29/61] Compiling OAuthSwift String+OAuthSwift.swift
[30/61] Compiling OAuthSwift UIApplication+OAuthSwift.swift
[31/61] Compiling SwiftBeanCountModel ValidationResult.swift
[32/61] Emitting module KeychainAccess
[33/61] Compiling KeychainAccess Keychain.swift
[34/78] Compiling OAuthSwift URL+OAuthSwift.swift
[35/78] Compiling OAuthSwift URLConvertible.swift
[36/78] Compiling OAuthSwift Utils.swift
[37/78] Compiling SwiftBeanCountParser PostingParser.swift
[38/78] Compiling SwiftBeanCountParser PriceParser.swift
[39/79] Compiling SwiftBeanCountParser ParserUtils.swift
[40/79] Compiling SwiftBeanCountParser PluginParser.swift
[41/79] Compiling SwiftBeanCountParser CommodityParser.swift
[42/79] Compiling SwiftBeanCountParser CostParser.swift
[43/79] Compiling SwiftBeanCountParser OptionParser.swift
[44/79] Compiling SwiftBeanCountParser Parser.swift
[46/79] Compiling SwiftBeanCountParser TransactionMetaDataParser.swift
[47/79] Compiling SwiftBeanCountParser EventParser.swift
[48/79] Compiling SwiftBeanCountParser Collection.swift
[49/79] Compiling SwiftBeanCountParser String.swift
[50/79] Compiling SwiftBeanCountParser MetaDataParser.swift
[51/79] Emitting module SwiftBeanCountParser
[54/79] Compiling SwiftBeanCountParser CustomsParser.swift
[55/79] Compiling SwiftBeanCountParser DateParser.swift
[56/79] Compiling SwiftBeanCountParser AccountParser.swift
[57/79] Compiling SwiftBeanCountParser BalanceParser.swift
[60/79] Compiling OAuthSwift OAuthSwiftHTTPRequest.swift
[61/79] Compiling OAuthSwift ASWebAuthenticationURLHandler.swift
[62/79] Compiling OAuthSwift ExtensionContextURLHandler.swift
[63/79] Compiling OAuthSwift OAuthSwiftOpenURLExternally.swift
[64/79] Compiling OAuthSwift OAuthLogProtocol.swift
[65/79] Compiling OAuthSwift OAuthSwift.swift
[66/79] Compiling OAuthSwift OAuthSwiftClient.swift
[80/82] Compiling GoogleAuthentication ASWebAuthenticationURLHandler.swift
[81/82] Emitting module GoogleAuthentication
[82/82] Compiling GoogleAuthentication Authentication.swift
[83/91] Compiling SwiftBeanCountSheetSync TransactionMapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountSheetSync/LedgerSettings.swift:27:16: warning: static property 'fallbackAccountName' is not concurrency-safe because non-'Sendable' type 'AccountName' may have shared mutable state; this is an error in the Swift 6 language mode
25 | public struct LedgerSettings {
26 |
27 |     static let fallbackAccountName = try! AccountName("Expenses:TODO") // swiftlint:disable:this force_try
   |                `- warning: static property 'fallbackAccountName' is not concurrency-safe because non-'Sendable' type 'AccountName' may have shared mutable state; this is an error in the Swift 6 language mode
28 |     static let ownAccountName = try! AccountName("Assets:TODO") // swiftlint:disable:this force_try
29 |
/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/SwiftBeanCountSheetSync/LedgerSettings.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftBeanCountModel'
 8 |
 9 | import Foundation
10 | import SwiftBeanCountModel
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftBeanCountModel'
11 |
12 | enum LedgerSettingsConstants {
   :
25 | public struct LedgerSettings {
26 |
27 |     static let fallbackAccountName = try! AccountName("Expenses:TODO") // swiftlint:disable:this force_try
   |                |- note: annotate 'fallbackAccountName' 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
28 |     static let ownAccountName = try! AccountName("Assets:TODO") // swiftlint:disable:this force_try
29 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountSheetSync/LedgerSettings.swift:28:16: warning: static property 'ownAccountName' is not concurrency-safe because non-'Sendable' type 'AccountName' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 |     static let fallbackAccountName = try! AccountName("Expenses:TODO") // swiftlint:disable:this force_try
28 |     static let ownAccountName = try! AccountName("Assets:TODO") // swiftlint:disable:this force_try
   |                |- warning: static property 'ownAccountName' is not concurrency-safe because non-'Sendable' type 'AccountName' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'ownAccountName' 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
29 |
30 |     /// Commodity symbol for all transactions - The syncronization only supports one commodity
/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
[84/91] Compiling SwiftBeanCountSheetSync Syncer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountSheetSync/LedgerSettings.swift:28:16: warning: static property 'ownAccountName' is not concurrency-safe because non-'Sendable' type 'AccountName' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 |     static let fallbackAccountName = try! AccountName("Expenses:TODO") // swiftlint:disable:this force_try
28 |     static let ownAccountName = try! AccountName("Assets:TODO") // swiftlint:disable:this force_try
   |                `- warning: static property 'ownAccountName' is not concurrency-safe because non-'Sendable' type 'AccountName' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 |     /// Commodity symbol for all transactions - The syncronization only supports one commodity
/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/SwiftBeanCountSheetSync/LedgerSettings.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftBeanCountModel'
 8 |
 9 | import Foundation
10 | import SwiftBeanCountModel
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftBeanCountModel'
11 |
12 | enum LedgerSettingsConstants {
   :
26 |
27 |     static let fallbackAccountName = try! AccountName("Expenses:TODO") // swiftlint:disable:this force_try
28 |     static let ownAccountName = try! AccountName("Assets:TODO") // swiftlint:disable:this force_try
   |                |- note: annotate 'ownAccountName' 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
29 |
30 |     /// Commodity symbol for all transactions - The syncronization only supports one commodity
[85/91] Compiling SwiftBeanCountSheetSync Uploader.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountSheetSync/Uploader.swift:18:26: warning: capture of 'self' with non-sendable type 'Uploader' in a `@Sendable` closure; this is an error in the Swift 6 language mode
12 |
13 | /// Uploads transactions from the ledger to the sheet
14 | public class Uploader: GenericSyncer, Syncer {
   |              `- note: class 'Uploader' does not conform to the 'Sendable' protocol
15 |
16 |     public func start(authentication: Authentication, completion: @escaping (Result<SyncResult, Error>) -> Void) {
17 |         DispatchQueue.global(qos: .userInitiated).async { [self] in
18 |             let result = readLedgerSettingsAndTransactions()
   |                          `- warning: capture of 'self' with non-sendable type 'Uploader' in a `@Sendable` closure; this is an error in the Swift 6 language mode
19 |                 .flatMap { ledgerTransactions, ledgerSettings -> Result<SyncResult, Error> in
20 |                     let sheetTransactions = getTransactionsFromSheet(authentication: authentication, ledgerSettings: ledgerSettings)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountSheetSync/Uploader.swift:20:86: warning: capture of 'authentication' with non-sendable type 'Authentication' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 |             let result = readLedgerSettingsAndTransactions()
19 |                 .flatMap { ledgerTransactions, ledgerSettings -> Result<SyncResult, Error> in
20 |                     let sheetTransactions = getTransactionsFromSheet(authentication: authentication, ledgerSettings: ledgerSettings)
   |                                                                                      `- warning: capture of 'authentication' with non-sendable type 'Authentication' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |                     switch sheetTransactions {
22 |                     case .success(let (sheetTransactions, sheetParserErrors)):
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GoogleAuthentication/Sources/GoogleAuthentication/Authentication.swift:15:14: note: class 'Authentication' does not conform to the 'Sendable' protocol
 13 |
 14 | /// Wraper around OAuthSwift and KeychainAccess to authenticate to Google APIs while automatically saving the tokens into the keychain
 15 | public class Authentication {
    |              `- note: class 'Authentication' does not conform to the 'Sendable' protocol
 16 |
 17 |     private static let keychainKey = "googleOAuthCredentials"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountSheetSync/Uploader.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GoogleAuthentication'
 8 |
 9 | import Foundation
10 | import GoogleAuthentication
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GoogleAuthentication'
11 | import SwiftBeanCountModel
12 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountSheetSync/Uploader.swift:35:13: warning: capture of 'completion' with non-sendable type '(Result<SyncResult, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
33 |                     }
34 |                 }
35 |             completion(result)
   |             |- warning: capture of 'completion' with non-sendable type '(Result<SyncResult, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
36 |         }
37 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountSheetSync/Uploader.swift:20:45: warning: capture of 'self' with non-sendable type 'Uploader' in an isolated closure; this is an error in the Swift 6 language mode
12 |
13 | /// Uploads transactions from the ledger to the sheet
14 | public class Uploader: GenericSyncer, Syncer {
   |              `- note: class 'Uploader' does not conform to the 'Sendable' protocol
15 |
16 |     public func start(authentication: Authentication, completion: @escaping (Result<SyncResult, Error>) -> Void) {
   :
18 |             let result = readLedgerSettingsAndTransactions()
19 |                 .flatMap { ledgerTransactions, ledgerSettings -> Result<SyncResult, Error> in
20 |                     let sheetTransactions = getTransactionsFromSheet(authentication: authentication, ledgerSettings: ledgerSettings)
   |                                             `- warning: capture of 'self' with non-sendable type 'Uploader' in an isolated closure; this is an error in the Swift 6 language mode
21 |                     switch sheetTransactions {
22 |                     case .success(let (sheetTransactions, sheetParserErrors)):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountSheetSync/Uploader.swift:20:86: warning: capture of 'authentication' with non-sendable type 'Authentication' in an isolated closure; this is an error in the Swift 6 language mode
18 |             let result = readLedgerSettingsAndTransactions()
19 |                 .flatMap { ledgerTransactions, ledgerSettings -> Result<SyncResult, Error> in
20 |                     let sheetTransactions = getTransactionsFromSheet(authentication: authentication, ledgerSettings: ledgerSettings)
   |                                                                                      `- warning: capture of 'authentication' with non-sendable type 'Authentication' in an isolated closure; this is an error in the Swift 6 language mode
21 |                     switch sheetTransactions {
22 |                     case .success(let (sheetTransactions, sheetParserErrors)):
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GoogleAuthentication/Sources/GoogleAuthentication/Authentication.swift:15:14: note: class 'Authentication' does not conform to the 'Sendable' protocol
 13 |
 14 | /// Wraper around OAuthSwift and KeychainAccess to authenticate to Google APIs while automatically saving the tokens into the keychain
 15 | public class Authentication {
    |              `- note: class 'Authentication' does not conform to the 'Sendable' protocol
 16 |
 17 |     private static let keychainKey = "googleOAuthCredentials"
[86/91] Compiling SwiftBeanCountSheetSync SheetDownloader.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountSheetSync/SheetDownloader.swift:39:24: warning: capture of 'result' with non-sendable type 'Result<OAuthSwiftResponse, OAuthSwiftError>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 |         authentication.startAuthorizedGETRequest("https://sheets.googleapis.com/v4/spreadsheets/\(id)/values/\(area)") { result in
38 |             DispatchQueue.global(qos: .userInitiated).async {
39 |                 switch result {
   |                        `- warning: capture of 'result' with non-sendable type 'Result<OAuthSwiftResponse, OAuthSwiftError>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
40 |                 case .success(let response):
41 |                     guard let data = try? JSONSerialization.jsonObject(with: response.data, options: []) as? [String: Any], let values = data["values"] as? [[String]] else {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:13:14: note: class 'OAuthSwiftResponse' does not conform to the 'Sendable' protocol
11 | /// Response object
12 | @objc
13 | public class OAuthSwiftResponse: NSObject { // not a struct for objc
   |              `- note: class 'OAuthSwiftResponse' does not conform to the 'Sendable' protocol
14 |     /// The data returned by the server.
15 |     public var data: Data
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountSheetSync/SheetDownloader.swift:42:25: warning: capture of 'completion' with non-sendable type '(Result<[[String]], SheetDownloader.DownloaderError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
40 |                 case .success(let response):
41 |                     guard let data = try? JSONSerialization.jsonObject(with: response.data, options: []) as? [String: Any], let values = data["values"] as? [[String]] else {
42 |                         completion(.failure(.unableToParseResponse("Unable to parse response: \(response.dataString() ?? "")")))
   |                         |- warning: capture of 'completion' with non-sendable type '(Result<[[String]], SheetDownloader.DownloaderError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
43 |                         return
44 |                     }
[87/91] Compiling SwiftBeanCountSheetSync LedgerReader.swift
[88/91] Compiling SwiftBeanCountSheetSync SheetParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountSheetSync/SheetParser.swift:50: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
 48 |     }
 49 |
 50 |     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
 51 |         var dateFormatter = DateFormatter()
 52 |         dateFormatter.dateFormat = "yyyy-MM-dd"
[89/91] Compiling SwiftBeanCountSheetSync LedgerSettings.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountSheetSync/LedgerSettings.swift:27:16: warning: static property 'fallbackAccountName' is not concurrency-safe because non-'Sendable' type 'AccountName' may have shared mutable state; this is an error in the Swift 6 language mode
25 | public struct LedgerSettings {
26 |
27 |     static let fallbackAccountName = try! AccountName("Expenses:TODO") // swiftlint:disable:this force_try
   |                `- warning: static property 'fallbackAccountName' is not concurrency-safe because non-'Sendable' type 'AccountName' may have shared mutable state; this is an error in the Swift 6 language mode
28 |     static let ownAccountName = try! AccountName("Assets:TODO") // swiftlint:disable:this force_try
29 |
/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/SwiftBeanCountSheetSync/LedgerSettings.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftBeanCountModel'
 8 |
 9 | import Foundation
10 | import SwiftBeanCountModel
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftBeanCountModel'
11 |
12 | enum LedgerSettingsConstants {
   :
25 | public struct LedgerSettings {
26 |
27 |     static let fallbackAccountName = try! AccountName("Expenses:TODO") // swiftlint:disable:this force_try
   |                |- note: annotate 'fallbackAccountName' 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
28 |     static let ownAccountName = try! AccountName("Assets:TODO") // swiftlint:disable:this force_try
29 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountSheetSync/LedgerSettings.swift:28:16: warning: static property 'ownAccountName' is not concurrency-safe because non-'Sendable' type 'AccountName' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 |     static let fallbackAccountName = try! AccountName("Expenses:TODO") // swiftlint:disable:this force_try
28 |     static let ownAccountName = try! AccountName("Assets:TODO") // swiftlint:disable:this force_try
   |                |- warning: static property 'ownAccountName' is not concurrency-safe because non-'Sendable' type 'AccountName' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'ownAccountName' 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
29 |
30 |     /// Commodity symbol for all transactions - The syncronization only supports one commodity
/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
[90/91] Emitting module SwiftBeanCountSheetSync
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountSheetSync/LedgerSettings.swift:27:16: warning: static property 'fallbackAccountName' is not concurrency-safe because non-'Sendable' type 'AccountName' may have shared mutable state; this is an error in the Swift 6 language mode
25 | public struct LedgerSettings {
26 |
27 |     static let fallbackAccountName = try! AccountName("Expenses:TODO") // swiftlint:disable:this force_try
   |                `- warning: static property 'fallbackAccountName' is not concurrency-safe because non-'Sendable' type 'AccountName' may have shared mutable state; this is an error in the Swift 6 language mode
28 |     static let ownAccountName = try! AccountName("Assets:TODO") // swiftlint:disable:this force_try
29 |
/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/SwiftBeanCountSheetSync/LedgerSettings.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftBeanCountModel'
 8 |
 9 | import Foundation
10 | import SwiftBeanCountModel
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftBeanCountModel'
11 |
12 | enum LedgerSettingsConstants {
   :
25 | public struct LedgerSettings {
26 |
27 |     static let fallbackAccountName = try! AccountName("Expenses:TODO") // swiftlint:disable:this force_try
   |                |- note: annotate 'fallbackAccountName' 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
28 |     static let ownAccountName = try! AccountName("Assets:TODO") // swiftlint:disable:this force_try
29 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountSheetSync/LedgerSettings.swift:28:16: warning: static property 'ownAccountName' is not concurrency-safe because non-'Sendable' type 'AccountName' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 |     static let fallbackAccountName = try! AccountName("Expenses:TODO") // swiftlint:disable:this force_try
28 |     static let ownAccountName = try! AccountName("Assets:TODO") // swiftlint:disable:this force_try
   |                |- warning: static property 'ownAccountName' is not concurrency-safe because non-'Sendable' type 'AccountName' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'ownAccountName' 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
29 |
30 |     /// Commodity symbol for all transactions - The syncronization only supports one commodity
/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/SwiftBeanCountSheetSync/SheetParser.swift:50: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
 48 |     }
 49 |
 50 |     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
 51 |         var dateFormatter = DateFormatter()
 52 |         dateFormatter.dateFormat = "yyyy-MM-dd"
[91/91] Compiling SwiftBeanCountSheetSync Downloader.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountSheetSync/Downloader.swift:18:26: warning: capture of 'self' with non-sendable type 'Downloader' in a `@Sendable` closure; this is an error in the Swift 6 language mode
12 |
13 | /// Downloads transactions from the Sheet and merges them into transactions in the ledgers
14 | public class Downloader: GenericSyncer, Syncer {
   |              `- note: class 'Downloader' does not conform to the 'Sendable' protocol
15 |
16 |     public func start(authentication: Authentication, completion: @escaping (Result<SyncResult, Error>) -> Void) {
17 |         DispatchQueue.global(qos: .userInitiated).async { [self] in
18 |             let result = readLedgerSettingsAndTransactions()
   |                          `- warning: capture of 'self' with non-sendable type 'Downloader' in a `@Sendable` closure; this is an error in the Swift 6 language mode
19 |                 .flatMap { ledgerTransactions, ledgerSettings -> Result<SyncResult, Error> in
20 |                     let sheetTransactions = getTransactionsFromSheet(authentication: authentication, ledgerSettings: ledgerSettings)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountSheetSync/Downloader.swift:20:86: warning: capture of 'authentication' with non-sendable type 'Authentication' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 |             let result = readLedgerSettingsAndTransactions()
19 |                 .flatMap { ledgerTransactions, ledgerSettings -> Result<SyncResult, Error> in
20 |                     let sheetTransactions = getTransactionsFromSheet(authentication: authentication, ledgerSettings: ledgerSettings)
   |                                                                                      `- warning: capture of 'authentication' with non-sendable type 'Authentication' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |                     switch sheetTransactions {
22 |                     case .success(let (sheetTransactions, sheetParserErrors)):
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GoogleAuthentication/Sources/GoogleAuthentication/Authentication.swift:15:14: note: class 'Authentication' does not conform to the 'Sendable' protocol
 13 |
 14 | /// Wraper around OAuthSwift and KeychainAccess to authenticate to Google APIs while automatically saving the tokens into the keychain
 15 | public class Authentication {
    |              `- note: class 'Authentication' does not conform to the 'Sendable' protocol
 16 |
 17 |     private static let keychainKey = "googleOAuthCredentials"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountSheetSync/Downloader.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GoogleAuthentication'
 8 |
 9 | import Foundation
10 | import GoogleAuthentication
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GoogleAuthentication'
11 | import SwiftBeanCountModel
12 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountSheetSync/Downloader.swift:36:13: warning: capture of 'completion' with non-sendable type '(Result<SyncResult, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 |                     }
35 |                 }
36 |             completion(result)
   |             |- warning: capture of 'completion' with non-sendable type '(Result<SyncResult, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
37 |         }
38 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountSheetSync/Downloader.swift:20:45: warning: capture of 'self' with non-sendable type 'Downloader' in an isolated closure; this is an error in the Swift 6 language mode
12 |
13 | /// Downloads transactions from the Sheet and merges them into transactions in the ledgers
14 | public class Downloader: GenericSyncer, Syncer {
   |              `- note: class 'Downloader' does not conform to the 'Sendable' protocol
15 |
16 |     public func start(authentication: Authentication, completion: @escaping (Result<SyncResult, Error>) -> Void) {
   :
18 |             let result = readLedgerSettingsAndTransactions()
19 |                 .flatMap { ledgerTransactions, ledgerSettings -> Result<SyncResult, Error> in
20 |                     let sheetTransactions = getTransactionsFromSheet(authentication: authentication, ledgerSettings: ledgerSettings)
   |                                             `- warning: capture of 'self' with non-sendable type 'Downloader' in an isolated closure; this is an error in the Swift 6 language mode
21 |                     switch sheetTransactions {
22 |                     case .success(let (sheetTransactions, sheetParserErrors)):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBeanCountSheetSync/Downloader.swift:20:86: warning: capture of 'authentication' with non-sendable type 'Authentication' in an isolated closure; this is an error in the Swift 6 language mode
18 |             let result = readLedgerSettingsAndTransactions()
19 |                 .flatMap { ledgerTransactions, ledgerSettings -> Result<SyncResult, Error> in
20 |                     let sheetTransactions = getTransactionsFromSheet(authentication: authentication, ledgerSettings: ledgerSettings)
   |                                                                                      `- warning: capture of 'authentication' with non-sendable type 'Authentication' in an isolated closure; this is an error in the Swift 6 language mode
21 |                     switch sheetTransactions {
22 |                     case .success(let (sheetTransactions, sheetParserErrors)):
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GoogleAuthentication/Sources/GoogleAuthentication/Authentication.swift:15:14: note: class 'Authentication' does not conform to the 'Sendable' protocol
 13 |
 14 | /// Wraper around OAuthSwift and KeychainAccess to authenticate to Google APIs while automatically saving the tokens into the keychain
 15 | public class Authentication {
    |              `- note: class 'Authentication' does not conform to the 'Sendable' protocol
 16 |
 17 |     private static let keychainKey = "googleOAuthCredentials"
Build complete! (40.84s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftbeancountmodel",
      "requirement" : {
        "exact" : [
          "0.1.6"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Nef10/SwiftBeanCountModel.git"
    },
    {
      "identity" : "swiftbeancountparser",
      "requirement" : {
        "exact" : [
          "0.1.8"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Nef10/SwiftBeanCountParser.git"
    },
    {
      "identity" : "googleauthentication",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Nef10/GoogleAuthentication.git"
    }
  ],
  "manifest_display_name" : "SwiftBeanCountSheetSync",
  "name" : "SwiftBeanCountSheetSync",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SwiftBeanCountSheetSync",
      "targets" : [
        "SwiftBeanCountSheetSync"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftBeanCountSheetSyncTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBeanCountSheetSyncTests",
      "path" : "Tests/SwiftBeanCountSheetSyncTests",
      "sources" : [
        "SwiftBeanCountSheetSyncTests.swift"
      ],
      "target_dependencies" : [
        "SwiftBeanCountSheetSync"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftBeanCountSheetSync",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBeanCountSheetSync",
      "path" : "Sources/SwiftBeanCountSheetSync",
      "product_dependencies" : [
        "SwiftBeanCountModel",
        "SwiftBeanCountParser",
        "GoogleAuthentication"
      ],
      "product_memberships" : [
        "SwiftBeanCountSheetSync"
      ],
      "sources" : [
        "Downloader.swift",
        "LedgerReader.swift",
        "LedgerSettings.swift",
        "SheetDownloader.swift",
        "SheetParser.swift",
        "Syncer.swift",
        "TransactionMapper.swift",
        "Uploader.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.