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 6.0 for Linux on 3 Mar 2025 00:22:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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:             6.0
Building package at path:  $PWD
https://github.com/divadretlaw/WineKit.git
https://github.com/divadretlaw/WineKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "WineKit",
  "name" : "WineKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "WineKit",
      "targets" : [
        "WineKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "WindowsFileKit",
      "targets" : [
        "WindowsFileKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WinetricksPlugin",
      "module_type" : "PluginTarget",
      "name" : "WinetricksPlugin",
      "path" : "Plugins/WinetricksPlugin",
      "plugin_capability" : {
        "intent" : {
          "description" : "Generate enums from latest Winetricks verbs",
          "type" : "custom",
          "verb" : "winetricks-generate"
        },
        "permissions" : [
          {
            "network_scope" : {
              "all" : {
                "ports" : [
                ]
              }
            },
            "reason" : "Download latest verbs",
            "type" : "allowNetworkConnections"
          }
        ],
        "type" : "command"
      },
      "sources" : [
        "main.swift"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "WineKitTests",
      "module_type" : "SwiftTarget",
      "name" : "WineKitTests",
      "path" : "Tests/WineKitTests",
      "sources" : [
        "BottleIconTests.swift",
        "BottleTests.swift",
        "ModelTests.swift",
        "WineKitTests.swift",
        "WineLoader.swift"
      ],
      "target_dependencies" : [
        "WineKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WineKit",
      "module_type" : "SwiftTarget",
      "name" : "WineKit",
      "path" : "Sources/WineKit",
      "product_memberships" : [
        "WineKit"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/WineKit/Resources/winetricks.sh",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Domain/DXMT.swift",
        "Domain/DXVK.swift",
        "Domain/GPTK.swift",
        "Domain/RegistryType.swift",
        "Domain/SynchronizationMode.swift",
        "Domain/Verbs/Verbs+App.swift",
        "Domain/Verbs/Verbs+Benchmark.swift",
        "Domain/Verbs/Verbs+DLL.swift",
        "Domain/Verbs/Verbs+Font.swift",
        "Domain/Verbs/Verbs+Setting.swift",
        "Domain/WindowsVersion.swift",
        "Domain/WineEnvironment.swift",
        "Domain/WineError.swift",
        "Domain/WineOutput.swift",
        "Domain/WinePackageVersion.swift",
        "Extensions/DictionaryExtensions.swift",
        "Extensions/FileManagerExtensions.swift",
        "Extensions/StringExtensions.swift",
        "Extensions/URLExtensions.swift",
        "Logger.swift",
        "Model/Bottle/Bottle.swift",
        "Model/Bottle/BottleIcon.swift",
        "Model/Bottle/BottleIdentifier.swift",
        "Model/Bottle/BottleReference.swift",
        "Model/Prefix/Prefix.swift",
        "Model/Prefix/PrefixSettings.swift",
        "Model/Program/Program.swift",
        "Model/Program/ProgramReference.swift",
        "Model/Program/ProgramSettings.swift",
        "Model/WineProcess.swift",
        "TaskManager/TaskManager.swift",
        "Wine/Wine.swift",
        "Wine/WineCommands.swift",
        "Wine/WineRegistry.swift",
        "Wine/WineServer.swift",
        "Wine/Winetricks.swift"
      ],
      "target_dependencies" : [
        "WindowsFileKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "WindowsFileKitTests",
      "module_type" : "SwiftTarget",
      "name" : "WindowsFileKitTests",
      "path" : "Tests/WindowsFileKitTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/WindowsFileKitTests/Resources/explorer.lnk",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "PortableExecutableTests.swift",
        "ShellLinkTests.swift"
      ],
      "target_dependencies" : [
        "WindowsFileKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WindowsFileKit",
      "module_type" : "SwiftTarget",
      "name" : "WindowsFileKit",
      "path" : "Sources/WindowsFileKit",
      "product_memberships" : [
        "WineKit",
        "WindowsFileKit"
      ],
      "sources" : [
        "Extensions/DataExtensions.swift",
        "Extensions/IntExtensions.swift",
        "Extensions/UInt64Extensions.swift",
        "FileHandle/FileHandleExtensions.swift",
        "FileHandle/FileHandleIterator.swift",
        "PortableExecutable/COFFHeader.swift",
        "PortableExecutable/Characteristics.swift",
        "PortableExecutable/DLLCharacteristics.swift",
        "PortableExecutable/Machine.swift",
        "PortableExecutable/Magic.swift",
        "PortableExecutable/OptionalHeader.swift",
        "PortableExecutable/PortableExecutable.swift",
        "PortableExecutable/RSRC/ResourceDataEntry.swift",
        "PortableExecutable/RSRC/ResourceDirectoryEntry.swift",
        "PortableExecutable/RSRC/ResourceDirectoryString.swift",
        "PortableExecutable/RSRC/ResourceDirectoryTable.swift",
        "PortableExecutable/RSRC/ResourceType.swift",
        "PortableExecutable/Section.swift",
        "PortableExecutable/SectionFlag.swift",
        "PortableExecutable/WindowsSubsystem.swift",
        "ShellLink/FileAttributesFlags.swift",
        "ShellLink/LinkFlags.swift",
        "ShellLink/LinkInfo.swift",
        "ShellLink/LinkInfoFlags.swift",
        "ShellLink/LinkTargetIDList.swift",
        "ShellLink/ShellLink.swift",
        "ShellLink/ShellLinkHeader.swift",
        "ShellLink/ShowCommand.swift",
        "VersionInfo/FixedFileInfo.swift",
        "VersionInfo/String.swift",
        "VersionInfo/StringFileInfo.swift",
        "VersionInfo/StringTable.swift",
        "VersionInfo/VarFileInfo.swift",
        "VersionInfo/VersionInfo.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
/host/spi-builder-workspace/Plugins/WinetricksPlugin/main.swift:27:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 25 |
 26 |         let url = URL(string: "https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks")!
 27 |         let (data, _) = try await URLSession.shared.data(from: url)
    |                                              `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 28 |         try data.write(to: output)
 29 |     }
/host/spi-builder-workspace/Plugins/WinetricksPlugin/main.swift:47:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 45 |         for verb in verbs {
 46 |             guard let url = URL(string: verb.source, relativeTo: verbURL) else { continue }
 47 |             let (data, _) = try await URLSession.shared.data(from: url)
    |                                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 48 |             guard let string = String(data: data, encoding: .utf8) else { continue }
 49 |
[1/1] Compiling plugin WinetricksPlugin
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
[0/1] Planning build
/host/spi-builder-workspace/Plugins/WinetricksPlugin/main.swift:27:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 25 |
 26 |         let url = URL(string: "https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks")!
 27 |         let (data, _) = try await URLSession.shared.data(from: url)
    |                                              `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 28 |         try data.write(to: output)
 29 |     }
/host/spi-builder-workspace/Plugins/WinetricksPlugin/main.swift:47:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 45 |         for verb in verbs {
 46 |             guard let url = URL(string: verb.source, relativeTo: verbURL) else { continue }
 47 |             let (data, _) = try await URLSession.shared.data(from: url)
    |                                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 48 |             guard let string = String(data: data, encoding: .utf8) else { continue }
 49 |
[1/1] Compiling plugin WinetricksPlugin
BUILD FAILURE 6.0 linux