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 MetalCompilerPlugin, reference main (8eee0b), with Swift 6.1 for Linux on 29 Apr 2025 04:55:38 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/schwa/MetalCompilerPlugin.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/schwa/MetalCompilerPlugin
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8eee0b0 Merge pull request #4 from schwa/jwight/develop
Cloned https://github.com/schwa/MetalCompilerPlugin.git
Revision (git rev-parse @):
8eee0b05069520306c93abe7ee9a333740d59007
SUCCESS checkout https://github.com/schwa/MetalCompilerPlugin.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/schwa/MetalCompilerPlugin.git
https://github.com/schwa/MetalCompilerPlugin.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "MetalCompilerPlugin",
  "name" : "MetalCompilerPlugin",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "MetalCompilerPlugin",
      "targets" : [
        "MetalCompilerPlugin"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "MetalCompilerTool",
      "targets" : [
        "MetalCompilerTool"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MetalCompilerTool",
      "module_type" : "SwiftTarget",
      "name" : "MetalCompilerTool",
      "path" : "Sources/MetalCompilerTool",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "MetalCompilerPlugin",
        "MetalCompilerTool"
      ],
      "sources" : [
        "MetalCompiler.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "MetalCompilerPluginTests",
      "module_type" : "SwiftTarget",
      "name" : "MetalCompilerPluginTests",
      "path" : "Tests/MetalCompilerPluginTests",
      "sources" : [
        "MetalCompilerPluginTests.swift"
      ],
      "target_dependencies" : [
        "ExampleShaders"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MetalCompilerPlugin",
      "module_type" : "PluginTarget",
      "name" : "MetalCompilerPlugin",
      "path" : "Plugins/MetalCompilerPlugin",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "MetalCompilerPlugin"
      ],
      "sources" : [
        "MetalPlugin.swift"
      ],
      "target_dependencies" : [
        "MetalCompilerTool"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "ExampleShaders",
      "module_type" : "ClangTarget",
      "name" : "ExampleShaders",
      "path" : "Sources/ExampleShaders",
      "sources" : [
        "ExampleShaders.c"
      ],
      "target_dependencies" : [
        "MetalCompilerPlugin"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
[1/14950] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.36s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (2.20s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/11] Emitting module ArgumentParserToolInfo
[6/11] Compiling ArgumentParserToolInfo ToolInfo.swift
[7/12] Wrapping AST for ArgumentParserToolInfo for debugging
[9/50] Compiling ArgumentParser ArgumentVisibility.swift
[10/50] Compiling ArgumentParser CompletionKind.swift
[11/50] Compiling ArgumentParser Errors.swift
[12/50] Compiling ArgumentParser Flag.swift
[13/50] Compiling ArgumentParser NameSpecification.swift
[14/50] Compiling ArgumentParser Option.swift
[15/55] Compiling ArgumentParser BashCompletionsGenerator.swift
[16/55] Compiling ArgumentParser CompletionsGenerator.swift
[17/55] Compiling ArgumentParser FishCompletionsGenerator.swift
[18/55] Compiling ArgumentParser ZshCompletionsGenerator.swift
[19/55] Compiling ArgumentParser Argument.swift
[20/55] Compiling ArgumentParser ArgumentHelp.swift
[21/55] Emitting module ArgumentParser
[22/55] Compiling ArgumentParser ArgumentDefinition.swift
[23/55] Compiling ArgumentParser ArgumentSet.swift
[24/55] Compiling ArgumentParser CommandParser.swift
[25/55] Compiling ArgumentParser InputKey.swift
[26/55] Compiling ArgumentParser InputOrigin.swift
[27/55] Compiling ArgumentParser OptionGroup.swift
[28/55] Compiling ArgumentParser AsyncParsableCommand.swift
[29/55] Compiling ArgumentParser CommandConfiguration.swift
[30/55] Compiling ArgumentParser CommandGroup.swift
[31/55] Compiling ArgumentParser EnumerableFlag.swift
[32/55] Compiling ArgumentParser CollectionExtensions.swift
[33/55] Compiling ArgumentParser Platform.swift
[34/55] Compiling ArgumentParser SequenceExtensions.swift
[35/55] Compiling ArgumentParser StringExtensions.swift
[36/55] Compiling ArgumentParser Tree.swift
[37/55] Compiling ArgumentParser Name.swift
[38/55] Compiling ArgumentParser Parsed.swift
[39/55] Compiling ArgumentParser ParsedValues.swift
[40/55] Compiling ArgumentParser ParserError.swift
[41/55] Compiling ArgumentParser SplitArguments.swift
[42/55] Compiling ArgumentParser ExpressibleByArgument.swift
[43/55] Compiling ArgumentParser ParsableArguments.swift
[44/55] Compiling ArgumentParser ParsableArgumentsValidation.swift
[45/55] Compiling ArgumentParser ParsableCommand.swift
[46/55] Compiling ArgumentParser ArgumentDecoder.swift
[47/55] Compiling ArgumentParser DumpHelpGenerator.swift
[48/55] Compiling ArgumentParser HelpCommand.swift
[49/55] Compiling ArgumentParser HelpGenerator.swift
[50/55] Compiling ArgumentParser MessageInfo.swift
[51/55] Compiling ArgumentParser UsageGenerator.swift
[52/56] Wrapping AST for ArgumentParser for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[54/58] Emitting module MetalCompilerTool
/host/spi-builder-workspace/Sources/MetalCompilerTool/MetalCompiler.swift:3:8: error: no such module 'os'
 1 | import ArgumentParser
 2 | import Foundation
 3 | import os
   |        `- error: no such module 'os'
 4 |
 5 | @main
[55/58] Compiling MetalCompilerTool MetalCompiler.swift
/host/spi-builder-workspace/Sources/MetalCompilerTool/MetalCompiler.swift:3:8: error: no such module 'os'
 1 | import ArgumentParser
 2 | import Foundation
 3 | import os
   |        `- error: no such module 'os'
 4 |
 5 | @main
error: build planning stopped due to build-tool plugin failures
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/6] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling ArgumentParserToolInfo ToolInfo.swift
[3/8] Emitting module ArgumentParserToolInfo
[5/46] Compiling ArgumentParser OptionGroup.swift
[6/46] Compiling ArgumentParser AsyncParsableCommand.swift
[7/46] Compiling ArgumentParser CommandConfiguration.swift
[8/46] Compiling ArgumentParser CommandGroup.swift
[9/46] Compiling ArgumentParser EnumerableFlag.swift
[10/51] Emitting module ArgumentParser
[11/51] Compiling ArgumentParser Name.swift
[12/51] Compiling ArgumentParser Parsed.swift
[13/51] Compiling ArgumentParser ParsedValues.swift
[14/51] Compiling ArgumentParser ParserError.swift
[15/51] Compiling ArgumentParser SplitArguments.swift
[16/51] Compiling ArgumentParser ArgumentVisibility.swift
[17/51] Compiling ArgumentParser CompletionKind.swift
[18/51] Compiling ArgumentParser Errors.swift
[19/51] Compiling ArgumentParser Flag.swift
[20/51] Compiling ArgumentParser NameSpecification.swift
[21/51] Compiling ArgumentParser Option.swift
[22/51] Compiling ArgumentParser BashCompletionsGenerator.swift
[23/51] Compiling ArgumentParser CompletionsGenerator.swift
[24/51] Compiling ArgumentParser FishCompletionsGenerator.swift
[25/51] Compiling ArgumentParser ZshCompletionsGenerator.swift
[26/51] Compiling ArgumentParser Argument.swift
[27/51] Compiling ArgumentParser ArgumentHelp.swift
[28/51] Compiling ArgumentParser CollectionExtensions.swift
[29/51] Compiling ArgumentParser Platform.swift
[30/51] Compiling ArgumentParser SequenceExtensions.swift
[31/51] Compiling ArgumentParser StringExtensions.swift
[32/51] Compiling ArgumentParser Tree.swift
[33/51] Compiling ArgumentParser ExpressibleByArgument.swift
[34/51] Compiling ArgumentParser ParsableArguments.swift
[35/51] Compiling ArgumentParser ParsableArgumentsValidation.swift
[36/51] Compiling ArgumentParser ParsableCommand.swift
[37/51] Compiling ArgumentParser ArgumentDecoder.swift
[38/51] Compiling ArgumentParser ArgumentDefinition.swift
[39/51] Compiling ArgumentParser ArgumentSet.swift
[40/51] Compiling ArgumentParser CommandParser.swift
[41/51] Compiling ArgumentParser InputKey.swift
[42/51] Compiling ArgumentParser InputOrigin.swift
[43/51] Compiling ArgumentParser DumpHelpGenerator.swift
[44/51] Compiling ArgumentParser HelpCommand.swift
[45/51] Compiling ArgumentParser HelpGenerator.swift
[46/51] Compiling ArgumentParser MessageInfo.swift
[47/51] Compiling ArgumentParser UsageGenerator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/53] Emitting module MetalCompilerTool
/host/spi-builder-workspace/Sources/MetalCompilerTool/MetalCompiler.swift:3:8: error: no such module 'os'
 1 | import ArgumentParser
 2 | import Foundation
 3 | import os
   |        `- error: no such module 'os'
 4 |
 5 | @main
[50/53] Compiling MetalCompilerTool MetalCompiler.swift
/host/spi-builder-workspace/Sources/MetalCompilerTool/MetalCompiler.swift:3:8: error: no such module 'os'
 1 | import ArgumentParser
 2 | import Foundation
 3 | import os
   |        `- error: no such module 'os'
 4 |
 5 | @main
error: build planning stopped due to build-tool plugin failures
BUILD FAILURE 6.1 linux