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

Failed to build CompassCardDownloader, reference v0.0.1 (eab732), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 08:15:21 UTC.

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/CompassCardDownloader.git
Reference: v0.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Nef10/CompassCardDownloader
 * tag               v0.0.1     -> FETCH_HEAD
HEAD is now at eab7329 Bump release-drafter/release-drafter from 5.22.0 to 5.23.0
Cloned https://github.com/Nef10/CompassCardDownloader.git
Revision (git rev-parse @):
eab7329ae9272465c083245b462d1db7036fac14
SUCCESS checkout https://github.com/Nef10/CompassCardDownloader.git at v0.0.1
Fetching https://github.com/Nef10/SwiftScraper.git
[13/1240] Fetching swiftscraper
Fetched https://github.com/Nef10/SwiftScraper.git from cache (1.17s)
Computing version for https://github.com/Nef10/SwiftScraper.git
Computed https://github.com/Nef10/SwiftScraper.git at 0.6.0 (0.54s)
Creating working copy for https://github.com/Nef10/SwiftScraper.git
Working copy of https://github.com/Nef10/SwiftScraper.git resolved at 0.6.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": "compasscarddownloader",
      "name": "CompassCardDownloader",
      "url": "https://github.com/Nef10/CompassCardDownloader.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CompassCardDownloader",
      "dependencies": [
        {
          "identity": "swiftscraper",
          "name": "SwiftScraper",
          "url": "https://github.com/Nef10/SwiftScraper.git",
          "version": "0.6.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftScraper",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Nef10/CompassCardDownloader.git
[4/321] Fetching compasscarddownloader
Fetched https://github.com/Nef10/CompassCardDownloader.git from cache (0.88s)
Fetching https://github.com/Nef10/SwiftScraper.git from cache
Fetched https://github.com/Nef10/SwiftScraper.git from cache (0.50s)
Computing version for https://github.com/Nef10/SwiftScraper.git
Computed https://github.com/Nef10/SwiftScraper.git at 0.6.0 (0.02s)
Creating working copy for https://github.com/Nef10/SwiftScraper.git
Working copy of https://github.com/Nef10/SwiftScraper.git resolved at 0.6.0
Creating working copy for https://github.com/Nef10/CompassCardDownloader.git
Working copy of https://github.com/Nef10/CompassCardDownloader.git resolved at v0.0.1 (eab7329)
warning: '.resolve-product-dependencies': dependency 'compasscarddownloader' is not used by any target
Found 1 product dependencies
  - SwiftScraper
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Nef10/CompassCardDownloader.git
{
  "dependencies" : [
    {
      "identity" : "swiftscraper",
      "requirement" : {
        "exact" : [
          "0.6.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Nef10/SwiftScraper.git"
    }
  ],
  "manifest_display_name" : "CompassCardDownloader",
  "name" : "CompassCardDownloader",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "CompassCardDownloader",
      "targets" : [
        "CompassCardDownloader"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CompassCardDownloaderTests",
      "module_type" : "SwiftTarget",
      "name" : "CompassCardDownloaderTests",
      "path" : "Tests/CompassCardDownloaderTests",
      "sources" : [
        "CompassCardDownloaderTests.swift"
      ],
      "target_dependencies" : [
        "CompassCardDownloader"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CompassCardDownloader",
      "module_type" : "SwiftTarget",
      "name" : "CompassCardDownloader",
      "path" : "Sources/CompassCardDownloader",
      "product_dependencies" : [
        "SwiftScraper"
      ],
      "product_memberships" : [
        "CompassCardDownloader"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/CompassCardDownloader/Resources/CompassCardDownload.js",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "CompassCardDownloader.swift",
        "CompassCardDownloaderDelegate.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/5] Write sources
[2/5] Copying SwiftScraper.js
[2/5] Copying CompassCardDownload.js
[4/5] Write swift-version--7754E27361AE5C74.txt
[6/23] Compiling SwiftScraper WaitForConditionStep.swift
[7/23] Compiling SwiftScraper WaitStep.swift
[8/23] Compiling SwiftScraper SwiftScraperError.swift
[9/24] Compiling SwiftScraper resource_bundle_accessor.swift
[10/24] Compiling SwiftScraper ProcessStep.swift
[11/24] Compiling SwiftScraper ScriptStep.swift
[12/24] Compiling SwiftScraper OpenPageStep.swift
[13/24] Compiling SwiftScraper PageChangeStep.swift
[14/24] Compiling SwiftScraper StepFlowResult.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Steps/DownloadStep.swift:49:1: error: type 'DownloadStep' does not conform to protocol 'WKDownloadDelegate'
47 |
48 | @available(iOS 14.5, macOS 11.3, *)
49 | extension DownloadStep: WKDownloadDelegate {
   | `- error: type 'DownloadStep' does not conform to protocol 'WKDownloadDelegate'
50 |
51 |     public func download(_ download: WKDownload, decideDestinationUsing response: URLResponse, suggestedFilename: String, completionHandler: @escaping (URL?) -> Void) {
   |                 `- note: candidate has non-matching type '(WKDownload, URLResponse, String, @escaping (URL?) -> Void) -> ()'
52 |         let temporaryDir = NSTemporaryDirectory()
53 |         let fileName = temporaryDir + "/" + suggestedFilename + UUID().description
WebKit.WKDownloadDelegate:5:10: note: protocol requires function 'download(_:decideDestinationUsing:suggestedFilename:)' with type '(WKDownload, URLResponse, String) async -> URL?'
 1 | @MainActor public protocol WKDownloadDelegate : NSObjectProtocol {
 2 |     @available(macOS 11.3, *)
 3 |     func download(_ download: WKDownload, decideDestinationUsing response: URLResponse, suggestedFilename: String, completionHandler: @escaping @MainActor @Sendable (URL?) -> Void)
   |          `- note: protocol requires function 'download(_:decideDestinationUsing:suggestedFilename:completionHandler:)' with type '(WKDownload, URLResponse, String, @escaping @MainActor @Sendable (URL?) -> Void) -> Void'
 4 |     @available(macOS 11.3, *)
 5 |     func download(_ download: WKDownload, decideDestinationUsing response: URLResponse, suggestedFilename: String) async -> URL?
   |          `- note: protocol requires function 'download(_:decideDestinationUsing:suggestedFilename:)' with type '(WKDownload, URLResponse, String) async -> URL?'
 6 |     @available(swift, obsoleted: 3, renamed: "download(_:decideDestinationUsing:suggestedFilename:completionHandler:)")
 7 |     func download(_ download: WKDownload, decideDestinationUsingResponse response: URLResponse, suggestedFilename: String, completionHandler: @escaping @MainActor @Sendable (URL?) -> Void)
[15/24] Compiling SwiftScraper DownloadStep.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Steps/DownloadStep.swift:49:1: error: type 'DownloadStep' does not conform to protocol 'WKDownloadDelegate'
47 |
48 | @available(iOS 14.5, macOS 11.3, *)
49 | extension DownloadStep: WKDownloadDelegate {
   | `- error: type 'DownloadStep' does not conform to protocol 'WKDownloadDelegate'
50 |
51 |     public func download(_ download: WKDownload, decideDestinationUsing response: URLResponse, suggestedFilename: String, completionHandler: @escaping (URL?) -> Void) {
   |                 `- note: candidate has non-matching type '(WKDownload, URLResponse, String, @escaping (URL?) -> Void) -> ()'
52 |         let temporaryDir = NSTemporaryDirectory()
53 |         let fileName = temporaryDir + "/" + suggestedFilename + UUID().description
WebKit.WKDownloadDelegate:5:10: note: protocol requires function 'download(_:decideDestinationUsing:suggestedFilename:)' with type '(WKDownload, URLResponse, String) async -> URL?'
 1 | @MainActor public protocol WKDownloadDelegate : NSObjectProtocol {
 2 |     @available(macOS 11.3, *)
 3 |     func download(_ download: WKDownload, decideDestinationUsing response: URLResponse, suggestedFilename: String, completionHandler: @escaping @MainActor @Sendable (URL?) -> Void)
   |          `- note: protocol requires function 'download(_:decideDestinationUsing:suggestedFilename:completionHandler:)' with type '(WKDownload, URLResponse, String, @escaping @MainActor @Sendable (URL?) -> Void) -> Void'
 4 |     @available(macOS 11.3, *)
 5 |     func download(_ download: WKDownload, decideDestinationUsing response: URLResponse, suggestedFilename: String) async -> URL?
   |          `- note: protocol requires function 'download(_:decideDestinationUsing:suggestedFilename:)' with type '(WKDownload, URLResponse, String) async -> URL?'
 6 |     @available(swift, obsoleted: 3, renamed: "download(_:decideDestinationUsing:suggestedFilename:completionHandler:)")
 7 |     func download(_ download: WKDownload, decideDestinationUsingResponse response: URLResponse, suggestedFilename: String, completionHandler: @escaping @MainActor @Sendable (URL?) -> Void)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/24] Compiling SwiftScraper Step.swift
[17/24] Compiling SwiftScraper StepCompletionCallback.swift
[18/24] Compiling SwiftScraper AsyncScriptStep.swift
[19/24] Compiling SwiftScraper NavigableStep.swift
[20/24] Compiling SwiftScraper Browser.swift
[21/24] Compiling SwiftScraper JavaScriptGenerator.swift
[22/24] Compiling SwiftScraper StepRunner.swift
[23/24] Compiling SwiftScraper AsyncProcessStep.swift
[24/24] Emitting module SwiftScraper
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftScraper/Sources/SwiftScraper/Steps/DownloadStep.swift:49:1: error: type 'DownloadStep' does not conform to protocol 'WKDownloadDelegate'
47 |
48 | @available(iOS 14.5, macOS 11.3, *)
49 | extension DownloadStep: WKDownloadDelegate {
   | `- error: type 'DownloadStep' does not conform to protocol 'WKDownloadDelegate'
50 |
51 |     public func download(_ download: WKDownload, decideDestinationUsing response: URLResponse, suggestedFilename: String, completionHandler: @escaping (URL?) -> Void) {
   |                 `- note: candidate has non-matching type '(WKDownload, URLResponse, String, @escaping (URL?) -> Void) -> ()'
52 |         let temporaryDir = NSTemporaryDirectory()
53 |         let fileName = temporaryDir + "/" + suggestedFilename + UUID().description
WebKit.WKDownloadDelegate:5:10: note: protocol requires function 'download(_:decideDestinationUsing:suggestedFilename:)' with type '(WKDownload, URLResponse, String) async -> URL?'
 1 | @MainActor public protocol WKDownloadDelegate : NSObjectProtocol {
 2 |     @available(macOS 11.3, *)
 3 |     func download(_ download: WKDownload, decideDestinationUsing response: URLResponse, suggestedFilename: String, completionHandler: @escaping @MainActor @Sendable (URL?) -> Void)
   |          `- note: protocol requires function 'download(_:decideDestinationUsing:suggestedFilename:completionHandler:)' with type '(WKDownload, URLResponse, String, @escaping @MainActor @Sendable (URL?) -> Void) -> Void'
 4 |     @available(macOS 11.3, *)
 5 |     func download(_ download: WKDownload, decideDestinationUsing response: URLResponse, suggestedFilename: String) async -> URL?
   |          `- note: protocol requires function 'download(_:decideDestinationUsing:suggestedFilename:)' with type '(WKDownload, URLResponse, String) async -> URL?'
 6 |     @available(swift, obsoleted: 3, renamed: "download(_:decideDestinationUsing:suggestedFilename:completionHandler:)")
 7 |     func download(_ download: WKDownload, decideDestinationUsingResponse response: URLResponse, suggestedFilename: String, completionHandler: @escaping @MainActor @Sendable (URL?) -> Void)
BUILD FAILURE 6.0 macosSpm