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 main (5a8950), with Swift 6.0 for Linux on 3 Nov 2024 14:20:59 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5a8950e Use actions/checkout@v4
Cloned https://github.com/wacumov/app-store-scraper.git
Revision (git rev-parse @):
5a8950e5a9d59989e139531a213d98e0467134f9
SUCCESS checkout https://github.com/wacumov/app-store-scraper.git at main
========================================
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-0":/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/12] Compiling AppStoreScraper Ranking.swift
[4/13] Compiling AppStoreScraper RankingType.swift
[5/13] Compiling AppStoreScraper GamesSubcategory.swift
[6/13] Compiling AppStoreScraper Language.swift
[7/13] Compiling AppStoreScraper CategoryFilter.swift
[8/13] Compiling AppStoreScraper Country+Languages.swift
[9/13] Compiling AppStoreScraper Application.swift
[10/13] Compiling AppStoreScraper Category.swift
[11/13] Emitting module AppStoreScraper
[12/13] Compiling AppStoreScraper Country.swift
[13/13] Compiling AppStoreScraper Scraper.swift
/host/spi-builder-workspace/Sources/AppStoreScraper/Scraper.swift:165:13: warning: capture of 'onCancel' with non-sendable type '() -> ()?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
163 |             }
164 |         } onCancel: {
165 |             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'
166 |         }
167 |     }
Build complete! (11.18s)
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" : [
        "CountryTests.swift",
        "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/GamesSubcategory.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.