The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Compute, reference 0.0.5 (815766), with Swift 6.0 for Linux on 3 Dec 2024 10:59:23 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.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/schwa/Compute.git
Reference: 0.0.5
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/Compute
 * tag               0.0.5      -> FETCH_HEAD
HEAD is now at 815766d Fix broken tests.
Cloned https://github.com/schwa/Compute.git
Revision (git rev-parse @):
815766d68a04442e37c37ad4b0ab556767ae2178
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/schwa/Compute.git at 0.0.5
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/schwa/Compute.git
{
  "dependencies" : [
    {
      "identity" : "metalcompilerplugin",
      "requirement" : {
        "branch" : [
          "jwight/develop"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/schwa/MetalCompilerPlugin"
    }
  ],
  "manifest_display_name" : "Compute",
  "name" : "Compute",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "18.0"
    }
  ],
  "products" : [
    {
      "name" : "Compute",
      "targets" : [
        "Compute"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Examples",
      "targets" : [
        "Examples"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MetalSupportLite",
      "module_type" : "SwiftTarget",
      "name" : "MetalSupportLite",
      "path" : "Sources/MetalSupportLite",
      "product_memberships" : [
        "Examples"
      ],
      "sources" : [
        "BaseSupport.swift",
        "MTLBuffer+Extensions.swift",
        "MetalBasicExtensions.swift",
        "MetalSupportLite.swift",
        "TypedMTLBuffer.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Examples",
      "module_type" : "SwiftTarget",
      "name" : "Examples",
      "path" : "Sources/Examples",
      "product_dependencies" : [
        "MetalCompilerPlugin"
      ],
      "product_memberships" : [
        "Examples"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Examples/Bundle.txt",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Examples/Resources/Media.xcassets",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Examples.swift",
        "Examples/BareMetal.swift",
        "Examples/BitonicSort/BitonicSort.swift",
        "Examples/Broken/CountingSort/CountingSort.swift",
        "Examples/Broken/RadixSort/RadixSort.swift",
        "Examples/Broken/RadixSort/RadixSortCPU.swift",
        "Examples/BufferFill.swift",
        "Examples/Checkerboard.swift",
        "Examples/GameOfLife/GameOfLife.swift",
        "Examples/HelloWorldDemo.swift",
        "Examples/Histogram.swift",
        "Examples/ImageInvert.swift",
        "Examples/MaxValue.swift",
        "Examples/MemcopyDemo.swift",
        "Examples/RandomFill.swift",
        "Examples/SIMDReduce.swift",
        "Examples/ThreadgroupLog.swift",
        "Support.swift"
      ],
      "target_dependencies" : [
        "Compute",
        "MetalSupportLite"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ComputeTests",
      "module_type" : "SwiftTarget",
      "name" : "ComputeTests",
      "path" : "Tests/ComputeTests",
      "sources" : [
        "ComputeTests.swift"
      ],
      "target_dependencies" : [
        "Compute"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Compute",
      "module_type" : "SwiftTarget",
      "name" : "Compute",
      "path" : "Sources/Compute",
      "product_memberships" : [
        "Compute",
        "Examples"
      ],
      "sources" : [
        "Compute+Arguments.swift",
        "Compute+Pipeline.swift",
        "Compute+Task.swift",
        "Compute.swift",
        "ShaderFunction.swift",
        "Support.swift"
      ],
      "type" : "library"
    }
  ],
  "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.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/schwa/MetalCompilerPlugin
[1/168] Fetching metalcompilerplugin
Fetched https://github.com/schwa/MetalCompilerPlugin from cache (0.23s)
Fetching https://github.com/apple/swift-argument-parser
[1/12395] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.24s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.55s)
Creating working copy for https://github.com/schwa/MetalCompilerPlugin
Working copy of https://github.com/schwa/MetalCompilerPlugin resolved at jwight/develop (86239f9)
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
Building for debugging...
[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] Emitting module ArgumentParser
[10/55] Compiling ArgumentParser ArgumentVisibility.swift
[11/55] Compiling ArgumentParser CompletionKind.swift
[12/55] Compiling ArgumentParser Errors.swift
[13/55] Compiling ArgumentParser Flag.swift
[14/55] Compiling ArgumentParser NameSpecification.swift
[15/55] Compiling ArgumentParser Option.swift
[16/55] Compiling ArgumentParser Name.swift
[17/55] Compiling ArgumentParser Parsed.swift
[18/55] Compiling ArgumentParser ParsedValues.swift
[19/55] Compiling ArgumentParser ParserError.swift
[20/55] Compiling ArgumentParser SplitArguments.swift
[21/55] Compiling ArgumentParser BashCompletionsGenerator.swift
[22/55] Compiling ArgumentParser CompletionsGenerator.swift
[23/55] Compiling ArgumentParser FishCompletionsGenerator.swift
[24/55] Compiling ArgumentParser ZshCompletionsGenerator.swift
[25/55] Compiling ArgumentParser Argument.swift
[26/55] Compiling ArgumentParser ArgumentHelp.swift
[27/55] Compiling ArgumentParser ExpressibleByArgument.swift
[28/55] Compiling ArgumentParser ParsableArguments.swift
[29/55] Compiling ArgumentParser ParsableArgumentsValidation.swift
[30/55] Compiling ArgumentParser ParsableCommand.swift
[31/55] Compiling ArgumentParser ArgumentDecoder.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 OptionGroup.swift
[38/55] Compiling ArgumentParser AsyncParsableCommand.swift
[39/55] Compiling ArgumentParser CommandConfiguration.swift
[40/55] Compiling ArgumentParser CommandGroup.swift
[41/55] Compiling ArgumentParser EnumerableFlag.swift
[42/55] Compiling ArgumentParser ArgumentDefinition.swift
[43/55] Compiling ArgumentParser ArgumentSet.swift
[44/55] Compiling ArgumentParser CommandParser.swift
[45/55] Compiling ArgumentParser InputKey.swift
[46/55] Compiling ArgumentParser InputOrigin.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/.build/checkouts/MetalCompilerPlugin/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/.build/checkouts/MetalCompilerPlugin/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
BUILD FAILURE 6.0 linux