The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MetalCompilerPlugin with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/schwa/MetalCompilerPlugin.git
Reference: 0.0.2
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
 * tag               0.0.2      -> FETCH_HEAD
HEAD is now at 435c493 Update README to reflect https://github.com/apple/swift-package-manager/issues/5824 Remove platform requirements & fix unit test to use older API.
Cloned https://github.com/schwa/MetalCompilerPlugin.git
Revision (git rev-parse @):
435c493a6f1cd8846e44a24ce8b6b27f97084527
SUCCESS checkout https://github.com/schwa/MetalCompilerPlugin.git at 0.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/schwa/MetalCompilerPlugin.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/apple/swift-argument-parser
[1/11435] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.67s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.1.4 (0.42s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.1.4
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/48] Emitting module ArgumentParser
[10/52] Compiling ArgumentParser CollectionExtensions.swift
[11/52] Compiling ArgumentParser SequenceExtensions.swift
[12/52] Compiling ArgumentParser StringExtensions.swift
[13/52] Compiling ArgumentParser Tree.swift
[14/52] Compiling ArgumentParser ArgumentHelp.swift
[15/52] Compiling ArgumentParser ArgumentVisibility.swift
[16/52] Compiling ArgumentParser CompletionKind.swift
[17/52] Compiling ArgumentParser Errors.swift
[18/52] Compiling ArgumentParser Flag.swift
[19/52] Compiling ArgumentParser NameSpecification.swift
[20/52] Compiling ArgumentParser Option.swift
[21/52] Compiling ArgumentParser OptionGroup.swift
[22/52] Compiling ArgumentParser AsyncParsableCommand.swift
[23/52] Compiling ArgumentParser CommandConfiguration.swift
[24/52] Compiling ArgumentParser BashCompletionsGenerator.swift
[25/52] Compiling ArgumentParser CompletionsGenerator.swift
[26/52] Compiling ArgumentParser FishCompletionsGenerator.swift
[27/52] Compiling ArgumentParser ZshCompletionsGenerator.swift
[28/52] Compiling ArgumentParser Argument.swift
[29/52] Compiling ArgumentParser DumpHelpGenerator.swift
[30/52] Compiling ArgumentParser HelpCommand.swift
[31/52] Compiling ArgumentParser HelpGenerator.swift
[32/52] Compiling ArgumentParser MessageInfo.swift
[33/52] Compiling ArgumentParser UsageGenerator.swift
[34/52] Compiling ArgumentParser Name.swift
[35/52] Compiling ArgumentParser Parsed.swift
[36/52] Compiling ArgumentParser ParsedValues.swift
[37/52] Compiling ArgumentParser ParserError.swift
[38/52] Compiling ArgumentParser SplitArguments.swift
[39/52] Compiling ArgumentParser ArgumentDecoder.swift
[40/52] Compiling ArgumentParser ArgumentDefinition.swift
[41/52] Compiling ArgumentParser ArgumentSet.swift
[42/52] Compiling ArgumentParser CommandParser.swift
[43/52] Compiling ArgumentParser InputOrigin.swift
[44/52] Compiling ArgumentParser EnumerableFlag.swift
[45/52] Compiling ArgumentParser ExpressibleByArgument.swift
[46/52] Compiling ArgumentParser ParsableArguments.swift
[47/52] Compiling ArgumentParser ParsableArgumentsValidation.swift
[48/52] Compiling ArgumentParser ParsableCommand.swift
[49/53] Wrapping AST for ArgumentParser for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[51/55] Emitting module MetalCompilerTool
/host/spi-builder-workspace/Sources/MetalCompilerTool/MetalCompiler.swift:3:8: error: no such module 'os'
import os
       ^
[52/55] Compiling MetalCompilerTool MetalCompiler.swift
/host/spi-builder-workspace/Sources/MetalCompilerTool/MetalCompiler.swift:3:8: error: no such module 'os'
import os
       ^
error: fatalError
Building for debugging...
[0/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/6] Emitting module MetalCompilerTool
/host/spi-builder-workspace/Sources/MetalCompilerTool/MetalCompiler.swift:3:8: error: no such module 'os'
import os
       ^
[3/6] Compiling MetalCompilerTool MetalCompiler.swift
/host/spi-builder-workspace/Sources/MetalCompilerTool/MetalCompiler.swift:3:8: error: no such module 'os'
import os
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1