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 Linux on 3 Nov 2024 14:21:02 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/wacumov/app-store-scraper.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/11] Emitting module AppStoreScraper
[4/12] Compiling AppStoreScraper RankingType.swift
[5/12] Compiling AppStoreScraper Language.swift
[6/12] Compiling AppStoreScraper Ranking.swift
[7/12] Compiling AppStoreScraper Country+Languages.swift
[8/12] Compiling AppStoreScraper CategoryFilter.swift
[9/12] Compiling AppStoreScraper Application.swift
[10/12] Compiling AppStoreScraper Category.swift
[11/12] Compiling AppStoreScraper Country.swift
[12/12] Compiling AppStoreScraper Scraper.swift
/host/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()
/host/spi-builder-workspace/Sources/AppStoreScraper/Scraper.swift:130:17: warning: capture of 'onCancel' with non-sendable type '() -> ()?' 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 '() -> ()?' 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! (10.58s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AppStoreScraper",
  "name" : "AppStoreScraper",
  "path" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.