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 WineKit, reference main (9ebcd9), with Swift 5.9 for Linux on 3 Mar 2025 00:21:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/divadretlaw/WineKit.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/divadretlaw/WineKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9ebcd9e Update winetricks
Cloned https://github.com/divadretlaw/WineKit.git
Revision (git rev-parse @):
9ebcd9e92a6275e29540c37495f5110bbb9454b7
SUCCESS checkout https://github.com/divadretlaw/WineKit.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/divadretlaw/WineKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
error: fatalError
/host/spi-builder-workspace/Plugins/WinetricksPlugin/main.swift:15:25: error: no exact matches in call to initializer
        let directory = URL(filePath: target.directory.string)
                        ^
Foundation.URL:3:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(string:)')
    public init?(string: String)
           ^
Foundation.URL:8:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileURLWithPath:)')
    public init(fileURLWithPath path: String)
           ^
Foundation.URL:2:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileReferenceLiteralResourceName:)')
    public init(fileReferenceLiteralResourceName name: String)
           ^
/host/spi-builder-workspace/Plugins/WinetricksPlugin/main.swift:23:14: error: value of type 'URL' has no member 'appending'
            .appending(path: "Resources", directoryHint: .isDirectory)
             ^~~~~~~~~
/host/spi-builder-workspace/Plugins/WinetricksPlugin/main.swift:23:59: error: cannot infer contextual base in reference to member 'isDirectory'
            .appending(path: "Resources", directoryHint: .isDirectory)
                                                         ~^~~~~~~~~~~
/host/spi-builder-workspace/Plugins/WinetricksPlugin/main.swift:27:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let (data, _) = try await URLSession.shared.data(from: url)
                                  ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Plugins/WinetricksPlugin/main.swift:33:5: error: value of type 'URL' has no member 'appending'
                        .appending(path: "Domain", directoryHint: .isDirectory)
                         ^~~~~~~~~
/host/spi-builder-workspace/Plugins/WinetricksPlugin/main.swift:33:47: error: cannot infer contextual base in reference to member 'isDirectory'
                        .appending(path: "Domain", directoryHint: .isDirectory)
                                                                  ~^~~~~~~~~~~
/host/spi-builder-workspace/Plugins/WinetricksPlugin/main.swift:34:46: error: cannot infer contextual base in reference to member 'isDirectory'
                        .appending(path: "Verbs", directoryHint: .isDirectory)
                                                                 ~^~~~~~~~~~~
/host/spi-builder-workspace/Plugins/WinetricksPlugin/main.swift:47:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
            let (data, _) = try await URLSession.shared.data(from: url)
                                      ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Plugins/WinetricksPlugin/main.swift:91:54: error: value of type 'Date' has no member 'formatted'
            // Automatically generated on \(Date.now.formatted(date: .numeric, time: .omitted)).
                                            ~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Plugins/WinetricksPlugin/main.swift:91:71: error: cannot infer contextual base in reference to member 'numeric'
            // Automatically generated on \(Date.now.formatted(date: .numeric, time: .omitted)).
                                                                     ~^~~~~~~
/host/spi-builder-workspace/Plugins/WinetricksPlugin/main.swift:91:87: error: cannot infer contextual base in reference to member 'omitted'
            // Automatically generated on \(Date.now.formatted(date: .numeric, time: .omitted)).
                                                                                     ~^~~~~~~
[1/1] Compiling plugin WinetricksPlugin
BUILD FAILURE 5.9 linux