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 Anodize, reference main (8fa6f8), with Swift 6.1 for Linux on 2 May 2025 08:26:53 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.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/audulus/Anodize.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/audulus/Anodize
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8fa6f8d avoid .init
Cloned https://github.com/audulus/Anodize.git
Revision (git rev-parse @):
8fa6f8d3c380ad9916d61dcb31b2277c1cccce2e
SUCCESS checkout https://github.com/audulus/Anodize.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/audulus/Anodize.git
https://github.com/audulus/Anodize.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" : "Anodize",
  "name" : "Anodize",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Anodize",
      "targets" : [
        "Anodize"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "AnodizeUtil",
      "targets" : [
        "AnodizeUtil"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AnodizeUtil",
      "module_type" : "SwiftTarget",
      "name" : "AnodizeUtil",
      "path" : "Sources/AnodizeUtil",
      "product_memberships" : [
        "AnodizeUtil"
      ],
      "sources" : [
        "AnodizeError.swift",
        "GPUArray.swift",
        "GPUBufferProvider.swift",
        "MTLComputeCommandEncoder+Ext.swift",
        "MTLDevice+Ext.swift",
        "MutableGPUArray.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Anodize",
      "module_type" : "SwiftTarget",
      "name" : "Anodize",
      "path" : "Sources/Anodize",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "Anodize"
      ],
      "sources" : [
        "Anodize.swift",
        "MTLComputePipelineReflection+codegen.swift",
        "MTLDataType+swiftName.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.0"
}
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 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/14956] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.95s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (1.55s)
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/11] Write sources
[5/11] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/20] Emitting module AnodizeUtil
/host/spi-builder-workspace/Sources/AnodizeUtil/AnodizeError.swift:9:8: error: no such module 'Metal'
 7 |
 8 | import Foundation
 9 | import Metal
   |        `- error: no such module 'Metal'
10 |
11 | public enum AnodizeError: Error, Equatable {
[8/20] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/20] Emitting module ArgumentParserToolInfo
[10/21] Wrapping AST for ArgumentParserToolInfo for debugging
[12/59] Compiling AnodizeUtil MTLDevice+Ext.swift
/host/spi-builder-workspace/Sources/AnodizeUtil/AnodizeError.swift:9:8: error: no such module 'Metal'
 7 |
 8 | import Foundation
 9 | import Metal
   |        `- error: no such module 'Metal'
10 |
11 | public enum AnodizeError: Error, Equatable {
[13/59] Compiling AnodizeUtil MutableGPUArray.swift
/host/spi-builder-workspace/Sources/AnodizeUtil/AnodizeError.swift:9:8: error: no such module 'Metal'
 7 |
 8 | import Foundation
 9 | import Metal
   |        `- error: no such module 'Metal'
10 |
11 | public enum AnodizeError: Error, Equatable {
[14/59] Compiling AnodizeUtil GPUBufferProvider.swift
/host/spi-builder-workspace/Sources/AnodizeUtil/AnodizeError.swift:9:8: error: no such module 'Metal'
 7 |
 8 | import Foundation
 9 | import Metal
   |        `- error: no such module 'Metal'
10 |
11 | public enum AnodizeError: Error, Equatable {
[15/59] Compiling AnodizeUtil MTLComputeCommandEncoder+Ext.swift
/host/spi-builder-workspace/Sources/AnodizeUtil/AnodizeError.swift:9:8: error: no such module 'Metal'
 7 |
 8 | import Foundation
 9 | import Metal
   |        `- error: no such module 'Metal'
10 |
11 | public enum AnodizeError: Error, Equatable {
[16/59] Compiling AnodizeUtil GPUArray.swift
/host/spi-builder-workspace/Sources/AnodizeUtil/AnodizeError.swift:9:8: error: no such module 'Metal'
 7 |
 8 | import Foundation
 9 | import Metal
   |        `- error: no such module 'Metal'
10 |
11 | public enum AnodizeError: Error, Equatable {
[17/59] Compiling AnodizeUtil AnodizeError.swift
/host/spi-builder-workspace/Sources/AnodizeUtil/AnodizeError.swift:9:8: error: no such module 'Metal'
 7 |
 8 | import Foundation
 9 | import Metal
   |        `- error: no such module 'Metal'
10 |
11 | public enum AnodizeError: Error, Equatable {
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/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/7] Write swift-version-24593BA9C3E375BF.txt
[3/16] Compiling AnodizeUtil MTLComputeCommandEncoder+Ext.swift
/host/spi-builder-workspace/Sources/AnodizeUtil/AnodizeError.swift:9:8: error: no such module 'Metal'
 7 |
 8 | import Foundation
 9 | import Metal
   |        `- error: no such module 'Metal'
10 |
11 | public enum AnodizeError: Error, Equatable {
[4/16] Compiling AnodizeUtil GPUBufferProvider.swift
/host/spi-builder-workspace/Sources/AnodizeUtil/AnodizeError.swift:9:8: error: no such module 'Metal'
 7 |
 8 | import Foundation
 9 | import Metal
   |        `- error: no such module 'Metal'
10 |
11 | public enum AnodizeError: Error, Equatable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/16] Emitting module AnodizeUtil
/host/spi-builder-workspace/Sources/AnodizeUtil/AnodizeError.swift:9:8: error: no such module 'Metal'
 7 |
 8 | import Foundation
 9 | import Metal
   |        `- error: no such module 'Metal'
10 |
11 | public enum AnodizeError: Error, Equatable {
[6/16] Compiling AnodizeUtil GPUArray.swift
/host/spi-builder-workspace/Sources/AnodizeUtil/AnodizeError.swift:9:8: error: no such module 'Metal'
 7 |
 8 | import Foundation
 9 | import Metal
   |        `- error: no such module 'Metal'
10 |
11 | public enum AnodizeError: Error, Equatable {
[7/16] Compiling AnodizeUtil AnodizeError.swift
/host/spi-builder-workspace/Sources/AnodizeUtil/AnodizeError.swift:9:8: error: no such module 'Metal'
 7 |
 8 | import Foundation
 9 | import Metal
   |        `- error: no such module 'Metal'
10 |
11 | public enum AnodizeError: Error, Equatable {
[8/16] Compiling AnodizeUtil MTLDevice+Ext.swift
/host/spi-builder-workspace/Sources/AnodizeUtil/AnodizeError.swift:9:8: error: no such module 'Metal'
 7 |
 8 | import Foundation
 9 | import Metal
   |        `- error: no such module 'Metal'
10 |
11 | public enum AnodizeError: Error, Equatable {
[9/16] Compiling AnodizeUtil MutableGPUArray.swift
/host/spi-builder-workspace/Sources/AnodizeUtil/AnodizeError.swift:9:8: error: no such module 'Metal'
 7 |
 8 | import Foundation
 9 | import Metal
   |        `- error: no such module 'Metal'
10 |
11 | public enum AnodizeError: Error, Equatable {
[10/16] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 linux