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 AppStoreScraper, reference 0.2.0 (8199a6), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 14:29:14 UTC.

Swift 6 data race errors: 0

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/wacumov/app-store-scraper.git
Reference: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/wacumov/app-store-scraper
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 8199a66 Allow to set language of search results
Cloned https://github.com/wacumov/app-store-scraper.git
Revision (git rev-parse @):
8199a667b04e3d1d276ce2c1b38d232d18b837ee
SUCCESS checkout https://github.com/wacumov/app-store-scraper.git at 0.2.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": "app-store-scraper",
      "name": "AppStoreScraper",
      "url": "https://github.com/wacumov/app-store-scraper.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/app-store-scraper",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/wacumov/app-store-scraper.git
[1/180] Fetching app-store-scraper
Fetched https://github.com/wacumov/app-store-scraper.git from cache (0.66s)
Creating working copy for https://github.com/wacumov/app-store-scraper.git
Working copy of https://github.com/wacumov/app-store-scraper.git resolved at 0.2.0 (8199a66)
warning: '.resolve-product-dependencies': dependency 'app-store-scraper' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/wacumov/app-store-scraper.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/12] Compiling AppStoreScraper Country+Languages.swift
[4/12] Compiling AppStoreScraper Language.swift
[5/12] Compiling AppStoreScraper Ranking.swift
[6/12] Compiling AppStoreScraper CategoryFilter.swift
[7/12] Compiling AppStoreScraper Category.swift
[8/12] Compiling AppStoreScraper Application.swift
[9/12] Compiling AppStoreScraper Country.swift
[10/12] Emitting module AppStoreScraper
[11/12] Compiling AppStoreScraper RankingType.swift
[12/12] Compiling AppStoreScraper Scraper.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppStoreScraper/Scraper.swift:128:26: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
126 |             dataTask?.cancel()
127 |         }
128 |         return try await withTaskCancellationHandler(
    |                          |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                          `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
129 |             handler: {
130 |                 onCancel()
/Users/admin/builder/spi-builder-workspace/Sources/AppStoreScraper/Scraper.swift:130:17: warning: capture of 'onCancel' with non-sendable type '() -> Void?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 |         return try await withTaskCancellationHandler(
129 |             handler: {
130 |                 onCancel()
    |                 |- warning: capture of 'onCancel' with non-sendable type '() -> 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'
131 |             },
132 |             operation: {
Build complete! (11.13s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AppStoreScraper",
  "name" : "AppStoreScraper",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "AppStoreScraper",
      "targets" : [
        "AppStoreScraper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AppStoreScraperTests",
      "module_type" : "SwiftTarget",
      "name" : "AppStoreScraperTests",
      "path" : "Tests/AppStoreScraperTests",
      "sources" : [
        "ScraperTests.swift"
      ],
      "target_dependencies" : [
        "AppStoreScraper"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AppStoreScraper",
      "module_type" : "SwiftTarget",
      "name" : "AppStoreScraper",
      "path" : "Sources/AppStoreScraper",
      "product_memberships" : [
        "AppStoreScraper"
      ],
      "sources" : [
        "Models/Application.swift",
        "Models/Category.swift",
        "Models/CategoryFilter.swift",
        "Models/Country+Languages.swift",
        "Models/Country.swift",
        "Models/Language.swift",
        "Models/Ranking.swift",
        "Models/RankingType.swift",
        "Scraper.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.